diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/all_preds.jsonl b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/all_preds.jsonl new file mode 100644 index 000000000..4daf5de1b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/all_preds.jsonl @@ -0,0 +1,128 @@ +{"instance_id": "catchorg__Catch2-1422", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/internal/catch_session.cpp b/include/internal/catch_session.cpp\nindex 21877c99..19ba7ceb 100644\n--- a/include/internal/catch_session.cpp\n+++ b/include/internal/catch_session.cpp\n@@ -182,6 +182,17 @@ namespace Catch {\n if( m_configData.libIdentify )\n libIdentify();\n m_config.reset();\n+\n+ auto const& factories = Catch::getRegistryHub().getReporterRegistry().getFactories();\n+ if( factories.find( m_configData.reporterName ) == factories.end() ) {\n+ Catch::cerr()\n+ << Colour( Colour::Red )\n+ << \"\\nError(s) in input:\\n\"\n+ << Column( \"Unrecognized reporter: '\" + m_configData.reporterName + \"'\" ).indent( 2 )\n+ << \"\\n\\n\";\n+ return MaxExitCode;\n+ }\n+\n return 0;\n }\n \ndiff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp\nindex 4191607a..26f5b144 100644\n--- a/single_include/catch2/catch.hpp\n+++ b/single_include/catch2/catch.hpp\n@@ -10145,6 +10145,17 @@ namespace Catch {\n if( m_configData.libIdentify )\n libIdentify();\n m_config.reset();\n+\n+ auto const& factories = Catch::getRegistryHub().getReporterRegistry().getFactories();\n+ if( factories.find( m_configData.reporterName ) == factories.end() ) {\n+ Catch::cerr()\n+ << Colour( Colour::Red )\n+ << \"\\nError(s) in input:\\n\"\n+ << Column( \"Unrecognized reporter: '\" + m_configData.reporterName + \"'\" ).indent( 2 )\n+ << \"\\n\\n\";\n+ return MaxExitCode;\n+ }\n+\n return 0;\n }\n \n"} +{"instance_id": "catchorg__Catch2-1448", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/internal/catch_message.cpp b/include/internal/catch_message.cpp\nindex df905bf6..e8aa6458 100644\n--- a/include/internal/catch_message.cpp\n+++ b/include/internal/catch_message.cpp\n@@ -63,7 +63,7 @@ namespace Catch {\n auto start = std::string::npos;\n for( size_t pos = 0; pos <= names.size(); ++pos ) {\n char c = names[pos];\n- if( pos == names.size() || c == ' ' || c == '\\t' || c == ',' || c == ']' ) {\n+ if( pos == names.size() || c == ',' || c == ']' ) {\n if( start != std::string::npos ) {\n m_messages.push_back( MessageInfo( macroName, lineInfo, resultType ) );\n m_messages.back().message = names.substr( start, pos-start) + \" := \";\ndiff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp\nindex b324e56a..30ad09fc 100644\n--- a/single_include/catch2/catch.hpp\n+++ b/single_include/catch2/catch.hpp\n@@ -8845,7 +8845,7 @@ namespace Catch {\n auto start = std::string::npos;\n for( size_t pos = 0; pos <= names.size(); ++pos ) {\n char c = names[pos];\n- if( pos == names.size() || c == ' ' || c == '\\t' || c == ',' || c == ']' ) {\n+ if( pos == names.size() || c == ',' || c == ']' ) {\n if( start != std::string::npos ) {\n m_messages.push_back( MessageInfo( macroName, lineInfo, resultType ) );\n m_messages.back().message = names.substr( start, pos-start) + \" := \";\n"} +{"instance_id": "catchorg__Catch2-1608", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/internal/catch_message.cpp b/include/internal/catch_message.cpp\nindex fa7e8746..8b4dda3d 100644\n--- a/include/internal/catch_message.cpp\n+++ b/include/internal/catch_message.cpp\n@@ -96,6 +96,14 @@ namespace Catch {\n // case '>':\n openings.pop();\n break;\n+ case '\"':\n+ case '\\'':\n+ if (openings.size() > 0 && openings.top() == c) {\n+ openings.pop();\n+ } else {\n+ openings.push(c);\n+ }\n+ break;\n case ',':\n if (start != pos && openings.size() == 0) {\n m_messages.emplace_back(macroName, lineInfo, resultType);\ndiff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp\nindex df14c357..e98237d9 100644\n--- a/single_include/catch2/catch.hpp\n+++ b/single_include/catch2/catch.hpp\n@@ -9646,6 +9646,14 @@ namespace Catch {\n // case '>':\n openings.pop();\n break;\n+ case '\"':\n+ case '\\'':\n+ if (openings.size() > 0 && openings.top() == c) {\n+ openings.pop();\n+ } else {\n+ openings.push(c);\n+ }\n+ break;\n case ',':\n if (start != pos && openings.size() == 0) {\n m_messages.emplace_back(macroName, lineInfo, resultType);\n"} +{"instance_id": "catchorg__Catch2-1609", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/catch.hpp b/include/catch.hpp\nindex 1f60e5c1..88097b4e 100644\n--- a/include/catch.hpp\n+++ b/include/catch.hpp\n@@ -153,11 +153,15 @@\n #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )\n #define CATCH_TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ )\n #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ )\n+#define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ )\n+#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ )\n #else\n #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) )\n #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) )\n #define CATCH_TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) )\n #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) )\n+#define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) )\n+#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) )\n #endif\n \n \n@@ -236,11 +240,15 @@\n #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )\n #define TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ )\n #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ )\n #else\n #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) )\n #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) )\n #define TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) )\n #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) )\n+#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) )\n+#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) )\n #endif\n \n \n@@ -404,11 +412,15 @@ using Catch::Detail::Approx;\n #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className )\n #define TEMPLATE_PRODUCT_TEST_CASE( ... ) TEMPLATE_TEST_CASE( __VA_ARGS__ )\n #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className, __VA_ARGS__ )\n #else\n #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) ) )\n #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className ) )\n #define TEMPLATE_PRODUCT_TEST_CASE( ... ) TEMPLATE_TEST_CASE( __VA_ARGS__ )\n #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), __VA_ARGS__ ) )\n+#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className, __VA_ARGS__ ) )\n #endif\n \n #define STATIC_REQUIRE( ... ) (void)(0)\ndiff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp\nindex df14c357..7cfb2789 100644\n--- a/single_include/catch2/catch.hpp\n+++ b/single_include/catch2/catch.hpp\n@@ -1,9 +1,9 @@\n /*\n * Catch v2.7.2\n- * Generated: 2019-04-22 23:13:14.687465\n+ * Generated: 2026-07-02 17:17:51.765127\n * ----------------------------------------------------------\n * This file has been merged from multiple headers. Please don't edit it directly\n- * Copyright (c) 2019 Two Blue Cubes Ltd. All rights reserved.\n+ * Copyright (c) 2026 Two Blue Cubes Ltd. All rights reserved.\n *\n * Distributed under the Boost Software License, Version 1.0. (See accompanying\n * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)\n@@ -570,10 +570,12 @@ namespace Catch {\n }\n \n auto operator = ( StringRef const &other ) noexcept -> StringRef& {\n- delete[] m_data;\n- m_data = nullptr;\n- m_start = other.m_start;\n- m_size = other.m_size;\n+// if( this != &other ) {\n+ delete[] m_data;\n+ m_data = nullptr;\n+ m_start = other.m_start;\n+ m_size = other.m_size;\n+ // }\n return *this;\n }\n \n@@ -866,6 +868,33 @@ struct AutoReg : NonCopyable {\n } \\\n template \\\n void TestName::test()\n+ #if !defined(CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR)\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION( TestName, Name, Tags, TmplParamType, TestType, ... ) \\\n+ template \\\n+ static void TestName()\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION( TestName, ClassName, Name, Tags, TmplParamType, TestType, ... ) \\\n+ namespace{ \\\n+ template \\\n+ struct TestName : INTERNAL_CATCH_REMOVE_PARENS(ClassName ) { \\\n+ void test(); \\\n+ }; \\\n+ } \\\n+ template \\\n+ void TestName::test()\n+ #else\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION( TestName, Name, Tags, TmplParamType, TestType, ... ) \\\n+ template \\\n+ static void TestName()\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION( TestName, ClassName, Name, Tags, TmplParamType, TestType, ... ) \\\n+ namespace{ \\\n+ template \\\n+ struct TestName : INTERNAL_CATCH_REMOVE_PARENS(ClassName ) { \\\n+ void test(); \\\n+ }; \\\n+ } \\\n+ template \\\n+ void TestName::test()\n+ #endif\n #endif\n \n ///////////////////////////////////////////////////////////////////////////////\n@@ -914,7 +943,6 @@ struct AutoReg : NonCopyable {\n struct TestName{\\\n template \\\n TestName(Ts...names){\\\n- CATCH_INTERNAL_CHECK_UNIQUE_TYPES(CATCH_REC_LIST(INTERNAL_CATCH_REMOVE_PARENS, __VA_ARGS__)) \\\n using expander = int[];\\\n (void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestFunc ), CATCH_INTERNAL_LINEINFO, Catch::StringRef(), Catch::NameAndTags{ names, Tags } ), 0)... };/* NOLINT */ \\\n }\\\n@@ -925,12 +953,6 @@ struct AutoReg : NonCopyable {\n template \\\n static void TestFunc()\n \n-#if defined(CATCH_CPP17_OR_GREATER)\n-#define CATCH_INTERNAL_CHECK_UNIQUE_TYPES(...) static_assert(Catch::is_unique<__VA_ARGS__>,\"Duplicate type detected in declaration of template test case\");\n-#else\n-#define CATCH_INTERNAL_CHECK_UNIQUE_TYPES(...) static_assert(Catch::is_unique<__VA_ARGS__>::value,\"Duplicate type detected in declaration of template test case\");\n-#endif\n-\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define INTERNAL_CATCH_TEMPLATE_TEST_CASE(Name, Tags, ...) \\\n INTERNAL_CATCH_TEMPLATE_TEST_CASE_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), Name, Tags, __VA_ARGS__ )\n@@ -952,7 +974,6 @@ struct AutoReg : NonCopyable {\n template \\\n struct TestName { \\\n TestName() { \\\n- CATCH_INTERNAL_CHECK_UNIQUE_TYPES(Types...) \\\n int index = 0; \\\n using expander = int[]; \\\n constexpr char const* tmpl_types[] = {CATCH_REC_LIST(INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, INTERNAL_CATCH_REMOVE_PARENS(TmplTypes))};\\\n@@ -991,7 +1012,6 @@ struct AutoReg : NonCopyable {\n struct TestNameClass{\\\n template \\\n TestNameClass(Ts...names){\\\n- CATCH_INTERNAL_CHECK_UNIQUE_TYPES(CATCH_REC_LIST(INTERNAL_CATCH_REMOVE_PARENS, __VA_ARGS__)) \\\n using expander = int[];\\\n (void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestName::test ), CATCH_INTERNAL_LINEINFO, #ClassName, Catch::NameAndTags{ names, Tags } ), 0)... };/* NOLINT */ \\\n }\\\n@@ -1020,7 +1040,6 @@ struct AutoReg : NonCopyable {\n template\\\n struct TestNameClass{\\\n TestNameClass(){\\\n- CATCH_INTERNAL_CHECK_UNIQUE_TYPES(Types...)\\\n int index = 0;\\\n using expander = int[];\\\n constexpr char const* tmpl_types[] = {CATCH_REC_LIST(INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, INTERNAL_CATCH_REMOVE_PARENS(TmplTypes))};\\\n@@ -1048,6 +1067,63 @@ struct AutoReg : NonCopyable {\n INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), ClassName, Name, Tags, __VA_ARGS__ ) )\n #endif\n \n+ ///////////////////////////////////////////////////////////////////////////////\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_2(TestName, TestFunc, Name, Tags, TmplParamType, TestType, ... )\\\n+ CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \\\n+ template \\\n+ static void TestFunc();\\\n+ namespace {\\\n+ template \\\n+ struct TestName{\\\n+ template\\\n+ TestName(Ts...names){\\\n+ using expander = int[];\\\n+ (void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestFunc ), CATCH_INTERNAL_LINEINFO, Catch::StringRef(), Catch::NameAndTags{ names, Tags } ), 0)... };/* NOLINT */ \\\n+ }\\\n+ };\\\n+ INTERNAL_CATCH_TEMPLATE_REGISTRY_INITIATE(TestName, Name, __VA_ARGS__) \\\n+ }\\\n+ CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS \\\n+ template \\\n+ static void TestFunc()\n+\n+#ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG(Name, Tags, TmplParamType, TestType, ...) \\\n+ INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), Name, Tags, TmplParamType, TestType, __VA_ARGS__ )\n+#else\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG(Name, Tags, TmplParamType, TestType, ...) \\\n+ INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), Name, Tags, TmplParamType, TestType, __VA_ARGS__ ) )\n+#endif\n+\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_2( TestNameClass, TestName, ClassName, Name, Tags, TmplParamType, TestType, ... ) \\\n+ CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \\\n+ namespace{ \\\n+ template \\\n+ struct TestName : INTERNAL_CATCH_REMOVE_PARENS(ClassName ) { \\\n+ void test();\\\n+ };\\\n+ template\\\n+ struct TestNameClass{\\\n+ template\\\n+ TestNameClass(Ts...names){\\\n+ using expander = int[];\\\n+ (void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestName::test ), CATCH_INTERNAL_LINEINFO, #ClassName, Catch::NameAndTags{ names, Tags } ), 0)... };/* NOLINT */ \\\n+ }\\\n+ };\\\n+ INTERNAL_CATCH_TEMPLATE_REGISTRY_INITIATE(TestNameClass, Name, __VA_ARGS__)\\\n+ }\\\n+ CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS\\\n+ template \\\n+ void TestName::test()\n+\n+#ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( ClassName, Name, Tags, TmplParamType, TestType, ... ) \\\n+ INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____C_L_A_S_S____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) , ClassName, Name, Tags, TmplParamType, TestType, __VA_ARGS__ )\n+#else\n+ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( ClassName, Name, Tags, TmplParamType, TestType, ... ) \\\n+ INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____C_L_A_S_S____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) , ClassName, Name, Tags, TmplParamType, TestType, __VA_ARGS__ ) )\n+#endif\n+\n // end catch_test_registry.h\n // start catch_capture.hpp\n \n@@ -1166,6 +1242,41 @@ namespace Catch {\n }\n \n // end catch_stream.h\n+// start catch_interfaces_enum_values_registry.h\n+\n+#include \n+\n+namespace Catch {\n+\n+ namespace Detail {\n+ struct EnumInfo {\n+ StringRef m_name;\n+ std::vector> m_values;\n+\n+ ~EnumInfo();\n+\n+ StringRef lookup( int value ) const;\n+ };\n+ } // namespace Detail\n+\n+ struct IMutableEnumValuesRegistry {\n+ virtual ~IMutableEnumValuesRegistry();\n+\n+ virtual Detail::EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::vector const& values ) = 0;\n+\n+ template\n+ Detail::EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::initializer_list values ) {\n+ std::vector intValues;\n+ intValues.reserve( values.size() );\n+ for( auto enumValue : values )\n+ intValues.push_back( static_cast( enumValue ) );\n+ return registerEnum( enumName, allEnums, intValues );\n+ }\n+ };\n+\n+} // Catch\n+\n+// end catch_interfaces_enum_values_registry.h\n \n #ifdef CATCH_CONFIG_CPP17_STRING_VIEW\n #include \n@@ -1451,10 +1562,13 @@ namespace Catch {\n template<>\n struct StringMaker {\n static std::string convert(float value);\n+ static int precision;\n };\n+\n template<>\n struct StringMaker {\n static std::string convert(double value);\n+ static int precision;\n };\n \n template \n@@ -1827,6 +1941,18 @@ struct ratio_string {\n }\n #endif // CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER\n \n+#define INTERNAL_CATCH_REGISTER_ENUM( enumName, ... ) \\\n+namespace Catch { \\\n+ template<> struct StringMaker { \\\n+ static std::string convert( enumName value ) { \\\n+ static const auto& enumInfo = ::Catch::getMutableRegistryHub().getMutableEnumValuesRegistry().registerEnum( #enumName, #__VA_ARGS__, { __VA_ARGS__ } ); \\\n+ return enumInfo.lookup( static_cast( value ) ); \\\n+ } \\\n+ }; \\\n+}\n+\n+#define CATCH_REGISTER_ENUM( enumName, ... ) INTERNAL_CATCH_REGISTER_ENUM( enumName, __VA_ARGS__ )\n+\n #ifdef _MSC_VER\n #pragma warning(pop)\n #endif\n@@ -2624,6 +2750,8 @@ namespace Catch {\n struct IReporterRegistry;\n struct IReporterFactory;\n struct ITagAliasRegistry;\n+ struct IMutableEnumValuesRegistry;\n+\n class StartupExceptionRegistry;\n \n using IReporterFactoryPtr = std::shared_ptr;\n@@ -2634,7 +2762,6 @@ namespace Catch {\n virtual IReporterRegistry const& getReporterRegistry() const = 0;\n virtual ITestCaseRegistry const& getTestCaseRegistry() const = 0;\n virtual ITagAliasRegistry const& getTagAliasRegistry() const = 0;\n-\n virtual IExceptionTranslatorRegistry const& getExceptionTranslatorRegistry() const = 0;\n \n virtual StartupExceptionRegistry const& getStartupExceptionRegistry() const = 0;\n@@ -2648,6 +2775,7 @@ namespace Catch {\n virtual void registerTranslator( const IExceptionTranslator* translator ) = 0;\n virtual void registerTagAlias( std::string const& alias, std::string const& tag, SourceLineInfo const& lineInfo ) = 0;\n virtual void registerStartupException() noexcept = 0;\n+ virtual IMutableEnumValuesRegistry& getMutableEnumValuesRegistry() = 0;\n };\n \n IRegistryHub const& getRegistryHub();\n@@ -2854,6 +2982,7 @@ struct StringMaker {\n \n #include \n #include \n+#include \n \n namespace Catch {\n \n@@ -2865,6 +2994,9 @@ namespace Catch {\n void toLowerInPlace( std::string& s );\n std::string toLower( std::string const& s );\n std::string trim( std::string const& str );\n+\n+ // !!! Be aware, returns refs into original string - make sure original string outlives them\n+ std::vector splitStringRef( StringRef str, char delimiter );\n bool replaceInPlace( std::string& str, std::string const& replaceThis, std::string const& withThis );\n \n struct pluralise {\n@@ -8552,6 +8684,88 @@ namespace Catch {\n #endif\n } // namespace Catch;\n // end catch_enforce.cpp\n+// start catch_enum_values_registry.cpp\n+// start catch_enum_values_registry.h\n+\n+#include \n+#include \n+\n+namespace Catch {\n+\n+ namespace Detail {\n+\n+ std::unique_ptr makeEnumInfo( StringRef enumName, StringRef allValueNames, std::vector const& values );\n+\n+ class EnumValuesRegistry : public IMutableEnumValuesRegistry {\n+\n+ std::vector> m_enumInfos;\n+\n+ EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::vector const& values) override;\n+ };\n+\n+ std::vector parseEnums( StringRef enums );\n+\n+ } // Detail\n+\n+} // Catch\n+\n+// end catch_enum_values_registry.h\n+\n+#include \n+#include \n+\n+namespace Catch {\n+\n+ IMutableEnumValuesRegistry::~IMutableEnumValuesRegistry() {}\n+\n+ namespace Detail {\n+\n+ std::vector parseEnums( StringRef enums ) {\n+ auto enumValues = splitStringRef( enums, ',' );\n+ std::vector parsed;\n+ parsed.reserve( enumValues.size() );\n+ for( auto const& enumValue : enumValues ) {\n+ auto identifiers = splitStringRef( enumValue, ':' );\n+ parsed.push_back( Catch::trim( identifiers.back() ) );\n+ }\n+ return parsed;\n+ }\n+\n+ EnumInfo::~EnumInfo() {}\n+\n+ StringRef EnumInfo::lookup( int value ) const {\n+ for( auto const& valueToName : m_values ) {\n+ if( valueToName.first == value )\n+ return valueToName.second;\n+ }\n+ return \"{** unexpected enum value **}\";\n+ }\n+\n+ std::unique_ptr makeEnumInfo( StringRef enumName, StringRef allValueNames, std::vector const& values ) {\n+ std::unique_ptr enumInfo( new EnumInfo );\n+ enumInfo->m_name = enumName;\n+ enumInfo->m_values.reserve( values.size() );\n+\n+ const auto valueNames = Catch::Detail::parseEnums( allValueNames );\n+ assert( valueNames.size() == values.size() );\n+ std::size_t i = 0;\n+ for( auto value : values )\n+ enumInfo->m_values.push_back({ value, valueNames[i++] });\n+\n+ return enumInfo;\n+ }\n+\n+ EnumInfo const& EnumValuesRegistry::registerEnum( StringRef enumName, StringRef allValueNames, std::vector const& values ) {\n+ auto enumInfo = makeEnumInfo( enumName, allValueNames, values );\n+ EnumInfo* raw = enumInfo.get();\n+ m_enumInfos.push_back( std::move( enumInfo ) );\n+ return *raw;\n+ }\n+\n+ } // Detail\n+} // Catch\n+\n+// end catch_enum_values_registry.cpp\n // start catch_errno_guard.cpp\n \n #include \n@@ -9626,6 +9840,15 @@ namespace Catch {\n }\n return names.substr(start, end - start + 1);\n };\n+ auto skipq = [&] (size_t start, char quote) {\n+ for (auto i = start + 1; i < names.size() ; ++i) {\n+ if (names[i] == quote)\n+ return i;\n+ if (names[i] == '\\\\')\n+ ++i;\n+ }\n+ CATCH_INTERNAL_ERROR(\"CAPTURE parsing encountered unmatched quote\");\n+ };\n \n size_t start = 0;\n std::stack openings;\n@@ -9646,6 +9869,10 @@ namespace Catch {\n // case '>':\n openings.pop();\n break;\n+ case '\"':\n+ case '\\'':\n+ pos = skipq(pos, c);\n+ break;\n case ',':\n if (start != pos && openings.size() == 0) {\n m_messages.emplace_back(macroName, lineInfo, resultType);\n@@ -10184,6 +10411,9 @@ namespace Catch {\n void registerStartupException() noexcept override {\n m_exceptionRegistry.add(std::current_exception());\n }\n+ IMutableEnumValuesRegistry& getMutableEnumValuesRegistry() override {\n+ return m_enumValuesRegistry;\n+ }\n \n private:\n TestRegistry m_testCaseRegistry;\n@@ -10191,6 +10421,7 @@ namespace Catch {\n ExceptionTranslatorRegistry m_exceptionTranslatorRegistry;\n TagAliasRegistry m_tagAliasRegistry;\n StartupExceptionRegistry m_exceptionRegistry;\n+ Detail::EnumValuesRegistry m_enumValuesRegistry;\n };\n }\n \n@@ -10988,6 +11219,9 @@ namespace Catch {\n #if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS)\n const auto& exceptions = getRegistryHub().getStartupExceptionRegistry().getExceptions();\n if ( !exceptions.empty() ) {\n+ config();\n+ getCurrentMutableContext().setConfig(m_config);\n+\n m_startupExceptions = true;\n Colour colourGuard( Colour::Red );\n Catch::cerr() << \"Errors occurred during startup!\" << '\\n';\n@@ -11366,6 +11600,7 @@ namespace Catch {\n #include \n #include \n #include \n+#include \n \n namespace Catch {\n \n@@ -11420,6 +11655,21 @@ namespace Catch {\n return replaced;\n }\n \n+ std::vector splitStringRef( StringRef str, char delimiter ) {\n+ std::vector subStrings;\n+ std::size_t start = 0;\n+ for(std::size_t pos = 0; pos < str.size(); ++pos ) {\n+ if( str[pos] == delimiter ) {\n+ if( pos - start > 1 )\n+ subStrings.push_back( str.substr( start, pos-start ) );\n+ start = pos+1;\n+ }\n+ }\n+ if( start < str.size() )\n+ subStrings.push_back( str.substr( start, str.size()-start ) );\n+ return subStrings;\n+ }\n+\n pluralise::pluralise( std::size_t count, std::string const& label )\n : m_count( count ),\n m_label( label )\n@@ -11467,9 +11717,11 @@ namespace Catch {\n }\n \n auto StringRef::c_str() const -> char const* {\n- if( isSubstring() )\n- const_cast( this )->takeOwnership();\n- return m_start;\n+ if( !isSubstring() )\n+ return m_start;\n+\n+ const_cast( this )->takeOwnership();\n+ return m_data;\n }\n auto StringRef::currentData() const noexcept -> char const* {\n return m_start;\n@@ -11487,7 +11739,6 @@ namespace Catch {\n m_data = new char[m_size+1];\n memcpy( m_data, m_start, m_size );\n m_data[m_size] = '\\0';\n- m_start = m_data;\n }\n }\n auto StringRef::substr( size_type start, size_type size ) const noexcept -> StringRef {\n@@ -12577,11 +12828,16 @@ std::string StringMaker::convert(std::nullptr_t) {\n return \"nullptr\";\n }\n \n+int StringMaker::precision = 5;\n+\n std::string StringMaker::convert(float value) {\n- return fpToString(value, 5) + 'f';\n+ return fpToString(value, precision) + 'f';\n }\n+\n+int StringMaker::precision = 10;\n+\n std::string StringMaker::convert(double value) {\n- return fpToString(value, 10);\n+ return fpToString(value, precision);\n }\n \n std::string ratio_string::symbol() { return \"a\"; }\n@@ -14689,6 +14945,7 @@ int main (int argc, char * const argv[]) {\n #endif // CATCH_CONFIG_DISABLE_MATCHERS\n \n #define CATCH_INFO( msg ) INTERNAL_CATCH_INFO( \"CATCH_INFO\", msg )\n+#define CATCH_UNSCOPED_INFO( msg ) INTERNAL_CATCH_UNSCOPED_INFO( \"CATCH_UNSCOPED_INFO\", msg )\n #define CATCH_WARN( msg ) INTERNAL_CATCH_MSG( \"CATCH_WARN\", Catch::ResultWas::Warning, Catch::ResultDisposition::ContinueOnFailure, msg )\n #define CATCH_CAPTURE( ... ) INTERNAL_CATCH_CAPTURE( INTERNAL_CATCH_UNIQUE_NAME(capturer), \"CATCH_CAPTURE\",__VA_ARGS__ )\n \n@@ -14709,11 +14966,15 @@ int main (int argc, char * const argv[]) {\n #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )\n #define CATCH_TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ )\n #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ )\n+#define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ )\n+#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ )\n #else\n #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) )\n #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) )\n #define CATCH_TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) )\n #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) )\n+#define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) )\n+#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) )\n #endif\n \n #if !defined(CATCH_CONFIG_RUNTIME_STATIC_REQUIRE)\n@@ -14789,11 +15050,15 @@ int main (int argc, char * const argv[]) {\n #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )\n #define TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ )\n #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ )\n #else\n #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) )\n #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) )\n #define TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) )\n #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) )\n+#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) )\n+#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) )\n #endif\n \n #if !defined(CATCH_CONFIG_RUNTIME_STATIC_REQUIRE)\n@@ -14858,9 +15123,10 @@ using Catch::Detail::Approx;\n #define CATCH_REQUIRE_THAT( arg, matcher ) (void)(0)\n #endif // CATCH_CONFIG_DISABLE_MATCHERS\n \n-#define CATCH_INFO( msg ) (void)(0)\n-#define CATCH_WARN( msg ) (void)(0)\n-#define CATCH_CAPTURE( msg ) (void)(0)\n+#define CATCH_INFO( msg ) (void)(0)\n+#define CATCH_UNSCOPED_INFO( msg ) (void)(0)\n+#define CATCH_WARN( msg ) (void)(0)\n+#define CATCH_CAPTURE( msg ) (void)(0)\n \n #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ))\n #define CATCH_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ))\n@@ -14934,6 +15200,7 @@ using Catch::Detail::Approx;\n #endif // CATCH_CONFIG_DISABLE_MATCHERS\n \n #define INFO( msg ) (void)(0)\n+#define UNSCOPED_INFO( msg ) (void)(0)\n #define WARN( msg ) (void)(0)\n #define CAPTURE( msg ) (void)(0)\n \n@@ -14953,11 +15220,15 @@ using Catch::Detail::Approx;\n #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className )\n #define TEMPLATE_PRODUCT_TEST_CASE( ... ) TEMPLATE_TEST_CASE( __VA_ARGS__ )\n #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className, __VA_ARGS__ )\n #else\n #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) ) )\n #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className ) )\n #define TEMPLATE_PRODUCT_TEST_CASE( ... ) TEMPLATE_TEST_CASE( __VA_ARGS__ )\n #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ )\n+#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), __VA_ARGS__ ) )\n+#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className, __VA_ARGS__ ) )\n #endif\n \n #define STATIC_REQUIRE( ... ) (void)(0)\n"} +{"instance_id": "catchorg__Catch2-1614", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/internal/catch_tostring.cpp b/include/internal/catch_tostring.cpp\nindex b857d3fb..76f19781 100644\n--- a/include/internal/catch_tostring.cpp\n+++ b/include/internal/catch_tostring.cpp\n@@ -234,11 +234,14 @@ std::string StringMaker::convert(std::nullptr_t) {\n return \"nullptr\";\n }\n \n+int StringMaker::precision = 5;\n+int StringMaker::precision = 10;\n+\n std::string StringMaker::convert(float value) {\n- return fpToString(value, 5) + 'f';\n+ return fpToString(value, precision) + 'f';\n }\n std::string StringMaker::convert(double value) {\n- return fpToString(value, 10);\n+ return fpToString(value, precision);\n }\n \n std::string ratio_string::symbol() { return \"a\"; }\ndiff --git a/include/internal/catch_tostring.h b/include/internal/catch_tostring.h\nindex 52634a8c..f3e18376 100644\n--- a/include/internal/catch_tostring.h\n+++ b/include/internal/catch_tostring.h\n@@ -260,10 +260,14 @@ namespace Catch {\n \n template<>\n struct StringMaker {\n+ static int precision;\n+ static void setPrecision(int newPrecision) { precision = newPrecision; }\n static std::string convert(float value);\n };\n template<>\n struct StringMaker {\n+ static int precision;\n+ static void setPrecision(int newPrecision) { precision = newPrecision; }\n static std::string convert(double value);\n };\n \ndiff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp\nindex df14c357..f11e9f78 100644\n--- a/single_include/catch2/catch.hpp\n+++ b/single_include/catch2/catch.hpp\n@@ -1450,10 +1450,14 @@ namespace Catch {\n \n template<>\n struct StringMaker {\n+ static int precision;\n+ static void setPrecision(int newPrecision) { precision = newPrecision; }\n static std::string convert(float value);\n };\n template<>\n struct StringMaker {\n+ static int precision;\n+ static void setPrecision(int newPrecision) { precision = newPrecision; }\n static std::string convert(double value);\n };\n \n@@ -12577,11 +12581,14 @@ std::string StringMaker::convert(std::nullptr_t) {\n return \"nullptr\";\n }\n \n+int StringMaker::precision = 5;\n+int StringMaker::precision = 10;\n+\n std::string StringMaker::convert(float value) {\n- return fpToString(value, 5) + 'f';\n+ return fpToString(value, precision) + 'f';\n }\n std::string StringMaker::convert(double value) {\n- return fpToString(value, 10);\n+ return fpToString(value, precision);\n }\n \n std::string ratio_string::symbol() { return \"a\"; }\n"} +{"instance_id": "catchorg__Catch2-1616", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/catch.hpp b/include/catch.hpp\nindex 947957f5..811a9ba5 100644\n--- a/include/catch.hpp\n+++ b/include/catch.hpp\n@@ -33,6 +33,9 @@\n # if defined(CATCH_CONFIG_DISABLE_MATCHERS)\n # undef CATCH_CONFIG_DISABLE_MATCHERS\n # endif\n+# if defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+# undef CATCH_CONFIG_DISABLE_BENCHMARK\n+# endif\n # if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER)\n # define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER\n # endif\n@@ -53,7 +56,9 @@\n #include \"internal/catch_test_registry.h\"\n #include \"internal/catch_capture.hpp\"\n #include \"internal/catch_section.h\"\n+#ifndef CATCH_CONFIG_DISABLE_BENCHMARK\n #include \"internal/catch_benchmark.h\"\n+#endif\n #include \"internal/catch_interfaces_exception.h\"\n #include \"internal/catch_approx.h\"\n #include \"internal/catch_compiler_capabilities.h\"\n@@ -148,6 +153,13 @@\n \n #define CATCH_ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE()\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+#define CATCH_BENCHMARK( name ) \\\n+ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#else\n+#define CATCH_BENCHMARK( name )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n+\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ )\n #define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ )\n@@ -239,6 +251,13 @@\n #define SUCCEED( ... ) INTERNAL_CATCH_MSG( \"SUCCEED\", Catch::ResultWas::Ok, Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n #define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE()\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+#define BENCHMARK( name ) \\\n+ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#else\n+#define BENCHMARK( name )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n+\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ )\n #define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ )\n@@ -339,6 +358,13 @@ using Catch::Detail::Approx;\n \n #define CATCH_ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ))\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+#define CATCH_BENCHMARK( name ) \\\n+ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#else\n+#define CATCH_BENCHMARK( name )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n+\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(__VA_ARGS__)\n #define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(__VA_ARGS__)\n@@ -423,6 +449,13 @@ using Catch::Detail::Approx;\n #define SUCCEED( ... ) (void)(0)\n #define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ))\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+#define BENCHMARK( name ) \\\n+ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#else\n+#define BENCHMARK( name )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n+\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(__VA_ARGS__)\n #define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(__VA_ARGS__)\ndiff --git a/include/internal/catch_benchmark.cpp b/include/internal/catch_benchmark.cpp\nindex 742418f7..c36adf50 100644\n--- a/include/internal/catch_benchmark.cpp\n+++ b/include/internal/catch_benchmark.cpp\n@@ -11,6 +11,8 @@\n #include \"catch_interfaces_reporter.h\"\n #include \"catch_context.h\"\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+\n namespace Catch {\n \n auto BenchmarkLooper::getResolution() -> uint64_t {\n@@ -34,3 +36,5 @@ namespace Catch {\n }\n \n } // end namespace Catch\n+\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\ndiff --git a/include/internal/catch_benchmark.h b/include/internal/catch_benchmark.h\nindex e546713c..46bc3e09 100644\n--- a/include/internal/catch_benchmark.h\n+++ b/include/internal/catch_benchmark.h\n@@ -51,7 +51,4 @@ namespace Catch {\n \n } // end namespace Catch\n \n-#define BENCHMARK( name ) \\\n- for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n-\n #endif // TWOBLUECUBES_CATCH_BENCHMARK_H_INCLUDED\ndiff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp\nindex 02302b8d..e86abfb1 100644\n--- a/single_include/catch2/catch.hpp\n+++ b/single_include/catch2/catch.hpp\n@@ -58,6 +58,9 @@\n # if defined(CATCH_CONFIG_DISABLE_MATCHERS)\n # undef CATCH_CONFIG_DISABLE_MATCHERS\n # endif\n+# if defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+# undef CATCH_CONFIG_DISABLE_BENCHMARK\n+# endif\n # if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER)\n # define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER\n # endif\n@@ -2768,6 +2771,8 @@ namespace Catch {\n // end catch_section.h\n // start catch_benchmark.h\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+\n #include \n #include \n \n@@ -2808,8 +2813,7 @@ namespace Catch {\n \n } // end namespace Catch\n \n-#define BENCHMARK( name ) \\\n- for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n \n // end catch_benchmark.h\n // start catch_interfaces_exception.h\n@@ -6675,6 +6679,8 @@ namespace Catch {\n // end catch_assertionresult.cpp\n // start catch_benchmark.cpp\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+\n namespace Catch {\n \n auto BenchmarkLooper::getResolution() -> uint64_t {\n@@ -6698,6 +6704,8 @@ namespace Catch {\n }\n \n } // end namespace Catch\n+\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n // end catch_benchmark.cpp\n // start catch_capture_matchers.cpp\n \n@@ -15039,6 +15047,13 @@ int main (int argc, char * const argv[]) {\n \n #define CATCH_ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE()\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+#define CATCH_BENCHMARK( name ) \\\n+ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#else\n+#define CATCH_BENCHMARK( name )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n+\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ )\n #define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ )\n@@ -15127,6 +15142,13 @@ int main (int argc, char * const argv[]) {\n #define SUCCEED( ... ) INTERNAL_CATCH_MSG( \"SUCCEED\", Catch::ResultWas::Ok, Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n #define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE()\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+#define BENCHMARK( name ) \\\n+ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#else\n+#define BENCHMARK( name )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n+\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ )\n #define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ )\n@@ -15226,6 +15248,13 @@ using Catch::Detail::Approx;\n \n #define CATCH_ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ))\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+#define CATCH_BENCHMARK( name ) \\\n+ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#else\n+#define CATCH_BENCHMARK( name )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n+\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(__VA_ARGS__)\n #define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(__VA_ARGS__)\n@@ -15309,6 +15338,13 @@ using Catch::Detail::Approx;\n #define SUCCEED( ... ) (void)(0)\n #define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ ))\n \n+#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK)\n+#define BENCHMARK( name ) \\\n+ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() )\n+#else\n+#define BENCHMARK( name )\n+#endif // !CATCH_CONFIG_DISABLE_BENCHMARK\n+\n #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR\n #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(__VA_ARGS__)\n #define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(__VA_ARGS__)\n"} +{"instance_id": "catchorg__Catch2-2128", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/src/catch2/internal/catch_decomposer.hpp b/src/catch2/internal/catch_decomposer.hpp\nindex 9af5c19f..bfb0b6d5 100644\n--- a/src/catch2/internal/catch_decomposer.hpp\n+++ b/src/catch2/internal/catch_decomposer.hpp\n@@ -183,7 +183,7 @@ namespace Catch {\n public:\n explicit ExprLhs( LhsT lhs ) : m_lhs( lhs ) {}\n \n- template\n+ template::value, int> = 0>\n auto operator == ( RhsT const& rhs ) -> BinaryExpr const {\n return { compareEqual( m_lhs, rhs ), m_lhs, \"==\"_sr, rhs };\n }\n@@ -191,7 +191,7 @@ namespace Catch {\n return { m_lhs == rhs, m_lhs, \"==\"_sr, rhs };\n }\n \n- template\n+ template::value, int> = 0>\n auto operator != ( RhsT const& rhs ) -> BinaryExpr const {\n return { compareNotEqual( m_lhs, rhs ), m_lhs, \"!=\"_sr, rhs };\n }\n@@ -199,31 +199,31 @@ namespace Catch {\n return { m_lhs != rhs, m_lhs, \"!=\"_sr, rhs };\n }\n \n- template\n+ template::value, int> = 0>\n auto operator > ( RhsT const& rhs ) -> BinaryExpr const {\n return { static_cast(m_lhs > rhs), m_lhs, \">\"_sr, rhs };\n }\n- template\n+ template::value, int> = 0>\n auto operator < ( RhsT const& rhs ) -> BinaryExpr const {\n return { static_cast(m_lhs < rhs), m_lhs, \"<\"_sr, rhs };\n }\n- template\n+ template::value, int> = 0>\n auto operator >= ( RhsT const& rhs ) -> BinaryExpr const {\n return { static_cast(m_lhs >= rhs), m_lhs, \">=\"_sr, rhs };\n }\n- template\n+ template::value, int> = 0>\n auto operator <= ( RhsT const& rhs ) -> BinaryExpr const {\n return { static_cast(m_lhs <= rhs), m_lhs, \"<=\"_sr, rhs };\n }\n- template \n+ template ::value, int> = 0>\n auto operator | (RhsT const& rhs) -> BinaryExpr const {\n return { static_cast(m_lhs | rhs), m_lhs, \"|\"_sr, rhs };\n }\n- template \n+ template ::value, int> = 0>\n auto operator & (RhsT const& rhs) -> BinaryExpr const {\n return { static_cast(m_lhs & rhs), m_lhs, \"&\"_sr, rhs };\n }\n- template \n+ template ::value, int> = 0>\n auto operator ^ (RhsT const& rhs) -> BinaryExpr const {\n return { static_cast(m_lhs ^ rhs), m_lhs, \"^\"_sr, rhs };\n }\n@@ -245,8 +245,64 @@ namespace Catch {\n auto makeUnaryExpr() const -> UnaryExpr {\n return UnaryExpr{ m_lhs };\n }\n+\n+ template>::value, int>>\n+ friend auto operator == ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n+ template>::value, int>>\n+ friend auto operator != ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n+ template>::value, int>>\n+ friend auto operator > ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n+ template>::value, int>>\n+ friend auto operator < ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n+ template>::value, int>>\n+ friend auto operator >= ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n+ template>::value, int>>\n+ friend auto operator <= ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n+ template>::value, int>>\n+ friend auto operator | ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n+ template>::value, int>>\n+ friend auto operator & ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n+ template>::value, int>>\n+ friend auto operator ^ ( ExprLhs&&, RhsT&& ) -> BinaryExpr const;\n };\n \n+ template>::value, int> = 0>\n+ auto operator == ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { compareEqual( lhs.m_lhs, rhs ), lhs.m_lhs, \"==\"_sr, rhs };\n+ }\n+ template>::value, int> = 0>\n+ auto operator != ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { compareNotEqual( lhs.m_lhs, rhs ), lhs.m_lhs, \"!=\"_sr, rhs };\n+ }\n+ template>::value, int> = 0>\n+ auto operator > ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { static_cast(lhs.m_lhs > rhs), lhs.m_lhs, \">\"_sr, rhs };\n+ }\n+ template>::value, int> = 0>\n+ auto operator < ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { static_cast(lhs.m_lhs < rhs), lhs.m_lhs, \"<\"_sr, rhs };\n+ }\n+ template>::value, int> = 0>\n+ auto operator >= ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { static_cast(lhs.m_lhs >= rhs), lhs.m_lhs, \">=\"_sr, rhs };\n+ }\n+ template>::value, int> = 0>\n+ auto operator <= ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { static_cast(lhs.m_lhs <= rhs), lhs.m_lhs, \"<=\"_sr, rhs };\n+ }\n+ template>::value, int> = 0>\n+ auto operator | ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { static_cast(lhs.m_lhs | rhs), lhs.m_lhs, \"|\"_sr, rhs };\n+ }\n+ template>::value, int> = 0>\n+ auto operator & ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { static_cast(lhs.m_lhs & rhs), lhs.m_lhs, \"&\"_sr, rhs };\n+ }\n+ template>::value, int> = 0>\n+ auto operator ^ ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const {\n+ return { static_cast(lhs.m_lhs ^ rhs), lhs.m_lhs, \"^\"_sr, rhs };\n+ }\n+\n void handleExpression( ITransientExpression const& expr );\n \n template\n"} +{"instance_id": "catchorg__Catch2-2187", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/extras/catch_amalgamated.hpp b/extras/catch_amalgamated.hpp\nindex 7f832413..bf6fad68 100644\n--- a/extras/catch_amalgamated.hpp\n+++ b/extras/catch_amalgamated.hpp\n@@ -5774,8 +5774,8 @@ struct AutoReg : Detail::NonCopyable {\n \n #define CATCH_CHECK( ... ) INTERNAL_CATCH_TEST( \"CATCH_CHECK\", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n #define CATCH_CHECK_FALSE( ... ) INTERNAL_CATCH_TEST( \"CATCH_CHECK_FALSE\", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::FalseTest, __VA_ARGS__ )\n- #define CATCH_CHECKED_IF( ... ) INTERNAL_CATCH_IF( \"CATCH_CHECKED_IF\", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n- #define CATCH_CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( \"CATCH_CHECKED_ELSE\", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n+ #define CATCH_CHECKED_IF( ... ) INTERNAL_CATCH_IF( \"CATCH_CHECKED_IF\", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ )\n+ #define CATCH_CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( \"CATCH_CHECKED_ELSE\", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ )\n #define CATCH_CHECK_NOFAIL( ... ) INTERNAL_CATCH_TEST( \"CATCH_CHECK_NOFAIL\", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ )\n \n #define CATCH_CHECK_THROWS( ... ) INTERNAL_CATCH_THROWS( \"CATCH_CHECK_THROWS\", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n@@ -5865,8 +5865,8 @@ struct AutoReg : Detail::NonCopyable {\n \n #define CHECK( ... ) INTERNAL_CATCH_TEST( \"CHECK\", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n #define CHECK_FALSE( ... ) INTERNAL_CATCH_TEST( \"CHECK_FALSE\", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::FalseTest, __VA_ARGS__ )\n- #define CHECKED_IF( ... ) INTERNAL_CATCH_IF( \"CHECKED_IF\", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n- #define CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( \"CHECKED_ELSE\", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n+ #define CHECKED_IF( ... ) INTERNAL_CATCH_IF( \"CHECKED_IF\", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ )\n+ #define CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( \"CHECKED_ELSE\", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ )\n #define CHECK_NOFAIL( ... ) INTERNAL_CATCH_TEST( \"CHECK_NOFAIL\", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ )\n \n #define CHECK_THROWS( ... ) INTERNAL_CATCH_THROWS( \"CHECK_THROWS\", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ )\n"} +{"instance_id": "catchorg__Catch2-2288", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/internal/catch_approx.h b/include/internal/catch_approx.h\nindex 4522e5ad..2d12efe4 100644\n--- a/include/internal/catch_approx.h\n+++ b/include/internal/catch_approx.h\n@@ -33,7 +33,7 @@ namespace Detail {\n Approx operator-() const;\n \n template ::value>::type>\n- Approx operator()( T const& value ) {\n+ Approx operator()( T const& value ) const {\n Approx approx( static_cast(value) );\n approx.m_epsilon = m_epsilon;\n approx.m_margin = m_margin;\ndiff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp\nindex 7e706f94..06494cb3 100644\n--- a/single_include/catch2/catch.hpp\n+++ b/single_include/catch2/catch.hpp\n@@ -3091,7 +3091,7 @@ namespace Detail {\n Approx operator-() const;\n \n template ::value>::type>\n- Approx operator()( T const& value ) {\n+ Approx operator()( T const& value ) const {\n Approx approx( static_cast(value) );\n approx.m_epsilon = m_epsilon;\n approx.m_margin = m_margin;\n"} +{"instance_id": "catchorg__Catch2-2394", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt\nindex 78d95956..4a6ffe44 100644\n--- a/src/CMakeLists.txt\n+++ b/src/CMakeLists.txt\n@@ -135,6 +135,7 @@ set(INTERNAL_HEADERS\n ${SOURCES_DIR}/catch_tag_alias_autoregistrar.hpp\n ${SOURCES_DIR}/internal/catch_tag_alias_registry.hpp\n ${SOURCES_DIR}/catch_test_case_info.hpp\n+ ${SOURCES_DIR}/internal/catch_test_case_hasher.hpp\n ${SOURCES_DIR}/internal/catch_test_case_registry_impl.hpp\n ${SOURCES_DIR}/internal/catch_test_case_tracker.hpp\n ${SOURCES_DIR}/catch_template_test_macros.hpp\n@@ -201,6 +202,7 @@ set(IMPL_SOURCES\n ${SOURCES_DIR}/internal/catch_string_manip.cpp\n ${SOURCES_DIR}/internal/catch_tag_alias_registry.cpp\n ${SOURCES_DIR}/catch_test_case_info.cpp\n+ ${SOURCES_DIR}/internal/catch_test_case_hasher.cpp\n ${SOURCES_DIR}/internal/catch_test_case_registry_impl.cpp\n ${SOURCES_DIR}/internal/catch_test_case_tracker.cpp\n ${SOURCES_DIR}/internal/catch_test_registry.cpp\ndiff --git a/src/catch2/internal/catch_test_case_hasher.cpp b/src/catch2/internal/catch_test_case_hasher.cpp\nnew file mode 100644\nindex 00000000..caf1e7f0\n--- /dev/null\n+++ b/src/catch2/internal/catch_test_case_hasher.cpp\n@@ -0,0 +1,42 @@\n+\n+// Copyright Catch2 Authors\n+// Distributed under the Boost Software License, Version 1.0.\n+// (See accompanying file LICENSE_1_0.txt or copy at\n+// https://www.boost.org/LICENSE_1_0.txt)\n+\n+// SPDX-License-Identifier: BSL-1.0\n+#include \n+\n+#include \n+\n+namespace Catch {\n+\n+ TestCaseHasher::TestCaseHasher( hash_t hashSuffix ):\n+ m_hashSuffix( hashSuffix ) {}\n+\n+ uint32_t TestCaseHasher::operator()( TestCaseInfo const& t ) const {\n+ // FNV-1a hash with multiplication fold.\n+ const hash_t prime = 1099511628211u;\n+ hash_t hash = 14695981039346656037u;\n+ for (const char c : t.name) {\n+ hash ^= c;\n+ hash *= prime;\n+ }\n+ for (const char c : t.className) {\n+ hash ^= c;\n+ hash *= prime;\n+ }\n+ for (const auto& tag : t.tags) {\n+ for (const char c : tag.original) {\n+ hash ^= c;\n+ hash *= prime;\n+ }\n+ }\n+ hash ^= m_hashSuffix;\n+ hash *= prime;\n+ const uint32_t low{ static_cast(hash) };\n+ const uint32_t high{ static_cast(hash >> 32) };\n+ return low * high;\n+ }\n+\n+} // namespace Catch\ndiff --git a/src/catch2/internal/catch_test_case_hasher.hpp b/src/catch2/internal/catch_test_case_hasher.hpp\nnew file mode 100644\nindex 00000000..3d3c9fd7\n--- /dev/null\n+++ b/src/catch2/internal/catch_test_case_hasher.hpp\n@@ -0,0 +1,30 @@\n+\n+// Copyright Catch2 Authors\n+// Distributed under the Boost Software License, Version 1.0.\n+// (See accompanying file LICENSE_1_0.txt or copy at\n+// https://www.boost.org/LICENSE_1_0.txt)\n+\n+// SPDX-License-Identifier: BSL-1.0\n+#ifndef CATCH_TEST_CASE_HASHER_HPP_INCLUDED\n+#define CATCH_TEST_CASE_HASHER_HPP_INCLUDED\n+\n+#include \n+\n+namespace Catch {\n+\n+ struct TestCaseInfo;\n+\n+ class TestCaseHasher {\n+ public:\n+ using hash_t = uint64_t;\n+\n+ explicit TestCaseHasher( hash_t hashSuffix );\n+ uint32_t operator()( TestCaseInfo const& t ) const;\n+\n+ private:\n+ hash_t m_hashSuffix;\n+ };\n+\n+} // namespace Catch\n+\n+#endif // CATCH_TEST_CASE_HASHER_HPP_INCLUDED\ndiff --git a/tests/SelfTest/IntrospectiveTests/TestCaseHasher.tests.cpp b/tests/SelfTest/IntrospectiveTests/TestCaseHasher.tests.cpp\nnew file mode 100644\nindex 00000000..54bdf71c\n--- /dev/null\n+++ b/tests/SelfTest/IntrospectiveTests/TestCaseHasher.tests.cpp\n@@ -0,0 +1,73 @@\n+\n+// Copyright Catch2 Authors\n+// Distributed under the Boost Software License, Version 1.0.\n+// (See accompanying file LICENSE_1_0.txt or copy at\n+// https://www.boost.org/LICENSE_1_0.txt)\n+\n+// SPDX-License-Identifier: BSL-1.0\n+\n+#include \n+#include \n+#include \n+\n+static constexpr Catch::SourceLineInfo dummySourceLineInfo = CATCH_INTERNAL_LINEINFO;\n+\n+TEST_CASE(\"TestCaseHasher produces different hashes for different names\",\n+ \"[test-case-hasher]\") {\n+ Catch::TestCaseHasher h(0);\n+ Catch::TestCaseInfo tc1(\"\", {\"name1\", \"\"}, dummySourceLineInfo);\n+ Catch::TestCaseInfo tc2(\"\", {\"name2\", \"\"}, dummySourceLineInfo);\n+ REQUIRE(h(tc1) != h(tc2));\n+}\n+\n+TEST_CASE(\"TestCaseHasher produces different hashes for different class names\",\n+ \"[test-case-hasher]\") {\n+ Catch::TestCaseHasher h(0);\n+ Catch::TestCaseInfo tc1(\"class1\", {\"same-name\", \"\"}, dummySourceLineInfo);\n+ Catch::TestCaseInfo tc2(\"class2\", {\"same-name\", \"\"}, dummySourceLineInfo);\n+ REQUIRE(h(tc1) != h(tc2));\n+}\n+\n+TEST_CASE(\"TestCaseHasher produces different hashes for different tags\",\n+ \"[test-case-hasher]\") {\n+ Catch::TestCaseHasher h(0);\n+ Catch::TestCaseInfo tc1(\"\", {\"same-name\", \"[tag1]\"}, dummySourceLineInfo);\n+ Catch::TestCaseInfo tc2(\"\", {\"same-name\", \"[tag2]\"}, dummySourceLineInfo);\n+ REQUIRE(h(tc1) != h(tc2));\n+}\n+\n+TEST_CASE(\"TestCaseHasher produces same hash for same test case\",\n+ \"[test-case-hasher]\") {\n+ Catch::TestCaseHasher h(0);\n+ Catch::TestCaseInfo tc1(\"MyClass\", {\"my-test\", \"[tag1][tag2]\"}, dummySourceLineInfo);\n+ Catch::TestCaseInfo tc2(\"MyClass\", {\"my-test\", \"[tag1][tag2]\"}, dummySourceLineInfo);\n+ REQUIRE(h(tc1) == h(tc2));\n+}\n+\n+TEST_CASE(\"TestCaseHasher hash suffix changes the hash\",\n+ \"[test-case-hasher]\") {\n+ Catch::TestCaseHasher h1(0);\n+ Catch::TestCaseHasher h2(1);\n+ Catch::TestCaseInfo tc(\"\", {\"some-name\", \"\"}, dummySourceLineInfo);\n+ REQUIRE(h1(tc) != h2(tc));\n+}\n+\n+TEST_CASE(\n+ \"TestCaseHasher produces different hashes for same name, same class, \"\n+ \"different tags\",\n+ \"[test-case-hasher]\") {\n+ Catch::TestCaseHasher h(0);\n+ Catch::TestCaseInfo tc1(\"MyClass\", {\"name\", \"[a]\"}, dummySourceLineInfo);\n+ Catch::TestCaseInfo tc2(\"MyClass\", {\"name\", \"[b]\"}, dummySourceLineInfo);\n+ REQUIRE(h(tc1) != h(tc2));\n+}\n+\n+TEST_CASE(\n+ \"TestCaseHasher produces different hashes for same name, different class, \"\n+ \"same tags\",\n+ \"[test-case-hasher]\") {\n+ Catch::TestCaseHasher h(0);\n+ Catch::TestCaseInfo tc1(\"Class1\", {\"name\", \"[a][b]\"}, dummySourceLineInfo);\n+ Catch::TestCaseInfo tc2(\"Class2\", {\"name\", \"[a][b]\"}, dummySourceLineInfo);\n+ REQUIRE(h(tc1) != h(tc2));\n+}\n"} +{"instance_id": "catchorg__Catch2-2723", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/extras/catch_amalgamated.cpp b/extras/catch_amalgamated.cpp\nindex eba3f00a..4b3822a6 100644\n--- a/extras/catch_amalgamated.cpp\n+++ b/extras/catch_amalgamated.cpp\n@@ -5585,6 +5585,7 @@ namespace Catch {\n // are reported without translation at the point of origin.\n if( m_shouldReportUnexpected ) {\n AssertionReaction dummyReaction;\n+ m_lastAssertionInfo.resultDisposition = ResultDisposition::Normal;\n handleUnexpectedInflightException( m_lastAssertionInfo, translateActiveException(), dummyReaction );\n }\n }\ndiff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp\nindex 6f15cfb1..7a00488c 100644\n--- a/src/catch2/internal/catch_run_context.cpp\n+++ b/src/catch2/internal/catch_run_context.cpp\n@@ -524,6 +524,7 @@ namespace Catch {\n // are reported without translation at the point of origin.\n if( m_shouldReportUnexpected ) {\n AssertionReaction dummyReaction;\n+ m_lastAssertionInfo.resultDisposition = ResultDisposition::Normal;\n handleUnexpectedInflightException( m_lastAssertionInfo, translateActiveException(), dummyReaction );\n }\n }\n"} +{"instance_id": "catchorg__Catch2-2849", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp\nindex 857fd2b9..9b67bee3 100644\n--- a/src/catch2/internal/catch_textflow.cpp\n+++ b/src/catch2/internal/catch_textflow.cpp\n@@ -36,6 +36,106 @@ namespace {\n isBreakableAfter( line[at - 1] );\n }\n \n+ bool isEscapeChar( char c ) { return c == '\\033'; }\n+\n+ // Finds the end of an ANSI escape sequence starting at `position`.\n+ // Returns the index one past the final byte of the escape sequence.\n+ // If the character at `position` is not an ESC, returns `position`.\n+ size_t findEscapeEnd( std::string const& line, size_t position ) {\n+ if ( position >= line.size() || !isEscapeChar( line[position] ) ) {\n+ return position;\n+ }\n+ if ( position + 1 >= line.size() ) {\n+ return position + 1;\n+ }\n+ // CSI sequence: ESC [ (params) final_byte\n+ if ( line[position + 1] == '[' ) {\n+ size_t j = position + 2;\n+ while ( j < line.size() ) {\n+ unsigned char c = static_cast( line[j] );\n+ if ( c >= 0x40 && c <= 0x7e ) {\n+ return j + 1;\n+ }\n+ ++j;\n+ }\n+ }\n+ // Unknown escape type, just skip ESC and next char\n+ return position + 2;\n+ }\n+\n+ // Check if a byte position is inside an ANSI escape sequence.\n+ // Returns the start of the escape sequence if inside, or npos.\n+ size_t findEscapeStart( std::string const& line, size_t position ) {\n+ if ( position == 0 || position >= line.size() ) return std::string::npos;\n+ const size_t maxLookback = 10;\n+ const size_t start = position > maxLookback ? position - maxLookback : 0;\n+ for ( size_t i = start; i < position; ++i ) {\n+ if ( isEscapeChar( line[i] ) ) {\n+ size_t end = findEscapeEnd( line, i );\n+ if ( end > position ) {\n+ return i;\n+ }\n+ }\n+ }\n+ return std::string::npos;\n+ }\n+\n+ // Calculates the visible (display) length of a string portion,\n+ // excluding ANSI escape sequences.\n+ size_t visibleLength( std::string const& line, size_t start, size_t length ) {\n+ size_t visible = 0;\n+ size_t end = start + length;\n+ size_t i = start;\n+ while ( i < end ) {\n+ if ( isEscapeChar( line[i] ) ) {\n+ i = findEscapeEnd( line, i );\n+ } else {\n+ ++visible;\n+ ++i;\n+ }\n+ }\n+ return visible;\n+ }\n+\n+ // Given a desired visible length from `start`, find the actual byte offset.\n+ size_t visibleToByteOffset( std::string const& line, size_t start, size_t visibleTarget ) {\n+ size_t visible = 0;\n+ size_t i = start;\n+ while ( i < line.size() && visible < visibleTarget ) {\n+ if ( isEscapeChar( line[i] ) ) {\n+ i = findEscapeEnd( line, i );\n+ } else {\n+ ++visible;\n+ ++i;\n+ }\n+ }\n+ return i;\n+ }\n+\n+ // ANSI-aware boundary check: returns true if `at` is a valid line break\n+ // position, considering that positions inside escape sequences are not\n+ // valid break points.\n+ bool isAnsiAwareBoundary( std::string const& line, size_t at ) {\n+ // If we're inside an escape sequence, this is not a valid boundary\n+ if ( findEscapeStart( line, at ) != std::string::npos ) {\n+ return false;\n+ }\n+ return isBoundary( line, at );\n+ }\n+\n+ // Given a byte position (relative to lineStart), adjust it to avoid\n+ // splitting an ANSI escape sequence. If the position falls inside an\n+ // escape, move it back to before the escape starts.\n+ // Returns the adjusted relative position.\n+ size_t adjustBoundary( std::string const& line, size_t lineStart, size_t relativePos ) {\n+ size_t absPos = lineStart + relativePos;\n+ size_t escStart = findEscapeStart( line, absPos );\n+ if ( escStart != std::string::npos && escStart >= lineStart ) {\n+ return escStart - lineStart;\n+ }\n+ return relativePos;\n+ }\n+\n } // namespace\n \n namespace Catch {\n@@ -51,7 +151,8 @@ namespace Catch {\n }\n \n const auto maxLineLength = m_column.m_width - indentSize();\n- const auto maxParseTo = std::min(current_line.size(), m_lineStart + maxLineLength);\n+ // Find the byte offset that corresponds to maxLineLength visible chars\n+ const auto maxParseTo = std::min(current_line.size(), visibleToByteOffset( current_line, m_lineStart, maxLineLength ));\n while ( m_parsedTo < maxParseTo &&\n current_line[m_parsedTo] != '\\n' ) {\n ++m_parsedTo;\n@@ -60,14 +161,14 @@ namespace Catch {\n // If we encountered a newline before the column is filled,\n // then we linebreak at the newline and consider this line\n // finished.\n- if ( m_parsedTo < m_lineStart + maxLineLength ) {\n+ if ( visibleLength( current_line, m_lineStart, m_parsedTo - m_lineStart ) < maxLineLength ) {\n m_lineLength = m_parsedTo - m_lineStart;\n } else {\n // Look for a natural linebreak boundary in the column\n // (We look from the end, so that the first found boundary is\n // the right one)\n size_t newLineLength = maxLineLength;\n- while ( newLineLength > 0 && !isBoundary( current_line, m_lineStart + newLineLength ) ) {\n+ while ( newLineLength > 0 && !isAnsiAwareBoundary( current_line, m_lineStart + newLineLength ) ) {\n --newLineLength;\n }\n while ( newLineLength > 0 &&\n@@ -82,6 +183,16 @@ namespace Catch {\n // Otherwise we have to split text with a hyphen\n m_addHyphen = true;\n m_lineLength = maxLineLength - 1;\n+ // Adjust hyphen break to avoid splitting an escape sequence\n+ m_lineLength = adjustBoundary( current_line, m_lineStart, m_lineLength );\n+ if ( m_lineLength == 0 ) {\n+ // The line starts with an escape sequence that won't fit.\n+ // Include the whole escape sequence in this line anyway\n+ // (it takes zero visible width), and then continue.\n+ size_t escEnd = findEscapeEnd( current_line, m_lineStart );\n+ m_lineLength = escEnd - m_lineStart;\n+ m_addHyphen = false;\n+ }\n }\n }\n }\n@@ -111,6 +222,7 @@ namespace Catch {\n assert( m_column.m_width > m_column.m_indent );\n assert( m_column.m_initialIndent == std::string::npos ||\n m_column.m_width > m_column.m_initialIndent );\n+ m_parsedTo = 0;\n calcLength();\n if ( m_lineLength == 0 ) {\n m_lineStart = m_column.m_string.size();\n@@ -195,8 +307,10 @@ namespace Catch {\n row += col;\n \n padding.clear();\n- if ( col.size() < width ) {\n- padding.append( width - col.size(), ' ' );\n+ // Use visible length for padding, not raw string size\n+ size_t col_visible = visibleLength( col, 0, col.size() );\n+ if ( col_visible < width ) {\n+ padding.append( width - col_visible, ' ' );\n }\n } else {\n padding.append( width, ' ' );\n"} +{"instance_id": "fmtlib__fmt-1171", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/prepare.h b/include/fmt/prepare.h\nindex 0ac92188..db8ee2ec 100644\n--- a/include/fmt/prepare.h\n+++ b/include/fmt/prepare.h\n@@ -217,7 +217,9 @@ class prepared_format {\n std::basic_string format(const Args&... args) const {\n basic_memory_buffer buffer;\n typedef back_insert_range> range;\n- this->vformat_to(range(buffer), make_args_checked(format_, args...));\n+ typedef buffer_context context;\n+ this->vformat_to(range(buffer),\n+ basic_format_args(make_args_checked(format_, args...)));\n return to_string(buffer);\n }\n \n@@ -226,7 +228,9 @@ class prepared_format {\n std::back_insert_iterator out, const Args&... args) const {\n internal::container_buffer buffer(internal::get_container(out));\n typedef back_insert_range> range;\n- this->vformat_to(range(buffer), make_args_checked(format_, args...));\n+ typedef buffer_context context;\n+ this->vformat_to(range(buffer),\n+ basic_format_args(make_args_checked(format_, args...)));\n return out;\n }\n \n@@ -242,18 +246,18 @@ class prepared_format {\n inline typename buffer_context::iterator format_to(\n basic_memory_buffer& buf, const Args&... args) const {\n typedef back_insert_range> range;\n- return this->vformat_to(range(buf), make_args_checked(format_, args...));\n+ typedef buffer_context context;\n+ return this->vformat_to(range(buf),\n+ basic_format_args(make_args_checked(format_, args...)));\n }\n \n private:\n- typedef buffer_context context;\n-\n- template \n- typename context::iterator vformat_to(Range out,\n- basic_format_args args) const {\n+ template \n+ typename Context::iterator vformat_to(Range out,\n+ basic_format_args args) const {\n const auto format_view = internal::to_string_view(format_);\n basic_parse_context parse_ctx(format_view);\n- context ctx(out.begin(), args);\n+ Context ctx(out.begin(), args);\n \n const auto& parts = parts_provider_.parts();\n for (auto part_it = parts.begin(); part_it != parts.end(); ++part_it) {\n"} +{"instance_id": "fmtlib__fmt-1361", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h\nindex 30de39b2..7095f454 100644\n--- a/include/fmt/format-inl.h\n+++ b/include/fmt/format-inl.h\n@@ -364,6 +364,10 @@ class fp {\n std::numeric_limits::digits - 1;\n static FMT_CONSTEXPR_DECL const uint64_t implicit_bit =\n 1ull << double_significand_size;\n+ static FMT_CONSTEXPR_DECL const int float_significand_size =\n+ std::numeric_limits::digits - 1;\n+ static FMT_CONSTEXPR_DECL const uint64_t float_implicit_bit =\n+ 1ull << float_significand_size;\n \n public:\n significand_type f;\n@@ -395,6 +399,24 @@ class fp {\n e = static_cast(biased_e - exponent_bias - double_significand_size);\n }\n \n+ // Constructs fp from an IEEE754 single-precision float.\n+ explicit fp(float f32) {\n+ using limits = std::numeric_limits;\n+ const int exponent_size = bits::value - float_significand_size - 1;\n+ const uint32_t significand_mask =\n+ static_cast(float_implicit_bit - 1);\n+ const uint32_t exponent_mask = (~0u >> 1) & ~significand_mask;\n+ const int exponent_bias = (1 << exponent_size) - limits::max_exponent - 1;\n+ auto u = bit_cast(f32);\n+ auto biased_e = (u & exponent_mask) >> float_significand_size;\n+ f = u & significand_mask;\n+ if (biased_e != 0)\n+ f += float_implicit_bit;\n+ else\n+ biased_e = 1; // Subnormals use biased exponent 1 (min exponent).\n+ e = static_cast(biased_e - exponent_bias - float_significand_size);\n+ }\n+\n // Normalizes the value converted from double and multiplied by (1 << SHIFT).\n template friend fp normalize(fp value) {\n // Handle subnormals.\n@@ -423,6 +445,16 @@ class fp {\n lower.f <<= lower.e - upper.e;\n lower.e = upper.e;\n }\n+\n+ // Computes lower and upper boundaries for a single-precision float.\n+ void compute_float_boundaries(fp& lower, fp& upper) const {\n+ lower = f == float_implicit_bit\n+ ? fp((f << 2) - 1, e - 2)\n+ : fp((f << 1) - 1, e - 1);\n+ upper = normalize<1>(fp((f << 1) + 1, e - 1));\n+ lower.f <<= lower.e - upper.e;\n+ lower.e = upper.e;\n+ }\n };\n \n // Returns an fp number representing x - y. Result may not be normalized.\n@@ -1083,6 +1115,74 @@ bool grisu_format(Double value, buffer& buf, int precision,\n return true;\n }\n \n+template >\n+bool grisu_format(Float value, buffer& buf, int precision,\n+ unsigned options, int& exp) {\n+ FMT_ASSERT(value >= 0, \"value is negative\");\n+ const bool fixed = (options & grisu_options::fixed) != 0;\n+ if (value <= 0) { // <= instead of == to silence a warning.\n+ if (precision <= 0 || !fixed) {\n+ exp = 0;\n+ buf.push_back('0');\n+ } else {\n+ exp = -precision;\n+ buf.resize(to_unsigned(precision));\n+ std::uninitialized_fill_n(buf.data(), precision, '0');\n+ }\n+ return true;\n+ }\n+\n+ const fp fp_value(value);\n+ const int min_exp = -60; // alpha in Grisu.\n+ int cached_exp10 = 0; // K in Grisu.\n+ if (precision != -1) {\n+ if (precision > 17) return false;\n+ fp normalized = normalize(fp_value);\n+ const auto cached_pow = get_cached_power(\n+ min_exp - (normalized.e + fp::significand_size), cached_exp10);\n+ normalized = normalized * cached_pow;\n+ fixed_handler handler{buf.data(), 0, precision, -cached_exp10, fixed};\n+ if (grisu_gen_digits(normalized, 1, exp, handler) == digits::error)\n+ return false;\n+ buf.resize(to_unsigned(handler.size));\n+ } else {\n+ fp lower, upper; // w^- and w^+ in the Grisu paper.\n+ fp_value.compute_float_boundaries(lower, upper);\n+ const auto cached_pow = get_cached_power(\n+ min_exp - (upper.e + fp::significand_size), cached_exp10);\n+ fp normalized = normalize(fp_value);\n+ normalized = normalized * cached_pow;\n+ lower = lower * cached_pow;\n+ upper = upper * cached_pow;\n+ assert(min_exp <= upper.e && upper.e <= -32);\n+ auto result = digits::result();\n+ int size = 0;\n+ if ((options & grisu_options::grisu2) != 0) {\n+ ++lower.f;\n+ --upper.f;\n+ grisu_shortest_handler<2> handler{buf.data(), 0, (upper - normalized).f};\n+ result = grisu_gen_digits(upper, upper.f - lower.f, exp, handler);\n+ size = handler.size;\n+ assert(result != digits::error);\n+ } else {\n+ --lower.f;\n+ ++upper.f;\n+ grisu_shortest_handler<3> handler{buf.data(), 0, (upper - normalized).f};\n+ result = grisu_gen_digits(upper, upper.f - lower.f, exp, handler);\n+ size = handler.size;\n+ if (result == digits::error) {\n+ exp = exp + size - cached_exp10 - 1;\n+ fallback_format(static_cast(value), buf, exp);\n+ return true;\n+ }\n+ }\n+ buf.resize(to_unsigned(size));\n+ }\n+ exp -= cached_exp10;\n+ return true;\n+}\n+\n template \n char* sprintf_format(Double value, internal::buffer& buf,\n sprintf_specs specs) {\ndiff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 007fe8f2..e6f2cf51 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -1118,7 +1118,10 @@ enum { fixed = 1, grisu2 = 2 };\n // https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf\n template \n FMT_API bool grisu_format(Double, buffer&, int, unsigned, int&);\n-template \n+template \n+FMT_API bool grisu_format(Float, buffer&, int, unsigned, int&);\n+template \n inline bool grisu_format(Double, buffer&, int, unsigned, int&) {\n return false;\n }\n@@ -2812,9 +2815,9 @@ void internal::basic_writer::write_fp(T value,\n bool use_grisu = USE_GRISU &&\n (specs.type != 'a' && specs.type != 'A' &&\n specs.type != 'e' && specs.type != 'E') &&\n- internal::grisu_format(\n- static_cast(value), buffer, precision,\n- handler.fixed ? internal::grisu_options::fixed : 0, exp);\n+ internal::grisu_format(\n+ value, buffer, precision,\n+ handler.fixed ? internal::grisu_options::fixed : 0, exp);\n char* decimal_point_pos = nullptr;\n if (!use_grisu)\n decimal_point_pos = internal::sprintf_format(value, buffer, specs);\n"} +{"instance_id": "fmtlib__fmt-1390", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 6ed7fc43..5ab70136 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -427,6 +427,15 @@ inline size_t count_code_points(basic_string_view s) {\n }\n \n // Counts the number of code points in a UTF-8 string.\n+inline size_t count_code_points(basic_string_view s) {\n+ const char* data = s.data();\n+ size_t num_code_points = 0;\n+ for (size_t i = 0, size = s.size(); i != size; ++i) {\n+ if ((data[i] & 0xc0) != 0x80) ++num_code_points;\n+ }\n+ return num_code_points;\n+}\n+\n inline size_t count_code_points(basic_string_view s) {\n const char8_t* data = s.data();\n size_t num_code_points = 0;\n@@ -436,6 +445,34 @@ inline size_t count_code_points(basic_string_view s) {\n return num_code_points;\n }\n \n+template \n+inline size_t code_point_length(basic_string_view s, size_t num_code_points) {\n+ return num_code_points < s.size() ? num_code_points : s.size();\n+}\n+\n+inline size_t code_point_length(basic_string_view s, size_t num_code_points) {\n+ const char* data = s.data();\n+ size_t i = 0, count = 0, size = s.size();\n+ while (i != size && count != num_code_points) {\n+ if ((data[i] & 0xc0) != 0x80) ++count;\n+ ++i;\n+ }\n+ // Skip trailing continuation bytes to include the full last code point.\n+ while (i != size && (data[i] & 0xc0) == 0x80) ++i;\n+ return i;\n+}\n+\n+inline size_t code_point_length(basic_string_view s, size_t num_code_points) {\n+ const char8_t* data = s.data();\n+ size_t i = 0, count = 0, size = s.size();\n+ while (i != size && count != num_code_points) {\n+ if ((data[i] & 0xc0) != 0x80) ++count;\n+ ++i;\n+ }\n+ while (i != size && (data[i] & 0xc0) == 0x80) ++i;\n+ return i;\n+}\n+\n inline char8_t to_char8_t(char c) { return static_cast(c); }\n \n template \n@@ -1728,8 +1765,9 @@ template class basic_writer {\n const format_specs& specs = format_specs()) {\n const Char* data = s.data();\n std::size_t size = s.size();\n- if (specs.precision >= 0 && internal::to_unsigned(specs.precision) < size)\n- size = internal::to_unsigned(specs.precision);\n+ if (specs.precision >= 0 &&\n+ internal::to_unsigned(specs.precision) < internal::count_code_points(s))\n+ size = internal::code_point_length(s, internal::to_unsigned(specs.precision));\n write(data, size, specs);\n }\n \n"} +{"instance_id": "fmtlib__fmt-1407", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/core.h b/include/fmt/core.h\nindex 02a389fa..49f5bab7 100644\n--- a/include/fmt/core.h\n+++ b/include/fmt/core.h\n@@ -916,6 +916,17 @@ using mapped_type_constant =\n type_constant().map(std::declval())),\n typename Context::char_type>;\n \n+template \n+struct is_formattable_impl : std::false_type {};\n+\n+template \n+struct is_formattable_impl<\n+ T, Context,\n+ enable_if_t<\n+ (mapped_type_constant::value != custom_type) ||\n+ has_formatter::value ||\n+ has_fallback_formatter::value>> : std::true_type {};\n+\n enum { packed_arg_bits = 5 };\n // Maximum number of arguments with packed types.\n enum { max_packed_args = 63 / packed_arg_bits };\n@@ -1160,6 +1171,10 @@ using buffer_context =\n using format_context = buffer_context;\n using wformat_context = buffer_context;\n \n+/** Specifies if ``T`` is a formattable type. */\n+template \n+using is_formattable = internal::is_formattable_impl;\n+\n /**\n \\rst\n An array of references to arguments. It can be implicitly converted into\ndiff --git a/test/core-test.cc b/test/core-test.cc\nindex acfd2cd0..a7dc7780 100644\n--- a/test/core-test.cc\n+++ b/test/core-test.cc\n@@ -649,3 +649,34 @@ TEST(FormatterTest, FormatExplicitlyConvertibleToStringLike) {\n EXPECT_EQ(\"foo\", fmt::format(\"{}\", explicitly_convertible_to_string_like()));\n }\n #endif\n+\n+struct not_formattable {};\n+\n+TEST(IsFormattableTest, BasicTypes) {\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+}\n+\n+TEST(IsFormattableTest, CustomFormattableType) {\n+ EXPECT_TRUE(fmt::is_formattable::value);\n+}\n+\n+TEST(IsFormattableTest, NonFormattableType) {\n+ EXPECT_FALSE(fmt::is_formattable::value);\n+}\n+\n+#if FMT_USE_CONSTEXPR\n+TEST(IsFormattableTest, ConstexprContext) {\n+ constexpr bool is_int_formattable = fmt::is_formattable::value;\n+ EXPECT_TRUE(is_int_formattable);\n+ constexpr bool is_not_formattable = !fmt::is_formattable::value;\n+ EXPECT_TRUE(is_not_formattable);\n+}\n+#endif\n"} +{"instance_id": "fmtlib__fmt-1663", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/core.h b/include/fmt/core.h\nindex 2e5a51fe..9f99e691 100644\n--- a/include/fmt/core.h\n+++ b/include/fmt/core.h\n@@ -629,6 +629,7 @@ using wparse_context FMT_DEPRECATED_ALIAS = basic_format_parse_context;\n \n template class basic_format_arg;\n template class basic_format_args;\n+template class dynamic_format_arg_store;\n \n // A formatter for objects of type T.\n template \n@@ -1130,6 +1131,7 @@ template class basic_format_arg {\n -> decltype(vis(0));\n \n friend class basic_format_args;\n+ friend class dynamic_format_arg_store;\n friend class internal::arg_map;\n \n using char_type = typename Context::char_type;\n@@ -1460,6 +1462,8 @@ class dynamic_format_arg_store\n \n // Storage of basic_format_arg must be contiguous.\n std::vector> data_;\n+ // Storage of named argument info, if any named arguments are present.\n+ std::vector> named_info_;\n \n // Storage of arguments not fitting into basic_format_arg must grow\n // without relocation because items in data_ refer to it.\n@@ -1468,13 +1472,29 @@ class dynamic_format_arg_store\n friend class basic_format_args;\n \n unsigned long long get_types() const {\n- return internal::is_unpacked_bit | data_.size();\n+ return internal::is_unpacked_bit |\n+ (named_info_.empty() ? 0 : internal::has_named_args_bit) |\n+ (data_.size() - (named_info_.empty() ? 0 : 1));\n }\n \n template void emplace_arg(const T& arg) {\n data_.emplace_back(internal::make_arg(arg));\n }\n \n+ template \n+ void push_back_named_arg(const internal::named_arg& arg) {\n+ if (named_info_.empty()) {\n+ data_.insert(data_.begin(), basic_format_arg());\n+ }\n+ int arg_index = static_cast(data_.size() - 1);\n+ if (internal::const_check(need_copy::value))\n+ emplace_arg(dynamic_args_.push>(arg.value));\n+ else\n+ emplace_arg(arg.value);\n+ named_info_.push_back({arg.name, arg_index});\n+ data_[0] = basic_format_arg(named_info_.data(), named_info_.size());\n+ }\n+\n public:\n /**\n \\rst\n@@ -1494,15 +1514,17 @@ class dynamic_format_arg_store\n \\endrst\n */\n template void push_back(const T& arg) {\n- static_assert(\n- !std::is_base_of, T>::value,\n- \"named arguments are not supported yet\");\n if (internal::const_check(need_copy::value))\n emplace_arg(dynamic_args_.push>(arg));\n else\n emplace_arg(arg);\n }\n \n+ template \n+ void push_back(const internal::named_arg& arg) {\n+ push_back_named_arg(arg);\n+ }\n+\n /**\n Adds a reference to the argument into the dynamic store for later passing to\n a formating function.\n@@ -1597,7 +1619,10 @@ template class basic_format_args {\n \\endrst\n */\n FMT_INLINE basic_format_args(const dynamic_format_arg_store& store)\n- : basic_format_args(store.get_types(), store.data_.data()) {}\n+ : basic_format_args(\n+ store.get_types(),\n+ store.named_info_.empty() ? store.data_.data()\n+ : store.data_.data() + 1) {}\n \n /**\n \\rst\ndiff --git a/test-file b/test-file\nnew file mode 100644\nindex 00000000..2810a093\n--- /dev/null\n+++ b/test-file\n@@ -0,0 +1 @@\n+Don't panic!\n\\ No newline at end of file\n"} +{"instance_id": "fmtlib__fmt-1837", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h\nindex e70b8053..e89fb4dd 100644\n--- a/include/fmt/chrono.h\n+++ b/include/fmt/chrono.h\n@@ -1118,6 +1118,139 @@ struct formatter, Char> {\n }\n };\n \n+namespace detail {\n+template \n+struct is_system_clock : std::is_same {};\n+\n+template \n+auto format_system_time_point(std::time_t time, FormatContext& ctx,\n+ basic_memory_buffer& tm_format,\n+ const basic_format_specs& specs) ->\n+ typename FormatContext::iterator {\n+ auto tm = fmt::localtime(time);\n+ basic_memory_buffer buf;\n+ size_t start = buf.size();\n+ for (;;) {\n+ size_t size = buf.capacity() - start;\n+ size_t count = detail::strftime(&buf[start], size, &tm_format[0], &tm);\n+ if (count != 0) {\n+ buf.resize(start + count);\n+ break;\n+ }\n+ if (size >= tm_format.size() * 256) break;\n+ const size_t MIN_GROWTH = 10;\n+ buf.reserve(buf.capacity() + (size > MIN_GROWTH ? size : MIN_GROWTH));\n+ }\n+ return detail::write(\n+ ctx.out(), basic_string_view(buf.data(), buf.size()), specs);\n+}\n+\n+template ::value)>\n+auto format_time_point(const std::chrono::time_point& tp,\n+ FormatContext& ctx, basic_memory_buffer& tm_format,\n+ const basic_format_specs& specs) ->\n+ typename FormatContext::iterator {\n+ auto time = std::chrono::system_clock::to_time_t(\n+ std::chrono::time_point_cast(tp));\n+ return format_system_time_point(time, ctx, tm_format, specs);\n+}\n+\n+template ::value)>\n+auto format_time_point(const std::chrono::time_point& tp,\n+ FormatContext& ctx, basic_memory_buffer&,\n+ const basic_format_specs&) ->\n+ typename FormatContext::iterator {\n+ auto d = tp.time_since_epoch();\n+ basic_memory_buffer buf;\n+ auto out = std::back_inserter(buf);\n+ out = detail::format_duration_value(out, d.count(), -1);\n+ detail::format_duration_unit(out);\n+ return std::copy(buf.begin(), buf.end(), ctx.out());\n+}\n+} // namespace detail\n+\n+template \n+struct formatter, Char> {\n+ private:\n+ basic_format_specs specs;\n+ using arg_ref_type = detail::arg_ref;\n+ arg_ref_type width_ref;\n+ mutable basic_memory_buffer tm_format;\n+\n+ struct spec_handler {\n+ formatter& f;\n+ basic_format_parse_context& context;\n+\n+ template FMT_CONSTEXPR arg_ref_type make_arg_ref(Id arg_id) {\n+ context.check_arg_id(arg_id);\n+ return arg_ref_type(arg_id);\n+ }\n+\n+ FMT_CONSTEXPR arg_ref_type make_arg_ref(basic_string_view arg_id) {\n+ context.check_arg_id(arg_id);\n+ return arg_ref_type(arg_id);\n+ }\n+\n+ FMT_CONSTEXPR arg_ref_type make_arg_ref(detail::auto_id) {\n+ return arg_ref_type(context.next_arg_id());\n+ }\n+\n+ void on_error(const char* msg) { FMT_THROW(format_error(msg)); }\n+ void on_fill(basic_string_view fill) { f.specs.fill = fill; }\n+ void on_align(align_t align) { f.specs.align = align; }\n+ void on_width(int width) { f.specs.width = width; }\n+\n+ template void on_dynamic_width(Id arg_id) {\n+ f.width_ref = make_arg_ref(arg_id);\n+ }\n+ };\n+\n+ public:\n+ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n+ -> decltype(ctx.begin()) {\n+ auto begin = ctx.begin(), end = ctx.end();\n+ if (begin == end || *begin == '}') {\n+ tm_format.push_back('\\0');\n+ return begin;\n+ }\n+ spec_handler handler{*this, ctx};\n+ begin = detail::parse_align(begin, end, handler);\n+ if (begin == end) {\n+ tm_format.push_back('\\0');\n+ return begin;\n+ }\n+ begin = detail::parse_width(begin, end, handler);\n+ if (begin == end || *begin == '}') {\n+ tm_format.push_back('\\0');\n+ return begin;\n+ }\n+ // Collect the chrono format string (everything until }).\n+ auto fmt_end = begin;\n+ while (fmt_end != end && *fmt_end != '}') ++fmt_end;\n+ tm_format.reserve(detail::to_unsigned(fmt_end - begin + 1));\n+ tm_format.append(begin, fmt_end);\n+ tm_format.push_back('\\0');\n+ return fmt_end;\n+ }\n+\n+ template \n+ auto format(const std::chrono::time_point& tp,\n+ FormatContext& ctx) -> decltype(ctx.out()) {\n+ detail::handle_dynamic_spec(specs.width, width_ref,\n+ ctx);\n+ if (detail::is_system_clock::value &&\n+ tm_format.size() == 1 && tm_format[0] == '\\0') {\n+ tm_format.resize(0);\n+ tm_format.push_back('%');\n+ tm_format.push_back('c');\n+ tm_format.push_back('\\0');\n+ }\n+ return detail::format_time_point(tp, ctx, tm_format, specs);\n+ }\n+};\n+\n FMT_END_NAMESPACE\n \n #endif // FMT_CHRONO_H_\n"} +{"instance_id": "fmtlib__fmt-2070", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/color.h b/include/fmt/color.h\nindex 42008f51..ff837dca 100644\n--- a/include/fmt/color.h\n+++ b/include/fmt/color.h\n@@ -618,6 +618,24 @@ inline auto format_to(OutputIt out, const text_style& ts, const S& format_str,\n fmt::make_args_checked(format_str, args...));\n }\n \n+template ,\n+ FMT_ENABLE_IF(detail::is_string::value)>\n+inline void vformat_to(\n+ detail::buffer& buf, const text_style& ts, const S& format_str,\n+ basic_format_args>> args) {\n+ detail::vformat_to(buf, ts, to_string_view(format_str), args);\n+}\n+\n+template ::value, char_t>>\n+inline typename buffer_context::iterator format_to(\n+ basic_memory_buffer& buf, const text_style& ts,\n+ const S& format_str, Args&&... args) {\n+ detail::vformat_to(buf, ts, to_string_view(format_str),\n+ fmt::make_args_checked(format_str, args...));\n+ return detail::buffer_appender(buf);\n+}\n+\n FMT_END_NAMESPACE\n \n #endif // FMT_COLOR_H_\ndiff --git a/include/fmt/format.h b/include/fmt/format.h\nindex e8fe34c1..7e83e500 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -3894,7 +3894,8 @@ inline void vformat_to(\n }\n \n template ::value, char_t>>\n+ typename Char = char_t,\n+ FMT_ENABLE_IF(detail::is_string::value)>\n inline typename buffer_context::iterator format_to(\n basic_memory_buffer& buf, const S& format_str, Args&&... args) {\n const auto& vargs = fmt::make_args_checked(format_str, args...);\n"} +{"instance_id": "fmtlib__fmt-2158", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 44c2a3b4..5457332d 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -471,13 +471,15 @@ template class truncating_iterator_base {\n size_t limit_;\n size_t count_;\n \n+ truncating_iterator_base() : out_(), limit_(0), count_(0) {}\n+\n truncating_iterator_base(OutputIt out, size_t limit)\n : out_(out), limit_(limit), count_(0) {}\n \n public:\n using iterator_category = std::output_iterator_tag;\n using value_type = typename std::iterator_traits::value_type;\n- using difference_type = void;\n+ using difference_type = std::ptrdiff_t;\n using pointer = void;\n using reference = void;\n using _Unchecked_type =\n@@ -502,6 +504,8 @@ class truncating_iterator\n public:\n using value_type = typename truncating_iterator_base::value_type;\n \n+ truncating_iterator() : truncating_iterator_base(), blackhole_() {}\n+\n truncating_iterator(OutputIt out, size_t limit)\n : truncating_iterator_base(out, limit) {}\n \n@@ -525,6 +529,8 @@ template \n class truncating_iterator\n : public truncating_iterator_base {\n public:\n+ truncating_iterator() : truncating_iterator_base() {}\n+\n truncating_iterator(OutputIt out, size_t limit)\n : truncating_iterator_base(out, limit) {}\n \n"} +{"instance_id": "fmtlib__fmt-2292", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h\nindex e26e5190..d8e80a6e 100644\n--- a/include/fmt/chrono.h\n+++ b/include/fmt/chrono.h\n@@ -407,14 +407,7 @@ FMT_END_DETAIL_NAMESPACE\n \n template \n struct formatter,\n- Char> : formatter {\n- template \n- auto format(std::chrono::time_point val,\n- FormatContext& ctx) -> decltype(ctx.out()) {\n- std::tm time = localtime(val);\n- return formatter::format(time, ctx);\n- }\n-};\n+ Char>;\n \n template struct formatter {\n template \n@@ -576,6 +569,39 @@ FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin,\n case 'B':\n handler.on_full_month();\n break;\n+ case 'm':\n+ handler.on_month(numeric_system::standard);\n+ break;\n+ // Day of the month/year:\n+ case 'd':\n+ handler.on_day_of_month(numeric_system::standard);\n+ break;\n+ case 'e':\n+ handler.on_day_of_month_space(numeric_system::standard);\n+ break;\n+ case 'j':\n+ handler.on_day_of_year();\n+ break;\n+ // Year:\n+ case 'Y':\n+ handler.on_year(numeric_system::standard);\n+ break;\n+ case 'y':\n+ handler.on_short_year(numeric_system::standard);\n+ break;\n+ case 'C':\n+ handler.on_century(numeric_system::standard);\n+ break;\n+ // Week of the year:\n+ case 'U':\n+ handler.on_dec0_week_of_year(numeric_system::standard);\n+ break;\n+ case 'V':\n+ handler.on_iso_week_of_year(numeric_system::standard);\n+ break;\n+ case 'W':\n+ handler.on_dec1_week_of_year(numeric_system::standard);\n+ break;\n // Hour, minute, second:\n case 'H':\n handler.on_24_hour(numeric_system::standard);\n@@ -643,6 +669,15 @@ FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin,\n case 'X':\n handler.on_loc_time(numeric_system::alternative);\n break;\n+ case 'Y':\n+ handler.on_year(numeric_system::alternative);\n+ break;\n+ case 'y':\n+ handler.on_short_year(numeric_system::alternative);\n+ break;\n+ case 'C':\n+ handler.on_century(numeric_system::alternative);\n+ break;\n default:\n FMT_THROW(format_error(\"invalid format\"));\n }\n@@ -670,6 +705,33 @@ FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin,\n case 'S':\n handler.on_second(numeric_system::alternative);\n break;\n+ case 'm':\n+ handler.on_month(numeric_system::alternative);\n+ break;\n+ case 'd':\n+ handler.on_day_of_month(numeric_system::alternative);\n+ break;\n+ case 'e':\n+ handler.on_day_of_month_space(numeric_system::alternative);\n+ break;\n+ case 'Y':\n+ handler.on_year(numeric_system::alternative);\n+ break;\n+ case 'y':\n+ handler.on_short_year(numeric_system::alternative);\n+ break;\n+ case 'C':\n+ handler.on_century(numeric_system::alternative);\n+ break;\n+ case 'U':\n+ handler.on_dec0_week_of_year(numeric_system::alternative);\n+ break;\n+ case 'V':\n+ handler.on_iso_week_of_year(numeric_system::alternative);\n+ break;\n+ case 'W':\n+ handler.on_dec1_week_of_year(numeric_system::alternative);\n+ break;\n default:\n FMT_THROW(format_error(\"invalid format\"));\n }\n@@ -694,6 +756,16 @@ struct chrono_format_checker {\n FMT_NORETURN void on_dec1_weekday(numeric_system) { report_no_date(); }\n FMT_NORETURN void on_abbr_month() { report_no_date(); }\n FMT_NORETURN void on_full_month() { report_no_date(); }\n+ FMT_NORETURN void on_month(numeric_system) { report_no_date(); }\n+ FMT_NORETURN void on_day_of_month(numeric_system) { report_no_date(); }\n+ FMT_NORETURN void on_day_of_month_space(numeric_system) { report_no_date(); }\n+ FMT_NORETURN void on_day_of_year() { report_no_date(); }\n+ FMT_NORETURN void on_year(numeric_system) { report_no_date(); }\n+ FMT_NORETURN void on_short_year(numeric_system) { report_no_date(); }\n+ FMT_NORETURN void on_century(numeric_system) { report_no_date(); }\n+ FMT_NORETURN void on_dec0_week_of_year(numeric_system) { report_no_date(); }\n+ FMT_NORETURN void on_iso_week_of_year(numeric_system) { report_no_date(); }\n+ FMT_NORETURN void on_dec1_week_of_year(numeric_system) { report_no_date(); }\n FMT_CONSTEXPR void on_24_hour(numeric_system) {}\n FMT_CONSTEXPR void on_12_hour(numeric_system) {}\n FMT_CONSTEXPR void on_minute(numeric_system) {}\n@@ -978,6 +1050,16 @@ struct chrono_formatter {\n void on_dec1_weekday(numeric_system) {}\n void on_abbr_month() {}\n void on_full_month() {}\n+ void on_month(numeric_system) {}\n+ void on_day_of_month(numeric_system) {}\n+ void on_day_of_month_space(numeric_system) {}\n+ void on_day_of_year() {}\n+ void on_year(numeric_system) {}\n+ void on_short_year(numeric_system) {}\n+ void on_century(numeric_system) {}\n+ void on_dec0_week_of_year(numeric_system) {}\n+ void on_iso_week_of_year(numeric_system) {}\n+ void on_dec1_week_of_year(numeric_system) {}\n void on_datetime(numeric_system) {}\n void on_loc_date(numeric_system) {}\n void on_loc_time(numeric_system) {}\n@@ -1058,8 +1140,7 @@ struct chrono_formatter {\n void on_iso_time() {\n on_24_hour_time();\n *out++ = ':';\n- if (handle_nan_inf()) return;\n- write(second(), 2);\n+ on_second(numeric_system::standard);\n }\n \n void on_am_pm() {\n@@ -1078,8 +1159,244 @@ struct chrono_formatter {\n }\n };\n \n+template \n+struct time_point_formatter {\n+ FormatContext& context;\n+ OutputIt out;\n+ std::tm tm_;\n+ Duration subsec_;\n+\n+ using char_type = typename FormatContext::char_type;\n+\n+ time_point_formatter(FormatContext& ctx, OutputIt o, std::tm time,\n+ Duration subsec)\n+ : context(ctx), out(o), tm_(time), subsec_(subsec) {}\n+\n+ void write(int value, int width) {\n+ uint32_or_64_or_128_t n = to_unsigned(value);\n+ int num_digits = detail::count_digits(n);\n+ if (width > num_digits) out = std::fill_n(out, width - num_digits, '0');\n+ out = format_decimal(out, n, num_digits).end;\n+ }\n+\n+ void format_localized(char format, char modifier = 0) {\n+ auto locale = std::locale::classic();\n+ auto& facet = std::use_facet>(locale);\n+ std::basic_ostringstream os;\n+ os.imbue(locale);\n+ facet.put(os, os, ' ', &tm_, format, modifier);\n+ auto str = os.str();\n+ std::copy(str.begin(), str.end(), out);\n+ }\n+\n+ void on_text(const char_type* begin, const char_type* end) {\n+ std::copy(begin, end, out);\n+ }\n+\n+ void on_abbr_weekday() { format_localized('a'); }\n+ void on_full_weekday() { format_localized('A'); }\n+ void on_dec0_weekday(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write(tm_.tm_wday, 1);\n+ format_localized('w', 'O');\n+ }\n+ void on_dec1_weekday(numeric_system ns) {\n+ if (ns == numeric_system::standard) {\n+ write(tm_.tm_wday == 0 ? 7 : tm_.tm_wday, 1);\n+ return;\n+ }\n+ format_localized('u', 'O');\n+ }\n+ void on_abbr_month() { format_localized('b'); }\n+ void on_full_month() { format_localized('B'); }\n+ void on_month(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write(tm_.tm_mon + 1, 2);\n+ format_localized('m', 'O');\n+ }\n+ void on_day_of_month(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write(tm_.tm_mday, 2);\n+ format_localized('d', 'O');\n+ }\n+ void on_day_of_month_space(numeric_system ns) {\n+ if (ns == numeric_system::standard) {\n+ if (tm_.tm_mday < 10) *out++ = ' ';\n+ write(tm_.tm_mday, 1);\n+ return;\n+ }\n+ format_localized('e', 'O');\n+ }\n+ void on_day_of_year() { write(tm_.tm_yday + 1, 3); }\n+ void on_year(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write(tm_.tm_year + 1900, 4);\n+ format_localized('Y', 'E');\n+ }\n+ void on_short_year(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write(tm_.tm_year % 100, 2);\n+ format_localized('y', 'O');\n+ }\n+ void on_century(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write((tm_.tm_year + 1900) / 100, 2);\n+ format_localized('C', 'E');\n+ }\n+ void on_dec0_week_of_year(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write((tm_.tm_yday - tm_.tm_wday + 7) / 7, 2);\n+ format_localized('U', 'O');\n+ }\n+ void on_iso_week_of_year(numeric_system ns) {\n+ if (ns == numeric_system::standard) {\n+ // ISO week calculation\n+ int doy = tm_.tm_yday + 1;\n+ int wday = tm_.tm_wday == 0 ? 7 : tm_.tm_wday;\n+ int week = (doy - wday + 10) / 7;\n+ if (week < 1) week = 1;\n+ if (week > 52) {\n+ int next_year_doy = 365 + ((tm_.tm_year + 1900) % 4 == 0 ? 1 : 0);\n+ int next_wday = wday + (next_year_doy - doy) % 7;\n+ if (next_wday > 7) next_wday -= 7;\n+ if (next_wday <= 4) week = 1;\n+ }\n+ write(week, 2);\n+ return;\n+ }\n+ format_localized('V', 'O');\n+ }\n+ void on_dec1_week_of_year(numeric_system ns) {\n+ if (ns == numeric_system::standard) {\n+ int wday = tm_.tm_wday == 0 ? 6 : tm_.tm_wday - 1;\n+ write((tm_.tm_yday - wday + 7) / 7, 2);\n+ return;\n+ }\n+ format_localized('W', 'O');\n+ }\n+ void on_24_hour(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write(tm_.tm_hour, 2);\n+ format_localized('H', 'O');\n+ }\n+ void on_12_hour(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write(tm_.tm_hour % 12 ? tm_.tm_hour % 12 : 12, 2);\n+ format_localized('I', 'O');\n+ }\n+ void on_minute(numeric_system ns) {\n+ if (ns == numeric_system::standard) return write(tm_.tm_min, 2);\n+ format_localized('M', 'O');\n+ }\n+ void on_second(numeric_system ns) {\n+ if (ns == numeric_system::standard) {\n+ write(tm_.tm_sec, 2);\n+ if (subsec_ != Duration::zero()) {\n+ *out++ = '.';\n+ using period = typename Duration::period;\n+ constexpr int num_fractional_digits =\n+ period::den == 1 ? 0\n+ : period::den == 10 ? 1\n+ : period::den == 100 ? 2\n+ : period::den == 1000 ? 3\n+ : period::den == 10000 ? 4\n+ : period::den == 100000 ? 5\n+ : period::den == 1000000 ? 6\n+ : period::den == 10000000 ? 7\n+ : period::den == 100000000 ? 8\n+ : period::den == 1000000000 ? 9\n+ : -1;\n+ if (num_fractional_digits > 0) {\n+ auto subsec_count = subsec_.count();\n+ if (subsec_count < 0) subsec_count = -subsec_count;\n+ write(static_cast(subsec_count), num_fractional_digits);\n+ } else {\n+ auto ms = get_milliseconds(subsec_);\n+ if (ms != std::chrono::milliseconds(0)) {\n+ write(static_cast(ms.count()), 3);\n+ }\n+ }\n+ }\n+ return;\n+ }\n+ format_localized('S', 'O');\n+ }\n+ void on_datetime(numeric_system ns) {\n+ if (ns == numeric_system::standard) return format_localized('c');\n+ format_localized('c', 'E');\n+ }\n+ void on_loc_date(numeric_system ns) {\n+ if (ns == numeric_system::standard) return format_localized('x');\n+ format_localized('x', 'E');\n+ }\n+ void on_loc_time(numeric_system ns) {\n+ if (ns == numeric_system::standard) return format_localized('X');\n+ format_localized('X', 'E');\n+ }\n+ void on_us_date() {\n+ write(tm_.tm_mon + 1, 2);\n+ *out++ = '/';\n+ write(tm_.tm_mday, 2);\n+ *out++ = '/';\n+ write(tm_.tm_year % 100, 2);\n+ }\n+ void on_iso_date() {\n+ write(tm_.tm_year + 1900, 4);\n+ *out++ = '-';\n+ write(tm_.tm_mon + 1, 2);\n+ *out++ = '-';\n+ write(tm_.tm_mday, 2);\n+ }\n+ void on_12_hour_time() { format_localized('r'); }\n+ void on_24_hour_time() {\n+ write(tm_.tm_hour, 2);\n+ *out++ = ':';\n+ write(tm_.tm_min, 2);\n+ }\n+ void on_iso_time() {\n+ on_24_hour_time();\n+ *out++ = ':';\n+ on_second(numeric_system::standard);\n+ }\n+ void on_am_pm() { format_localized('p'); }\n+ void on_utc_offset() { format_localized('z'); }\n+ void on_tz_name() { format_localized('Z'); }\n+ void on_duration_value() {}\n+ void on_duration_unit() {}\n+};\n+\n FMT_END_DETAIL_NAMESPACE\n \n+template \n+struct formatter,\n+ Char> {\n+ basic_format_specs specs;\n+ basic_string_view format_str;\n+\n+ template \n+ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {\n+ auto it = ctx.begin();\n+ if (it != ctx.end() && *it == ':') ++it;\n+ auto end = it;\n+ while (end != ctx.end() && *end != '}') ++end;\n+ format_str = {it, detail::to_unsigned(end - it)};\n+ return end;\n+ }\n+\n+ template \n+ auto format(std::chrono::time_point val,\n+ FormatContext& ctx) const -> decltype(ctx.out()) {\n+ auto specs_copy = specs;\n+ std::tm time = localtime(val);\n+ using period = typename Duration::period;\n+ auto subsec = std::chrono::duration_cast<\n+ std::chrono::duration>(\n+ val.time_since_epoch()) -\n+ std::chrono::duration_cast(\n+ val.time_since_epoch());\n+ basic_memory_buffer buf;\n+ auto out = std::back_inserter(buf);\n+ detail::time_point_formatter f(\n+ ctx, out, time, subsec);\n+ detail::parse_chrono_format(format_str.begin(), format_str.end(), f);\n+ return detail::write(ctx.out(),\n+ basic_string_view(buf.data(), buf.size()),\n+ specs_copy);\n+ }\n+};\n+\n template \n struct formatter, Char> {\n private:\n"} +{"instance_id": "fmtlib__fmt-2310", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 6df5d849..4556e6d3 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -1591,7 +1591,14 @@ OutputIt write_nonfinite(OutputIt out, bool isinf,\n constexpr size_t str_size = 3;\n auto sign = fspecs.sign;\n auto size = str_size + (sign ? 1 : 0);\n- return write_padded(out, specs, size, [=](reserve_iterator it) {\n+ auto s = specs;\n+ // Zero-padding has no effect on inf/nan; use right-aligned space padding.\n+ if (s.align == align::numeric) {\n+ s.align = align::right;\n+ auto fill_c = static_cast(' ');\n+ s.fill = basic_string_view(&fill_c, 1);\n+ }\n+ return write_padded(out, s, size, [=](reserve_iterator it) {\n if (sign) *it++ = static_cast(data::signs[sign]);\n return copy_str(str, str + str_size, it);\n });\n"} +{"instance_id": "fmtlib__fmt-2317", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 4dc9e097..811c479c 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -1797,7 +1797,11 @@ OutputIt write(OutputIt out, T value, basic_format_specs specs,\n if (fspecs.format == float_format::hex) {\n if (fspecs.sign) buffer.push_back(data::signs[fspecs.sign]);\n snprintf_float(promote_float(value), specs.precision, fspecs, buffer);\n- return write_bytes(out, {buffer.data(), buffer.size()}, specs);\n+ return write_padded(out, specs, buffer.size(),\n+ [&](reserve_iterator it) {\n+ return copy_str(buffer.data(),\n+ buffer.data() + buffer.size(), it);\n+ });\n }\n int precision = specs.precision >= 0 || !specs.type ? specs.precision : 6;\n if (fspecs.format == float_format::exp) {\n"} +{"instance_id": "fmtlib__fmt-2394", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/color.h b/include/fmt/color.h\nindex 3d5490e8..a7c08ae3 100644\n--- a/include/fmt/color.h\n+++ b/include/fmt/color.h\n@@ -185,9 +185,17 @@ enum class terminal_color : uint8_t {\n \n enum class emphasis : uint8_t {\n bold = 1,\n- italic = 1 << 1,\n- underline = 1 << 2,\n- strikethrough = 1 << 3\n+ faint = 1 << 1,\n+ dim = faint,\n+ italic = 1 << 2,\n+ underline = 1 << 3,\n+ blink = 1 << 4,\n+ slow_blink = blink,\n+ reverse = 1 << 5,\n+ invert = reverse,\n+ conceal = 1 << 6,\n+ hide = conceal,\n+ strikethrough = 1 << 7\n };\n \n // rgb is a struct for red, green and blue colors.\n@@ -409,16 +417,19 @@ template struct ansi_color_escape {\n buffer[19] = static_cast(0);\n }\n FMT_CONSTEXPR ansi_color_escape(emphasis em) FMT_NOEXCEPT {\n- uint8_t em_codes[4] = {};\n+ uint8_t em_codes[8] = {};\n uint8_t em_bits = static_cast(em);\n if (em_bits & static_cast(emphasis::bold)) em_codes[0] = 1;\n- if (em_bits & static_cast(emphasis::italic)) em_codes[1] = 3;\n- if (em_bits & static_cast(emphasis::underline)) em_codes[2] = 4;\n- if (em_bits & static_cast(emphasis::strikethrough))\n- em_codes[3] = 9;\n+ if (em_bits & static_cast(emphasis::faint)) em_codes[1] = 2;\n+ if (em_bits & static_cast(emphasis::italic)) em_codes[2] = 3;\n+ if (em_bits & static_cast(emphasis::underline)) em_codes[3] = 4;\n+ if (em_bits & static_cast(emphasis::blink)) em_codes[4] = 5;\n+ if (em_bits & static_cast(emphasis::reverse)) em_codes[5] = 7;\n+ if (em_bits & static_cast(emphasis::conceal)) em_codes[6] = 8;\n+ if (em_bits & static_cast(emphasis::strikethrough)) em_codes[7] = 9;\n \n size_t index = 0;\n- for (int i = 0; i < 4; ++i) {\n+ for (int i = 0; i < 8; ++i) {\n if (!em_codes[i]) continue;\n buffer[index++] = static_cast('\\x1b');\n buffer[index++] = static_cast('[');\n@@ -435,7 +446,7 @@ template struct ansi_color_escape {\n }\n \n private:\n- Char buffer[7u + 3u * 4u + 1u];\n+ Char buffer[7u + 3u * 8u + 1u];\n \n static FMT_CONSTEXPR void to_esc(uint8_t c, Char* out,\n char delimiter) FMT_NOEXCEPT {\n"} +{"instance_id": "fmtlib__fmt-2610", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/core.h b/include/fmt/core.h\nindex bb56da7f..99f3fab8 100644\n--- a/include/fmt/core.h\n+++ b/include/fmt/core.h\n@@ -1368,6 +1368,16 @@ template struct arg_mapper {\n return val;\n }\n \n+ template ::value ||\n+ (std::is_pointer::value &&\n+ std::is_function::type>::value) ||\n+ std::is_member_pointer::value)>\n+ FMT_CONSTEXPR auto map(const T&) -> unformattable_pointer {\n+ return {};\n+ }\n+\n // We use SFINAE instead of a const T* parameter to avoid conflicting with\n // the C array overload.\n template <\n"} +{"instance_id": "fmtlib__fmt-2940", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h\nindex a1fc80d2..9383040a 100644\n--- a/include/fmt/ranges.h\n+++ b/include/fmt/ranges.h\n@@ -202,6 +202,30 @@ template \n using make_index_sequence = make_integer_sequence;\n #endif\n \n+template \n+struct is_tuple_formattable_impl_;\n+\n+template \n+struct is_tuple_formattable_impl_<0, Tuple, Char> : std::true_type {};\n+\n+template \n+struct is_tuple_formattable_impl_\n+ : std::integral_constant<\n+ bool,\n+ is_formattable<\n+ typename std::tuple_element::type,\n+ Char>::value &&\n+ is_tuple_formattable_impl_::value> {};\n+\n+template \n+struct is_tuple_formattable_ : std::false_type {};\n+\n+template \n+struct is_tuple_formattable_<\n+ T, Char,\n+ void_t::value)>>\n+ : is_tuple_formattable_impl_::value, T, Char> {};\n+\n template \n void for_each(index_sequence, Tuple&& tup, F&& f) noexcept {\n using std::get;\n@@ -284,7 +308,13 @@ template struct is_tuple_like {\n };\n \n template \n-struct formatter::value>> {\n+struct formatter<\n+ TupleT, Char,\n+ enable_if_t::value\n+#if !FMT_MSC_VERSION\n+ && detail::is_tuple_formattable_::value\n+#endif\n+ >> {\n private:\n // C++11 generic lambda for format().\n template struct format_each {\n"} +{"instance_id": "fmtlib__fmt-3158", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/core.h b/include/fmt/core.h\nindex 5f44a974..3dffc7f1 100644\n--- a/include/fmt/core.h\n+++ b/include/fmt/core.h\n@@ -1360,6 +1360,14 @@ template struct has_format_as {\n enum { value = decltype(check(static_cast(nullptr)))::value };\n };\n \n+template struct is_range_like_ {\n+ template \n+ static auto check(U*) -> decltype(std::declval().begin(),\n+ std::declval().end(), std::true_type());\n+ static auto check(...) -> std::false_type;\n+ enum { value = decltype(check(static_cast(nullptr)))::value };\n+};\n+\n // Maps formatting arguments to core types.\n // arg_mapper reports errors by returning unformattable instead of using\n // static_assert because it's used in the is_formattable trait.\n@@ -1448,7 +1456,8 @@ template struct arg_mapper {\n FMT_ENABLE_IF(\n std::is_convertible>::value &&\n !std::is_convertible>::value &&\n- !is_string::value && !has_formatter::value &&\n+ !is_string::value && !is_range_like_::value &&\n+ !has_formatter::value &&\n !has_fallback_formatter::value)>\n FMT_CONSTEXPR FMT_INLINE auto map(const T& val)\n -> basic_string_view {\ndiff --git a/include/fmt/ranges.h b/include/fmt/ranges.h\nindex 2105a668..2e2befe7 100644\n--- a/include/fmt/ranges.h\n+++ b/include/fmt/ranges.h\n@@ -47,49 +47,6 @@ OutputIterator copy(wchar_t ch, OutputIterator out) {\n return out;\n }\n \n-// Returns true if T has a std::string-like interface, like std::string_view.\n-template class is_std_string_like {\n- template \n- static auto check(U* p)\n- -> decltype((void)p->find('a'), p->length(), (void)p->data(), int());\n- template static void check(...);\n-\n- public:\n- static constexpr const bool value =\n- is_string::value ||\n- std::is_convertible>::value ||\n- !std::is_void(nullptr))>::value;\n-};\n-\n-template \n-struct is_std_string_like> : std::true_type {};\n-\n-template class is_map {\n- template static auto check(U*) -> typename U::mapped_type;\n- template static void check(...);\n-\n- public:\n-#ifdef FMT_FORMAT_MAP_AS_LIST\n- static constexpr const bool value = false;\n-#else\n- static constexpr const bool value =\n- !std::is_void(nullptr))>::value;\n-#endif\n-};\n-\n-template class is_set {\n- template static auto check(U*) -> typename U::key_type;\n- template static void check(...);\n-\n- public:\n-#ifdef FMT_FORMAT_SET_AS_LIST\n- static constexpr const bool value = false;\n-#else\n- static constexpr const bool value =\n- !std::is_void(nullptr))>::value && !is_map::value;\n-#endif\n-};\n-\n template struct conditional_helper {};\n \n template struct is_range_ : std::false_type {};\n@@ -167,6 +124,50 @@ struct is_range_\n # undef FMT_DECLTYPE_RETURN\n #endif\n \n+// Returns true if T has a std::string-like interface, like std::string_view.\n+template class is_std_string_like {\n+ template \n+ static auto check(U* p)\n+ -> decltype((void)p->find('a'), p->length(), (void)p->data(), int());\n+ template static void check(...);\n+\n+ public:\n+ static constexpr const bool value =\n+ is_string::value ||\n+ (std::is_convertible>::value &&\n+ !is_range_::value) ||\n+ !std::is_void(nullptr))>::value;\n+};\n+\n+template \n+struct is_std_string_like> : std::true_type {};\n+\n+template class is_map {\n+ template static auto check(U*) -> typename U::mapped_type;\n+ template static void check(...);\n+\n+ public:\n+#ifdef FMT_FORMAT_MAP_AS_LIST\n+ static constexpr const bool value = false;\n+#else\n+ static constexpr const bool value =\n+ !std::is_void(nullptr))>::value;\n+#endif\n+};\n+\n+template class is_set {\n+ template static auto check(U*) -> typename U::key_type;\n+ template static void check(...);\n+\n+ public:\n+#ifdef FMT_FORMAT_SET_AS_LIST\n+ static constexpr const bool value = false;\n+#else\n+ static constexpr const bool value =\n+ !std::is_void(nullptr))>::value && !is_map::value;\n+#endif\n+};\n+\n // tuple_size and tuple_element check.\n template class is_tuple_like_ {\n template \n@@ -289,7 +290,8 @@ auto write_range_entry(OutputIt out, basic_string_view str) -> OutputIt {\n }\n \n template >::value)>\n+ FMT_ENABLE_IF(std::is_convertible>::value &&\n+ !is_range_::value)>\n inline auto write_range_entry(OutputIt out, const T& str) -> OutputIt {\n auto sv = std_string_view(str);\n return write_range_entry(out, basic_string_view(sv));\n@@ -469,6 +471,10 @@ struct range_formatter<\n closing_bracket_ = close;\n }\n \n+ FMT_CONSTEXPR void set_debug_format() {\n+ maybe_set_debug_format(underlying_, 0);\n+ }\n+\n template \n FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {\n auto it = ctx.begin();\n@@ -559,6 +565,8 @@ struct range_default_formatter<\n \n FMT_CONSTEXPR void init(range_format_constant) {}\n \n+ FMT_CONSTEXPR void set_debug_format() { underlying_.set_debug_format(); }\n+\n template \n FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {\n return underlying_.parse(ctx);\n"} +{"instance_id": "fmtlib__fmt-3248", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/core.h b/include/fmt/core.h\nindex 5d13cc6f..90a5bbda 100644\n--- a/include/fmt/core.h\n+++ b/include/fmt/core.h\n@@ -2226,8 +2226,10 @@ template class specs_setter {\n FMT_CONSTEXPR void on_localized() { specs_.localized = true; }\n \n FMT_CONSTEXPR void on_zero() {\n- if (specs_.align == align::none) specs_.align = align::numeric;\n- specs_.fill[0] = Char('0');\n+ if (specs_.align == align::none) {\n+ specs_.align = align::numeric;\n+ specs_.fill[0] = Char('0');\n+ }\n }\n \n FMT_CONSTEXPR void on_width(int width) { specs_.width = width; }\n"} +{"instance_id": "fmtlib__fmt-3260", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h\nindex 64ebdabe..ad293e6b 100644\n--- a/include/fmt/chrono.h\n+++ b/include/fmt/chrono.h\n@@ -2197,6 +2197,9 @@ template struct formatter {\n };\n spec spec_ = spec::unknown;\n basic_string_view specs;\n+ format_specs parsed_specs_;\n+ using arg_ref_type = detail::arg_ref;\n+ arg_ref_type width_ref_;\n \n protected:\n template FMT_CONSTEXPR auto do_parse(It begin, It end) -> It {\n@@ -2212,21 +2215,39 @@ template struct formatter {\n const Duration* subsecs) const -> decltype(ctx.out()) {\n const auto loc_ref = ctx.locale();\n detail::get_locale loc(static_cast(loc_ref), loc_ref);\n- auto w = detail::tm_writer(\n- loc, ctx.out(), tm, subsecs);\n+ auto specs_copy = parsed_specs_;\n+ detail::handle_dynamic_spec(specs_copy.width,\n+ width_ref_, ctx);\n+ basic_memory_buffer buf;\n+ auto out = std::back_inserter(buf);\n+ auto w = detail::tm_writer(loc, out, tm,\n+ subsecs);\n if (spec_ == spec::year_month_day)\n w.on_iso_date();\n else if (spec_ == spec::hh_mm_ss)\n w.on_iso_time();\n else\n detail::parse_chrono_format(specs.begin(), specs.end(), w);\n- return w.out();\n+ return detail::write(\n+ ctx.out(), basic_string_view(buf.data(), buf.size()), specs_copy);\n }\n \n public:\n FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n -> decltype(ctx.begin()) {\n- auto end = this->do_parse(ctx.begin(), ctx.end());\n+ auto begin = ctx.begin(), end = ctx.end();\n+ if (begin != end && *begin == ':') ++begin;\n+ if (begin != end) {\n+ begin = detail::parse_align(begin, end, parsed_specs_);\n+ if (begin != end) {\n+ begin = detail::parse_dynamic_spec(begin, end, parsed_specs_.width,\n+ width_ref_, ctx);\n+ }\n+ }\n+ auto chrono_end =\n+ detail::parse_chrono_format(begin, end, detail::tm_format_checker());\n+ if (chrono_end != begin)\n+ specs = {begin, detail::to_unsigned(chrono_end - begin)};\n // basic_string_view<>::compare isn't constexpr before C++17.\n if (specs.size() == 2 && specs[0] == Char('%')) {\n if (specs[1] == Char('F'))\n@@ -2234,7 +2255,7 @@ template struct formatter {\n else if (specs[1] == Char('T'))\n spec_ = spec::hh_mm_ss;\n }\n- return end;\n+ return chrono_end;\n }\n \n template \n"} +{"instance_id": "fmtlib__fmt-3271", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h\nindex b48b0d98..f3e84629 100644\n--- a/include/fmt/chrono.h\n+++ b/include/fmt/chrono.h\n@@ -664,6 +664,13 @@ enum class numeric_system {\n alternative\n };\n \n+enum class pad_type {\n+ // Pad with zeros (default).\n+ zero,\n+ // No padding.\n+ none\n+};\n+\n // Parses a put_time-like format string and invokes handler actions.\n template \n FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin,\n@@ -890,6 +897,62 @@ FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin,\n FMT_THROW(format_error(\"invalid format\"));\n }\n break;\n+ case '-':\n+ if (ptr == end) FMT_THROW(format_error(\"invalid format\"));\n+ c = *ptr++;\n+ switch (c) {\n+ case 'd':\n+ handler.on_day_of_month(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'e':\n+ handler.on_day_of_month_space(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'H':\n+ handler.on_24_hour(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'I':\n+ handler.on_12_hour(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'm':\n+ handler.on_dec_month(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'M':\n+ handler.on_minute(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'S':\n+ handler.on_second(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'U':\n+ handler.on_dec0_week_of_year(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'W':\n+ handler.on_dec1_week_of_year(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'V':\n+ handler.on_iso_week_of_year(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'y':\n+ handler.on_short_year(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'C':\n+ handler.on_century(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'j':\n+ handler.on_day_of_year(pad_type::none);\n+ break;\n+ case 'w':\n+ handler.on_dec0_weekday(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'u':\n+ handler.on_dec1_weekday(numeric_system::standard, pad_type::none);\n+ break;\n+ case 'z':\n+ handler.on_utc_offset(numeric_system::standard, pad_type::none);\n+ break;\n+ default:\n+ FMT_THROW(format_error(\"invalid format\"));\n+ }\n+ break;\n default:\n FMT_THROW(format_error(\"invalid format\"));\n }\n@@ -904,28 +967,61 @@ template struct null_chrono_spec_handler {\n static_cast(this)->unsupported();\n }\n FMT_CONSTEXPR void on_year(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_short_year(numeric_system) { unsupported(); }\n+ FMT_CONSTEXPR void on_short_year(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n FMT_CONSTEXPR void on_offset_year() { unsupported(); }\n- FMT_CONSTEXPR void on_century(numeric_system) { unsupported(); }\n+ FMT_CONSTEXPR void on_century(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n FMT_CONSTEXPR void on_iso_week_based_year() { unsupported(); }\n FMT_CONSTEXPR void on_iso_week_based_short_year() { unsupported(); }\n FMT_CONSTEXPR void on_abbr_weekday() { unsupported(); }\n FMT_CONSTEXPR void on_full_weekday() { unsupported(); }\n- FMT_CONSTEXPR void on_dec0_weekday(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_dec1_weekday(numeric_system) { unsupported(); }\n+ FMT_CONSTEXPR void on_dec0_weekday(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_dec1_weekday(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n FMT_CONSTEXPR void on_abbr_month() { unsupported(); }\n FMT_CONSTEXPR void on_full_month() { unsupported(); }\n- FMT_CONSTEXPR void on_dec_month(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_iso_week_of_year(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_day_of_year() { unsupported(); }\n- FMT_CONSTEXPR void on_day_of_month(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_day_of_month_space(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_24_hour(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_12_hour(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_minute(numeric_system) { unsupported(); }\n- FMT_CONSTEXPR void on_second(numeric_system) { unsupported(); }\n+ FMT_CONSTEXPR void on_dec_month(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system,\n+ pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system,\n+ pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_iso_week_of_year(numeric_system,\n+ pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_day_of_year(pad_type = pad_type::zero) { unsupported(); }\n+ FMT_CONSTEXPR void on_day_of_month(numeric_system,\n+ pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_day_of_month_space(numeric_system,\n+ pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_minute(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n+ FMT_CONSTEXPR void on_second(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n FMT_CONSTEXPR void on_datetime(numeric_system) { unsupported(); }\n FMT_CONSTEXPR void on_loc_date(numeric_system) { unsupported(); }\n FMT_CONSTEXPR void on_loc_time(numeric_system) { unsupported(); }\n@@ -937,7 +1033,9 @@ template struct null_chrono_spec_handler {\n FMT_CONSTEXPR void on_am_pm() { unsupported(); }\n FMT_CONSTEXPR void on_duration_value() { unsupported(); }\n FMT_CONSTEXPR void on_duration_unit() { unsupported(); }\n- FMT_CONSTEXPR void on_utc_offset(numeric_system) { unsupported(); }\n+ FMT_CONSTEXPR void on_utc_offset(numeric_system, pad_type = pad_type::zero) {\n+ unsupported();\n+ }\n FMT_CONSTEXPR void on_tz_name() { unsupported(); }\n };\n \n@@ -947,28 +1045,35 @@ struct tm_format_checker : null_chrono_spec_handler {\n template \n FMT_CONSTEXPR void on_text(const Char*, const Char*) {}\n FMT_CONSTEXPR void on_year(numeric_system) {}\n- FMT_CONSTEXPR void on_short_year(numeric_system) {}\n+ FMT_CONSTEXPR void on_short_year(numeric_system, pad_type = pad_type::zero) {}\n FMT_CONSTEXPR void on_offset_year() {}\n- FMT_CONSTEXPR void on_century(numeric_system) {}\n+ FMT_CONSTEXPR void on_century(numeric_system, pad_type = pad_type::zero) {}\n FMT_CONSTEXPR void on_iso_week_based_year() {}\n FMT_CONSTEXPR void on_iso_week_based_short_year() {}\n FMT_CONSTEXPR void on_abbr_weekday() {}\n FMT_CONSTEXPR void on_full_weekday() {}\n- FMT_CONSTEXPR void on_dec0_weekday(numeric_system) {}\n- FMT_CONSTEXPR void on_dec1_weekday(numeric_system) {}\n+ FMT_CONSTEXPR void on_dec0_weekday(numeric_system,\n+ pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_dec1_weekday(numeric_system,\n+ pad_type = pad_type::zero) {}\n FMT_CONSTEXPR void on_abbr_month() {}\n FMT_CONSTEXPR void on_full_month() {}\n- FMT_CONSTEXPR void on_dec_month(numeric_system) {}\n- FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system) {}\n- FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system) {}\n- FMT_CONSTEXPR void on_iso_week_of_year(numeric_system) {}\n- FMT_CONSTEXPR void on_day_of_year() {}\n- FMT_CONSTEXPR void on_day_of_month(numeric_system) {}\n- FMT_CONSTEXPR void on_day_of_month_space(numeric_system) {}\n- FMT_CONSTEXPR void on_24_hour(numeric_system) {}\n- FMT_CONSTEXPR void on_12_hour(numeric_system) {}\n- FMT_CONSTEXPR void on_minute(numeric_system) {}\n- FMT_CONSTEXPR void on_second(numeric_system) {}\n+ FMT_CONSTEXPR void on_dec_month(numeric_system, pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system,\n+ pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system,\n+ pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_iso_week_of_year(numeric_system,\n+ pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_day_of_year(pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_day_of_month(numeric_system,\n+ pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_day_of_month_space(numeric_system,\n+ pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_minute(numeric_system, pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_second(numeric_system, pad_type = pad_type::zero) {}\n FMT_CONSTEXPR void on_datetime(numeric_system) {}\n FMT_CONSTEXPR void on_loc_date(numeric_system) {}\n FMT_CONSTEXPR void on_loc_time(numeric_system) {}\n@@ -978,7 +1083,7 @@ struct tm_format_checker : null_chrono_spec_handler {\n FMT_CONSTEXPR void on_24_hour_time() {}\n FMT_CONSTEXPR void on_iso_time() {}\n FMT_CONSTEXPR void on_am_pm() {}\n- FMT_CONSTEXPR void on_utc_offset(numeric_system) {}\n+ FMT_CONSTEXPR void on_utc_offset(numeric_system, pad_type = pad_type::zero) {}\n FMT_CONSTEXPR void on_tz_name() {}\n };\n \n@@ -1238,6 +1343,16 @@ class tm_writer {\n *out_++ = *d++;\n *out_++ = *d;\n }\n+ void write2_no_pad(int value) {\n+ value = to_unsigned(value) % 100;\n+ if (value >= 10) {\n+ const char* d = digits2(to_unsigned(value));\n+ *out_++ = *d++;\n+ *out_++ = *d;\n+ } else {\n+ write1(value);\n+ }\n+ }\n \n void write_year_extended(long long year) {\n // At least 4 characters.\n@@ -1261,7 +1376,7 @@ class tm_writer {\n }\n }\n \n- void write_utc_offset(long offset, numeric_system ns) {\n+ void write_utc_offset(long offset, numeric_system ns, pad_type pad = pad_type::zero) {\n if (offset < 0) {\n *out_++ = '-';\n offset = -offset;\n@@ -1269,16 +1384,24 @@ class tm_writer {\n *out_++ = '+';\n }\n offset /= 60;\n- write2(static_cast(offset / 60));\n+ if (pad == pad_type::none) {\n+ write2_no_pad(static_cast(offset / 60));\n+ } else {\n+ write2(static_cast(offset / 60));\n+ }\n if (ns != numeric_system::standard) *out_++ = ':';\n- write2(static_cast(offset % 60));\n+ if (pad == pad_type::none) {\n+ write2_no_pad(static_cast(offset % 60));\n+ } else {\n+ write2(static_cast(offset % 60));\n+ }\n }\n template ::value)>\n- void format_utc_offset_impl(const T& tm, numeric_system ns) {\n- write_utc_offset(tm.tm_gmtoff, ns);\n+ void format_utc_offset_impl(const T& tm, numeric_system ns, pad_type pad = pad_type::zero) {\n+ write_utc_offset(tm.tm_gmtoff, ns, pad);\n }\n template ::value)>\n- void format_utc_offset_impl(const T& tm, numeric_system ns) {\n+ void format_utc_offset_impl(const T& tm, numeric_system ns, pad_type pad = pad_type::zero) {\n #if defined(_WIN32) && defined(_UCRT)\n # if FMT_USE_TZSET\n tzset_once();\n@@ -1290,9 +1413,9 @@ class tm_writer {\n _get_dstbias(&dstbias);\n offset += dstbias;\n }\n- write_utc_offset(-offset, ns);\n+ write_utc_offset(-offset, ns, pad);\n #else\n- if (ns == numeric_system::standard) return format_localized('z');\n+ if (ns == numeric_system::standard && pad == pad_type::zero) return format_localized('z');\n \n // Extract timezone offset from timezone conversion functions.\n std::tm gtm = tm;\n@@ -1300,7 +1423,7 @@ class tm_writer {\n std::tm ltm = gmtime(gt);\n std::time_t lt = std::mktime(<m);\n long offset = gt - lt;\n- write_utc_offset(offset, ns);\n+ write_utc_offset(offset, ns, pad);\n #endif\n }\n \n@@ -1349,11 +1472,11 @@ class tm_writer {\n else\n format_localized('A');\n }\n- void on_dec0_weekday(numeric_system ns) {\n+ void on_dec0_weekday(numeric_system ns, pad_type = pad_type::zero) {\n if (is_classic_ || ns == numeric_system::standard) return write1(tm_wday());\n format_localized('w', 'O');\n }\n- void on_dec1_weekday(numeric_system ns) {\n+ void on_dec1_weekday(numeric_system ns, pad_type = pad_type::zero) {\n if (is_classic_ || ns == numeric_system::standard) {\n auto wday = tm_wday();\n write1(wday == 0 ? days_per_week : wday);\n@@ -1426,7 +1549,7 @@ class tm_writer {\n out_ = copy_str(std::begin(buf) + offset, std::end(buf), out_);\n }\n \n- void on_utc_offset(numeric_system ns) { format_utc_offset_impl(tm_, ns); }\n+ void on_utc_offset(numeric_system ns, pad_type pad = pad_type::zero) { format_utc_offset_impl(tm_, ns, pad); }\n void on_tz_name() { format_tz_name_impl(tm_); }\n \n void on_year(numeric_system ns) {\n@@ -1434,9 +1557,12 @@ class tm_writer {\n return write_year(tm_year());\n format_localized('Y', 'E');\n }\n- void on_short_year(numeric_system ns) {\n- if (is_classic_ || ns == numeric_system::standard)\n+ void on_short_year(numeric_system ns, pad_type pad = pad_type::zero) {\n+ if (is_classic_ || ns == numeric_system::standard) {\n+ if (pad == pad_type::none)\n+ return write2_no_pad(split_year_lower(tm_year()));\n return write2(split_year_lower(tm_year()));\n+ }\n format_localized('y', 'O');\n }\n void on_offset_year() {\n@@ -1444,7 +1570,7 @@ class tm_writer {\n format_localized('y', 'E');\n }\n \n- void on_century(numeric_system ns) {\n+ void on_century(numeric_system ns, pad_type pad = pad_type::zero) {\n if (is_classic_ || ns == numeric_system::standard) {\n auto year = tm_year();\n auto upper = year / 100;\n@@ -1453,7 +1579,10 @@ class tm_writer {\n *out_++ = '-';\n *out_++ = '0';\n } else if (upper >= 0 && upper < 100) {\n- write2(static_cast(upper));\n+ if (pad == pad_type::none)\n+ write2_no_pad(static_cast(upper));\n+ else\n+ write2(static_cast(upper));\n } else {\n out_ = write(out_, upper);\n }\n@@ -1462,30 +1591,43 @@ class tm_writer {\n }\n }\n \n- void on_dec_month(numeric_system ns) {\n- if (is_classic_ || ns == numeric_system::standard)\n+ void on_dec_month(numeric_system ns, pad_type pad = pad_type::zero) {\n+ if (is_classic_ || ns == numeric_system::standard) {\n+ if (pad == pad_type::none)\n+ return write2_no_pad(tm_mon() + 1);\n return write2(tm_mon() + 1);\n+ }\n format_localized('m', 'O');\n }\n \n- void on_dec0_week_of_year(numeric_system ns) {\n- if (is_classic_ || ns == numeric_system::standard)\n- return write2((tm_yday() + days_per_week - tm_wday()) / days_per_week);\n+ void on_dec0_week_of_year(numeric_system ns, pad_type pad = pad_type::zero) {\n+ if (is_classic_ || ns == numeric_system::standard) {\n+ auto val = (tm_yday() + days_per_week - tm_wday()) / days_per_week;\n+ if (pad == pad_type::none)\n+ return write2_no_pad(val);\n+ return write2(val);\n+ }\n format_localized('U', 'O');\n }\n- void on_dec1_week_of_year(numeric_system ns) {\n+ void on_dec1_week_of_year(numeric_system ns, pad_type pad = pad_type::zero) {\n if (is_classic_ || ns == numeric_system::standard) {\n auto wday = tm_wday();\n- write2((tm_yday() + days_per_week -\n+ auto val = (tm_yday() + days_per_week -\n (wday == 0 ? (days_per_week - 1) : (wday - 1))) /\n- days_per_week);\n+ days_per_week;\n+ if (pad == pad_type::none)\n+ return write2_no_pad(val);\n+ return write2(val);\n } else {\n format_localized('W', 'O');\n }\n }\n- void on_iso_week_of_year(numeric_system ns) {\n- if (is_classic_ || ns == numeric_system::standard)\n+ void on_iso_week_of_year(numeric_system ns, pad_type pad = pad_type::zero) {\n+ if (is_classic_ || ns == numeric_system::standard) {\n+ if (pad == pad_type::none)\n+ return write2_no_pad(tm_iso_week_of_year());\n return write2(tm_iso_week_of_year());\n+ }\n format_localized('V', 'O');\n }\n \n@@ -1494,43 +1636,74 @@ class tm_writer {\n write2(split_year_lower(tm_iso_week_year()));\n }\n \n- void on_day_of_year() {\n+ void on_day_of_year(pad_type pad = pad_type::zero) {\n auto yday = tm_yday() + 1;\n- write1(yday / 100);\n- write2(yday % 100);\n+ if (pad == pad_type::none) {\n+ out_ = write(out_, yday);\n+ } else {\n+ write1(yday / 100);\n+ write2(yday % 100);\n+ }\n }\n- void on_day_of_month(numeric_system ns) {\n- if (is_classic_ || ns == numeric_system::standard) return write2(tm_mday());\n+ void on_day_of_month(numeric_system ns, pad_type pad = pad_type::zero) {\n+ if (is_classic_ || ns == numeric_system::standard) {\n+ if (pad == pad_type::none)\n+ return write2_no_pad(tm_mday());\n+ return write2(tm_mday());\n+ }\n format_localized('d', 'O');\n }\n- void on_day_of_month_space(numeric_system ns) {\n+ void on_day_of_month_space(numeric_system ns, pad_type pad = pad_type::zero) {\n if (is_classic_ || ns == numeric_system::standard) {\n auto mday = to_unsigned(tm_mday()) % 100;\n const char* d2 = digits2(mday);\n- *out_++ = mday < 10 ? ' ' : d2[0];\n- *out_++ = d2[1];\n+ if (pad == pad_type::none) {\n+ if (mday < 10)\n+ write1(mday);\n+ else {\n+ *out_++ = d2[0];\n+ *out_++ = d2[1];\n+ }\n+ } else {\n+ *out_++ = mday < 10 ? ' ' : d2[0];\n+ *out_++ = d2[1];\n+ }\n } else {\n format_localized('e', 'O');\n }\n }\n \n- void on_24_hour(numeric_system ns) {\n- if (is_classic_ || ns == numeric_system::standard) return write2(tm_hour());\n+ void on_24_hour(numeric_system ns, pad_type pad = pad_type::zero) {\n+ if (is_classic_ || ns == numeric_system::standard) {\n+ if (pad == pad_type::none)\n+ return write2_no_pad(tm_hour());\n+ return write2(tm_hour());\n+ }\n format_localized('H', 'O');\n }\n- void on_12_hour(numeric_system ns) {\n- if (is_classic_ || ns == numeric_system::standard)\n+ void on_12_hour(numeric_system ns, pad_type pad = pad_type::zero) {\n+ if (is_classic_ || ns == numeric_system::standard) {\n+ if (pad == pad_type::none)\n+ return write2_no_pad(tm_hour12());\n return write2(tm_hour12());\n+ }\n format_localized('I', 'O');\n }\n- void on_minute(numeric_system ns) {\n- if (is_classic_ || ns == numeric_system::standard) return write2(tm_min());\n+ void on_minute(numeric_system ns, pad_type pad = pad_type::zero) {\n+ if (is_classic_ || ns == numeric_system::standard) {\n+ if (pad == pad_type::none)\n+ return write2_no_pad(tm_min());\n+ return write2(tm_min());\n+ }\n format_localized('M', 'O');\n }\n \n- void on_second(numeric_system ns) {\n+ void on_second(numeric_system ns, pad_type pad = pad_type::zero) {\n if (is_classic_ || ns == numeric_system::standard) {\n- write2(tm_sec());\n+ if (pad == pad_type::none)\n+ write2_no_pad(tm_sec());\n+ else\n+ write2(tm_sec());\n if (subsecs_) {\n if (std::is_floating_point::value) {\n auto buf = memory_buffer();\n@@ -1594,10 +1767,10 @@ struct chrono_format_checker : null_chrono_spec_handler {\n \n template \n FMT_CONSTEXPR void on_text(const Char*, const Char*) {}\n- FMT_CONSTEXPR void on_24_hour(numeric_system) {}\n- FMT_CONSTEXPR void on_12_hour(numeric_system) {}\n- FMT_CONSTEXPR void on_minute(numeric_system) {}\n- FMT_CONSTEXPR void on_second(numeric_system) {}\n+ FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_minute(numeric_system, pad_type = pad_type::zero) {}\n+ FMT_CONSTEXPR void on_second(numeric_system, pad_type = pad_type::zero) {}\n FMT_CONSTEXPR void on_12_hour_time() {}\n FMT_CONSTEXPR void on_24_hour_time() {}\n FMT_CONSTEXPR void on_iso_time() {}\n@@ -1849,8 +2022,8 @@ struct chrono_formatter {\n // These are not implemented because durations don't have date information.\n void on_abbr_weekday() {}\n void on_full_weekday() {}\n- void on_dec0_weekday(numeric_system) {}\n- void on_dec1_weekday(numeric_system) {}\n+ void on_dec0_weekday(numeric_system, pad_type = pad_type::zero) {}\n+ void on_dec1_weekday(numeric_system, pad_type = pad_type::zero) {}\n void on_abbr_month() {}\n void on_full_month() {}\n void on_datetime(numeric_system) {}\n@@ -1858,50 +2031,59 @@ struct chrono_formatter {\n void on_loc_time(numeric_system) {}\n void on_us_date() {}\n void on_iso_date() {}\n- void on_utc_offset(numeric_system) {}\n+ void on_utc_offset(numeric_system, pad_type = pad_type::zero) {}\n void on_tz_name() {}\n void on_year(numeric_system) {}\n- void on_short_year(numeric_system) {}\n+ void on_short_year(numeric_system, pad_type = pad_type::zero) {}\n void on_offset_year() {}\n- void on_century(numeric_system) {}\n+ void on_century(numeric_system, pad_type = pad_type::zero) {}\n void on_iso_week_based_year() {}\n void on_iso_week_based_short_year() {}\n- void on_dec_month(numeric_system) {}\n- void on_dec0_week_of_year(numeric_system) {}\n- void on_dec1_week_of_year(numeric_system) {}\n- void on_iso_week_of_year(numeric_system) {}\n- void on_day_of_year() {}\n- void on_day_of_month(numeric_system) {}\n- void on_day_of_month_space(numeric_system) {}\n-\n- void on_24_hour(numeric_system ns) {\n+ void on_dec_month(numeric_system, pad_type = pad_type::zero) {}\n+ void on_dec0_week_of_year(numeric_system, pad_type = pad_type::zero) {}\n+ void on_dec1_week_of_year(numeric_system, pad_type = pad_type::zero) {}\n+ void on_iso_week_of_year(numeric_system, pad_type = pad_type::zero) {}\n+ void on_day_of_year(pad_type = pad_type::zero) {}\n+ void on_day_of_month(numeric_system, pad_type = pad_type::zero) {}\n+ void on_day_of_month_space(numeric_system, pad_type = pad_type::zero) {}\n+\n+ void on_24_hour(numeric_system ns, pad_type pad = pad_type::zero) {\n if (handle_nan_inf()) return;\n \n- if (ns == numeric_system::standard) return write(hour(), 2);\n+ if (ns == numeric_system::standard) {\n+ if (pad == pad_type::none) return write(hour(), 1);\n+ return write(hour(), 2);\n+ }\n auto time = tm();\n time.tm_hour = to_nonnegative_int(hour(), 24);\n- format_tm(time, &tm_writer_type::on_24_hour, ns);\n+ format_tm(time, &tm_writer_type::on_24_hour, ns, pad);\n }\n \n- void on_12_hour(numeric_system ns) {\n+ void on_12_hour(numeric_system ns, pad_type pad = pad_type::zero) {\n if (handle_nan_inf()) return;\n \n- if (ns == numeric_system::standard) return write(hour12(), 2);\n+ if (ns == numeric_system::standard) {\n+ if (pad == pad_type::none) return write(hour12(), 1);\n+ return write(hour12(), 2);\n+ }\n auto time = tm();\n time.tm_hour = to_nonnegative_int(hour12(), 12);\n- format_tm(time, &tm_writer_type::on_12_hour, ns);\n+ format_tm(time, &tm_writer_type::on_12_hour, ns, pad);\n }\n \n- void on_minute(numeric_system ns) {\n+ void on_minute(numeric_system ns, pad_type pad = pad_type::zero) {\n if (handle_nan_inf()) return;\n \n- if (ns == numeric_system::standard) return write(minute(), 2);\n+ if (ns == numeric_system::standard) {\n+ if (pad == pad_type::none) return write(minute(), 1);\n+ return write(minute(), 2);\n+ }\n auto time = tm();\n time.tm_min = to_nonnegative_int(minute(), 60);\n- format_tm(time, &tm_writer_type::on_minute, ns);\n+ format_tm(time, &tm_writer_type::on_minute, ns, pad);\n }\n \n- void on_second(numeric_system ns) {\n+ void on_second(numeric_system ns, pad_type pad = pad_type::zero) {\n if (handle_nan_inf()) return;\n \n if (ns == numeric_system::standard) {\n@@ -1910,10 +2092,14 @@ struct chrono_formatter {\n write_floating_seconds(buf, std::chrono::duration(val),\n precision);\n if (negative) *out++ = '-';\n- if (buf.size() < 2 || buf[1] == '.') *out++ = '0';\n+ if (pad != pad_type::none && (buf.size() < 2 || buf[1] == '.'))\n+ *out++ = '0';\n out = std::copy(buf.begin(), buf.end(), out);\n } else {\n- write(second(), 2);\n+ if (pad == pad_type::none)\n+ write(second(), 1);\n+ else\n+ write(second(), 2);\n write_fractional_seconds(\n out, std::chrono::duration(val), precision);\n }\n@@ -1921,7 +2107,7 @@ struct chrono_formatter {\n }\n auto time = tm();\n time.tm_sec = to_nonnegative_int(second(), 60);\n- format_tm(time, &tm_writer_type::on_second, ns);\n+ format_tm(time, &tm_writer_type::on_second, ns, pad);\n }\n \n void on_12_hour_time() {\n"} +{"instance_id": "fmtlib__fmt-3272", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 8f05c7d9..6df7acdb 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -2547,7 +2547,7 @@ FMT_CONSTEXPR20 auto do_write_float(OutputIt out, const DecimalFP& f,\n int num_zeros = fspecs.showpoint ? fspecs.precision - significand_size : 0;\n size += 1 + to_unsigned(num_zeros > 0 ? num_zeros : 0);\n auto grouping = Grouping(loc, fspecs.locale);\n- size += to_unsigned(grouping.count_separators(significand_size));\n+ size += to_unsigned(grouping.count_separators(exp));\n return write_padded(out, specs, size, [&](iterator it) {\n if (sign) *it++ = detail::sign(sign);\n it = write_significand(it, significand, significand_size, exp,\n"} +{"instance_id": "fmtlib__fmt-3279", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/std.h b/include/fmt/std.h\nindex 32c3e454..3d62dc5b 100644\n--- a/include/fmt/std.h\n+++ b/include/fmt/std.h\n@@ -11,12 +11,15 @@\n #include \n #include \n #include \n+#include \n+#include \n #include \n #include \n #include \n #include \n \n #include \"ostream.h\"\n+#include \"ranges.h\"\n \n #if FMT_HAS_INCLUDE()\n # include \n@@ -285,4 +288,74 @@ struct formatter<\n };\n FMT_END_NAMESPACE\n \n+FMT_BEGIN_NAMESPACE\n+\n+namespace detail {\n+template \n+struct is_formattable_container_adapter : std::true_type {};\n+\n+template \n+auto get_underlying_container(const Adapter& adapter) -> const typename Adapter::container_type& {\n+ struct accessor : Adapter {\n+ static auto get(const Adapter& a) -> const typename Adapter::container_type& {\n+ return a.*(&accessor::c);\n+ }\n+ };\n+ return accessor::get(adapter);\n+}\n+} // namespace detail\n+\n+template \n+struct formatter, Char,\n+ enable_if_t::container_type::value_type, Char>::value>> {\n+ template \n+ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {\n+ return underlying_.parse(ctx);\n+ }\n+\n+ template \n+ auto format(const std::queue& q, FormatContext& ctx) const -> decltype(ctx.out()) {\n+ return underlying_.format(detail::get_underlying_container(q), ctx);\n+ }\n+\n+ private:\n+ range_formatter underlying_;\n+};\n+\n+template \n+struct formatter, Char,\n+ enable_if_t::container_type::value_type, Char>::value>> {\n+ template \n+ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {\n+ return underlying_.parse(ctx);\n+ }\n+\n+ template \n+ auto format(const std::stack& s, FormatContext& ctx) const -> decltype(ctx.out()) {\n+ return underlying_.format(detail::get_underlying_container(s), ctx);\n+ }\n+\n+ private:\n+ range_formatter underlying_;\n+};\n+\n+template \n+struct formatter, Char,\n+ enable_if_t::container_type::value_type, Char>::value>> {\n+ template \n+ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {\n+ return underlying_.parse(ctx);\n+ }\n+\n+ template \n+ auto format(const std::priority_queue& pq, FormatContext& ctx) const -> decltype(ctx.out()) {\n+ return underlying_.format(detail::get_underlying_container(pq), ctx);\n+ }\n+\n+ private:\n+ range_formatter underlying_;\n+};\n+\n+FMT_END_NAMESPACE\n+\n #endif // FMT_STD_H_\n"} +{"instance_id": "fmtlib__fmt-3537", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/core.h b/include/fmt/core.h\nindex 370b2f1e..f37793b9 100644\n--- a/include/fmt/core.h\n+++ b/include/fmt/core.h\n@@ -504,6 +504,8 @@ FMT_EXPORT\n template struct is_char : std::false_type {};\n template <> struct is_char : std::true_type {};\n \n+template class basic_format_string;\n+\n namespace detail {\n \n // A base class for compile-time strings.\n@@ -512,6 +514,12 @@ struct compile_string {};\n template \n struct is_compile_string : std::is_base_of {};\n \n+template \n+FMT_INLINE auto to_string_view(const basic_format_string& s)\n+ -> basic_string_view {\n+ return s.get();\n+}\n+\n template ::value)>\n FMT_INLINE auto to_string_view(const Char* s) -> basic_string_view {\n return s;\n@@ -2748,6 +2756,9 @@ template class basic_format_string {\n FMT_INLINE auto get() const -> basic_string_view { return str_; }\n };\n \n+template \n+struct detail::is_string> : std::true_type {};\n+\n #if FMT_GCC_VERSION && FMT_GCC_VERSION < 409\n // Workaround broken conversion on older gcc.\n template using format_string = string_view;\n"} +{"instance_id": "fmtlib__fmt-3555", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex dfd5d78a..52630956 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -4286,13 +4286,19 @@ auto join(Range&& range, string_view sep)\n std::string answer = fmt::to_string(42);\n \\endrst\n */\n-template ::value)>\n+template ::value &&\n+ !detail::has_format_as::value)>\n inline auto to_string(const T& value) -> std::string {\n auto buffer = memory_buffer();\n detail::write(appender(buffer), value);\n return {buffer.data(), buffer.size()};\n }\n \n+template ::value)>\n+FMT_NODISCARD inline auto to_string(const T& value) -> std::string {\n+ return vformat(\"{}\", fmt::make_format_args(value));\n+}\n+\n template ::value)>\n FMT_NODISCARD inline auto to_string(T value) -> std::string {\n // The buffer should be large enough to store the number including the sign\n"} +{"instance_id": "fmtlib__fmt-3569", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/core.h b/include/fmt/core.h\nindex f6886cf4..aa7cd33d 100644\n--- a/include/fmt/core.h\n+++ b/include/fmt/core.h\n@@ -15,6 +15,7 @@\n #include \n #include \n #include \n+#include \n \n // The fmt library version in the form major * 10000 + minor * 100 + patch.\n #define FMT_VERSION 100001\n@@ -294,6 +295,11 @@ inline auto format_as(T b) -> unsigned char {\n }\n #endif\n \n+template ::reference>::value)>\n+inline auto format_as(T ref) -> bool {\n+ return static_cast(ref);\n+}\n+\n namespace detail {\n // Suppresses \"unused variable\" warnings with the method described in\n // https://herbsutter.com/2009/10/18/mailbag-shutting-up-compiler-warnings/.\n"} +{"instance_id": "fmtlib__fmt-3713", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex b84b6a5c..60595b2f 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -4054,6 +4054,7 @@ struct formatter::value>>\n : private formatter, Char> {\n using base = formatter, Char>;\n using base::parse;\n+ using base::set_debug_format;\n \n template \n auto format(const T& value, FormatContext& ctx) const -> decltype(ctx.out()) {\n"} +{"instance_id": "fmtlib__fmt-3727", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h\nindex 7bd4206d..7c5b985e 100644\n--- a/include/fmt/chrono.h\n+++ b/include/fmt/chrono.h\n@@ -2095,12 +2095,17 @@ struct formatter,\n }\n \n return formatter::do_format(\n- gmtime(std::chrono::time_point_cast(val)), ctx,\n- &subsecs);\n+ gmtime(static_cast(\n+ std::chrono::duration_cast(val.time_since_epoch())\n+ .count())),\n+ ctx, &subsecs);\n }\n \n return formatter::format(\n- gmtime(std::chrono::time_point_cast(val)), ctx);\n+ gmtime(static_cast(\n+ std::chrono::duration_cast(val.time_since_epoch())\n+ .count())),\n+ ctx);\n }\n };\n \n@@ -2123,12 +2128,18 @@ struct formatter, Char>\n epoch - std::chrono::duration_cast(epoch));\n \n return formatter::do_format(\n- localtime(std::chrono::time_point_cast(val)),\n+ localtime(static_cast(\n+ std::chrono::duration_cast(\n+ std::chrono::current_zone()->to_sys(val).time_since_epoch())\n+ .count())),\n ctx, &subsecs);\n }\n \n return formatter::format(\n- localtime(std::chrono::time_point_cast(val)),\n+ localtime(static_cast(\n+ std::chrono::duration_cast(\n+ std::chrono::current_zone()->to_sys(val).time_since_epoch())\n+ .count())),\n ctx);\n }\n };\n"} +{"instance_id": "fmtlib__fmt-3729", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/std.h b/include/fmt/std.h\nindex 4799df1a..bf47eb9f 100644\n--- a/include/fmt/std.h\n+++ b/include/fmt/std.h\n@@ -89,6 +89,18 @@ template auto get_path_string(\n return p.string();\n }\n \n+template \n+auto get_path_string(const std::filesystem::path& p,\n+ const std::basic_string& native, bool generic) {\n+ if (!generic) return get_path_string(p, native);\n+ if constexpr (std::is_same_v &&\n+ std::is_same_v) {\n+ return to_utf8(p.generic_wstring(), to_utf8_error_policy::replace);\n+ } else {\n+ return p.generic_string();\n+ }\n+}\n+\n template \n void write_escaped_path(basic_memory_buffer& quoted,\n const std::filesystem::path& p,\n@@ -106,6 +118,31 @@ void write_escaped_path(basic_memory_buffer& quoted,\n }\n }\n \n+template \n+void write_escaped_path(basic_memory_buffer& quoted,\n+ const std::filesystem::path& p, bool generic) {\n+ // On Windows, path::value_type is wchar_t and Char is char; we need UTF-8\n+ // conversion. On POSIX, path::value_type is char and Char is char; direct.\n+ if constexpr (std::is_same_v) {\n+ if (generic)\n+ write_escaped_string(std::back_inserter(quoted),\n+ p.generic_wstring());\n+ else\n+ write_escaped_string(std::back_inserter(quoted), p.wstring());\n+ } else {\n+ // path::value_type may be char (POSIX) or wchar_t (Windows). Use the\n+ // existing write_escaped_path overload that takes the native string.\n+ if (generic) {\n+ auto s = p.generic_string();\n+ write_escaped_string(std::back_inserter(quoted), s);\n+ } else {\n+ detail::write_escaped_path(quoted, p, p.native());\n+ }\n+ }\n+}\n+\n+enum class path_format { native, generic };\n+\n } // namespace detail\n \n FMT_EXPORT\n@@ -114,6 +151,7 @@ template struct formatter {\n format_specs specs_;\n detail::arg_ref width_ref_;\n bool debug_ = false;\n+ detail::path_format path_format_ = detail::path_format::native;\n \n public:\n FMT_CONSTEXPR void set_debug_format(bool set = true) { debug_ = set; }\n@@ -126,9 +164,20 @@ template struct formatter {\n if (it == end) return it;\n \n it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx);\n- if (it != end && *it == '?') {\n- debug_ = true;\n- ++it;\n+ if (it != end) {\n+ if (*it == '?') {\n+ debug_ = true;\n+ ++it;\n+ }\n+ if (it != end) {\n+ if (*it == 'g') {\n+ path_format_ = detail::path_format::generic;\n+ ++it;\n+ } else if (*it == 'n') {\n+ path_format_ = detail::path_format::native;\n+ ++it;\n+ }\n+ }\n }\n return it;\n }\n@@ -138,12 +187,13 @@ template struct formatter {\n auto specs = specs_;\n detail::handle_dynamic_spec(specs.width, width_ref_,\n ctx);\n+ bool generic = path_format_ == detail::path_format::generic;\n if (!debug_) {\n- auto s = detail::get_path_string(p, p.native());\n+ auto s = detail::get_path_string(p, p.native(), generic);\n return detail::write(ctx.out(), basic_string_view(s), specs);\n }\n auto quoted = basic_memory_buffer();\n- detail::write_escaped_path(quoted, p, p.native());\n+ detail::write_escaped_path(quoted, p, generic);\n return detail::write(ctx.out(),\n basic_string_view(quoted.data(), quoted.size()),\n specs);\n"} +{"instance_id": "fmtlib__fmt-3732", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h\nindex 9b4f9d4e..92ad0b7b 100644\n--- a/include/fmt/chrono.h\n+++ b/include/fmt/chrono.h\n@@ -1622,6 +1622,7 @@ struct chrono_format_checker : null_chrono_spec_handler {\n \n template \n FMT_CONSTEXPR void on_text(const Char*, const Char*) {}\n+ FMT_CONSTEXPR void on_day_of_year() {}\n FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type) {}\n FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type) {}\n FMT_CONSTEXPR void on_minute(numeric_system, pad_type) {}\n@@ -1807,6 +1808,7 @@ struct chrono_formatter {\n }\n \n Rep hour() const { return static_cast(mod((s.count() / 3600), 24)); }\n+ Rep day() const { return static_cast(s.count() / 86400); }\n \n Rep hour12() const {\n Rep hour = static_cast(mod((s.count() / 3600), 12));\n@@ -1884,7 +1886,10 @@ struct chrono_formatter {\n void on_dec0_week_of_year(numeric_system) {}\n void on_dec1_week_of_year(numeric_system) {}\n void on_iso_week_of_year(numeric_system) {}\n- void on_day_of_year() {}\n+ void on_day_of_year() {\n+ if (handle_nan_inf()) return;\n+ write(day(), 0);\n+ }\n void on_day_of_month(numeric_system) {}\n void on_day_of_month_space(numeric_system) {}\n \n"} +{"instance_id": "fmtlib__fmt-3734", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/core.h b/include/fmt/core.h\nindex 2fcaf845..c0706dcf 100644\n--- a/include/fmt/core.h\n+++ b/include/fmt/core.h\n@@ -2429,7 +2429,8 @@ FMT_CONSTEXPR FMT_INLINE auto parse_format_specs(\n case 'G':\n return parse_presentation_type(pres::general_upper, float_set);\n case 'c':\n- return parse_presentation_type(pres::chr, integral_set);\n+ return parse_presentation_type(pres::chr,\n+ sint_set | uint_set | char_set);\n case 's':\n return parse_presentation_type(pres::string,\n bool_set | string_set | cstring_set);\n"} +{"instance_id": "fmtlib__fmt-3750", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 79bf5256..ba3fc7c9 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -2179,8 +2179,83 @@ template struct loc_writer {\n template ::value)>\n auto operator()(T value) -> bool {\n auto arg = make_write_int_arg(value, specs.sign);\n- write_int(out, static_cast>(arg.abs_value), arg.prefix,\n- specs, digit_grouping(grouping, sep));\n+ auto abs_value = arg.abs_value;\n+ auto prefix = arg.prefix;\n+ auto dg = digit_grouping(grouping, sep);\n+ switch (specs.type) {\n+ case presentation_type::none:\n+ case presentation_type::dec: {\n+ int num_digits = count_digits(abs_value);\n+ char digits[40];\n+ format_decimal(digits, abs_value, num_digits);\n+ unsigned size = to_unsigned((prefix >> 24) + num_digits +\n+ dg.count_separators(num_digits));\n+ write_padded(\n+ out, specs, size, size, [&](reserve_iterator> it) {\n+ for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)\n+ *it++ = static_cast(p & 0xff);\n+ return dg.apply(it, string_view(digits, to_unsigned(num_digits)));\n+ });\n+ break;\n+ }\n+ case presentation_type::hex_lower:\n+ case presentation_type::hex_upper: {\n+ bool upper = specs.type == presentation_type::hex_upper;\n+ if (specs.alt)\n+ prefix_append(prefix, unsigned(upper ? 'X' : 'x') << 8 | '0');\n+ int num_digits = count_digits<4>(abs_value);\n+ char digits[40];\n+ format_uint<4>(digits, abs_value, num_digits, upper);\n+ unsigned size = to_unsigned((prefix >> 24) + num_digits +\n+ dg.count_separators(num_digits));\n+ write_padded(\n+ out, specs, size, size, [&](reserve_iterator> it) {\n+ for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)\n+ *it++ = static_cast(p & 0xff);\n+ return dg.apply(it, string_view(digits, to_unsigned(num_digits)));\n+ });\n+ break;\n+ }\n+ case presentation_type::oct: {\n+ int num_digits = count_digits<3>(abs_value);\n+ if (specs.alt && specs.precision <= num_digits && abs_value != 0)\n+ prefix_append(prefix, '0');\n+ char digits[40];\n+ format_uint<3>(digits, abs_value, num_digits);\n+ unsigned size = to_unsigned((prefix >> 24) + num_digits +\n+ dg.count_separators(num_digits));\n+ write_padded(\n+ out, specs, size, size, [&](reserve_iterator> it) {\n+ for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)\n+ *it++ = static_cast(p & 0xff);\n+ return dg.apply(it, string_view(digits, to_unsigned(num_digits)));\n+ });\n+ break;\n+ }\n+ case presentation_type::bin_lower:\n+ case presentation_type::bin_upper: {\n+ bool upper = specs.type == presentation_type::bin_upper;\n+ if (specs.alt)\n+ prefix_append(prefix, unsigned(upper ? 'B' : 'b') << 8 | '0');\n+ int num_digits = count_digits<1>(abs_value);\n+ char digits[40];\n+ format_uint<1>(digits, abs_value, num_digits);\n+ unsigned size = to_unsigned((prefix >> 24) + num_digits +\n+ dg.count_separators(num_digits));\n+ write_padded(\n+ out, specs, size, size, [&](reserve_iterator> it) {\n+ for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8)\n+ *it++ = static_cast(p & 0xff);\n+ return dg.apply(it, string_view(digits, to_unsigned(num_digits)));\n+ });\n+ break;\n+ }\n+ case presentation_type::chr:\n+ write_char(out, static_cast(abs_value), specs);\n+ break;\n+ default:\n+ break;\n+ }\n return true;\n }\n \n"} +{"instance_id": "fmtlib__fmt-3819", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/args.h b/include/fmt/args.h\nindex b77a2d06..24618cc9 100644\n--- a/include/fmt/args.h\n+++ b/include/fmt/args.h\n@@ -109,6 +109,12 @@ class dynamic_format_arg_store\n // without relocation because items in data_ refer to it.\n detail::dynamic_arg_list dynamic_args_;\n \n+ // Tracks the number of positional (non-named) arguments to keep them\n+ // contiguous at the beginning of the args array (after the sentinel),\n+ // so that positional indexing via next_arg_id() works correctly when\n+ // mixed with named arguments.\n+ int num_positional_args_ = 0;\n+\n friend class basic_format_args;\n \n auto get_types() const -> unsigned long long {\n@@ -123,7 +129,17 @@ class dynamic_format_arg_store\n }\n \n template void emplace_arg(const T& arg) {\n- data_.emplace_back(detail::make_arg(arg));\n+ if (named_info_.empty()) {\n+ data_.emplace_back(detail::make_arg(arg));\n+ } else {\n+ // Insert positional args before named args so that positional\n+ // indexing (next_arg_id) doesn't hit named arg slots.\n+ data_.insert(data_.begin() + 1 + num_positional_args_,\n+ detail::make_arg(arg));\n+ // Shift all named arg indices since we inserted before them.\n+ for (auto& info : named_info_) ++info.id;\n+ }\n+ ++num_positional_args_;\n }\n \n template \n@@ -138,7 +154,8 @@ class dynamic_format_arg_store\n };\n std::unique_ptr>, decltype(pop_one)>\n guard{&data_, pop_one};\n- named_info_.push_back({arg.name, static_cast(data_.size() - 2u)});\n+ named_info_.push_back(\n+ {arg.name, num_positional_args_ + static_cast(named_info_.size())});\n data_[0].value_.named_args = {named_info_.data(), named_info_.size()};\n guard.release();\n }\n@@ -214,6 +231,7 @@ class dynamic_format_arg_store\n data_.clear();\n named_info_.clear();\n dynamic_args_ = detail::dynamic_arg_list();\n+ num_positional_args_ = 0;\n }\n \n /**\n"} +{"instance_id": "fmtlib__fmt-3824", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h\nindex 9499fa14..fc0719dd 100644\n--- a/include/fmt/ranges.h\n+++ b/include/fmt/ranges.h\n@@ -596,8 +596,9 @@ auto join(It begin, Sentinel end, string_view sep) -> join_view {\n */\n template \n auto join(Range&& range, string_view sep)\n- -> join_view {\n- return join(std::begin(range), std::end(range), sep);\n+ -> join_view {\n+ return join(detail::range_begin(range), detail::range_end(range), sep);\n }\n \n template struct tuple_join_view : detail::view {\ndiff --git a/include/fmt/xchar.h b/include/fmt/xchar.h\nindex eed501c7..e924a5bb 100644\n--- a/include/fmt/xchar.h\n+++ b/include/fmt/xchar.h\n@@ -108,9 +108,9 @@ auto join(It begin, Sentinel end, wstring_view sep)\n \n template \n auto join(Range&& range, wstring_view sep)\n- -> join_view, detail::sentinel_t,\n- wchar_t> {\n- return join(std::begin(range), std::end(range), sep);\n+ -> join_view {\n+ return join(detail::range_begin(range), detail::range_end(range), sep);\n }\n \n template \n"} +{"instance_id": "fmtlib__fmt-3863", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h\nindex 03eb5184..92d387dc 100644\n--- a/include/fmt/ranges.h\n+++ b/include/fmt/ranges.h\n@@ -246,6 +246,45 @@ FMT_CONSTEXPR auto maybe_set_debug_format(Formatter& f, bool set)\n template \n FMT_CONSTEXPR void maybe_set_debug_format(Formatter&, ...) {}\n \n+template \n+auto write_char_direct(OutputIt out, Char value) -> OutputIt {\n+ *out++ = value;\n+ return out;\n+}\n+\n+template \n+auto write_range_as_debug_string(OutputIt out, R&& range) -> OutputIt {\n+ *out++ = static_cast('\"');\n+ auto it = range_begin(range);\n+ auto end = range_end(range);\n+ for (; it != end; ++it) {\n+ auto c = static_cast(*it);\n+ if (c == static_cast('\"') || c == static_cast('\\\\')) {\n+ *out++ = static_cast('\\\\');\n+ *out++ = c;\n+ } else if (c == static_cast('\\n')) {\n+ *out++ = static_cast('\\\\');\n+ *out++ = static_cast('n');\n+ } else if (c == static_cast('\\r')) {\n+ *out++ = static_cast('\\\\');\n+ *out++ = static_cast('r');\n+ } else if (c == static_cast('\\t')) {\n+ *out++ = static_cast('\\\\');\n+ *out++ = static_cast('t');\n+ } else if (0 < c && c < 0x20) {\n+ *out++ = static_cast('\\\\');\n+ *out++ = static_cast('x');\n+ auto v = static_cast(c);\n+ *out++ = static_cast(\"0123456789abcdef\"[v >> 4]);\n+ *out++ = static_cast(\"0123456789abcdef\"[v & 0xf]);\n+ } else {\n+ *out++ = c;\n+ }\n+ }\n+ *out++ = static_cast('\"');\n+ return out;\n+}\n+\n // These are not generic lambdas for compatibility with C++11.\n template struct parse_empty_specs {\n template FMT_CONSTEXPR void operator()(Formatter& f) {\n@@ -388,6 +427,8 @@ struct range_formatter<\n detail::string_literal{};\n basic_string_view closing_bracket_ =\n detail::string_literal{};\n+ bool is_string_ = false;\n+ bool is_debug_string_ = false;\n \n public:\n FMT_CONSTEXPR range_formatter() {}\n@@ -406,6 +447,15 @@ struct range_formatter<\n closing_bracket_ = close;\n }\n \n+ FMT_CONSTEXPR void set_string_mode(bool debug) {\n+ if (debug)\n+ is_debug_string_ = true;\n+ else\n+ is_string_ = true;\n+ set_brackets({}, {});\n+ set_separator({});\n+ }\n+\n template \n FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {\n auto it = ctx.begin();\n@@ -416,6 +466,27 @@ struct range_formatter<\n ++it;\n }\n \n+ if (it != end && *it == 's' && std::is_same::value) {\n+ is_string_ = true;\n+ set_brackets({}, {});\n+ set_separator({});\n+ ++it;\n+ ctx.advance_to(it);\n+ return underlying_.parse(ctx);\n+ }\n+\n+ if (it != end && *it == '?') {\n+ if (!std::is_same::value) report_error(\"invalid format specifier\");\n+ is_debug_string_ = true;\n+ set_brackets({}, {});\n+ set_separator({});\n+ ++it;\n+ if (it == end || *it != 's') report_error(\"invalid format specifier\");\n+ ++it;\n+ ctx.advance_to(it);\n+ return it;\n+ }\n+\n if (it != end && *it != '}') {\n if (*it != ':') report_error(\"invalid format specifier\");\n ++it;\n@@ -429,8 +500,20 @@ struct range_formatter<\n \n template \n auto format(R&& range, FormatContext& ctx) const -> decltype(ctx.out()) {\n- detail::range_mapper> mapper;\n auto out = ctx.out();\n+ if constexpr (std::is_same::value) {\n+ if (is_debug_string_) {\n+ out = detail::write_range_as_debug_string(out, range);\n+ return out;\n+ }\n+ if (is_string_) {\n+ auto it = detail::range_begin(range);\n+ auto end = detail::range_end(range);\n+ for (; it != end; ++it) out = detail::write_char_direct(out, *it);\n+ return out;\n+ }\n+ }\n+ detail::range_mapper> mapper;\n out = detail::copy(opening_bracket_, out);\n int i = 0;\n auto it = detail::range_begin(range);\n@@ -501,6 +584,35 @@ struct range_default_formatter<\n return underlying_.format(range, ctx);\n }\n };\n+\n+template \n+struct range_default_formatter<\n+ K, R, Char,\n+ enable_if_t<(K == range_format::string || K == range_format::debug_string)>> {\n+ using range_type = detail::maybe_const_range;\n+ range_formatter, Char> underlying_;\n+\n+ FMT_CONSTEXPR range_default_formatter() { init(range_format_constant()); }\n+\n+ FMT_CONSTEXPR void init(range_format_constant) {\n+ underlying_.set_string_mode(false);\n+ }\n+\n+ FMT_CONSTEXPR void init(range_format_constant) {\n+ underlying_.set_string_mode(true);\n+ }\n+\n+ template \n+ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) {\n+ return underlying_.parse(ctx);\n+ }\n+\n+ template \n+ auto format(range_type& range, FormatContext& ctx) const\n+ -> decltype(ctx.out()) {\n+ return underlying_.format(range, ctx);\n+ }\n+};\n } // namespace detail\n \n template \n"} +{"instance_id": "fmtlib__fmt-3912", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h\nindex 65e6c7e0..3fd83599 100644\n--- a/include/fmt/chrono.h\n+++ b/include/fmt/chrono.h\n@@ -2040,6 +2040,9 @@ using weekday = std::chrono::weekday;\n using day = std::chrono::day;\n using month = std::chrono::month;\n using year = std::chrono::year;\n+using year_month = std::chrono::year_month;\n+using year_month_day = std::chrono::year_month_day;\n+using year_month_day_last = std::chrono::year_month_day_last;\n #else\n // A fallback version of weekday.\n class weekday {\n@@ -2085,7 +2088,46 @@ class year {\n constexpr explicit operator int() const noexcept { return value_; }\n };\n \n-class year_month_day {};\n+class year_month {\n+ private:\n+ fmt::year year_;\n+ fmt::month month_;\n+\n+ public:\n+ year_month() = default;\n+ constexpr year_month(fmt::year y, fmt::month m) noexcept\n+ : year_(y), month_(m) {}\n+ constexpr auto year() const noexcept -> fmt::year { return year_; }\n+ constexpr auto month() const noexcept -> fmt::month { return month_; }\n+};\n+\n+class year_month_day {\n+ private:\n+ fmt::year year_;\n+ fmt::month month_;\n+ fmt::day day_;\n+\n+ public:\n+ year_month_day() = default;\n+ constexpr year_month_day(fmt::year y, fmt::month m, fmt::day d) noexcept\n+ : year_(y), month_(m), day_(d) {}\n+ constexpr auto year() const noexcept -> fmt::year { return year_; }\n+ constexpr auto month() const noexcept -> fmt::month { return month_; }\n+ constexpr auto day() const noexcept -> fmt::day { return day_; }\n+};\n+\n+class year_month_day_last {\n+ private:\n+ fmt::year year_;\n+ fmt::month month_;\n+\n+ public:\n+ year_month_day_last() = default;\n+ constexpr year_month_day_last(fmt::year y, fmt::month m) noexcept\n+ : year_(y), month_(m) {}\n+ constexpr auto year() const noexcept -> fmt::year { return year_; }\n+ constexpr auto month() const noexcept -> fmt::month { return month_; }\n+};\n #endif\n \n // A rudimentary weekday formatter.\n@@ -2177,6 +2219,170 @@ template struct formatter {\n }\n };\n \n+template struct formatter {\n+ private:\n+ format_specs specs_;\n+ detail::arg_ref width_ref_;\n+ bool localized_ = false;\n+ basic_string_view format_str_;\n+\n+ public:\n+ FMT_CONSTEXPR formatter() {\n+ format_str_ = detail::string_literal{};\n+ }\n+\n+ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n+ -> decltype(ctx.begin()) {\n+ auto it = ctx.begin(), end = ctx.end();\n+ if (it == end || *it == '}') return it;\n+\n+ it = detail::parse_align(it, end, specs_);\n+ if (it == end) return it;\n+\n+ it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx);\n+ if (it == end) return it;\n+\n+ if (it != end && *it == 'L') {\n+ localized_ = true;\n+ ++it;\n+ }\n+ end = detail::parse_chrono_format(it, end, detail::tm_format_checker());\n+ // Replace the default format_str only if the new spec is not empty.\n+ if (end != it) format_str_ = {it, detail::to_unsigned(end - it)};\n+ return end;\n+ }\n+\n+ template \n+ auto format(year_month_day ymd, FormatContext& ctx) const\n+ -> decltype(ctx.out()) {\n+ auto specs = specs_;\n+ auto buf = basic_memory_buffer();\n+ auto out = std::back_inserter(buf);\n+ detail::handle_dynamic_spec(specs.width, width_ref_,\n+ ctx);\n+\n+ auto time = std::tm();\n+ time.tm_year = static_cast(ymd.year()) - 1900;\n+ time.tm_mon = static_cast(static_cast(ymd.month())) - 1;\n+ time.tm_mday = static_cast(static_cast(ymd.day()));\n+\n+ detail::get_locale loc(localized_, ctx.locale());\n+ auto w = detail::tm_writer(loc, out, time);\n+ detail::parse_chrono_format(format_str_.begin(), format_str_.end(), w);\n+ return detail::write(\n+ ctx.out(), basic_string_view(buf.data(), buf.size()), specs);\n+ }\n+};\n+\n+template struct formatter {\n+ private:\n+ format_specs specs_;\n+ detail::arg_ref width_ref_;\n+ bool localized_ = false;\n+ basic_string_view format_str_;\n+\n+ public:\n+ FMT_CONSTEXPR formatter() {\n+ format_str_ = detail::string_literal{};\n+ }\n+\n+ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n+ -> decltype(ctx.begin()) {\n+ auto it = ctx.begin(), end = ctx.end();\n+ if (it == end || *it == '}') return it;\n+\n+ it = detail::parse_align(it, end, specs_);\n+ if (it == end) return it;\n+\n+ it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx);\n+ if (it == end) return it;\n+\n+ if (it != end && *it == 'L') {\n+ localized_ = true;\n+ ++it;\n+ }\n+ end = detail::parse_chrono_format(it, end, detail::tm_format_checker());\n+ if (end != it) format_str_ = {it, detail::to_unsigned(end - it)};\n+ return end;\n+ }\n+\n+ template \n+ auto format(year_month ym, FormatContext& ctx) const -> decltype(ctx.out()) {\n+ auto specs = specs_;\n+ auto buf = basic_memory_buffer();\n+ auto out = std::back_inserter(buf);\n+ detail::handle_dynamic_spec(specs.width, width_ref_,\n+ ctx);\n+\n+ auto time = std::tm();\n+ time.tm_year = static_cast(ym.year()) - 1900;\n+ time.tm_mon = static_cast(static_cast(ym.month())) - 1;\n+ time.tm_mday = 1;\n+\n+ detail::get_locale loc(localized_, ctx.locale());\n+ auto w = detail::tm_writer(loc, out, time);\n+ detail::parse_chrono_format(format_str_.begin(), format_str_.end(), w);\n+ return detail::write(\n+ ctx.out(), basic_string_view(buf.data(), buf.size()), specs);\n+ }\n+};\n+\n+template struct formatter {\n+ private:\n+ format_specs specs_;\n+ detail::arg_ref width_ref_;\n+ bool localized_ = false;\n+ basic_string_view format_str_;\n+\n+ public:\n+ FMT_CONSTEXPR formatter() {\n+ format_str_ =\n+ detail::string_literal{};\n+ }\n+\n+ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n+ -> decltype(ctx.begin()) {\n+ auto it = ctx.begin(), end = ctx.end();\n+ if (it == end || *it == '}') return it;\n+\n+ it = detail::parse_align(it, end, specs_);\n+ if (it == end) return it;\n+\n+ it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx);\n+ if (it == end) return it;\n+\n+ if (it != end && *it == 'L') {\n+ localized_ = true;\n+ ++it;\n+ }\n+ end = detail::parse_chrono_format(it, end, detail::tm_format_checker());\n+ if (end != it) format_str_ = {it, detail::to_unsigned(end - it)};\n+ return end;\n+ }\n+\n+ template \n+ auto format(year_month_day_last ymdl, FormatContext& ctx) const\n+ -> decltype(ctx.out()) {\n+ auto specs = specs_;\n+ auto buf = basic_memory_buffer();\n+ auto out = std::back_inserter(buf);\n+ detail::handle_dynamic_spec(specs.width, width_ref_,\n+ ctx);\n+\n+ auto time = std::tm();\n+ time.tm_year = static_cast(ymdl.year()) - 1900;\n+ time.tm_mon = static_cast(static_cast(ymdl.month())) - 1;\n+ time.tm_mday = 1;\n+\n+ detail::get_locale loc(localized_, ctx.locale());\n+ auto w = detail::tm_writer(loc, out, time);\n+ detail::parse_chrono_format(format_str_.begin(), format_str_.end(), w);\n+ return detail::write(\n+ ctx.out(), basic_string_view(buf.data(), buf.size()), specs);\n+ }\n+};\n+\n template \n struct formatter, Char> {\n private:\n"} +{"instance_id": "fmtlib__fmt-3913", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h\nindex 65e6c7e0..4c00e2c5 100644\n--- a/include/fmt/chrono.h\n+++ b/include/fmt/chrono.h\n@@ -2040,10 +2040,12 @@ using weekday = std::chrono::weekday;\n using day = std::chrono::day;\n using month = std::chrono::month;\n using year = std::chrono::year;\n+using year_month_day = std::chrono::year_month_day;\n+using year_month = std::chrono::year_month;\n+using month_day = std::chrono::month_day;\n+using month_day_last = std::chrono::month_day_last;\n #else\n-// A fallback version of weekday.\n class weekday {\n- private:\n unsigned char value_;\n \n public:\n@@ -2054,7 +2056,6 @@ class weekday {\n };\n \n class day {\n- private:\n unsigned char value_;\n \n public:\n@@ -2062,10 +2063,12 @@ class day {\n constexpr explicit day(unsigned d) noexcept\n : value_(static_cast(d)) {}\n constexpr explicit operator unsigned() const noexcept { return value_; }\n+ friend constexpr auto operator==(const day& a, const day& b) noexcept {\n+ return a.value_ == b.value_;\n+ }\n };\n \n class month {\n- private:\n unsigned char value_;\n \n public:\n@@ -2073,19 +2076,70 @@ class month {\n constexpr explicit month(unsigned m) noexcept\n : value_(static_cast(m)) {}\n constexpr explicit operator unsigned() const noexcept { return value_; }\n+ friend constexpr auto operator==(const month& a, const month& b) noexcept {\n+ return a.value_ == b.value_;\n+ }\n };\n \n class year {\n- private:\n int value_;\n \n public:\n year() = default;\n constexpr explicit year(int y) noexcept : value_(y) {}\n constexpr explicit operator int() const noexcept { return value_; }\n+ friend constexpr auto operator==(const year& a, const year& b) noexcept {\n+ return a.value_ == b.value_;\n+ }\n };\n \n-class year_month_day {};\n+class year_month_day {\n+ fmt::year y_;\n+ fmt::month m_;\n+ fmt::day d_;\n+\n+ public:\n+ year_month_day() = default;\n+ constexpr year_month_day(const fmt::year& y, const fmt::month& m,\n+ const fmt::day& d) noexcept\n+ : y_(y), m_(m), d_(d) {}\n+ constexpr auto year() const noexcept -> fmt::year { return y_; }\n+ constexpr auto month() const noexcept -> fmt::month { return m_; }\n+ constexpr auto day() const noexcept -> fmt::day { return d_; }\n+};\n+\n+class year_month {\n+ fmt::year y_;\n+ fmt::month m_;\n+\n+ public:\n+ year_month() = default;\n+ constexpr year_month(const fmt::year& y, const fmt::month& m) noexcept\n+ : y_(y), m_(m) {}\n+ constexpr auto year() const noexcept -> fmt::year { return y_; }\n+ constexpr auto month() const noexcept -> fmt::month { return m_; }\n+};\n+\n+class month_day {\n+ fmt::month m_;\n+ fmt::day d_;\n+\n+ public:\n+ month_day() = default;\n+ constexpr month_day(const fmt::month& m, const fmt::day& d) noexcept\n+ : m_(m), d_(d) {}\n+ constexpr auto month() const noexcept -> fmt::month { return m_; }\n+ constexpr auto day() const noexcept -> fmt::day { return d_; }\n+};\n+\n+class month_day_last {\n+ fmt::month m_;\n+\n+ public:\n+ month_day_last() = default;\n+ constexpr explicit month_day_last(const fmt::month& m) noexcept : m_(m) {}\n+ constexpr auto month() const noexcept -> fmt::month { return m_; }\n+};\n #endif\n \n // A rudimentary weekday formatter.\n@@ -2168,7 +2222,6 @@ template struct formatter {\n template \n auto format(year y, FormatContext& ctx) const -> decltype(ctx.out()) {\n auto time = std::tm();\n- // std::tm::tm_year is years since 1900\n time.tm_year = static_cast(y) - 1900;\n detail::get_locale loc(true, ctx.locale());\n auto w = detail::tm_writer(loc, ctx.out(), time);\n@@ -2177,6 +2230,125 @@ template struct formatter {\n }\n };\n \n+template struct formatter {\n+ private:\n+ format_specs specs_;\n+ detail::arg_ref width_ref_;\n+ bool localized_ = false;\n+ basic_string_view format_str_;\n+\n+ public:\n+ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n+ -> decltype(ctx.begin()) {\n+ auto it = ctx.begin(), end = ctx.end();\n+ if (it == end || *it == '}') return it;\n+\n+ it = detail::parse_align(it, end, specs_);\n+ if (it == end) return it;\n+\n+ it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx);\n+ if (it == end) return it;\n+\n+ if (it != end && *it == 'L') {\n+ localized_ = true;\n+ ++it;\n+ }\n+\n+ end = detail::parse_chrono_format(it, end, detail::tm_format_checker());\n+ if (end != it) format_str_ = {it, detail::to_unsigned(end - it)};\n+ return end;\n+ }\n+\n+ template \n+ auto format(year_month_day ymd, FormatContext& ctx) const -> decltype(ctx.out()) {\n+ auto specs = specs_;\n+ auto buf = basic_memory_buffer();\n+ auto out = std::back_inserter(buf);\n+ detail::handle_dynamic_spec(specs.width, width_ref_,\n+ ctx);\n+\n+ auto time = std::tm();\n+ time.tm_year = static_cast(ymd.year()) - 1900;\n+ time.tm_mon = static_cast(static_cast(ymd.month())) - 1;\n+ time.tm_mday = static_cast(static_cast(ymd.day()));\n+\n+ auto loc_ref = ctx.locale();\n+ detail::get_locale loc(localized_ || static_cast(loc_ref), loc_ref);\n+ auto w = detail::tm_writer(loc, out, time);\n+ if (format_str_.begin() == format_str_.end())\n+ w.on_iso_date();\n+ else\n+ detail::parse_chrono_format(format_str_.begin(), format_str_.end(), w);\n+ return detail::write(\n+ ctx.out(), basic_string_view(buf.data(), buf.size()), specs);\n+ }\n+};\n+\n+template struct formatter {\n+ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n+ -> decltype(ctx.begin()) {\n+ return ctx.begin();\n+ }\n+\n+ template \n+ auto format(year_month ym, FormatContext& ctx) const -> decltype(ctx.out()) {\n+ auto time = std::tm();\n+ time.tm_year = static_cast(ym.year()) - 1900;\n+ time.tm_mon = static_cast(static_cast(ym.month())) - 1;\n+ detail::get_locale loc(true, ctx.locale());\n+ auto w = detail::tm_writer(loc, ctx.out(), time);\n+ w.on_year(detail::numeric_system::standard);\n+ *w.out() = '/';\n+ auto w2 = detail::tm_writer(loc, w.out(), time);\n+ w2.on_abbr_month();\n+ return w2.out();\n+ }\n+};\n+\n+template struct formatter {\n+ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n+ -> decltype(ctx.begin()) {\n+ return ctx.begin();\n+ }\n+\n+ template \n+ auto format(month_day md, FormatContext& ctx) const -> decltype(ctx.out()) {\n+ auto time = std::tm();\n+ time.tm_mon = static_cast(static_cast(md.month())) - 1;\n+ time.tm_mday = static_cast(static_cast(md.day()));\n+ detail::get_locale loc(true, ctx.locale());\n+ auto w = detail::tm_writer(loc, ctx.out(), time);\n+ w.on_abbr_month();\n+ *w.out() = '/';\n+ auto w2 = detail::tm_writer(loc, w.out(), time);\n+ w2.on_day_of_month(detail::numeric_system::standard);\n+ return w2.out();\n+ }\n+};\n+\n+template struct formatter {\n+ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx)\n+ -> decltype(ctx.begin()) {\n+ return ctx.begin();\n+ }\n+\n+ template \n+ auto format(month_day_last mdl, FormatContext& ctx) const -> decltype(ctx.out()) {\n+ auto time = std::tm();\n+ time.tm_mon = static_cast(static_cast(mdl.month())) - 1;\n+ detail::get_locale loc(true, ctx.locale());\n+ auto w = detail::tm_writer(loc, ctx.out(), time);\n+ w.on_abbr_month();\n+ auto out = w.out();\n+ *out++ = '/';\n+ *out++ = 'l';\n+ *out++ = 'a';\n+ *out++ = 's';\n+ *out++ = 't';\n+ return out;\n+ }\n+};\n+\n template \n struct formatter, Char> {\n private:\n"} +{"instance_id": "fmtlib__fmt-4055", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 7c2a19b4..a148ca0a 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -3990,12 +3990,28 @@ FMT_FORMAT_AS(long, detail::long_type);\n FMT_FORMAT_AS(unsigned long, detail::ulong_type);\n FMT_FORMAT_AS(Char*, const Char*);\n FMT_FORMAT_AS(std::nullptr_t, const void*);\n-FMT_FORMAT_AS(detail::std_string_view, basic_string_view);\n FMT_FORMAT_AS(void*, const void*);\n \n+template \n+struct formatter, Char>\n+ : formatter, Char> {\n+ template \n+ auto format(const detail::std_string_view& val, FormatContext& ctx) const\n+ -> decltype(ctx.out()) {\n+ return formatter, Char>::format(val, ctx);\n+ }\n+};\n+\n template \n class formatter, Char>\n- : public formatter, Char> {};\n+ : public formatter, Char> {\n+ public:\n+ template \n+ auto format(const std::basic_string& val,\n+ FormatContext& ctx) const -> decltype(ctx.out()) {\n+ return formatter, Char>::format(val, ctx);\n+ }\n+};\n \n template \n struct formatter : formatter, Char> {};\n"} +{"instance_id": "fmtlib__fmt-4057", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h\nindex f387903c..98a778d4 100644\n--- a/include/fmt/ranges.h\n+++ b/include/fmt/ranges.h\n@@ -490,7 +490,7 @@ struct range_formatter<\n auto out = ctx.out();\n auto it = detail::range_begin(range);\n auto end = detail::range_end(range);\n- if (is_debug) return write_debug_string(out, it, end);\n+ if (is_debug) return write_debug_string(out, std::move(it), std::move(end));\n \n out = detail::copy(opening_bracket_, out);\n int i = 0;\n"} +{"instance_id": "fmtlib__fmt-4286", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/format.h b/include/fmt/format.h\nindex d1b83d18..7b92c380 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -3960,8 +3960,12 @@ template struct nested_formatter {\n write(basic_appender(buf));\n auto specs = format_specs();\n specs.width = width_;\n- specs.set_fill(\n- basic_string_view(specs_.fill(), specs_.fill_size()));\n+ if (specs_.fill_size() == 1) {\n+ specs.set_fill(specs_.fill_unit());\n+ } else {\n+ specs.set_fill(\n+ basic_string_view(specs_.fill(), specs_.fill_size()));\n+ }\n specs.set_align(specs_.align());\n return detail::write(\n ctx.out(), basic_string_view(buf.data(), buf.size()), specs);\ndiff --git a/include/fmt/std.h b/include/fmt/std.h\nindex b00e4022..72acaa4e 100644\n--- a/include/fmt/std.h\n+++ b/include/fmt/std.h\n@@ -184,7 +184,7 @@ FMT_END_NAMESPACE\n FMT_BEGIN_NAMESPACE\n FMT_EXPORT\n template \n-struct formatter, Char> : nested_formatter {\n+struct formatter, Char> : nested_formatter, Char> {\n private:\n // Functor because C++11 doesn't support generic lambdas.\n struct writer {\n@@ -204,7 +204,7 @@ struct formatter, Char> : nested_formatter {\n template \n auto format(const std::bitset& bs, FormatContext& ctx) const\n -> decltype(ctx.out()) {\n- return write_padded(ctx, writer{bs});\n+ return this->write_padded(ctx, writer{bs});\n }\n };\n \n"} +{"instance_id": "fmtlib__fmt-4310", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/base.h b/include/fmt/base.h\nindex 8c0411bf..638f1af9 100644\n--- a/include/fmt/base.h\n+++ b/include/fmt/base.h\n@@ -2656,6 +2656,7 @@ class context {\n FMT_CONSTEXPR auto arg_id(string_view name) const -> int {\n return args_.get_id(name);\n }\n+ FMT_CONSTEXPR auto args() const -> format_args { return args_; }\n \n // Returns an iterator to the beginning of the output range.\n FMT_CONSTEXPR auto out() const -> iterator { return out_; }\ndiff --git a/include/fmt/format.h b/include/fmt/format.h\nindex 92a1d5b7..681ae2f1 100644\n--- a/include/fmt/format.h\n+++ b/include/fmt/format.h\n@@ -3701,6 +3701,9 @@ template class generic_context {\n constexpr auto arg_id(basic_string_view name) const -> int {\n return args_.get_id(name);\n }\n+ constexpr auto args() const -> basic_format_args {\n+ return args_;\n+ }\n \n constexpr auto out() const -> iterator { return out_; }\n \ndiff --git a/include/fmt/printf.h b/include/fmt/printf.h\nindex e7268401..e2cb8a6e 100644\n--- a/include/fmt/printf.h\n+++ b/include/fmt/printf.h\n@@ -47,6 +47,7 @@ template class basic_printf_context {\n void advance_to(basic_appender) {}\n \n auto locale() -> detail::locale_ref { return {}; }\n+ auto args() const -> basic_format_args { return args_; }\n \n auto arg(int id) const -> basic_format_arg {\n return args_.get(id);\n"} +{"instance_id": "fmtlib__fmt-493", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/build/test/test b/build/test/test\nnew file mode 100644\nindex 00000000..50a6f636\n--- /dev/null\n+++ b/build/test/test\n@@ -0,0 +1 @@\n+there must be something here\n\\ No newline at end of file\ndiff --git a/build/test/test-file b/build/test/test-file\nnew file mode 100644\nindex 00000000..2810a093\n--- /dev/null\n+++ b/build/test/test-file\n@@ -0,0 +1 @@\n+Don't panic!\n\\ No newline at end of file\ndiff --git a/fmt/ostream.h b/fmt/ostream.h\nindex 7e13a5a7..b5833a5f 100644\n--- a/fmt/ostream.h\n+++ b/fmt/ostream.h\n@@ -25,25 +25,29 @@ class FormatBuf : public std::basic_streambuf {\n \n Buffer &buffer_;\n Char *start_;\n+ std::size_t initial_size_;\n \n public:\n- FormatBuf(Buffer &buffer) : buffer_(buffer), start_(&buffer[0]) {\n+ FormatBuf(Buffer &buffer) : buffer_(buffer), initial_size_(0) {\n+ start_ = &buffer_[0];\n this->setp(start_, start_ + buffer_.capacity());\n }\n \n- FormatBuf(Buffer &buffer, Char *start) : buffer_(buffer) , start_(start) {\n- this->setp(start_, start_ + buffer_.capacity());\n+ FormatBuf(Buffer &buffer, Char *start)\n+ : buffer_(buffer), initial_size_(buffer.size()) {\n+ start_ = start;\n+ this->setp(start_, &buffer_[0] + buffer_.capacity());\n }\n \n int_type overflow(int_type ch = traits_type::eof()) FMT_OVERRIDE {\n if (!traits_type::eq_int_type(ch, traits_type::eof())) {\n size_t buf_size = size();\n- buffer_.resize(buf_size);\n- buffer_.reserve(buf_size * 2);\n+ buffer_.resize(initial_size_ + buf_size + 1);\n+ buffer_.reserve(initial_size_ + (buf_size + 1) * 2);\n \n- start_ = &buffer_[0];\n+ start_ = &buffer_[0] + initial_size_;\n start_[buf_size] = traits_type::to_char_type(ch);\n- this->setp(start_+ buf_size + 1, start_ + buf_size * 2);\n+ this->setp(start_ + buf_size + 1, &buffer_[0] + buffer_.capacity());\n }\n return ch;\n }\n@@ -129,13 +133,14 @@ operator<<(BasicWriter &writer, const T &value) {\n FMT_STATIC_ASSERT(internal::is_streamable::value, \"T must be Streamable\");\n \n auto &buffer = writer.buffer();\n- Char *start = &buffer[0] + buffer.size();\n+ std::size_t initial_size = buffer.size();\n+ Char *start = &buffer[0] + initial_size;\n \n internal::FormatBuf format_buf(buffer, start);\n std::basic_ostream output(&format_buf);\n output << value;\n \n- buffer.resize(buffer.size() + format_buf.size());\n+ buffer.resize(initial_size + format_buf.size());\n return writer;\n }\n #endif\n"} +{"instance_id": "fmtlib__fmt-967", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/color.h b/include/fmt/color.h\nindex 20399210..85ffb30f 100644\n--- a/include/fmt/color.h\n+++ b/include/fmt/color.h\n@@ -427,39 +427,57 @@ inline void reset_color(FILE *stream) FMT_NOEXCEPT {\n \n template <\n typename S, typename Char = typename internal::char_t::type>\n-void vprint(const text_style &tf, const S &format,\n+void vprint(const text_style &tf, std::FILE *f, const S &format,\n basic_format_args::type> args) {\n if (tf.has_emphasis()) {\n internal::fputs(\n- internal::make_emphasis(tf.get_emphasis()), stdout);\n+ internal::make_emphasis(tf.get_emphasis()), f);\n }\n if (tf.has_foreground()) {\n internal::fputs(\n- internal::make_foreground_color(tf.get_foreground()), stdout);\n+ internal::make_foreground_color(tf.get_foreground()), f);\n }\n if (tf.has_background()) {\n internal::fputs(\n- internal::make_background_color(tf.get_background()), stdout);\n+ internal::make_background_color(tf.get_background()), f);\n }\n- vprint(format, args);\n- internal::reset_color(stdout);\n+ vprint(f, format, args);\n+ internal::reset_color(f);\n }\n \n /**\n- Formats a string and prints it to stdout using ANSI escape sequences to\n- specify text formatting.\n+ \\rst\n+ Formats a string and prints it to the file *f* using ANSI escape sequences\n+ to specify text formatting.\n Example:\n- fmt::print(fmt::emphasis::bold | fg(fmt::color::red),\n+ fmt::print(fmt::emphasis::bold | fg(fmt::color::red), stderr,\n \"Elapsed time: {0:.2f} seconds\", 1.23);\n+ \\endrst\n */\n template \n typename std::enable_if::value>::type\n-print(const text_style &tf, const String &format_str, const Args & ... args) {\n+print(const text_style &tf, std::FILE *f, const String &format_str,\n+ const Args & ... args) {\n internal::check_format_string(format_str);\n typedef typename internal::char_t::type char_t;\n typedef typename buffer_context::type context_t;\n format_arg_store as{args...};\n- vprint(tf, format_str, basic_format_args(as));\n+ vprint(tf, f, format_str, basic_format_args(as));\n+}\n+\n+/**\n+ \\rst\n+ Formats a string and prints it to stdout using ANSI escape sequences to\n+ specify text formatting.\n+ Example:\n+ fmt::print(fmt::emphasis::bold | fg(fmt::color::red),\n+ \"Elapsed time: {0:.2f} seconds\", 1.23);\n+ \\endrst\n+ */\n+template \n+typename std::enable_if::value>::type\n+print(const text_style &tf, const String &format_str, const Args & ... args) {\n+ print(tf, stdout, format_str, args...);\n }\n \n #endif\n"} +{"instance_id": "fmtlib__fmt-974", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/fmt/color.h b/include/fmt/color.h\nindex 78b78956..c0b4b4e5 100644\n--- a/include/fmt/color.h\n+++ b/include/fmt/color.h\n@@ -191,6 +191,17 @@ enum class color : uint32_t {\n yellow_green = 0x9ACD32 // rgb(154,205,50)\n }; // enum class color\n \n+enum class terminal_color : uint8_t {\n+ black = 0,\n+ red = 1,\n+ green = 2,\n+ yellow = 3,\n+ blue = 4,\n+ magenta = 5,\n+ cyan = 6,\n+ white = 7\n+};\n+\n enum class emphasis : uint8_t {\n bold = 1,\n italic = 1 << 1,\n@@ -219,14 +230,19 @@ struct rgb {\n class text_style {\n public:\n FMT_CONSTEXPR text_style(emphasis em = emphasis()) FMT_NOEXCEPT\n- : set_foreground_color(), set_background_color(), ems(em) {}\n+ : set_foreground_color(), set_background_color(),\n+ foreground_type(color_type::rgb), background_type(color_type::rgb),\n+ ems(em) {}\n \n FMT_CONSTEXPR_DECL\n text_style &operator|=(const text_style &rhs) FMT_NOEXCEPT {\n if (!set_foreground_color) {\n set_foreground_color = rhs.set_foreground_color;\n foreground_color = rhs.foreground_color;\n- } else if (rhs.set_foreground_color) {\n+ foreground_type = rhs.foreground_type;\n+ } else if (rhs.set_foreground_color &&\n+ foreground_type == color_type::rgb &&\n+ rhs.foreground_type == color_type::rgb) {\n foreground_color.r |= rhs.foreground_color.r;\n foreground_color.g |= rhs.foreground_color.g;\n foreground_color.b |= rhs.foreground_color.b;\n@@ -235,7 +251,10 @@ class text_style {\n if (!set_background_color) {\n set_background_color = rhs.set_background_color;\n background_color = rhs.background_color;\n- } else if (rhs.set_background_color) {\n+ background_type = rhs.background_type;\n+ } else if (rhs.set_background_color &&\n+ background_type == color_type::rgb &&\n+ rhs.background_type == color_type::rgb) {\n background_color.r |= rhs.background_color.r;\n background_color.g |= rhs.background_color.g;\n background_color.b |= rhs.background_color.b;\n@@ -255,7 +274,10 @@ class text_style {\n if (!set_foreground_color) {\n set_foreground_color = rhs.set_foreground_color;\n foreground_color = rhs.foreground_color;\n- } else if (rhs.set_foreground_color) {\n+ foreground_type = rhs.foreground_type;\n+ } else if (rhs.set_foreground_color &&\n+ foreground_type == color_type::rgb &&\n+ rhs.foreground_type == color_type::rgb) {\n foreground_color.r &= rhs.foreground_color.r;\n foreground_color.g &= rhs.foreground_color.g;\n foreground_color.b &= rhs.foreground_color.b;\n@@ -264,7 +286,10 @@ class text_style {\n if (!set_background_color) {\n set_background_color = rhs.set_background_color;\n background_color = rhs.background_color;\n- } else if (rhs.set_background_color) {\n+ background_type = rhs.background_type;\n+ } else if (rhs.set_background_color &&\n+ background_type == color_type::rgb &&\n+ rhs.background_type == color_type::rgb) {\n background_color.r &= rhs.background_color.r;\n background_color.g &= rhs.background_color.g;\n background_color.b &= rhs.background_color.b;\n@@ -302,23 +327,56 @@ class text_style {\n return ems;\n }\n \n+ enum class color_type { rgb, terminal };\n+ FMT_CONSTEXPR color_type get_foreground_type() const FMT_NOEXCEPT {\n+ return foreground_type;\n+ }\n+ FMT_CONSTEXPR color_type get_background_type() const FMT_NOEXCEPT {\n+ return background_type;\n+ }\n+\n private:\n+\n FMT_CONSTEXPR text_style(bool is_foreground, rgb text_color) FMT_NOEXCEPT\n- : set_foreground_color(), set_background_color(), ems() {\n+ : set_foreground_color(), set_background_color(),\n+ foreground_type(color_type::rgb), background_type(color_type::rgb),\n+ ems() {\n if (is_foreground) {\n foreground_color = text_color;\n set_foreground_color = true;\n+ foreground_type = color_type::rgb;\n } else {\n background_color = text_color;\n set_background_color = true;\n+ background_type = color_type::rgb;\n+ }\n+ }\n+\n+ FMT_CONSTEXPR text_style(bool is_foreground,\n+ terminal_color text_color) FMT_NOEXCEPT\n+ : set_foreground_color(), set_background_color(),\n+ foreground_type(color_type::rgb), background_type(color_type::rgb),\n+ ems() {\n+ if (is_foreground) {\n+ foreground_color = rgb(static_cast(text_color), 0, 0);\n+ set_foreground_color = true;\n+ foreground_type = color_type::terminal;\n+ } else {\n+ background_color = rgb(static_cast(text_color), 0, 0);\n+ set_background_color = true;\n+ background_type = color_type::terminal;\n }\n }\n \n friend FMT_CONSTEXPR_DECL text_style fg(rgb foreground) FMT_NOEXCEPT;\n friend FMT_CONSTEXPR_DECL text_style bg(rgb background) FMT_NOEXCEPT;\n+ friend FMT_CONSTEXPR_DECL text_style fg(terminal_color foreground) FMT_NOEXCEPT;\n+ friend FMT_CONSTEXPR_DECL text_style bg(terminal_color background) FMT_NOEXCEPT;\n \n rgb foreground_color;\n rgb background_color;\n+ color_type foreground_type;\n+ color_type background_type;\n bool set_foreground_color;\n bool set_background_color;\n emphasis ems;\n@@ -332,6 +390,14 @@ FMT_CONSTEXPR text_style bg(rgb background) FMT_NOEXCEPT {\n return text_style(/*is_foreground=*/false, background);\n }\n \n+FMT_CONSTEXPR text_style fg(terminal_color foreground) FMT_NOEXCEPT {\n+ return text_style(/*is_foreground=*/true, foreground);\n+}\n+\n+FMT_CONSTEXPR text_style bg(terminal_color background) FMT_NOEXCEPT {\n+ return text_style(/*is_foreground=*/false, background);\n+}\n+\n FMT_CONSTEXPR text_style operator|(emphasis lhs, emphasis rhs) FMT_NOEXCEPT {\n return text_style(lhs) | rhs;\n }\n@@ -349,6 +415,15 @@ struct ansi_color_escape {\n to_esc(color.b, buffer + 15, 'm');\n buffer[19] = static_cast(0);\n }\n+ FMT_CONSTEXPR ansi_color_escape(terminal_color c,\n+ const char *esc) FMT_NOEXCEPT {\n+ buffer[0] = static_cast('\\x1b');\n+ buffer[1] = static_cast('[');\n+ buffer[2] = static_cast(esc[0]);\n+ buffer[3] = static_cast('0' + static_cast(c));\n+ buffer[4] = static_cast('m');\n+ buffer[5] = static_cast(0);\n+ }\n FMT_CONSTEXPR ansi_color_escape(emphasis em) FMT_NOEXCEPT {\n uint8_t em_codes[4] = {};\n uint8_t em_bits = static_cast(em);\n@@ -398,6 +473,18 @@ make_background_color(rgb color) FMT_NOEXCEPT {\n return ansi_color_escape(color, internal::data::BACKGROUND_COLOR);\n }\n \n+template \n+FMT_CONSTEXPR ansi_color_escape\n+make_foreground_color(terminal_color c) FMT_NOEXCEPT {\n+ return ansi_color_escape(c, \"3\");\n+}\n+\n+template \n+FMT_CONSTEXPR ansi_color_escape\n+make_background_color(terminal_color c) FMT_NOEXCEPT {\n+ return ansi_color_escape(c, \"4\");\n+}\n+\n template \n FMT_CONSTEXPR ansi_color_escape\n make_emphasis(emphasis em) FMT_NOEXCEPT {\n@@ -446,13 +533,23 @@ void vprint(std::FILE *f, const text_style &ts, const S &format,\n }\n if (ts.has_foreground()) {\n has_style = true;\n- internal::fputs(\n- internal::make_foreground_color(ts.get_foreground()), f);\n+ if (ts.get_foreground_type() == text_style::color_type::terminal)\n+ internal::fputs(\n+ internal::make_foreground_color(\n+ static_cast(ts.get_foreground().r)), f);\n+ else\n+ internal::fputs(\n+ internal::make_foreground_color(ts.get_foreground()), f);\n }\n if (ts.has_background()) {\n has_style = true;\n- internal::fputs(\n- internal::make_background_color(ts.get_background()), f);\n+ if (ts.get_background_type() == text_style::color_type::terminal)\n+ internal::fputs(\n+ internal::make_background_color(\n+ static_cast(ts.get_background().r)), f);\n+ else\n+ internal::fputs(\n+ internal::make_background_color(ts.get_background()), f);\n }\n vprint(f, format, args);\n if (has_style) {\n"} +{"instance_id": "nlohmann__json-1138", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp\nindex ac4cea5f..cb0021df 100644\n--- a/include/nlohmann/detail/conversions/from_json.hpp\n+++ b/include/nlohmann/detail/conversions/from_json.hpp\n@@ -9,6 +9,7 @@\n #include // string\n #include // tuple, make_tuple\n #include // is_arithmetic, is_same, is_enum, underlying_type, is_convertible\n+#include // unordered_map\n #include // pair, declval\n #include // valarray\n \n@@ -208,14 +209,10 @@ void from_json(const BasicJsonType& j, CompatibleObjectType& obj)\n }\n \n auto inner_object = j.template get_ptr();\n- using value_type = typename CompatibleObjectType::value_type;\n- std::transform(\n- inner_object->begin(), inner_object->end(),\n- std::inserter(obj, obj.begin()),\n- [](typename BasicJsonType::object_t::value_type const & p)\n+ for (const auto& p : *inner_object)\n {\n- return value_type(p.first, p.second.template get());\n- });\n+ obj.emplace(p.first, p.second.template get());\n+ }\n }\n \n // overload for arithmetic types, not chosen for basic_json template arguments\n@@ -297,6 +294,63 @@ void from_json(const BasicJsonType& j, std::map& m)\n }\n }\n \n+template ::value>>\n+void from_json(const BasicJsonType& j, std::unordered_map& m)\n+{\n+ if (JSON_UNLIKELY(not j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n+ }\n+ for (const auto& p : j)\n+ {\n+ if (JSON_UNLIKELY(not p.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(p.type_name())));\n+ }\n+ m.emplace(p.at(0).template get(), p.at(1).template get());\n+ }\n+}\n+\n+template ::value>>\n+void from_json(const BasicJsonType& j, std::multimap& m)\n+{\n+ if (JSON_UNLIKELY(not j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n+ }\n+ for (const auto& p : j)\n+ {\n+ if (JSON_UNLIKELY(not p.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(p.type_name())));\n+ }\n+ m.emplace(p.at(0).template get(), p.at(1).template get());\n+ }\n+}\n+\n+template ::value>>\n+void from_json(const BasicJsonType& j, std::unordered_multimap& m)\n+{\n+ if (JSON_UNLIKELY(not j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n+ }\n+ for (const auto& p : j)\n+ {\n+ if (JSON_UNLIKELY(not p.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(p.type_name())));\n+ }\n+ m.emplace(p.at(0).template get(), p.at(1).template get());\n+ }\n+}\n+\n struct from_json_fn\n {\n private:\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 2b387a8b..f38d42bb 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -913,6 +913,7 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept\n #include // string\n #include // tuple, make_tuple\n #include // is_arithmetic, is_same, is_enum, underlying_type, is_convertible\n+#include // unordered_map\n #include // pair, declval\n #include // valarray\n \n@@ -1116,14 +1117,10 @@ void from_json(const BasicJsonType& j, CompatibleObjectType& obj)\n }\n \n auto inner_object = j.template get_ptr();\n- using value_type = typename CompatibleObjectType::value_type;\n- std::transform(\n- inner_object->begin(), inner_object->end(),\n- std::inserter(obj, obj.begin()),\n- [](typename BasicJsonType::object_t::value_type const & p)\n+ for (const auto& p : *inner_object)\n {\n- return value_type(p.first, p.second.template get());\n- });\n+ obj.emplace(p.first, p.second.template get());\n+ }\n }\n \n // overload for arithmetic types, not chosen for basic_json template arguments\n@@ -1205,6 +1202,63 @@ void from_json(const BasicJsonType& j, std::map& m)\n }\n }\n \n+template ::value>>\n+void from_json(const BasicJsonType& j, std::unordered_map& m)\n+{\n+ if (JSON_UNLIKELY(not j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n+ }\n+ for (const auto& p : j)\n+ {\n+ if (JSON_UNLIKELY(not p.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(p.type_name())));\n+ }\n+ m.emplace(p.at(0).template get(), p.at(1).template get());\n+ }\n+}\n+\n+template ::value>>\n+void from_json(const BasicJsonType& j, std::multimap& m)\n+{\n+ if (JSON_UNLIKELY(not j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n+ }\n+ for (const auto& p : j)\n+ {\n+ if (JSON_UNLIKELY(not p.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(p.type_name())));\n+ }\n+ m.emplace(p.at(0).template get(), p.at(1).template get());\n+ }\n+}\n+\n+template ::value>>\n+void from_json(const BasicJsonType& j, std::unordered_multimap& m)\n+{\n+ if (JSON_UNLIKELY(not j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n+ }\n+ for (const auto& p : j)\n+ {\n+ if (JSON_UNLIKELY(not p.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(p.type_name())));\n+ }\n+ m.emplace(p.at(0).template get(), p.at(1).template get());\n+ }\n+}\n+\n struct from_json_fn\n {\n private:\n"} +{"instance_id": "nlohmann__json-1221", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/exceptions.hpp b/include/nlohmann/detail/exceptions.hpp\nindex b73d7b1f..fb21288e 100644\n--- a/include/nlohmann/detail/exceptions.hpp\n+++ b/include/nlohmann/detail/exceptions.hpp\n@@ -208,7 +208,7 @@ json.exception.type_error.301 | cannot create object from initializer list | To\n json.exception.type_error.302 | type must be object, but is array | During implicit or explicit value conversion, the JSON type must be compatible to the target type. For instance, a JSON string can only be converted into string types, but not into numbers or boolean types.\n json.exception.type_error.303 | incompatible ReferenceType for get_ref, actual type is object | To retrieve a reference to a value stored in a @ref basic_json object with @ref get_ref, the type of the reference must match the value type. For instance, for a JSON array, the @a ReferenceType must be @ref array_t&.\n json.exception.type_error.304 | cannot use at() with string | The @ref at() member functions can only be executed for certain JSON types.\n-json.exception.type_error.305 | cannot use operator[] with string | The @ref operator[] member functions can only be executed for certain JSON types.\n+json.exception.type_error.305 | cannot use operator[] with a string argument on object | The @ref operator[] member functions can only be executed for certain JSON types.\n json.exception.type_error.306 | cannot use value() with string | The @ref value() member functions can only be executed for certain JSON types.\n json.exception.type_error.307 | cannot use erase() with string | The @ref erase() member functions can only be executed for certain JSON types.\n json.exception.type_error.308 | cannot use push_back() with string | The @ref push_back() and @ref operator+= member functions can only be executed for certain JSON types.\ndiff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 1f39e3ec..c96768af 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -3097,7 +3097,7 @@ class basic_json\n return m_value.array->operator[](idx);\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with an integer argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -3127,7 +3127,7 @@ class basic_json\n return m_value.array->operator[](idx);\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with an integer argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -3173,7 +3173,7 @@ class basic_json\n return m_value.object->operator[](key);\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -3215,7 +3215,7 @@ class basic_json\n return m_value.object->find(key)->second;\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -3262,7 +3262,7 @@ class basic_json\n return m_value.object->operator[](key);\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -3305,7 +3305,7 @@ class basic_json\n return m_value.object->find(key)->second;\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument on \" + std::string(type_name())));\n }\n \n /*!\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex ac27d3d4..0ccd32b0 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -746,7 +746,7 @@ json.exception.type_error.301 | cannot create object from initializer list | To\n json.exception.type_error.302 | type must be object, but is array | During implicit or explicit value conversion, the JSON type must be compatible to the target type. For instance, a JSON string can only be converted into string types, but not into numbers or boolean types.\n json.exception.type_error.303 | incompatible ReferenceType for get_ref, actual type is object | To retrieve a reference to a value stored in a @ref basic_json object with @ref get_ref, the type of the reference must match the value type. For instance, for a JSON array, the @a ReferenceType must be @ref array_t&.\n json.exception.type_error.304 | cannot use at() with string | The @ref at() member functions can only be executed for certain JSON types.\n-json.exception.type_error.305 | cannot use operator[] with string | The @ref operator[] member functions can only be executed for certain JSON types.\n+json.exception.type_error.305 | cannot use operator[] with a string argument on object | The @ref operator[] member functions can only be executed for certain JSON types.\n json.exception.type_error.306 | cannot use value() with string | The @ref value() member functions can only be executed for certain JSON types.\n json.exception.type_error.307 | cannot use erase() with string | The @ref erase() member functions can only be executed for certain JSON types.\n json.exception.type_error.308 | cannot use push_back() with string | The @ref push_back() and @ref operator+= member functions can only be executed for certain JSON types.\n@@ -14204,7 +14204,7 @@ class basic_json\n return m_value.array->operator[](idx);\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with an integer argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -14234,7 +14234,7 @@ class basic_json\n return m_value.array->operator[](idx);\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with an integer argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -14280,7 +14280,7 @@ class basic_json\n return m_value.object->operator[](key);\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -14322,7 +14322,7 @@ class basic_json\n return m_value.object->find(key)->second;\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -14369,7 +14369,7 @@ class basic_json\n return m_value.object->operator[](key);\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument on \" + std::string(type_name())));\n }\n \n /*!\n@@ -14412,7 +14412,7 @@ class basic_json\n return m_value.object->find(key)->second;\n }\n \n- JSON_THROW(type_error::create(305, \"cannot use operator[] with \" + std::string(type_name())));\n+ JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument on \" + std::string(type_name())));\n }\n \n /*!\n"} +{"instance_id": "nlohmann__json-1301", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp\nindex 358b1c65..4c28792b 100644\n--- a/include/nlohmann/detail/conversions/from_json.hpp\n+++ b/include/nlohmann/detail/conversions/from_json.hpp\n@@ -211,7 +211,7 @@ void from_json_array_impl(const BasicJsonType& j, CompatibleArrayType& arr,\n template ::value and\n- not is_compatible_object_type::value and\n+ not is_constructible_object_type::value and\n not is_compatible_string_type::value and\n not is_basic_json::value,\n int > = 0 >\n@@ -231,7 +231,7 @@ void())\n }\n \n template::value, int> = 0>\n+ enable_if_t::value, int> = 0>\n void from_json(const BasicJsonType& j, CompatibleObjectType& obj)\n {\n if (JSON_UNLIKELY(not j.is_object()))\ndiff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp\nindex 1a1a1744..12f91714 100644\n--- a/include/nlohmann/detail/meta/type_traits.hpp\n+++ b/include/nlohmann/detail/meta/type_traits.hpp\n@@ -247,5 +247,30 @@ struct is_compatible_type_impl <\n template \n struct is_compatible_type\n : is_compatible_type_impl {};\n+\n+template \n+struct is_constructible_object_type_impl : std::false_type {};\n+\n+template \n+struct is_constructible_object_type_impl <\n+ BasicJsonType, CompatibleObjectType,\n+ enable_if_t::value and\n+ is_detected::value >>\n+{\n+ using object_t = typename BasicJsonType::object_t;\n+\n+ static constexpr bool value =\n+ std::is_constructible::value and\n+ (std::is_constructible::value or\n+ has_from_json::value);\n+};\n+\n+template \n+struct is_constructible_object_type\n+ : is_constructible_object_type_impl {};\n } // namespace detail\n } // namespace nlohmann\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex dc206d30..f492edcf 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -607,6 +607,31 @@ struct is_compatible_type_impl <\n template \n struct is_compatible_type\n : is_compatible_type_impl {};\n+\n+template \n+struct is_constructible_object_type_impl : std::false_type {};\n+\n+template \n+struct is_constructible_object_type_impl <\n+ BasicJsonType, CompatibleObjectType,\n+ enable_if_t::value and\n+ is_detected::value >>\n+{\n+ using object_t = typename BasicJsonType::object_t;\n+\n+ static constexpr bool value =\n+ std::is_constructible::value and\n+ (std::is_constructible::value or\n+ has_from_json::value);\n+};\n+\n+template \n+struct is_constructible_object_type\n+ : is_constructible_object_type_impl {};\n } // namespace detail\n } // namespace nlohmann\n \n@@ -1283,7 +1308,7 @@ void from_json_array_impl(const BasicJsonType& j, CompatibleArrayType& arr,\n template ::value and\n- not is_compatible_object_type::value and\n+ not is_constructible_object_type::value and\n not is_compatible_string_type::value and\n not is_basic_json::value,\n int > = 0 >\n@@ -1303,7 +1328,7 @@ void())\n }\n \n template::value, int> = 0>\n+ enable_if_t::value, int> = 0>\n void from_json(const BasicJsonType& j, CompatibleObjectType& obj)\n {\n if (JSON_UNLIKELY(not j.is_object()))\n"} +{"instance_id": "nlohmann__json-1303", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp\nindex b93dc6a3..ab1d9244 100644\n--- a/include/nlohmann/detail/output/binary_writer.hpp\n+++ b/include/nlohmann/detail/output/binary_writer.hpp\n@@ -767,7 +767,7 @@ class binary_writer\n }\n else\n {\n- JSON_THROW(out_of_range::create(407, \"number overflow serializing \" + std::to_string(n)));\n+ JSON_THROW(out_of_range::create(407, \"number overflow serializing \" + std::to_string(n) + \"; UBJSON does not support unsigned integers beyond int64_t\"));\n }\n }\n \n@@ -821,7 +821,7 @@ class binary_writer\n // LCOV_EXCL_START\n else\n {\n- JSON_THROW(out_of_range::create(407, \"number overflow serializing \" + std::to_string(n)));\n+ JSON_THROW(out_of_range::create(407, \"number overflow serializing \" + std::to_string(n) + \"; UBJSON does not support integers beyond int64_t\"));\n }\n // LCOV_EXCL_STOP\n }\n@@ -833,7 +833,8 @@ class binary_writer\n integer limits. In case a number exceeds the limits of int64_t,\n this will be detected by a later call to function\n write_number_with_ubjson_prefix. Therefore, we return 'L' for any\n- value that does not fit the previous limits.\n+ value that does not fit the previous limits. For unsigned integers,\n+ this may lead to a later exception when the value exceeds int64_t.\n */\n CharType ubjson_prefix(const BasicJsonType& j) const noexcept\n {\n@@ -885,7 +886,11 @@ class binary_writer\n {\n return 'l';\n }\n- // no check and assume int64_t (see note above)\n+ if (j.m_value.number_unsigned <= static_cast((std::numeric_limits::max)()))\n+ {\n+ return 'L';\n+ }\n+ // overflow - value cannot be represented in UBJSON\n return 'L';\n }\n \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex dc206d30..e6e8038f 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -8670,7 +8670,7 @@ class binary_writer\n }\n else\n {\n- JSON_THROW(out_of_range::create(407, \"number overflow serializing \" + std::to_string(n)));\n+ JSON_THROW(out_of_range::create(407, \"number overflow serializing \" + std::to_string(n) + \"; UBJSON does not support unsigned integers beyond int64_t\"));\n }\n }\n \n@@ -8724,7 +8724,7 @@ class binary_writer\n // LCOV_EXCL_START\n else\n {\n- JSON_THROW(out_of_range::create(407, \"number overflow serializing \" + std::to_string(n)));\n+ JSON_THROW(out_of_range::create(407, \"number overflow serializing \" + std::to_string(n) + \"; UBJSON does not support integers beyond int64_t\"));\n }\n // LCOV_EXCL_STOP\n }\n@@ -8736,7 +8736,8 @@ class binary_writer\n integer limits. In case a number exceeds the limits of int64_t,\n this will be detected by a later call to function\n write_number_with_ubjson_prefix. Therefore, we return 'L' for any\n- value that does not fit the previous limits.\n+ value that does not fit the previous limits. For unsigned integers,\n+ this may lead to a later exception when the value exceeds int64_t.\n */\n CharType ubjson_prefix(const BasicJsonType& j) const noexcept\n {\n@@ -8788,7 +8789,11 @@ class binary_writer\n {\n return 'l';\n }\n- // no check and assume int64_t (see note above)\n+ if (j.m_value.number_unsigned <= static_cast((std::numeric_limits::max)()))\n+ {\n+ return 'L';\n+ }\n+ // overflow - value cannot be represented in UBJSON\n return 'L';\n }\n \n"} +{"instance_id": "nlohmann__json-1314", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/doc/examples/dump.cpp b/doc/examples/dump.cpp\nindex 4deb64a1..8ad6beb6 100644\n--- a/doc/examples/dump.cpp\n+++ b/doc/examples/dump.cpp\n@@ -31,12 +31,5 @@ int main()\n \n // create JSON value with invalid UTF-8 byte sequence\n json j_invalid = \"\\xF0\\xA4\\xAD\\xC0\";\n- try\n- {\n- std::cout << j_invalid.dump() << std::endl;\n- }\n- catch (json::type_error& e)\n- {\n- std::cout << e.what() << std::endl;\n- }\n+ std::cout << j_invalid.dump() << std::endl;\n }\ndiff --git a/doc/examples/dump.output b/doc/examples/dump.output\nindex c94eeb02..331062dd 100644\n--- a/doc/examples/dump.output\n+++ b/doc/examples/dump.output\n@@ -50,4 +50,4 @@ arrays:\n strings:\n \"Hellö 😀!\"\n \"Hell\\u00f6 \\ud83d\\ude00!\"\n-[json.exception.type_error.316] invalid UTF-8 byte at index 3: 0xC0\n+\"\\uFFFD\\uFFFD\"\ndiff --git a/include/nlohmann/detail/exceptions.hpp b/include/nlohmann/detail/exceptions.hpp\nindex dd046804..83ac236b 100644\n--- a/include/nlohmann/detail/exceptions.hpp\n+++ b/include/nlohmann/detail/exceptions.hpp\n@@ -235,7 +235,7 @@ json.exception.type_error.312 | cannot use update() with string | The @ref updat\n json.exception.type_error.313 | invalid value to unflatten | The @ref unflatten function converts an object whose keys are JSON Pointers back into an arbitrary nested JSON value. The JSON Pointers must not overlap, because then the resulting value would not be well defined.\n json.exception.type_error.314 | only objects can be unflattened | The @ref unflatten function only works for an object whose keys are JSON Pointers.\n json.exception.type_error.315 | values in object must be primitive | The @ref unflatten function only works for an object whose keys are JSON Pointers and whose values are primitive.\n-json.exception.type_error.316 | invalid UTF-8 byte at index 10: 0x7E | The @ref dump function only works with UTF-8 encoded strings; that is, if you assign a `std::string` to a JSON value, make sure it is UTF-8 encoded. |\n+json.exception.type_error.316 | invalid UTF-8 byte at index 10: 0x7E | The @ref dump function replaces invalid UTF-8 bytes with the Unicode replacement character `\\uFFFD`. This exception is no longer thrown. |\n \n @liveexample{The following code shows how a `type_error` exception can be\n caught.,type_error}\ndiff --git a/include/nlohmann/detail/output/serializer.hpp b/include/nlohmann/detail/output/serializer.hpp\nindex bb74a86e..c8f601be 100644\n--- a/include/nlohmann/detail/output/serializer.hpp\n+++ b/include/nlohmann/detail/output/serializer.hpp\n@@ -286,6 +286,7 @@ class serializer\n uint32_t codepoint;\n uint8_t state = UTF8_ACCEPT;\n std::size_t bytes = 0; // number of bytes written to string_buffer\n+ std::size_t bytes_after_last_accept = 0; // number of bytes written after last accepted code point\n \n for (std::size_t i = 0; i < s.size(); ++i)\n {\n@@ -383,15 +384,50 @@ class serializer\n {\n o->write_characters(string_buffer.data(), bytes);\n bytes = 0;\n+ bytes_after_last_accept = 0;\n+ }\n+ else\n+ {\n+ bytes_after_last_accept = bytes;\n }\n break;\n }\n \n case UTF8_REJECT: // decode found invalid UTF-8 byte\n {\n- std::string sn(3, '\\0');\n- snprintf(&sn[0], sn.size(), \"%.2X\", byte);\n- JSON_THROW(type_error::create(316, \"invalid UTF-8 byte at index \" + std::to_string(i) + \": 0x\" + sn));\n+ // undo bytes that were part of the incomplete sequence\n+ bytes = bytes_after_last_accept;\n+ // write replacement character for invalid UTF-8 byte\n+ string_buffer[bytes++] = '\\\\';\n+ string_buffer[bytes++] = 'u';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'D';\n+ // resync at the rejected byte: reset state and re-decode\n+ state = UTF8_ACCEPT;\n+ decode(state, codepoint, byte);\n+ // if the byte itself is also rejected (e.g., a bare continuation byte),\n+ // write another replacement character and skip it\n+ if (state == UTF8_REJECT)\n+ {\n+ string_buffer[bytes++] = '\\\\';\n+ string_buffer[bytes++] = 'u';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'D';\n+ state = UTF8_ACCEPT;\n+ }\n+ bytes_after_last_accept = bytes;\n+ // write buffer if needed\n+ if (string_buffer.size() - bytes < 13)\n+ {\n+ o->write_characters(string_buffer.data(), bytes);\n+ bytes = 0;\n+ bytes_after_last_accept = 0;\n+ }\n+ break;\n }\n \n default: // decode found yet incomplete multi-byte code point\n@@ -417,9 +453,14 @@ class serializer\n else\n {\n // we finish reading, but do not accept: string was incomplete\n- std::string sn(3, '\\0');\n- snprintf(&sn[0], sn.size(), \"%.2X\", static_cast(s.back()));\n- JSON_THROW(type_error::create(316, \"incomplete UTF-8 string; last byte: 0x\" + sn));\n+ // undo bytes that were part of the incomplete sequence\n+ bytes = bytes_after_last_accept;\n+ // write buffer and replacement character for incomplete UTF-8 sequence\n+ if (bytes > 0)\n+ {\n+ o->write_characters(string_buffer.data(), bytes);\n+ }\n+ o->write_characters(\"\\\\uFFFD\", 6);\n }\n }\n \ndiff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 619fd9e6..08983001 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -1935,8 +1935,8 @@ class basic_json\n \n @return string containing the serialization of the JSON value\n \n- @throw type_error.316 if a string stored inside the JSON value is not\n- UTF-8 encoded\n+ @note Invalid UTF-8 bytes in strings are replaced with the Unicode\n+ replacement character `\\uFFFD`.\n \n @complexity Linear.\n \n@@ -5916,8 +5916,8 @@ class basic_json\n \n @return the stream @a o\n \n- @throw type_error.316 if a string stored inside the JSON value is not\n- UTF-8 encoded\n+ @note Invalid UTF-8 bytes in strings are replaced with the Unicode\n+ replacement character `\\uFFFD`.\n \n @complexity Linear.\n \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 1de78dfc..dbe18d36 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -977,7 +977,7 @@ json.exception.type_error.312 | cannot use update() with string | The @ref updat\n json.exception.type_error.313 | invalid value to unflatten | The @ref unflatten function converts an object whose keys are JSON Pointers back into an arbitrary nested JSON value. The JSON Pointers must not overlap, because then the resulting value would not be well defined.\n json.exception.type_error.314 | only objects can be unflattened | The @ref unflatten function only works for an object whose keys are JSON Pointers.\n json.exception.type_error.315 | values in object must be primitive | The @ref unflatten function only works for an object whose keys are JSON Pointers and whose values are primitive.\n-json.exception.type_error.316 | invalid UTF-8 byte at index 10: 0x7E | The @ref dump function only works with UTF-8 encoded strings; that is, if you assign a `std::string` to a JSON value, make sure it is UTF-8 encoded. |\n+json.exception.type_error.316 | invalid UTF-8 byte at index 10: 0x7E | The @ref dump function replaces invalid UTF-8 bytes with the Unicode replacement character `\\uFFFD`. This exception is no longer thrown. |\n \n @liveexample{The following code shows how a `type_error` exception can be\n caught.,type_error}\n@@ -10380,6 +10380,7 @@ class serializer\n uint32_t codepoint;\n uint8_t state = UTF8_ACCEPT;\n std::size_t bytes = 0; // number of bytes written to string_buffer\n+ std::size_t bytes_after_last_accept = 0; // number of bytes written after last accepted code point\n \n for (std::size_t i = 0; i < s.size(); ++i)\n {\n@@ -10477,15 +10478,50 @@ class serializer\n {\n o->write_characters(string_buffer.data(), bytes);\n bytes = 0;\n+ bytes_after_last_accept = 0;\n+ }\n+ else\n+ {\n+ bytes_after_last_accept = bytes;\n }\n break;\n }\n \n case UTF8_REJECT: // decode found invalid UTF-8 byte\n {\n- std::string sn(3, '\\0');\n- snprintf(&sn[0], sn.size(), \"%.2X\", byte);\n- JSON_THROW(type_error::create(316, \"invalid UTF-8 byte at index \" + std::to_string(i) + \": 0x\" + sn));\n+ // undo bytes that were part of the incomplete sequence\n+ bytes = bytes_after_last_accept;\n+ // write replacement character for invalid UTF-8 byte\n+ string_buffer[bytes++] = '\\\\';\n+ string_buffer[bytes++] = 'u';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'D';\n+ // resync at the rejected byte: reset state and re-decode\n+ state = UTF8_ACCEPT;\n+ decode(state, codepoint, byte);\n+ // if the byte itself is also rejected (e.g., a bare continuation byte),\n+ // write another replacement character and skip it\n+ if (state == UTF8_REJECT)\n+ {\n+ string_buffer[bytes++] = '\\\\';\n+ string_buffer[bytes++] = 'u';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'F';\n+ string_buffer[bytes++] = 'D';\n+ state = UTF8_ACCEPT;\n+ }\n+ bytes_after_last_accept = bytes;\n+ // write buffer if needed\n+ if (string_buffer.size() - bytes < 13)\n+ {\n+ o->write_characters(string_buffer.data(), bytes);\n+ bytes = 0;\n+ bytes_after_last_accept = 0;\n+ }\n+ break;\n }\n \n default: // decode found yet incomplete multi-byte code point\n@@ -10511,9 +10547,14 @@ class serializer\n else\n {\n // we finish reading, but do not accept: string was incomplete\n- std::string sn(3, '\\0');\n- snprintf(&sn[0], sn.size(), \"%.2X\", static_cast(s.back()));\n- JSON_THROW(type_error::create(316, \"incomplete UTF-8 string; last byte: 0x\" + sn));\n+ // undo bytes that were part of the incomplete sequence\n+ bytes = bytes_after_last_accept;\n+ // write buffer and replacement character for incomplete UTF-8 sequence\n+ if (bytes > 0)\n+ {\n+ o->write_characters(string_buffer.data(), bytes);\n+ }\n+ o->write_characters(\"\\\\uFFFD\", 6);\n }\n }\n \n@@ -13419,8 +13460,8 @@ class basic_json\n \n @return string containing the serialization of the JSON value\n \n- @throw type_error.316 if a string stored inside the JSON value is not\n- UTF-8 encoded\n+ @note Invalid UTF-8 bytes in strings are replaced with the Unicode\n+ replacement character `\\uFFFD`.\n \n @complexity Linear.\n \n@@ -17400,8 +17441,8 @@ class basic_json\n \n @return the stream @a o\n \n- @throw type_error.316 if a string stored inside the JSON value is not\n- UTF-8 encoded\n+ @note Invalid UTF-8 bytes in strings are replaced with the Unicode\n+ replacement character `\\uFFFD`.\n \n @complexity Linear.\n \n"} +{"instance_id": "nlohmann__json-1323", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/macro_scope.hpp b/include/nlohmann/detail/macro_scope.hpp\nindex 06805b1a..d65abcd5 100644\n--- a/include/nlohmann/detail/macro_scope.hpp\n+++ b/include/nlohmann/detail/macro_scope.hpp\n@@ -102,3 +102,17 @@\n basic_json\n+\n+#define JSON_SERIALIZE_ENUM(ENUM_TYPE, ...) \\\n+ inline void to_json(nlohmann::json& j, const ENUM_TYPE& e) \\\n+ { \\\n+ static const nlohmann::multi_bimap m = \\\n+ __VA_ARGS__; \\\n+ j = m.at_right(e); \\\n+ } \\\n+ inline void from_json(const nlohmann::json& j, ENUM_TYPE& e) \\\n+ { \\\n+ static const nlohmann::multi_bimap m = \\\n+ __VA_ARGS__; \\\n+ e = m.at_left(j); \\\n+ }\ndiff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 0a46d0c2..f36e3436 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -69,6 +69,7 @@ SOFTWARE.\n #include \n #include \n #include \n+#include \n \n /*!\n @brief namespace for Niels Lohmann\ndiff --git a/include/nlohmann/multi_bimap.hpp b/include/nlohmann/multi_bimap.hpp\nnew file mode 100644\nindex 00000000..613e7335\n--- /dev/null\n+++ b/include/nlohmann/multi_bimap.hpp\n@@ -0,0 +1,48 @@\n+#pragma once\n+\n+#include \n+#include \n+\n+namespace nlohmann\n+{\n+template\n+class multi_bimap\n+{\n+ public:\n+ using left_type = TL;\n+ using right_type = TR;\n+ using value_type = std::pair;\n+ using container_type = std::vector;\n+\n+ multi_bimap(std::initializer_list init)\n+ : m_pairs(init)\n+ {}\n+\n+ right_type at_right(const left_type& key) const\n+ {\n+ for (const auto& p : m_pairs)\n+ {\n+ if (p.first == key)\n+ {\n+ return p.second;\n+ }\n+ }\n+ return m_pairs.empty() ? right_type{} : m_pairs.front().second;\n+ }\n+\n+ left_type at_left(const right_type& key) const\n+ {\n+ for (const auto& p : m_pairs)\n+ {\n+ if (p.second == key)\n+ {\n+ return p.first;\n+ }\n+ }\n+ return m_pairs.empty() ? left_type{} : m_pairs.front().first;\n+ }\n+\n+ private:\n+ container_type m_pairs;\n+};\n+}\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 79f74e4c..94e7c38e 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -218,6 +218,20 @@ using json = basic_json<>;\n NumberIntegerType, NumberUnsignedType, NumberFloatType, \\\n AllocatorType, JSONSerializer>\n \n+#define JSON_SERIALIZE_ENUM(ENUM_TYPE, ...) \\\n+ inline void to_json(nlohmann::json& j, const ENUM_TYPE& e) \\\n+ { \\\n+ static const nlohmann::multi_bimap m = \\\n+ __VA_ARGS__; \\\n+ j = m.at_right(e); \\\n+ } \\\n+ inline void from_json(const nlohmann::json& j, ENUM_TYPE& e) \\\n+ { \\\n+ static const nlohmann::multi_bimap m = \\\n+ __VA_ARGS__; \\\n+ e = m.at_left(j); \\\n+ }\n+\n // #include \n \n \n@@ -12262,6 +12276,56 @@ struct adl_serializer\n };\n } // namespace nlohmann\n \n+// #include \n+\n+\n+#include \n+#include \n+\n+namespace nlohmann\n+{\n+template\n+class multi_bimap\n+{\n+ public:\n+ using left_type = TL;\n+ using right_type = TR;\n+ using value_type = std::pair;\n+ using container_type = std::vector;\n+\n+ multi_bimap(std::initializer_list init)\n+ : m_pairs(init)\n+ {}\n+\n+ right_type at_right(const left_type& key) const\n+ {\n+ for (const auto& p : m_pairs)\n+ {\n+ if (p.first == key)\n+ {\n+ return p.second;\n+ }\n+ }\n+ return m_pairs.empty() ? right_type{} : m_pairs.front().second;\n+ }\n+\n+ left_type at_left(const right_type& key) const\n+ {\n+ for (const auto& p : m_pairs)\n+ {\n+ if (p.second == key)\n+ {\n+ return p.first;\n+ }\n+ }\n+ return m_pairs.empty() ? left_type{} : m_pairs.front().first;\n+ }\n+\n+ private:\n+ container_type m_pairs;\n+};\n+}\n+\n \n /*!\n @brief namespace for Niels Lohmann\ndiff --git a/test_enum2.cpp b/test_enum2.cpp\nnew file mode 100644\nindex 00000000..2bb6d64c\n--- /dev/null\n+++ b/test_enum2.cpp\n@@ -0,0 +1,23 @@\n+#include \n+#include \n+\n+enum TaskState {\n+ TS_STOPPED,\n+ TS_RUNNING,\n+ TS_COMPLETED,\n+ TS_INVALID=-1,\n+};\n+\n+JSON_SERIALIZE_ENUM( TaskState, ({\n+ {TS_INVALID, nullptr},\n+ {TS_STOPPED, \"stopped\"},\n+ {TS_RUNNING, \"running\"},\n+ {TS_COMPLETED, \"completed\"},\n+}))\n+\n+int main()\n+{\n+ nlohmann::json j = TS_STOPPED;\n+ std::cout << j << std::endl;\n+ return 0;\n+}\n"} +{"instance_id": "nlohmann__json-1343", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/input/input_adapters.hpp b/include/nlohmann/detail/input/input_adapters.hpp\nindex 79a19c17..6ab5efca 100644\n--- a/include/nlohmann/detail/input/input_adapters.hpp\n+++ b/include/nlohmann/detail/input/input_adapters.hpp\n@@ -60,8 +60,16 @@ class input_stream_adapter : public input_adapter_protocol\n ~input_stream_adapter() override\n {\n // clear stream flags; we use underlying streambuf I/O, do not\n- // maintain ifstream flags\n- is.clear();\n+ // maintain ifstream flags, but set eofbit if the streambuf\n+ // was exhausted, so callers can detect end-of-input\n+ if (sb.sgetc() == std::char_traits::eof())\n+ {\n+ is.clear(std::ios::eofbit);\n+ }\n+ else\n+ {\n+ is.clear();\n+ }\n }\n \n explicit input_stream_adapter(std::istream& i)\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 931e7b36..0bf765c3 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -2109,8 +2109,16 @@ class input_stream_adapter : public input_adapter_protocol\n ~input_stream_adapter() override\n {\n // clear stream flags; we use underlying streambuf I/O, do not\n- // maintain ifstream flags\n- is.clear();\n+ // maintain ifstream flags, but set eofbit if the streambuf\n+ // was exhausted, so callers can detect end-of-input\n+ if (sb.sgetc() == std::char_traits::eof())\n+ {\n+ is.clear(std::ios::eofbit);\n+ }\n+ else\n+ {\n+ is.clear();\n+ }\n }\n \n explicit input_stream_adapter(std::istream& i)\n"} +{"instance_id": "nlohmann__json-1446", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/output/serializer.hpp b/include/nlohmann/detail/output/serializer.hpp\nindex 4f7e1ede..23cc8266 100644\n--- a/include/nlohmann/detail/output/serializer.hpp\n+++ b/include/nlohmann/detail/output/serializer.hpp\n@@ -441,6 +441,13 @@ class serializer\n // add a replacement character\n if (ensure_ascii)\n {\n+ // there must be 6 bytes left, as the\n+ // replacement character is \"\\ufffd\"\n+ if (string_buffer.size() - bytes < 6)\n+ {\n+ o->write_characters(string_buffer.data(), bytes);\n+ bytes = 0;\n+ }\n string_buffer[bytes++] = '\\\\';\n string_buffer[bytes++] = 'u';\n string_buffer[bytes++] = 'f';\n@@ -450,6 +457,13 @@ class serializer\n }\n else\n {\n+ // there must be 3 bytes left, as the\n+ // replacement character is \"\\xEF\\xBF\\xBD\"\n+ if (string_buffer.size() - bytes < 3)\n+ {\n+ o->write_characters(string_buffer.data(), bytes);\n+ bytes = 0;\n+ }\n string_buffer[bytes++] = detail::binary_writer::to_char_type('\\xEF');\n string_buffer[bytes++] = detail::binary_writer::to_char_type('\\xBF');\n string_buffer[bytes++] = detail::binary_writer::to_char_type('\\xBD');\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex ef4b0cd0..476acc05 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -11331,6 +11331,13 @@ class serializer\n // add a replacement character\n if (ensure_ascii)\n {\n+ // there must be 6 bytes left, as the\n+ // replacement character is \"\\ufffd\"\n+ if (string_buffer.size() - bytes < 6)\n+ {\n+ o->write_characters(string_buffer.data(), bytes);\n+ bytes = 0;\n+ }\n string_buffer[bytes++] = '\\\\';\n string_buffer[bytes++] = 'u';\n string_buffer[bytes++] = 'f';\n@@ -11340,6 +11347,13 @@ class serializer\n }\n else\n {\n+ // there must be 3 bytes left, as the\n+ // replacement character is \"\\xEF\\xBF\\xBD\"\n+ if (string_buffer.size() - bytes < 3)\n+ {\n+ o->write_characters(string_buffer.data(), bytes);\n+ bytes = 0;\n+ }\n string_buffer[bytes++] = detail::binary_writer::to_char_type('\\xEF');\n string_buffer[bytes++] = detail::binary_writer::to_char_type('\\xBF');\n string_buffer[bytes++] = detail::binary_writer::to_char_type('\\xBD');\n"} +{"instance_id": "nlohmann__json-1555", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp\nindex 8f8162ff..b6f8cdd2 100644\n--- a/include/nlohmann/detail/conversions/from_json.hpp\n+++ b/include/nlohmann/detail/conversions/from_json.hpp\n@@ -136,6 +136,7 @@ void from_json(const BasicJsonType& j, std::forward_list& l)\n {\n JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n }\n+ l.clear();\n std::transform(j.rbegin(), j.rend(),\n std::front_inserter(l), [](const BasicJsonType & i)\n {\n@@ -182,6 +183,7 @@ auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, p\n {\n using std::end;\n \n+ arr.clear();\n arr.reserve(j.size());\n std::transform(j.begin(), j.end(),\n std::inserter(arr, end(arr)), [](const BasicJsonType & i)\n@@ -198,6 +200,7 @@ void from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr,\n {\n using std::end;\n \n+ arr.clear();\n std::transform(\n j.begin(), j.end(), std::inserter(arr, end(arr)),\n [](const BasicJsonType & i)\n@@ -241,9 +244,10 @@ void from_json(const BasicJsonType& j, ConstructibleObjectType& obj)\n \n auto inner_object = j.template get_ptr();\n using value_type = typename ConstructibleObjectType::value_type;\n+ obj.clear();\n std::transform(\n inner_object->begin(), inner_object->end(),\n- std::inserter(obj, obj.begin()),\n+ std::inserter(obj, obj.end()),\n [](typename BasicJsonType::object_t::value_type const & p)\n {\n return value_type(p.first, p.second.template get());\n@@ -319,6 +323,7 @@ void from_json(const BasicJsonType& j, std::map&\n {\n JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n }\n+ m.clear();\n for (const auto& p : j)\n {\n if (JSON_UNLIKELY(not p.is_array()))\n@@ -338,6 +343,7 @@ void from_json(const BasicJsonType& j, std::unordered_map& l)\n {\n JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n }\n+ l.clear();\n std::transform(j.rbegin(), j.rend(),\n std::front_inserter(l), [](const BasicJsonType & i)\n {\n@@ -1457,6 +1458,7 @@ auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, p\n {\n using std::end;\n \n+ arr.clear();\n arr.reserve(j.size());\n std::transform(j.begin(), j.end(),\n std::inserter(arr, end(arr)), [](const BasicJsonType & i)\n@@ -1473,6 +1475,7 @@ void from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr,\n {\n using std::end;\n \n+ arr.clear();\n std::transform(\n j.begin(), j.end(), std::inserter(arr, end(arr)),\n [](const BasicJsonType & i)\n@@ -1516,9 +1519,10 @@ void from_json(const BasicJsonType& j, ConstructibleObjectType& obj)\n \n auto inner_object = j.template get_ptr();\n using value_type = typename ConstructibleObjectType::value_type;\n+ obj.clear();\n std::transform(\n inner_object->begin(), inner_object->end(),\n- std::inserter(obj, obj.begin()),\n+ std::inserter(obj, obj.end()),\n [](typename BasicJsonType::object_t::value_type const & p)\n {\n return value_type(p.first, p.second.template get());\n@@ -1594,6 +1598,7 @@ void from_json(const BasicJsonType& j, std::map&\n {\n JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name())));\n }\n+ m.clear();\n for (const auto& p : j)\n {\n if (JSON_UNLIKELY(not p.is_array()))\n@@ -1613,6 +1618,7 @@ void from_json(const BasicJsonType& j, std::unordered_map= pos_ && buffer_[idx] == '\\\\')\n+ {\n+ ++backslashCount;\n+ if (idx == 0)\n+ {\n+ break;\n+ }\n+ --idx;\n+ }\n+\n+ if (backslashCount % 2 == 0)\n+ {\n+ break;\n+ }\n+\n quotepos_ = buffer_.find_first_of(\"\\\"\", quotepos_ + 1);\n }\n \n"} +{"instance_id": "nlohmann__json-1821", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/macro_scope.hpp b/include/nlohmann/detail/macro_scope.hpp\nindex 2be7581d..639cbecc 100644\n--- a/include/nlohmann/detail/macro_scope.hpp\n+++ b/include/nlohmann/detail/macro_scope.hpp\n@@ -73,6 +73,18 @@\n #define JSON_INTERNAL_CATCH JSON_INTERNAL_CATCH_USER\n #endif\n \n+namespace nlohmann\n+{\n+namespace detail\n+{\n+template\n+bool json_equals(const BasicJsonType& lhs, const BasicJsonType& rhs) noexcept\n+{\n+ return lhs == rhs;\n+}\n+}\n+}\n+\n /*!\n @brief macro to briefly define a mapping between an enum and JSON\n @def NLOHMANN_JSON_SERIALIZE_ENUM\n@@ -85,7 +97,7 @@\n static_assert(std::is_enum::value, #ENUM_TYPE \" must be an enum!\"); \\\n static const std::pair m[] = __VA_ARGS__; \\\n auto it = std::find_if(std::begin(m), std::end(m), \\\n- [e](const std::pair& ej_pair) -> bool \\\n+ [&e](const std::pair& ej_pair) -> bool \\\n { \\\n return ej_pair.first == e; \\\n }); \\\n@@ -97,9 +109,9 @@\n static_assert(std::is_enum::value, #ENUM_TYPE \" must be an enum!\"); \\\n static const std::pair m[] = __VA_ARGS__; \\\n auto it = std::find_if(std::begin(m), std::end(m), \\\n- [j](const std::pair& ej_pair) -> bool \\\n+ [&j](const std::pair& ej_pair) -> bool \\\n { \\\n- return ej_pair.second == j; \\\n+ return nlohmann::detail::json_equals(ej_pair.second, j); \\\n }); \\\n e = ((it != std::end(m)) ? it : std::begin(m))->first; \\\n }\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex b959ec5e..1c9ebd24 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -1777,6 +1777,18 @@ JSON_HEDLEY_DIAGNOSTIC_POP\n #define JSON_INTERNAL_CATCH JSON_INTERNAL_CATCH_USER\n #endif\n \n+namespace nlohmann\n+{\n+namespace detail\n+{\n+template\n+bool json_equals(const BasicJsonType& lhs, const BasicJsonType& rhs) noexcept\n+{\n+ return lhs == rhs;\n+}\n+}\n+}\n+\n /*!\n @brief macro to briefly define a mapping between an enum and JSON\n @def NLOHMANN_JSON_SERIALIZE_ENUM\n@@ -1789,7 +1801,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP\n static_assert(std::is_enum::value, #ENUM_TYPE \" must be an enum!\"); \\\n static const std::pair m[] = __VA_ARGS__; \\\n auto it = std::find_if(std::begin(m), std::end(m), \\\n- [e](const std::pair& ej_pair) -> bool \\\n+ [&e](const std::pair& ej_pair) -> bool \\\n { \\\n return ej_pair.first == e; \\\n }); \\\n@@ -1801,9 +1813,9 @@ JSON_HEDLEY_DIAGNOSTIC_POP\n static_assert(std::is_enum::value, #ENUM_TYPE \" must be an enum!\"); \\\n static const std::pair m[] = __VA_ARGS__; \\\n auto it = std::find_if(std::begin(m), std::end(m), \\\n- [j](const std::pair& ej_pair) -> bool \\\n+ [&j](const std::pair& ej_pair) -> bool \\\n { \\\n- return ej_pair.second == j; \\\n+ return nlohmann::detail::json_equals(ej_pair.second, j); \\\n }); \\\n e = ((it != std::end(m)) ? it : std::begin(m))->first; \\\n }\n"} +{"instance_id": "nlohmann__json-2019", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/doc/examples/contains_json_pointer.cpp b/doc/examples/contains_json_pointer.cpp\nindex 5375a435..16dde663 100644\n--- a/doc/examples/contains_json_pointer.cpp\n+++ b/doc/examples/contains_json_pointer.cpp\n@@ -18,27 +18,7 @@ int main()\n << j.contains(\"/array/1\"_json_pointer) << '\\n'\n << j.contains(\"/array/-\"_json_pointer) << '\\n'\n << j.contains(\"/array/4\"_json_pointer) << '\\n'\n- << j.contains(\"/baz\"_json_pointer) << std::endl;\n-\n- // out_of_range.106\n- try\n- {\n- // try to use an array index with leading '0'\n- j.contains(\"/array/01\"_json_pointer);\n- }\n- catch (json::parse_error& e)\n- {\n- std::cout << e.what() << '\\n';\n- }\n-\n- // out_of_range.109\n- try\n- {\n- // try to use an array index that is not a number\n- j.contains(\"/array/one\"_json_pointer);\n- }\n- catch (json::parse_error& e)\n- {\n- std::cout << e.what() << '\\n';\n- }\n+ << j.contains(\"/baz\"_json_pointer) << '\\n'\n+ << j.contains(\"/array/01\"_json_pointer) << '\\n'\n+ << j.contains(\"/array/one\"_json_pointer) << std::endl;\n }\ndiff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp\nindex 5e4c8a1f..b9104ded 100644\n--- a/include/nlohmann/detail/json_pointer.hpp\n+++ b/include/nlohmann/detail/json_pointer.hpp\n@@ -649,8 +649,9 @@ class json_pointer\n }\n \n /*!\n- @throw parse_error.106 if an array index begins with '0'\n- @throw parse_error.109 if an array index was not a number\n+ @return true if the resolved reference token set is contained in the JSON value, false otherwise.\n+\n+ @note Unlike @ref operator[] or @ref at, this method does not throw for invalid array indices.\n */\n bool contains(const BasicJsonType* ptr) const\n {\n@@ -679,14 +680,46 @@ class json_pointer\n return false;\n }\n \n- const auto idx = static_cast(array_index(reference_token));\n- if (idx >= ptr->size())\n+ // error condition (cf. RFC 6901, Sect. 4)\n+ if (JSON_HEDLEY_UNLIKELY(reference_token.size() > 1 and reference_token[0] == '0'))\n+ {\n+ return false;\n+ }\n+\n+ // error condition (cf. RFC 6901, Sect. 4)\n+ if (JSON_HEDLEY_UNLIKELY(not (reference_token[0] >= '0' and reference_token[0] <= '9')))\n+ {\n+ return false;\n+ }\n+\n+ std::size_t processed_chars = 0;\n+ int idx = 0;\n+ JSON_TRY\n+ {\n+ idx = std::stoi(reference_token, &processed_chars);\n+ }\n+ JSON_CATCH(std::invalid_argument&)\n+ {\n+ return false;\n+ }\n+ JSON_CATCH(std::out_of_range&)\n+ {\n+ return false;\n+ }\n+\n+ // check if the string was completely read\n+ if (JSON_HEDLEY_UNLIKELY(processed_chars != reference_token.size()))\n+ {\n+ return false;\n+ }\n+\n+ if (JSON_HEDLEY_UNLIKELY(static_cast(idx) >= ptr->size()))\n {\n // index out of range\n return false;\n }\n \n- ptr = &ptr->operator[](idx);\n+ ptr = &ptr->operator[](static_cast(idx));\n break;\n }\n \ndiff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 88b550f3..63a86e14 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -4075,8 +4075,8 @@ class basic_json\n \n @post If `j.contains(ptr)` returns true, it is safe to call `j[ptr]`.\n \n- @throw parse_error.106 if an array index begins with '0'\n- @throw parse_error.109 if an array index was not a number\n+ @note Unlike @ref operator[] or @ref at, this method does not throw for\n+ invalid array indices, but returns false instead.\n \n @complexity Logarithmic in the size of the JSON object.\n \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 15d069fc..98692510 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -11052,8 +11052,9 @@ class json_pointer\n }\n \n /*!\n- @throw parse_error.106 if an array index begins with '0'\n- @throw parse_error.109 if an array index was not a number\n+ @return true if the resolved reference token set is contained in the JSON value, false otherwise.\n+\n+ @note Unlike @ref operator[] or @ref at, this method does not throw for invalid array indices.\n */\n bool contains(const BasicJsonType* ptr) const\n {\n@@ -11082,14 +11083,46 @@ class json_pointer\n return false;\n }\n \n- const auto idx = static_cast(array_index(reference_token));\n- if (idx >= ptr->size())\n+ // error condition (cf. RFC 6901, Sect. 4)\n+ if (JSON_HEDLEY_UNLIKELY(reference_token.size() > 1 and reference_token[0] == '0'))\n+ {\n+ return false;\n+ }\n+\n+ // error condition (cf. RFC 6901, Sect. 4)\n+ if (JSON_HEDLEY_UNLIKELY(not (reference_token[0] >= '0' and reference_token[0] <= '9')))\n+ {\n+ return false;\n+ }\n+\n+ std::size_t processed_chars = 0;\n+ int idx = 0;\n+ JSON_TRY\n+ {\n+ idx = std::stoi(reference_token, &processed_chars);\n+ }\n+ JSON_CATCH(std::invalid_argument&)\n+ {\n+ return false;\n+ }\n+ JSON_CATCH(std::out_of_range&)\n+ {\n+ return false;\n+ }\n+\n+ // check if the string was completely read\n+ if (JSON_HEDLEY_UNLIKELY(processed_chars != reference_token.size()))\n+ {\n+ return false;\n+ }\n+\n+ if (JSON_HEDLEY_UNLIKELY(static_cast(idx) >= ptr->size()))\n {\n // index out of range\n return false;\n }\n \n- ptr = &ptr->operator[](idx);\n+ ptr = &ptr->operator[](static_cast(idx));\n break;\n }\n \n@@ -18886,8 +18919,8 @@ class basic_json\n \n @post If `j.contains(ptr)` returns true, it is safe to call `j[ptr]`.\n \n- @throw parse_error.106 if an array index begins with '0'\n- @throw parse_error.109 if an array index was not a number\n+ @note Unlike @ref operator[] or @ref at, this method does not throw for\n+ invalid array indices, but returns false instead.\n \n @complexity Logarithmic in the size of the JSON object.\n \n"} +{"instance_id": "nlohmann__json-2099", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt\nindex 838cce53..7020b6ad 100644\n--- a/test/CMakeLists.txt\n+++ b/test/CMakeLists.txt\n@@ -95,6 +95,7 @@ set(files\n src/unit-algorithms.cpp\n src/unit-allocator.cpp\n src/unit-alt-string.cpp\n+ src/unit-binary.cpp\n src/unit-bson.cpp\n src/unit-capacity.cpp\n src/unit-cbor.cpp\ndiff --git a/test/src/unit-binary.cpp b/test/src/unit-binary.cpp\nnew file mode 100644\nindex 00000000..82179bde\n--- /dev/null\n+++ b/test/src/unit-binary.cpp\n@@ -0,0 +1,766 @@\n+/*\n+ __ _____ _____ _____\n+ __| | __| | | | JSON for Modern C++ (test suite)\n+| | |__ | | | | | | version 3.7.3\n+|_____|_____|_____|_|___| https://github.com/nlohmann/json\n+\n+Licensed under the MIT License .\n+SPDX-License-Identifier: MIT\n+Copyright (c) 2013-2019 Niels Lohmann .\n+\n+Permission is hereby granted, free of charge, to any person obtaining a copy\n+of this software and associated documentation files (the \"Software\"), to deal\n+in the Software without restriction, including without limitation the rights\n+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\n+copies of the Software, and to permit persons to whom the Software is\n+furnished to do so, subject to the following conditions:\n+\n+The above copyright notice and this permission notice shall be included in all\n+copies or substantial portions of the Software.\n+\n+THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n+OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\n+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\n+SOFTWARE.\n+*/\n+\n+#include \"doctest_compatibility.h\"\n+\n+#include \n+using nlohmann::json;\n+\n+#include \n+#include \n+\n+namespace\n+{\n+class SaxEventLogger : public nlohmann::json::json_sax_t\n+{\n+ public:\n+ bool null() override\n+ {\n+ events.push_back(\"null()\");\n+ return true;\n+ }\n+\n+ bool boolean(bool val) override\n+ {\n+ events.push_back(\"boolean(\" + std::string(val ? \"true\" : \"false\") + \")\");\n+ return true;\n+ }\n+\n+ bool number_integer(json::number_integer_t val) override\n+ {\n+ events.push_back(\"number_integer(\" + std::to_string(val) + \")\");\n+ return true;\n+ }\n+\n+ bool number_unsigned(json::number_unsigned_t val) override\n+ {\n+ events.push_back(\"number_unsigned(\" + std::to_string(val) + \")\");\n+ return true;\n+ }\n+\n+ bool number_float(json::number_float_t val, const std::string& s) override\n+ {\n+ events.push_back(\"number_float(\" + s + \")\");\n+ return true;\n+ }\n+\n+ bool string(std::string& val) override\n+ {\n+ events.push_back(\"string(\" + val + \")\");\n+ return true;\n+ }\n+\n+ bool binary(std::vector& val) override\n+ {\n+ std::string binary_contents = \"binary(\";\n+ std::string comma_space = \"\";\n+ for (auto b : val)\n+ {\n+ binary_contents.append(comma_space);\n+ binary_contents.append(std::to_string(static_cast(b)));\n+ comma_space = \", \";\n+ }\n+ binary_contents.append(\")\");\n+ events.push_back(binary_contents);\n+ return true;\n+ }\n+\n+ bool start_object(std::size_t elements) override\n+ {\n+ if (elements == std::size_t(-1))\n+ {\n+ events.push_back(\"start_object()\");\n+ }\n+ else\n+ {\n+ events.push_back(\"start_object(\" + std::to_string(elements) + \")\");\n+ }\n+ return true;\n+ }\n+\n+ bool key(std::string& val) override\n+ {\n+ events.push_back(\"key(\" + val + \")\");\n+ return true;\n+ }\n+\n+ bool end_object() override\n+ {\n+ events.push_back(\"end_object()\");\n+ return true;\n+ }\n+\n+ bool start_array(std::size_t elements) override\n+ {\n+ if (elements == std::size_t(-1))\n+ {\n+ events.push_back(\"start_array()\");\n+ }\n+ else\n+ {\n+ events.push_back(\"start_array(\" + std::to_string(elements) + \")\");\n+ }\n+ return true;\n+ }\n+\n+ bool end_array() override\n+ {\n+ events.push_back(\"end_array()\");\n+ return true;\n+ }\n+\n+ bool parse_error(std::size_t position, const std::string&, const json::exception&) override\n+ {\n+ errored = true;\n+ events.push_back(\"parse_error(\" + std::to_string(position) + \")\");\n+ return false;\n+ }\n+\n+ std::vector events {};\n+ bool errored = false;\n+};\n+}\n+\n+TEST_CASE(\"binary values\")\n+{\n+ SECTION(\"constructors\")\n+ {\n+ SECTION(\"binary_array with lvalue\")\n+ {\n+ const auto s = std::vector{1, 2, 3};\n+ const auto j = json::binary_array(s);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array(s));\n+ }\n+\n+ SECTION(\"binary_array with rvalue\")\n+ {\n+ auto s = std::vector{1, 2, 3};\n+ const auto j = json::binary_array(std::move(s));\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2, 3}));\n+ }\n+\n+ SECTION(\"binary_array with empty vector\")\n+ {\n+ const auto s = std::vector{};\n+ const auto j = json::binary_array(s);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array(s));\n+ }\n+ }\n+\n+ SECTION(\"json_value constructors for binary\")\n+ {\n+ SECTION(\"lvalue binary\")\n+ {\n+ const auto s = std::vector{4, 5, 6};\n+ const auto j = json::binary_array(s);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array(s));\n+ }\n+\n+ SECTION(\"rvalue binary\")\n+ {\n+ auto s = std::vector{4, 5, 6};\n+ const auto j = json::binary_array(std::move(s));\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({4, 5, 6}));\n+ }\n+ }\n+\n+ SECTION(\"get_ptr for binary\")\n+ {\n+ SECTION(\"non-const binary_t*\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ auto* ptr = j.get_ptr();\n+ CHECK(ptr != nullptr);\n+ CHECK(*ptr == std::vector{1, 2, 3});\n+ }\n+\n+ SECTION(\"const binary_t*\")\n+ {\n+ const auto j = json::binary_array({1, 2, 3});\n+ const auto* ptr = j.get_ptr();\n+ CHECK(ptr != nullptr);\n+ CHECK(*ptr == std::vector{1, 2, 3});\n+ }\n+\n+ SECTION(\"non-const binary_t* on non-binary returns nullptr\")\n+ {\n+ auto j = json(42);\n+ auto* ptr = j.get_ptr();\n+ CHECK(ptr == nullptr);\n+ }\n+\n+ SECTION(\"const binary_t* on non-binary returns nullptr\")\n+ {\n+ const auto j = json(42);\n+ const auto* ptr = j.get_ptr();\n+ CHECK(ptr == nullptr);\n+ }\n+ }\n+\n+ SECTION(\"clear\")\n+ {\n+ SECTION(\"binary\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ j.clear();\n+ CHECK(j.is_binary());\n+ auto* ptr = j.get_ptr();\n+ CHECK(ptr != nullptr);\n+ CHECK(ptr->empty());\n+ }\n+ }\n+\n+ SECTION(\"erase\")\n+ {\n+ SECTION(\"binary with begin iterator\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ auto it = j.erase(j.begin());\n+ CHECK(it == j.end());\n+ CHECK(j.is_null());\n+ }\n+\n+ SECTION(\"binary with range erase\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ auto it = j.erase(j.begin(), j.end());\n+ CHECK(it == j.end());\n+ CHECK(j.is_null());\n+ }\n+\n+ SECTION(\"binary erase throws for non-begin iterator\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ CHECK_THROWS_AS(j.erase(j.end()), json::invalid_iterator&);\n+ }\n+\n+ SECTION(\"binary range erase throws for invalid range\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ CHECK_THROWS_AS(j.erase(j.begin() + 1, j.end()), json::invalid_iterator&);\n+ CHECK_THROWS_AS(j.erase(j.begin(), j.end() - 1), json::invalid_iterator&);\n+ }\n+ }\n+\n+ SECTION(\"type_name\")\n+ {\n+ CHECK(std::string(json::binary_array({}).type_name()) == \"binary\");\n+ }\n+\n+ SECTION(\"operator< for binary values\")\n+ {\n+ SECTION(\"binary < binary (different content)\")\n+ {\n+ auto j1 = json::binary_array({1, 2, 3});\n+ auto j2 = json::binary_array({1, 2, 4});\n+ CHECK_NOTHROW(j1 < j2);\n+ CHECK_NOTHROW(j2 < j1);\n+ }\n+\n+ SECTION(\"binary < binary (same content)\")\n+ {\n+ auto j1 = json::binary_array({1, 2, 3});\n+ auto j2 = json::binary_array({1, 2, 3});\n+ CHECK_NOTHROW(j1 < j2);\n+ }\n+\n+ SECTION(\"binary compared with other types via operator<\")\n+ {\n+ auto j_bin = json::binary_array({1});\n+ auto j_null = json(nullptr);\n+ auto j_bool = json(true);\n+ auto j_str = json(\"hello\");\n+ auto j_int = json(42);\n+ auto j_uint = json(42u);\n+ auto j_float = json(3.14);\n+ auto j_obj = json::object();\n+ auto j_arr = json::array();\n+\n+ CHECK(j_null < j_bin);\n+ CHECK(j_bool < j_bin);\n+ CHECK(j_str < j_bin);\n+ CHECK(j_int < j_bin);\n+ CHECK(j_uint < j_bin);\n+ CHECK(j_float < j_bin);\n+ CHECK(j_obj < j_bin);\n+ CHECK(j_arr < j_bin);\n+ CHECK_FALSE(j_bin < j_null);\n+ CHECK_FALSE(j_bin < j_bool);\n+ }\n+ }\n+\n+ SECTION(\"dump with binary\")\n+ {\n+ SECTION(\"serialize_binary=false throws\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ CHECK_THROWS_AS(j.dump(), json::type_error&);\n+ CHECK_THROWS_WITH(j.dump(), \"[json.exception.type_error.317] cannot serialize binary data to text JSON\");\n+ }\n+\n+ SECTION(\"serialize_binary=true with non-empty binary (compact)\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ CHECK(j.dump(-1, ' ', false, json::error_handler_t::strict, true) == \"b[1,2,3]\");\n+ }\n+\n+ SECTION(\"serialize_binary=true with empty binary\")\n+ {\n+ auto j = json::binary_array({});\n+ CHECK(j.dump(-1, ' ', false, json::error_handler_t::strict, true) == \"b[]\");\n+ }\n+\n+ SECTION(\"serialize_binary=true with pretty print\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ auto result = j.dump(4, ' ', false, json::error_handler_t::strict, true);\n+ CHECK(result.find(\"b[\") != std::string::npos);\n+ CHECK(result.find('1') != std::string::npos);\n+ }\n+\n+ SECTION(\"serialize_binary=true with many elements (pretty print with newline)\")\n+ {\n+ std::vector data(32, 0);\n+ for (size_t i = 0; i < data.size(); ++i)\n+ {\n+ data[i] = static_cast(i);\n+ }\n+ auto j = json::binary_array(data);\n+ auto result = j.dump(4, ' ', false, json::error_handler_t::strict, true);\n+ CHECK(result.find(\"b[\") != std::string::npos);\n+ CHECK(result.find('\\n') != std::string::npos);\n+ }\n+ }\n+\n+ SECTION(\"BSON binary\")\n+ {\n+ SECTION(\"binary in object with subtype\")\n+ {\n+ json j = {{\"binary\", json::binary_array({1, 2, 3})}};\n+ j[\"binary\"].set_subtype(0x80);\n+ auto bson = json::to_bson(j);\n+ auto j2 = json::from_bson(bson);\n+ CHECK(j2[\"binary\"].is_binary());\n+ CHECK(j2[\"binary\"] == json::binary_array({1, 2, 3}));\n+ }\n+\n+ SECTION(\"binary in object without explicit subtype\")\n+ {\n+ json j = {{\"binary\", json::binary_array({1, 2, 3})}};\n+ auto bson = json::to_bson(j);\n+ auto j2 = json::from_bson(bson);\n+ CHECK(j2[\"binary\"].is_binary());\n+ CHECK(j2[\"binary\"] == json::binary_array({1, 2, 3}));\n+ }\n+\n+ SECTION(\"binary in object with larger data\")\n+ {\n+ json j = {{\"binary\", json::binary_array({0xCA, 0xFE})}};\n+ auto bson = json::to_bson(j);\n+ auto j2 = json::from_bson(bson);\n+ CHECK(j2[\"binary\"].is_binary());\n+ CHECK(j2[\"binary\"] == json::binary_array({0xCA, 0xFE}));\n+ }\n+ }\n+\n+ SECTION(\"CBOR binary\")\n+ {\n+ SECTION(\"indefinite length binary (0x5F)\")\n+ {\n+ std::vector data =\n+ {\n+ 0x5F, // start indefinite length binary\n+ 0x42, 0x01, 0x02, // chunk of 2 bytes\n+ 0x43, 0x03, 0x04, 0x05, // chunk of 3 bytes\n+ 0xFF // end indefinite length\n+ };\n+ auto j = json::from_cbor(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2, 3, 4, 5}));\n+ }\n+\n+ SECTION(\"CBOR binary 0x5B (8-byte length)\")\n+ {\n+ std::vector data =\n+ {\n+ 0x5B, // Binary data (eight-byte uint64_t for n follow)\n+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, // length = 3\n+ 0x01, 0x02, 0x03\n+ };\n+ auto j = json::from_cbor(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2, 3}));\n+ }\n+\n+ SECTION(\"CBOR binary error: invalid type byte\")\n+ {\n+ std::vector data =\n+ {\n+ 0x5E // invalid byte for binary\n+ };\n+ CHECK_THROWS_AS(json::from_cbor(data), json::parse_error&);\n+ }\n+ }\n+\n+ SECTION(\"MsgPack binary\")\n+ {\n+ SECTION(\"bin 8\")\n+ {\n+ std::vector data = {0xC4, 0x03, 0x01, 0x02, 0x03};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2, 3}));\n+ }\n+\n+ SECTION(\"bin 16\")\n+ {\n+ std::vector data = {0xC5, 0x00, 0x03, 0x01, 0x02, 0x03};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2, 3}));\n+ }\n+\n+ SECTION(\"bin 32\")\n+ {\n+ std::vector data = {0xC6, 0x00, 0x00, 0x00, 0x03, 0x01, 0x02, 0x03};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2, 3}));\n+ }\n+\n+ SECTION(\"ext 8 with subtype\")\n+ {\n+ std::vector data = {0xC7, 0x02, 0x2A, 0x01, 0x02};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2}));\n+ }\n+\n+ SECTION(\"ext 16 with subtype\")\n+ {\n+ std::vector data = {0xC8, 0x00, 0x02, 0x2A, 0x01, 0x02};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2}));\n+ }\n+\n+ SECTION(\"ext 32 with subtype\")\n+ {\n+ std::vector data = {0xC9, 0x00, 0x00, 0x00, 0x02, 0x2A, 0x01, 0x02};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2}));\n+ }\n+\n+ SECTION(\"fixext 1\")\n+ {\n+ std::vector data = {0xD4, 0x2A, 0x01};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1}));\n+ }\n+\n+ SECTION(\"fixext 2\")\n+ {\n+ std::vector data = {0xD5, 0x2A, 0x01, 0x02};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2}));\n+ }\n+\n+ SECTION(\"fixext 4\")\n+ {\n+ std::vector data = {0xD6, 0x2A, 0x01, 0x02, 0x03, 0x04};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2, 3, 4}));\n+ }\n+\n+ SECTION(\"fixext 8\")\n+ {\n+ std::vector data = {0xD7, 0x2A, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array({1, 2, 3, 4, 5, 6, 7, 8}));\n+ }\n+\n+ SECTION(\"fixext 16\")\n+ {\n+ std::vector data = {0xD8, 0x2A,\n+ 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08,\n+ 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10};\n+ auto j = json::from_msgpack(data);\n+ CHECK(j.is_binary());\n+ CHECK(j.get_ptr()->size() == 16);\n+ }\n+ }\n+\n+ SECTION(\"SAX events for binary\")\n+ {\n+ SECTION(\"json_sax_dom_parser: binary as root\")\n+ {\n+ json j;\n+ nlohmann::detail::json_sax_dom_parser sdp(j);\n+ std::vector bin = {1, 2, 3};\n+ sdp.binary(bin);\n+ CHECK(j.is_binary());\n+ CHECK(j == json::binary_array(bin));\n+ }\n+\n+ SECTION(\"json_sax_dom_parser: binary in array\")\n+ {\n+ json j;\n+ nlohmann::detail::json_sax_dom_parser sdp(j);\n+ sdp.start_array(1);\n+ std::vector bin = {1, 2, 3};\n+ sdp.binary(bin);\n+ sdp.end_array();\n+ CHECK(j.is_array());\n+ CHECK(j[0].is_binary());\n+ CHECK(j[0] == json::binary_array(bin));\n+ }\n+\n+ SECTION(\"json_sax_dom_parser: binary in object\")\n+ {\n+ json j;\n+ nlohmann::detail::json_sax_dom_parser sdp(j);\n+ sdp.start_object(1);\n+ std::string key = \"key\";\n+ sdp.key(key);\n+ std::vector bin = {1, 2, 3};\n+ sdp.binary(bin);\n+ sdp.end_object();\n+ CHECK(j.is_object());\n+ CHECK(j[\"key\"].is_binary());\n+ CHECK(j[\"key\"] == json::binary_array(bin));\n+ }\n+\n+ SECTION(\"json_sax_dom_callback_parser: binary as root\")\n+ {\n+ json j;\n+ auto cb = [](int, json::parse_event_t, const json&) {\n+ return true;\n+ };\n+ nlohmann::detail::json_sax_dom_callback_parser sdcp(j, cb);\n+ std::vector bin = {1, 2, 3};\n+ sdcp.binary(bin);\n+ // binary_t goes through handle_value which uses the CompatibleType\n+ // constructor, creating an array instead of binary\n+ CHECK(j.is_array());\n+ }\n+\n+ SECTION(\"json_sax_dom_callback_parser: binary in array\")\n+ {\n+ json j;\n+ auto cb = [](int, json::parse_event_t, const json&) {\n+ return true;\n+ };\n+ nlohmann::detail::json_sax_dom_callback_parser sdcp(j, cb);\n+ sdcp.start_array(1);\n+ std::vector bin = {1, 2, 3};\n+ sdcp.binary(bin);\n+ sdcp.end_array();\n+ CHECK(j.is_array());\n+ }\n+\n+ SECTION(\"json_sax_dom_callback_parser: binary in object\")\n+ {\n+ json j;\n+ auto cb = [](int, json::parse_event_t, const json&) {\n+ return true;\n+ };\n+ nlohmann::detail::json_sax_dom_callback_parser sdcp(j, cb);\n+ sdcp.start_object(1);\n+ std::string key = \"key\";\n+ sdcp.key(key);\n+ std::vector bin = {1, 2, 3};\n+ sdcp.binary(bin);\n+ sdcp.end_object();\n+ CHECK(j.is_object());\n+ }\n+\n+ SECTION(\"json_sax_dom_callback_parser: binary discarded by callback\")\n+ {\n+ json j;\n+ auto cb = [](int, json::parse_event_t, const json&) {\n+ return false;\n+ };\n+ nlohmann::detail::json_sax_dom_callback_parser sdcp(j, cb);\n+ std::vector bin = {1, 2, 3};\n+ sdcp.binary(bin);\n+ // callback returned false, so the value was not kept\n+ CHECK(j.is_null());\n+ }\n+ }\n+\n+ SECTION(\"SAX event logger for binary\")\n+ {\n+ SECTION(\"from CBOR with binary\")\n+ {\n+ std::vector data = {0x44, 0x01, 0x02, 0x03, 0x04};\n+ SaxEventLogger logger;\n+ json::sax_parse(data, &logger, json::input_format_t::cbor);\n+ CHECK(logger.events.size() == 1);\n+ CHECK(logger.events[0] == \"binary(1, 2, 3, 4)\");\n+ }\n+ }\n+\n+ SECTION(\"binary subtype operations\")\n+ {\n+ SECTION(\"set_subtype and get_subtype\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ CHECK(j.get_subtype() == std::size_t(-1)); // no subtype set\n+ j.set_subtype(42);\n+ CHECK(j.has_subtype());\n+ CHECK(j.get_subtype() == 42);\n+ }\n+\n+ SECTION(\"clear_subtype\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ j.set_subtype(42);\n+ CHECK(j.has_subtype());\n+ j.clear_subtype();\n+ CHECK_FALSE(j.has_subtype());\n+ CHECK(j.get_subtype() == std::size_t(-1));\n+ }\n+\n+ SECTION(\"set_subtype on non-binary does nothing\")\n+ {\n+ auto j = json(42);\n+ j.set_subtype(42);\n+ CHECK_FALSE(j.has_subtype());\n+ }\n+\n+ SECTION(\"clear_subtype on non-binary does nothing\")\n+ {\n+ auto j = json(42);\n+ j.clear_subtype();\n+ CHECK_FALSE(j.has_subtype());\n+ }\n+\n+ SECTION(\"has_subtype on non-binary returns false\")\n+ {\n+ auto j = json(42);\n+ CHECK_FALSE(j.has_subtype());\n+ }\n+ }\n+\n+ SECTION(\"binary equality\")\n+ {\n+ SECTION(\"equal binary values\")\n+ {\n+ auto j1 = json::binary_array({1, 2, 3});\n+ auto j2 = json::binary_array({1, 2, 3});\n+ CHECK(j1 == j2);\n+ }\n+\n+ SECTION(\"different binary values\")\n+ {\n+ auto j1 = json::binary_array({1, 2, 3});\n+ auto j2 = json::binary_array({1, 2, 4});\n+ CHECK(j1 != j2);\n+ }\n+\n+ SECTION(\"binary vs non-binary\")\n+ {\n+ auto j1 = json::binary_array({1, 2, 3});\n+ auto j2 = json({1, 2, 3});\n+ CHECK(j1 != j2);\n+ }\n+ }\n+\n+ SECTION(\"binary via from_bson with negative length\")\n+ {\n+ SECTION(\"BSON binary with negative length yields parse error\")\n+ {\n+ std::vector data =\n+ {\n+ 0x10, 0x00, 0x00, 0x00, // document size (16 bytes)\n+ 0x05, // binary type\n+ 'x', '\\x00', // key \"x\"\n+ 0xFF, 0xFF, 0xFF, 0xFF, // length = -1 (invalid)\n+ 0x00, // subtype\n+ 0x00 // end marker\n+ };\n+ CHECK_THROWS_AS(json::from_bson(data), json::parse_error&);\n+ }\n+ }\n+\n+ SECTION(\"binary roundtrip through CBOR with subtype\")\n+ {\n+ SECTION(\"binary with subtype roundtrips via CBOR tag\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ j.set_subtype(42);\n+ auto cbor = json::to_cbor(j);\n+ auto j2 = json::from_cbor(cbor);\n+ CHECK(j2.is_binary());\n+ CHECK(j2 == json::binary_array({1, 2, 3}));\n+ }\n+ }\n+\n+ SECTION(\"binary via from_msgpack with truncated data\")\n+ {\n+ SECTION(\"truncated bin 8 data\")\n+ {\n+ std::vector data = {0xC4, 0x03, 0x01}; // claims 3 bytes but only has 1\n+ CHECK_THROWS_AS(json::from_msgpack(data), json::parse_error&);\n+ }\n+ }\n+\n+ SECTION(\"binary via from_cbor with truncated data\")\n+ {\n+ SECTION(\"truncated binary data\")\n+ {\n+ std::vector data = {0x43, 0x01, 0x02}; // claims 3 bytes but only has 2\n+ CHECK_THROWS_AS(json::from_cbor(data), json::parse_error&);\n+ }\n+ }\n+\n+ SECTION(\"binary in UBJSON\")\n+ {\n+ SECTION(\"binary is serialized as array of integers\")\n+ {\n+ auto j = json::binary_array({1, 2, 3});\n+ auto ubj = json::to_ubjson(j, true, true);\n+ // UBJSON does not have a native binary type; binary arrays are\n+ // serialized as typed arrays of uint8 values\n+ auto j2 = json::from_ubjson(ubj);\n+ CHECK(j2.is_array());\n+ CHECK(j2 == json({1, 2, 3}));\n+ }\n+ }\n+}\n"} +{"instance_id": "nlohmann__json-2212", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/input/lexer.hpp b/include/nlohmann/detail/input/lexer.hpp\nindex 0ff0c736..3f265eac 100644\n--- a/include/nlohmann/detail/input/lexer.hpp\n+++ b/include/nlohmann/detail/input/lexer.hpp\n@@ -112,8 +112,8 @@ class lexer : public lexer_base\n public:\n using token_type = typename lexer_base::token_type;\n \n- explicit lexer(InputAdapterType&& adapter)\n- : ia(std::move(adapter)), decimal_point_char(static_cast(get_decimal_point())) {}\n+ explicit lexer(InputAdapterType&& adapter, bool allow_comments_ = false)\n+ : ia(std::move(adapter)), decimal_point_char(static_cast(get_decimal_point())), allow_comments(allow_comments_) {}\n \n // delete because of pointer members\n lexer(const lexer&) = delete;\n@@ -1431,6 +1431,74 @@ scan_number_done:\n }\n while (current == ' ' or current == '\\t' or current == '\\n' or current == '\\r');\n \n+ if (allow_comments and current == '/')\n+ {\n+ // we have read a single '/', need to check the next character\n+ const auto next = get();\n+ if (next == '/')\n+ {\n+ // single-line comment: skip until end of line\n+ while (true)\n+ {\n+ const auto c = get();\n+ if (c == '\\n' or c == std::char_traits::eof())\n+ {\n+ break;\n+ }\n+ }\n+ // after skipping the comment, scan again for the next token\n+ return scan();\n+ }\n+ else if (next == '*')\n+ {\n+ // multi-line comment: skip until */\n+ while (true)\n+ {\n+ const auto c = get();\n+ if (c == std::char_traits::eof())\n+ {\n+ error_message = \"invalid comment: missing closing '*/'\";\n+ return token_type::parse_error;\n+ }\n+ if (c == '*')\n+ {\n+ const auto c2 = get();\n+ if (c2 == '/')\n+ {\n+ break;\n+ }\n+ // if not followed by '/', we need to check if c2 is '*' again\n+ // but since we already consumed it, we just continue\n+ // however, we need to handle the case where c2 is '*' for patterns like **/\n+ // we need to re-check, so we \"unget\" would be ideal but let's handle differently\n+ // Actually, we consumed c2 which might be '*' so let's check\n+ if (c2 == '*')\n+ {\n+ // The '*' we just read might be the start of a closing '*/'\n+ // We need to read the next char to check\n+ const auto c3 = get();\n+ if (c3 == '/')\n+ {\n+ break;\n+ }\n+ // not a closing, continue\n+ }\n+ }\n+ }\n+ // after skipping the comment, scan again for the next token\n+ return scan();\n+ }\n+ else\n+ {\n+ // not a comment, '/' followed by something else\n+ // this is an invalid character in JSON\n+ unget(); // unget the character after '/'\n+ // current is still '/'\n+ error_message = \"invalid literal\";\n+ return token_type::parse_error;\n+ }\n+ }\n+\n switch (current)\n {\n // structural characters\n@@ -1524,6 +1592,9 @@ scan_number_done:\n \n /// the decimal point\n const char_int_type decimal_point_char = '.';\n+\n+ /// whether comments are allowed and should be skipped\n+ bool allow_comments = false;\n };\n } // namespace detail\n } // namespace nlohmann\ndiff --git a/include/nlohmann/detail/input/parser.hpp b/include/nlohmann/detail/input/parser.hpp\nindex 0546b88c..1daa85cb 100644\n--- a/include/nlohmann/detail/input/parser.hpp\n+++ b/include/nlohmann/detail/input/parser.hpp\n@@ -63,8 +63,9 @@ class parser\n /// a parser reading from an input adapter\n explicit parser(InputAdapterType&& adapter,\n const parser_callback_t cb = nullptr,\n- const bool allow_exceptions_ = true)\n- : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_)\n+ const bool allow_exceptions_ = true,\n+ const bool allow_comments_ = false)\n+ : callback(cb), m_lexer(std::move(adapter), allow_comments_), allow_exceptions(allow_exceptions_)\n {\n // read first token\n get_token();\ndiff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 8f95a797..3990fe9f 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -196,10 +196,11 @@ class basic_json\n static ::nlohmann::detail::parser parser(\n InputAdapterType adapter,\n detail::parser_callback_tcb = nullptr,\n- bool allow_exceptions = true\n+ bool allow_exceptions = true,\n+ bool allow_comments = false\n )\n {\n- return ::nlohmann::detail::parser(std::move(adapter), std::move(cb), allow_exceptions);\n+ return ::nlohmann::detail::parser(std::move(adapter), std::move(cb), allow_exceptions, allow_comments);\n }\n \n using primitive_iterator_t = ::nlohmann::detail::primitive_iterator_t;\n@@ -6625,10 +6626,11 @@ class basic_json\n JSON_HEDLEY_WARN_UNUSED_RESULT\n static basic_json parse(InputType&& i,\n const parser_callback_t cb = nullptr,\n- const bool allow_exceptions = true)\n+ const bool allow_exceptions = true,\n+ const bool allow_comments = false)\n {\n basic_json result;\n- parser(detail::input_adapter(std::forward(i)), cb, allow_exceptions).parse(true, result);\n+ parser(detail::input_adapter(std::forward(i)), cb, allow_exceptions, allow_comments).parse(true, result);\n return result;\n }\n \n@@ -6660,10 +6662,11 @@ class basic_json\n static basic_json parse(IteratorType first,\n IteratorType last,\n const parser_callback_t cb = nullptr,\n- const bool allow_exceptions = true)\n+ const bool allow_exceptions = true,\n+ const bool allow_comments = false)\n {\n basic_json result;\n- parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions).parse(true, result);\n+ parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, allow_comments).parse(true, result);\n return result;\n }\n \n@@ -6671,10 +6674,11 @@ class basic_json\n JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))\n static basic_json parse(detail::span_input_adapter&& i,\n const parser_callback_t cb = nullptr,\n- const bool allow_exceptions = true)\n+ const bool allow_exceptions = true,\n+ const bool allow_comments = false)\n {\n basic_json result;\n- parser(i.get(), cb, allow_exceptions).parse(true, result);\n+ parser(i.get(), cb, allow_exceptions, allow_comments).parse(true, result);\n return result;\n }\n \n@@ -6706,22 +6710,22 @@ class basic_json\n from a string.,accept__string}\n */\n template\n- static bool accept(InputType&& i)\n+ static bool accept(InputType&& i, const bool allow_comments = false)\n {\n- return parser(detail::input_adapter(std::forward(i))).accept(true);\n+ return parser(detail::input_adapter(std::forward(i)), nullptr, true, allow_comments).accept(true);\n }\n \n template\n- static bool accept(IteratorType first, IteratorType last)\n+ static bool accept(IteratorType first, IteratorType last, const bool allow_comments = false)\n {\n- return parser(detail::input_adapter(std::move(first), std::move(last))).accept(true);\n+ return parser(detail::input_adapter(std::move(first), std::move(last)), nullptr, true, allow_comments).accept(true);\n }\n \n JSON_HEDLEY_WARN_UNUSED_RESULT\n JSON_HEDLEY_DEPRECATED_FOR(3.8.0, accept(ptr, ptr + len))\n- static bool accept(detail::span_input_adapter&& i)\n+ static bool accept(detail::span_input_adapter&& i, const bool allow_comments = false)\n {\n- return parser(i.get()).accept(true);\n+ return parser(i.get(), nullptr, true, allow_comments).accept(true);\n }\n \n /*!\n@@ -6765,11 +6769,12 @@ class basic_json\n JSON_HEDLEY_NON_NULL(2)\n static bool sax_parse(InputType&& i, SAX* sax,\n input_format_t format = input_format_t::json,\n- const bool strict = true)\n+ const bool strict = true,\n+ const bool allow_comments = false)\n {\n auto ia = detail::input_adapter(std::forward(i));\n return format == input_format_t::json\n- ? parser(std::move(ia)).sax_parse(sax, strict)\n+ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict)\n : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict);\n }\n \n@@ -6777,11 +6782,12 @@ class basic_json\n JSON_HEDLEY_NON_NULL(3)\n static bool sax_parse(IteratorType first, IteratorType last, SAX* sax,\n input_format_t format = input_format_t::json,\n- const bool strict = true)\n+ const bool strict = true,\n+ const bool allow_comments = false)\n {\n auto ia = detail::input_adapter(std::move(first), std::move(last));\n return format == input_format_t::json\n- ? parser(std::move(ia)).sax_parse(sax, strict)\n+ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict)\n : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict);\n }\n \n@@ -6790,11 +6796,12 @@ class basic_json\n JSON_HEDLEY_NON_NULL(2)\n static bool sax_parse(detail::span_input_adapter&& i, SAX* sax,\n input_format_t format = input_format_t::json,\n- const bool strict = true)\n+ const bool strict = true,\n+ const bool allow_comments = false)\n {\n auto ia = i.get();\n return format == input_format_t::json\n- ? parser(std::move(ia)).sax_parse(sax, strict)\n+ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict)\n : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict);\n }\n \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 74f2d09d..e3c9f2af 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -8183,8 +8183,8 @@ class lexer : public lexer_base\n public:\n using token_type = typename lexer_base::token_type;\n \n- explicit lexer(InputAdapterType&& adapter)\n- : ia(std::move(adapter)), decimal_point_char(static_cast(get_decimal_point())) {}\n+ explicit lexer(InputAdapterType&& adapter, bool allow_comments_ = false)\n+ : ia(std::move(adapter)), decimal_point_char(static_cast(get_decimal_point())), allow_comments(allow_comments_) {}\n \n // delete because of pointer members\n lexer(const lexer&) = delete;\n@@ -9502,6 +9502,74 @@ scan_number_done:\n }\n while (current == ' ' or current == '\\t' or current == '\\n' or current == '\\r');\n \n+ if (allow_comments and current == '/')\n+ {\n+ // we have read a single '/', need to check the next character\n+ const auto next = get();\n+ if (next == '/')\n+ {\n+ // single-line comment: skip until end of line\n+ while (true)\n+ {\n+ const auto c = get();\n+ if (c == '\\n' or c == std::char_traits::eof())\n+ {\n+ break;\n+ }\n+ }\n+ // after skipping the comment, scan again for the next token\n+ return scan();\n+ }\n+ else if (next == '*')\n+ {\n+ // multi-line comment: skip until */\n+ while (true)\n+ {\n+ const auto c = get();\n+ if (c == std::char_traits::eof())\n+ {\n+ error_message = \"invalid comment: missing closing '*/'\";\n+ return token_type::parse_error;\n+ }\n+ if (c == '*')\n+ {\n+ const auto c2 = get();\n+ if (c2 == '/')\n+ {\n+ break;\n+ }\n+ // if not followed by '/', we need to check if c2 is '*' again\n+ // but since we already consumed it, we just continue\n+ // however, we need to handle the case where c2 is '*' for patterns like **/\n+ // we need to re-check, so we \"unget\" would be ideal but let's handle differently\n+ // Actually, we consumed c2 which might be '*' so let's check\n+ if (c2 == '*')\n+ {\n+ // The '*' we just read might be the start of a closing '*/'\n+ // We need to read the next char to check\n+ const auto c3 = get();\n+ if (c3 == '/')\n+ {\n+ break;\n+ }\n+ // not a closing, continue\n+ }\n+ }\n+ }\n+ // after skipping the comment, scan again for the next token\n+ return scan();\n+ }\n+ else\n+ {\n+ // not a comment, '/' followed by something else\n+ // this is an invalid character in JSON\n+ unget(); // unget the character after '/'\n+ // current is still '/'\n+ error_message = \"invalid literal\";\n+ return token_type::parse_error;\n+ }\n+ }\n+\n switch (current)\n {\n // structural characters\n@@ -9595,6 +9663,9 @@ scan_number_done:\n \n /// the decimal point\n const char_int_type decimal_point_char = '.';\n+\n+ /// whether comments are allowed and should be skipped\n+ bool allow_comments = false;\n };\n } // namespace detail\n } // namespace nlohmann\n@@ -9672,8 +9743,9 @@ class parser\n /// a parser reading from an input adapter\n explicit parser(InputAdapterType&& adapter,\n const parser_callback_t cb = nullptr,\n- const bool allow_exceptions_ = true)\n- : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_)\n+ const bool allow_exceptions_ = true,\n+ const bool allow_comments_ = false)\n+ : callback(cb), m_lexer(std::move(adapter), allow_comments_), allow_exceptions(allow_exceptions_)\n {\n // read first token\n get_token();\n@@ -16001,10 +16073,11 @@ class basic_json\n static ::nlohmann::detail::parser parser(\n InputAdapterType adapter,\n detail::parser_callback_tcb = nullptr,\n- bool allow_exceptions = true\n+ bool allow_exceptions = true,\n+ bool allow_comments = false\n )\n {\n- return ::nlohmann::detail::parser(std::move(adapter), std::move(cb), allow_exceptions);\n+ return ::nlohmann::detail::parser(std::move(adapter), std::move(cb), allow_exceptions, allow_comments);\n }\n \n using primitive_iterator_t = ::nlohmann::detail::primitive_iterator_t;\n@@ -22430,10 +22503,11 @@ class basic_json\n JSON_HEDLEY_WARN_UNUSED_RESULT\n static basic_json parse(InputType&& i,\n const parser_callback_t cb = nullptr,\n- const bool allow_exceptions = true)\n+ const bool allow_exceptions = true,\n+ const bool allow_comments = false)\n {\n basic_json result;\n- parser(detail::input_adapter(std::forward(i)), cb, allow_exceptions).parse(true, result);\n+ parser(detail::input_adapter(std::forward(i)), cb, allow_exceptions, allow_comments).parse(true, result);\n return result;\n }\n \n@@ -22465,10 +22539,11 @@ class basic_json\n static basic_json parse(IteratorType first,\n IteratorType last,\n const parser_callback_t cb = nullptr,\n- const bool allow_exceptions = true)\n+ const bool allow_exceptions = true,\n+ const bool allow_comments = false)\n {\n basic_json result;\n- parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions).parse(true, result);\n+ parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, allow_comments).parse(true, result);\n return result;\n }\n \n@@ -22476,10 +22551,11 @@ class basic_json\n JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))\n static basic_json parse(detail::span_input_adapter&& i,\n const parser_callback_t cb = nullptr,\n- const bool allow_exceptions = true)\n+ const bool allow_exceptions = true,\n+ const bool allow_comments = false)\n {\n basic_json result;\n- parser(i.get(), cb, allow_exceptions).parse(true, result);\n+ parser(i.get(), cb, allow_exceptions, allow_comments).parse(true, result);\n return result;\n }\n \n@@ -22511,22 +22587,22 @@ class basic_json\n from a string.,accept__string}\n */\n template\n- static bool accept(InputType&& i)\n+ static bool accept(InputType&& i, const bool allow_comments = false)\n {\n- return parser(detail::input_adapter(std::forward(i))).accept(true);\n+ return parser(detail::input_adapter(std::forward(i)), nullptr, true, allow_comments).accept(true);\n }\n \n template\n- static bool accept(IteratorType first, IteratorType last)\n+ static bool accept(IteratorType first, IteratorType last, const bool allow_comments = false)\n {\n- return parser(detail::input_adapter(std::move(first), std::move(last))).accept(true);\n+ return parser(detail::input_adapter(std::move(first), std::move(last)), nullptr, true, allow_comments).accept(true);\n }\n \n JSON_HEDLEY_WARN_UNUSED_RESULT\n JSON_HEDLEY_DEPRECATED_FOR(3.8.0, accept(ptr, ptr + len))\n- static bool accept(detail::span_input_adapter&& i)\n+ static bool accept(detail::span_input_adapter&& i, const bool allow_comments = false)\n {\n- return parser(i.get()).accept(true);\n+ return parser(i.get(), nullptr, true, allow_comments).accept(true);\n }\n \n /*!\n@@ -22570,11 +22646,12 @@ class basic_json\n JSON_HEDLEY_NON_NULL(2)\n static bool sax_parse(InputType&& i, SAX* sax,\n input_format_t format = input_format_t::json,\n- const bool strict = true)\n+ const bool strict = true,\n+ const bool allow_comments = false)\n {\n auto ia = detail::input_adapter(std::forward(i));\n return format == input_format_t::json\n- ? parser(std::move(ia)).sax_parse(sax, strict)\n+ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict)\n : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict);\n }\n \n@@ -22582,11 +22659,12 @@ class basic_json\n JSON_HEDLEY_NON_NULL(3)\n static bool sax_parse(IteratorType first, IteratorType last, SAX* sax,\n input_format_t format = input_format_t::json,\n- const bool strict = true)\n+ const bool strict = true,\n+ const bool allow_comments = false)\n {\n auto ia = detail::input_adapter(std::move(first), std::move(last));\n return format == input_format_t::json\n- ? parser(std::move(ia)).sax_parse(sax, strict)\n+ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict)\n : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict);\n }\n \n@@ -22595,11 +22673,12 @@ class basic_json\n JSON_HEDLEY_NON_NULL(2)\n static bool sax_parse(detail::span_input_adapter&& i, SAX* sax,\n input_format_t format = input_format_t::json,\n- const bool strict = true)\n+ const bool strict = true,\n+ const bool allow_comments = false)\n {\n auto ia = i.get();\n return format == input_format_t::json\n- ? parser(std::move(ia)).sax_parse(sax, strict)\n+ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict)\n : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict);\n }\n \n"} +{"instance_id": "nlohmann__json-2225", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/build_single/include/test_data.hpp b/build_single/include/test_data.hpp\nnew file mode 100644\nindex 00000000..f66d182e\n--- /dev/null\n+++ b/build_single/include/test_data.hpp\n@@ -0,0 +1 @@\n+#define TEST_DATA_DIRECTORY \"/home/json/build_single/json_test_data\"\ndiff --git a/include/nlohmann/detail/macro_scope.hpp b/include/nlohmann/detail/macro_scope.hpp\nindex a48d18e8..9164b916 100644\n--- a/include/nlohmann/detail/macro_scope.hpp\n+++ b/include/nlohmann/detail/macro_scope.hpp\n@@ -108,6 +108,80 @@\n e = ((it != std::end(m)) ? it : std::begin(m))->first; \\\n }\n \n+// helper macros for NLOHMANN_DEFINE_TYPE_INTRUSIVE and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE\n+#define NLOHMANN_JSON_FROM(arg) j.at(#arg).get_to(t.arg);\n+#define NLOHMANN_JSON_TO(arg) j[#arg] = t.arg;\n+\n+#define NLOHMANN_JSON_FROM1(arg1) NLOHMANN_JSON_FROM(arg1)\n+#define NLOHMANN_JSON_FROM2(arg1, arg2) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2)\n+#define NLOHMANN_JSON_FROM3(arg1, arg2, arg3) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3)\n+#define NLOHMANN_JSON_FROM4(arg1, arg2, arg3, arg4) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4)\n+#define NLOHMANN_JSON_FROM5(arg1, arg2, arg3, arg4, arg5) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5)\n+#define NLOHMANN_JSON_FROM6(arg1, arg2, arg3, arg4, arg5, arg6) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6)\n+#define NLOHMANN_JSON_FROM7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7)\n+#define NLOHMANN_JSON_FROM8(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) NLOHMANN_JSON_FROM(arg8)\n+#define NLOHMANN_JSON_FROM9(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) NLOHMANN_JSON_FROM(arg8) NLOHMANN_JSON_FROM(arg9)\n+\n+#define NLOHMANN_JSON_TO1(arg1) NLOHMANN_JSON_TO(arg1)\n+#define NLOHMANN_JSON_TO2(arg1, arg2) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2)\n+#define NLOHMANN_JSON_TO3(arg1, arg2, arg3) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3)\n+#define NLOHMANN_JSON_TO4(arg1, arg2, arg3, arg4) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4)\n+#define NLOHMANN_JSON_TO5(arg1, arg2, arg3, arg4, arg5) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5)\n+#define NLOHMANN_JSON_TO6(arg1, arg2, arg3, arg4, arg5, arg6) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6)\n+#define NLOHMANN_JSON_TO7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7)\n+#define NLOHMANN_JSON_TO8(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) NLOHMANN_JSON_TO(arg8)\n+#define NLOHMANN_JSON_TO9(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) NLOHMANN_JSON_TO(arg8) NLOHMANN_JSON_TO(arg9)\n+\n+#define NLOHMANN_JSON_NARG(...) NLOHMANN_JSON_NARG_(__VA_ARGS__, NLOHMANN_JSON_RSEQ_N())\n+#define NLOHMANN_JSON_NARG_(...) NLOHMANN_JSON_ARG_N(__VA_ARGS__)\n+#define NLOHMANN_JSON_ARG_N(_1, _2, _3, _4, _5, _6, _7, _8, _9, N, ...) N\n+#define NLOHMANN_JSON_RSEQ_N() 9, 8, 7, 6, 5, 4, 3, 2, 1, 0\n+\n+#define NLOHMANN_JSON_CONCAT(a, b) NLOHMANN_JSON_CONCAT_(a, b)\n+#define NLOHMANN_JSON_CONCAT_(a, b) a##b\n+\n+#define NLOHMANN_JSON_EXPAND(x) x\n+\n+#define NLOHMANN_JSON_DISPATCH_FROM(...) NLOHMANN_JSON_DISPATCH_FROM_(NLOHMANN_JSON_NARG(__VA_ARGS__), __VA_ARGS__)\n+#define NLOHMANN_JSON_DISPATCH_FROM_(n, ...) NLOHMANN_JSON_CONCAT(NLOHMANN_JSON_FROM, n)(__VA_ARGS__)\n+\n+#define NLOHMANN_JSON_DISPATCH_TO(...) NLOHMANN_JSON_DISPATCH_TO_(NLOHMANN_JSON_NARG(__VA_ARGS__), __VA_ARGS__)\n+#define NLOHMANN_JSON_DISPATCH_TO_(n, ...) NLOHMANN_JSON_CONCAT(NLOHMANN_JSON_TO, n)(__VA_ARGS__)\n+\n+/*!\n+@brief macro to define a mapping between a custom type and JSON (intrusive)\n+@def NLOHMANN_DEFINE_TYPE_INTRUSIVE\n+@since version 3.9.0\n+*/\n+#define NLOHMANN_DEFINE_TYPE_INTRUSIVE(Type, ...) \\\n+ template \\\n+ friend void to_json(BasicJsonType& j, const Type& t) \\\n+ { \\\n+ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_TO(__VA_ARGS__)) \\\n+ } \\\n+ template \\\n+ friend void from_json(const BasicJsonType& j, Type& t) \\\n+ { \\\n+ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_FROM(__VA_ARGS__)) \\\n+ }\n+\n+/*!\n+@brief macro to define a mapping between a custom type and JSON (non-intrusive)\n+@def NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE\n+@since version 3.9.0\n+*/\n+#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Type, ...) \\\n+ template \\\n+ void to_json(BasicJsonType& j, const Type& t) \\\n+ { \\\n+ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_TO(__VA_ARGS__)) \\\n+ } \\\n+ template \\\n+ void from_json(const BasicJsonType& j, Type& t) \\\n+ { \\\n+ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_FROM(__VA_ARGS__)) \\\n+ }\n+\n // Ugly macros to avoid uglier copy-paste when specializing basic_json. They\n // may be removed in the future once the class is split.\n \ndiff --git a/include/nlohmann/detail/macro_unscope.hpp b/include/nlohmann/detail/macro_unscope.hpp\nindex 80b293e7..76988a79 100644\n--- a/include/nlohmann/detail/macro_unscope.hpp\n+++ b/include/nlohmann/detail/macro_unscope.hpp\n@@ -18,4 +18,14 @@\n #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION\n #undef NLOHMANN_BASIC_JSON_TPL\n \n+// DO NOT undef the following macros, as they are needed by the\n+// NLOHMANN_DEFINE_TYPE_INTRUSIVE and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE macros:\n+// - NLOHMANN_JSON_FROM, NLOHMANN_JSON_TO\n+// - NLOHMANN_JSON_FROM2..9, NLOHMANN_JSON_TO2..9\n+// - NLOHMANN_JSON_NARG, NLOHMANN_JSON_NARG_, NLOHMANN_JSON_ARG_N, NLOHMANN_JSON_RSEQ_N\n+// - NLOHMANN_JSON_CONCAT, NLOHMANN_JSON_CONCAT_\n+// - NLOHMANN_JSON_EXPAND\n+// - NLOHMANN_JSON_DISPATCH_FROM, NLOHMANN_JSON_DISPATCH_FROM_\n+// - NLOHMANN_JSON_DISPATCH_TO, NLOHMANN_JSON_DISPATCH_TO_\n+\n #include \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 770418f4..8d67db33 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -2136,6 +2136,79 @@ JSON_HEDLEY_DIAGNOSTIC_POP\n e = ((it != std::end(m)) ? it : std::begin(m))->first; \\\n }\n \n+#define NLOHMANN_JSON_FROM(arg) j.at(#arg).get_to(t.arg);\n+#define NLOHMANN_JSON_TO(arg) j[#arg] = t.arg;\n+\n+#define NLOHMANN_JSON_FROM1(arg1) NLOHMANN_JSON_FROM(arg1)\n+#define NLOHMANN_JSON_FROM2(arg1, arg2) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2)\n+#define NLOHMANN_JSON_FROM3(arg1, arg2, arg3) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3)\n+#define NLOHMANN_JSON_FROM4(arg1, arg2, arg3, arg4) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4)\n+#define NLOHMANN_JSON_FROM5(arg1, arg2, arg3, arg4, arg5) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5)\n+#define NLOHMANN_JSON_FROM6(arg1, arg2, arg3, arg4, arg5, arg6) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6)\n+#define NLOHMANN_JSON_FROM7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7)\n+#define NLOHMANN_JSON_FROM8(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) NLOHMANN_JSON_FROM(arg8)\n+#define NLOHMANN_JSON_FROM9(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) NLOHMANN_JSON_FROM(arg8) NLOHMANN_JSON_FROM(arg9)\n+\n+#define NLOHMANN_JSON_TO1(arg1) NLOHMANN_JSON_TO(arg1)\n+#define NLOHMANN_JSON_TO2(arg1, arg2) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2)\n+#define NLOHMANN_JSON_TO3(arg1, arg2, arg3) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3)\n+#define NLOHMANN_JSON_TO4(arg1, arg2, arg3, arg4) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4)\n+#define NLOHMANN_JSON_TO5(arg1, arg2, arg3, arg4, arg5) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5)\n+#define NLOHMANN_JSON_TO6(arg1, arg2, arg3, arg4, arg5, arg6) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6)\n+#define NLOHMANN_JSON_TO7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7)\n+#define NLOHMANN_JSON_TO8(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) NLOHMANN_JSON_TO(arg8)\n+#define NLOHMANN_JSON_TO9(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) NLOHMANN_JSON_TO(arg8) NLOHMANN_JSON_TO(arg9)\n+\n+#define NLOHMANN_JSON_NARG(...) NLOHMANN_JSON_NARG_(__VA_ARGS__, NLOHMANN_JSON_RSEQ_N())\n+#define NLOHMANN_JSON_NARG_(...) NLOHMANN_JSON_ARG_N(__VA_ARGS__)\n+#define NLOHMANN_JSON_ARG_N(_1, _2, _3, _4, _5, _6, _7, _8, _9, N, ...) N\n+#define NLOHMANN_JSON_RSEQ_N() 9, 8, 7, 6, 5, 4, 3, 2, 1, 0\n+\n+#define NLOHMANN_JSON_CONCAT(a, b) NLOHMANN_JSON_CONCAT_(a, b)\n+#define NLOHMANN_JSON_CONCAT_(a, b) a##b\n+\n+#define NLOHMANN_JSON_EXPAND(x) x\n+\n+#define NLOHMANN_JSON_DISPATCH_FROM(...) NLOHMANN_JSON_DISPATCH_FROM_(NLOHMANN_JSON_NARG(__VA_ARGS__), __VA_ARGS__)\n+#define NLOHMANN_JSON_DISPATCH_FROM_(n, ...) NLOHMANN_JSON_CONCAT(NLOHMANN_JSON_FROM, n)(__VA_ARGS__)\n+\n+#define NLOHMANN_JSON_DISPATCH_TO(...) NLOHMANN_JSON_DISPATCH_TO_(NLOHMANN_JSON_NARG(__VA_ARGS__), __VA_ARGS__)\n+#define NLOHMANN_JSON_DISPATCH_TO_(n, ...) NLOHMANN_JSON_CONCAT(NLOHMANN_JSON_TO, n)(__VA_ARGS__)\n+\n+/*!\n+@brief macro to define a mapping between a custom type and JSON (intrusive)\n+@def NLOHMANN_DEFINE_TYPE_INTRUSIVE\n+@since version 3.9.0\n+*/\n+#define NLOHMANN_DEFINE_TYPE_INTRUSIVE(Type, ...) \\\n+ template \\\n+ friend void to_json(BasicJsonType& j, const Type& t) \\\n+ { \\\n+ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_TO(__VA_ARGS__)) \\\n+ } \\\n+ template \\\n+ friend void from_json(const BasicJsonType& j, Type& t) \\\n+ { \\\n+ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_FROM(__VA_ARGS__)) \\\n+ }\n+\n+/*!\n+@brief macro to define a mapping between a custom type and JSON (non-intrusive)\n+@def NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE\n+@since version 3.9.0\n+*/\n+#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Type, ...) \\\n+ template \\\n+ void to_json(BasicJsonType& j, const Type& t) \\\n+ { \\\n+ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_TO(__VA_ARGS__)) \\\n+ } \\\n+ template \\\n+ void from_json(const BasicJsonType& j, Type& t) \\\n+ { \\\n+ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_FROM(__VA_ARGS__)) \\\n+ }\n+\n // Ugly macros to avoid uglier copy-paste when specializing basic_json. They\n // may be removed in the future once the class is split.\n \n@@ -24684,6 +24757,16 @@ inline nlohmann::json::json_pointer operator \"\" _json_pointer(const char* s, std\n #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION\n #undef NLOHMANN_BASIC_JSON_TPL\n \n+// DO NOT undef the following macros, as they are needed by the\n+// NLOHMANN_DEFINE_TYPE_INTRUSIVE and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE macros:\n+// - NLOHMANN_JSON_FROM, NLOHMANN_JSON_TO\n+// - NLOHMANN_JSON_FROM2..9, NLOHMANN_JSON_TO2..9\n+// - NLOHMANN_JSON_NARG, NLOHMANN_JSON_NARG_, NLOHMANN_JSON_ARG_N, NLOHMANN_JSON_RSEQ_N\n+// - NLOHMANN_JSON_CONCAT, NLOHMANN_JSON_CONCAT_\n+// - NLOHMANN_JSON_EXPAND\n+// - NLOHMANN_JSON_DISPATCH_FROM, NLOHMANN_JSON_DISPATCH_FROM_\n+// - NLOHMANN_JSON_DISPATCH_TO, NLOHMANN_JSON_DISPATCH_TO_\n+\n // #include \n #undef JSON_HEDLEY_ALWAYS_INLINE\n #undef JSON_HEDLEY_ARM_VERSION\n"} +{"instance_id": "nlohmann__json-2258", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 7760f28b..9c0e5a48 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -83,8 +83,8 @@ namespace nlohmann\n /*!\n @brief a class to store JSON values\n \n-@tparam ObjectType type for JSON objects (`std::map` by default; will be used\n-in @ref object_t)\n+@tparam ObjectType type for JSON objects (`nlohmann::ordered_map` by default;\n+will be used in @ref object_t)\n @tparam ArrayType type for JSON arrays (`std::vector` by default; will be used\n in @ref array_t)\n @tparam StringType type for JSON strings and object keys (`std::string` by\n@@ -403,8 +403,6 @@ class basic_json\n /// @{\n \n #if defined(JSON_HAS_CPP_14)\n- // Use transparent comparator if possible, combined with perfect forwarding\n- // on find() and count() calls prevents unnecessary string construction.\n using object_comparator_t = std::less<>;\n #else\n using object_comparator_t = std::less;\n@@ -422,7 +420,7 @@ class basic_json\n described below.\n \n @tparam ObjectType the container to store objects (e.g., `std::map` or\n- `std::unordered_map`)\n+ `nlohmann::ordered_map`)\n @tparam StringType the type of the keys or names (e.g., `std::string`).\n The comparison function `std::less` is used to order elements\n inside the container.\n@@ -431,15 +429,14 @@ class basic_json\n \n #### Default type\n \n- With the default values for @a ObjectType (`std::map`), @a StringType\n- (`std::string`), and @a AllocatorType (`std::allocator`), the default\n- value for @a object_t is:\n+ With the default values for @a ObjectType (`nlohmann::ordered_map`),\n+ @a StringType (`std::string`), and @a AllocatorType (`std::allocator`),\n+ the default value for @a object_t is:\n \n @code {.cpp}\n- std::map<\n+ nlohmann::ordered_map<\n std::string, // key_type\n basic_json, // value_type\n- std::less, // key_compare\n std::allocator> // allocator_type\n >\n @endcode\n@@ -452,14 +449,14 @@ class basic_json\n - When all names are unique, objects will be interoperable in the sense\n that all software implementations receiving that object will agree on\n the name-value mappings.\n- - When the names within an object are not unique, it is unspecified which\n- one of the values for a given key will be chosen. For instance,\n- `{\"key\": 2, \"key\": 1}` could be equal to either `{\"key\": 1}` or\n- `{\"key\": 2}`.\n- - Internally, name/value pairs are stored in lexicographical order of the\n- names. Objects will also be serialized (see @ref dump) in this order.\n+ - When the names within an object are not unique, the last value for a\n+ given key will be kept. For instance, `{\"key\": 2, \"key\": 1}` will be\n+ equal to `{\"key\": 1}`.\n+ - Internally, name/value pairs are stored in the order of insertion.\n+ Objects will also be serialized (see @ref dump) in this order.\n For instance, `{\"b\": 1, \"a\": 2}` and `{\"a\": 2, \"b\": 1}` will be stored\n- and serialized as `{\"a\": 2, \"b\": 1}`.\n+ and serialized as `{\"b\": 1, \"a\": 2}` and `{\"a\": 2, \"b\": 1}`\n+ respectively.\n - When comparing objects, the order of the name/value pairs is irrelevant.\n This makes objects interoperable in the sense that they will not be\n affected by these differences. For instance, `{\"b\": 1, \"a\": 2}` and\n@@ -485,13 +482,11 @@ class basic_json\n \n @since version 1.0.0\n \n- @note The order name/value pairs are added to the object is *not*\n- preserved by the library. Therefore, iterating an object may return\n- name/value pairs in a different order than they were originally stored. In\n- fact, keys will be traversed in alphabetical order as `std::map` with\n- `std::less` is used by default. Please note this behavior conforms to [RFC\n- 7159](http://rfc7159.net/rfc7159), because any order implements the\n- specified \"unordered\" nature of JSON objects.\n+ @note The order name/value pairs are added to the object is preserved by\n+ the library. Therefore, iterating an object will return name/value pairs\n+ in the order they were originally stored. Please note this behavior\n+ conforms to [RFC 7159](http://rfc7159.net/rfc7159), because any order\n+ implements the specified \"unordered\" nature of JSON objects.\n */\n using object_t = ObjectType // int64_t, uint64_t\n-#include // map\n #include // allocator\n #include // string\n #include // vector\n \n+#include \n+\n /*!\n @brief namespace for Niels Lohmann\n @see https://github.com/nlohmann\n@@ -25,7 +26,7 @@ template\n struct adl_serializer;\n \n template class ObjectType =\n- std::map,\n+ nlohmann::ordered_map,\n template class ArrayType = std::vector,\n class StringType = std::string, class BooleanType = bool,\n class NumberIntegerType = std::int64_t,\ndiff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp\nnew file mode 100644\nindex 00000000..a91693df\n--- /dev/null\n+++ b/include/nlohmann/ordered_map.hpp\n@@ -0,0 +1,426 @@\n+#pragma once\n+\n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+\n+namespace nlohmann\n+{\n+\n+template, class Allocator = std::allocator>>\n+class ordered_map\n+{\n+ public:\n+ using key_type = Key;\n+ using mapped_type = T;\n+ using value_type = std::pair;\n+ using size_type = std::size_t;\n+ using difference_type = std::ptrdiff_t;\n+ using key_compare = Compare;\n+ using allocator_type = Allocator;\n+ using reference = value_type&;\n+ using const_reference = const value_type&;\n+ using pointer = typename std::allocator_traits::pointer;\n+ using const_pointer = typename std::allocator_traits::const_pointer;\n+\n+ private:\n+ using container_type = std::vector, typename std::allocator_traits::template rebind_alloc>>;\n+\n+ public:\n+ using iterator = typename container_type::iterator;\n+ using const_iterator = typename container_type::const_iterator;\n+ using reverse_iterator = typename container_type::reverse_iterator;\n+ using const_reverse_iterator = typename container_type::const_reverse_iterator;\n+\n+ public:\n+ ordered_map() = default;\n+\n+ ordered_map(const ordered_map& other) = default;\n+\n+ ordered_map(ordered_map&& other) noexcept = default;\n+\n+ template::value_type>::value, int>::type>\n+ ordered_map(InputIt first, InputIt last)\n+ {\n+ for (auto it = first; it != last; ++it)\n+ {\n+ emplace(it->first, it->second);\n+ }\n+ }\n+\n+ ordered_map(std::initializer_list init)\n+ {\n+ for (auto& element : init)\n+ {\n+ emplace(element.first, element.second);\n+ }\n+ }\n+\n+ ordered_map& operator=(const ordered_map& other) = default;\n+\n+ ordered_map& operator=(ordered_map&& other) noexcept = default;\n+\n+ T& at(const Key& key)\n+ {\n+ for (auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return element.second;\n+ }\n+ }\n+ throw std::out_of_range(\"key not found\");\n+ }\n+\n+ const T& at(const Key& key) const\n+ {\n+ for (const auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return element.second;\n+ }\n+ }\n+ throw std::out_of_range(\"key not found\");\n+ }\n+\n+ T& operator[](const Key& key)\n+ {\n+ for (auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return element.second;\n+ }\n+ }\n+ m_data.emplace_back(key, T{});\n+ return m_data.back().second;\n+ }\n+\n+ T& operator[](Key&& key)\n+ {\n+ for (auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return element.second;\n+ }\n+ }\n+ m_data.emplace_back(std::move(key), T{});\n+ return m_data.back().second;\n+ }\n+\n+ iterator begin() noexcept\n+ {\n+ return m_data.begin();\n+ }\n+\n+ const_iterator begin() const noexcept\n+ {\n+ return m_data.begin();\n+ }\n+\n+ const_iterator cbegin() const noexcept\n+ {\n+ return m_data.cbegin();\n+ }\n+\n+ iterator end() noexcept\n+ {\n+ return m_data.end();\n+ }\n+\n+ const_iterator end() const noexcept\n+ {\n+ return m_data.end();\n+ }\n+\n+ const_iterator cend() const noexcept\n+ {\n+ return m_data.cend();\n+ }\n+\n+ reverse_iterator rbegin() noexcept\n+ {\n+ return m_data.rbegin();\n+ }\n+\n+ const_reverse_iterator rbegin() const noexcept\n+ {\n+ return m_data.rbegin();\n+ }\n+\n+ reverse_iterator rend() noexcept\n+ {\n+ return m_data.rend();\n+ }\n+\n+ const_reverse_iterator rend() const noexcept\n+ {\n+ return m_data.rend();\n+ }\n+\n+ const_reverse_iterator crbegin() const noexcept\n+ {\n+ return m_data.crbegin();\n+ }\n+\n+ const_reverse_iterator crend() const noexcept\n+ {\n+ return m_data.crend();\n+ }\n+\n+ bool empty() const noexcept\n+ {\n+ return m_data.empty();\n+ }\n+\n+ size_type size() const noexcept\n+ {\n+ return m_data.size();\n+ }\n+\n+ size_type max_size() const noexcept\n+ {\n+ return m_data.max_size();\n+ }\n+\n+ void clear() noexcept\n+ {\n+ m_data.clear();\n+ }\n+\n+ std::pair insert(const value_type& value)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == value.first)\n+ {\n+ return {it, false};\n+ }\n+ }\n+ m_data.emplace_back(value.first, value.second);\n+ return {--end(), true};\n+ }\n+\n+ template::value, int>::type = 0>\n+ std::pair insert(P&& value)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == value.first)\n+ {\n+ return {it, false};\n+ }\n+ }\n+ m_data.emplace_back(std::forward

(value));\n+ return {--end(), true};\n+ }\n+\n+ iterator insert(const_iterator hint, const value_type& value)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == value.first)\n+ {\n+ return it;\n+ }\n+ }\n+ return m_data.insert(hint, std::make_pair(value.first, value.second));\n+ }\n+\n+ iterator insert(const_iterator hint, value_type&& value)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == value.first)\n+ {\n+ return it;\n+ }\n+ }\n+ return m_data.insert(hint, std::make_pair(std::move(value.first), std::move(value.second)));\n+ }\n+\n+ template\n+ void insert(InputIt first, InputIt last)\n+ {\n+ for (auto it = first; it != last; ++it)\n+ {\n+ insert(*it);\n+ }\n+ }\n+\n+ void insert(std::initializer_list ilist)\n+ {\n+ insert(ilist.begin(), ilist.end());\n+ }\n+\n+ template\n+ std::pair emplace(Args&& ... args)\n+ {\n+ // construct a temporary pair to extract key and value\n+ auto val = std::make_pair(std::forward(args)...);\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == val.first)\n+ {\n+ return {it, false};\n+ }\n+ }\n+ m_data.push_back(std::move(val));\n+ return {--end(), true};\n+ }\n+\n+ template\n+ iterator emplace_hint(const_iterator hint, Args&& ... args)\n+ {\n+ auto val = std::make_pair(std::forward(args)...);\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == val.first)\n+ {\n+ return it;\n+ }\n+ }\n+ return m_data.insert(hint, std::move(val));\n+ }\n+\n+ iterator erase(const_iterator pos)\n+ {\n+ return m_data.erase(pos);\n+ }\n+\n+ iterator erase(const_iterator first, const_iterator last)\n+ {\n+ return m_data.erase(first, last);\n+ }\n+\n+ size_type erase(const key_type& key)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == key)\n+ {\n+ m_data.erase(it);\n+ return 1;\n+ }\n+ }\n+ return 0;\n+ }\n+\n+ void swap(ordered_map& other) noexcept\n+ {\n+ std::swap(m_data, other.m_data);\n+ }\n+\n+ size_type count(const Key& key) const\n+ {\n+ for (const auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return 1;\n+ }\n+ }\n+ return 0;\n+ }\n+\n+ iterator find(const Key& key)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == key)\n+ {\n+ return it;\n+ }\n+ }\n+ return end();\n+ }\n+\n+ const_iterator find(const Key& key) const\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == key)\n+ {\n+ return it;\n+ }\n+ }\n+ return end();\n+ }\n+\n+ std::pair equal_range(const Key& key)\n+ {\n+ auto it = find(key);\n+ if (it != end())\n+ {\n+ return {it, std::next(it)};\n+ }\n+ return {end(), end()};\n+ }\n+\n+ std::pair equal_range(const Key& key) const\n+ {\n+ auto it = find(key);\n+ if (it != end())\n+ {\n+ return {it, std::next(it)};\n+ }\n+ return {end(), end()};\n+ }\n+\n+ friend bool operator==(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ if (lhs.size() != rhs.size())\n+ {\n+ return false;\n+ }\n+ for (const auto& element : lhs)\n+ {\n+ auto it = rhs.find(element.first);\n+ if (it == rhs.end() || it->second != element.second)\n+ {\n+ return false;\n+ }\n+ }\n+ return true;\n+ }\n+\n+ friend bool operator!=(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return !(lhs == rhs);\n+ }\n+\n+ friend bool operator<(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());\n+ }\n+\n+ friend bool operator<=(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return !(rhs < lhs);\n+ }\n+\n+ friend bool operator>(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return rhs < lhs;\n+ }\n+\n+ friend bool operator>=(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return !(lhs < rhs);\n+ }\n+\n+ private:\n+ container_type m_data;\n+};\n+\n+} // namespace nlohmann\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex d6c420d1..01d1b7f2 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -2759,12 +2759,441 @@ using is_detected_convertible =\n } // namespace detail\n } // namespace nlohmann\n \n+// #include \n+#ifndef NLOHMANN_ORDERED_MAP_HPP\n+#define NLOHMANN_ORDERED_MAP_HPP\n+\n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+#include \n+\n+namespace nlohmann\n+{\n+\n+template, class Allocator = std::allocator>>\n+class ordered_map\n+{\n+ public:\n+ using key_type = Key;\n+ using mapped_type = T;\n+ using value_type = std::pair;\n+ using size_type = std::size_t;\n+ using difference_type = std::ptrdiff_t;\n+ using key_compare = Compare;\n+ using allocator_type = Allocator;\n+ using reference = value_type&;\n+ using const_reference = const value_type&;\n+ using pointer = typename std::allocator_traits::pointer;\n+ using const_pointer = typename std::allocator_traits::const_pointer;\n+\n+ private:\n+ using container_type = std::vector, typename std::allocator_traits::template rebind_alloc>>;\n+\n+ public:\n+ using iterator = typename container_type::iterator;\n+ using const_iterator = typename container_type::const_iterator;\n+ using reverse_iterator = typename container_type::reverse_iterator;\n+ using const_reverse_iterator = typename container_type::const_reverse_iterator;\n+\n+ public:\n+ ordered_map() = default;\n+\n+ ordered_map(const ordered_map& other) = default;\n+\n+ ordered_map(ordered_map&& other) noexcept = default;\n+\n+ template::value_type>::value, int>::type>\n+ ordered_map(InputIt first, InputIt last)\n+ {\n+ for (auto it = first; it != last; ++it)\n+ {\n+ emplace(it->first, it->second);\n+ }\n+ }\n+\n+ ordered_map(std::initializer_list init)\n+ {\n+ for (auto& element : init)\n+ {\n+ emplace(element.first, element.second);\n+ }\n+ }\n+\n+ ordered_map& operator=(const ordered_map& other) = default;\n+\n+ ordered_map& operator=(ordered_map&& other) noexcept = default;\n+\n+ T& at(const Key& key)\n+ {\n+ for (auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return element.second;\n+ }\n+ }\n+ throw std::out_of_range(\"key not found\");\n+ }\n+\n+ const T& at(const Key& key) const\n+ {\n+ for (const auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return element.second;\n+ }\n+ }\n+ throw std::out_of_range(\"key not found\");\n+ }\n+\n+ T& operator[](const Key& key)\n+ {\n+ for (auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return element.second;\n+ }\n+ }\n+ m_data.emplace_back(key, T{});\n+ return m_data.back().second;\n+ }\n+\n+ T& operator[](Key&& key)\n+ {\n+ for (auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return element.second;\n+ }\n+ }\n+ m_data.emplace_back(std::move(key), T{});\n+ return m_data.back().second;\n+ }\n+\n+ iterator begin() noexcept\n+ {\n+ return m_data.begin();\n+ }\n+\n+ const_iterator begin() const noexcept\n+ {\n+ return m_data.begin();\n+ }\n+\n+ const_iterator cbegin() const noexcept\n+ {\n+ return m_data.cbegin();\n+ }\n+\n+ iterator end() noexcept\n+ {\n+ return m_data.end();\n+ }\n+\n+ const_iterator end() const noexcept\n+ {\n+ return m_data.end();\n+ }\n+\n+ const_iterator cend() const noexcept\n+ {\n+ return m_data.cend();\n+ }\n+\n+ reverse_iterator rbegin() noexcept\n+ {\n+ return m_data.rbegin();\n+ }\n+\n+ const_reverse_iterator rbegin() const noexcept\n+ {\n+ return m_data.rbegin();\n+ }\n+\n+ reverse_iterator rend() noexcept\n+ {\n+ return m_data.rend();\n+ }\n+\n+ const_reverse_iterator rend() const noexcept\n+ {\n+ return m_data.rend();\n+ }\n+\n+ const_reverse_iterator crbegin() const noexcept\n+ {\n+ return m_data.crbegin();\n+ }\n+\n+ const_reverse_iterator crend() const noexcept\n+ {\n+ return m_data.crend();\n+ }\n+\n+ bool empty() const noexcept\n+ {\n+ return m_data.empty();\n+ }\n+\n+ size_type size() const noexcept\n+ {\n+ return m_data.size();\n+ }\n+\n+ size_type max_size() const noexcept\n+ {\n+ return m_data.max_size();\n+ }\n+\n+ void clear() noexcept\n+ {\n+ m_data.clear();\n+ }\n+\n+ std::pair insert(const value_type& value)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == value.first)\n+ {\n+ return {it, false};\n+ }\n+ }\n+ m_data.emplace_back(value.first, value.second);\n+ return {--end(), true};\n+ }\n+\n+ template::value, int>::type = 0>\n+ std::pair insert(P&& value)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == value.first)\n+ {\n+ return {it, false};\n+ }\n+ }\n+ m_data.emplace_back(std::forward

(value));\n+ return {--end(), true};\n+ }\n+\n+ iterator insert(const_iterator hint, const value_type& value)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == value.first)\n+ {\n+ return it;\n+ }\n+ }\n+ return m_data.insert(hint, std::make_pair(value.first, value.second));\n+ }\n+\n+ iterator insert(const_iterator hint, value_type&& value)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == value.first)\n+ {\n+ return it;\n+ }\n+ }\n+ return m_data.insert(hint, std::make_pair(std::move(value.first), std::move(value.second)));\n+ }\n+\n+ template\n+ void insert(InputIt first, InputIt last)\n+ {\n+ for (auto it = first; it != last; ++it)\n+ {\n+ insert(*it);\n+ }\n+ }\n+\n+ void insert(std::initializer_list ilist)\n+ {\n+ insert(ilist.begin(), ilist.end());\n+ }\n+\n+ template\n+ std::pair emplace(Args&& ... args)\n+ {\n+ auto val = std::make_pair(std::forward(args)...);\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == val.first)\n+ {\n+ return {it, false};\n+ }\n+ }\n+ m_data.push_back(std::move(val));\n+ return {--end(), true};\n+ }\n+\n+ template\n+ iterator emplace_hint(const_iterator hint, Args&& ... args)\n+ {\n+ auto val = std::make_pair(std::forward(args)...);\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == val.first)\n+ {\n+ return it;\n+ }\n+ }\n+ return m_data.insert(hint, std::move(val));\n+ }\n+\n+ iterator erase(const_iterator pos)\n+ {\n+ return m_data.erase(pos);\n+ }\n+\n+ iterator erase(const_iterator first, const_iterator last)\n+ {\n+ return m_data.erase(first, last);\n+ }\n+\n+ size_type erase(const key_type& key)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == key)\n+ {\n+ m_data.erase(it);\n+ return 1;\n+ }\n+ }\n+ return 0;\n+ }\n+\n+ void swap(ordered_map& other) noexcept\n+ {\n+ std::swap(m_data, other.m_data);\n+ }\n+\n+ size_type count(const Key& key) const\n+ {\n+ for (const auto& element : m_data)\n+ {\n+ if (element.first == key)\n+ {\n+ return 1;\n+ }\n+ }\n+ return 0;\n+ }\n+\n+ iterator find(const Key& key)\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == key)\n+ {\n+ return it;\n+ }\n+ }\n+ return end();\n+ }\n+\n+ const_iterator find(const Key& key) const\n+ {\n+ for (auto it = begin(); it != end(); ++it)\n+ {\n+ if (it->first == key)\n+ {\n+ return it;\n+ }\n+ }\n+ return end();\n+ }\n+\n+ std::pair equal_range(const Key& key)\n+ {\n+ auto it = find(key);\n+ if (it != end())\n+ {\n+ return {it, std::next(it)};\n+ }\n+ return {end(), end()};\n+ }\n+\n+ std::pair equal_range(const Key& key) const\n+ {\n+ auto it = find(key);\n+ if (it != end())\n+ {\n+ return {it, std::next(it)};\n+ }\n+ return {end(), end()};\n+ }\n+\n+ friend bool operator==(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ if (lhs.size() != rhs.size())\n+ {\n+ return false;\n+ }\n+ for (const auto& element : lhs)\n+ {\n+ auto it = rhs.find(element.first);\n+ if (it == rhs.end() || it->second != element.second)\n+ {\n+ return false;\n+ }\n+ }\n+ return true;\n+ }\n+\n+ friend bool operator!=(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return !(lhs == rhs);\n+ }\n+\n+ friend bool operator<(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end());\n+ }\n+\n+ friend bool operator<=(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return !(rhs < lhs);\n+ }\n+\n+ friend bool operator>(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return rhs < lhs;\n+ }\n+\n+ friend bool operator>=(const ordered_map& lhs, const ordered_map& rhs)\n+ {\n+ return !(lhs < rhs);\n+ }\n+\n+ private:\n+ container_type m_data;\n+};\n+\n+} // namespace nlohmann\n+\n+#endif // NLOHMANN_ORDERED_MAP_HPP\n+\n // #include \n #ifndef INCLUDE_NLOHMANN_JSON_FWD_HPP_\n #define INCLUDE_NLOHMANN_JSON_FWD_HPP_\n \n #include // int64_t, uint64_t\n-#include // map\n #include // allocator\n #include // string\n #include // vector\n@@ -2787,7 +3216,7 @@ template\n struct adl_serializer;\n \n template class ObjectType =\n- std::map,\n+ nlohmann::ordered_map,\n template class ArrayType = std::vector,\n class StringType = std::string, class BooleanType = bool,\n class NumberIntegerType = std::int64_t,\n@@ -16012,8 +16441,8 @@ namespace nlohmann\n /*!\n @brief a class to store JSON values\n \n-@tparam ObjectType type for JSON objects (`std::map` by default; will be used\n-in @ref object_t)\n+@tparam ObjectType type for JSON objects (`nlohmann::ordered_map` by default;\n+will be used in @ref object_t)\n @tparam ArrayType type for JSON arrays (`std::vector` by default; will be used\n in @ref array_t)\n @tparam StringType type for JSON strings and object keys (`std::string` by\n@@ -16332,8 +16761,6 @@ class basic_json\n /// @{\n \n #if defined(JSON_HAS_CPP_14)\n- // Use transparent comparator if possible, combined with perfect forwarding\n- // on find() and count() calls prevents unnecessary string construction.\n using object_comparator_t = std::less<>;\n #else\n using object_comparator_t = std::less;\n@@ -16351,7 +16778,7 @@ class basic_json\n described below.\n \n @tparam ObjectType the container to store objects (e.g., `std::map` or\n- `std::unordered_map`)\n+ `nlohmann::ordered_map`)\n @tparam StringType the type of the keys or names (e.g., `std::string`).\n The comparison function `std::less` is used to order elements\n inside the container.\n@@ -16360,15 +16787,14 @@ class basic_json\n \n #### Default type\n \n- With the default values for @a ObjectType (`std::map`), @a StringType\n- (`std::string`), and @a AllocatorType (`std::allocator`), the default\n- value for @a object_t is:\n+ With the default values for @a ObjectType (`nlohmann::ordered_map`),\n+ @a StringType (`std::string`), and @a AllocatorType (`std::allocator`),\n+ the default value for @a object_t is:\n \n @code {.cpp}\n- std::map<\n+ nlohmann::ordered_map<\n std::string, // key_type\n basic_json, // value_type\n- std::less, // key_compare\n std::allocator> // allocator_type\n >\n @endcode\n@@ -16381,14 +16807,14 @@ class basic_json\n - When all names are unique, objects will be interoperable in the sense\n that all software implementations receiving that object will agree on\n the name-value mappings.\n- - When the names within an object are not unique, it is unspecified which\n- one of the values for a given key will be chosen. For instance,\n- `{\"key\": 2, \"key\": 1}` could be equal to either `{\"key\": 1}` or\n- `{\"key\": 2}`.\n- - Internally, name/value pairs are stored in lexicographical order of the\n- names. Objects will also be serialized (see @ref dump) in this order.\n+ - When the names within an object are not unique, the last value for a\n+ given key will be kept. For instance, `{\"key\": 2, \"key\": 1}` will be\n+ equal to `{\"key\": 1}`.\n+ - Internally, name/value pairs are stored in the order of insertion.\n+ Objects will also be serialized (see @ref dump) in this order.\n For instance, `{\"b\": 1, \"a\": 2}` and `{\"a\": 2, \"b\": 1}` will be stored\n- and serialized as `{\"a\": 2, \"b\": 1}`.\n+ and serialized as `{\"b\": 1, \"a\": 2}` and `{\"a\": 2, \"b\": 1}`\n+ respectively.\n - When comparing objects, the order of the name/value pairs is irrelevant.\n This makes objects interoperable in the sense that they will not be\n affected by these differences. For instance, `{\"b\": 1, \"a\": 2}` and\n@@ -16414,13 +16840,11 @@ class basic_json\n \n @since version 1.0.0\n \n- @note The order name/value pairs are added to the object is *not*\n- preserved by the library. Therefore, iterating an object may return\n- name/value pairs in a different order than they were originally stored. In\n- fact, keys will be traversed in alphabetical order as `std::map` with\n- `std::less` is used by default. Please note this behavior conforms to [RFC\n- 7159](http://rfc7159.net/rfc7159), because any order implements the\n- specified \"unordered\" nature of JSON objects.\n+ @note The order name/value pairs are added to the object is preserved by\n+ the library. Therefore, iterating an object will return name/value pairs\n+ in the order they were originally stored. Please note this behavior\n+ conforms to [RFC 7159](http://rfc7159.net/rfc7159), because any order\n+ implements the specified \"unordered\" nature of JSON objects.\n */\n using object_t = ObjectTypeboolean(false);\n \n"} +{"instance_id": "nlohmann__json-2297", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp\nindex edd4c4f7..639a34f0 100644\n--- a/include/nlohmann/detail/input/binary_reader.hpp\n+++ b/include/nlohmann/detail/input/binary_reader.hpp\n@@ -2004,6 +2004,65 @@ class binary_reader\n return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast(number), \"\");\n }\n \n+ case 'H': // high-precision number\n+ {\n+ string_t s;\n+ return get_ubjson_string(s) &&\n+ [](string_t str, json_sax_t* sax_)\n+ {\n+ if (str.empty())\n+ {\n+ return sax_->string(str);\n+ }\n+\n+ // try to parse as unsigned integer first\n+ if (str[0] != '-')\n+ {\n+ try\n+ {\n+ std::size_t pos = 0;\n+ const auto val = std::stoull(str, &pos);\n+ if (pos == str.size() &&\n+ val <= static_cast((std::numeric_limits::max)()))\n+ {\n+ return sax_->number_unsigned(static_cast(val));\n+ }\n+ }\n+ catch (...)\n+ {\n+ // ignore\n+ }\n+ }\n+\n+ // try to parse as signed integer\n+ try\n+ {\n+ std::size_t pos = 0;\n+ const auto val = std::stoll(str, &pos);\n+ if (pos == str.size() &&\n+ val >= (std::numeric_limits::min)() &&\n+ val <= (std::numeric_limits::max)())\n+ {\n+ return sax_->number_integer(static_cast(val));\n+ }\n+ }\n+ catch (...)\n+ {\n+ // ignore\n+ }\n+\n+ // fallback to float\n+ try\n+ {\n+ return sax_->number_float(static_cast(std::stold(str)), str);\n+ }\n+ catch (...)\n+ {\n+ return sax_->string(str);\n+ }\n+ }(std::move(s), sax);\n+ }\n+\n case 'C': // char\n {\n get();\ndiff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp\nindex 342cb478..54161738 100644\n--- a/include/nlohmann/detail/output/binary_writer.hpp\n+++ b/include/nlohmann/detail/output/binary_writer.hpp\n@@ -1319,7 +1319,13 @@ class binary_writer\n }\n else\n {\n- JSON_THROW(out_of_range::create(407, \"integer number \" + std::to_string(n) + \" cannot be represented by UBJSON as it does not fit int64\"));\n+ if (add_prefix)\n+ {\n+ oa->write_character(to_char_type('H')); // high-precision number\n+ }\n+ const auto s = std::to_string(n);\n+ write_number_with_ubjson_prefix(s.size(), true);\n+ oa->write_characters(reinterpret_cast(s.c_str()), s.size());\n }\n }\n \n@@ -1373,7 +1379,13 @@ class binary_writer\n // LCOV_EXCL_START\n else\n {\n- JSON_THROW(out_of_range::create(407, \"integer number \" + std::to_string(n) + \" cannot be represented by UBJSON as it does not fit int64\"));\n+ if (add_prefix)\n+ {\n+ oa->write_character(to_char_type('H')); // high-precision number\n+ }\n+ const auto s = std::to_string(n);\n+ write_number_with_ubjson_prefix(s.size(), true);\n+ oa->write_characters(reinterpret_cast(s.c_str()), s.size());\n }\n // LCOV_EXCL_STOP\n }\n@@ -1437,8 +1449,11 @@ class binary_writer\n {\n return 'l';\n }\n- // no check and assume int64_t (see note above)\n- return 'L';\n+ if (j.m_value.number_unsigned <= static_cast((std::numeric_limits::max)()))\n+ {\n+ return 'L';\n+ }\n+ return 'H'; // high-precision number\n }\n \n case value_t::number_float:\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 68198efb..6d81e7c4 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -8013,6 +8013,65 @@ class binary_reader\n return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast(number), \"\");\n }\n \n+ case 'H': // high-precision number\n+ {\n+ string_t s;\n+ return get_ubjson_string(s) &&\n+ [](string_t str, json_sax_t* sax_)\n+ {\n+ if (str.empty())\n+ {\n+ return sax_->string(str);\n+ }\n+\n+ // try to parse as unsigned integer first\n+ if (str[0] != '-')\n+ {\n+ try\n+ {\n+ std::size_t pos = 0;\n+ const auto val = std::stoull(str, &pos);\n+ if (pos == str.size() &&\n+ val <= static_cast((std::numeric_limits::max)()))\n+ {\n+ return sax_->number_unsigned(static_cast(val));\n+ }\n+ }\n+ catch (...)\n+ {\n+ // ignore\n+ }\n+ }\n+\n+ // try to parse as signed integer\n+ try\n+ {\n+ std::size_t pos = 0;\n+ const auto val = std::stoll(str, &pos);\n+ if (pos == str.size() &&\n+ val >= (std::numeric_limits::min)() &&\n+ val <= (std::numeric_limits::max)())\n+ {\n+ return sax_->number_integer(static_cast(val));\n+ }\n+ }\n+ catch (...)\n+ {\n+ // ignore\n+ }\n+\n+ // fallback to float\n+ try\n+ {\n+ return sax_->number_float(static_cast(std::stold(str)), str);\n+ }\n+ catch (...)\n+ {\n+ return sax_->string(str);\n+ }\n+ }(std::move(s), sax);\n+ }\n+\n case 'C': // char\n {\n get();\n@@ -13985,7 +14044,13 @@ class binary_writer\n }\n else\n {\n- JSON_THROW(out_of_range::create(407, \"integer number \" + std::to_string(n) + \" cannot be represented by UBJSON as it does not fit int64\"));\n+ if (add_prefix)\n+ {\n+ oa->write_character(to_char_type('H')); // high-precision number\n+ }\n+ const auto s = std::to_string(n);\n+ write_number_with_ubjson_prefix(s.size(), true);\n+ oa->write_characters(reinterpret_cast(s.c_str()), s.size());\n }\n }\n \n@@ -14039,7 +14104,13 @@ class binary_writer\n // LCOV_EXCL_START\n else\n {\n- JSON_THROW(out_of_range::create(407, \"integer number \" + std::to_string(n) + \" cannot be represented by UBJSON as it does not fit int64\"));\n+ if (add_prefix)\n+ {\n+ oa->write_character(to_char_type('H')); // high-precision number\n+ }\n+ const auto s = std::to_string(n);\n+ write_number_with_ubjson_prefix(s.size(), true);\n+ oa->write_characters(reinterpret_cast(s.c_str()), s.size());\n }\n // LCOV_EXCL_STOP\n }\n@@ -14103,8 +14174,11 @@ class binary_writer\n {\n return 'l';\n }\n- // no check and assume int64_t (see note above)\n- return 'L';\n+ if (j.m_value.number_unsigned <= static_cast((std::numeric_limits::max)()))\n+ {\n+ return 'L';\n+ }\n+ return 'H'; // high-precision number\n }\n \n case value_t::number_float:\n"} +{"instance_id": "nlohmann__json-2319", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp\nindex 2a72fefd..c87e7c61 100644\n--- a/include/nlohmann/ordered_map.hpp\n+++ b/include/nlohmann/ordered_map.hpp\n@@ -43,6 +43,19 @@ template ,\n return {--this->end(), true};\n }\n \n+ T& operator[](const Key& key)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (it->first == key)\n+ {\n+ return it->second;\n+ }\n+ }\n+ Container::emplace_back(key, T{});\n+ return this->back().second;\n+ }\n+\n T& operator[](Key&& key)\n {\n return emplace(std::move(key), T{}).first->second;\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 6a0f47ab..ef3d25d3 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -16433,6 +16433,19 @@ template ,\n return {--this->end(), true};\n }\n \n+ T& operator[](const Key& key)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (it->first == key)\n+ {\n+ return it->second;\n+ }\n+ }\n+ Container::emplace_back(key, T{});\n+ return this->back().second;\n+ }\n+\n T& operator[](Key&& key)\n {\n return emplace(std::move(key), T{}).first->second;\n"} +{"instance_id": "nlohmann__json-2332", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/input/lexer.hpp b/include/nlohmann/detail/input/lexer.hpp\nindex 60eb3526..b255b9d2 100644\n--- a/include/nlohmann/detail/input/lexer.hpp\n+++ b/include/nlohmann/detail/input/lexer.hpp\n@@ -1511,7 +1511,7 @@ scan_number_done:\n skip_whitespace();\n \n // ignore comments\n- if (ignore_comments && current == '/')\n+ while (ignore_comments && current == '/')\n {\n if (!scan_comment())\n {\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 9c66a845..723773de 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -7390,7 +7390,7 @@ scan_number_done:\n skip_whitespace();\n \n // ignore comments\n- if (ignore_comments && current == '/')\n+ while (ignore_comments && current == '/')\n {\n if (!scan_comment())\n {\n"} +{"instance_id": "nlohmann__json-2352", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/iterators/iter_impl.hpp b/include/nlohmann/detail/iterators/iter_impl.hpp\nindex e9a394d4..b1a6313a 100644\n--- a/include/nlohmann/detail/iterators/iter_impl.hpp\n+++ b/include/nlohmann/detail/iterators/iter_impl.hpp\n@@ -41,6 +41,7 @@ class iter_impl\n /// allow basic_json to access private members\n friend iter_impl::value, typename std::remove_const::type, const BasicJsonType>::type>;\n friend BasicJsonType;\n+ friend typename std::remove_const::type;\n friend iteration_proxy;\n friend iteration_proxy_value;\n \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 7d107f21..d183c48a 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -10812,6 +10812,7 @@ class iter_impl\n /// allow basic_json to access private members\n friend iter_impl::value, typename std::remove_const::type, const BasicJsonType>::type>;\n friend BasicJsonType;\n+ friend typename std::remove_const::type;\n friend iteration_proxy;\n friend iteration_proxy_value;\n \n"} +{"instance_id": "nlohmann__json-2576", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/adl_serializer.hpp b/include/nlohmann/adl_serializer.hpp\nindex 4af1c4bb..5307caa4 100644\n--- a/include/nlohmann/adl_serializer.hpp\n+++ b/include/nlohmann/adl_serializer.hpp\n@@ -1,14 +1,16 @@\n #pragma once\n \n+#include \n #include \n \n #include \n #include \n+#include \n \n namespace nlohmann\n {\n \n-template\n+template\n struct adl_serializer\n {\n /*!\n@@ -20,14 +22,22 @@ struct adl_serializer\n @param[in] j JSON value to read from\n @param[in,out] val value to write to\n */\n- template\n- static auto from_json(BasicJsonType&& j, ValueType& val) noexcept(\n+ template\n+ static auto from_json(BasicJsonType && j, U& val) noexcept(\n noexcept(::nlohmann::from_json(std::forward(j), val)))\n -> decltype(::nlohmann::from_json(std::forward(j), val), void())\n {\n ::nlohmann::from_json(std::forward(j), val);\n }\n \n+ template\n+ static auto from_json(BasicJsonType && j) noexcept(\n+ noexcept(::nlohmann::from_json(std::forward(j), detail::tag {})))\n+ -> decltype(::nlohmann::from_json(std::forward(j), detail::tag {}))\n+ {\n+ return ::nlohmann::from_json(std::forward(j), detail::tag {});\n+ }\n+\n /*!\n @brief convert any value type to a JSON value\n \n@@ -37,12 +47,12 @@ struct adl_serializer\n @param[in,out] j JSON value to write to\n @param[in] val value to read from\n */\n- template\n- static auto to_json(BasicJsonType& j, ValueType&& val) noexcept(\n- noexcept(::nlohmann::to_json(j, std::forward(val))))\n- -> decltype(::nlohmann::to_json(j, std::forward(val)), void())\n+ template\n+ static auto to_json(BasicJsonType& j, U && val) noexcept(\n+ noexcept(::nlohmann::to_json(j, std::forward(val))))\n+ -> decltype(::nlohmann::to_json(j, std::forward(val)), void())\n {\n- ::nlohmann::to_json(j, std::forward(val));\n+ ::nlohmann::to_json(j, std::forward(val));\n }\n };\n \ndiff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp\nindex 6f8bd647..1ffd79e1 100644\n--- a/include/nlohmann/detail/conversions/from_json.hpp\n+++ b/include/nlohmann/detail/conversions/from_json.hpp\n@@ -15,6 +15,7 @@\n #include \n #include \n #include \n+#include \n #include \n #include \n \n@@ -176,15 +177,38 @@ void from_json_array_impl(const BasicJsonType& j, typename BasicJsonType::array_\n arr = *j.template get_ptr();\n }\n \n+template\n+std::array from_json_inplace_array_impl(const BasicJsonType& j, index_sequence)\n+{\n+ return {{ j.at(Idx).template get()... }};\n+}\n+\n template\n auto from_json_array_impl(const BasicJsonType& j, std::array& arr,\n- priority_tag<2> /*unused*/)\n+ priority_tag<2> /*unused*/)\n -> decltype(j.template get(), void())\n {\n- for (std::size_t i = 0; i < N; ++i)\n+ arr = from_json_inplace_array_impl(j, make_index_sequence{});\n+}\n+\n+template < typename BasicJsonType, typename Array, std::size_t... Is >\n+Array from_json_array_impl(BasicJsonType&& j, tag /*unused*/, index_sequence /*unused*/)\n+{\n+ return { std::forward(j).at(Is).template get()... };\n+}\n+\n+template < typename BasicJsonType, typename T, std::size_t N,\n+ enable_if_t < !std::is_default_constructible>::value, int > = 0 >\n+auto from_json(BasicJsonType && j, tag> t)\n+-> decltype(j.template get(),\n+from_json_array_impl(std::forward(j), t, make_index_sequence {}))\n+{\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n {\n- arr[i] = j.at(i).template get();\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n }\n+\n+ return from_json_array_impl(std::forward(j), t, make_index_sequence {});\n }\n \n template\n@@ -322,22 +346,67 @@ void from_json(const BasicJsonType& j, ArithmeticType& val)\n }\n }\n \n-template\n-void from_json(const BasicJsonType& j, std::pair& p)\n+template>::value, int> = 0>\n+void from_json(BasicJsonType && j, std::pair& p)\n+{\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n+ }\n+\n+ p = {std::forward(j).at(0).template get(),\n+ std::forward(j).at(1).template get()\n+ };\n+}\n+\n+template < typename BasicJsonType, class A1, class A2,\n+ enable_if_t < !std::is_default_constructible>::value, int > = 0 >\n+std::pair from_json(BasicJsonType && j, tag> /*unused*/)\n+{\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n+ }\n+\n+ return {std::forward(j).at(0).template get(),\n+ std::forward(j).at(1).template get()};\n+}\n+\n+template\n+void from_json_tuple_impl(BasicJsonType&& j, Tuple& t, index_sequence /*unused*/)\n+{\n+ t = std::make_tuple(std::forward(j).at(Idx).template get::type>()...);\n+}\n+\n+template>::value, int > = 0 >\n+void from_json(BasicJsonType && j, std::tuple& t)\n {\n- p = {j.at(0).template get(), j.at(1).template get()};\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n+ }\n+\n+ from_json_tuple_impl(std::forward(j), t, index_sequence_for {});\n }\n \n template\n-void from_json_tuple_impl(const BasicJsonType& j, Tuple& t, index_sequence /*unused*/)\n+Tuple from_json_tuple_impl(BasicJsonType&& j, tag /*unused*/, index_sequence /*unused*/)\n {\n- t = std::make_tuple(j.at(Idx).template get::type>()...);\n+ return std::make_tuple(std::forward(j).at(Idx).template get::type>()...);\n }\n \n-template\n-void from_json(const BasicJsonType& j, std::tuple& t)\n+template < typename BasicJsonType, typename... Args,\n+ enable_if_t < !std::is_default_constructible>::value, int > = 0 >\n+std::tuple from_json(BasicJsonType && j, tag> t)\n {\n- from_json_tuple_impl(j, t, index_sequence_for {});\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n+ }\n+\n+ return from_json_tuple_impl(std::forward(j), t, index_sequence_for {});\n }\n \n template < typename BasicJsonType, typename Key, typename Value, typename Compare, typename Allocator,\n@@ -389,6 +458,14 @@ struct from_json_fn\n {\n return from_json(j, val);\n }\n+\n+ template\n+ auto operator()(const BasicJsonType& j, detail::tag t) const\n+ noexcept(noexcept(from_json(j, t)))\n+ -> decltype(from_json(j, t))\n+ {\n+ return from_json(j, t);\n+ }\n };\n } // namespace detail\n \ndiff --git a/include/nlohmann/detail/meta/tag.hpp b/include/nlohmann/detail/meta/tag.hpp\nnew file mode 100644\nindex 00000000..631887d1\n--- /dev/null\n+++ b/include/nlohmann/detail/meta/tag.hpp\n@@ -0,0 +1,10 @@\n+#pragma once\n+\n+namespace nlohmann\n+{\n+namespace detail\n+{\n+// dispatching helper struct\n+template struct tag {};\n+} // namespace detail\n+} // namespace nlohmann\ndiff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp\nindex 1706cbdc..6c332a8f 100644\n--- a/include/nlohmann/detail/meta/type_traits.hpp\n+++ b/include/nlohmann/detail/meta/type_traits.hpp\n@@ -1,5 +1,6 @@\n #pragma once\n \n+#include // array\n #include // numeric_limits\n #include // false_type, is_constructible, is_integral, is_same, true_type\n #include // declval\n@@ -296,6 +297,12 @@ template\n struct is_compatible_array_type\n : is_compatible_array_type_impl {};\n \n+template\n+struct is_std_array : std::false_type {};\n+\n+template\n+struct is_std_array> : std::true_type {};\n+\n template\n struct is_constructible_array_type_impl : std::false_type {};\n \n@@ -306,11 +313,26 @@ struct is_constructible_array_type_impl <\n typename BasicJsonType::value_type>::value >>\n : std::true_type {};\n \n+template\n+struct is_constructible_array_type_impl <\n+ BasicJsonType, std::array,\n+ enable_if_t>::value&&\n+ is_detected>::value&&\n+ is_complete_type>>::value>>\n+{\n+ static constexpr bool value =\n+ !is_iterator_traits>>::value &&\n+ (std::is_same::value ||\n+ has_from_json::value ||\n+ has_non_default_from_json::value);\n+};\n+\n template\n struct is_constructible_array_type_impl <\n BasicJsonType, ConstructibleArrayType,\n enable_if_t < !std::is_same::value&&\n+ !is_std_array::value&&\n std::is_default_constructible::value&&\n (std::is_move_assignable::value ||\n std::is_copy_assignable::value)&&\n@@ -320,11 +342,6 @@ is_complete_type <\n detected_t>::value >>\n {\n static constexpr bool value =\n- // This is needed because json_reverse_iterator has a ::iterator type,\n- // furthermore, std::back_insert_iterator (and other iterators) have a\n- // base class `iterator`... Therefore it is detected as a\n- // ConstructibleArrayType. The real fix would be to have an Iterable\n- // concept.\n !is_iterator_traits>::value &&\n \n (std::is_same\n \n \n+#include \n #include \n \n // #include \n@@ -3090,6 +3091,18 @@ constexpr T static_const::value;\n } // namespace detail\n } // namespace nlohmann\n \n+// #include \n+\n+\n+namespace nlohmann\n+{\n+namespace detail\n+{\n+// dispatching helper struct\n+template struct tag {};\n+} // namespace detail\n+} // namespace nlohmann\n+\n // #include \n \n \n@@ -3597,6 +3610,12 @@ template\n struct is_compatible_array_type\n : is_compatible_array_type_impl {};\n \n+template\n+struct is_std_array : std::false_type {};\n+\n+template\n+struct is_std_array> : std::true_type {};\n+\n template\n struct is_constructible_array_type_impl : std::false_type {};\n \n@@ -3607,11 +3626,26 @@ struct is_constructible_array_type_impl <\n typename BasicJsonType::value_type>::value >>\n : std::true_type {};\n \n+template\n+struct is_constructible_array_type_impl <\n+ BasicJsonType, std::array,\n+ enable_if_t>::value&&\n+ is_detected>::value&&\n+ is_complete_type>>::value>>\n+{\n+ static constexpr bool value =\n+ !is_iterator_traits>>::value &&\n+ (std::is_same::value ||\n+ has_from_json::value ||\n+ has_non_default_from_json::value);\n+};\n+\n template\n struct is_constructible_array_type_impl <\n BasicJsonType, ConstructibleArrayType,\n enable_if_t < !std::is_same::value&&\n+ !is_std_array::value&&\n std::is_default_constructible::value&&\n (std::is_move_assignable::value ||\n std::is_copy_assignable::value)&&\n@@ -3621,11 +3655,6 @@ is_complete_type <\n detected_t>::value >>\n {\n static constexpr bool value =\n- // This is needed because json_reverse_iterator has a ::iterator type,\n- // furthermore, std::back_insert_iterator (and other iterators) have a\n- // base class `iterator`... Therefore it is detected as a\n- // ConstructibleArrayType. The real fix would be to have an Iterable\n- // concept.\n !is_iterator_traits>::value &&\n \n (std::is_same();\n }\n \n+template\n+std::array from_json_inplace_array_impl(const BasicJsonType& j, index_sequence)\n+{\n+ return {{ j.at(Idx).template get()... }};\n+}\n+\n template\n auto from_json_array_impl(const BasicJsonType& j, std::array& arr,\n- priority_tag<2> /*unused*/)\n+ priority_tag<2> /*unused*/)\n -> decltype(j.template get(), void())\n {\n- for (std::size_t i = 0; i < N; ++i)\n+ arr = from_json_inplace_array_impl(j, make_index_sequence{});\n+}\n+\n+template < typename BasicJsonType, typename Array, std::size_t... Is >\n+Array from_json_array_impl(BasicJsonType&& j, tag /*unused*/, index_sequence /*unused*/)\n+{\n+ return { std::forward(j).at(Is).template get()... };\n+}\n+\n+template < typename BasicJsonType, typename T, std::size_t N,\n+ enable_if_t < !std::is_default_constructible>::value, int > = 0 >\n+auto from_json(BasicJsonType && j, tag> t)\n+-> decltype(j.template get(),\n+from_json_array_impl(std::forward(j), t, make_index_sequence {}))\n+{\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n {\n- arr[i] = j.at(i).template get();\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n }\n+\n+ return from_json_array_impl(std::forward(j), t, make_index_sequence {});\n }\n \n template\n@@ -4005,22 +4057,67 @@ void from_json(const BasicJsonType& j, ArithmeticType& val)\n }\n }\n \n-template\n-void from_json(const BasicJsonType& j, std::pair& p)\n+template>::value, int> = 0>\n+void from_json(BasicJsonType && j, std::pair& p)\n+{\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n+ }\n+\n+ p = {std::forward(j).at(0).template get(),\n+ std::forward(j).at(1).template get()\n+ };\n+}\n+\n+template < typename BasicJsonType, class A1, class A2,\n+ enable_if_t < !std::is_default_constructible>::value, int > = 0 >\n+std::pair from_json(BasicJsonType && j, tag> /*unused*/)\n+{\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n+ }\n+\n+ return {std::forward(j).at(0).template get(),\n+ std::forward(j).at(1).template get()};\n+}\n+\n+template\n+void from_json_tuple_impl(BasicJsonType&& j, Tuple& t, index_sequence /*unused*/)\n+{\n+ t = std::make_tuple(std::forward(j).at(Idx).template get::type>()...);\n+}\n+\n+template>::value, int > = 0 >\n+void from_json(BasicJsonType && j, std::tuple& t)\n {\n- p = {j.at(0).template get(), j.at(1).template get()};\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n+ }\n+\n+ from_json_tuple_impl(std::forward(j), t, index_sequence_for {});\n }\n \n template\n-void from_json_tuple_impl(const BasicJsonType& j, Tuple& t, index_sequence /*unused*/)\n+Tuple from_json_tuple_impl(BasicJsonType&& j, tag /*unused*/, index_sequence /*unused*/)\n {\n- t = std::make_tuple(j.at(Idx).template get::type>()...);\n+ return std::make_tuple(std::forward(j).at(Idx).template get::type>()...);\n }\n \n-template\n-void from_json(const BasicJsonType& j, std::tuple& t)\n+template < typename BasicJsonType, typename... Args,\n+ enable_if_t < !std::is_default_constructible>::value, int > = 0 >\n+std::tuple from_json(BasicJsonType && j, tag> t)\n {\n- from_json_tuple_impl(j, t, index_sequence_for {});\n+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))\n+ {\n+ JSON_THROW(type_error::create(302, \"type must be array, but is \" + std::string(j.type_name()), j));\n+ }\n+\n+ return from_json_tuple_impl(std::forward(j), t, index_sequence_for {});\n }\n \n template < typename BasicJsonType, typename Key, typename Value, typename Compare, typename Allocator,\n@@ -4072,6 +4169,14 @@ struct from_json_fn\n {\n return from_json(j, val);\n }\n+\n+ template\n+ auto operator()(const BasicJsonType& j, detail::tag t) const\n+ noexcept(noexcept(from_json(j, t)))\n+ -> decltype(from_json(j, t))\n+ {\n+ return from_json(j, t);\n+ }\n };\n } // namespace detail\n \n@@ -4659,7 +4764,7 @@ constexpr const auto& to_json = detail::static_const::value;\n namespace nlohmann\n {\n \n-template\n+template\n struct adl_serializer\n {\n /*!\n@@ -4671,14 +4776,22 @@ struct adl_serializer\n @param[in] j JSON value to read from\n @param[in,out] val value to write to\n */\n- template\n- static auto from_json(BasicJsonType&& j, ValueType& val) noexcept(\n+ template\n+ static auto from_json(BasicJsonType && j, U& val) noexcept(\n noexcept(::nlohmann::from_json(std::forward(j), val)))\n -> decltype(::nlohmann::from_json(std::forward(j), val), void())\n {\n ::nlohmann::from_json(std::forward(j), val);\n }\n \n+ template\n+ static auto from_json(BasicJsonType && j) noexcept(\n+ noexcept(::nlohmann::from_json(std::forward(j), detail::tag {})))\n+ -> decltype(::nlohmann::from_json(std::forward(j), detail::tag {}))\n+ {\n+ return ::nlohmann::from_json(std::forward(j), detail::tag {});\n+ }\n+\n /*!\n @brief convert any value type to a JSON value\n \n@@ -4688,12 +4801,12 @@ struct adl_serializer\n @param[in,out] j JSON value to write to\n @param[in] val value to read from\n */\n- template\n- static auto to_json(BasicJsonType& j, ValueType&& val) noexcept(\n- noexcept(::nlohmann::to_json(j, std::forward(val))))\n- -> decltype(::nlohmann::to_json(j, std::forward(val)), void())\n+ template\n+ static auto to_json(BasicJsonType& j, U && val) noexcept(\n+ noexcept(::nlohmann::to_json(j, std::forward(val))))\n+ -> decltype(::nlohmann::to_json(j, std::forward(val)), void())\n {\n- ::nlohmann::to_json(j, std::forward(val));\n+ ::nlohmann::to_json(j, std::forward(val));\n }\n };\n \n"} +{"instance_id": "nlohmann__json-2866", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex c55bdf54..a786d713 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -2236,6 +2236,10 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n other.m_type = value_t::null;\n other.m_value = {};\n \n+#if JSON_DIAGNOSTICS\n+ m_parent = other.m_parent;\n+#endif\n+\n set_parents();\n assert_invariant();\n }\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex cbe69ef4..9629583e 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -19271,6 +19271,10 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n other.m_type = value_t::null;\n other.m_value = {};\n \n+#if JSON_DIAGNOSTICS\n+ m_parent = other.m_parent;\n+#endif\n+\n set_parents();\n assert_invariant();\n }\n"} +{"instance_id": "nlohmann__json-2963", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex b679febe..f364c4ee 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -1321,19 +1321,63 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n return it;\n }\n \n+ // helper trait to check if object_t has a capacity() method (e.g., ordered_map)\n+ template\n+ struct has_capacity : std::false_type {};\n+\n+ template\n+ struct has_capacity().capacity()), std::size_t>::value>::type> : std::true_type {};\n+\n+ std::size_t get_object_capacity() const noexcept\n+ {\n+#if JSON_DIAGNOSTICS\n+ return get_object_capacity_impl();\n+#else\n+ return std::size_t(-1);\n+#endif\n+ }\n+\n+#if JSON_DIAGNOSTICS\n+ template::value, int>::type = 0>\n+ std::size_t get_object_capacity_impl() const noexcept\n+ {\n+ return m_value.object->capacity();\n+ }\n+\n+ template::value, int>::type = 0>\n+ std::size_t get_object_capacity_impl() const noexcept\n+ {\n+ return std::size_t(-1);\n+ }\n+#endif\n+\n reference set_parent(reference j, std::size_t old_capacity = std::size_t(-1))\n {\n #if JSON_DIAGNOSTICS\n if (old_capacity != std::size_t(-1))\n {\n // see https://github.com/nlohmann/json/issues/2838\n- JSON_ASSERT(type() == value_t::array);\n- if (JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity))\n+ // Account for capacity changes in array or ordered_map containers\n+ if (is_array() && JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity))\n {\n // capacity has changed: update all parents\n set_parents();\n return j;\n }\n+\n+ // ordered_map objects also have capacity() (inherited from std::vector)\n+ // and may reallocate, invalidating parent pointers\n+ if (is_object())\n+ {\n+ auto cap = get_object_capacity();\n+ if (cap != std::size_t(-1) && JSON_HEDLEY_UNLIKELY(cap != old_capacity))\n+ {\n+ set_parents();\n+ return j;\n+ }\n+ }\n }\n \n j.m_parent = this;\n@@ -3767,7 +3811,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n // operator[] only works for objects\n if (JSON_HEDLEY_LIKELY(is_object()))\n {\n- return set_parent(m_value.object->operator[](key));\n+ const std::size_t old_capacity = get_object_capacity();\n+ return set_parent(m_value.object->operator[](key), old_capacity);\n }\n \n JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument with \" + std::string(type_name()), *this));\n@@ -3857,7 +3902,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n // at only works for objects\n if (JSON_HEDLEY_LIKELY(is_object()))\n {\n- return set_parent(m_value.object->operator[](key));\n+ const std::size_t old_capacity = get_object_capacity();\n+ return set_parent(m_value.object->operator[](key), old_capacity);\n }\n \n JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument with \" + std::string(type_name()), *this));\n@@ -5529,8 +5575,9 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n // add element to object\n+ const std::size_t old_capacity = get_object_capacity();\n auto res = m_value.object->insert(val);\n- set_parent(res.first->second);\n+ set_parent(res.first->second, old_capacity);\n }\n \n /*!\n@@ -5683,8 +5730,9 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n // add element to array (perfect forwarding)\n+ const std::size_t old_capacity = get_object_capacity();\n auto res = m_value.object->emplace(std::forward(args)...);\n- set_parent(res.first->second);\n+ set_parent(res.first->second, old_capacity);\n \n // create result iterator and set iterator to the result of emplace\n auto it = begin();\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 077338cb..3203cf79 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -18704,19 +18704,63 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n return it;\n }\n \n+ // helper trait to check if object_t has a capacity() method (e.g., ordered_map)\n+ template\n+ struct has_capacity : std::false_type {};\n+\n+ template\n+ struct has_capacity().capacity()), std::size_t>::value>::type> : std::true_type {};\n+\n+ std::size_t get_object_capacity() const noexcept\n+ {\n+#if JSON_DIAGNOSTICS\n+ return get_object_capacity_impl();\n+#else\n+ return std::size_t(-1);\n+#endif\n+ }\n+\n+#if JSON_DIAGNOSTICS\n+ template::value, int>::type = 0>\n+ std::size_t get_object_capacity_impl() const noexcept\n+ {\n+ return m_value.object->capacity();\n+ }\n+\n+ template::value, int>::type = 0>\n+ std::size_t get_object_capacity_impl() const noexcept\n+ {\n+ return std::size_t(-1);\n+ }\n+#endif\n+\n reference set_parent(reference j, std::size_t old_capacity = std::size_t(-1))\n {\n #if JSON_DIAGNOSTICS\n if (old_capacity != std::size_t(-1))\n {\n // see https://github.com/nlohmann/json/issues/2838\n- JSON_ASSERT(type() == value_t::array);\n- if (JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity))\n+ // Account for capacity changes in array or ordered_map containers\n+ if (is_array() && JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity))\n {\n // capacity has changed: update all parents\n set_parents();\n return j;\n }\n+\n+ // ordered_map objects also have capacity() (inherited from std::vector)\n+ // and may reallocate, invalidating parent pointers\n+ if (is_object())\n+ {\n+ auto cap = get_object_capacity();\n+ if (cap != std::size_t(-1) && JSON_HEDLEY_UNLIKELY(cap != old_capacity))\n+ {\n+ set_parents();\n+ return j;\n+ }\n+ }\n }\n \n j.m_parent = this;\n@@ -21150,7 +21194,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n // operator[] only works for objects\n if (JSON_HEDLEY_LIKELY(is_object()))\n {\n- return set_parent(m_value.object->operator[](key));\n+ const std::size_t old_capacity = get_object_capacity();\n+ return set_parent(m_value.object->operator[](key), old_capacity);\n }\n \n JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument with \" + std::string(type_name()), *this));\n@@ -21240,7 +21285,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n // at only works for objects\n if (JSON_HEDLEY_LIKELY(is_object()))\n {\n- return set_parent(m_value.object->operator[](key));\n+ const std::size_t old_capacity = get_object_capacity();\n+ return set_parent(m_value.object->operator[](key), old_capacity);\n }\n \n JSON_THROW(type_error::create(305, \"cannot use operator[] with a string argument with \" + std::string(type_name()), *this));\n@@ -22912,8 +22958,9 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n // add element to object\n+ const std::size_t old_capacity = get_object_capacity();\n auto res = m_value.object->insert(val);\n- set_parent(res.first->second);\n+ set_parent(res.first->second, old_capacity);\n }\n \n /*!\n@@ -23066,8 +23113,9 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n // add element to array (perfect forwarding)\n+ const std::size_t old_capacity = get_object_capacity();\n auto res = m_value.object->emplace(std::forward(args)...);\n- set_parent(res.first->second);\n+ set_parent(res.first->second, old_capacity);\n \n // create result iterator and set iterator to the result of emplace\n auto it = begin();\n"} +{"instance_id": "nlohmann__json-2989", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/output/output_adapters.hpp b/include/nlohmann/detail/output/output_adapters.hpp\nindex 6f246268..688604a9 100644\n--- a/include/nlohmann/detail/output/output_adapters.hpp\n+++ b/include/nlohmann/detail/output/output_adapters.hpp\n@@ -37,11 +37,11 @@ template\n using output_adapter_t = std::shared_ptr>;\n \n /// output adapter for byte vectors\n-template\n+template>\n class output_vector_adapter : public output_adapter_protocol\n {\n public:\n- explicit output_vector_adapter(std::vector& vec) noexcept\n+ explicit output_vector_adapter(VectorType& vec) noexcept\n : v(vec)\n {}\n \n@@ -57,7 +57,7 @@ class output_vector_adapter : public output_adapter_protocol\n }\n \n private:\n- std::vector& v;\n+ VectorType& v;\n };\n \n #ifndef JSON_NO_IO\n@@ -110,12 +110,12 @@ class output_string_adapter : public output_adapter_protocol\n StringType& str;\n };\n \n-template>\n+template, typename VectorType = std::vector>\n class output_adapter\n {\n public:\n- output_adapter(std::vector& vec)\n- : oa(std::make_shared>(vec)) {}\n+ output_adapter(VectorType& vec)\n+ : oa(std::make_shared>(vec)) {}\n \n #ifndef JSON_NO_IO\n output_adapter(std::basic_ostream& s)\ndiff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex fc3e6082..f6e8fe78 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -7324,6 +7324,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n binary_writer(o).write_cbor(j);\n }\n \n+ template\n+ static void to_cbor(const basic_json& j, std::vector& v)\n+ {\n+ detail::output_adapter, std::vector> o(v);\n+ binary_writer(o).write_cbor(j);\n+ }\n+\n /*!\n @brief create a MessagePack serialization of a given JSON value\n \n@@ -7419,6 +7426,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n binary_writer(o).write_msgpack(j);\n }\n \n+ template\n+ static void to_msgpack(const basic_json& j, std::vector& v)\n+ {\n+ detail::output_adapter, std::vector> o(v);\n+ binary_writer(o).write_msgpack(j);\n+ }\n+\n /*!\n @brief create a UBJSON serialization of a given JSON value\n \n@@ -7526,6 +7540,14 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n binary_writer(o).write_ubjson(j, use_size, use_type);\n }\n \n+ template\n+ static void to_ubjson(const basic_json& j, std::vector& v,\n+ const bool use_size = false, const bool use_type = false)\n+ {\n+ detail::output_adapter, std::vector> o(v);\n+ binary_writer(o).write_ubjson(j, use_size, use_type);\n+ }\n+\n \n /*!\n @brief Serializes the given JSON object `j` to BSON and returns a vector\n@@ -7611,6 +7633,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n binary_writer(o).write_bson(j);\n }\n \n+ template\n+ static void to_bson(const basic_json& j, std::vector& v)\n+ {\n+ detail::output_adapter, std::vector> o(v);\n+ binary_writer(o).write_bson(j);\n+ }\n+\n \n /*!\n @brief create a JSON value from an input in CBOR format\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 8959265d..71e99665 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -13485,11 +13485,11 @@ template\n using output_adapter_t = std::shared_ptr>;\n \n /// output adapter for byte vectors\n-template\n+template>\n class output_vector_adapter : public output_adapter_protocol\n {\n public:\n- explicit output_vector_adapter(std::vector& vec) noexcept\n+ explicit output_vector_adapter(VectorType& vec) noexcept\n : v(vec)\n {}\n \n@@ -13505,7 +13505,7 @@ class output_vector_adapter : public output_adapter_protocol\n }\n \n private:\n- std::vector& v;\n+ VectorType& v;\n };\n \n #ifndef JSON_NO_IO\n@@ -13558,12 +13558,12 @@ class output_string_adapter : public output_adapter_protocol\n StringType& str;\n };\n \n-template>\n+template, typename VectorType = std::vector>\n class output_adapter\n {\n public:\n- output_adapter(std::vector& vec)\n- : oa(std::make_shared>(vec)) {}\n+ output_adapter(VectorType& vec)\n+ : oa(std::make_shared>(vec)) {}\n \n #ifndef JSON_NO_IO\n output_adapter(std::basic_ostream& s)\n@@ -24729,6 +24729,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n binary_writer(o).write_cbor(j);\n }\n \n+ template\n+ static void to_cbor(const basic_json& j, std::vector& v)\n+ {\n+ detail::output_adapter, std::vector> o(v);\n+ binary_writer(o).write_cbor(j);\n+ }\n+\n /*!\n @brief create a MessagePack serialization of a given JSON value\n \n@@ -24824,6 +24831,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n binary_writer(o).write_msgpack(j);\n }\n \n+ template\n+ static void to_msgpack(const basic_json& j, std::vector& v)\n+ {\n+ detail::output_adapter, std::vector> o(v);\n+ binary_writer(o).write_msgpack(j);\n+ }\n+\n /*!\n @brief create a UBJSON serialization of a given JSON value\n \n@@ -24931,6 +24945,14 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n binary_writer(o).write_ubjson(j, use_size, use_type);\n }\n \n+ template\n+ static void to_ubjson(const basic_json& j, std::vector& v,\n+ const bool use_size = false, const bool use_type = false)\n+ {\n+ detail::output_adapter, std::vector> o(v);\n+ binary_writer(o).write_ubjson(j, use_size, use_type);\n+ }\n+\n \n /*!\n @brief Serializes the given JSON object `j` to BSON and returns a vector\n@@ -25016,6 +25038,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n binary_writer(o).write_bson(j);\n }\n \n+ template\n+ static void to_bson(const basic_json& j, std::vector& v)\n+ {\n+ detail::output_adapter, std::vector> o(v);\n+ binary_writer(o).write_bson(j);\n+ }\n+\n \n /*!\n @brief create a JSON value from an input in CBOR format\n"} +{"instance_id": "nlohmann__json-3008", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex fc3e6082..0182544a 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -6008,7 +6008,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n \n for (auto it = j.cbegin(); it != j.cend(); ++it)\n {\n- m_value.object->operator[](it.key()) = it.value();\n+ set_parent(m_value.object->operator[](it.key()) = it.value());\n }\n }\n \n@@ -6068,7 +6068,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n \n for (auto it = first; it != last; ++it)\n {\n- m_value.object->operator[](it.key()) = it.value();\n+ set_parent(m_value.object->operator[](it.key()) = it.value());\n }\n }\n \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 8959265d..d0fe64f2 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -23413,7 +23413,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n \n for (auto it = j.cbegin(); it != j.cend(); ++it)\n {\n- m_value.object->operator[](it.key()) = it.value();\n+ set_parent(m_value.object->operator[](it.key()) = it.value());\n }\n }\n \n@@ -23473,7 +23473,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n \n for (auto it = first; it != last; ++it)\n {\n- m_value.object->operator[](it.key()) = it.value();\n+ set_parent(m_value.object->operator[](it.key()) = it.value());\n }\n }\n \n"} +{"instance_id": "nlohmann__json-3037", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 053be8f7..afccde22 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -3695,14 +3695,23 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n if (idx >= m_value.array->size())\n {\n #if JSON_DIAGNOSTICS\n- // remember array size before resizing\n+ // remember array capacity and size before resizing\n+ const auto old_capacity = m_value.array->capacity();\n const auto previous_size = m_value.array->size();\n #endif\n m_value.array->resize(idx + 1);\n \n #if JSON_DIAGNOSTICS\n- // set parent for values added above\n- set_parents(begin() + static_cast(previous_size), static_cast(idx + 1 - previous_size));\n+ // set parent for values added above; if capacity changed,\n+ // all elements were moved and need new parent pointers\n+ if (m_value.array->capacity() != old_capacity)\n+ {\n+ set_parents();\n+ }\n+ else\n+ {\n+ set_parents(begin() + static_cast(previous_size), static_cast(idx + 1 - previous_size));\n+ }\n #endif\n }\n \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 9c27aabb..1fa60b0e 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -21101,14 +21101,23 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n if (idx >= m_value.array->size())\n {\n #if JSON_DIAGNOSTICS\n- // remember array size before resizing\n+ // remember array capacity and size before resizing\n+ const auto old_capacity = m_value.array->capacity();\n const auto previous_size = m_value.array->size();\n #endif\n m_value.array->resize(idx + 1);\n \n #if JSON_DIAGNOSTICS\n- // set parent for values added above\n- set_parents(begin() + static_cast(previous_size), static_cast(idx + 1 - previous_size));\n+ // set parent for values added above; if capacity changed,\n+ // all elements were moved and need new parent pointers\n+ if (m_value.array->capacity() != old_capacity)\n+ {\n+ set_parents();\n+ }\n+ else\n+ {\n+ set_parents(begin() + static_cast(previous_size), static_cast(idx + 1 - previous_size));\n+ }\n #endif\n }\n \n"} +{"instance_id": "nlohmann__json-3073", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp\nindex ca6051e7..06c58483 100644\n--- a/include/nlohmann/detail/meta/type_traits.hpp\n+++ b/include/nlohmann/detail/meta/type_traits.hpp\n@@ -355,7 +355,8 @@ struct is_compatible_array_type_impl <\n BasicJsonType, CompatibleArrayType,\n enable_if_t <\n is_detected::value&&\n- is_iterator_traits>>::value >>\n+ is_iterator_traits>>::value&&\n+ !std::is_same>::value >>\n {\n static constexpr bool value =\n is_constructible::value&&\n !is_compatible_string_type::value&&\n+ !std::is_same>::value&&\n is_default_constructible::value&&\n (std::is_move_assignable::value ||\n std::is_copy_assignable::value)&&\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 25c6983b..1c3ca369 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -3829,7 +3829,8 @@ struct is_compatible_array_type_impl <\n BasicJsonType, CompatibleArrayType,\n enable_if_t <\n is_detected::value&&\n- is_iterator_traits>>::value >>\n+ is_iterator_traits>>::value&&\n+ !std::is_same>::value >>\n {\n static constexpr bool value =\n is_constructible::value&&\n !is_compatible_string_type::value&&\n+ !std::is_same>::value&&\n is_default_constructible::value&&\n (std::is_move_assignable::value ||\n std::is_copy_assignable::value)&&\n"} +{"instance_id": "nlohmann__json-3109", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp\nindex cf5f133e..ce19d6c6 100644\n--- a/include/nlohmann/ordered_map.hpp\n+++ b/include/nlohmann/ordered_map.hpp\n@@ -25,6 +25,7 @@ template ,\n using Container = std::vector, Allocator>;\n using typename Container::iterator;\n using typename Container::const_iterator;\n+ using typename Container::difference_type;\n using typename Container::size_type;\n using typename Container::value_type;\n \n@@ -119,6 +120,29 @@ template ,\n return pos;\n }\n \n+ iterator erase(iterator first, iterator last)\n+ {\n+ if (first == last)\n+ {\n+ return first;\n+ }\n+\n+ auto new_end = first;\n+ for (auto it = last; it != this->end(); ++it, ++new_end)\n+ {\n+ new_end->~value_type();\n+ new (&*new_end) value_type{std::move(*it)};\n+ }\n+\n+ auto diff = static_cast(last - first);\n+ for (auto i = diff; i > 0; --i)\n+ {\n+ Container::pop_back();\n+ }\n+\n+ return first;\n+ }\n+\n size_type count(const Key& key) const\n {\n for (auto it = this->begin(); it != this->end(); ++it)\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex f071e243..6fb23f28 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -17412,6 +17412,7 @@ template ,\n using Container = std::vector, Allocator>;\n using typename Container::iterator;\n using typename Container::const_iterator;\n+ using typename Container::difference_type;\n using typename Container::size_type;\n using typename Container::value_type;\n \n@@ -17506,6 +17507,29 @@ template ,\n return pos;\n }\n \n+ iterator erase(iterator first, iterator last)\n+ {\n+ if (first == last)\n+ {\n+ return first;\n+ }\n+\n+ auto new_end = first;\n+ for (auto it = last; it != this->end(); ++it, ++new_end)\n+ {\n+ new_end->~value_type();\n+ new (&*new_end) value_type{std::move(*it)};\n+ }\n+\n+ auto diff = static_cast(last - first);\n+ for (auto i = diff; i > 0; --i)\n+ {\n+ Container::pop_back();\n+ }\n+\n+ return first;\n+ }\n+\n size_type count(const Key& key) const\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n"} +{"instance_id": "nlohmann__json-3332", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/iterators/iter_impl.hpp b/include/nlohmann/detail/iterators/iter_impl.hpp\nindex 434a62d3..5a282cae 100644\n--- a/include/nlohmann/detail/iterators/iter_impl.hpp\n+++ b/include/nlohmann/detail/iterators/iter_impl.hpp\n@@ -352,7 +352,7 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci\n @brief post-increment (it++)\n @pre The iterator is initialized; i.e. `m_object != nullptr`.\n */\n- iter_impl const operator++(int) // NOLINT(readability-const-return-type)\n+ iter_impl operator++(int)\n {\n auto result = *this;\n ++(*this);\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex e40e3b05..90b4ab1f 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -11728,7 +11728,7 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci\n @brief post-increment (it++)\n @pre The iterator is initialized; i.e. `m_object != nullptr`.\n */\n- iter_impl const operator++(int) // NOLINT(readability-const-return-type)\n+ iter_impl operator++(int)\n {\n auto result = *this;\n ++(*this);\n"} +{"instance_id": "nlohmann__json-3415", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp\nindex caed67c9..ebe89d79 100644\n--- a/include/nlohmann/detail/json_pointer.hpp\n+++ b/include/nlohmann/detail/json_pointer.hpp\n@@ -235,6 +235,8 @@ class json_pointer\n */\n BasicJsonType& get_and_create(BasicJsonType& j) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n auto* result = &j;\n \n // in case no reference tokens exist, return a reference to the JSON value\n@@ -253,7 +255,7 @@ class json_pointer\n else\n {\n // start a new object otherwise\n- result = &result->operator[](reference_token);\n+ result = &result->operator[](string_t(reference_token.c_str()));\n }\n break;\n }\n@@ -261,7 +263,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // create an entry in the object\n- result = &result->operator[](reference_token);\n+ result = &result->operator[](string_t(reference_token.c_str()));\n break;\n }\n \n@@ -314,6 +316,8 @@ class json_pointer\n */\n BasicJsonType& get_unchecked(BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n // convert null values to arrays or objects before continuing\n@@ -338,7 +342,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // use unchecked object access\n- ptr = &ptr->operator[](reference_token);\n+ ptr = &ptr->operator[](string_t(reference_token.c_str()));\n break;\n }\n \n@@ -381,6 +385,8 @@ class json_pointer\n */\n BasicJsonType& get_checked(BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n switch (ptr->type())\n@@ -388,7 +394,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // note: at performs range check\n- ptr = &ptr->at(reference_token);\n+ ptr = &ptr->at(string_t(reference_token.c_str()));\n break;\n }\n \n@@ -438,6 +444,8 @@ class json_pointer\n */\n const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n switch (ptr->type())\n@@ -445,7 +453,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // use unchecked object access\n- ptr = &ptr->operator[](reference_token);\n+ ptr = &ptr->operator[](string_t(reference_token.c_str()));\n break;\n }\n \n@@ -486,6 +494,8 @@ class json_pointer\n */\n const BasicJsonType& get_checked(const BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n switch (ptr->type())\n@@ -493,7 +503,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // note: at performs range check\n- ptr = &ptr->at(reference_token);\n+ ptr = &ptr->at(string_t(reference_token.c_str()));\n break;\n }\n \n@@ -534,19 +544,21 @@ class json_pointer\n */\n bool contains(const BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n switch (ptr->type())\n {\n case detail::value_t::object:\n {\n- if (!ptr->contains(reference_token))\n+ if (!ptr->contains(string_t(reference_token.c_str())))\n {\n // we did not find the key in the object\n return false;\n }\n \n- ptr = &ptr->operator[](reference_token);\n+ ptr = &ptr->operator[](string_t(reference_token.c_str()));\n break;\n }\n \n@@ -692,6 +704,8 @@ class json_pointer\n const BasicJsonType& value,\n BasicJsonType& result)\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n switch (value.type())\n {\n case detail::value_t::array:\n@@ -699,7 +713,7 @@ class json_pointer\n if (value.m_value.array->empty())\n {\n // flatten empty array as null\n- result[reference_string] = nullptr;\n+ result[string_t(reference_string.c_str())] = nullptr;\n }\n else\n {\n@@ -718,14 +732,14 @@ class json_pointer\n if (value.m_value.object->empty())\n {\n // flatten empty object as null\n- result[reference_string] = nullptr;\n+ result[string_t(reference_string.c_str())] = nullptr;\n }\n else\n {\n // iterate object and use keys as reference string\n for (const auto& element : *value.m_value.object)\n {\n- flatten(reference_string + \"/\" + detail::escape(element.first), element.second, result);\n+ flatten(reference_string + \"/\" + detail::escape(std::string(element.first.c_str())), element.second, result);\n }\n }\n break;\n@@ -742,7 +756,7 @@ class json_pointer\n default:\n {\n // add primitive value with its reference string\n- result[reference_string] = value;\n+ result[string_t(reference_string.c_str())] = value;\n break;\n }\n }\ndiff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex db85f8d7..19c8ae31 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -1995,7 +1995,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n JSON_CATCH (std::out_of_range&)\n {\n // create better exception explanation\n- JSON_THROW(out_of_range::create(403, \"key '\" + key + \"' not found\", *this));\n+ JSON_THROW(out_of_range::create(403, \"key '\" + std::string(key.c_str()) + \"' not found\", *this));\n }\n }\n else\n@@ -2018,7 +2018,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n JSON_CATCH (std::out_of_range&)\n {\n // create better exception explanation\n- JSON_THROW(out_of_range::create(403, \"key '\" + key + \"' not found\", *this));\n+ JSON_THROW(out_of_range::create(403, \"key '\" + std::string(key.c_str()) + \"' not found\", *this));\n }\n }\n else\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex c1f545b0..99d9ff0c 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -12501,6 +12501,8 @@ class json_pointer\n */\n BasicJsonType& get_and_create(BasicJsonType& j) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n auto* result = &j;\n \n // in case no reference tokens exist, return a reference to the JSON value\n@@ -12519,7 +12521,7 @@ class json_pointer\n else\n {\n // start a new object otherwise\n- result = &result->operator[](reference_token);\n+ result = &result->operator[](string_t(reference_token.c_str()));\n }\n break;\n }\n@@ -12527,7 +12529,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // create an entry in the object\n- result = &result->operator[](reference_token);\n+ result = &result->operator[](string_t(reference_token.c_str()));\n break;\n }\n \n@@ -12580,6 +12582,8 @@ class json_pointer\n */\n BasicJsonType& get_unchecked(BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n // convert null values to arrays or objects before continuing\n@@ -12604,7 +12608,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // use unchecked object access\n- ptr = &ptr->operator[](reference_token);\n+ ptr = &ptr->operator[](string_t(reference_token.c_str()));\n break;\n }\n \n@@ -12647,6 +12651,8 @@ class json_pointer\n */\n BasicJsonType& get_checked(BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n switch (ptr->type())\n@@ -12654,7 +12660,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // note: at performs range check\n- ptr = &ptr->at(reference_token);\n+ ptr = &ptr->at(string_t(reference_token.c_str()));\n break;\n }\n \n@@ -12704,6 +12710,8 @@ class json_pointer\n */\n const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n switch (ptr->type())\n@@ -12711,7 +12719,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // use unchecked object access\n- ptr = &ptr->operator[](reference_token);\n+ ptr = &ptr->operator[](string_t(reference_token.c_str()));\n break;\n }\n \n@@ -12752,6 +12760,8 @@ class json_pointer\n */\n const BasicJsonType& get_checked(const BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n switch (ptr->type())\n@@ -12759,7 +12769,7 @@ class json_pointer\n case detail::value_t::object:\n {\n // note: at performs range check\n- ptr = &ptr->at(reference_token);\n+ ptr = &ptr->at(string_t(reference_token.c_str()));\n break;\n }\n \n@@ -12800,19 +12810,21 @@ class json_pointer\n */\n bool contains(const BasicJsonType* ptr) const\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n for (const auto& reference_token : reference_tokens)\n {\n switch (ptr->type())\n {\n case detail::value_t::object:\n {\n- if (!ptr->contains(reference_token))\n+ if (!ptr->contains(string_t(reference_token.c_str())))\n {\n // we did not find the key in the object\n return false;\n }\n \n- ptr = &ptr->operator[](reference_token);\n+ ptr = &ptr->operator[](string_t(reference_token.c_str()));\n break;\n }\n \n@@ -12958,6 +12970,8 @@ class json_pointer\n const BasicJsonType& value,\n BasicJsonType& result)\n {\n+ using string_t = typename BasicJsonType::string_t;\n+\n switch (value.type())\n {\n case detail::value_t::array:\n@@ -12965,7 +12979,7 @@ class json_pointer\n if (value.m_value.array->empty())\n {\n // flatten empty array as null\n- result[reference_string] = nullptr;\n+ result[string_t(reference_string.c_str())] = nullptr;\n }\n else\n {\n@@ -12984,14 +12998,14 @@ class json_pointer\n if (value.m_value.object->empty())\n {\n // flatten empty object as null\n- result[reference_string] = nullptr;\n+ result[string_t(reference_string.c_str())] = nullptr;\n }\n else\n {\n // iterate object and use keys as reference string\n for (const auto& element : *value.m_value.object)\n {\n- flatten(reference_string + \"/\" + detail::escape(element.first), element.second, result);\n+ flatten(reference_string + \"/\" + detail::escape(std::string(element.first.c_str())), element.second, result);\n }\n }\n break;\n@@ -13008,7 +13022,7 @@ class json_pointer\n default:\n {\n // add primitive value with its reference string\n- result[reference_string] = value;\n+ result[string_t(reference_string.c_str())] = value;\n break;\n }\n }\n@@ -17351,7 +17365,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n detail::parser_callback_tcb = nullptr,\n const bool allow_exceptions = true,\n const bool ignore_comments = false\n- )\n+ )\n {\n return ::nlohmann::detail::parser(std::move(adapter),\n std::move(cb), allow_exceptions, ignore_comments);\n@@ -19188,7 +19202,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n JSON_CATCH (std::out_of_range&)\n {\n // create better exception explanation\n- JSON_THROW(out_of_range::create(403, \"key '\" + key + \"' not found\", *this));\n+ JSON_THROW(out_of_range::create(403, \"key '\" + std::string(key.c_str()) + \"' not found\", *this));\n }\n }\n else\n@@ -19211,7 +19225,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n JSON_CATCH (std::out_of_range&)\n {\n // create better exception explanation\n- JSON_THROW(out_of_range::create(403, \"key '\" + key + \"' not found\", *this));\n+ JSON_THROW(out_of_range::create(403, \"key '\" + std::string(key.c_str()) + \"' not found\", *this));\n }\n }\n else\n"} +{"instance_id": "nlohmann__json-3446", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex fb0f5fc1..379d14e5 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -3765,7 +3765,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// @sa https://json.nlohmann.me/api/basic_json/operator_le/\n friend bool operator<=(const_reference lhs, const_reference rhs) noexcept\n {\n- return !(rhs < lhs);\n+ return lhs < rhs || lhs == rhs;\n }\n \n /// @brief comparison: less than or equal\n@@ -3790,7 +3790,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/\n friend bool operator>(const_reference lhs, const_reference rhs) noexcept\n {\n- return !(lhs <= rhs);\n+ return rhs < lhs;\n }\n \n /// @brief comparison: greater than\n@@ -3815,7 +3815,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/\n friend bool operator>=(const_reference lhs, const_reference rhs) noexcept\n {\n- return !(lhs < rhs);\n+ return rhs < lhs || lhs == rhs;\n }\n \n /// @brief comparison: greater than or equal\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 5993ce32..fa33757d 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -21925,7 +21925,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// @sa https://json.nlohmann.me/api/basic_json/operator_le/\n friend bool operator<=(const_reference lhs, const_reference rhs) noexcept\n {\n- return !(rhs < lhs);\n+ return lhs < rhs || lhs == rhs;\n }\n \n /// @brief comparison: less than or equal\n@@ -21950,7 +21950,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/\n friend bool operator>(const_reference lhs, const_reference rhs) noexcept\n {\n- return !(lhs <= rhs);\n+ return rhs < lhs;\n }\n \n /// @brief comparison: greater than\n@@ -21975,7 +21975,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/\n friend bool operator>=(const_reference lhs, const_reference rhs) noexcept\n {\n- return !(lhs < rhs);\n+ return rhs < lhs || lhs == rhs;\n }\n \n /// @brief comparison: greater than or equal\n"} +{"instance_id": "nlohmann__json-3463", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp\nindex 6474b8b0..8c781fb0 100644\n--- a/include/nlohmann/detail/input/binary_reader.hpp\n+++ b/include/nlohmann/detail/input/binary_reader.hpp\n@@ -2178,11 +2178,18 @@ class binary_reader\n std::vector bjdx = {'[', '{', 'S', 'H', 'T', 'F', 'N', 'Z'}; // excluded markers in bjdata optimized type\n \n result.second = get(); // must not ignore 'N', because 'N' maybe the type\n- if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format, \"type\") || (input_format == input_format_t::bjdata && std::find(bjdx.begin(), bjdx.end(), result.second) != bjdx.end() )))\n+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format, \"type\")))\n {\n return false;\n }\n \n+ if (input_format == input_format_t::bjdata && std::find(bjdx.begin(), bjdx.end(), result.second) != bjdx.end())\n+ {\n+ auto last_token = get_token_string();\n+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read,\n+ exception_message(input_format, concat(\"type marker for optimized container cannot be 0x\", last_token), \"type\"), nullptr));\n+ }\n+\n get_ignore_noop();\n if (JSON_HEDLEY_UNLIKELY(current != '#'))\n {\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex ad777c92..5ee9e630 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -10645,11 +10645,18 @@ class binary_reader\n std::vector bjdx = {'[', '{', 'S', 'H', 'T', 'F', 'N', 'Z'}; // excluded markers in bjdata optimized type\n \n result.second = get(); // must not ignore 'N', because 'N' maybe the type\n- if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format, \"type\") || (input_format == input_format_t::bjdata && std::find(bjdx.begin(), bjdx.end(), result.second) != bjdx.end() )))\n+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format, \"type\")))\n {\n return false;\n }\n \n+ if (input_format == input_format_t::bjdata && std::find(bjdx.begin(), bjdx.end(), result.second) != bjdx.end())\n+ {\n+ auto last_token = get_token_string();\n+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read,\n+ exception_message(input_format, concat(\"type marker for optimized container cannot be 0x\", last_token), \"type\"), nullptr));\n+ }\n+\n get_ignore_noop();\n if (JSON_HEDLEY_UNLIKELY(current != '#'))\n {\n"} +{"instance_id": "nlohmann__json-3514", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp\nindex d259e044..8d39ecc8 100644\n--- a/include/nlohmann/detail/input/binary_reader.hpp\n+++ b/include/nlohmann/detail/input/binary_reader.hpp\n@@ -2650,7 +2650,7 @@ class binary_reader\n {\n // get size of following number string\n std::size_t size{};\n- bool inside_ndarray = false;\n+ bool inside_ndarray = true;\n auto res = get_ubjson_size_value(size, inside_ndarray);\n if (JSON_HEDLEY_UNLIKELY(!res))\n {\n"} +{"instance_id": "nlohmann__json-3523", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp\nindex cbcb4158..a2f5fc56 100644\n--- a/include/nlohmann/detail/input/binary_reader.hpp\n+++ b/include/nlohmann/detail/input/binary_reader.hpp\n@@ -2168,7 +2168,7 @@ class binary_reader\n for (auto i : dim)\n {\n result *= i;\n- if (JSON_HEDLEY_UNLIKELY(!sax->number_integer(static_cast(i))))\n+ if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(static_cast(i))))\n {\n return false;\n }\ndiff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp\nindex bb44a181..e348dc9f 100644\n--- a/include/nlohmann/detail/output/binary_writer.hpp\n+++ b/include/nlohmann/detail/output/binary_writer.hpp\n@@ -1625,7 +1625,9 @@ class binary_writer\n std::size_t len = (value.at(key).empty() ? 0 : 1);\n for (const auto& el : value.at(key))\n {\n- len *= static_cast(el.m_value.number_unsigned);\n+ len *= el.type() == value_t::number_unsigned\n+ ? static_cast(el.m_value.number_unsigned)\n+ : static_cast(el.m_value.number_integer);\n }\n \n key = \"_ArrayData_\";\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 2837e74b..42eefd7e 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -10758,7 +10758,7 @@ class binary_reader\n for (auto i : dim)\n {\n result *= i;\n- if (JSON_HEDLEY_UNLIKELY(!sax->number_integer(static_cast(i))))\n+ if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(static_cast(i))))\n {\n return false;\n }\n@@ -15818,7 +15818,9 @@ class binary_writer\n std::size_t len = (value.at(key).empty() ? 0 : 1);\n for (const auto& el : value.at(key))\n {\n- len *= static_cast(el.m_value.number_unsigned);\n+ len *= el.type() == value_t::number_unsigned\n+ ? static_cast(el.m_value.number_unsigned)\n+ : static_cast(el.m_value.number_integer);\n }\n \n key = \"_ArrayData_\";\n"} +{"instance_id": "nlohmann__json-3543", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp\nindex f5871ddf..05206489 100644\n--- a/include/nlohmann/detail/input/binary_reader.hpp\n+++ b/include/nlohmann/detail/input/binary_reader.hpp\n@@ -2170,19 +2170,27 @@ class binary_reader\n }\n }\n \n- string_t key = \"_ArraySize_\";\n- if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size())))\n- {\n- return false;\n- }\n result = 1;\n for (auto i : dim)\n {\n+ if (i != 0 && result > (string_t::npos) / i)\n+ {\n+ return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, exception_message(input_format, \"excessive ndarray size caused overflow\", \"size\"), nullptr));\n+ }\n result *= i;\n- if (result == 0) // because dim elements shall not have zeros, result = 0 means overflow happened\n+ if (result == string_t::npos)\n {\n return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, exception_message(input_format, \"excessive ndarray size caused overflow\", \"size\"), nullptr));\n }\n+ }\n+\n+ string_t key = \"_ArraySize_\";\n+ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size())))\n+ {\n+ return false;\n+ }\n+ for (auto i : dim)\n+ {\n if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(static_cast(i))))\n {\n return false;\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 98c8dd66..b009a45d 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -10870,19 +10870,27 @@ class binary_reader\n }\n }\n \n- string_t key = \"_ArraySize_\";\n- if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size())))\n- {\n- return false;\n- }\n result = 1;\n for (auto i : dim)\n {\n+ if (i != 0 && result > (string_t::npos) / i)\n+ {\n+ return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, exception_message(input_format, \"excessive ndarray size caused overflow\", \"size\"), nullptr));\n+ }\n result *= i;\n- if (result == 0) // because dim elements shall not have zeros, result = 0 means overflow happened\n+ if (result == string_t::npos)\n {\n return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, exception_message(input_format, \"excessive ndarray size caused overflow\", \"size\"), nullptr));\n }\n+ }\n+\n+ string_t key = \"_ArraySize_\";\n+ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size())))\n+ {\n+ return false;\n+ }\n+ for (auto i : dim)\n+ {\n if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(static_cast(i))))\n {\n return false;\n"} +{"instance_id": "nlohmann__json-3564", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp\nindex cc348312..569040c3 100644\n--- a/include/nlohmann/detail/meta/type_traits.hpp\n+++ b/include/nlohmann/detail/meta/type_traits.hpp\n@@ -514,6 +514,19 @@ using is_key_type_comparable = typename is_comparable <\n template\n using detect_is_transparent = typename T::is_transparent;\n \n+// type trait to check if KeyType can be used as object key for ordered_map\n+// true if:\n+// - KeyType is comparable with Key using Compare functor\n+// - KeyType is not Key\n+// - the comparator is transparent\n+template>\n+using is_usable_as_key_type_t = typename std::conditional <\n+ is_comparable::value\n+ && !std::is_same::value\n+ && is_detected::value,\n+ std::true_type,\n+ std::false_type >::type;\n+\n // type trait to check if KeyType can be used as object key\n // true if:\n // - KeyType is comparable with BasicJsonType::object_t::key_type\ndiff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp\nindex 6779fdf9..6ce00109 100644\n--- a/include/nlohmann/ordered_map.hpp\n+++ b/include/nlohmann/ordered_map.hpp\n@@ -10,6 +10,7 @@\n #include // vector\n \n #include \n+#include \n \n namespace nlohmann\n {\n@@ -56,16 +57,48 @@ template ,\n return {--this->end(), true};\n }\n \n+ template::value, int> = 0>\n+ std::pair emplace(KeyType&& key, T&& t)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return {it, false};\n+ }\n+ }\n+ Container::emplace_back(key, t);\n+ return {--this->end(), true};\n+ }\n+\n T& operator[](const Key& key)\n {\n return emplace(key, T{}).first->second;\n }\n \n+ template::value, int> = 0>\n+ T& operator[](KeyType&& key)\n+ {\n+ return emplace(std::forward(key), T{}).first->second;\n+ }\n+\n const T& operator[](const Key& key) const\n {\n return at(key);\n }\n \n+ template::value, int> = 0>\n+ const T& operator[](KeyType&& key) const\n+ {\n+ return at(std::forward(key));\n+ }\n+\n T& at(const Key& key)\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -79,6 +112,22 @@ template ,\n JSON_THROW(std::out_of_range(\"key not found\"));\n }\n \n+ template::value, int> = 0>\n+ T& at(KeyType&& key)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return it->second;\n+ }\n+ }\n+\n+ JSON_THROW(std::out_of_range(\"key not found\"));\n+ }\n+\n const T& at(const Key& key) const\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -92,6 +141,22 @@ template ,\n JSON_THROW(std::out_of_range(\"key not found\"));\n }\n \n+ template::value, int> = 0>\n+ const T& at(KeyType&& key) const\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return it->second;\n+ }\n+ }\n+\n+ JSON_THROW(std::out_of_range(\"key not found\"));\n+ }\n+\n size_type erase(const Key& key)\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -111,6 +176,28 @@ template ,\n return 0;\n }\n \n+ template::value, int> = 0>\n+ size_type erase(KeyType&& key)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ // Since we cannot move const Keys, re-construct them in place\n+ for (auto next = it; ++next != this->end(); ++it)\n+ {\n+ it->~value_type(); // Destroy but keep allocation\n+ new (&*it) value_type{std::move(*next)};\n+ }\n+ Container::pop_back();\n+ return 1;\n+ }\n+ }\n+ return 0;\n+ }\n+\n iterator erase(iterator pos)\n {\n return erase(pos, std::next(pos));\n@@ -176,6 +263,21 @@ template ,\n return 0;\n }\n \n+ template::value, int> = 0>\n+ size_type count(KeyType&& key) const\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return 1;\n+ }\n+ }\n+ return 0;\n+ }\n+\n iterator find(const Key& key)\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -188,6 +290,21 @@ template ,\n return Container::end();\n }\n \n+ template::value, int> = 0>\n+ iterator find(KeyType&& key)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return it;\n+ }\n+ }\n+ return Container::end();\n+ }\n+\n const_iterator find(const Key& key) const\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -200,6 +317,21 @@ template ,\n return Container::end();\n }\n \n+ template::value, int> = 0>\n+ const_iterator find(KeyType&& key) const\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return it;\n+ }\n+ }\n+ return Container::end();\n+ }\n+\n std::pair insert( value_type&& value )\n {\n return emplace(value.first, std::move(value.second));\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 50e5c805..80ed4605 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -3709,6 +3709,19 @@ using is_key_type_comparable = typename is_comparable <\n template\n using detect_is_transparent = typename T::is_transparent;\n \n+// type trait to check if KeyType can be used as object key for ordered_map\n+// true if:\n+// - KeyType is comparable with Key using Compare functor\n+// - KeyType is not Key\n+// - the comparator is transparent\n+template>\n+using is_usable_as_key_type_t = typename std::conditional <\n+ is_comparable::value\n+ && !std::is_same::value\n+ && is_detected::value,\n+ std::true_type,\n+ std::false_type >::type;\n+\n // type trait to check if KeyType can be used as object key\n // true if:\n // - KeyType is comparable with BasicJsonType::object_t::key_type\n@@ -18265,6 +18278,8 @@ class serializer\n \n // #include \n \n+// #include \n+\n \n namespace nlohmann\n {\n@@ -18311,16 +18326,48 @@ template ,\n return {--this->end(), true};\n }\n \n+ template::value, int> = 0>\n+ std::pair emplace(KeyType&& key, T&& t)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return {it, false};\n+ }\n+ }\n+ Container::emplace_back(key, t);\n+ return {--this->end(), true};\n+ }\n+\n T& operator[](const Key& key)\n {\n return emplace(key, T{}).first->second;\n }\n \n+ template::value, int> = 0>\n+ T& operator[](KeyType&& key)\n+ {\n+ return emplace(std::forward(key), T{}).first->second;\n+ }\n+\n const T& operator[](const Key& key) const\n {\n return at(key);\n }\n \n+ template::value, int> = 0>\n+ const T& operator[](KeyType&& key) const\n+ {\n+ return at(std::forward(key));\n+ }\n+\n T& at(const Key& key)\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -18334,6 +18381,22 @@ template ,\n JSON_THROW(std::out_of_range(\"key not found\"));\n }\n \n+ template::value, int> = 0>\n+ T& at(KeyType&& key)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return it->second;\n+ }\n+ }\n+\n+ JSON_THROW(std::out_of_range(\"key not found\"));\n+ }\n+\n const T& at(const Key& key) const\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -18347,6 +18410,22 @@ template ,\n JSON_THROW(std::out_of_range(\"key not found\"));\n }\n \n+ template::value, int> = 0>\n+ const T& at(KeyType&& key) const\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return it->second;\n+ }\n+ }\n+\n+ JSON_THROW(std::out_of_range(\"key not found\"));\n+ }\n+\n size_type erase(const Key& key)\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -18366,6 +18445,28 @@ template ,\n return 0;\n }\n \n+ template::value, int> = 0>\n+ size_type erase(KeyType&& key)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ // Since we cannot move const Keys, re-construct them in place\n+ for (auto next = it; ++next != this->end(); ++it)\n+ {\n+ it->~value_type(); // Destroy but keep allocation\n+ new (&*it) value_type{std::move(*next)};\n+ }\n+ Container::pop_back();\n+ return 1;\n+ }\n+ }\n+ return 0;\n+ }\n+\n iterator erase(iterator pos)\n {\n return erase(pos, std::next(pos));\n@@ -18431,6 +18532,21 @@ template ,\n return 0;\n }\n \n+ template::value, int> = 0>\n+ size_type count(KeyType&& key) const\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return 1;\n+ }\n+ }\n+ return 0;\n+ }\n+\n iterator find(const Key& key)\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -18443,6 +18559,21 @@ template ,\n return Container::end();\n }\n \n+ template::value, int> = 0>\n+ iterator find(KeyType&& key)\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return it;\n+ }\n+ }\n+ return Container::end();\n+ }\n+\n const_iterator find(const Key& key) const\n {\n for (auto it = this->begin(); it != this->end(); ++it)\n@@ -18455,6 +18586,21 @@ template ,\n return Container::end();\n }\n \n+ template::value, int> = 0>\n+ const_iterator find(KeyType&& key) const\n+ {\n+ for (auto it = this->begin(); it != this->end(); ++it)\n+ {\n+ if (m_compare(it->first, key))\n+ {\n+ return it;\n+ }\n+ }\n+ return Container::end();\n+ }\n+\n std::pair insert( value_type&& value )\n {\n return emplace(value.first, std::move(value.second));\n@@ -18563,7 +18709,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n detail::parser_callback_tcb = nullptr,\n const bool allow_exceptions = true,\n const bool ignore_comments = false\n- )\n+ )\n {\n return ::nlohmann::detail::parser(std::move(adapter),\n std::move(cb), allow_exceptions, ignore_comments);\n"} +{"instance_id": "nlohmann__json-3590", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 24812fde..66fd5c62 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -4148,10 +4148,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// the value of the current element\n json_value m_value = {};\n \n-#if JSON_DIAGNOSTICS\n- /// a pointer to a parent value (for debugging purposes)\n basic_json* m_parent = nullptr;\n-#endif\n \n //////////////////////////////////////////\n // binary serialization/deserialization //\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 3341f028..72e7b726 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -18987,7 +18987,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n detail::parser_callback_tcb = nullptr,\n const bool allow_exceptions = true,\n const bool ignore_comments = false\n- )\n+ )\n {\n return ::nlohmann::detail::parser(std::move(adapter),\n std::move(cb), allow_exceptions, ignore_comments);\n@@ -22992,10 +22992,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// the value of the current element\n json_value m_value = {};\n \n-#if JSON_DIAGNOSTICS\n- /// a pointer to a parent value (for debugging purposes)\n basic_json* m_parent = nullptr;\n-#endif\n \n //////////////////////////////////////////\n // binary serialization/deserialization //\n"} +{"instance_id": "nlohmann__json-3601", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp\nindex 35e1ddbc..0c4981b1 100644\n--- a/include/nlohmann/detail/json_pointer.hpp\n+++ b/include/nlohmann/detail/json_pointer.hpp\n@@ -15,6 +15,7 @@\n #include // max\n #include // accumulate\n #include // string\n+#include // ostream\n #include // move\n #include // vector\n \n@@ -870,6 +871,13 @@ class json_pointer\n };\n \n // functions cannot be defined inside class due to ODR violations\n+template\n+inline std::ostream& operator<<(std::ostream& o, const json_pointer& ptr)\n+{\n+ o << ptr.to_string();\n+ return o;\n+}\n+\n template\n inline bool operator==(json_pointer const& lhs,\n json_pointer const& rhs) noexcept\n"} +{"instance_id": "nlohmann__json-3605", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 37ab7edd..a7ed8b19 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -5130,6 +5130,9 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC\n \n } // namespace std\n \n+namespace nlohmann {\n+inline namespace literals {\n+\n /// @brief user-defined string literal for JSON values\n /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/\n JSON_HEDLEY_NON_NULL(1)\n@@ -5146,6 +5149,13 @@ inline nlohmann::json::json_pointer operator \"\" _json_pointer(const char* s, std\n return nlohmann::json::json_pointer(std::string(s, n));\n }\n \n+} // inline namespace literals\n+} // namespace nlohmann\n+\n+// backward compatibility: make literals available in the global namespace\n+using nlohmann::literals::operator \"\" _json;\n+using nlohmann::literals::operator \"\" _json_pointer;\n+\n #include \n \n #endif // INCLUDE_NLOHMANN_JSON_HPP_\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 420ea096..ccd93773 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -24095,6 +24095,9 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC\n \n } // namespace std\n \n+namespace nlohmann {\n+inline namespace literals {\n+\n /// @brief user-defined string literal for JSON values\n /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/\n JSON_HEDLEY_NON_NULL(1)\n@@ -24111,6 +24114,13 @@ inline nlohmann::json::json_pointer operator \"\" _json_pointer(const char* s, std\n return nlohmann::json::json_pointer(std::string(s, n));\n }\n \n+} // inline namespace literals\n+} // namespace nlohmann\n+\n+// backward compatibility: make literals available in the global namespace\n+using nlohmann::literals::operator \"\" _json;\n+using nlohmann::literals::operator \"\" _json_pointer;\n+\n // #include \n // __ _____ _____ _____\n // __| | __| | | | JSON for Modern C++\n"} +{"instance_id": "nlohmann__json-3663", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 49188b31..f9c9b4b6 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -2302,7 +2302,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n template < class ValueType, class BasicJsonType, detail::enable_if_t <\n- detail::is_getable::value, int> = 0 >\n+ detail::is_getable::value\n+ && detail::is_basic_json::value, int> = 0 >\n JSON_HEDLEY_DEPRECATED_FOR(3.11.0, basic_json::json_pointer or nlohmann::json_pointer) // NOLINT(readability/alt_tokens)\n ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const\n {\n@@ -2318,7 +2319,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n return value(ptr, string_t(default_value));\n }\n \n- template\n+ template::value, int> = 0>\n JSON_HEDLEY_DEPRECATED_FOR(3.11.0, basic_json::json_pointer or nlohmann::json_pointer) // NOLINT(readability/alt_tokens)\n JSON_HEDLEY_NON_NULL(3)\n string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex beee0136..64b0d167 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -21376,7 +21376,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n template < class ValueType, class BasicJsonType, detail::enable_if_t <\n- detail::is_getable::value, int> = 0 >\n+ detail::is_getable::value\n+ && detail::is_basic_json::value, int> = 0 >\n JSON_HEDLEY_DEPRECATED_FOR(3.11.0, basic_json::json_pointer or nlohmann::json_pointer) // NOLINT(readability/alt_tokens)\n ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const\n {\n@@ -21392,7 +21393,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n return value(ptr, string_t(default_value));\n }\n \n- template\n+ template::value, int> = 0>\n JSON_HEDLEY_DEPRECATED_FOR(3.11.0, basic_json::json_pointer or nlohmann::json_pointer) // NOLINT(readability/alt_tokens)\n JSON_HEDLEY_NON_NULL(3)\n string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const\n"} +{"instance_id": "nlohmann__json-3664", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp\nindex 5b763267..3cfbf187 100644\n--- a/include/nlohmann/detail/json_pointer.hpp\n+++ b/include/nlohmann/detail/json_pointer.hpp\n@@ -862,6 +862,38 @@ class json_pointer\n friend bool operator==(json_pointer const& lhs,\n json_pointer const& rhs) noexcept;\n \n+ /*!\n+ @brief compares JSON pointer and string for equality\n+\n+ @param[in] lhs JSON pointer to compare\n+ @param[in] rhs string to compare\n+ @return whether @a lhs is equal to @a rhs\n+\n+ @complexity Linear in the length of the JSON pointer\n+\n+ @exceptionsafety No-throw guarantee: this function never throws exceptions.\n+ */\n+ template\n+ // NOLINTNEXTLINE(readability-redundant-declaration)\n+ friend bool operator==(json_pointer const& lhs,\n+ const typename json_pointer::string_t& rhs) noexcept;\n+\n+ /*!\n+ @brief compares string and JSON pointer for equality\n+\n+ @param[in] lhs string to compare\n+ @param[in] rhs JSON pointer to compare\n+ @return whether @a lhs is equal to @a rhs\n+\n+ @complexity Linear in the length of the JSON pointer\n+\n+ @exceptionsafety No-throw guarantee: this function never throws exceptions.\n+ */\n+ template\n+ // NOLINTNEXTLINE(readability-redundant-declaration)\n+ friend bool operator==(const typename json_pointer::string_t& lhs,\n+ json_pointer const& rhs) noexcept;\n+\n /*!\n @brief compares two JSON pointers for inequality\n \n@@ -878,6 +910,38 @@ class json_pointer\n friend bool operator!=(json_pointer const& lhs,\n json_pointer const& rhs) noexcept;\n \n+ /*!\n+ @brief compares JSON pointer and string for inequality\n+\n+ @param[in] lhs JSON pointer to compare\n+ @param[in] rhs string to compare\n+ @return whether @a lhs is not equal @a rhs\n+\n+ @complexity Linear in the length of the JSON pointer\n+\n+ @exceptionsafety No-throw guarantee: this function never throws exceptions.\n+ */\n+ template\n+ // NOLINTNEXTLINE(readability-redundant-declaration)\n+ friend bool operator!=(json_pointer const& lhs,\n+ const typename json_pointer::string_t& rhs) noexcept;\n+\n+ /*!\n+ @brief compares string and JSON pointer for inequality\n+\n+ @param[in] lhs string to compare\n+ @param[in] rhs JSON pointer to compare\n+ @return whether @a lhs is not equal @a rhs\n+\n+ @complexity Linear in the length of the JSON pointer\n+\n+ @exceptionsafety No-throw guarantee: this function never throws exceptions.\n+ */\n+ template\n+ // NOLINTNEXTLINE(readability-redundant-declaration)\n+ friend bool operator!=(const typename json_pointer::string_t& lhs,\n+ json_pointer const& rhs) noexcept;\n+\n /// the reference tokens\n std::vector reference_tokens;\n };\n@@ -890,6 +954,20 @@ inline bool operator==(json_pointer const& lhs,\n return lhs.reference_tokens == rhs.reference_tokens;\n }\n \n+template\n+inline bool operator==(json_pointer const& lhs,\n+ const typename json_pointer::string_t& rhs) noexcept\n+{\n+ return lhs.to_string() == rhs;\n+}\n+\n+template\n+inline bool operator==(const typename json_pointer::string_t& lhs,\n+ json_pointer const& rhs) noexcept\n+{\n+ return lhs == rhs.to_string();\n+}\n+\n template\n inline bool operator!=(json_pointer const& lhs,\n json_pointer const& rhs) noexcept\n@@ -897,4 +975,18 @@ inline bool operator!=(json_pointer const& lhs,\n return !(lhs == rhs);\n }\n \n+template\n+inline bool operator!=(json_pointer const& lhs,\n+ const typename json_pointer::string_t& rhs) noexcept\n+{\n+ return !(lhs == rhs);\n+}\n+\n+template\n+inline bool operator!=(const typename json_pointer::string_t& lhs,\n+ json_pointer const& rhs) noexcept\n+{\n+ return !(lhs == rhs);\n+}\n+\n NLOHMANN_JSON_NAMESPACE_END\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 4d86493e..0aae4b84 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -14464,6 +14464,38 @@ class json_pointer\n friend bool operator==(json_pointer const& lhs,\n json_pointer const& rhs) noexcept;\n \n+ /*!\n+ @brief compares JSON pointer and string for equality\n+\n+ @param[in] lhs JSON pointer to compare\n+ @param[in] rhs string to compare\n+ @return whether @a lhs is equal to @a rhs\n+\n+ @complexity Linear in the length of the JSON pointer\n+\n+ @exceptionsafety No-throw guarantee: this function never throws exceptions.\n+ */\n+ template\n+ // NOLINTNEXTLINE(readability-redundant-declaration)\n+ friend bool operator==(json_pointer const& lhs,\n+ const typename json_pointer::string_t& rhs) noexcept;\n+\n+ /*!\n+ @brief compares string and JSON pointer for equality\n+\n+ @param[in] lhs string to compare\n+ @param[in] rhs JSON pointer to compare\n+ @return whether @a lhs is equal to @a rhs\n+\n+ @complexity Linear in the length of the JSON pointer\n+\n+ @exceptionsafety No-throw guarantee: this function never throws exceptions.\n+ */\n+ template\n+ // NOLINTNEXTLINE(readability-redundant-declaration)\n+ friend bool operator==(const typename json_pointer::string_t& lhs,\n+ json_pointer const& rhs) noexcept;\n+\n /*!\n @brief compares two JSON pointers for inequality\n \n@@ -14480,6 +14512,38 @@ class json_pointer\n friend bool operator!=(json_pointer const& lhs,\n json_pointer const& rhs) noexcept;\n \n+ /*!\n+ @brief compares JSON pointer and string for inequality\n+\n+ @param[in] lhs JSON pointer to compare\n+ @param[in] rhs string to compare\n+ @return whether @a lhs is not equal @a rhs\n+\n+ @complexity Linear in the length of the JSON pointer\n+\n+ @exceptionsafety No-throw guarantee: this function never throws exceptions.\n+ */\n+ template\n+ // NOLINTNEXTLINE(readability-redundant-declaration)\n+ friend bool operator!=(json_pointer const& lhs,\n+ const typename json_pointer::string_t& rhs) noexcept;\n+\n+ /*!\n+ @brief compares string and JSON pointer for inequality\n+\n+ @param[in] lhs string to compare\n+ @param[in] rhs JSON pointer to compare\n+ @return whether @a lhs is not equal @a rhs\n+\n+ @complexity Linear in the length of the JSON pointer\n+\n+ @exceptionsafety No-throw guarantee: this function never throws exceptions.\n+ */\n+ template\n+ // NOLINTNEXTLINE(readability-redundant-declaration)\n+ friend bool operator!=(const typename json_pointer::string_t& lhs,\n+ json_pointer const& rhs) noexcept;\n+\n /// the reference tokens\n std::vector reference_tokens;\n };\n@@ -14492,6 +14556,20 @@ inline bool operator==(json_pointer const& lhs,\n return lhs.reference_tokens == rhs.reference_tokens;\n }\n \n+template\n+inline bool operator==(json_pointer const& lhs,\n+ const typename json_pointer::string_t& rhs) noexcept\n+{\n+ return lhs.to_string() == rhs;\n+}\n+\n+template\n+inline bool operator==(const typename json_pointer::string_t& lhs,\n+ json_pointer const& rhs) noexcept\n+{\n+ return lhs == rhs.to_string();\n+}\n+\n template\n inline bool operator!=(json_pointer const& lhs,\n json_pointer const& rhs) noexcept\n@@ -14499,6 +14577,20 @@ inline bool operator!=(json_pointer const& lhs,\n return !(lhs == rhs);\n }\n \n+template\n+inline bool operator!=(json_pointer const& lhs,\n+ const typename json_pointer::string_t& rhs) noexcept\n+{\n+ return !(lhs == rhs);\n+}\n+\n+template\n+inline bool operator!=(const typename json_pointer::string_t& lhs,\n+ json_pointer const& rhs) noexcept\n+{\n+ return !(lhs == rhs);\n+}\n+\n NLOHMANN_JSON_NAMESPACE_END\n \n // #include \n"} +{"instance_id": "nlohmann__json-4512", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/iterators/iter_impl.hpp b/include/nlohmann/detail/iterators/iter_impl.hpp\nindex 44470913..c3b58b86 100644\n--- a/include/nlohmann/detail/iterators/iter_impl.hpp\n+++ b/include/nlohmann/detail/iterators/iter_impl.hpp\n@@ -468,6 +468,12 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci\n template < typename IterImpl, detail::enable_if_t < (std::is_same::value || std::is_same::value), std::nullptr_t > = nullptr >\n bool operator==(const IterImpl& other) const\n {\n+ // if both iterators are default-initialized, they are equal\n+ if (m_object == nullptr && other.m_object == nullptr)\n+ {\n+ return true;\n+ }\n+\n // if objects are not the same, the comparison is undefined\n if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))\n {\n@@ -513,6 +519,12 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci\n */\n bool operator<(const iter_impl& other) const\n {\n+ // if both iterators are default-initialized, they are equal\n+ if (m_object == nullptr && other.m_object == nullptr)\n+ {\n+ return false;\n+ }\n+\n // if objects are not the same, the comparison is undefined\n if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))\n {\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex a6b4c3a7..569d47cc 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -13444,6 +13444,12 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci\n template < typename IterImpl, detail::enable_if_t < (std::is_same::value || std::is_same::value), std::nullptr_t > = nullptr >\n bool operator==(const IterImpl& other) const\n {\n+ // if both iterators are default-initialized, they are equal\n+ if (m_object == nullptr && other.m_object == nullptr)\n+ {\n+ return true;\n+ }\n+\n // if objects are not the same, the comparison is undefined\n if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))\n {\n@@ -13489,6 +13495,12 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci\n */\n bool operator<(const iter_impl& other) const\n {\n+ // if both iterators are default-initialized, they are equal\n+ if (m_object == nullptr && other.m_object == nullptr)\n+ {\n+ return false;\n+ }\n+\n // if objects are not the same, the comparison is undefined\n if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))\n {\n"} +{"instance_id": "nlohmann__json-4525", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex e004e830..763fd957 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -1463,13 +1463,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n /// get a pointer to the value (integer number)\n number_integer_t* get_impl_ptr(number_integer_t* /*unused*/) noexcept\n {\n- return is_number_integer() ? &m_data.m_value.number_integer : nullptr;\n+ return m_data.m_type == value_t::number_integer ? &m_data.m_value.number_integer : nullptr;\n }\n \n /// get a pointer to the value (integer number)\n constexpr const number_integer_t* get_impl_ptr(const number_integer_t* /*unused*/) const noexcept\n {\n- return is_number_integer() ? &m_data.m_value.number_integer : nullptr;\n+ return m_data.m_type == value_t::number_integer ? &m_data.m_value.number_integer : nullptr;\n }\n \n /// get a pointer to the value (unsigned number)\n"} +{"instance_id": "nlohmann__json-4536", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 763fd957..0de24208 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -4702,7 +4702,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n // the valid JSON Patch operations\n enum class patch_operations {add, remove, replace, move, copy, test, invalid};\n \n- const auto get_op = [](const std::string & op)\n+ const auto get_op = [](const string_t & op)\n {\n if (op == \"add\")\n {\n@@ -4839,8 +4839,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n for (const auto& val : json_patch)\n {\n // wrapper to get a value for an operation\n- const auto get_value = [&val](const std::string & op,\n- const std::string & member,\n+ const auto get_value = [&val](const string_t & op,\n+ const string_t & member,\n bool string_type) -> basic_json &\n {\n // find value\n@@ -4874,8 +4874,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n // collect mandatory members\n- const auto op = get_value(\"op\", \"op\", true).template get();\n- const auto path = get_value(op, \"path\", true).template get();\n+ const auto op = get_value(\"op\", \"op\", true).template get();\n+ const auto path = get_value(op, \"path\", true).template get();\n json_pointer ptr(path);\n \n switch (get_op(op))\n@@ -4901,7 +4901,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n \n case patch_operations::move:\n {\n- const auto from_path = get_value(\"move\", \"from\", true).template get();\n+ const auto from_path = get_value(\"move\", \"from\", true).template get();\n json_pointer from_ptr(from_path);\n \n // the \"from\" location must exist - use at()\n@@ -4918,7 +4918,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n \n case patch_operations::copy:\n {\n- const auto from_path = get_value(\"copy\", \"from\", true).template get();\n+ const auto from_path = get_value(\"copy\", \"from\", true).template get();\n const json_pointer from_ptr(from_path);\n \n // the \"from\" location must exist - use at()\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 7979227a..ecb38dcd 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -24249,7 +24249,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n // the valid JSON Patch operations\n enum class patch_operations {add, remove, replace, move, copy, test, invalid};\n \n- const auto get_op = [](const std::string & op)\n+ const auto get_op = [](const string_t & op)\n {\n if (op == \"add\")\n {\n@@ -24386,8 +24386,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n for (const auto& val : json_patch)\n {\n // wrapper to get a value for an operation\n- const auto get_value = [&val](const std::string & op,\n- const std::string & member,\n+ const auto get_value = [&val](const string_t & op,\n+ const string_t & member,\n bool string_type) -> basic_json &\n {\n // find value\n@@ -24421,8 +24421,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n // collect mandatory members\n- const auto op = get_value(\"op\", \"op\", true).template get();\n- const auto path = get_value(op, \"path\", true).template get();\n+ const auto op = get_value(\"op\", \"op\", true).template get();\n+ const auto path = get_value(op, \"path\", true).template get();\n json_pointer ptr(path);\n \n switch (get_op(op))\n@@ -24448,7 +24448,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n \n case patch_operations::move:\n {\n- const auto from_path = get_value(\"move\", \"from\", true).template get();\n+ const auto from_path = get_value(\"move\", \"from\", true).template get();\n json_pointer from_ptr(from_path);\n \n // the \"from\" location must exist - use at()\n@@ -24465,7 +24465,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n \n case patch_operations::copy:\n {\n- const auto from_path = get_value(\"copy\", \"from\", true).template get();\n+ const auto from_path = get_value(\"copy\", \"from\", true).template get();\n const json_pointer from_ptr(from_path);\n \n // the \"from\" location must exist - use at()\n"} +{"instance_id": "nlohmann__json-4537", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex 763fd957..8ec9720e 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -3401,6 +3401,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n m_data.m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator);\n+ set_parents();\n }\n \n /// @brief updates a JSON object from another object, overwriting existing keys\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 7979227a..01649921 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -22948,6 +22948,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec\n }\n \n m_data.m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator);\n+ set_parents();\n }\n \n /// @brief updates a JSON object from another object, overwriting existing keys\n"} +{"instance_id": "nlohmann__json-508", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/src/json.hpp b/src/json.hpp\nindex cbf12dc5..66b40b86 100644\n--- a/src/json.hpp\n+++ b/src/json.hpp\n@@ -791,6 +791,13 @@ void to_json(BasicJsonType& j, const CompatibleArrayType& arr)\n external_constructor::construct(j, arr);\n }\n \n+template::value, int> = 0>\n+void to_json(BasicJsonType& j, const T (&arr)[N])\n+{\n+ external_constructor::construct(j, arr);\n+}\n+\n template <\n typename BasicJsonType, typename CompatibleObjectType,\n enable_if_t::value,\n@@ -961,6 +968,21 @@ void from_json(const BasicJsonType& j, CompatibleArrayType& arr)\n from_json_array_impl(j, arr, priority_tag<1> {});\n }\n \n+template::value, int> = 0>\n+void from_json(const BasicJsonType& j, T (&arr)[N])\n+{\n+ if (not j.is_array())\n+ {\n+ JSON_THROW(type_error(302, \"type must be array, but is \" + j.type_name()));\n+ }\n+\n+ for (std::size_t i = 0; i < N; ++i)\n+ {\n+ arr[i] = j[i].template get();\n+ }\n+}\n+\n template::value, int> = 0>\n void from_json(const BasicJsonType& j, CompatibleObjectType& obj)\n"} +{"instance_id": "nlohmann__json-545", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/src/json.hpp b/src/json.hpp\nindex 90a48538..4239b38b 100644\n--- a/src/json.hpp\n+++ b/src/json.hpp\n@@ -460,6 +460,11 @@ using is_unscoped_enum =\n std::integral_constant::value and\n std::is_enum::value>;\n \n+template\n+using is_scoped_enum =\n+ std::integral_constant::value and\n+ std::is_enum::value>;\n+\n /*\n Implementation of two C++17 constructs: conjunction, negation. This is needed\n to avoid evaluating all the traits in a condition\n@@ -825,6 +830,13 @@ void to_json(BasicJsonType& j, UnscopedEnumType e) noexcept\n external_constructor::construct(j, e);\n }\n \n+template::value, int> = 0>\n+void to_json(BasicJsonType& j, ScopedEnumType e) noexcept\n+{\n+ external_constructor::construct(j, static_cast::type>(e));\n+}\n+\n template\n void to_json(BasicJsonType& j, const std::vector& e)\n {\n@@ -946,6 +958,15 @@ void from_json(const BasicJsonType& j, UnscopedEnumType& e)\n e = static_cast(val);\n }\n \n+template::value, int> = 0>\n+void from_json(const BasicJsonType& j, ScopedEnumType& e)\n+{\n+ typename std::underlying_type::type val;\n+ get_arithmetic_value(j, val);\n+ e = static_cast(val);\n+}\n+\n template\n void from_json(const BasicJsonType& j, typename BasicJsonType::array_t& arr)\n {\ndiff --git a/src/json.hpp.re2c b/src/json.hpp.re2c\nindex d88830b9..12253933 100644\n--- a/src/json.hpp.re2c\n+++ b/src/json.hpp.re2c\n@@ -460,6 +460,11 @@ using is_unscoped_enum =\n std::integral_constant::value and\n std::is_enum::value>;\n \n+template\n+using is_scoped_enum =\n+ std::integral_constant::value and\n+ std::is_enum::value>;\n+\n /*\n Implementation of two C++17 constructs: conjunction, negation. This is needed\n to avoid evaluating all the traits in a condition\n@@ -825,6 +830,13 @@ void to_json(BasicJsonType& j, UnscopedEnumType e) noexcept\n external_constructor::construct(j, e);\n }\n \n+template::value, int> = 0>\n+void to_json(BasicJsonType& j, ScopedEnumType e) noexcept\n+{\n+ external_constructor::construct(j, static_cast::type>(e));\n+}\n+\n template\n void to_json(BasicJsonType& j, const std::vector& e)\n {\n@@ -946,6 +958,15 @@ void from_json(const BasicJsonType& j, UnscopedEnumType& e)\n e = static_cast(val);\n }\n \n+template::value, int> = 0>\n+void from_json(const BasicJsonType& j, ScopedEnumType& e)\n+{\n+ typename std::underlying_type::type val;\n+ get_arithmetic_value(j, val);\n+ e = static_cast(val);\n+}\n+\n template\n void from_json(const BasicJsonType& j, typename BasicJsonType::array_t& arr)\n {\n"} +{"instance_id": "nlohmann__json-609", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/src/json.hpp b/src/json.hpp\nindex 8e1186ae..71b094d9 100644\n--- a/src/json.hpp\n+++ b/src/json.hpp\n@@ -1037,10 +1037,12 @@ void from_json(const BasicJsonType& j, CompatibleObjectType& obj)\n auto inner_object = j.template get_ptr();\n using std::begin;\n using std::end;\n- // we could avoid the assignment, but this might require a for loop, which\n- // might be less efficient than the container constructor for some\n- // containers (would it?)\n- obj = CompatibleObjectType(begin(*inner_object), end(*inner_object));\n+ using value_type = typename CompatibleObjectType::value_type;\n+ std::transform(begin(*inner_object), end(*inner_object),\n+ std::inserter(obj, obj.end()), [](const typename BasicJsonType::object_t::value_type& p)\n+ {\n+ return value_type(p.first, p.second.template get());\n+ });\n }\n \n // overload for arithmetic types, not chosen for basic_json template arguments\n"} +{"instance_id": "nlohmann__json-708", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/src/json.hpp b/src/json.hpp\nindex 83c9ef2e..6ec8a15b 100644\n--- a/src/json.hpp\n+++ b/src/json.hpp\n@@ -1235,16 +1235,17 @@ void from_json(const BasicJsonType& j, ArithmeticType& val)\n }\n }\n \n-template\n-void from_json(const BasicJsonType& j, std::pair& p)\n+template\n+void from_json(const BasicJsonType& j, std::pair& p)\n {\n- p = {j.at(0), j.at(1)};\n+ p.first = j.at(0).template get();\n+ p.second = j.at(1).template get();\n }\n \n template\n void from_json_tuple_impl(const BasicJsonType& j, Tuple& t, index_sequence)\n {\n- t = std::make_tuple(j.at(Idx)...);\n+ t = std::make_tuple(j.at(Idx).template get::type>()...);\n }\n \n template\n"} +{"instance_id": "nlohmann__json-807", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/src/json.hpp b/src/json.hpp\nindex 5c6515bf..e8941302 100644\n--- a/src/json.hpp\n+++ b/src/json.hpp\n@@ -6789,7 +6789,7 @@ class json_ref\n {}\n \n template \n- json_ref(Args... args)\n+ json_ref(Args&&... args)\n : owned_value(std::forward(args)...),\n value_ref(&owned_value),\n is_rvalue(true)\n"} +{"instance_id": "nlohmann__json-944", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/develop/detail/meta.hpp b/develop/detail/meta.hpp\nindex 585b8d44..c32dfdce 100644\n--- a/develop/detail/meta.hpp\n+++ b/develop/detail/meta.hpp\n@@ -6,7 +6,7 @@\n #include // conditional, enable_if, false_type, integral_constant, is_constructible, is_integral, is_same, remove_cv, remove_reference, true_type\n #include // declval\n \n-#include \"json_fwd.hpp\"\n+#include \"../json_fwd.hpp\"\n #include \"detail/macro_scope.hpp\"\n \n namespace nlohmann\n"} +{"instance_id": "nlohmann__json-969", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp\nindex 8ea0284a..96072cc6 100644\n--- a/include/nlohmann/detail/conversions/from_json.hpp\n+++ b/include/nlohmann/detail/conversions/from_json.hpp\n@@ -109,7 +109,7 @@ void from_json(const BasicJsonType& j, typename BasicJsonType::array_t& arr)\n \n // forward_list doesn't have an insert method\n template::value, int> = 0>\n+ enable_if_t::value, int> = 0>\n void from_json(const BasicJsonType& j, std::forward_list& l)\n {\n if (JSON_UNLIKELY(not j.is_array()))\n@@ -125,7 +125,7 @@ void from_json(const BasicJsonType& j, std::forward_list& l)\n \n // valarray doesn't have an insert method\n template::value, int> = 0>\n+ enable_if_t::value, int> = 0>\n void from_json(const BasicJsonType& j, std::valarray& l)\n {\n if (JSON_UNLIKELY(not j.is_array()))\n@@ -179,7 +179,7 @@ void from_json_array_impl(const BasicJsonType& j, std::array& arr, priorit\n \n template::value and\n- std::is_convertible::value and\n+ std::is_default_constructible::value and\n not std::is_same::value, int> = 0>\n void from_json(const BasicJsonType& j, CompatibleArrayType& arr)\n {\ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex a7c009c0..483a041f 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -1016,7 +1016,7 @@ void from_json(const BasicJsonType& j, typename BasicJsonType::array_t& arr)\n \n // forward_list doesn't have an insert method\n template::value, int> = 0>\n+ enable_if_t::value, int> = 0>\n void from_json(const BasicJsonType& j, std::forward_list& l)\n {\n if (JSON_UNLIKELY(not j.is_array()))\n@@ -1032,7 +1032,7 @@ void from_json(const BasicJsonType& j, std::forward_list& l)\n \n // valarray doesn't have an insert method\n template::value, int> = 0>\n+ enable_if_t::value, int> = 0>\n void from_json(const BasicJsonType& j, std::valarray& l)\n {\n if (JSON_UNLIKELY(not j.is_array()))\n@@ -1086,7 +1086,7 @@ void from_json_array_impl(const BasicJsonType& j, std::array& arr, priorit\n \n template::value and\n- std::is_convertible::value and\n+ std::is_default_constructible::value and\n not std::is_same::value, int> = 0>\n void from_json(const BasicJsonType& j, CompatibleArrayType& arr)\n {\n"} +{"instance_id": "nlohmann__json-986", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/nlohmann/detail/meta.hpp b/include/nlohmann/detail/meta.hpp\nindex 49f1069f..11ec9f49 100644\n--- a/include/nlohmann/detail/meta.hpp\n+++ b/include/nlohmann/detail/meta.hpp\n@@ -235,6 +235,7 @@ struct is_compatible_complete_type\n not std::is_base_of::value and\n not std::is_same::value and\n not is_basic_json_nested_type::value and\n+ not is_basic_json::value and\n has_to_json::value;\n };\n \ndiff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp\nindex f92729f3..3763fb34 100644\n--- a/include/nlohmann/json.hpp\n+++ b/include/nlohmann/json.hpp\n@@ -172,6 +172,13 @@ class basic_json\n template\n friend class ::nlohmann::detail::binary_reader;\n \n+ template class,\n+ template class,\n+ class, class, class, class, class,\n+ template class,\n+ template class>\n+ friend class basic_json;\n+\n /// workaround type for MSVC\n using basic_json_t = NLOHMANN_BASIC_JSON_TPL;\n \n@@ -1242,6 +1249,81 @@ class basic_json\n assert_invariant();\n }\n \n+ /*!\n+ @brief create a JSON value from an existing JSON value of a different type\n+\n+ This constructor creates a JSON value by copying from a different\n+ @ref basic_json specialization. It recursively converts the internal data\n+ structure, avoiding infinite recursion that would occur if the general\n+ \"compatible type\" constructor were used.\n+\n+ @tparam OtherBasicJsonType a different specialization of @ref basic_json\n+\n+ @param[in] other the JSON value to copy from\n+\n+ @since version 3.1.2\n+ */\n+ template ::value and\n+ not std::is_same::value,\n+ int>::type = 0>\n+ basic_json(const OtherBasicJsonType& other)\n+ : m_type(other.m_type)\n+ {\n+ switch (m_type)\n+ {\n+ case value_t::boolean:\n+ {\n+ m_value = other.m_value.boolean;\n+ break;\n+ }\n+\n+ case value_t::number_float:\n+ {\n+ m_value = other.m_value.number_float;\n+ break;\n+ }\n+\n+ case value_t::number_integer:\n+ {\n+ m_value = other.m_value.number_integer;\n+ break;\n+ }\n+\n+ case value_t::number_unsigned:\n+ {\n+ m_value = other.m_value.number_unsigned;\n+ break;\n+ }\n+\n+ case value_t::string:\n+ {\n+ m_value = *other.m_value.string;\n+ break;\n+ }\n+\n+ case value_t::array:\n+ {\n+ m_value.array = create(other.m_value.array->begin(),\n+ other.m_value.array->end());\n+ break;\n+ }\n+\n+ case value_t::object:\n+ {\n+ m_value.object = create(other.m_value.object->begin(),\n+ other.m_value.object->end());\n+ break;\n+ }\n+\n+ default:\n+ break;\n+ }\n+\n+ assert_invariant();\n+ }\n+\n /*!\n @brief create a container (array or object) from an initializer list\n \ndiff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp\nindex 3dcb834b..b250472c 100644\n--- a/single_include/nlohmann/json.hpp\n+++ b/single_include/nlohmann/json.hpp\n@@ -468,6 +468,7 @@ struct is_compatible_complete_type\n not std::is_base_of::value and\n not std::is_same::value and\n not is_basic_json_nested_type::value and\n+ not is_basic_json::value and\n has_to_json::value;\n };\n \n@@ -9770,6 +9771,13 @@ class basic_json\n template\n friend class ::nlohmann::detail::binary_reader;\n \n+ template class,\n+ template class,\n+ class, class, class, class, class,\n+ template class,\n+ template class>\n+ friend class basic_json;\n+\n /// workaround type for MSVC\n using basic_json_t = NLOHMANN_BASIC_JSON_TPL;\n \n@@ -10840,6 +10848,81 @@ class basic_json\n assert_invariant();\n }\n \n+ /*!\n+ @brief create a JSON value from an existing JSON value of a different type\n+\n+ This constructor creates a JSON value by copying from a different\n+ @ref basic_json specialization. It recursively converts the internal data\n+ structure, avoiding infinite recursion that would occur if the general\n+ \"compatible type\" constructor were used.\n+\n+ @tparam OtherBasicJsonType a different specialization of @ref basic_json\n+\n+ @param[in] other the JSON value to copy from\n+\n+ @since version 3.1.2\n+ */\n+ template ::value and\n+ not std::is_same::value,\n+ int>::type = 0>\n+ basic_json(const OtherBasicJsonType& other)\n+ : m_type(other.m_type)\n+ {\n+ switch (m_type)\n+ {\n+ case value_t::boolean:\n+ {\n+ m_value = other.m_value.boolean;\n+ break;\n+ }\n+\n+ case value_t::number_float:\n+ {\n+ m_value = other.m_value.number_float;\n+ break;\n+ }\n+\n+ case value_t::number_integer:\n+ {\n+ m_value = other.m_value.number_integer;\n+ break;\n+ }\n+\n+ case value_t::number_unsigned:\n+ {\n+ m_value = other.m_value.number_unsigned;\n+ break;\n+ }\n+\n+ case value_t::string:\n+ {\n+ m_value = *other.m_value.string;\n+ break;\n+ }\n+\n+ case value_t::array:\n+ {\n+ m_value.array = create(other.m_value.array->begin(),\n+ other.m_value.array->end());\n+ break;\n+ }\n+\n+ case value_t::object:\n+ {\n+ m_value.object = create(other.m_value.object->begin(),\n+ other.m_value.object->end());\n+ break;\n+ }\n+\n+ default:\n+ break;\n+ }\n+\n+ assert_invariant();\n+ }\n+\n /*!\n @brief create a container (array or object) from an initializer list\n \n"} +{"instance_id": "simdjson__simdjson-1615", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/generic/ondemand/array-inl.h b/include/simdjson/generic/ondemand/array-inl.h\nindex c0fc42ce..f6bbb3d1 100644\n--- a/include/simdjson/generic/ondemand/array-inl.h\n+++ b/include/simdjson/generic/ondemand/array-inl.h\n@@ -93,6 +93,54 @@ simdjson_really_inline simdjson_result array::count_elements() & noexcep\n return count;\n }\n \n+inline simdjson_result array::at_pointer(std::string_view json_pointer) & noexcept {\n+ if(json_pointer.empty()) {\n+ iter.move_at_start();\n+ return value::start(iter);\n+ }\n+ if(json_pointer[0] != '/') {\n+ return INVALID_JSON_POINTER;\n+ }\n+ json_pointer = json_pointer.substr(1);\n+ // - means \"the append position\" or \"the element after the end of the array\"\n+ // We don't support this, because we're returning a real element, not a position.\n+ if(json_pointer == \"-\") { return INDEX_OUT_OF_BOUNDS; }\n+\n+ // Read the array index\n+ size_t array_index = 0;\n+ size_t i;\n+ for(i = 0; i < json_pointer.length() && json_pointer[i] != '/'; i++) {\n+ uint8_t digit = uint8_t(json_pointer[i] - '0');\n+ if(digit > 9) { return INCORRECT_TYPE; }\n+ array_index = array_index * 10 + digit;\n+ }\n+\n+ // 0 followed by other digits is invalid\n+ if(i > 1 && json_pointer[0] == '0') { return INVALID_JSON_POINTER; }\n+\n+ // Empty string is invalid; so is a \"/\" with no digits before it\n+ if(i == 0) { return INVALID_JSON_POINTER; }\n+\n+ // Get the child at the given index\n+ simdjson_result child = INDEX_OUT_OF_BOUNDS;\n+ size_t current_index = 0;\n+ for(auto element : *this) {\n+ if(current_index == array_index) {\n+ child = element;\n+ break;\n+ }\n+ current_index++;\n+ }\n+ if(child.error()) {\n+ return child.error() == SUCCESS ? INDEX_OUT_OF_BOUNDS : child.error();\n+ }\n+ // If there is a /, we have to recurse and look up more of the path\n+ if(i < json_pointer.length()) {\n+ return child.at_pointer(json_pointer.substr(i));\n+ }\n+ return child;\n+}\n+\n } // namespace ondemand\n } // namespace SIMDJSON_IMPLEMENTATION\n } // namespace simdjson\n@@ -126,4 +174,8 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::at_pointer(std::string_view json_pointer) & noexcept {\n+ if (error()) { return error(); }\n+ return first.at_pointer(json_pointer);\n+}\n } // namespace simdjson\ndiff --git a/include/simdjson/generic/ondemand/array.h b/include/simdjson/generic/ondemand/array.h\nindex 3336ccfd..058ab900 100644\n--- a/include/simdjson/generic/ondemand/array.h\n+++ b/include/simdjson/generic/ondemand/array.h\n@@ -43,6 +43,24 @@ public:\n * safe to continue.\n */\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+\n+ /**\n+ * Get the value associated with the given JSON pointer. We use the RFC 6901\n+ * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node\n+ * as the root of its own JSON document.\n+ *\n+ * ondemand::parser parser;\n+ * auto a = parser.parse(R\"([ { \"foo\": { \"a\": [ 10, 20, 30 ] }} ])\"_padded);\n+ * a.at_pointer(\"/0/foo/a/1\") == 20\n+ * a.at_pointer(\"0\")[\"foo\"][\"a\"].at_pointer(\"/1\") == 20\n+ *\n+ * @return The value associated with the given JSON pointer, or:\n+ * - NO_SUCH_FIELD if a field does not exist in an object\n+ * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n+ * - INCORRECT_TYPE if a non-integer is used to access an array\n+ * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n+ */\n+ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept;\n protected:\n /**\n * Begin array iteration.\n@@ -110,6 +128,7 @@ public:\n simdjson_really_inline simdjson_result begin() noexcept;\n simdjson_really_inline simdjson_result end() noexcept;\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept;\n };\n \n } // namespace simdjson\ndiff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h\nindex a5c0877b..08d5824b 100644\n--- a/include/simdjson/generic/ondemand/document-inl.h\n+++ b/include/simdjson/generic/ondemand/document-inl.h\n@@ -125,6 +125,13 @@ simdjson_really_inline simdjson_result document::operator[](const char *k\n return resume_value()[key];\n }\n \n+inline simdjson_result document::at_pointer(std::string_view json_pointer) & noexcept {\n+ if(json_pointer.empty()) {\n+ return resume_value();\n+ }\n+ return resume_value().at_pointer(json_pointer);\n+}\n+\n simdjson_really_inline simdjson_result document::type() noexcept {\n return get_root_value_iterator().type();\n }\n@@ -180,6 +187,10 @@ simdjson_really_inline simdjson_result\n if (error()) { return error(); }\n return first.find_field_unordered(key);\n }\n+inline simdjson_result simdjson_result::at_pointer(std::string_view json_pointer) & noexcept {\n+ if (error()) { return error(); }\n+ return first.at_pointer(json_pointer);\n+}\n simdjson_really_inline simdjson_result simdjson_result::operator[](std::string_view key) & noexcept {\n if (error()) { return error(); }\n return first[key];\ndiff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h\nindex 581d8a7c..e9af461d 100644\n--- a/include/simdjson/generic/ondemand/document.h\n+++ b/include/simdjson/generic/ondemand/document.h\n@@ -274,6 +274,30 @@ public:\n /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept; */\n simdjson_really_inline simdjson_result operator[](const char *key) & noexcept;\n \n+ /**\n+ * Get the value associated with the given JSON pointer. We use the RFC 6901\n+ * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node\n+ * as the root of its own JSON document.\n+ *\n+ * ondemand::parser parser;\n+ * auto doc = parser.parse(R\"({ \"foo\": { \"a\": [ 10, 20, 30 ] }})\"_padded);\n+ * doc.at_pointer(\"/foo/a/1\") == 20\n+ * doc.at_pointer(\"/foo\")[\"a\"].at_pointer(\"/1\") == 20\n+ *\n+ * It is allowed for a key to be the empty string:\n+ *\n+ * ondemand::parser parser;\n+ * auto doc = parser.parse(R\"({ \"\": { \"a\": [ 10, 20, 30 ] }})\"_padded);\n+ * doc.at_pointer(\"//a/1\") == 20\n+ *\n+ * @return The value associated with the given JSON pointer, or:\n+ * - NO_SUCH_FIELD if a field does not exist in an object\n+ * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n+ * - INCORRECT_TYPE if a non-integer is used to access an array\n+ * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n+ */\n+ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept;\n+\n /**\n * Get the type of this JSON value.\n *\n@@ -392,6 +416,8 @@ public:\n simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept;\n simdjson_really_inline simdjson_result find_field_unordered(const char *key) & noexcept;\n \n+ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept;\n+\n simdjson_really_inline simdjson_result type() noexcept;\n \n /** @copydoc simdjson_really_inline std::string_view document::raw_json_token() const noexcept */\ndiff --git a/include/simdjson/generic/ondemand/object-inl.h b/include/simdjson/generic/ondemand/object-inl.h\nindex fa689590..bbf27625 100644\n--- a/include/simdjson/generic/ondemand/object-inl.h\n+++ b/include/simdjson/generic/ondemand/object-inl.h\n@@ -2,6 +2,18 @@ namespace simdjson {\n namespace SIMDJSON_IMPLEMENTATION {\n namespace ondemand {\n \n+simdjson_really_inline simdjson_result object::find_field(const std::string_view key) & noexcept {\n+ bool has_value;\n+ SIMDJSON_TRY( iter.find_field_raw(key).get(has_value) );\n+ if (!has_value) { return NO_SUCH_FIELD; }\n+ return value(iter.child());\n+}\n+simdjson_really_inline simdjson_result object::find_field(const std::string_view key) && noexcept {\n+ bool has_value;\n+ SIMDJSON_TRY( iter.find_field_raw(key).get(has_value) );\n+ if (!has_value) { return NO_SUCH_FIELD; }\n+ return value(iter.child());\n+}\n simdjson_really_inline simdjson_result object::find_field_unordered(const std::string_view key) & noexcept {\n bool has_value;\n SIMDJSON_TRY( iter.find_field_unordered_raw(key).get(has_value) );\n@@ -20,17 +32,89 @@ simdjson_really_inline simdjson_result object::operator[](const std::stri\n simdjson_really_inline simdjson_result object::operator[](const std::string_view key) && noexcept {\n return std::forward(*this).find_field_unordered(key);\n }\n-simdjson_really_inline simdjson_result object::find_field(const std::string_view key) & noexcept {\n- bool has_value;\n- SIMDJSON_TRY( iter.find_field_raw(key).get(has_value) );\n- if (!has_value) { return NO_SUCH_FIELD; }\n- return value(iter.child());\n+\n+inline simdjson_result object::at_pointer(std::string_view json_pointer) & noexcept {\n+ if(json_pointer.empty()) {\n+ iter.move_at_start();\n+ return value::start(iter);\n+ }\n+ if(json_pointer[0] != '/') {\n+ return INVALID_JSON_POINTER;\n+ }\n+ json_pointer = json_pointer.substr(1);\n+ size_t slash = json_pointer.find('/');\n+ std::string_view key = json_pointer.substr(0, slash);\n+\n+ simdjson_result child;\n+ size_t escape = key.find('~');\n+ if(escape != std::string_view::npos) {\n+ std::string unescaped(key);\n+ do {\n+ switch(unescaped[escape+1]) {\n+ case '0':\n+ unescaped.replace(escape, 2, \"~\");\n+ break;\n+ case '1':\n+ unescaped.replace(escape, 2, \"/\");\n+ break;\n+ default:\n+ return INVALID_JSON_POINTER;\n+ }\n+ escape = unescaped.find('~', escape+1);\n+ } while(escape != std::string::npos);\n+ child = find_field_unordered(unescaped);\n+ } else {\n+ child = find_field_unordered(key);\n+ }\n+ if(child.error()) {\n+ return child;\n+ }\n+ if(slash != std::string_view::npos) {\n+ return child.at_pointer(json_pointer.substr(slash));\n+ }\n+ return child;\n }\n-simdjson_really_inline simdjson_result object::find_field(const std::string_view key) && noexcept {\n- bool has_value;\n- SIMDJSON_TRY( iter.find_field_raw(key).get(has_value) );\n- if (!has_value) { return NO_SUCH_FIELD; }\n- return value(iter.child());\n+\n+inline simdjson_result object::at_pointer(std::string_view json_pointer) && noexcept {\n+ if(json_pointer.empty()) {\n+ iter.move_at_start();\n+ return value::start(iter);\n+ }\n+ if(json_pointer[0] != '/') {\n+ return INVALID_JSON_POINTER;\n+ }\n+ json_pointer = json_pointer.substr(1);\n+ size_t slash = json_pointer.find('/');\n+ std::string_view key = json_pointer.substr(0, slash);\n+\n+ simdjson_result child;\n+ size_t escape = key.find('~');\n+ if(escape != std::string_view::npos) {\n+ std::string unescaped(key);\n+ do {\n+ switch(unescaped[escape+1]) {\n+ case '0':\n+ unescaped.replace(escape, 2, \"~\");\n+ break;\n+ case '1':\n+ unescaped.replace(escape, 2, \"/\");\n+ break;\n+ default:\n+ return INVALID_JSON_POINTER;\n+ }\n+ escape = unescaped.find('~', escape+1);\n+ } while(escape != std::string::npos);\n+ child = std::forward(*this).find_field_unordered(unescaped);\n+ } else {\n+ child = std::forward(*this).find_field_unordered(key);\n+ }\n+ if(child.error()) {\n+ return child;\n+ }\n+ if(slash != std::string_view::npos) {\n+ return child.at_pointer(json_pointer.substr(slash));\n+ }\n+ return child;\n }\n \n simdjson_really_inline simdjson_result object::start(value_iterator &iter) noexcept {\n@@ -112,4 +196,13 @@ simdjson_really_inline simdjson_result\n return std::forward(first).find_field(key);\n }\n \n+inline simdjson_result simdjson_result::at_pointer(std::string_view key) & noexcept {\n+ if (error()) { return error(); }\n+ return first.at_pointer(key);\n+}\n+inline simdjson_result simdjson_result::at_pointer(std::string_view key) && noexcept {\n+ if (error()) { return error(); }\n+ return std::forward(first).at_pointer(key);\n+}\n+\n } // namespace simdjson\ndiff --git a/include/simdjson/generic/ondemand/object.h b/include/simdjson/generic/ondemand/object.h\nindex 5dd72fe9..1954cc30 100644\n--- a/include/simdjson/generic/ondemand/object.h\n+++ b/include/simdjson/generic/ondemand/object.h\n@@ -74,6 +74,26 @@ public:\n /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept; */\n simdjson_really_inline simdjson_result operator[](std::string_view key) && noexcept;\n \n+ /**\n+ * Get the value associated with the given JSON pointer. We use the RFC 6901\n+ * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node\n+ * as the root of its own JSON document.\n+ *\n+ * ondemand::parser parser;\n+ * auto obj = parser.parse(R\"({ \"foo\": { \"a\": [ 10, 20, 30 ] }})\"_padded);\n+ * obj.at_pointer(\"/foo/a/1\") == 20\n+ * obj.at_pointer(\"/foo\")[\"a\"].at_pointer(\"/1\") == 20\n+ *\n+ * @return The value associated with the given JSON pointer, or:\n+ * - NO_SUCH_FIELD if a field does not exist in an object\n+ * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n+ * - INCORRECT_TYPE if a non-integer is used to access an array\n+ * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n+ */\n+ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept;\n+ /** @overload inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept; */\n+ inline simdjson_result at_pointer(std::string_view json_pointer) && noexcept;\n+\n protected:\n static simdjson_really_inline simdjson_result start(value_iterator &iter) noexcept;\n static simdjson_really_inline simdjson_result start_root(value_iterator &iter) noexcept;\n@@ -111,6 +131,8 @@ public:\n simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) && noexcept;\n simdjson_really_inline simdjson_result operator[](std::string_view key) & noexcept;\n simdjson_really_inline simdjson_result operator[](std::string_view key) && noexcept;\n+ inline simdjson_result at_pointer(std::string_view key) & noexcept;\n+ inline simdjson_result at_pointer(std::string_view key) && noexcept;\n };\n \n } // namespace simdjson\ndiff --git a/include/simdjson/generic/ondemand/value-inl.h b/include/simdjson/generic/ondemand/value-inl.h\nindex 91ed6bac..f673aac2 100644\n--- a/include/simdjson/generic/ondemand/value-inl.h\n+++ b/include/simdjson/generic/ondemand/value-inl.h\n@@ -127,6 +127,28 @@ simdjson_really_inline simdjson_result value::operator[](const char *key)\n return start_or_resume_object()[key];\n }\n \n+inline simdjson_result value::at_pointer(std::string_view json_pointer) noexcept {\n+ if(json_pointer.empty()) {\n+ return std::move(*this);\n+ }\n+ json_type t;\n+ if(auto err = type().get(t)) { return err; }\n+ switch(t) {\n+ case json_type::object: {\n+ object obj;\n+ if(auto err = get_object().get(obj)) { return err; }\n+ return obj.at_pointer(json_pointer);\n+ }\n+ case json_type::array: {\n+ array arr;\n+ if(auto err = get_array().get(arr)) { return err; }\n+ return arr.at_pointer(json_pointer);\n+ }\n+ default:\n+ return INVALID_JSON_POINTER;\n+ }\n+}\n+\n simdjson_really_inline simdjson_result value::type() noexcept {\n return iter.type();\n }\n@@ -195,6 +217,11 @@ simdjson_really_inline simdjson_result\n return first[key];\n }\n \n+inline simdjson_result simdjson_result::at_pointer(std::string_view json_pointer) noexcept {\n+ if (error()) { return error(); }\n+ return first.at_pointer(json_pointer);\n+}\n+\n simdjson_really_inline simdjson_result simdjson_result::get_array() noexcept {\n if (error()) { return error(); }\n return first.get_array();\ndiff --git a/include/simdjson/generic/ondemand/value.h b/include/simdjson/generic/ondemand/value.h\nindex a8a5f48d..2def266a 100644\n--- a/include/simdjson/generic/ondemand/value.h\n+++ b/include/simdjson/generic/ondemand/value.h\n@@ -276,6 +276,24 @@ public:\n /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) noexcept; */\n simdjson_really_inline simdjson_result operator[](const char *key) noexcept;\n \n+ /**\n+ * Get the value associated with the given JSON pointer. We use the RFC 6901\n+ * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node\n+ * as the root of its own JSON document.\n+ *\n+ * ondemand::parser parser;\n+ * auto doc = parser.parse(R\"({ \"foo\": { \"a\": [ 10, 20, 30 ] }})\"_padded);\n+ * doc.at_pointer(\"/foo/a/1\") == 20\n+ * doc.at_pointer(\"/foo\")[\"a\"].at_pointer(\"/1\") == 20\n+ *\n+ * @return The value associated with the given JSON pointer, or:\n+ * - NO_SUCH_FIELD if a field does not exist in an object\n+ * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n+ * - INCORRECT_TYPE if a non-integer is used to access an array\n+ * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n+ */\n+ inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n+\n /**\n * Get the type of this JSON value.\n *\n@@ -349,6 +367,7 @@ protected:\n \n friend class document;\n friend class array_iterator;\n+ friend class array;\n friend class field;\n friend class object;\n friend struct simdjson_result;\n@@ -445,9 +464,11 @@ public:\n simdjson_really_inline simdjson_result find_field_unordered(const char *key) noexcept;\n /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) noexcept; */\n simdjson_really_inline simdjson_result operator[](std::string_view key) noexcept;\n- /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) noexcept; */\n+ /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) noexcept; */\n simdjson_really_inline simdjson_result operator[](const char *key) noexcept;\n \n+ inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n+\n /**\n * Get the type of this JSON value.\n *\n"} +{"instance_id": "simdjson__simdjson-1624", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/generic/ondemand/array.h b/include/simdjson/generic/ondemand/array.h\nindex 27d06078..6638ed2d 100644\n--- a/include/simdjson/generic/ondemand/array.h\n+++ b/include/simdjson/generic/ondemand/array.h\n@@ -54,7 +54,8 @@ public:\n * auto doc = parser.iterate(json);\n * doc.at_pointer(\"/0/foo/a/1\") == 20\n *\n- * Note that at_pointer() does not automatically rewind between each call (call rewind() to reset).\n+ * Note that at_pointer() does not automatically rewind between each call on\n+ * array values (call rewind() on the document to reset).\n * Also note that at_pointer() relies on find_field() which implies that we do not unescape keys when matching.\n * @return The value associated with the given JSON pointer, or:\n * - NO_SUCH_FIELD if a field does not exist in an object\ndiff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h\nindex fc158694..8d7cb345 100644\n--- a/include/simdjson/generic/ondemand/document-inl.h\n+++ b/include/simdjson/generic/ondemand/document-inl.h\n@@ -135,6 +135,7 @@ simdjson_really_inline simdjson_result document::raw_json_toke\n }\n \n simdjson_really_inline simdjson_result document::at_pointer(std::string_view json_pointer) noexcept {\n+ rewind();\n if (json_pointer.empty()) {\n return this->resume_value();\n }\ndiff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h\nindex edc26948..6c54bad7 100644\n--- a/include/simdjson/generic/ondemand/document.h\n+++ b/include/simdjson/generic/ondemand/document.h\n@@ -335,7 +335,8 @@ public:\n * auto doc = parser.iterate(json);\n * doc.at_pointer(\"//a/1\") == 20\n *\n- * Note that at_pointer() does not automatically rewind between each call (call rewind() to reset).\n+ * Note that at_pointer() automatically rewinds between each call, which\n+ * may be unexpected if you have already begun iterating the document.\n * Also note that at_pointer() relies on find_field() which implies that we do not unescape keys when matching\n *\n * @return The value associated with the given JSON pointer, or:\ndiff --git a/include/simdjson/generic/ondemand/object.h b/include/simdjson/generic/ondemand/object.h\nindex 2eb71c97..848529a0 100644\n--- a/include/simdjson/generic/ondemand/object.h\n+++ b/include/simdjson/generic/ondemand/object.h\n@@ -91,7 +91,8 @@ public:\n * auto doc = parser.iterate(json);\n * doc.at_pointer(\"//a/1\") == 20\n *\n- * Note that at_pointer() does not automatically rewind between each call (call rewind() to reset).\n+ * Note that at_pointer() does not automatically rewind between each call on\n+ * object values (call rewind() on the document to reset).\n * Also note that at_pointer() relies on find_field() which implies that we do not unescape keys when matching.\n *\n * @return The value associated with the given JSON pointer, or:\ndiff --git a/include/simdjson/generic/ondemand/value.h b/include/simdjson/generic/ondemand/value.h\nindex 631c254f..505b2a40 100644\n--- a/include/simdjson/generic/ondemand/value.h\n+++ b/include/simdjson/generic/ondemand/value.h\n@@ -330,7 +330,8 @@ public:\n * auto doc = parser.iterate(json);\n * doc.at_pointer(\"//a/1\") == 20\n *\n- * Note that at_pointer() does not automatically rewind between each call (call rewind() to reset).\n+ * Note that at_pointer() does not automatically rewind between each call on\n+ * value instances (call rewind() on the document to reset).\n * Also note that at_pointer() relies on find_field() which implies that we do not unescape keys when matching\n *\n * @return The value associated with the given JSON pointer, or:\n"} +{"instance_id": "simdjson__simdjson-1667", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/dom/element-inl.h b/include/simdjson/dom/element-inl.h\nindex ef48891f..b56c3b3e 100644\n--- a/include/simdjson/dom/element-inl.h\n+++ b/include/simdjson/dom/element-inl.h\n@@ -70,6 +70,18 @@ simdjson_really_inline simdjson_result simdjson_result::ge\n if (error()) { return error(); }\n return first.get_double();\n }\n+simdjson_really_inline simdjson_result simdjson_result::get_double_from_string() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_double_from_string();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::get_uint64_from_string() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_uint64_from_string();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::get_int64_from_string() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_int64_from_string();\n+}\n simdjson_really_inline simdjson_result simdjson_result::get_bool() const noexcept {\n if (error()) { return error(); }\n return first.get_bool();\n@@ -272,6 +284,112 @@ inline simdjson_result element::get_double() const noexcept {\n // this is common:\n return tape.next_tape_value();\n }\n+inline simdjson_result element::get_double_from_string() const noexcept {\n+ if(simdjson_unlikely(!tape.is_double())) {\n+ if(tape.is_uint64()) {\n+ return double(tape.next_tape_value());\n+ } else if(tape.is_int64()) {\n+ return double(tape.next_tape_value());\n+ } else if(tape.tape_ref_type() == internal::tape_type::STRING) {\n+ std::string_view str = tape.get_string_view();\n+ // Validate the string is a valid number representation\n+ const char *p = str.data();\n+ const char *end = p + str.length();\n+ if (*p == '-') { p++; }\n+ if (p == end || *p < '0' || *p > '9') { return INCORRECT_TYPE; }\n+ bool leading_zero = (*p == '0');\n+ while (p != end && *p >= '0' && *p <= '9') { p++; }\n+ if (leading_zero && p - str.data() - (str[0] == '-' ? 1 : 0) > 1) { return NUMBER_ERROR; }\n+ if (p != end && *p == '.') {\n+ p++;\n+ if (p == end || *p < '0' || *p > '9') { return NUMBER_ERROR; }\n+ while (p != end && *p >= '0' && *p <= '9') { p++; }\n+ }\n+ if (p != end && (*p == 'e' || *p == 'E')) {\n+ p++;\n+ if (p != end && (*p == '+' || *p == '-')) { p++; }\n+ if (p == end || *p < '0' || *p > '9') { return NUMBER_ERROR; }\n+ while (p != end && *p >= '0' && *p <= '9') { p++; }\n+ }\n+ if (p != end) { return INCORRECT_TYPE; }\n+ double d = simdjson::internal::from_chars(str.data(), str.data() + str.length());\n+ if(d > (std::numeric_limits::max)() || d < std::numeric_limits::lowest()) {\n+ return NUMBER_ERROR;\n+ }\n+ return d;\n+ }\n+ return INCORRECT_TYPE;\n+ }\n+ return tape.next_tape_value();\n+}\n+inline simdjson_result element::get_uint64_from_string() const noexcept {\n+ if(simdjson_unlikely(!tape.is_uint64())) {\n+ if(tape.is_int64()) {\n+ int64_t result = tape.next_tape_value();\n+ if (result < 0) {\n+ return NUMBER_OUT_OF_RANGE;\n+ }\n+ return uint64_t(result);\n+ } else if(tape.tape_ref_type() == internal::tape_type::STRING) {\n+ std::string_view str = tape.get_string_view();\n+ // Parse the string as a uint64_t\n+ const uint8_t *src = reinterpret_cast(str.data());\n+ const uint8_t *const src_end = src + str.length();\n+ const uint8_t *p = src;\n+ const uint8_t *const start_digits = p;\n+ uint64_t i = 0;\n+ while ((p != src_end) && (*p >= '0') && (*p <= '9')) {\n+ i = 10 * i + (*p - '0');\n+ p++;\n+ }\n+ size_t digit_count = size_t(p - start_digits);\n+ if ((digit_count == 0) || (digit_count > 20)) { return INCORRECT_TYPE; }\n+ if (('0' == *start_digits) && (digit_count > 1)) { return NUMBER_ERROR; }\n+ if (p != src_end) { return INCORRECT_TYPE; }\n+ if (digit_count == 20) {\n+ if (src[0] != uint8_t('1') || i <= uint64_t(INT64_MAX)) { return NUMBER_OUT_OF_RANGE; }\n+ }\n+ return i;\n+ }\n+ return INCORRECT_TYPE;\n+ }\n+ return tape.next_tape_value();\n+}\n+inline simdjson_result element::get_int64_from_string() const noexcept {\n+ if(simdjson_unlikely(!tape.is_int64())) {\n+ if(tape.is_uint64()) {\n+ uint64_t result = tape.next_tape_value();\n+ if (result > uint64_t((std::numeric_limits::max)())) {\n+ return NUMBER_OUT_OF_RANGE;\n+ }\n+ return static_cast(result);\n+ } else if(tape.tape_ref_type() == internal::tape_type::STRING) {\n+ std::string_view str = tape.get_string_view();\n+ const uint8_t *src = reinterpret_cast(str.data());\n+ const uint8_t *const src_end = src + str.length();\n+ bool negative = (*src == '-');\n+ if (negative) { src++; }\n+ const uint8_t *start_digits = src;\n+ uint64_t i = 0;\n+ while ((src != src_end) && (*src >= '0') && (*src <= '9')) {\n+ i = 10 * i + (*src - '0');\n+ src++;\n+ }\n+ size_t digit_count = size_t(src - start_digits);\n+ if ((digit_count == 0) || (digit_count > 19)) { return INCORRECT_TYPE; }\n+ if (('0' == *start_digits) && (digit_count > 1)) { return NUMBER_ERROR; }\n+ if (src != src_end) { return INCORRECT_TYPE; }\n+ if (negative) {\n+ if (i > uint64_t(INT64_MAX) + 1) { return NUMBER_OUT_OF_RANGE; }\n+ return -static_cast(i);\n+ }\n+ if (i > uint64_t(INT64_MAX)) { return NUMBER_OUT_OF_RANGE; }\n+ return static_cast(i);\n+ }\n+ return INCORRECT_TYPE;\n+ }\n+ return tape.next_tape_value();\n+}\n inline simdjson_result element::get_array() const noexcept {\n switch (tape.tape_ref_type()) {\n case internal::tape_type::START_ARRAY:\ndiff --git a/include/simdjson/dom/element.h b/include/simdjson/dom/element.h\nindex 186fb1f7..6cdc07a1 100644\n--- a/include/simdjson/dom/element.h\n+++ b/include/simdjson/dom/element.h\n@@ -104,6 +104,15 @@ public:\n * if it is negative.\n */\n inline simdjson_result get_int64() const noexcept;\n+ /**\n+ * Cast this element (which must be a string) to a signed integer.\n+ *\n+ * The string must contain a valid signed integer (e.g., \"-42\", \"100\").\n+ *\n+ * @returns A signed 64-bit integer parsed from the string content.\n+ * Returns INCORRECT_TYPE if the JSON element is not a string, or the string is not a valid integer.\n+ */\n+ inline simdjson_result get_int64_from_string() const noexcept;\n /**\n * Cast this element to an unsigned integer.\n *\n@@ -112,6 +121,15 @@ public:\n * if it is too large.\n */\n inline simdjson_result get_uint64() const noexcept;\n+ /**\n+ * Cast this element (which must be a string) to an unsigned integer.\n+ *\n+ * The string must contain a valid unsigned integer (e.g., \"42\").\n+ *\n+ * @returns An unsigned 64-bit integer parsed from the string content.\n+ * Returns INCORRECT_TYPE if the JSON element is not a string, or the string is not a valid unsigned integer.\n+ */\n+ inline simdjson_result get_uint64_from_string() const noexcept;\n /**\n * Cast this element to a double floating-point.\n *\n@@ -119,6 +137,15 @@ public:\n * Returns INCORRECT_TYPE if the JSON element is not a number.\n */\n inline simdjson_result get_double() const noexcept;\n+ /**\n+ * Cast this element (which must be a string) to a double floating-point.\n+ *\n+ * The string must contain a valid floating-point number (e.g., \"1.5\", \"-3.14e2\").\n+ *\n+ * @returns A double value parsed from the string content.\n+ * Returns INCORRECT_TYPE if the JSON element is not a string, or the string is not a valid number.\n+ */\n+ inline simdjson_result get_double_from_string() const noexcept;\n /**\n * Cast this element to a bool.\n *\n@@ -501,6 +528,9 @@ public:\n simdjson_really_inline simdjson_result get_int64() const noexcept;\n simdjson_really_inline simdjson_result get_uint64() const noexcept;\n simdjson_really_inline simdjson_result get_double() const noexcept;\n+ simdjson_really_inline simdjson_result get_int64_from_string() const noexcept;\n+ simdjson_really_inline simdjson_result get_uint64_from_string() const noexcept;\n+ simdjson_really_inline simdjson_result get_double_from_string() const noexcept;\n simdjson_really_inline simdjson_result get_bool() const noexcept;\n \n simdjson_really_inline bool is_array() const noexcept;\ndiff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h\nindex 045411d5..710c0294 100644\n--- a/include/simdjson/generic/ondemand/document-inl.h\n+++ b/include/simdjson/generic/ondemand/document-inl.h\n@@ -70,6 +70,15 @@ simdjson_really_inline simdjson_result document::get_int64() noexcept {\n simdjson_really_inline simdjson_result document::get_double() noexcept {\n return get_root_value_iterator().get_root_double();\n }\n+simdjson_really_inline simdjson_result document::get_double_from_string() noexcept {\n+ return get_root_value_iterator().get_root_double_from_string();\n+}\n+simdjson_really_inline simdjson_result document::get_uint64_from_string() noexcept {\n+ return get_root_value_iterator().get_root_uint64_from_string();\n+}\n+simdjson_really_inline simdjson_result document::get_int64_from_string() noexcept {\n+ return get_root_value_iterator().get_root_int64_from_string();\n+}\n simdjson_really_inline simdjson_result document::get_string() noexcept {\n return get_root_value_iterator().get_root_string();\n }\n@@ -274,6 +283,18 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::get_uint64_from_string() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_uint64_from_string();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::get_int64_from_string() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_int64_from_string();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::get_double_from_string() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_double_from_string();\n+}\n simdjson_really_inline simdjson_result simdjson_result::get_string() noexcept {\n if (error()) { return error(); }\n return first.get_string();\ndiff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h\nindex 2d65fc9c..d3252577 100644\n--- a/include/simdjson/generic/ondemand/document.h\n+++ b/include/simdjson/generic/ondemand/document.h\n@@ -53,6 +53,15 @@ public:\n * @returns INCORRECT_TYPE If the JSON value is not a 64-bit unsigned integer.\n */\n simdjson_really_inline simdjson_result get_uint64() noexcept;\n+ /**\n+ * Cast this JSON string to an unsigned integer.\n+ *\n+ * The string must contain a valid unsigned integer (e.g., \"42\").\n+ *\n+ * @returns A uint64_t parsed from the string content.\n+ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid unsigned integer.\n+ */\n+ simdjson_really_inline simdjson_result get_uint64_from_string() noexcept;\n /**\n * Cast this JSON value to a signed integer.\n *\n@@ -60,6 +69,15 @@ public:\n * @returns INCORRECT_TYPE If the JSON value is not a 64-bit integer.\n */\n simdjson_really_inline simdjson_result get_int64() noexcept;\n+ /**\n+ * Cast this JSON string to a signed integer.\n+ *\n+ * The string must contain a valid signed integer (e.g., \"-42\", \"100\").\n+ *\n+ * @returns An int64_t parsed from the string content.\n+ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid integer.\n+ */\n+ simdjson_really_inline simdjson_result get_int64_from_string() noexcept;\n /**\n * Cast this JSON value to a double.\n *\n@@ -67,6 +85,15 @@ public:\n * @returns INCORRECT_TYPE If the JSON value is not a valid floating-point number.\n */\n simdjson_really_inline simdjson_result get_double() noexcept;\n+ /**\n+ * Cast this JSON string to a double.\n+ *\n+ * The string must contain a valid floating-point number (e.g., \"1.5\", \"-3.14e2\").\n+ *\n+ * @returns A double parsed from the string content.\n+ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid number.\n+ */\n+ simdjson_really_inline simdjson_result get_double_from_string() noexcept;\n /**\n * Cast this JSON value to a string.\n *\n@@ -408,6 +435,9 @@ public:\n simdjson_really_inline simdjson_result get_uint64() noexcept;\n simdjson_really_inline simdjson_result get_int64() noexcept;\n simdjson_really_inline simdjson_result get_double() noexcept;\n+ simdjson_really_inline simdjson_result get_uint64_from_string() noexcept;\n+ simdjson_really_inline simdjson_result get_int64_from_string() noexcept;\n+ simdjson_really_inline simdjson_result get_double_from_string() noexcept;\n simdjson_really_inline simdjson_result get_string() noexcept;\n simdjson_really_inline simdjson_result get_raw_json_string() noexcept;\n simdjson_really_inline simdjson_result get_bool() noexcept;\ndiff --git a/include/simdjson/generic/ondemand/value-inl.h b/include/simdjson/generic/ondemand/value-inl.h\nindex 5b6e4fbc..ef2135ab 100644\n--- a/include/simdjson/generic/ondemand/value-inl.h\n+++ b/include/simdjson/generic/ondemand/value-inl.h\n@@ -36,6 +36,15 @@ simdjson_really_inline simdjson_result value::get_string() noe\n simdjson_really_inline simdjson_result value::get_double() noexcept {\n return iter.get_double();\n }\n+simdjson_really_inline simdjson_result value::get_uint64_from_string() noexcept {\n+ return iter.get_uint64_from_string();\n+}\n+simdjson_really_inline simdjson_result value::get_int64_from_string() noexcept {\n+ return iter.get_int64_from_string();\n+}\n+simdjson_really_inline simdjson_result value::get_double_from_string() noexcept {\n+ return iter.get_double_from_string();\n+}\n simdjson_really_inline simdjson_result value::get_uint64() noexcept {\n return iter.get_uint64();\n }\n@@ -229,6 +238,18 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::get_uint64_from_string() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_uint64_from_string();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::get_int64_from_string() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_int64_from_string();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::get_double_from_string() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_double_from_string();\n+}\n simdjson_really_inline simdjson_result simdjson_result::get_string() noexcept {\n if (error()) { return error(); }\n return first.get_string();\ndiff --git a/include/simdjson/generic/ondemand/value.h b/include/simdjson/generic/ondemand/value.h\nindex 65de6bc6..7db3fdcc 100644\n--- a/include/simdjson/generic/ondemand/value.h\n+++ b/include/simdjson/generic/ondemand/value.h\n@@ -74,6 +74,16 @@ public:\n */\n simdjson_really_inline simdjson_result get_uint64() noexcept;\n \n+ /**\n+ * Cast this JSON string to an unsigned integer.\n+ *\n+ * The string must contain a valid unsigned integer (e.g., \"42\").\n+ *\n+ * @returns A uint64_t parsed from the string content.\n+ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid unsigned integer.\n+ */\n+ simdjson_really_inline simdjson_result get_uint64_from_string() noexcept;\n+\n /**\n * Cast this JSON value to a signed integer.\n *\n@@ -82,6 +92,16 @@ public:\n */\n simdjson_really_inline simdjson_result get_int64() noexcept;\n \n+ /**\n+ * Cast this JSON string to a signed integer.\n+ *\n+ * The string must contain a valid signed integer (e.g., \"-42\", \"100\").\n+ *\n+ * @returns An int64_t parsed from the string content.\n+ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid integer.\n+ */\n+ simdjson_really_inline simdjson_result get_int64_from_string() noexcept;\n+\n /**\n * Cast this JSON value to a double.\n *\n@@ -90,6 +110,16 @@ public:\n */\n simdjson_really_inline simdjson_result get_double() noexcept;\n \n+ /**\n+ * Cast this JSON string to a double.\n+ *\n+ * The string must contain a valid floating-point number (e.g., \"1.5\", \"-3.14e2\").\n+ *\n+ * @returns A double parsed from the string content.\n+ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid number.\n+ */\n+ simdjson_really_inline simdjson_result get_double_from_string() noexcept;\n+\n /**\n * Cast this JSON value to a string.\n *\n@@ -418,6 +448,9 @@ public:\n simdjson_really_inline simdjson_result get_uint64() noexcept;\n simdjson_really_inline simdjson_result get_int64() noexcept;\n simdjson_really_inline simdjson_result get_double() noexcept;\n+ simdjson_really_inline simdjson_result get_uint64_from_string() noexcept;\n+ simdjson_really_inline simdjson_result get_int64_from_string() noexcept;\n+ simdjson_really_inline simdjson_result get_double_from_string() noexcept;\n simdjson_really_inline simdjson_result get_string() noexcept;\n simdjson_really_inline simdjson_result get_raw_json_string() noexcept;\n simdjson_really_inline simdjson_result get_bool() noexcept;\ndiff --git a/include/simdjson/generic/ondemand/value_iterator-inl.h b/include/simdjson/generic/ondemand/value_iterator-inl.h\nindex 258e75cf..f7b1494b 100644\n--- a/include/simdjson/generic/ondemand/value_iterator-inl.h\n+++ b/include/simdjson/generic/ondemand/value_iterator-inl.h\n@@ -473,6 +473,43 @@ simdjson_really_inline bool value_iterator::is_null() noexcept {\n return result;\n }\n \n+simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_double_from_string() noexcept {\n+ std::string_view str;\n+ auto err = get_string().get(str);\n+ if (err) { return err; }\n+#ifdef SIMDJSON_SKIPNUMBERPARSING\n+ return 0;\n+#else\n+ const uint8_t *src = reinterpret_cast(str.data());\n+ const uint8_t *const src_end = src + str.length();\n+ return numberparsing::parse_double(src, src_end);\n+#endif\n+}\n+simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_uint64_from_string() noexcept {\n+ std::string_view str;\n+ auto err = get_string().get(str);\n+ if (err) { return err; }\n+#ifdef SIMDJSON_SKIPNUMBERPARSING\n+ return 0;\n+#else\n+ const uint8_t *src = reinterpret_cast(str.data());\n+ const uint8_t *const src_end = src + str.length();\n+ return numberparsing::parse_unsigned(src, src_end);\n+#endif\n+}\n+simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_int64_from_string() noexcept {\n+ std::string_view str;\n+ auto err = get_string().get(str);\n+ if (err) { return err; }\n+#ifdef SIMDJSON_SKIPNUMBERPARSING\n+ return 0;\n+#else\n+ const uint8_t *src = reinterpret_cast(str.data());\n+ const uint8_t *const src_end = src + str.length();\n+ return numberparsing::parse_integer(src, src_end);\n+#endif\n+}\n+\n constexpr const uint32_t MAX_INT_LENGTH = 1024;\n \n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_string() noexcept {\n@@ -538,6 +575,43 @@ simdjson_really_inline bool value_iterator::is_root_null() noexcept {\n return result;\n }\n \n+simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_double_from_string() noexcept {\n+ std::string_view str;\n+ auto err = get_root_string().get(str);\n+ if (err) { return err; }\n+#ifdef SIMDJSON_SKIPNUMBERPARSING\n+ return 0;\n+#else\n+ const uint8_t *src = reinterpret_cast(str.data());\n+ const uint8_t *const src_end = src + str.length();\n+ return numberparsing::parse_double(src, src_end);\n+#endif\n+}\n+simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_uint64_from_string() noexcept {\n+ std::string_view str;\n+ auto err = get_root_string().get(str);\n+ if (err) { return err; }\n+#ifdef SIMDJSON_SKIPNUMBERPARSING\n+ return 0;\n+#else\n+ const uint8_t *src = reinterpret_cast(str.data());\n+ const uint8_t *const src_end = src + str.length();\n+ return numberparsing::parse_unsigned(src, src_end);\n+#endif\n+}\n+simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_int64_from_string() noexcept {\n+ std::string_view str;\n+ auto err = get_root_string().get(str);\n+ if (err) { return err; }\n+#ifdef SIMDJSON_SKIPNUMBERPARSING\n+ return 0;\n+#else\n+ const uint8_t *src = reinterpret_cast(str.data());\n+ const uint8_t *const src_end = src + str.length();\n+ return numberparsing::parse_integer(src, src_end);\n+#endif\n+}\n+\n simdjson_warn_unused simdjson_really_inline error_code value_iterator::skip_child() noexcept {\n SIMDJSON_ASSUME( _json_iter->token._position > _start_position );\n SIMDJSON_ASSUME( _json_iter->_depth >= _depth );\ndiff --git a/include/simdjson/generic/ondemand/value_iterator.h b/include/simdjson/generic/ondemand/value_iterator.h\nindex e742198a..59f12d26 100644\n--- a/include/simdjson/generic/ondemand/value_iterator.h\n+++ b/include/simdjson/generic/ondemand/value_iterator.h\n@@ -288,6 +288,10 @@ public:\n simdjson_warn_unused simdjson_really_inline simdjson_result get_bool() noexcept;\n simdjson_really_inline bool is_null() noexcept;\n \n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_uint64_from_string() noexcept;\n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_int64_from_string() noexcept;\n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_double_from_string() noexcept;\n+\n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_string() noexcept;\n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_raw_json_string() noexcept;\n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_uint64() noexcept;\n@@ -296,6 +300,10 @@ public:\n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_bool() noexcept;\n simdjson_really_inline bool is_root_null() noexcept;\n \n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_root_uint64_from_string() noexcept;\n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_root_int64_from_string() noexcept;\n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_root_double_from_string() noexcept;\n+\n simdjson_really_inline error_code error() const noexcept;\n simdjson_really_inline uint8_t *&string_buf_loc() noexcept;\n simdjson_really_inline const json_iterator &json_iter() const noexcept;\n"} +{"instance_id": "simdjson__simdjson-1695", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h\nindex 794a59ff..980cfc79 100644\n--- a/include/simdjson/generic/ondemand/document-inl.h\n+++ b/include/simdjson/generic/ondemand/document-inl.h\n@@ -22,6 +22,10 @@ inline std::string document::to_debug_string() noexcept {\n inline bool document::is_alive() noexcept {\n return iter.is_alive();\n }\n+inline const uint8_t *document::current_location() const noexcept {\n+ if(!iter.is_alive()) { return nullptr; }\n+ return iter.current_location();\n+}\n simdjson_really_inline value_iterator document::resume_value_iterator() noexcept {\n return value_iterator(&iter, 1, iter.root_position());\n }\n@@ -447,6 +451,11 @@ simdjson_really_inline simdjson_result\n return first.at_pointer(json_pointer);\n }\n \n+simdjson_really_inline simdjson_result simdjson_result::current_location() const noexcept {\n+ if (error()) { return error(); }\n+ return first.current_location();\n+}\n+\n \n } // namespace simdjson\n \n@@ -497,6 +506,7 @@ simdjson_really_inline simdjson_result document_reference::is_integer() no\n simdjson_really_inline simdjson_result document_reference::get_number() noexcept { return doc->get_number(); }\n simdjson_really_inline simdjson_result document_reference::raw_json_token() noexcept { return doc->raw_json_token(); }\n simdjson_really_inline simdjson_result document_reference::at_pointer(std::string_view json_pointer) noexcept { return doc->at_pointer(json_pointer); }\n+simdjson_really_inline const uint8_t *document_reference::current_location() const noexcept { return doc->current_location(); }\n simdjson_really_inline simdjson_result document_reference::raw_json() noexcept { return doc->raw_json();}\n simdjson_really_inline document_reference::operator document&() const noexcept { return *doc; }\n \n@@ -664,5 +674,10 @@ simdjson_really_inline simdjson_result\n return first.at_pointer(json_pointer);\n }\n \n+simdjson_really_inline simdjson_result simdjson_result::current_location() const noexcept {\n+ if (error()) { return error(); }\n+ return first.current_location();\n+}\n+\n \n } // namespace simdjson\n\\ No newline at end of file\ndiff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h\nindex 4c4b7d7f..7c3effcd 100644\n--- a/include/simdjson/generic/ondemand/document.h\n+++ b/include/simdjson/generic/ondemand/document.h\n@@ -426,6 +426,21 @@ public:\n */\n inline bool is_alive() noexcept;\n \n+ /**\n+ * Get a pointer to the current location in the JSON input buffer.\n+ *\n+ * This can be useful for identifying the location of an error when using the On Demand API.\n+ * The pointer points into the original JSON buffer; it is not null-terminated.\n+ *\n+ * You may be pointing outside of the input buffer: it is not generally\n+ * safe to dereference this pointer. Always check that the pointer is\n+ * within bounds before dereferencing.\n+ *\n+ * @returns A pointer to the current position in the JSON buffer, or nullptr\n+ * if the document is not alive (e.g., after an unrecoverable error).\n+ */\n+ inline const uint8_t *current_location() const noexcept;\n+\n /**\n * Get the value associated with the given JSON pointer. We use the RFC 6901\n * https://tools.ietf.org/html/rfc6901 standard.\n@@ -547,6 +562,7 @@ public:\n simdjson_really_inline simdjson_result get_number() noexcept;\n simdjson_really_inline simdjson_result raw_json_token() noexcept;\n simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n+ simdjson_really_inline const uint8_t *current_location() const noexcept;\n private:\n document *doc{nullptr};\n };\n@@ -612,9 +628,8 @@ public:\n simdjson_really_inline simdjson_result raw_json_token() noexcept;\n \n simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n+ simdjson_really_inline simdjson_result current_location() const noexcept;\n };\n-\n-\n } // namespace simdjson\n \n \n@@ -669,6 +684,7 @@ public:\n simdjson_really_inline simdjson_result raw_json_token() noexcept;\n \n simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n+ simdjson_really_inline simdjson_result current_location() const noexcept;\n };\n \n \ndiff --git a/include/simdjson/generic/ondemand/json_iterator-inl.h b/include/simdjson/generic/ondemand/json_iterator-inl.h\nindex 16979e80..05663c18 100644\n--- a/include/simdjson/generic/ondemand/json_iterator-inl.h\n+++ b/include/simdjson/generic/ondemand/json_iterator-inl.h\n@@ -216,6 +216,10 @@ simdjson_really_inline const uint8_t *json_iterator::unsafe_pointer() const noex\n return token.peek(0);\n }\n \n+simdjson_really_inline const uint8_t *json_iterator::current_location() const noexcept {\n+ return token.peek(0);\n+}\n+\n simdjson_really_inline const uint8_t *json_iterator::peek(int32_t delta) const noexcept {\n #if SIMDJSON_CHECK_EOF\n assert_more_tokens(delta+1);\ndiff --git a/include/simdjson/generic/ondemand/json_iterator.h b/include/simdjson/generic/ondemand/json_iterator.h\nindex d18ab48c..70bb43f6 100644\n--- a/include/simdjson/generic/ondemand/json_iterator.h\n+++ b/include/simdjson/generic/ondemand/json_iterator.h\n@@ -157,6 +157,15 @@ public:\n * safe to derefence this pointer.\n */\n simdjson_really_inline const uint8_t *unsafe_pointer() const noexcept;\n+ /**\n+ * Get a pointer to the current location in the input buffer.\n+ *\n+ * This is not null-terminated; it is a view into the JSON.\n+ *\n+ * You may be pointing outside of the input buffer: it is not generally\n+ * safe to derefence this pointer.\n+ */\n+ simdjson_really_inline const uint8_t *current_location() const noexcept;\n /**\n * Get the JSON text for a given token.\n *\n"} +{"instance_id": "simdjson__simdjson-1712", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h\nindex 6aad8504..f656e933 100644\n--- a/include/simdjson/generic/ondemand/document-inl.h\n+++ b/include/simdjson/generic/ondemand/document-inl.h\n@@ -141,6 +141,16 @@ simdjson_really_inline simdjson_result document::count_elements() & noex\n }\n return answer;\n }\n+simdjson_really_inline simdjson_result document::count_fields() & noexcept {\n+ auto o = get_object();\n+ simdjson_result answer = o.count_fields();\n+ /* If there was an object, we are now left pointing at its first field. */\n+ if(answer.error() == SUCCESS) {\n+ iter._depth = 1 ; /* undoing the increment so we go back at the doc depth.*/\n+ iter.assert_at_document_depth();\n+ }\n+ return answer;\n+}\n simdjson_really_inline simdjson_result document::at(size_t index) & noexcept {\n auto a = get_array();\n return a.at(index);\n@@ -262,6 +272,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept {\n+ if (error()) { return error(); }\n+ return first.count_fields();\n+}\n simdjson_really_inline simdjson_result simdjson_result::at(size_t index) & noexcept {\n if (error()) { return error(); }\n return first.at(index);\n@@ -492,6 +506,7 @@ simdjson_really_inline document_reference::operator bool() noexcept(false) { ret\n simdjson_really_inline document_reference::operator value() noexcept(false) { return value(*doc); }\n #endif\n simdjson_really_inline simdjson_result document_reference::count_elements() & noexcept { return doc->count_elements(); }\n+simdjson_really_inline simdjson_result document_reference::count_fields() & noexcept { return doc->count_fields(); }\n simdjson_really_inline simdjson_result document_reference::at(size_t index) & noexcept { return doc->at(index); }\n simdjson_really_inline simdjson_result document_reference::begin() & noexcept { return doc->begin(); }\n simdjson_really_inline simdjson_result document_reference::end() & noexcept { return doc->end(); }\n@@ -527,6 +542,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept {\n+ if (error()) { return error(); }\n+ return first.count_fields();\n+}\n simdjson_really_inline simdjson_result simdjson_result::at(size_t index) & noexcept {\n if (error()) { return error(); }\n return first.at(index);\ndiff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h\nindex 097752b8..bf9f84b8 100644\n--- a/include/simdjson/generic/ondemand/document.h\n+++ b/include/simdjson/generic/ondemand/document.h\n@@ -250,6 +250,18 @@ public:\n * safe to continue.\n */\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ /**\n+ * This method scans the object and counts the number of fields.\n+ * The count_fields method should always be called before you have begun\n+ * iterating through the object: it is expected that you are pointing at\n+ * the beginning of the object.\n+ * The runtime complexity is linear in the size of the object. After\n+ * calling this function, if successful, the object is 'rewinded' at its\n+ * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n+ * there is a missing comma), then an error is returned and it is no longer\n+ * safe to continue.\n+ */\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n /**\n * Get the value at the given index in the array. This function has linear-time complexity.\n * This function should only be called once as the array iterator is not reset between each call.\n@@ -535,6 +547,7 @@ public:\n simdjson_really_inline operator value() noexcept(false);\n #endif\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) & noexcept;\n simdjson_really_inline simdjson_result begin() & noexcept;\n simdjson_really_inline simdjson_result end() & noexcept;\n@@ -601,6 +614,7 @@ public:\n simdjson_really_inline operator SIMDJSON_IMPLEMENTATION::ondemand::value() noexcept(false);\n #endif\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) & noexcept;\n simdjson_really_inline simdjson_result begin() & noexcept;\n simdjson_really_inline simdjson_result end() & noexcept;\n@@ -659,6 +673,7 @@ public:\n simdjson_really_inline operator SIMDJSON_IMPLEMENTATION::ondemand::value() noexcept(false);\n #endif\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) & noexcept;\n simdjson_really_inline simdjson_result begin() & noexcept;\n simdjson_really_inline simdjson_result end() & noexcept;\ndiff --git a/include/simdjson/generic/ondemand/object-inl.h b/include/simdjson/generic/ondemand/object-inl.h\nindex aa788a6b..37533abc 100644\n--- a/include/simdjson/generic/ondemand/object-inl.h\n+++ b/include/simdjson/generic/ondemand/object-inl.h\n@@ -140,6 +140,14 @@ inline simdjson_result object::at_pointer(std::string_view json_pointer)\n }\n \n \n+simdjson_really_inline simdjson_result object::count_fields() & noexcept {\n+ size_t count{0};\n+ for(simdjson_unused auto v : *this) { count++; }\n+ if(iter.error()) { return iter.error(); }\n+ iter.reset_object();\n+ return count;\n+}\n+\n simdjson_really_inline simdjson_result object::is_empty() & noexcept {\n bool is_not_empty;\n auto error = iter.reset_object().get(is_not_empty);\n@@ -210,4 +218,9 @@ inline simdjson_result simdjson_result simdjson_result::count_fields() noexcept {\n+ if (error()) { return error(); }\n+ return first.count_fields();\n+}\n+\n } // namespace simdjson\ndiff --git a/include/simdjson/generic/ondemand/object.h b/include/simdjson/generic/ondemand/object.h\nindex bac28867..2870b643 100644\n--- a/include/simdjson/generic/ondemand/object.h\n+++ b/include/simdjson/generic/ondemand/object.h\n@@ -120,6 +120,21 @@ public:\n * @returns true if the object contains some elements (not empty)\n */\n inline simdjson_result reset() & noexcept;\n+ /**\n+ * This method scans the object and counts the number of fields.\n+ * The count_fields method should always be called before you have begun\n+ * iterating through the object: it is expected that you are pointing at\n+ * the beginning of the object.\n+ * The runtime complexity is linear in the size of the object. After\n+ * calling this function, if successful, the object is 'rewinded' at its\n+ * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n+ * there is a missing comma), then an error is returned and it is no longer\n+ * safe to continue.\n+ *\n+ * To check that an object is empty, it is more performant to use\n+ * the is_empty() method.\n+ */\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n /**\n * This method scans the beginning of the object and checks whether the\n * object is empty.\n@@ -181,6 +196,7 @@ public:\n simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n inline simdjson_result reset() noexcept;\n inline simdjson_result is_empty() noexcept;\n+ inline simdjson_result count_fields() noexcept;\n \n };\n \ndiff --git a/include/simdjson/generic/ondemand/value-inl.h b/include/simdjson/generic/ondemand/value-inl.h\nindex 520e3fe1..e36a5c2b 100644\n--- a/include/simdjson/generic/ondemand/value-inl.h\n+++ b/include/simdjson/generic/ondemand/value-inl.h\n@@ -114,6 +114,16 @@ simdjson_really_inline simdjson_result value::count_elements() & noexcep\n iter.move_at_start();\n return answer;\n }\n+simdjson_really_inline simdjson_result value::count_fields() & noexcept {\n+ simdjson_result answer;\n+ auto o = get_object();\n+ answer = o.count_fields();\n+ // count_fields leaves you pointing inside the object, at the first field.\n+ // We need to move back so that the user can create a new object (which requires that\n+ // we point at '{').\n+ iter.move_at_start();\n+ return answer;\n+}\n simdjson_really_inline simdjson_result value::at(size_t index) noexcept {\n auto a = get_array();\n return a.at(index);\n@@ -204,6 +214,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept {\n+ if (error()) { return error(); }\n+ return first.count_fields();\n+}\n simdjson_really_inline simdjson_result simdjson_result::at(size_t index) noexcept {\n if (error()) { return error(); }\n return first.at(index);\ndiff --git a/include/simdjson/generic/ondemand/value.h b/include/simdjson/generic/ondemand/value.h\nindex a0d07e43..8e90eb56 100644\n--- a/include/simdjson/generic/ondemand/value.h\n+++ b/include/simdjson/generic/ondemand/value.h\n@@ -244,6 +244,18 @@ public:\n * safe to continue.\n */\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ /**\n+ * This method scans the object and counts the number of fields.\n+ * The count_fields method should always be called before you have begun\n+ * iterating through the object: it is expected that you are pointing at\n+ * the beginning of the object.\n+ * The runtime complexity is linear in the size of the object. After\n+ * calling this function, if successful, the object is 'rewinded' at its\n+ * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n+ * there is a missing comma), then an error is returned and it is no longer\n+ * safe to continue.\n+ */\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n /**\n * Get the value at the given index in the array. This function has linear-time complexity.\n * This function should only be called once as the array iterator is not reset between each call.\n@@ -535,6 +547,7 @@ public:\n simdjson_really_inline operator bool() noexcept(false);\n #endif\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) noexcept;\n simdjson_really_inline simdjson_result begin() & noexcept;\n simdjson_really_inline simdjson_result end() & noexcept;\ndiff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex b84ac74b..51f130ea 100644\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on 2021-08-06 20:25:05 -0400. Do not edit! */\n+/* auto-generated on 2026-07-03 00:03:12 +0000. Do not edit! */\n /* begin file src/simdjson.cpp */\n #include \"simdjson.h\"\n \n@@ -1587,7 +1587,9 @@ namespace internal {\n { PARSER_IN_USE, \"Cannot parse a new document while a document is still in use.\" },\n { OUT_OF_ORDER_ITERATION, \"Objects and arrays can only be iterated when they are first encountered.\" },\n { INSUFFICIENT_PADDING, \"simdjson requires the input JSON string to have at least SIMDJSON_PADDING extra bytes allocated, beyond the string's length. Consider using the simdjson::padded_string class if needed.\" },\n- { INCOMPLETE_ARRAY_OR_OBJECT, \"JSON document ended early in the middle of an object or array.\" }\n+ { INCOMPLETE_ARRAY_OR_OBJECT, \"JSON document ended early in the middle of an object or array.\" },\n+ { SCALAR_DOCUMENT_AS_VALUE, \"A JSON document made of a scalar (number, Boolean, null or string) is treated as a value. Use get_bool(), get_double(), etc. on the document instead. \"},\n+ { OUT_OF_BOUNDS, \"Attempted to access location outside of document.\"}\n }; // error_messages[]\n \n } // namespace internal\ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex fc114bdb..e5a088dc 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -1,4 +1,4 @@\n-/* auto-generated on 2021-08-06 20:25:05 -0400. Do not edit! */\n+/* auto-generated on 2026-07-03 00:03:12 +0000. Do not edit! */\n /* begin file include/simdjson.h */\n #ifndef SIMDJSON_H\n #define SIMDJSON_H\n@@ -2250,6 +2250,8 @@ enum error_code {\n OUT_OF_ORDER_ITERATION, ///< tried to iterate an array or object out of order\n INSUFFICIENT_PADDING, ///< The JSON doesn't have enough padding for simdjson to safely parse it.\n INCOMPLETE_ARRAY_OR_OBJECT, ///< The document ends early.\n+ SCALAR_DOCUMENT_AS_VALUE, ///< A scalar document is treated as a value.\n+ OUT_OF_BOUNDS, ///< Attempted to access location outside of document.\n NUM_ERROR_CODES\n };\n \n@@ -6333,7 +6335,7 @@ dom::parser build_parsed_json(const char *buf) noexcept = delete;\n \n #include \n #include \n-#include \n+#include \n #include \n #include \n #include \n@@ -6343,7 +6345,7 @@ dom::parser build_parsed_json(const char *buf) noexcept = delete;\n #define SIMDJSON_INTERNAL_JSONFORMATUTILS_H\n \n #include \n-#include \n+#include \n #include \n \n namespace simdjson {\n@@ -11131,7 +11133,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; }\n-\n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; }\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; }\n #else\n \n // parse the number at src\n@@ -11645,6 +11648,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n return d;\n }\n \n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept {\n+ return (*src == '-');\n+}\n+\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept {\n+ bool negative = (*src == '-');\n+ src += negative;\n+ const uint8_t *p = src;\n+ while(static_cast(*p - '0') <= 9) { p++; }\n+ if ( p == src ) { return NUMBER_ERROR; }\n+ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; }\n+ return false;\n+}\n \n // Never read at src_end or beyond\n simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept {\n@@ -12916,7 +12932,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; }\n-\n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; }\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; }\n #else\n \n // parse the number at src\n@@ -13430,6 +13447,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n return d;\n }\n \n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept {\n+ return (*src == '-');\n+}\n+\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept {\n+ bool negative = (*src == '-');\n+ src += negative;\n+ const uint8_t *p = src;\n+ while(static_cast(*p - '0') <= 9) { p++; }\n+ if ( p == src ) { return NUMBER_ERROR; }\n+ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; }\n+ return false;\n+}\n \n // Never read at src_end or beyond\n simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept {\n@@ -15185,7 +15215,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; }\n-\n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; }\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; }\n #else\n \n // parse the number at src\n@@ -15699,6 +15730,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n return d;\n }\n \n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept {\n+ return (*src == '-');\n+}\n+\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept {\n+ bool negative = (*src == '-');\n+ src += negative;\n+ const uint8_t *p = src;\n+ while(static_cast(*p - '0') <= 9) { p++; }\n+ if ( p == src ) { return NUMBER_ERROR; }\n+ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; }\n+ return false;\n+}\n \n // Never read at src_end or beyond\n simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept {\n@@ -17553,7 +17597,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; }\n-\n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; }\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; }\n #else\n \n // parse the number at src\n@@ -18067,6 +18112,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n return d;\n }\n \n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept {\n+ return (*src == '-');\n+}\n+\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept {\n+ bool negative = (*src == '-');\n+ src += negative;\n+ const uint8_t *p = src;\n+ while(static_cast(*p - '0') <= 9) { p++; }\n+ if ( p == src ) { return NUMBER_ERROR; }\n+ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; }\n+ return false;\n+}\n \n // Never read at src_end or beyond\n simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept {\n@@ -19779,7 +19837,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; }\n simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; }\n-\n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; }\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; }\n #else\n \n // parse the number at src\n@@ -20293,6 +20352,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons\n return d;\n }\n \n+simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept {\n+ return (*src == '-');\n+}\n+\n+simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept {\n+ bool negative = (*src == '-');\n+ src += negative;\n+ const uint8_t *p = src;\n+ while(static_cast(*p - '0') <= 9) { p++; }\n+ if ( p == src ) { return NUMBER_ERROR; }\n+ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; }\n+ return false;\n+}\n \n // Never read at src_end or beyond\n simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept {\n@@ -20650,7 +20722,6 @@ using depth_t = int32_t;\n namespace simdjson {\n namespace SIMDJSON_BUILTIN_IMPLEMENTATION {\n namespace ondemand {\n-\n /**\n * The type of a JSON value.\n */\n@@ -20664,6 +20735,109 @@ enum class json_type {\n null ///< A JSON null (null)\n };\n \n+/**\n+ * The type of a JSON number\n+ */\n+enum class number_type {\n+ floating_point_number=1, /// a binary64 number\n+ signed_integer, /// a signed integer that fits in a 64-bit word using two's complement\n+ unsigned_integer /// a positive integer larger or equal to 1<<63\n+};\n+\n+class value_iterator;\n+\n+/**\n+ * A type representing a JSON number.\n+ * The design of the struct is deliberately straight-forward. All\n+ * functions return standard values with no error check.\n+ */\n+struct number {\n+\n+ /**\n+ * return the automatically determined type of\n+ * the number: number_type::floating_point_number,\n+ * number_type::signed_integer or number_type::unsigned_integer.\n+ */\n+ simdjson_really_inline number_type get_number_type() const noexcept;\n+ /**\n+ * return true if the automatically determined type of\n+ * the number is number_type::unsigned_integer.\n+ */\n+ simdjson_really_inline bool is_uint64() const noexcept;\n+ /**\n+ * return the value as a uint64_t, only valid if is_uint64() is true.\n+ */\n+ simdjson_really_inline uint64_t get_uint64() const noexcept;\n+ simdjson_really_inline operator uint64_t() const noexcept;\n+\n+ /**\n+ * return true if the automatically determined type of\n+ * the number is number_type::signed_integer.\n+ */\n+ simdjson_really_inline bool is_int64() const noexcept;\n+ /**\n+ * return the value as a int64_t, only valid if is_int64() is true.\n+ */\n+ simdjson_really_inline int64_t get_int64() const noexcept;\n+ simdjson_really_inline operator int64_t() const noexcept;\n+\n+\n+ /**\n+ * return true if the automatically determined type of\n+ * the number is number_type::floating_point_number.\n+ */\n+ simdjson_really_inline bool is_double() const noexcept;\n+ /**\n+ * return the value as a double, only valid if is_double() is true.\n+ */\n+ simdjson_really_inline double get_double() const noexcept;\n+ simdjson_really_inline operator double() const noexcept;\n+\n+ /**\n+ * Convert the number to a double. Though it always succeed, the conversion\n+ * may be lossy if the number cannot be represented exactly.\n+ */\n+ simdjson_really_inline double as_double() const noexcept;\n+\n+\n+protected:\n+ /**\n+ * The next block of declaration is designed so that we can call the number parsing\n+ * functions on a number type. They are protected and should never be used outside\n+ * of the core simdjson library.\n+ */\n+ friend class value_iterator;\n+ template\n+ friend error_code numberparsing::write_float(const uint8_t *const src, bool negative, uint64_t i, const uint8_t * start_digits, size_t digit_count, int64_t exponent, W &writer);\n+ template\n+ friend error_code numberparsing::parse_number(const uint8_t *const src, W &writer);\n+ template\n+ friend error_code numberparsing::slow_float_parsing(simdjson_unused const uint8_t * src, W writer);\n+ /** Store a signed 64-bit value to the number. */\n+ simdjson_really_inline void append_s64(int64_t value) noexcept;\n+ /** Store an unsigned 64-bit value to the number. */\n+ simdjson_really_inline void append_u64(uint64_t value) noexcept;\n+ /** Store a double value to the number. */\n+ simdjson_really_inline void append_double(double value) noexcept;\n+ /** Specifies that the value is a double, but leave it undefined. */\n+ simdjson_really_inline void skip_double() noexcept;\n+ /**\n+ * End of friend declarations.\n+ */\n+\n+ /**\n+ * Our attributes are a union type (size = 64 bits)\n+ * followed by a type indicator.\n+ */\n+ union {\n+ double floating_point_number;\n+ int64_t signed_integer;\n+ uint64_t unsigned_integer;\n+ } payload{0};\n+ number_type type{number_type::signed_integer};\n+ friend class value_iterator;\n+};\n+\n /**\n * Write the JSON type to the output stream\n *\n@@ -20671,6 +20845,7 @@ enum class json_type {\n * @param type The json_type.\n */\n inline std::ostream& operator<<(std::ostream& out, json_type type) noexcept;\n+inline std::ostream& operator<<(std::ostream& out, number_type type) noexcept;\n \n #if SIMDJSON_EXCEPTIONS\n /**\n@@ -21183,9 +21358,12 @@ public:\n * Get the root value iterator\n */\n simdjson_really_inline token_position root_position() const noexcept;\n-\n /**\n- * Assert if the iterator is not at the start\n+ * Assert that we are at the document depth (== 1)\n+ */\n+ simdjson_really_inline void assert_at_document_depth() const noexcept;\n+ /**\n+ * Assert that we are at the root of the document\n */\n simdjson_really_inline void assert_at_root() const noexcept;\n \n@@ -21308,7 +21486,7 @@ public:\n simdjson_really_inline uint8_t *&string_buf_loc() noexcept;\n \n /**\n- * Report an error, preventing further iteration.\n+ * Report an unrecoverable error, preventing further iteration.\n *\n * @param error The error to report. Must not be SUCCESS, UNINITIALIZED, INCORRECT_TYPE, or NO_SUCH_FIELD.\n * @param message An error message to report with the error.\n@@ -21332,6 +21510,12 @@ public:\n #endif\n /* Useful for debugging and logging purposes. */\n inline std::string to_string() const noexcept;\n+\n+ /**\n+ * Returns the current location in the document if in bounds.\n+ */\n+ inline simdjson_result current_location() noexcept;\n+\n /**\n * Updates this json iterator so that it is back at the beginning of the document,\n * as if it had just been created.\n@@ -21668,6 +21852,9 @@ public:\n simdjson_warn_unused simdjson_really_inline simdjson_result get_double_in_string() noexcept;\n simdjson_warn_unused simdjson_really_inline simdjson_result get_bool() noexcept;\n simdjson_really_inline bool is_null() noexcept;\n+ simdjson_warn_unused simdjson_really_inline bool is_negative() noexcept;\n+ simdjson_warn_unused simdjson_really_inline simdjson_result is_integer() noexcept;\n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_number() noexcept;\n \n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_string() noexcept;\n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_raw_json_string() noexcept;\n@@ -21678,6 +21865,9 @@ public:\n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_double() noexcept;\n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_double_in_string() noexcept;\n simdjson_warn_unused simdjson_really_inline simdjson_result get_root_bool() noexcept;\n+ simdjson_warn_unused simdjson_really_inline bool is_root_negative() noexcept;\n+ simdjson_warn_unused simdjson_really_inline simdjson_result is_root_integer() noexcept;\n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_root_number() noexcept;\n simdjson_really_inline bool is_root_null() noexcept;\n \n simdjson_really_inline error_code error() const noexcept;\n@@ -22044,9 +22234,32 @@ public:\n * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n * there is a missing comma), then an error is returned and it is no longer\n * safe to continue.\n+ *\n+ * To check that an array is empty, it is more performant to use\n+ * the is_empty() method.\n */\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n-\n+ /**\n+ * This method scans the beginning of the array and checks whether the\n+ * array is empty.\n+ * The runtime complexity is constant time. After\n+ * calling this function, if successful, the array is 'rewinded' at its\n+ * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n+ * there is a missing comma), then an error is returned and it is no longer\n+ * safe to continue.\n+ */\n+ simdjson_really_inline simdjson_result is_empty() & noexcept;\n+ /**\n+ * Reset the iterator so that we are pointing back at the\n+ * beginning of the array. You should still consume values only once even if you\n+ * can iterate through the array more than once. If you unescape a string\n+ * within the array more than once, you have unsafe code. Note that rewinding\n+ * an array means that you may need to reparse it anew: it is not a free\n+ * operation.\n+ *\n+ * @returns true if the array contains some elements (not empty)\n+ */\n+ inline simdjson_result reset() & noexcept;\n /**\n * Get the value associated with the given JSON pointer. We use the RFC 6901\n * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node\n@@ -22082,6 +22295,14 @@ public:\n */\n simdjson_really_inline simdjson_result raw_json() noexcept;\n \n+ /**\n+ * Get the value at the given index. This function has linear-time complexity.\n+ * This function should only be called once as the array iterator is not reset between each call.\n+ *\n+ * @return The value at the given index, or:\n+ * - INDEX_OUT_OF_BOUNDS if the array index is larger than an array length\n+ */\n+ simdjson_really_inline simdjson_result at(size_t index) noexcept;\n protected:\n /**\n * Go to the end of the array, no matter where you are right now.\n@@ -22124,15 +22345,6 @@ protected:\n */\n simdjson_really_inline array(const value_iterator &iter) noexcept;\n \n- /**\n- * Get the value at the given index. This function has linear-time complexity.\n- * This function should only be called once as the array iterator is not reset between each call.\n- *\n- * @return The value at the given index, or:\n- * - INDEX_OUT_OF_BOUNDS if the array index is larger than an array length\n- */\n- simdjson_really_inline simdjson_result at(size_t index) noexcept;\n-\n /**\n * Iterator marking current position.\n *\n@@ -22162,7 +22374,9 @@ public:\n \n simdjson_really_inline simdjson_result begin() noexcept;\n simdjson_really_inline simdjson_result end() noexcept;\n- simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ inline simdjson_result count_elements() & noexcept;\n+ inline simdjson_result is_empty() & noexcept;\n+ inline simdjson_result reset() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) noexcept;\n simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n };\n@@ -22286,6 +22500,14 @@ public:\n * @returns INCORRECT_TYPE if the JSON value is not true or false.\n */\n simdjson_really_inline simdjson_result get_bool() noexcept;\n+ /**\n+ * Cast this JSON value to a value when the document is an object or an array.\n+ *\n+ * @returns A value if a JSON array or object cannot be found.\n+ * @returns SCALAR_DOCUMENT_AS_VALUE error is the document is a scalar (see is_scalar() function).\n+ */\n+ simdjson_really_inline simdjson_result get_value() noexcept;\n+\n /**\n * Checks if this JSON value is null.\n *\n@@ -22319,7 +22541,9 @@ public:\n /**\n * Get this value as the given type.\n *\n- * Supported types: object, array, raw_json_string, string_view, uint64_t, int64_t, double, bool\n+ * Supported types: object, array, raw_json_string, string_view, uint64_t, int64_t, double, bool, value\n+ *\n+ * Be mindful that the document instance must remain in scope while you are accessing object, array and value instances.\n *\n * @param out This is set to a value of the given type, parsed from the JSON. If there is an error, this may not be initialized.\n * @returns INCORRECT_TYPE If the JSON value is not an object.\n@@ -22391,6 +22615,13 @@ public:\n * @exception simdjson_error(INCORRECT_TYPE) if the JSON value is not true or false.\n */\n simdjson_really_inline operator bool() noexcept(false);\n+ /**\n+ * Cast this JSON value to a value.\n+ *\n+ * @returns A value value.\n+ * @exception if a JSON value cannot be found\n+ */\n+ simdjson_really_inline operator value() noexcept(false);\n #endif\n /**\n * This method scans the array and counts the number of elements.\n@@ -22404,6 +22635,18 @@ public:\n * safe to continue.\n */\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ /**\n+ * This method scans the object and counts the number of fields.\n+ * The count_fields method should always be called before you have begun\n+ * iterating through the object: it is expected that you are pointing at\n+ * the beginning of the object.\n+ * The runtime complexity is linear in the size of the object. After\n+ * calling this function, if successful, the object is 'rewinded' at its\n+ * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n+ * there is a missing comma), then an error is returned and it is no longer\n+ * safe to continue.\n+ */\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n /**\n * Get the value at the given index in the array. This function has linear-time complexity.\n * This function should only be called once as the array iterator is not reset between each call.\n@@ -22487,6 +22730,59 @@ public:\n */\n simdjson_really_inline simdjson_result type() noexcept;\n \n+ /**\n+ * Checks whether the document is a scalar (string, number, null, Boolean).\n+ * Returns false when there it is an array or object.\n+ *\n+ * @returns true if the type is string, number, null, Boolean\n+ * @error TAPE_ERROR when the JSON value is a bad token like \"}\" \",\" or \"alse\".\n+ */\n+ simdjson_really_inline simdjson_result is_scalar() noexcept;\n+\n+ /**\n+ * Checks whether the document is a negative number.\n+ *\n+ * @returns true if the number if negative.\n+ */\n+ simdjson_really_inline bool is_negative() noexcept;\n+ /**\n+ * Checks whether the document is an integer number. Note that\n+ * this requires to partially parse the number string. If\n+ * the value is determined to be an integer, it may still\n+ * not parse properly as an integer in subsequent steps\n+ * (e.g., it might overflow).\n+ *\n+ * @returns true if the number if negative.\n+ */\n+ simdjson_really_inline simdjson_result is_integer() noexcept;\n+ /**\n+ * Attempt to parse an ondemand::number. An ondemand::number may\n+ * contain an integer value or a floating-point value, the simdjson\n+ * library will autodetect the type. Thus it is a dynamically typed\n+ * number. Before accessing the value, you must determine the detected\n+ * type.\n+ *\n+ * number.get_number_type() is number_type::signed_integer if we have\n+ * a integer in [-9223372036854775808,9223372036854775808)\n+ * You can recover the value by calling number.get_int64() and you\n+ * have that number.is_int64() is true.\n+ *\n+ * number.get_number_type() is number_type::unsigned_integer if we have\n+ * an integer in [9223372036854775808,18446744073709551616)\n+ * You can recover the value by calling number.get_uint64() and you\n+ * have that number.is_uint64() is true.\n+ *\n+ * Otherwise, number.get_number_type() has value number_type::floating_point_number\n+ * and we have a binary64 number.\n+ * You can recover the value by calling number.get_double() and you\n+ * have that number.is_double() is true.\n+ *\n+ * You must check the type before accessing the value: it is an error\n+ * to call \"get_int64()\" when number.get_number_type() is not\n+ * number_type::signed_integer and when number.is_int64() is false.\n+ */\n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_number() noexcept;\n+\n /**\n * Get the raw JSON for this token.\n *\n@@ -22521,6 +22817,16 @@ public:\n * Returns debugging information.\n */\n inline std::string to_debug_string() noexcept;\n+ /**\n+ * Some unrecoverable error conditions may render the document instance unusable.\n+ * The is_alive() method returns true when the document is still suitable.\n+ */\n+ inline bool is_alive() noexcept;\n+\n+ /**\n+ * Returns the current location in the document if in bounds.\n+ */\n+ inline simdjson_result current_location() noexcept;\n \n /**\n * Get the value associated with the given JSON pointer. We use the RFC 6901\n@@ -22551,6 +22857,7 @@ public:\n * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n * - INCORRECT_TYPE if a non-integer is used to access an array\n * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n+ * - SCALAR_DOCUMENT_AS_VALUE if the json_pointer is empty and the document is not a scalar (see is_scalar() function).\n */\n simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n /**\n@@ -22570,7 +22877,6 @@ protected:\n \n simdjson_really_inline value_iterator resume_value_iterator() noexcept;\n simdjson_really_inline value_iterator get_root_value_iterator() noexcept;\n- simdjson_really_inline simdjson_result get_value_unsafe() noexcept;\n simdjson_really_inline simdjson_result start_or_resume_object() noexcept;\n static simdjson_really_inline document start(ondemand::json_iterator &&iter) noexcept;\n \n@@ -22608,6 +22914,8 @@ public:\n simdjson_really_inline simdjson_result get_string() noexcept;\n simdjson_really_inline simdjson_result get_raw_json_string() noexcept;\n simdjson_really_inline simdjson_result get_bool() noexcept;\n+ simdjson_really_inline simdjson_result get_value() noexcept;\n+\n simdjson_really_inline bool is_null() noexcept;\n simdjson_really_inline simdjson_result raw_json() noexcept;\n simdjson_really_inline operator document&() const noexcept;\n@@ -22621,8 +22929,10 @@ public:\n simdjson_really_inline operator std::string_view() noexcept(false);\n simdjson_really_inline operator raw_json_string() noexcept(false);\n simdjson_really_inline operator bool() noexcept(false);\n+ simdjson_really_inline operator value() noexcept(false);\n #endif\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) & noexcept;\n simdjson_really_inline simdjson_result begin() & noexcept;\n simdjson_really_inline simdjson_result end() & noexcept;\n@@ -22634,6 +22944,12 @@ public:\n simdjson_really_inline simdjson_result find_field_unordered(const char *key) & noexcept;\n \n simdjson_really_inline simdjson_result type() noexcept;\n+ simdjson_really_inline simdjson_result is_scalar() noexcept;\n+\n+ simdjson_really_inline simdjson_result current_location() noexcept;\n+ simdjson_really_inline bool is_negative() noexcept;\n+ simdjson_really_inline simdjson_result is_integer() noexcept;\n+ simdjson_really_inline simdjson_result get_number() noexcept;\n simdjson_really_inline simdjson_result raw_json_token() noexcept;\n simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n private:\n@@ -22662,6 +22978,7 @@ public:\n simdjson_really_inline simdjson_result get_string() noexcept;\n simdjson_really_inline simdjson_result get_raw_json_string() noexcept;\n simdjson_really_inline simdjson_result get_bool() noexcept;\n+ simdjson_really_inline simdjson_result get_value() noexcept;\n simdjson_really_inline bool is_null() noexcept;\n \n template simdjson_really_inline simdjson_result get() & noexcept;\n@@ -22679,8 +22996,10 @@ public:\n simdjson_really_inline operator std::string_view() noexcept(false);\n simdjson_really_inline operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::raw_json_string() noexcept(false);\n simdjson_really_inline operator bool() noexcept(false);\n+ simdjson_really_inline operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::value() noexcept(false);\n #endif\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) & noexcept;\n simdjson_really_inline simdjson_result begin() & noexcept;\n simdjson_really_inline simdjson_result end() & noexcept;\n@@ -22690,9 +23009,12 @@ public:\n simdjson_really_inline simdjson_result operator[](const char *key) & noexcept;\n simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept;\n simdjson_really_inline simdjson_result find_field_unordered(const char *key) & noexcept;\n-\n simdjson_really_inline simdjson_result type() noexcept;\n-\n+ simdjson_really_inline simdjson_result is_scalar() noexcept;\n+ simdjson_really_inline simdjson_result current_location() noexcept;\n+ simdjson_really_inline bool is_negative() noexcept;\n+ simdjson_really_inline simdjson_result is_integer() noexcept;\n+ simdjson_really_inline simdjson_result get_number() noexcept;\n /** @copydoc simdjson_really_inline std::string_view document::raw_json_token() const noexcept */\n simdjson_really_inline simdjson_result raw_json_token() noexcept;\n \n@@ -22721,6 +23043,7 @@ public:\n simdjson_really_inline simdjson_result get_string() noexcept;\n simdjson_really_inline simdjson_result get_raw_json_string() noexcept;\n simdjson_really_inline simdjson_result get_bool() noexcept;\n+ simdjson_really_inline simdjson_result get_value() noexcept;\n simdjson_really_inline bool is_null() noexcept;\n \n #if SIMDJSON_EXCEPTIONS\n@@ -22732,8 +23055,10 @@ public:\n simdjson_really_inline operator std::string_view() noexcept(false);\n simdjson_really_inline operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::raw_json_string() noexcept(false);\n simdjson_really_inline operator bool() noexcept(false);\n+ simdjson_really_inline operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::value() noexcept(false);\n #endif\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) & noexcept;\n simdjson_really_inline simdjson_result begin() & noexcept;\n simdjson_really_inline simdjson_result end() & noexcept;\n@@ -22743,9 +23068,12 @@ public:\n simdjson_really_inline simdjson_result operator[](const char *key) & noexcept;\n simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept;\n simdjson_really_inline simdjson_result find_field_unordered(const char *key) & noexcept;\n-\n simdjson_really_inline simdjson_result type() noexcept;\n-\n+ simdjson_really_inline simdjson_result is_scalar() noexcept;\n+ simdjson_really_inline simdjson_result current_location() noexcept;\n+ simdjson_really_inline bool is_negative() noexcept;\n+ simdjson_really_inline simdjson_result is_integer() noexcept;\n+ simdjson_really_inline simdjson_result get_number() noexcept;\n /** @copydoc simdjson_really_inline std::string_view document_reference::raw_json_token() const noexcept */\n simdjson_really_inline simdjson_result raw_json_token() noexcept;\n \n@@ -23001,6 +23329,18 @@ public:\n * safe to continue.\n */\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ /**\n+ * This method scans the object and counts the number of fields.\n+ * The count_fields method should always be called before you have begun\n+ * iterating through the object: it is expected that you are pointing at\n+ * the beginning of the object.\n+ * The runtime complexity is linear in the size of the object. After\n+ * calling this function, if successful, the object is 'rewinded' at its\n+ * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n+ * there is a missing comma), then an error is returned and it is no longer\n+ * safe to continue.\n+ */\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n /**\n * Get the value at the given index in the array. This function has linear-time complexity.\n * This function should only be called once as the array iterator is not reset between each call.\n@@ -23078,6 +23418,68 @@ public:\n */\n simdjson_really_inline simdjson_result type() noexcept;\n \n+ /**\n+ * Checks whether the value is a scalar (string, number, null, Boolean).\n+ * Returns false when there it is an array or object.\n+ *\n+ * @returns true if the type is string, number, null, Boolean\n+ * @error TAPE_ERROR when the JSON value is a bad token like \"}\" \",\" or \"alse\".\n+ */\n+ simdjson_really_inline simdjson_result is_scalar() noexcept;\n+\n+ /**\n+ * Checks whether the value is a negative number.\n+ *\n+ * @returns true if the number if negative.\n+ */\n+ simdjson_really_inline bool is_negative() noexcept;\n+ /**\n+ * Checks whether the value is an integer number. Note that\n+ * this requires to partially parse the number string. If\n+ * the value is determined to be an integer, it may still\n+ * not parse properly as an integer in subsequent steps\n+ * (e.g., it might overflow).\n+ *\n+ * Performance note: if you call this function systematically\n+ * before parsing a number, you may have fallen for a performance\n+ * anti-pattern.\n+ *\n+ * @returns true if the number if negative.\n+ */\n+ simdjson_really_inline simdjson_result is_integer() noexcept;\n+ /**\n+ * Attempt to parse an ondemand::number. An ondemand::number may\n+ * contain an integer value or a floating-point value, the simdjson\n+ * library will autodetect the type. Thus it is a dynamically typed\n+ * number. Before accessing the value, you must determine the detected\n+ * type.\n+ *\n+ * number.get_number_type() is number_type::signed_integer if we have\n+ * a integer in [-9223372036854775808,9223372036854775808)\n+ * You can recover the value by calling number.get_int64() and you\n+ * have that number.is_int64() is true.\n+ *\n+ * number.get_number_type() is number_type::unsigned_integer if we have\n+ * an integer in [9223372036854775808,18446744073709551616)\n+ * You can recover the value by calling number.get_uint64() and you\n+ * have that number.is_uint64() is true.\n+ *\n+ * Otherwise, number.get_number_type() has value number_type::floating_point_number\n+ * and we have a binary64 number.\n+ * You can recover the value by calling number.get_double() and you\n+ * have that number.is_double() is true.\n+ *\n+ * You must check the type before accessing the value: it is an error\n+ * to call \"get_int64()\" when number.get_number_type() is not\n+ * number_type::signed_integer and when number.is_int64() is false.\n+ *\n+ * Performance note: this is designed with performance in mind. When\n+ * calling 'get_number()', you scan the number string only once, determining\n+ * efficiently the type and storing it in an efficient manner.\n+ */\n+ simdjson_warn_unused simdjson_really_inline simdjson_result get_number() noexcept;\n+\n+\n /**\n * Get the raw JSON for this token.\n *\n@@ -23230,6 +23632,7 @@ public:\n simdjson_really_inline operator bool() noexcept(false);\n #endif\n simdjson_really_inline simdjson_result count_elements() & noexcept;\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n simdjson_really_inline simdjson_result at(size_t index) noexcept;\n simdjson_really_inline simdjson_result begin() & noexcept;\n simdjson_really_inline simdjson_result end() & noexcept;\n@@ -23293,6 +23696,10 @@ public:\n * let it throw an exception).\n */\n simdjson_really_inline simdjson_result type() noexcept;\n+ simdjson_really_inline simdjson_result is_scalar() noexcept;\n+ simdjson_really_inline simdjson_result is_negative() noexcept;\n+ simdjson_really_inline simdjson_result is_integer() noexcept;\n+ simdjson_really_inline simdjson_result get_number() noexcept;\n \n /** @copydoc simdjson_really_inline std::string_view value::raw_json_token() const noexcept */\n simdjson_really_inline simdjson_result raw_json_token() noexcept;\n@@ -23487,6 +23894,41 @@ public:\n */\n inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n \n+ /**\n+ * Reset the iterator so that we are pointing back at the\n+ * beginning of the object. You should still consume values only once even if you\n+ * can iterate through the object more than once. If you unescape a string within\n+ * the object more than once, you have unsafe code. Note that rewinding an object\n+ * means that you may need to reparse it anew: it is not a free operation.\n+ *\n+ * @returns true if the object contains some elements (not empty)\n+ */\n+ inline simdjson_result reset() & noexcept;\n+ /**\n+ * This method scans the object and counts the number of fields.\n+ * The count_fields method should always be called before you have begun\n+ * iterating through the object: it is expected that you are pointing at\n+ * the beginning of the object.\n+ * The runtime complexity is linear in the size of the object. After\n+ * calling this function, if successful, the object is 'rewinded' at its\n+ * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n+ * there is a missing comma), then an error is returned and it is no longer\n+ * safe to continue.\n+ *\n+ * To check that an object is empty, it is more performant to use\n+ * the is_empty() method.\n+ */\n+ simdjson_really_inline simdjson_result count_fields() & noexcept;\n+ /**\n+ * This method scans the beginning of the object and checks whether the\n+ * object is empty.\n+ * The runtime complexity is constant time. After\n+ * calling this function, if successful, the object is 'rewinded' at its\n+ * beginning as if it had never been accessed. If the JSON is malformed (e.g.,\n+ * there is a missing comma), then an error is returned and it is no longer\n+ * safe to continue.\n+ */\n+ inline simdjson_result is_empty() & noexcept;\n /**\n * Consumes the object and returns a string_view instance corresponding to the\n * object as represented in JSON. It points inside the original byte array containg\n@@ -23536,6 +23978,10 @@ public:\n simdjson_really_inline simdjson_result operator[](std::string_view key) & noexcept;\n simdjson_really_inline simdjson_result operator[](std::string_view key) && noexcept;\n simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept;\n+ inline simdjson_result reset() noexcept;\n+ inline simdjson_result is_empty() noexcept;\n+ inline simdjson_result count_fields() noexcept;\n+\n };\n \n } // namespace simdjson\n@@ -23665,6 +24111,9 @@ public:\n * iteration to ensure intermediate buffers can be accessed. Any document must be destroyed before\n * you call parse() again or destroy the parser.\n *\n+ * The ondemand::document instance holds the iterator. The document must remain in scope\n+ * while you are accessing instances of ondemand::value, ondemand::object, ondemand::array.\n+ *\n * ### REQUIRED: Buffer Padding\n *\n * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n@@ -24330,12 +24779,93 @@ inline std::ostream& operator<<(std::ostream& out, json_type type) noexcept {\n return out;\n }\n \n+inline std::ostream& operator<<(std::ostream& out, number_type type) noexcept {\n+ switch (type) {\n+ case number_type::signed_integer: out << \"integer in [-9223372036854775808,9223372036854775808)\"; break;\n+ case number_type::unsigned_integer: out << \"unsigned integer in [9223372036854775808,18446744073709551616)\"; break;\n+ case number_type::floating_point_number: out << \"floating-point number (binary64)\"; break;\n+ default: SIMDJSON_UNREACHABLE();\n+ }\n+ return out;\n+}\n #if SIMDJSON_EXCEPTIONS\n inline std::ostream& operator<<(std::ostream& out, simdjson_result &type) noexcept(false) {\n return out << type.value();\n }\n #endif\n \n+\n+\n+simdjson_really_inline number_type number::get_number_type() const noexcept {\n+ return type;\n+}\n+\n+simdjson_really_inline bool number::is_uint64() const noexcept {\n+ return get_number_type() == number_type::unsigned_integer;\n+}\n+\n+simdjson_really_inline uint64_t number::get_uint64() const noexcept {\n+ return payload.unsigned_integer;\n+}\n+\n+simdjson_really_inline number::operator uint64_t() const noexcept {\n+ return get_uint64();\n+}\n+\n+\n+simdjson_really_inline bool number::is_int64() const noexcept {\n+ return get_number_type() == number_type::signed_integer;\n+}\n+\n+simdjson_really_inline int64_t number::get_int64() const noexcept {\n+ return payload.signed_integer;\n+}\n+\n+simdjson_really_inline number::operator int64_t() const noexcept {\n+ return get_int64();\n+}\n+\n+simdjson_really_inline bool number::is_double() const noexcept {\n+ return get_number_type() == number_type::floating_point_number;\n+}\n+\n+simdjson_really_inline double number::get_double() const noexcept {\n+ return payload.floating_point_number;\n+}\n+\n+simdjson_really_inline number::operator double() const noexcept {\n+ return get_double();\n+}\n+\n+simdjson_really_inline double number::as_double() const noexcept {\n+ if(is_double()) {\n+ return payload.floating_point_number;\n+ }\n+ if(is_int64()) {\n+ return double(payload.signed_integer);\n+ }\n+ return double(payload.unsigned_integer);\n+}\n+\n+simdjson_really_inline void number::append_s64(int64_t value) noexcept {\n+ payload.signed_integer = value;\n+ type = number_type::signed_integer;\n+}\n+\n+simdjson_really_inline void number::append_u64(uint64_t value) noexcept {\n+ payload.unsigned_integer = value;\n+ type = number_type::unsigned_integer;\n+}\n+\n+simdjson_really_inline void number::append_double(double value) noexcept {\n+ payload.floating_point_number = value;\n+ type = number_type::floating_point_number;\n+}\n+\n+simdjson_really_inline void number::skip_double() noexcept {\n+ type = number_type::floating_point_number;\n+}\n+\n } // namespace ondemand\n } // namespace SIMDJSON_BUILTIN_IMPLEMENTATION\n } // namespace simdjson\n@@ -24949,6 +25479,10 @@ simdjson_really_inline token_position json_iterator::root_position() const noexc\n return _root;\n }\n \n+simdjson_really_inline void json_iterator::assert_at_document_depth() const noexcept {\n+ SIMDJSON_ASSUME( _depth == 1 );\n+}\n+\n simdjson_really_inline void json_iterator::assert_at_root() const noexcept {\n SIMDJSON_ASSUME( _depth == 1 );\n #ifndef SIMDJSON_CLANG_VISUAL_STUDIO\n@@ -24987,6 +25521,20 @@ inline std::string json_iterator::to_string() const noexcept {\n + std::string(\" ]\");\n }\n \n+inline simdjson_result json_iterator::current_location() noexcept {\n+ if (!is_alive()) { // Unrecoverable error\n+ if (!at_root()) {\n+ return reinterpret_cast(token.peek(-1));\n+ } else {\n+ return reinterpret_cast(token.peek());\n+ }\n+ }\n+ if (at_end()) {\n+ return OUT_OF_BOUNDS;\n+ }\n+ return reinterpret_cast(token.peek());\n+}\n+\n simdjson_really_inline bool json_iterator::is_alive() const noexcept {\n return parser;\n }\n@@ -25184,6 +25732,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator\n // Note that adding a check for 'streaming' is not expensive since we only have at most\n // one root element.\n if (! _json_iter->streaming() && (*_json_iter->peek_last() != '}')) {\n+ _json_iter->abandon();\n return report_error(INCOMPLETE_ARRAY_OR_OBJECT, \"missing } at end\");\n }\n return started_object();\n@@ -25552,6 +26101,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator\n // Note that adding a check for 'streaming' is not expensive since we only have at most\n // one root element.\n if ( ! _json_iter->streaming() && (*_json_iter->peek_last() != ']')) {\n+ _json_iter->abandon();\n return report_error(INCOMPLETE_ARRAY_OR_OBJECT, \"missing ] at end\");\n }\n return started_array();\n@@ -25596,37 +26146,37 @@ simdjson_warn_unused simdjson_really_inline simdjson_result val\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_uint64() noexcept {\n auto result = numberparsing::parse_unsigned(peek_non_root_scalar(\"uint64\"));\n- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar(\"uint64\"); }\n+ if(result.error() == SUCCESS) { advance_non_root_scalar(\"uint64\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_uint64_in_string() noexcept {\n auto result = numberparsing::parse_unsigned_in_string(peek_non_root_scalar(\"uint64\"));\n- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar(\"uint64\"); }\n+ if(result.error() == SUCCESS) { advance_non_root_scalar(\"uint64\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_int64() noexcept {\n auto result = numberparsing::parse_integer(peek_non_root_scalar(\"int64\"));\n- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar(\"int64\"); }\n+ if(result.error() == SUCCESS) { advance_non_root_scalar(\"int64\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_int64_in_string() noexcept {\n auto result = numberparsing::parse_integer_in_string(peek_non_root_scalar(\"int64\"));\n- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar(\"int64\"); }\n+ if(result.error() == SUCCESS) { advance_non_root_scalar(\"int64\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_double() noexcept {\n auto result = numberparsing::parse_double(peek_non_root_scalar(\"double\"));\n- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar(\"double\"); }\n+ if(result.error() == SUCCESS) { advance_non_root_scalar(\"double\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_double_in_string() noexcept {\n auto result = numberparsing::parse_double_in_string(peek_non_root_scalar(\"double\"));\n- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar(\"double\"); }\n+ if(result.error() == SUCCESS) { advance_non_root_scalar(\"double\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_bool() noexcept {\n auto result = parse_bool(peek_non_root_scalar(\"bool\"));\n- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar(\"bool\"); }\n+ if(result.error() == SUCCESS) { advance_non_root_scalar(\"bool\"); }\n return result;\n }\n simdjson_really_inline bool value_iterator::is_null() noexcept {\n@@ -25634,8 +26184,51 @@ simdjson_really_inline bool value_iterator::is_null() noexcept {\n if(result) { advance_non_root_scalar(\"null\"); }\n return result;\n }\n+simdjson_really_inline bool value_iterator::is_negative() noexcept {\n+ return numberparsing::is_negative(peek_non_root_scalar(\"numbersign\"));\n+}\n+simdjson_really_inline bool value_iterator::is_root_negative() noexcept {\n+ return numberparsing::is_negative(peek_root_scalar(\"numbersign\"));\n+}\n+simdjson_really_inline simdjson_result value_iterator::is_integer() noexcept {\n+ return numberparsing::is_integer(peek_non_root_scalar(\"integer\"));\n+}\n \n-constexpr const uint32_t MAX_INT_LENGTH = 1024;\n+simdjson_really_inline simdjson_result value_iterator::get_number() noexcept {\n+ number num;\n+ error_code error = numberparsing::parse_number(peek_non_root_scalar(\"number\"), num);\n+ if(error) { return error; }\n+ return num;\n+}\n+\n+\n+simdjson_really_inline simdjson_result value_iterator::is_root_integer() noexcept {\n+ auto max_len = peek_start_length();\n+ auto json = peek_root_scalar(\"is_root_integer\");\n+ uint8_t tmpbuf[20+1]; // <20 digits> is the longest possible unsigned integer\n+ if (!_json_iter->copy_to_buffer(json, max_len, tmpbuf)) {\n+ return false; // if there are more than 20 characters, it cannot be represented as an integer.\n+ }\n+ return numberparsing::is_integer(tmpbuf);\n+}\n+\n+simdjson_really_inline simdjson_result value_iterator::get_root_number() noexcept {\n+ auto max_len = peek_start_length();\n+ auto json = peek_root_scalar(\"number\");\n+ // Per https://www.exploringbinary.com/maximum-number-of-decimal-digits-in-binary-floating-point-numbers/,\n+ // 1074 is the maximum number of significant fractional digits. Add 8 more digits for the biggest\n+ // number: -0.e-308.\n+ uint8_t tmpbuf[1074+8+1];\n+ if (!_json_iter->copy_to_buffer(json, max_len, tmpbuf)) {\n+ logger::log_error(*_json_iter, start_position(), depth(), \"Root number more than 1082 characters\");\n+ return NUMBER_ERROR;\n+ }\n+ number num;\n+ error_code error = numberparsing::parse_number(tmpbuf, num);\n+ if(error) { return error; }\n+ advance_root_scalar(\"number\");\n+ return num;\n+}\n \n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_string() noexcept {\n return get_string();\n@@ -25652,7 +26245,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iter\n return NUMBER_ERROR;\n }\n auto result = numberparsing::parse_unsigned(tmpbuf);\n- if(result.error() != INCORRECT_TYPE) { advance_root_scalar(\"uint64\"); }\n+ if(result.error() == SUCCESS) { advance_root_scalar(\"uint64\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_uint64_in_string() noexcept {\n@@ -25664,7 +26257,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iter\n return NUMBER_ERROR;\n }\n auto result = numberparsing::parse_unsigned_in_string(tmpbuf);\n- if(result.error() != INCORRECT_TYPE) { advance_root_scalar(\"uint64\"); }\n+ if(result.error() == SUCCESS) { advance_root_scalar(\"uint64\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_int64() noexcept {\n@@ -25677,7 +26270,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_itera\n }\n \n auto result = numberparsing::parse_integer(tmpbuf);\n- if(result.error() != INCORRECT_TYPE) { advance_root_scalar(\"int64\"); }\n+ if(result.error() == SUCCESS) { advance_root_scalar(\"int64\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_int64_in_string() noexcept {\n@@ -25690,7 +26283,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_itera\n }\n \n auto result = numberparsing::parse_integer_in_string(tmpbuf);\n- if(result.error() != INCORRECT_TYPE) { advance_root_scalar(\"int64\"); }\n+ if(result.error() == SUCCESS) { advance_root_scalar(\"int64\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_double() noexcept {\n@@ -25705,9 +26298,10 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterat\n return NUMBER_ERROR;\n }\n auto result = numberparsing::parse_double(tmpbuf);\n- if(result.error() != INCORRECT_TYPE) { advance_root_scalar(\"double\"); }\n+ if(result.error() == SUCCESS) { advance_root_scalar(\"double\"); }\n return result;\n }\n+\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_double_in_string() noexcept {\n auto max_len = peek_start_length();\n auto json = peek_root_scalar(\"double\");\n@@ -25720,7 +26314,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterat\n return NUMBER_ERROR;\n }\n auto result = numberparsing::parse_double_in_string(tmpbuf);\n- if(result.error() != INCORRECT_TYPE) { advance_root_scalar(\"double\"); }\n+ if(result.error() == SUCCESS) { advance_root_scalar(\"double\"); }\n return result;\n }\n simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_bool() noexcept {\n@@ -25728,13 +26322,14 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator\n auto json = peek_root_scalar(\"bool\");\n uint8_t tmpbuf[5+1];\n if (!_json_iter->copy_to_buffer(json, max_len, tmpbuf)) { return incorrect_type_error(\"Not a boolean\"); }\n- advance_root_scalar(\"bool\");\n- return parse_bool(tmpbuf);\n+ auto result = parse_bool(tmpbuf);\n+ if(result.error() == SUCCESS) { advance_root_scalar(\"bool\"); }\n+ return result;\n }\n simdjson_really_inline bool value_iterator::is_root_null() noexcept {\n auto max_len = peek_start_length();\n auto json = peek_root_scalar(\"null\");\n- auto result = (max_len >= 4 && !atomparsing::str4ncmp(json, \"null\") &&\n+ bool result = (max_len >= 4 && !atomparsing::str4ncmp(json, \"null\") &&\n (max_len == 4 || jsoncharutils::is_structural_or_whitespace(json[5])));\n if(result) { advance_root_scalar(\"null\"); }\n return result;\n@@ -26317,6 +26912,17 @@ simdjson_really_inline simdjson_result array::count_elements() & noexcep\n return count;\n }\n \n+simdjson_really_inline simdjson_result array::is_empty() & noexcept {\n+ bool is_not_empty;\n+ auto error = iter.reset_array().get(is_not_empty);\n+ if(error) { return error; }\n+ return !is_not_empty;\n+}\n+\n+inline simdjson_result array::reset() & noexcept {\n+ return iter.reset_array();\n+}\n+\n inline simdjson_result array::at_pointer(std::string_view json_pointer) noexcept {\n if (json_pointer[0] != '/') { return INVALID_JSON_POINTER; }\n json_pointer = json_pointer.substr(1);\n@@ -26395,6 +27001,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::is_empty() & noexcept {\n+ if (error()) { return error(); }\n+ return first.is_empty();\n+}\n simdjson_really_inline simdjson_result simdjson_result::at(size_t index) noexcept {\n if (error()) { return error(); }\n return first.at(index);\n@@ -26428,6 +27038,13 @@ inline std::string document::to_debug_string() noexcept {\n return iter.to_string();\n }\n \n+inline simdjson_result document::current_location() noexcept {\n+ return iter.current_location();\n+}\n+\n+inline bool document::is_alive() noexcept {\n+ return iter.is_alive();\n+}\n simdjson_really_inline value_iterator document::resume_value_iterator() noexcept {\n return value_iterator(&iter, 1, iter.root_position());\n }\n@@ -26441,24 +27058,19 @@ simdjson_really_inline simdjson_result document::start_or_resume_object(\n return object::resume(resume_value_iterator());\n }\n }\n-simdjson_really_inline simdjson_result document::get_value_unsafe() noexcept {\n+simdjson_really_inline simdjson_result document::get_value() noexcept {\n // Make sure we start any arrays or objects before returning, so that start_root_()\n // gets called.\n+ iter.assert_at_document_depth();\n switch (*iter.peek()) {\n- case '[': {\n- array result;\n- SIMDJSON_TRY( get_array().get(result) );\n- return value(result.iter);\n- }\n- case '{': {\n- object result;\n- SIMDJSON_TRY( get_object().get(result) );\n- return value(result.iter);\n- }\n- default:\n- // TODO it is still wrong to convert this to a value! get_root_bool / etc. will not be\n- // called if you do this.\n+ case '[':\n+ case '{':\n return value(get_root_value_iterator());\n+ default:\n+ // Unfortunately, scalar documents are a special case in simdjson and they cannot\n+ // be safely converted to value instances.\n+ return SCALAR_DOCUMENT_AS_VALUE;\n+ // return value(get_root_value_iterator());\n }\n }\n simdjson_really_inline simdjson_result document::get_array() & noexcept {\n@@ -26508,6 +27120,7 @@ template<> simdjson_really_inline simdjson_result document::get() & noex\n template<> simdjson_really_inline simdjson_result document::get() & noexcept { return get_uint64(); }\n template<> simdjson_really_inline simdjson_result document::get() & noexcept { return get_int64(); }\n template<> simdjson_really_inline simdjson_result document::get() & noexcept { return get_bool(); }\n+template<> simdjson_really_inline simdjson_result document::get() & noexcept { return get_value(); }\n \n template<> simdjson_really_inline simdjson_result document::get() && noexcept { return get_raw_json_string(); }\n template<> simdjson_really_inline simdjson_result document::get() && noexcept { return get_string(); }\n@@ -26515,6 +27128,7 @@ template<> simdjson_really_inline simdjson_result document::get() && noe\n template<> simdjson_really_inline simdjson_result document::get() && noexcept { return std::forward(*this).get_uint64(); }\n template<> simdjson_really_inline simdjson_result document::get() && noexcept { return std::forward(*this).get_int64(); }\n template<> simdjson_really_inline simdjson_result document::get() && noexcept { return std::forward(*this).get_bool(); }\n+template<> simdjson_really_inline simdjson_result document::get() && noexcept { return get_value(); }\n \n template simdjson_really_inline error_code document::get(T &out) & noexcept {\n return get().get(out);\n@@ -26532,12 +27146,27 @@ simdjson_really_inline document::operator double() noexcept(false) { return get_\n simdjson_really_inline document::operator std::string_view() noexcept(false) { return get_string(); }\n simdjson_really_inline document::operator raw_json_string() noexcept(false) { return get_raw_json_string(); }\n simdjson_really_inline document::operator bool() noexcept(false) { return get_bool(); }\n+simdjson_really_inline document::operator value() noexcept(false) { return get_value(); }\n+\n #endif\n simdjson_really_inline simdjson_result document::count_elements() & noexcept {\n auto a = get_array();\n simdjson_result answer = a.count_elements();\n /* If there was an array, we are now left pointing at its first element. */\n- if(answer.error() == SUCCESS) { iter._depth -= 1 ; /* undoing the increment so we go back at the doc depth.*/ }\n+ if(answer.error() == SUCCESS) {\n+ iter._depth = 1 ; /* undoing the increment so we go back at the doc depth.*/\n+ iter.assert_at_document_depth();\n+ }\n+ return answer;\n+}\n+simdjson_really_inline simdjson_result document::count_fields() & noexcept {\n+ auto o = get_object();\n+ simdjson_result answer = o.count_fields();\n+ /* If there was an object, we are now left pointing at its first field. */\n+ if(answer.error() == SUCCESS) {\n+ iter._depth = 1 ; /* undoing the increment so we go back at the doc depth.*/\n+ iter.assert_at_document_depth();\n+ }\n return answer;\n }\n simdjson_really_inline simdjson_result document::at(size_t index) & noexcept {\n@@ -26592,6 +27221,26 @@ simdjson_really_inline simdjson_result document::type() noexcept {\n return get_root_value_iterator().type();\n }\n \n+simdjson_really_inline simdjson_result document::is_scalar() noexcept {\n+ json_type this_type;\n+ auto error = type().get(this_type);\n+ if(error) { return error; }\n+ return ! ((this_type == json_type::array) || (this_type == json_type::object));\n+}\n+\n+simdjson_really_inline bool document::is_negative() noexcept {\n+ return get_root_value_iterator().is_root_negative();\n+}\n+\n+simdjson_really_inline simdjson_result document::is_integer() noexcept {\n+ return get_root_value_iterator().is_root_integer();\n+}\n+\n+simdjson_really_inline simdjson_result document::get_number() noexcept {\n+ return get_root_value_iterator().get_root_number();\n+}\n+\n+\n simdjson_really_inline simdjson_result document::raw_json_token() noexcept {\n auto _iter = get_root_value_iterator();\n return std::string_view(reinterpret_cast(_iter.peek_start()), _iter.peek_start_length());\n@@ -26600,7 +27249,7 @@ simdjson_really_inline simdjson_result document::raw_json_toke\n simdjson_really_inline simdjson_result document::at_pointer(std::string_view json_pointer) noexcept {\n rewind(); // Rewind the document each time at_pointer is called\n if (json_pointer.empty()) {\n- return this->get_value_unsafe();\n+ return this->get_value();\n }\n json_type t;\n SIMDJSON_TRY(type().get(t));\n@@ -26641,6 +27290,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept {\n+ if (error()) { return error(); }\n+ return first.count_fields();\n+}\n simdjson_really_inline simdjson_result simdjson_result::at(size_t index) & noexcept {\n if (error()) { return error(); }\n return first.at(index);\n@@ -26713,6 +27366,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::get_value() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_value();\n+}\n simdjson_really_inline bool simdjson_result::is_null() noexcept {\n if (error()) { return error(); }\n return first.is_null();\n@@ -26756,6 +27413,28 @@ simdjson_really_inline simdjson_result simdjson_result::is_scalar() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_scalar();\n+}\n+\n+\n+simdjson_really_inline bool simdjson_result::is_negative() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_negative();\n+}\n+\n+simdjson_really_inline simdjson_result simdjson_result::is_integer() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_integer();\n+}\n+\n+simdjson_really_inline simdjson_result simdjson_result::get_number() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_number();\n+}\n+\n+\n #if SIMDJSON_EXCEPTIONS\n simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::array() & noexcept(false) {\n if (error()) { throw simdjson_error(error()); }\n@@ -26789,8 +27468,18 @@ simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::value() noexcept(false) {\n+ if (error()) { throw simdjson_error(error()); }\n+ return first;\n+}\n #endif\n \n+\n+simdjson_really_inline simdjson_result simdjson_result::current_location() noexcept {\n+ if (error()) { return error(); }\n+ return first.current_location();\n+}\n+\n simdjson_really_inline simdjson_result simdjson_result::raw_json_token() noexcept {\n if (error()) { return error(); }\n return first.raw_json_token();\n@@ -26820,6 +27509,7 @@ simdjson_really_inline simdjson_result document_reference::get_double()\n simdjson_really_inline simdjson_result document_reference::get_string() noexcept { return doc->get_string(); }\n simdjson_really_inline simdjson_result document_reference::get_raw_json_string() noexcept { return doc->get_raw_json_string(); }\n simdjson_really_inline simdjson_result document_reference::get_bool() noexcept { return doc->get_bool(); }\n+simdjson_really_inline simdjson_result document_reference::get_value() noexcept { return doc->get_value(); }\n simdjson_really_inline bool document_reference::is_null() noexcept { return doc->is_null(); }\n \n #if SIMDJSON_EXCEPTIONS\n@@ -26831,8 +27521,10 @@ simdjson_really_inline document_reference::operator double() noexcept(false) { r\n simdjson_really_inline document_reference::operator std::string_view() noexcept(false) { return std::string_view(*doc); }\n simdjson_really_inline document_reference::operator raw_json_string() noexcept(false) { return raw_json_string(*doc); }\n simdjson_really_inline document_reference::operator bool() noexcept(false) { return bool(*doc); }\n+simdjson_really_inline document_reference::operator value() noexcept(false) { return value(*doc); }\n #endif\n simdjson_really_inline simdjson_result document_reference::count_elements() & noexcept { return doc->count_elements(); }\n+simdjson_really_inline simdjson_result document_reference::count_fields() & noexcept { return doc->count_fields(); }\n simdjson_really_inline simdjson_result document_reference::at(size_t index) & noexcept { return doc->at(index); }\n simdjson_really_inline simdjson_result document_reference::begin() & noexcept { return doc->begin(); }\n simdjson_really_inline simdjson_result document_reference::end() & noexcept { return doc->end(); }\n@@ -26842,8 +27534,12 @@ simdjson_really_inline simdjson_result document_reference::operator[](std\n simdjson_really_inline simdjson_result document_reference::operator[](const char *key) & noexcept { return (*doc)[key]; }\n simdjson_really_inline simdjson_result document_reference::find_field_unordered(std::string_view key) & noexcept { return doc->find_field_unordered(key); }\n simdjson_really_inline simdjson_result document_reference::find_field_unordered(const char *key) & noexcept { return doc->find_field_unordered(key); }\n-\n simdjson_really_inline simdjson_result document_reference::type() noexcept { return doc->type(); }\n+simdjson_really_inline simdjson_result document_reference::is_scalar() noexcept { return doc->is_scalar(); }\n+simdjson_really_inline simdjson_result document_reference::current_location() noexcept { return doc->current_location(); };\n+simdjson_really_inline bool document_reference::is_negative() noexcept { return doc->is_negative(); }\n+simdjson_really_inline simdjson_result document_reference::is_integer() noexcept { return doc->is_integer(); }\n+simdjson_really_inline simdjson_result document_reference::get_number() noexcept { return doc->get_number(); }\n simdjson_really_inline simdjson_result document_reference::raw_json_token() noexcept { return doc->raw_json_token(); }\n simdjson_really_inline simdjson_result document_reference::at_pointer(std::string_view json_pointer) noexcept { return doc->at_pointer(json_pointer); }\n simdjson_really_inline simdjson_result document_reference::raw_json() noexcept { return doc->raw_json();}\n@@ -26864,6 +27560,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept {\n+ if (error()) { return error(); }\n+ return first.count_fields();\n+}\n simdjson_really_inline simdjson_result simdjson_result::at(size_t index) & noexcept {\n if (error()) { return error(); }\n return first.at(index);\n@@ -26936,6 +27636,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::get_value() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_value();\n+}\n simdjson_really_inline bool simdjson_result::is_null() noexcept {\n if (error()) { return error(); }\n return first.is_null();\n@@ -26944,7 +27648,22 @@ simdjson_really_inline simdjson_result simdjson_result::is_scalar() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_scalar();\n+}\n+simdjson_really_inline bool simdjson_result::is_negative() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_negative();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::is_integer() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_integer();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::get_number() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_number();\n+}\n #if SIMDJSON_EXCEPTIONS\n simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::array() & noexcept(false) {\n if (error()) { throw simdjson_error(error()); }\n@@ -26978,8 +27697,17 @@ simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::value() noexcept(false) {\n+ if (error()) { throw simdjson_error(error()); }\n+ return first;\n+}\n #endif\n \n+simdjson_really_inline simdjson_result simdjson_result::current_location() noexcept {\n+ if (error()) { return error(); }\n+ return first.current_location();\n+}\n+\n simdjson_really_inline simdjson_result simdjson_result::raw_json_token() noexcept {\n if (error()) { return error(); }\n return first.raw_json_token();\n@@ -27110,6 +27838,16 @@ simdjson_really_inline simdjson_result value::count_elements() & noexcep\n iter.move_at_start();\n return answer;\n }\n+simdjson_really_inline simdjson_result value::count_fields() & noexcept {\n+ simdjson_result answer;\n+ auto o = get_object();\n+ answer = o.count_fields();\n+ // count_fields leaves you pointing inside the object, at the first field.\n+ // We need to move back so that the user can create a new object (which requires that\n+ // we point at '{').\n+ iter.move_at_start();\n+ return answer;\n+}\n simdjson_really_inline simdjson_result value::at(size_t index) noexcept {\n auto a = get_array();\n return a.at(index);\n@@ -27140,6 +27878,24 @@ simdjson_really_inline simdjson_result value::type() noexcept {\n return iter.type();\n }\n \n+simdjson_really_inline simdjson_result value::is_scalar() noexcept {\n+ json_type this_type;\n+ auto error = type().get(this_type);\n+ if(error) { return error; }\n+ return ! ((this_type == json_type::array) || (this_type == json_type::object));\n+}\n+\n+simdjson_really_inline bool value::is_negative() noexcept {\n+ return iter.is_negative();\n+}\n+\n+simdjson_really_inline simdjson_result value::is_integer() noexcept {\n+ return iter.is_integer();\n+}\n+simdjson_warn_unused simdjson_really_inline simdjson_result value::get_number() noexcept {\n+ return iter.get_number();\n+}\n+\n simdjson_really_inline std::string_view value::raw_json_token() noexcept {\n return std::string_view(reinterpret_cast(iter.peek_start()), iter.peek_start_length());\n }\n@@ -27182,6 +27938,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept {\n+ if (error()) { return error(); }\n+ return first.count_fields();\n+}\n simdjson_really_inline simdjson_result simdjson_result::at(size_t index) noexcept {\n if (error()) { return error(); }\n return first.at(index);\n@@ -27294,7 +28054,22 @@ simdjson_really_inline simdjson_result simdjson_result::is_scalar() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_scalar();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::is_negative() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_negative();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::is_integer() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_integer();\n+}\n+simdjson_really_inline simdjson_result simdjson_result::get_number() noexcept {\n+ if (error()) { return error(); }\n+ return first.get_number();\n+}\n #if SIMDJSON_EXCEPTIONS\n simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::array() noexcept(false) {\n if (error()) { throw simdjson_error(error()); }\n@@ -27564,6 +28339,26 @@ inline simdjson_result object::at_pointer(std::string_view json_pointer)\n return child;\n }\n \n+\n+simdjson_really_inline simdjson_result object::count_fields() & noexcept {\n+ size_t count{0};\n+ for(simdjson_unused auto v : *this) { count++; }\n+ if(iter.error()) { return iter.error(); }\n+ iter.reset_object();\n+ return count;\n+}\n+\n+simdjson_really_inline simdjson_result object::is_empty() & noexcept {\n+ bool is_not_empty;\n+ auto error = iter.reset_object().get(is_not_empty);\n+ if(error) { return error; }\n+ return !is_not_empty;\n+}\n+\n+simdjson_really_inline simdjson_result object::reset() & noexcept {\n+ return iter.reset_object();\n+}\n+\n } // namespace ondemand\n } // namespace SIMDJSON_BUILTIN_IMPLEMENTATION\n } // namespace simdjson\n@@ -27613,6 +28408,21 @@ simdjson_really_inline simdjson_result simdjson_result::reset() noexcept {\n+ if (error()) { return error(); }\n+ return first.reset();\n+}\n+\n+inline simdjson_result simdjson_result::is_empty() noexcept {\n+ if (error()) { return error(); }\n+ return first.is_empty();\n+}\n+\n+inline simdjson_result simdjson_result::count_fields() noexcept {\n+ if (error()) { return error(); }\n+ return first.count_fields();\n+}\n+\n } // namespace simdjson\n /* end file include/simdjson/generic/ondemand/object-inl.h */\n /* begin file include/simdjson/generic/ondemand/parser-inl.h */\n"} +{"instance_id": "simdjson__simdjson-1896", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex 963f7121..10a6221b 100644\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -4194,12 +4194,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n }\n uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2);\n \n- // if the first code point is invalid we will get here, as we will go past\n- // the check for being outside the Basic Multilingual plane. If we don't\n- // find a \\u immediately afterwards we fail out anyhow, but if we do,\n- // this check catches both the case of the first code point being invalid\n- // or the second code point being invalid.\n- if ((code_point | code_point_2) >> 16) {\n+ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF.\n+ // This also catches the case where hex_to_u32_nocheck returns high bits\n+ // set due to invalid hex digits.\n+ if ((code_point_2 - 0xdc00) >> 10) {\n return false;\n }\n \n@@ -5668,12 +5666,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n }\n uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2);\n \n- // if the first code point is invalid we will get here, as we will go past\n- // the check for being outside the Basic Multilingual plane. If we don't\n- // find a \\u immediately afterwards we fail out anyhow, but if we do,\n- // this check catches both the case of the first code point being invalid\n- // or the second code point being invalid.\n- if ((code_point | code_point_2) >> 16) {\n+ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF.\n+ // This also catches the case where hex_to_u32_nocheck returns high bits\n+ // set due to invalid hex digits.\n+ if ((code_point_2 - 0xdc00) >> 10) {\n return false;\n }\n \n@@ -8020,12 +8016,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n }\n uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2);\n \n- // if the first code point is invalid we will get here, as we will go past\n- // the check for being outside the Basic Multilingual plane. If we don't\n- // find a \\u immediately afterwards we fail out anyhow, but if we do,\n- // this check catches both the case of the first code point being invalid\n- // or the second code point being invalid.\n- if ((code_point | code_point_2) >> 16) {\n+ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF.\n+ // This also catches the case where hex_to_u32_nocheck returns high bits\n+ // set due to invalid hex digits.\n+ if ((code_point_2 - 0xdc00) >> 10) {\n return false;\n }\n \n@@ -10354,12 +10348,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n }\n uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2);\n \n- // if the first code point is invalid we will get here, as we will go past\n- // the check for being outside the Basic Multilingual plane. If we don't\n- // find a \\u immediately afterwards we fail out anyhow, but if we do,\n- // this check catches both the case of the first code point being invalid\n- // or the second code point being invalid.\n- if ((code_point | code_point_2) >> 16) {\n+ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF.\n+ // This also catches the case where hex_to_u32_nocheck returns high bits\n+ // set due to invalid hex digits.\n+ if ((code_point_2 - 0xdc00) >> 10) {\n return false;\n }\n \n@@ -12651,12 +12643,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n }\n uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2);\n \n- // if the first code point is invalid we will get here, as we will go past\n- // the check for being outside the Basic Multilingual plane. If we don't\n- // find a \\u immediately afterwards we fail out anyhow, but if we do,\n- // this check catches both the case of the first code point being invalid\n- // or the second code point being invalid.\n- if ((code_point | code_point_2) >> 16) {\n+ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF.\n+ // This also catches the case where hex_to_u32_nocheck returns high bits\n+ // set due to invalid hex digits.\n+ if ((code_point_2 - 0xdc00) >> 10) {\n return false;\n }\n \n@@ -14983,12 +14973,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n }\n uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2);\n \n- // if the first code point is invalid we will get here, as we will go past\n- // the check for being outside the Basic Multilingual plane. If we don't\n- // find a \\u immediately afterwards we fail out anyhow, but if we do,\n- // this check catches both the case of the first code point being invalid\n- // or the second code point being invalid.\n- if ((code_point | code_point_2) >> 16) {\n+ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF.\n+ // This also catches the case where hex_to_u32_nocheck returns high bits\n+ // set due to invalid hex digits.\n+ if ((code_point_2 - 0xdc00) >> 10) {\n return false;\n }\n \ndiff --git a/src/generic/stage2/stringparsing.h b/src/generic/stage2/stringparsing.h\nindex 47ecd025..3b6873b0 100644\n--- a/src/generic/stage2/stringparsing.h\n+++ b/src/generic/stage2/stringparsing.h\n@@ -58,12 +58,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n }\n uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2);\n \n- // if the first code point is invalid we will get here, as we will go past\n- // the check for being outside the Basic Multilingual plane. If we don't\n- // find a \\u immediately afterwards we fail out anyhow, but if we do,\n- // this check catches both the case of the first code point being invalid\n- // or the second code point being invalid.\n- if ((code_point | code_point_2) >> 16) {\n+ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF.\n+ // This also catches the case where hex_to_u32_nocheck returns high bits\n+ // set due to invalid hex digits.\n+ if ((code_point_2 - 0xdc00) >> 10) {\n return false;\n }\n \n"} +{"instance_id": "simdjson__simdjson-1899", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/generic/numberparsing.h b/include/simdjson/generic/numberparsing.h\nindex 557818c1..13a8bc64 100644\n--- a/include/simdjson/generic/numberparsing.h\n+++ b/include/simdjson/generic/numberparsing.h\n@@ -497,7 +497,7 @@ simdjson_inline error_code write_float(const uint8_t *const src, bool negative,\n static_assert(simdjson::internal::smallest_power <= -342, \"smallest_power is not small enough\");\n //\n if((exponent < simdjson::internal::smallest_power) || (i == 0)) {\n- WRITE_DOUBLE(0, src, writer);\n+ WRITE_DOUBLE(negative ? -0.0 : 0.0, src, writer);\n return SUCCESS;\n } else { // (exponent > largest_power) and (i != 0)\n // We have, for sure, an infinite value and simdjson refuses to parse infinite values.\n"} +{"instance_id": "simdjson__simdjson-2016", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "\n"} +{"instance_id": "simdjson__simdjson-2026", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/dom/serialization-inl.h b/include/simdjson/dom/serialization-inl.h\nindex 7299bb5d..761801ad 100644\n--- a/include/simdjson/dom/serialization-inl.h\n+++ b/include/simdjson/dom/serialization-inl.h\n@@ -152,6 +152,148 @@ simdjson_inline void mini_formatter::key(std::string_view unescaped) {\n string(unescaped);\n one_char(':');\n }\n+simdjson_inline void mini_formatter::newline_indent() {\n+ // no-op for mini_formatter\n+}\n+simdjson_inline void mini_formatter::push_indent() {\n+ // no-op for mini_formatter\n+}\n+simdjson_inline void mini_formatter::pop_indent() {\n+ // no-op for mini_formatter\n+}\n+\n+/***\n+ * Pretty formatter code.\n+ **/\n+\n+simdjson_inline void pretty_formatter::one_char(char c) { buffer.push_back(c); }\n+\n+simdjson_inline void pretty_formatter::indent() {\n+ for (size_t i = 0; i < depth; i++) {\n+ one_char(' ');\n+ one_char(' ');\n+ }\n+}\n+\n+simdjson_inline void pretty_formatter::newline_indent() {\n+ one_char('\\n');\n+ indent();\n+}\n+\n+simdjson_inline void pretty_formatter::push_indent() { depth++; }\n+simdjson_inline void pretty_formatter::pop_indent() { depth--; }\n+\n+simdjson_inline void pretty_formatter::number(uint64_t x) {\n+ char number_buffer[24];\n+ char *newp = fast_itoa(number_buffer, x);\n+ buffer.insert(buffer.end(), number_buffer, newp);\n+}\n+\n+simdjson_inline void pretty_formatter::number(int64_t x) {\n+ char number_buffer[24];\n+ char *newp = fast_itoa(number_buffer, x);\n+ buffer.insert(buffer.end(), number_buffer, newp);\n+}\n+\n+simdjson_inline void pretty_formatter::number(double x) {\n+ char number_buffer[24];\n+ char *newp = internal::to_chars(number_buffer, nullptr, x);\n+ buffer.insert(buffer.end(), number_buffer, newp);\n+}\n+\n+simdjson_inline void pretty_formatter::start_array() { one_char('['); }\n+simdjson_inline void pretty_formatter::end_array() { one_char(']'); }\n+simdjson_inline void pretty_formatter::start_object() { one_char('{'); }\n+simdjson_inline void pretty_formatter::end_object() { one_char('}'); }\n+simdjson_inline void pretty_formatter::comma() { one_char(','); }\n+\n+simdjson_inline void pretty_formatter::true_atom() {\n+ const char * s = \"true\";\n+ buffer.insert(buffer.end(), s, s + 4);\n+}\n+simdjson_inline void pretty_formatter::false_atom() {\n+ const char * s = \"false\";\n+ buffer.insert(buffer.end(), s, s + 5);\n+}\n+simdjson_inline void pretty_formatter::null_atom() {\n+ const char * s = \"null\";\n+ buffer.insert(buffer.end(), s, s + 4);\n+}\n+\n+simdjson_inline void pretty_formatter::key(std::string_view unescaped) {\n+ one_char('\\n');\n+ indent();\n+ string(unescaped);\n+ one_char(':');\n+ one_char(' ');\n+}\n+\n+simdjson_inline void pretty_formatter::string(std::string_view unescaped) {\n+ one_char('\\\"');\n+ size_t i = 0;\n+ constexpr static char needs_escaping[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};\n+ for(;i + 8 <= unescaped.length(); i += 8) {\n+ if(needs_escaping[uint8_t(unescaped[i])] | needs_escaping[uint8_t(unescaped[i+1])]\n+ | needs_escaping[uint8_t(unescaped[i+2])] | needs_escaping[uint8_t(unescaped[i+3])]\n+ | needs_escaping[uint8_t(unescaped[i+4])] | needs_escaping[uint8_t(unescaped[i+5])]\n+ | needs_escaping[uint8_t(unescaped[i+6])] | needs_escaping[uint8_t(unescaped[i+7])]\n+ ) { break; }\n+ }\n+ for(;i < unescaped.length(); i++) {\n+ if(needs_escaping[uint8_t(unescaped[i])]) { break; }\n+ }\n+ buffer.insert(buffer.end(), unescaped.data(), unescaped.data() + i);\n+ for (; i < unescaped.length(); i++) {\n+ switch (unescaped[i]) {\n+ case '\\\"':\n+ {\n+ const char * s = \"\\\\\\\"\";\n+ buffer.insert(buffer.end(), s, s + 2);\n+ }\n+ break;\n+ case '\\\\':\n+ {\n+ const char * s = \"\\\\\\\\\";\n+ buffer.insert(buffer.end(), s, s + 2);\n+ }\n+ break;\n+ default:\n+ if (uint8_t(unescaped[i]) <= 0x1F) {\n+ constexpr static escape_sequence escaped[32] = {\n+ {6, \"\\\\u0000\"}, {6, \"\\\\u0001\"}, {6, \"\\\\u0002\"}, {6, \"\\\\u0003\"},\n+ {6, \"\\\\u0004\"}, {6, \"\\\\u0005\"}, {6, \"\\\\u0006\"}, {6, \"\\\\u0007\"},\n+ {2, \"\\\\b\"}, {2, \"\\\\t\"}, {2, \"\\\\n\"}, {6, \"\\\\u000b\"},\n+ {2, \"\\\\f\"}, {2, \"\\\\r\"}, {6, \"\\\\u000e\"}, {6, \"\\\\u000f\"},\n+ {6, \"\\\\u0010\"}, {6, \"\\\\u0011\"}, {6, \"\\\\u0012\"}, {6, \"\\\\u0013\"},\n+ {6, \"\\\\u0014\"}, {6, \"\\\\u0015\"}, {6, \"\\\\u0016\"}, {6, \"\\\\u0017\"},\n+ {6, \"\\\\u0018\"}, {6, \"\\\\u0019\"}, {6, \"\\\\u001a\"}, {6, \"\\\\u001b\"},\n+ {6, \"\\\\u001c\"}, {6, \"\\\\u001d\"}, {6, \"\\\\u001e\"}, {6, \"\\\\u001f\"}};\n+ auto u = escaped[uint8_t(unescaped[i])];\n+ buffer.insert(buffer.end(), u.string, u.string + u.length);\n+ } else {\n+ one_char(unescaped[i]);\n+ }\n+ }\n+ }\n+ one_char('\\\"');\n+}\n+\n+inline void pretty_formatter::clear() {\n+ buffer.clear();\n+ depth = 0;\n+}\n+\n+simdjson_inline std::string_view pretty_formatter::str() const {\n+ return std::string_view(buffer.data(), buffer.size());\n+}\n simdjson_inline void mini_formatter::string(std::string_view unescaped) {\n one_char('\\\"');\n size_t i = 0;\n@@ -264,6 +406,9 @@ inline void string_builder::append(simdjson::dom::element value) {\n if (is_object[depth]) {\n format.key(iter.get_string_view());\n iter.json_index++;\n+ } else if (depth != 0) {\n+ // In an array context (but not at the root), print newline and indent before the value\n+ format.newline_indent();\n }\n switch (iter.tape_ref_type()) {\n \n@@ -280,10 +425,12 @@ inline void string_builder::append(simdjson::dom::element value) {\n \n // Output start [\n format.start_array();\n+ format.push_indent();\n iter.json_index++;\n \n // Handle empty [] (we don't want to come back around and print commas)\n if (iter.tape_ref_type() == tape_type::END_ARRAY) {\n+ format.pop_indent();\n format.end_array();\n depth--;\n break;\n@@ -307,10 +454,12 @@ inline void string_builder::append(simdjson::dom::element value) {\n \n // Output start {\n format.start_object();\n+ format.push_indent();\n iter.json_index++;\n \n // Handle empty {} (we don't want to come back around and print commas)\n if (iter.tape_ref_type() == tape_type::END_OBJECT) {\n+ format.pop_indent();\n format.end_object();\n depth--;\n break;\n@@ -362,6 +511,8 @@ inline void string_builder::append(simdjson::dom::element value) {\n // Handle multiple ends in a row\n while (depth != 0 && (iter.tape_ref_type() == tape_type::END_ARRAY ||\n iter.tape_ref_type() == tape_type::END_OBJECT)) {\n+ format.pop_indent();\n+ format.newline_indent();\n if (iter.tape_ref_type() == tape_type::END_ARRAY) {\n format.end_array();\n } else {\n@@ -381,11 +532,14 @@ inline void string_builder::append(simdjson::dom::object value) {\n auto pair = value.begin();\n auto end = value.end();\n if (pair != end) {\n+ format.push_indent();\n append(*pair);\n for (++pair; pair != end; ++pair) {\n format.comma();\n append(*pair);\n }\n+ format.pop_indent();\n+ format.newline_indent();\n }\n format.end_object();\n }\n@@ -396,11 +550,16 @@ inline void string_builder::append(simdjson::dom::array value) {\n auto iter = value.begin();\n auto end = value.end();\n if (iter != end) {\n+ format.push_indent();\n+ format.newline_indent();\n append(*iter);\n for (++iter; iter != end; ++iter) {\n format.comma();\n+ format.newline_indent();\n append(*iter);\n }\n+ format.pop_indent();\n+ format.newline_indent();\n }\n format.end_array();\n }\ndiff --git a/include/simdjson/dom/serialization.h b/include/simdjson/dom/serialization.h\nindex aa28622c..d706f178 100644\n--- a/include/simdjson/dom/serialization.h\n+++ b/include/simdjson/dom/serialization.h\n@@ -21,6 +21,12 @@ namespace internal {\n \n class mini_formatter;\n \n+/**\n+ * @private The pretty_formatter class is used by string_builder\n+ * to produce a pretty-printed (indented) version of a JSON element.\n+ */\n+class pretty_formatter;\n+\n /**\n * @private The string_builder template allows us to construct\n * a string from a document element. It is parametrized\n@@ -69,9 +75,9 @@ public:\n simdjson_inline void start_array();\n /** End an array, prints ] **/\n simdjson_inline void end_array();\n- /** Start an array, prints { **/\n+ /** Start an object, prints { **/\n simdjson_inline void start_object();\n- /** Start an array, prints } **/\n+ /** End an object, prints } **/\n simdjson_inline void end_object();\n /** Prints a true **/\n simdjson_inline void true_atom();\n@@ -96,6 +102,16 @@ public:\n * the user can make a copy.\n **/\n simdjson_inline std::string_view str() const;\n+ /**\n+ * Called before a value in an array context. For mini_formatter,\n+ * this is a no-op. For pretty_formatter, it prints a newline\n+ * and indentation.\n+ **/\n+ simdjson_inline void newline_indent();\n+ /** Increase the indentation level (no-op for mini_formatter) **/\n+ simdjson_inline void push_indent();\n+ /** Decrease the indentation level (no-op for mini_formatter) **/\n+ simdjson_inline void pop_indent();\n \n private:\n // implementation details (subject to change)\n@@ -105,6 +121,67 @@ private:\n std::vector buffer{}; // not ideal!\n };\n \n+/**\n+ * @private This class is used with the string_builder template\n+ * to produce a pretty-printed (indented) version of the JSON element.\n+ */\n+class pretty_formatter {\n+public:\n+ pretty_formatter() = default;\n+ /** Add a comma **/\n+ simdjson_inline void comma();\n+ /** Start an array, prints [ **/\n+ simdjson_inline void start_array();\n+ /** End an array, prints ] **/\n+ simdjson_inline void end_array();\n+ /** Start an object, prints { **/\n+ simdjson_inline void start_object();\n+ /** End an object, prints } **/\n+ simdjson_inline void end_object();\n+ /** Prints a true **/\n+ simdjson_inline void true_atom();\n+ /** Prints a false **/\n+ simdjson_inline void false_atom();\n+ /** Prints a null **/\n+ simdjson_inline void null_atom();\n+ /** Prints a number **/\n+ simdjson_inline void number(int64_t x);\n+ /** Prints a number **/\n+ simdjson_inline void number(uint64_t x);\n+ /** Prints a number **/\n+ simdjson_inline void number(double x);\n+ /** Prints a key (string + colon + space), preceded by newline and indentation **/\n+ simdjson_inline void key(std::string_view unescaped);\n+ /** Prints a string. The string is escaped as needed. **/\n+ simdjson_inline void string(std::string_view unescaped);\n+ /** Clears out the content. **/\n+ simdjson_inline void clear();\n+ /**\n+ * Get access to the buffer, it is owned by the instance, but\n+ * the user can make a copy.\n+ **/\n+ simdjson_inline std::string_view str() const;\n+ /**\n+ * Prints a newline and indentation, used before values in arrays\n+ * and before closing brackets of non-empty containers.\n+ **/\n+ simdjson_inline void newline_indent();\n+ /** Increase the indentation level **/\n+ simdjson_inline void push_indent();\n+ /** Decrease the indentation level **/\n+ simdjson_inline void pop_indent();\n+\n+private:\n+ /** Prints one character **/\n+ simdjson_inline void one_char(char c);\n+ /** Prints the current indentation **/\n+ simdjson_inline void indent();\n+ /** Backing buffer **/\n+ std::vector buffer{}; // not ideal!\n+ /** Current indentation level **/\n+ size_t depth{0};\n+};\n+\n } // internal\n \n namespace dom {\n@@ -212,6 +289,56 @@ std::string minify(simdjson_result x) {\n }\n #endif\n \n+/**\n+ * Converts JSON to a pretty-printed string.\n+ *\n+ * dom::parser parser;\n+ * element doc = parser.parse(\" [ 1 , 2 , 3 ] \"_padded);\n+ * cout << to_pretty_string(doc) << endl;\n+ * // prints:\n+ * // [\n+ * // 1,\n+ * // 2,\n+ * // 3\n+ * // ]\n+ *\n+ */\n+template \n+std::string to_pretty_string(T x) {\n+ simdjson::internal::string_builder sb;\n+ sb.append(x);\n+ std::string_view answer = sb.str();\n+ return std::string(answer.data(), answer.size());\n+}\n+#if SIMDJSON_EXCEPTIONS\n+template \n+std::string to_pretty_string(simdjson_result x) {\n+ if (x.error()) { throw simdjson_error(x.error()); }\n+ return to_pretty_string(x.value());\n+}\n+#endif\n+\n+/**\n+ * Pretty-prints a JSON element or document, with indentation and newlines.\n+ *\n+ * dom::parser parser;\n+ * element doc = parser.parse(\" [ 1 , 2 , 3 ] \"_padded);\n+ * cout << pretty(doc) << endl;\n+ *\n+ */\n+template \n+std::string pretty(T x) {\n+ return to_pretty_string(x);\n+}\n+\n+#if SIMDJSON_EXCEPTIONS\n+template \n+std::string pretty(simdjson_result x) {\n+ if (x.error()) { throw simdjson_error(x.error()); }\n+ return to_pretty_string(x.value());\n+}\n+#endif\n+\n \n } // namespace simdjson\n \ndiff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex bb265297..f469050d 100644\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on 2023-07-06 21:34:14 -0400. Do not edit! */\n+/* auto-generated on 2026-07-03 05:11:08 +0000. Do not edit! */\n /* begin file src/simdjson.cpp */\n #include \"simdjson.h\"\n \ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex d57a890d..e2f94531 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -1,4 +1,4 @@\n-/* auto-generated on 2023-07-06 21:34:14 -0400. Do not edit! */\n+/* auto-generated on 2026-07-03 05:11:08 +0000. Do not edit! */\n /* begin file include/simdjson.h */\n #ifndef SIMDJSON_H\n #define SIMDJSON_H\n@@ -6210,6 +6210,12 @@ namespace internal {\n \n class mini_formatter;\n \n+/**\n+ * @private The pretty_formatter class is used by string_builder\n+ * to produce a pretty-printed (indented) version of a JSON element.\n+ */\n+class pretty_formatter;\n+\n /**\n * @private The string_builder template allows us to construct\n * a string from a document element. It is parametrized\n@@ -6258,9 +6264,9 @@ public:\n simdjson_inline void start_array();\n /** End an array, prints ] **/\n simdjson_inline void end_array();\n- /** Start an array, prints { **/\n+ /** Start an object, prints { **/\n simdjson_inline void start_object();\n- /** Start an array, prints } **/\n+ /** End an object, prints } **/\n simdjson_inline void end_object();\n /** Prints a true **/\n simdjson_inline void true_atom();\n@@ -6285,6 +6291,16 @@ public:\n * the user can make a copy.\n **/\n simdjson_inline std::string_view str() const;\n+ /**\n+ * Called before a value in an array context. For mini_formatter,\n+ * this is a no-op. For pretty_formatter, it prints a newline\n+ * and indentation.\n+ **/\n+ simdjson_inline void newline_indent();\n+ /** Increase the indentation level (no-op for mini_formatter) **/\n+ simdjson_inline void push_indent();\n+ /** Decrease the indentation level (no-op for mini_formatter) **/\n+ simdjson_inline void pop_indent();\n \n private:\n // implementation details (subject to change)\n@@ -6294,6 +6310,67 @@ private:\n std::vector buffer{}; // not ideal!\n };\n \n+/**\n+ * @private This class is used with the string_builder template\n+ * to produce a pretty-printed (indented) version of the JSON element.\n+ */\n+class pretty_formatter {\n+public:\n+ pretty_formatter() = default;\n+ /** Add a comma **/\n+ simdjson_inline void comma();\n+ /** Start an array, prints [ **/\n+ simdjson_inline void start_array();\n+ /** End an array, prints ] **/\n+ simdjson_inline void end_array();\n+ /** Start an object, prints { **/\n+ simdjson_inline void start_object();\n+ /** End an object, prints } **/\n+ simdjson_inline void end_object();\n+ /** Prints a true **/\n+ simdjson_inline void true_atom();\n+ /** Prints a false **/\n+ simdjson_inline void false_atom();\n+ /** Prints a null **/\n+ simdjson_inline void null_atom();\n+ /** Prints a number **/\n+ simdjson_inline void number(int64_t x);\n+ /** Prints a number **/\n+ simdjson_inline void number(uint64_t x);\n+ /** Prints a number **/\n+ simdjson_inline void number(double x);\n+ /** Prints a key (string + colon + space), preceded by newline and indentation **/\n+ simdjson_inline void key(std::string_view unescaped);\n+ /** Prints a string. The string is escaped as needed. **/\n+ simdjson_inline void string(std::string_view unescaped);\n+ /** Clears out the content. **/\n+ simdjson_inline void clear();\n+ /**\n+ * Get access to the buffer, it is owned by the instance, but\n+ * the user can make a copy.\n+ **/\n+ simdjson_inline std::string_view str() const;\n+ /**\n+ * Prints a newline and indentation, used before values in arrays\n+ * and before closing brackets of non-empty containers.\n+ **/\n+ simdjson_inline void newline_indent();\n+ /** Increase the indentation level **/\n+ simdjson_inline void push_indent();\n+ /** Decrease the indentation level **/\n+ simdjson_inline void pop_indent();\n+\n+private:\n+ /** Prints one character **/\n+ simdjson_inline void one_char(char c);\n+ /** Prints the current indentation **/\n+ simdjson_inline void indent();\n+ /** Backing buffer **/\n+ std::vector buffer{}; // not ideal!\n+ /** Current indentation level **/\n+ size_t depth{0};\n+};\n+\n } // internal\n \n namespace dom {\n@@ -6401,6 +6478,56 @@ std::string minify(simdjson_result x) {\n }\n #endif\n \n+/**\n+ * Converts JSON to a pretty-printed string.\n+ *\n+ * dom::parser parser;\n+ * element doc = parser.parse(\" [ 1 , 2 , 3 ] \"_padded);\n+ * cout << to_pretty_string(doc) << endl;\n+ * // prints:\n+ * // [\n+ * // 1,\n+ * // 2,\n+ * // 3\n+ * // ]\n+ *\n+ */\n+template \n+std::string to_pretty_string(T x) {\n+ simdjson::internal::string_builder sb;\n+ sb.append(x);\n+ std::string_view answer = sb.str();\n+ return std::string(answer.data(), answer.size());\n+}\n+#if SIMDJSON_EXCEPTIONS\n+template \n+std::string to_pretty_string(simdjson_result x) {\n+ if (x.error()) { throw simdjson_error(x.error()); }\n+ return to_pretty_string(x.value());\n+}\n+#endif\n+\n+/**\n+ * Pretty-prints a JSON element or document, with indentation and newlines.\n+ *\n+ * dom::parser parser;\n+ * element doc = parser.parse(\" [ 1 , 2 , 3 ] \"_padded);\n+ * cout << pretty(doc) << endl;\n+ *\n+ */\n+template \n+std::string pretty(T x) {\n+ return to_pretty_string(x);\n+}\n+\n+#if SIMDJSON_EXCEPTIONS\n+template \n+std::string pretty(simdjson_result x) {\n+ if (x.error()) { throw simdjson_error(x.error()); }\n+ return to_pretty_string(x.value());\n+}\n+#endif\n+\n \n } // namespace simdjson\n \n@@ -9261,6 +9388,148 @@ simdjson_inline void mini_formatter::key(std::string_view unescaped) {\n string(unescaped);\n one_char(':');\n }\n+simdjson_inline void mini_formatter::newline_indent() {\n+ // no-op for mini_formatter\n+}\n+simdjson_inline void mini_formatter::push_indent() {\n+ // no-op for mini_formatter\n+}\n+simdjson_inline void mini_formatter::pop_indent() {\n+ // no-op for mini_formatter\n+}\n+\n+/***\n+ * Pretty formatter code.\n+ **/\n+\n+simdjson_inline void pretty_formatter::one_char(char c) { buffer.push_back(c); }\n+\n+simdjson_inline void pretty_formatter::indent() {\n+ for (size_t i = 0; i < depth; i++) {\n+ one_char(' ');\n+ one_char(' ');\n+ }\n+}\n+\n+simdjson_inline void pretty_formatter::newline_indent() {\n+ one_char('\\n');\n+ indent();\n+}\n+\n+simdjson_inline void pretty_formatter::push_indent() { depth++; }\n+simdjson_inline void pretty_formatter::pop_indent() { depth--; }\n+\n+simdjson_inline void pretty_formatter::number(uint64_t x) {\n+ char number_buffer[24];\n+ char *newp = fast_itoa(number_buffer, x);\n+ buffer.insert(buffer.end(), number_buffer, newp);\n+}\n+\n+simdjson_inline void pretty_formatter::number(int64_t x) {\n+ char number_buffer[24];\n+ char *newp = fast_itoa(number_buffer, x);\n+ buffer.insert(buffer.end(), number_buffer, newp);\n+}\n+\n+simdjson_inline void pretty_formatter::number(double x) {\n+ char number_buffer[24];\n+ char *newp = internal::to_chars(number_buffer, nullptr, x);\n+ buffer.insert(buffer.end(), number_buffer, newp);\n+}\n+\n+simdjson_inline void pretty_formatter::start_array() { one_char('['); }\n+simdjson_inline void pretty_formatter::end_array() { one_char(']'); }\n+simdjson_inline void pretty_formatter::start_object() { one_char('{'); }\n+simdjson_inline void pretty_formatter::end_object() { one_char('}'); }\n+simdjson_inline void pretty_formatter::comma() { one_char(','); }\n+\n+simdjson_inline void pretty_formatter::true_atom() {\n+ const char * s = \"true\";\n+ buffer.insert(buffer.end(), s, s + 4);\n+}\n+simdjson_inline void pretty_formatter::false_atom() {\n+ const char * s = \"false\";\n+ buffer.insert(buffer.end(), s, s + 5);\n+}\n+simdjson_inline void pretty_formatter::null_atom() {\n+ const char * s = \"null\";\n+ buffer.insert(buffer.end(), s, s + 4);\n+}\n+\n+simdjson_inline void pretty_formatter::key(std::string_view unescaped) {\n+ one_char('\\n');\n+ indent();\n+ string(unescaped);\n+ one_char(':');\n+ one_char(' ');\n+}\n+\n+simdjson_inline void pretty_formatter::string(std::string_view unescaped) {\n+ one_char('\\\"');\n+ size_t i = 0;\n+ constexpr static char needs_escaping[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,\n+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};\n+ for(;i + 8 <= unescaped.length(); i += 8) {\n+ if(needs_escaping[uint8_t(unescaped[i])] | needs_escaping[uint8_t(unescaped[i+1])]\n+ | needs_escaping[uint8_t(unescaped[i+2])] | needs_escaping[uint8_t(unescaped[i+3])]\n+ | needs_escaping[uint8_t(unescaped[i+4])] | needs_escaping[uint8_t(unescaped[i+5])]\n+ | needs_escaping[uint8_t(unescaped[i+6])] | needs_escaping[uint8_t(unescaped[i+7])]\n+ ) { break; }\n+ }\n+ for(;i < unescaped.length(); i++) {\n+ if(needs_escaping[uint8_t(unescaped[i])]) { break; }\n+ }\n+ buffer.insert(buffer.end(), unescaped.data(), unescaped.data() + i);\n+ for (; i < unescaped.length(); i++) {\n+ switch (unescaped[i]) {\n+ case '\\\"':\n+ {\n+ const char * s = \"\\\\\\\"\";\n+ buffer.insert(buffer.end(), s, s + 2);\n+ }\n+ break;\n+ case '\\\\':\n+ {\n+ const char * s = \"\\\\\\\\\";\n+ buffer.insert(buffer.end(), s, s + 2);\n+ }\n+ break;\n+ default:\n+ if (uint8_t(unescaped[i]) <= 0x1F) {\n+ constexpr static escape_sequence escaped[32] = {\n+ {6, \"\\\\u0000\"}, {6, \"\\\\u0001\"}, {6, \"\\\\u0002\"}, {6, \"\\\\u0003\"},\n+ {6, \"\\\\u0004\"}, {6, \"\\\\u0005\"}, {6, \"\\\\u0006\"}, {6, \"\\\\u0007\"},\n+ {2, \"\\\\b\"}, {2, \"\\\\t\"}, {2, \"\\\\n\"}, {6, \"\\\\u000b\"},\n+ {2, \"\\\\f\"}, {2, \"\\\\r\"}, {6, \"\\\\u000e\"}, {6, \"\\\\u000f\"},\n+ {6, \"\\\\u0010\"}, {6, \"\\\\u0011\"}, {6, \"\\\\u0012\"}, {6, \"\\\\u0013\"},\n+ {6, \"\\\\u0014\"}, {6, \"\\\\u0015\"}, {6, \"\\\\u0016\"}, {6, \"\\\\u0017\"},\n+ {6, \"\\\\u0018\"}, {6, \"\\\\u0019\"}, {6, \"\\\\u001a\"}, {6, \"\\\\u001b\"},\n+ {6, \"\\\\u001c\"}, {6, \"\\\\u001d\"}, {6, \"\\\\u001e\"}, {6, \"\\\\u001f\"}};\n+ auto u = escaped[uint8_t(unescaped[i])];\n+ buffer.insert(buffer.end(), u.string, u.string + u.length);\n+ } else {\n+ one_char(unescaped[i]);\n+ }\n+ }\n+ }\n+ one_char('\\\"');\n+}\n+\n+inline void pretty_formatter::clear() {\n+ buffer.clear();\n+ depth = 0;\n+}\n+\n+simdjson_inline std::string_view pretty_formatter::str() const {\n+ return std::string_view(buffer.data(), buffer.size());\n+}\n simdjson_inline void mini_formatter::string(std::string_view unescaped) {\n one_char('\\\"');\n size_t i = 0;\n@@ -9373,6 +9642,9 @@ inline void string_builder::append(simdjson::dom::element value) {\n if (is_object[depth]) {\n format.key(iter.get_string_view());\n iter.json_index++;\n+ } else if (depth != 0) {\n+ // In an array context (but not at the root), print newline and indent before the value\n+ format.newline_indent();\n }\n switch (iter.tape_ref_type()) {\n \n@@ -9389,10 +9661,12 @@ inline void string_builder::append(simdjson::dom::element value) {\n \n // Output start [\n format.start_array();\n+ format.push_indent();\n iter.json_index++;\n \n // Handle empty [] (we don't want to come back around and print commas)\n if (iter.tape_ref_type() == tape_type::END_ARRAY) {\n+ format.pop_indent();\n format.end_array();\n depth--;\n break;\n@@ -9416,10 +9690,12 @@ inline void string_builder::append(simdjson::dom::element value) {\n \n // Output start {\n format.start_object();\n+ format.push_indent();\n iter.json_index++;\n \n // Handle empty {} (we don't want to come back around and print commas)\n if (iter.tape_ref_type() == tape_type::END_OBJECT) {\n+ format.pop_indent();\n format.end_object();\n depth--;\n break;\n@@ -9471,6 +9747,8 @@ inline void string_builder::append(simdjson::dom::element value) {\n // Handle multiple ends in a row\n while (depth != 0 && (iter.tape_ref_type() == tape_type::END_ARRAY ||\n iter.tape_ref_type() == tape_type::END_OBJECT)) {\n+ format.pop_indent();\n+ format.newline_indent();\n if (iter.tape_ref_type() == tape_type::END_ARRAY) {\n format.end_array();\n } else {\n@@ -9490,11 +9768,14 @@ inline void string_builder::append(simdjson::dom::object value) {\n auto pair = value.begin();\n auto end = value.end();\n if (pair != end) {\n+ format.push_indent();\n append(*pair);\n for (++pair; pair != end; ++pair) {\n format.comma();\n append(*pair);\n }\n+ format.pop_indent();\n+ format.newline_indent();\n }\n format.end_object();\n }\n@@ -9505,11 +9786,16 @@ inline void string_builder::append(simdjson::dom::array value) {\n auto iter = value.begin();\n auto end = value.end();\n if (iter != end) {\n+ format.push_indent();\n+ format.newline_indent();\n append(*iter);\n for (++iter; iter != end; ++iter) {\n format.comma();\n+ format.newline_indent();\n append(*iter);\n }\n+ format.pop_indent();\n+ format.newline_indent();\n }\n format.end_array();\n }\n"} +{"instance_id": "simdjson__simdjson-2150", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/generic/ondemand/field-inl.h b/include/simdjson/generic/ondemand/field-inl.h\nindex 25021e0b..654083cf 100644\n--- a/include/simdjson/generic/ondemand/field-inl.h\n+++ b/include/simdjson/generic/ondemand/field-inl.h\n@@ -49,6 +49,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept {\n return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1);\n }\n \n+simdjson_inline std::string_view field::key_sv() const noexcept {\n+ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us.\n+ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1));\n+ // Walk back past any whitespace to find the closing quote\n+ const char* p = end;\n+ while (p > reinterpret_cast(first.buf) && *(p-1) != '\"') { --p; }\n+ // p points just past the closing quote; key content is [first.buf, p-1)\n+ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf));\n+}\n+\n simdjson_inline value &field::value() & noexcept {\n return second;\n }\n@@ -88,6 +98,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept {\n+ if (error()) { return error(); }\n+ return first.key_sv();\n+}\n+\n simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept {\n if (error()) { return error(); }\n return first.unescaped_key(allow_replacement);\ndiff --git a/include/simdjson/generic/ondemand/field.h b/include/simdjson/generic/ondemand/field.h\nindex 082f401b..01b845c1 100644\n--- a/include/simdjson/generic/ondemand/field.h\n+++ b/include/simdjson/generic/ondemand/field.h\n@@ -47,6 +47,11 @@ public:\n * some spaces after the last quote.\n */\n simdjson_inline std::string_view key_raw_json_token() const noexcept;\n+ /**\n+ * Get the key as a string_view, without quotes and without unescaping.\n+ * This is faster than unescaped_key() but does not handle escape sequences.\n+ */\n+ simdjson_inline std::string_view key_sv() const noexcept;\n /**\n * Get the field value.\n */\n@@ -80,6 +85,7 @@ public:\n simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept;\n simdjson_inline simdjson_result key() noexcept;\n simdjson_inline simdjson_result key_raw_json_token() noexcept;\n+ simdjson_inline simdjson_result key_sv() noexcept;\n simdjson_inline simdjson_result value() noexcept;\n };\n \ndiff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex 7c385f42..8fbf5910 100644\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on 2024-03-10 13:24:07 -0400. Do not edit! */\n+/* auto-generated on 2026-07-02 20:39:40 +0000. Do not edit! */\n /* including simdjson.cpp: */\n /* begin file simdjson.cpp */\n #define SIMDJSON_SRC_SIMDJSON_CPP\ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex 0166d443..c4cbad5a 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -1,4 +1,4 @@\n-/* auto-generated on 2024-03-10 13:24:07 -0400. Do not edit! */\n+/* auto-generated on 2026-07-02 20:39:40 +0000. Do not edit! */\n /* including simdjson.h: */\n /* begin file simdjson.h */\n #ifndef SIMDJSON_H\n@@ -30399,6 +30399,11 @@ public:\n * some spaces after the last quote.\n */\n simdjson_inline std::string_view key_raw_json_token() const noexcept;\n+ /**\n+ * Get the key as a string_view, without quotes and without unescaping.\n+ * This is faster than unescaped_key() but does not handle escape sequences.\n+ */\n+ simdjson_inline std::string_view key_sv() const noexcept;\n /**\n * Get the field value.\n */\n@@ -30432,6 +30437,7 @@ public:\n simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept;\n simdjson_inline simdjson_result key() noexcept;\n simdjson_inline simdjson_result key_raw_json_token() noexcept;\n+ simdjson_inline simdjson_result key_sv() noexcept;\n simdjson_inline simdjson_result value() noexcept;\n };\n \n@@ -32654,6 +32660,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept {\n return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1);\n }\n \n+simdjson_inline std::string_view field::key_sv() const noexcept {\n+ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us.\n+ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1));\n+ // Walk back past any whitespace to find the closing quote\n+ const char* p = end;\n+ while (p > reinterpret_cast(first.buf) && *(p-1) != '\"') { --p; }\n+ // p points just past the closing quote; key content is [first.buf, p-1)\n+ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf));\n+}\n+\n simdjson_inline value &field::value() & noexcept {\n return second;\n }\n@@ -32693,6 +32709,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept {\n+ if (error()) { return error(); }\n+ return first.key_sv();\n+}\n+\n simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept {\n if (error()) { return error(); }\n return first.unescaped_key(allow_replacement);\n@@ -40705,6 +40726,11 @@ public:\n * some spaces after the last quote.\n */\n simdjson_inline std::string_view key_raw_json_token() const noexcept;\n+ /**\n+ * Get the key as a string_view, without quotes and without unescaping.\n+ * This is faster than unescaped_key() but does not handle escape sequences.\n+ */\n+ simdjson_inline std::string_view key_sv() const noexcept;\n /**\n * Get the field value.\n */\n@@ -40738,6 +40764,7 @@ public:\n simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept;\n simdjson_inline simdjson_result key() noexcept;\n simdjson_inline simdjson_result key_raw_json_token() noexcept;\n+ simdjson_inline simdjson_result key_sv() noexcept;\n simdjson_inline simdjson_result value() noexcept;\n };\n \n@@ -42960,6 +42987,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept {\n return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1);\n }\n \n+simdjson_inline std::string_view field::key_sv() const noexcept {\n+ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us.\n+ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1));\n+ // Walk back past any whitespace to find the closing quote\n+ const char* p = end;\n+ while (p > reinterpret_cast(first.buf) && *(p-1) != '\"') { --p; }\n+ // p points just past the closing quote; key content is [first.buf, p-1)\n+ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf));\n+}\n+\n simdjson_inline value &field::value() & noexcept {\n return second;\n }\n@@ -42999,6 +43036,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept {\n+ if (error()) { return error(); }\n+ return first.key_sv();\n+}\n+\n simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept {\n if (error()) { return error(); }\n return first.unescaped_key(allow_replacement);\n@@ -51503,6 +51545,11 @@ public:\n * some spaces after the last quote.\n */\n simdjson_inline std::string_view key_raw_json_token() const noexcept;\n+ /**\n+ * Get the key as a string_view, without quotes and without unescaping.\n+ * This is faster than unescaped_key() but does not handle escape sequences.\n+ */\n+ simdjson_inline std::string_view key_sv() const noexcept;\n /**\n * Get the field value.\n */\n@@ -51536,6 +51583,7 @@ public:\n simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept;\n simdjson_inline simdjson_result key() noexcept;\n simdjson_inline simdjson_result key_raw_json_token() noexcept;\n+ simdjson_inline simdjson_result key_sv() noexcept;\n simdjson_inline simdjson_result value() noexcept;\n };\n \n@@ -53758,6 +53806,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept {\n return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1);\n }\n \n+simdjson_inline std::string_view field::key_sv() const noexcept {\n+ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us.\n+ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1));\n+ // Walk back past any whitespace to find the closing quote\n+ const char* p = end;\n+ while (p > reinterpret_cast(first.buf) && *(p-1) != '\"') { --p; }\n+ // p points just past the closing quote; key content is [first.buf, p-1)\n+ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf));\n+}\n+\n simdjson_inline value &field::value() & noexcept {\n return second;\n }\n@@ -53797,6 +53855,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept {\n+ if (error()) { return error(); }\n+ return first.key_sv();\n+}\n+\n simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept {\n if (error()) { return error(); }\n return first.unescaped_key(allow_replacement);\n@@ -62300,6 +62363,11 @@ public:\n * some spaces after the last quote.\n */\n simdjson_inline std::string_view key_raw_json_token() const noexcept;\n+ /**\n+ * Get the key as a string_view, without quotes and without unescaping.\n+ * This is faster than unescaped_key() but does not handle escape sequences.\n+ */\n+ simdjson_inline std::string_view key_sv() const noexcept;\n /**\n * Get the field value.\n */\n@@ -62333,6 +62401,7 @@ public:\n simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept;\n simdjson_inline simdjson_result key() noexcept;\n simdjson_inline simdjson_result key_raw_json_token() noexcept;\n+ simdjson_inline simdjson_result key_sv() noexcept;\n simdjson_inline simdjson_result value() noexcept;\n };\n \n@@ -64555,6 +64624,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept {\n return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1);\n }\n \n+simdjson_inline std::string_view field::key_sv() const noexcept {\n+ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us.\n+ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1));\n+ // Walk back past any whitespace to find the closing quote\n+ const char* p = end;\n+ while (p > reinterpret_cast(first.buf) && *(p-1) != '\"') { --p; }\n+ // p points just past the closing quote; key content is [first.buf, p-1)\n+ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf));\n+}\n+\n simdjson_inline value &field::value() & noexcept {\n return second;\n }\n@@ -64594,6 +64673,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept {\n+ if (error()) { return error(); }\n+ return first.key_sv();\n+}\n+\n simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept {\n if (error()) { return error(); }\n return first.unescaped_key(allow_replacement);\n@@ -73212,6 +73296,11 @@ public:\n * some spaces after the last quote.\n */\n simdjson_inline std::string_view key_raw_json_token() const noexcept;\n+ /**\n+ * Get the key as a string_view, without quotes and without unescaping.\n+ * This is faster than unescaped_key() but does not handle escape sequences.\n+ */\n+ simdjson_inline std::string_view key_sv() const noexcept;\n /**\n * Get the field value.\n */\n@@ -73245,6 +73334,7 @@ public:\n simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept;\n simdjson_inline simdjson_result key() noexcept;\n simdjson_inline simdjson_result key_raw_json_token() noexcept;\n+ simdjson_inline simdjson_result key_sv() noexcept;\n simdjson_inline simdjson_result value() noexcept;\n };\n \n@@ -75467,6 +75557,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept {\n return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1);\n }\n \n+simdjson_inline std::string_view field::key_sv() const noexcept {\n+ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us.\n+ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1));\n+ // Walk back past any whitespace to find the closing quote\n+ const char* p = end;\n+ while (p > reinterpret_cast(first.buf) && *(p-1) != '\"') { --p; }\n+ // p points just past the closing quote; key content is [first.buf, p-1)\n+ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf));\n+}\n+\n simdjson_inline value &field::value() & noexcept {\n return second;\n }\n@@ -75506,6 +75606,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept {\n+ if (error()) { return error(); }\n+ return first.key_sv();\n+}\n+\n simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept {\n if (error()) { return error(); }\n return first.unescaped_key(allow_replacement);\n@@ -84447,6 +84552,11 @@ public:\n * some spaces after the last quote.\n */\n simdjson_inline std::string_view key_raw_json_token() const noexcept;\n+ /**\n+ * Get the key as a string_view, without quotes and without unescaping.\n+ * This is faster than unescaped_key() but does not handle escape sequences.\n+ */\n+ simdjson_inline std::string_view key_sv() const noexcept;\n /**\n * Get the field value.\n */\n@@ -84480,6 +84590,7 @@ public:\n simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept;\n simdjson_inline simdjson_result key() noexcept;\n simdjson_inline simdjson_result key_raw_json_token() noexcept;\n+ simdjson_inline simdjson_result key_sv() noexcept;\n simdjson_inline simdjson_result value() noexcept;\n };\n \n@@ -86702,6 +86813,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept {\n return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1);\n }\n \n+simdjson_inline std::string_view field::key_sv() const noexcept {\n+ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us.\n+ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1));\n+ // Walk back past any whitespace to find the closing quote\n+ const char* p = end;\n+ while (p > reinterpret_cast(first.buf) && *(p-1) != '\"') { --p; }\n+ // p points just past the closing quote; key content is [first.buf, p-1)\n+ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf));\n+}\n+\n simdjson_inline value &field::value() & noexcept {\n return second;\n }\n@@ -86741,6 +86862,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept {\n+ if (error()) { return error(); }\n+ return first.key_sv();\n+}\n+\n simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept {\n if (error()) { return error(); }\n return first.unescaped_key(allow_replacement);\n"} +{"instance_id": "simdjson__simdjson-2178", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/dom/element-inl.h b/include/simdjson/dom/element-inl.h\nindex 1f071da6..19803b3d 100644\n--- a/include/simdjson/dom/element-inl.h\n+++ b/include/simdjson/dom/element-inl.h\n@@ -384,7 +384,7 @@ inline simdjson_result element::at_pointer(std::string_view json_pointe\n return array(tape).at_pointer(json_pointer);\n default: {\n if(!json_pointer.empty()) { // a non-empty string is invalid on an atom\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n // an empty string means that we return the current node\n dom::element copy(*this);\ndiff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h\nindex 70072c42..7be4e347 100644\n--- a/include/simdjson/generic/ondemand/document-inl.h\n+++ b/include/simdjson/generic/ondemand/document-inl.h\n@@ -312,7 +312,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -329,7 +329,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \ndiff --git a/include/simdjson/generic/ondemand/value-inl.h b/include/simdjson/generic/ondemand/value-inl.h\nindex 41e02fa2..247ca97e 100644\n--- a/include/simdjson/generic/ondemand/value-inl.h\n+++ b/include/simdjson/generic/ondemand/value-inl.h\n@@ -249,7 +249,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -262,7 +262,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \ndiff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex 7a8d24ab..9506c442 100644\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on 2024-05-07 18:04:59 -0400. Do not edit! */\n+/* auto-generated on 2026-07-02 14:38:42 +0000. Do not edit! */\n /* including simdjson.cpp: */\n /* begin file simdjson.cpp */\n #define SIMDJSON_SRC_SIMDJSON_CPP\ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex 985ffe11..a5ed44c7 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -1,4 +1,4 @@\n-/* auto-generated on 2024-05-07 18:04:59 -0400. Do not edit! */\n+/* auto-generated on 2026-07-02 14:38:42 +0000. Do not edit! */\n /* including simdjson.h: */\n /* begin file simdjson.h */\n #ifndef SIMDJSON_H\n@@ -7449,7 +7449,7 @@ inline simdjson_result element::at_pointer(std::string_view json_pointe\n return array(tape).at_pointer(json_pointer);\n default: {\n if(!json_pointer.empty()) { // a non-empty string is invalid on an atom\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n // an empty string means that we return the current node\n dom::element copy(*this);\n@@ -36776,7 +36776,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -36793,7 +36793,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -40093,7 +40093,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -40106,7 +40106,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -47113,7 +47113,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -47130,7 +47130,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -50430,7 +50430,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -50443,7 +50443,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -57942,7 +57942,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -57959,7 +57959,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -61259,7 +61259,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -61272,7 +61272,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -68770,7 +68770,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -68787,7 +68787,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -72087,7 +72087,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -72100,7 +72100,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -79713,7 +79713,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -79730,7 +79730,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -83030,7 +83030,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -83043,7 +83043,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -90979,7 +90979,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -90996,7 +90996,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -94296,7 +94296,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -94309,7 +94309,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -101716,7 +101716,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -101733,7 +101733,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -105033,7 +105033,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -105046,7 +105046,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -112466,7 +112466,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -112483,7 +112483,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -115783,7 +115783,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p\n case json_type::object:\n return (*this).get_object().at_pointer(json_pointer);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n@@ -115796,7 +115796,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path\n case json_type::object:\n return (*this).get_object().at_path(json_path);\n default:\n- return INVALID_JSON_POINTER;\n+ return NO_SUCH_FIELD;\n }\n }\n \n"} +{"instance_id": "simdjson__simdjson-485", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/jsonparser.h b/include/simdjson/jsonparser.h\nindex 4ca162a4..99e0a00e 100644\n--- a/include/simdjson/jsonparser.h\n+++ b/include/simdjson/jsonparser.h\n@@ -11,10 +11,87 @@\n #include \n \n namespace simdjson {\n-// json_parse_implementation is the generic function, it is specialized for\n-// various architectures, e.g., as\n-// json_parse_implementation or\n-// json_parse_implementation\n+\n+class JsonFactory {\n+public:\n+ JsonFactory()=default;\n+ ~JsonFactory()=default;\n+\n+ JsonFactory(JsonFactory &&o) = default;\n+ JsonFactory(const JsonFactory &o) = delete;\n+ JsonFactory &operator=(JsonFactory &&o) = default;\n+ JsonFactory &operator=(const JsonFactory &o) = delete;\n+\n+ WARN_UNUSED\n+ bool allocate(size_t len, size_t max_depth = DEFAULT_MAX_DEPTH);\n+\n+ void deallocate();\n+\n+ size_t byte_capacity{0};\n+ size_t depth_capacity{0};\n+\n+ std::unique_ptr structural_indexes;\n+ uint32_t n_structural_indexes{0};\n+\n+ std::unique_ptr containing_scope_offset;\n+\n+#ifdef SIMDJSON_USE_COMPUTED_GOTO\n+ std::unique_ptr ret_address;\n+#else\n+ std::unique_ptr ret_address;\n+#endif\n+};\n+\n+template \n+int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj,\n+ JsonFactory &factory, bool realloc_if_needed = true) {\n+ if (pj.byte_capacity < len) {\n+ return simdjson::CAPACITY;\n+ }\n+ bool reallocated = false;\n+ if (realloc_if_needed) {\n+ const uint8_t *tmp_buf = buf;\n+ buf = (uint8_t *)allocate_padded_buffer(len);\n+ if (buf == NULL)\n+ return simdjson::MEMALLOC;\n+ memcpy((void *)buf, tmp_buf, len);\n+ reallocated = true;\n+ }\n+ // Swap factory's temporary buffers into pj for parsing\n+ std::swap(pj.structural_indexes, factory.structural_indexes);\n+ std::swap(pj.containing_scope_offset, factory.containing_scope_offset);\n+ std::swap(pj.ret_address, factory.ret_address);\n+ std::swap(pj.n_structural_indexes, factory.n_structural_indexes);\n+ std::swap(pj.depth_capacity, factory.depth_capacity);\n+\n+ int stage1_is_ok = simdjson::find_structural_bits(buf, len, pj);\n+ if (stage1_is_ok != simdjson::SUCCESS) {\n+ // Swap back before returning\n+ std::swap(pj.structural_indexes, factory.structural_indexes);\n+ std::swap(pj.containing_scope_offset, factory.containing_scope_offset);\n+ std::swap(pj.ret_address, factory.ret_address);\n+ std::swap(pj.n_structural_indexes, factory.n_structural_indexes);\n+ std::swap(pj.depth_capacity, factory.depth_capacity);\n+ if (reallocated) {\n+ aligned_free((void *)buf);\n+ }\n+ return pj.error_code;\n+ }\n+ int res = unified_machine(buf, len, pj);\n+\n+ // Swap temporary buffers back to factory\n+ std::swap(pj.structural_indexes, factory.structural_indexes);\n+ std::swap(pj.containing_scope_offset, factory.containing_scope_offset);\n+ std::swap(pj.ret_address, factory.ret_address);\n+ std::swap(pj.n_structural_indexes, factory.n_structural_indexes);\n+ std::swap(pj.depth_capacity, factory.depth_capacity);\n+\n+ if (reallocated) {\n+ aligned_free((void *)buf);\n+ }\n+ return res;\n+}\n+\n template \n int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj,\n bool realloc_if_needed = true) {\n@@ -29,10 +106,10 @@ int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj,\n return simdjson::MEMALLOC;\n memcpy((void *)buf, tmp_buf, len);\n reallocated = true;\n- } // if(realloc_if_needed) {\n+ }\n int stage1_is_ok = simdjson::find_structural_bits(buf, len, pj);\n if (stage1_is_ok != simdjson::SUCCESS) {\n- if (reallocated) { // must free before we exit\n+ if (reallocated) {\n aligned_free((void *)buf);\n }\n return pj.error_code;\n@@ -44,178 +121,79 @@ int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj,\n return res;\n }\n \n-// Parse a document found in buf.\n-//\n-// The content should be a valid JSON document encoded as UTF-8. If there is a\n-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n-// discouraged.\n-//\n-// You need to preallocate ParsedJson with a capacity of len (e.g.,\n-// pj.allocate_capacity(len)).\n-//\n-// The function returns simdjson::SUCCESS (an integer = 0) in case of a success\n-// or an error code from simdjson/simdjson.h in case of failure such as\n-// simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth;\n-// the simdjson::error_message function converts these error codes into a\n-// string).\n-//\n-// You can also check validity by calling pj.is_valid(). The same ParsedJson can\n-// be reused for other documents.\n-//\n-// If realloc_if_needed is true (default) then a temporary buffer is created\n-// when needed during processing (a copy of the input string is made). The input\n-// buf should be readable up to buf + len + SIMDJSON_PADDING if\n-// realloc_if_needed is false, all bytes at and after buf + len are ignored\n-// (can be garbage). The ParsedJson object can be reused.\n+int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj,\n+ JsonFactory &factory, bool realloc_if_needed = true);\n+\n+int json_parse(const char *buf, size_t len, ParsedJson &pj,\n+ JsonFactory &factory, bool realloc_if_needed = true);\n \n int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj,\n bool realloc_if_needed = true);\n \n-// Parse a document found in buf.\n-//\n-// The content should be a valid JSON document encoded as UTF-8. If there is a\n-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n-// discouraged.\n-//\n-// You need to preallocate ParsedJson with a capacity of len (e.g.,\n-// pj.allocate_capacity(len)).\n-//\n-// The function returns simdjson::SUCCESS (an integer = 0) in case of a success\n-// or an error code from simdjson/simdjson.h in case of failure such as\n-// simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth;\n-// the simdjson::error_message function converts these error codes into a\n-// string).\n-//\n-// You can also check validity\n-// by calling pj.is_valid(). The same ParsedJson can be reused for other\n-// documents.\n-//\n-// If realloc_if_needed is true (default) then a temporary buffer is created\n-// when needed during processing (a copy of the input string is made). The input\n-// buf should be readable up to buf + len + SIMDJSON_PADDING if\n-// realloc_if_needed is false, all bytes at and after buf + len are ignored\n-// (can be garbage). The ParsedJson object can be reused.\n int json_parse(const char *buf, size_t len, ParsedJson &pj,\n bool realloc_if_needed = true);\n \n-// We do not want to allow implicit conversion from C string to std::string.\n int json_parse(const char *buf, ParsedJson &pj) = delete;\n \n-// Parse a document found in in string s.\n-// You need to preallocate ParsedJson with a capacity of len (e.g.,\n-// pj.allocate_capacity(len)).\n-//\n-// The function returns simdjson::SUCCESS (an integer = 0) in case of a success\n-// or an error code from simdjson/simdjson.h in case of failure such as\n-// simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth;\n-// the simdjson::error_message function converts these error codes into a\n-// string).\n-//\n-// A temporary buffer is created when needed during processing\n-// (a copy of the input string is made).\n+inline int json_parse(const std::string &s, ParsedJson &pj, JsonFactory &factory) {\n+ return json_parse(s.data(), s.length(), pj, factory, true);\n+}\n+\n inline int json_parse(const std::string &s, ParsedJson &pj) {\n return json_parse(s.data(), s.length(), pj, true);\n }\n \n-// Parse a document found in in string s.\n-//\n-// The content should be a valid JSON document encoded as UTF-8. If there is a\n-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n-// discouraged.\n-//\n-// You need to preallocate ParsedJson with a capacity of len (e.g.,\n-// pj.allocate_capacity(len)).\n-//\n-// The function returns simdjson::SUCCESS (an integer = 0) in case of a success\n-// or an error code from simdjson/simdjson.h in case of failure such as\n-// simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth;\n-// the simdjson::error_message function converts these error codes into a\n-// string).\n-//\n-// You can also check validity\n-// by calling pj.is_valid(). The same ParsedJson can be reused for other\n-// documents.\n+inline int json_parse(const padded_string &s, ParsedJson &pj, JsonFactory &factory) {\n+ return json_parse(s.data(), s.length(), pj, factory, false);\n+}\n+\n inline int json_parse(const padded_string &s, ParsedJson &pj) {\n return json_parse(s.data(), s.length(), pj, false);\n }\n \n-// Build a ParsedJson object. You can check validity\n-// by calling pj.is_valid(). This does the memory allocation needed for\n-// ParsedJson. If realloc_if_needed is true (default) then a temporary buffer is\n-// created when needed during processing (a copy of the input string is made).\n-//\n-// The input buf should be readable up to buf + len + SIMDJSON_PADDING if\n-// realloc_if_needed is false, all bytes at and after buf + len are ignored\n-// (can be garbage).\n-//\n-// The content should be a valid JSON document encoded as UTF-8. If there is a\n-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n-// discouraged.\n-//\n-// This is a convenience function which calls json_parse.\n WARN_UNUSED\n ParsedJson build_parsed_json(const uint8_t *buf, size_t len,\n bool realloc_if_needed = true);\n \n WARN_UNUSED\n-// Build a ParsedJson object. You can check validity\n-// by calling pj.is_valid(). This does the memory allocation needed for\n-// ParsedJson. If realloc_if_needed is true (default) then a temporary buffer is\n-// created when needed during processing (a copy of the input string is made).\n-//\n-// The input buf should be readable up to buf + len + SIMDJSON_PADDING if\n-// realloc_if_needed is false, all bytes at and after buf + len are ignored\n-// (can be garbage).\n-//\n-//\n-// The content should be a valid JSON document encoded as UTF-8. If there is a\n-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n-// discouraged.\n-//\n-// This is a convenience function which calls json_parse.\n inline ParsedJson build_parsed_json(const char *buf, size_t len,\n bool realloc_if_needed = true) {\n return build_parsed_json(reinterpret_cast(buf), len,\n realloc_if_needed);\n }\n \n-// We do not want to allow implicit conversion from C string to std::string.\n ParsedJson build_parsed_json(const char *buf) = delete;\n \n-// Parse a document found in in string s.\n-// You need to preallocate ParsedJson with a capacity of len (e.g.,\n-// pj.allocate_capacity(len)). Return SUCCESS (an integer = 0) in case of a\n-// success. You can also check validity by calling pj.is_valid(). The same\n-// ParsedJson can be reused for other documents.\n-//\n-// A temporary buffer is created when needed during processing\n-// (a copy of the input string is made).\n-//\n-// The content should be a valid JSON document encoded as UTF-8. If there is a\n-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n-// discouraged.\n-//\n-// This is a convenience function which calls json_parse.\n WARN_UNUSED\n inline ParsedJson build_parsed_json(const std::string &s) {\n return build_parsed_json(s.data(), s.length(), true);\n }\n \n-// Parse a document found in in string s.\n-// You need to preallocate ParsedJson with a capacity of len (e.g.,\n-// pj.allocate_capacity(len)). Return SUCCESS (an integer = 0) in case of a\n-// success. You can also check validity by calling pj.is_valid(). The same\n-// ParsedJson can be reused for other documents.\n-//\n-// The content should be a valid JSON document encoded as UTF-8. If there is a\n-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n-// discouraged.\n-//\n-// This is a convenience function which calls json_parse.\n WARN_UNUSED\n inline ParsedJson build_parsed_json(const padded_string &s) {\n return build_parsed_json(s.data(), s.length(), false);\n }\n \n+WARN_UNUSED\n+ParsedJson build_parsed_json(const uint8_t *buf, size_t len,\n+ JsonFactory &factory, bool realloc_if_needed = true);\n+\n+WARN_UNUSED\n+inline ParsedJson build_parsed_json(const char *buf, size_t len,\n+ JsonFactory &factory, bool realloc_if_needed = true) {\n+ return build_parsed_json(reinterpret_cast(buf), len,\n+ factory, realloc_if_needed);\n+}\n+\n+WARN_UNUSED\n+inline ParsedJson build_parsed_json(const std::string &s, JsonFactory &factory) {\n+ return build_parsed_json(s.data(), s.length(), factory, true);\n+}\n+\n+WARN_UNUSED\n+inline ParsedJson build_parsed_json(const padded_string &s, JsonFactory &factory) {\n+ return build_parsed_json(s.data(), s.length(), factory, false);\n+}\n+\n } // namespace simdjson\n #endif\ndiff --git a/include/simdjson/parsedjson.h b/include/simdjson/parsedjson.h\nindex 19e9e555..31362c21 100644\n--- a/include/simdjson/parsedjson.h\n+++ b/include/simdjson/parsedjson.h\n@@ -13,48 +13,32 @@\n // invalid\n \n namespace simdjson {\n-/************\n- * The JSON is parsed to a tape, see the accompanying tape.md file\n- * for documentation.\n- ***********/\n+\n+class JsonFactory;\n+\n class ParsedJson {\n public:\n- // create a ParsedJson container with zero capacity, call allocate_capacity to\n- // allocate memory\n ParsedJson()=default;\n ~ParsedJson()=default;\n \n- // this is a move only class\n ParsedJson(ParsedJson &&p) = default;\n ParsedJson(const ParsedJson &p) = delete;\n ParsedJson &operator=(ParsedJson &&o) = default;\n ParsedJson &operator=(const ParsedJson &o) = delete;\n \n- // if needed, allocate memory so that the object is able to process JSON\n- // documents having up to len bytes and max_depth \"depth\"\n WARN_UNUSED\n bool allocate_capacity(size_t len, size_t max_depth = DEFAULT_MAX_DEPTH);\n \n- // returns true if the document parsed was valid\n bool is_valid() const;\n \n- // return an error code corresponding to the last parsing attempt, see\n- // simdjson.h will return simdjson::UNITIALIZED if no parsing was attempted\n int get_error_code() const;\n \n- // return the string equivalent of \"get_error_code\"\n std::string get_error_message() const;\n \n- // deallocate memory and set capacity to zero, called automatically by the\n- // destructor\n void deallocate();\n \n- // this should be called when parsing (right before writing the tapes)\n void init();\n \n- // print the json to std::ostream (should be valid)\n- // return false if the tape is likely wrong (e.g., you did not parse a valid\n- // JSON).\n WARN_UNUSED\n bool print_json(std::ostream &os) const;\n WARN_UNUSED\n@@ -84,22 +68,17 @@ public:\n write_tape(0, '[');\n return true;\n }\n- // TODO we're not checking this bool\n really_inline bool on_end_document(uint32_t depth) {\n- // write our tape location to the header scope\n- // The root scope gets written *at* the previous location.\n annotate_previous_loc(containing_scope_offset[depth], get_current_loc());\n write_tape(containing_scope_offset[depth], 'r');\n return true;\n }\n really_inline bool on_end_object(uint32_t depth) {\n- // write our tape location to the header scope\n write_tape(containing_scope_offset[depth], '}');\n annotate_previous_loc(containing_scope_offset[depth], get_current_loc());\n return true;\n }\n really_inline bool on_end_array(uint32_t depth) {\n- // write our tape location to the header scope\n write_tape(containing_scope_offset[depth], ']');\n annotate_previous_loc(containing_scope_offset[depth], get_current_loc());\n return true;\n@@ -119,20 +98,13 @@ public:\n }\n \n really_inline uint8_t *on_start_string() {\n- /* we advance the point, accounting for the fact that we have a NULL\n- * termination */\n write_tape(current_string_buf_loc - string_buf.get(), '\"');\n return current_string_buf_loc + sizeof(uint32_t);\n }\n \n really_inline bool on_end_string(uint8_t *dst) {\n uint32_t str_length = dst - (current_string_buf_loc + sizeof(uint32_t));\n- // TODO check for overflow in case someone has a crazy string (>=4GB?)\n- // But only add the overflow check when the document itself exceeds 4GB\n- // Currently unneeded because we refuse to parse docs larger or equal to 4GB.\n memcpy(current_string_buf_loc, &str_length, sizeof(uint32_t));\n- // NULL termination is still handy if you expect all your strings to\n- // be NULL terminated? It comes at a small cost\n *dst = 0;\n current_string_buf_loc = dst + 1;\n return true;\n@@ -153,7 +125,6 @@ public:\n write_tape(0, 'd');\n static_assert(sizeof(value) == sizeof(tape[current_loc]), \"mismatch size\");\n memcpy(&tape[current_loc++], &value, sizeof(double));\n- // tape[current_loc++] = *((uint64_t *)&d);\n return true;\n }\n \n@@ -166,9 +137,9 @@ public:\n template class BasicIterator;\n using Iterator = BasicIterator;\n \n- size_t byte_capacity{0}; // indicates how many bits are meant to be supported\n+ size_t byte_capacity{0};\n \n- size_t depth_capacity{0}; // how deep we can go\n+ size_t depth_capacity{0};\n size_t tape_capacity{0};\n size_t string_capacity{0};\n uint32_t current_loc{0};\n@@ -185,27 +156,12 @@ public:\n std::unique_ptr ret_address;\n #endif\n \n- std::unique_ptr string_buf;// should be at least byte_capacity\n+ std::unique_ptr string_buf;\n uint8_t *current_string_buf_loc;\n bool valid{false};\n int error_code{simdjson::UNINITIALIZED};\n \n private:\n- // all nodes are stored on the tape using a 64-bit word.\n- //\n- // strings, double and ints are stored as\n- // a 64-bit word with a pointer to the actual value\n- //\n- //\n- //\n- // for objects or arrays, store [ or { at the beginning and } and ] at the\n- // end. For the openings ([ or {), we annotate them with a reference to the\n- // location on the tape of the end, and for then closings (} and ]), we\n- // annotate them with a reference to the location of the opening\n- //\n- //\n-\n- // this should be considered a private function\n really_inline void write_tape(uint64_t val, uint8_t c) {\n tape[current_loc++] = val | ((static_cast(c)) << 56);\n }\ndiff --git a/src/jsonparser.cpp b/src/jsonparser.cpp\nindex 9ad398e1..2311fa02 100644\n--- a/src/jsonparser.cpp\n+++ b/src/jsonparser.cpp\n@@ -6,17 +6,13 @@\n \n namespace simdjson {\n \n-// The function that users are expected to call is json_parse.\n-// We have more than one such function because we want to support several\n-// instruction sets.\n-\n-// function pointer type for json_parse\n using json_parse_functype = int(const uint8_t *buf, size_t len, ParsedJson &pj,\n bool realloc);\n+using json_parse_factory_functype = int(const uint8_t *buf, size_t len, ParsedJson &pj,\n+ JsonFactory &factory, bool realloc);\n \n-// Pointer that holds the json_parse implementation corresponding to the\n-// available SIMD instruction set\n extern std::atomic json_parse_ptr;\n+extern std::atomic json_parse_factory_ptr;\n \n int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj,\n bool realloc) {\n@@ -26,7 +22,18 @@ int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj,\n int json_parse(const char *buf, size_t len, ParsedJson &pj,\n bool realloc) {\n return json_parse_ptr.load(std::memory_order_relaxed)(reinterpret_cast(buf), len, pj,\n- realloc);\n+ realloc);\n+}\n+\n+int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj,\n+ JsonFactory &factory, bool realloc) {\n+ return json_parse_factory_ptr.load(std::memory_order_relaxed)(buf, len, pj, factory, realloc);\n+}\n+\n+int json_parse(const char *buf, size_t len, ParsedJson &pj,\n+ JsonFactory &factory, bool realloc) {\n+ return json_parse_factory_ptr.load(std::memory_order_relaxed)(reinterpret_cast(buf), len, pj,\n+ factory, realloc);\n }\n \n Architecture find_best_supported_architecture() {\n@@ -37,7 +44,6 @@ Architecture find_best_supported_architecture() {\n instruction_set::SSE42 | instruction_set::PCLMULQDQ;\n \n uint32_t supports = detect_supported_architectures();\n- // Order from best to worst (within architecture)\n if ((haswell_flags & supports) == haswell_flags)\n return Architecture::HASWELL;\n if ((westmere_flags & supports) == westmere_flags)\n@@ -55,11 +61,36 @@ Architecture parse_architecture(char *architecture) {\n return Architecture::UNSUPPORTED;\n }\n \n-// Responsible to select the best json_parse implementation\n+int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj,\n+ bool realloc);\n+\n+int json_parse_factory_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj,\n+ JsonFactory &factory, bool realloc) {\n+ Architecture best_implementation = find_best_supported_architecture();\n+ switch (best_implementation) {\n+#ifdef IS_X86_64\n+ case Architecture::HASWELL:\n+ json_parse_factory_ptr.store(&json_parse_implementation, std::memory_order_relaxed);\n+ break;\n+ case Architecture::WESTMERE:\n+ json_parse_factory_ptr.store(&json_parse_implementation, std::memory_order_relaxed);\n+ break;\n+#endif\n+#ifdef IS_ARM64\n+ case Architecture::ARM64:\n+ json_parse_factory_ptr.store(&json_parse_implementation, std::memory_order_relaxed);\n+ break;\n+#endif\n+ default:\n+ return simdjson::UNEXPECTED_ERROR;\n+ }\n+\n+ return json_parse_factory_ptr.load(std::memory_order_relaxed)(buf, len, pj, factory, realloc);\n+}\n+\n int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj,\n bool realloc) {\n Architecture best_implementation = find_best_supported_architecture();\n- // Selecting the best implementation\n switch (best_implementation) {\n #ifdef IS_X86_64\n case Architecture::HASWELL:\n@@ -75,7 +106,6 @@ int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj,\n break;\n #endif\n default:\n- // The processor is not supported by simdjson.\n return simdjson::UNEXPECTED_ERROR;\n }\n \n@@ -83,6 +113,7 @@ int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj,\n }\n \n std::atomic json_parse_ptr{&json_parse_dispatch};\n+std::atomic json_parse_factory_ptr{&json_parse_factory_dispatch};\n \n WARN_UNUSED\n ParsedJson build_parsed_json(const uint8_t *buf, size_t len,\n@@ -91,7 +122,18 @@ ParsedJson build_parsed_json(const uint8_t *buf, size_t len,\n bool ok = pj.allocate_capacity(len);\n if (ok) {\n json_parse(buf, len, pj, realloc);\n- } \n+ }\n+ return pj;\n+}\n+\n+WARN_UNUSED\n+ParsedJson build_parsed_json(const uint8_t *buf, size_t len,\n+ JsonFactory &factory, bool realloc) {\n+ ParsedJson pj;\n+ bool ok = pj.allocate_capacity(len);\n+ if (ok && factory.allocate(len)) {\n+ json_parse(buf, len, pj, factory, realloc);\n+ }\n return pj;\n }\n } // namespace simdjson\ndiff --git a/src/parsedjson.cpp b/src/parsedjson.cpp\nindex f1c0fcfa..0d0fac6b 100644\n--- a/src/parsedjson.cpp\n+++ b/src/parsedjson.cpp\n@@ -1,15 +1,16 @@\n #include \"simdjson/parsedjson.h\"\n #include \"simdjson/jsonformatutils.h\"\n+#include \"simdjson/jsonparser.h\"\n \n namespace simdjson {\n \n WARN_UNUSED\n bool ParsedJson::allocate_capacity(size_t len, size_t max_depth) {\n if (max_depth <= 0) {\n- max_depth = 1; // don't let the user allocate nothing\n+ max_depth = 1;\n }\n if (len <= 0) {\n- len = 64; // allocating 0 bytes is wasteful.\n+ len = 64;\n }\n if (len > SIMDJSON_MAXSIZE_BYTES) {\n return false;\n@@ -19,25 +20,17 @@ bool ParsedJson::allocate_capacity(size_t len, size_t max_depth) {\n }\n deallocate();\n valid = false;\n- byte_capacity = 0; // will only set it to len after allocations are a success\n+ byte_capacity = 0;\n n_structural_indexes = 0;\n uint32_t max_structures = ROUNDUP_N(len, 64) + 2 + 7;\n structural_indexes.reset( new (std::nothrow) uint32_t[max_structures]);\n \n- // a pathological input like \"[[[[...\" would generate len tape elements, so\n- // need a capacity of at least len + 1, but it is also possible to do\n- // worse with \"[7,7,7,7,6,7,7,7,6,7,7,6,[7,7,7,7,6,7,7,7,6,7,7,6,7,7,7,7,7,7,6\" \n- //where len + 1 tape elements are\n- // generated, see issue https://github.com/lemire/simdjson/issues/345\n size_t local_tape_capacity = ROUNDUP_N(len + 2, 64);\n- // a document with only zero-length strings... could have len/3 string\n- // and we would need len/3 * 5 bytes on the string buffer\n size_t local_string_capacity = ROUNDUP_N(5 * len / 3 + 32, 64);\n string_buf.reset( new (std::nothrow) uint8_t[local_string_capacity]);\n tape.reset(new (std::nothrow) uint64_t[local_tape_capacity]);\n containing_scope_offset.reset(new (std::nothrow) uint32_t[max_depth]);\n #ifdef SIMDJSON_USE_COMPUTED_GOTO\n- //ret_address = new (std::nothrow) void *[max_depth];\n ret_address.reset(new (std::nothrow) void *[max_depth]);\n #else\n ret_address.reset(new (std::nothrow) char[max_depth]);\n@@ -45,16 +38,8 @@ bool ParsedJson::allocate_capacity(size_t len, size_t max_depth) {\n if (!string_buf || !tape ||\n !containing_scope_offset || !ret_address ||\n !structural_indexes) {\n- // Could not allocate memory\n return false;\n }\n- /*\n- // We do not need to initialize this content for parsing, though we could\n- // need to initialize it for safety.\n- memset(string_buf, 0 , local_string_capacity);\n- memset(structural_indexes, 0, max_structures * sizeof(uint32_t));\n- memset(tape, 0, local_tape_capacity * sizeof(uint64_t));\n- */\n byte_capacity = len;\n depth_capacity = max_depth;\n tape_capacity = local_tape_capacity;\n@@ -102,17 +87,15 @@ bool ParsedJson::print_json(std::ostream &os) const {\n if (type == 'r') {\n how_many = tape_val & JSON_VALUE_MASK;\n } else {\n- // Error: no starting root node?\n return false;\n }\n if (how_many > tape_capacity) {\n- // We may be exceeding the tape capacity. Is this a valid document?\n return false;\n }\n tape_idx++;\n std::unique_ptr in_object(new bool[depth_capacity]);\n std::unique_ptr in_object_idx(new size_t[depth_capacity]);\n- int depth = 1; // only root at level 0\n+ int depth = 1;\n in_object_idx[depth] = 0;\n in_object[depth] = false;\n for (; tape_idx < how_many; tape_idx++) {\n@@ -124,7 +107,7 @@ bool ParsedJson::print_json(std::ostream &os) const {\n os << \",\";\n }\n in_object_idx[depth]++;\n- } else { // if (in_object) {\n+ } else {\n if ((in_object_idx[depth] > 0) && ((in_object_idx[depth] & 1) == 0) &&\n (type != '}')) {\n os << \",\";\n@@ -135,7 +118,7 @@ bool ParsedJson::print_json(std::ostream &os) const {\n in_object_idx[depth]++;\n }\n switch (type) {\n- case '\"': // we have a string\n+ case '\"':\n os << '\"';\n memcpy(&string_length, string_buf.get() + payload, sizeof(uint32_t));\n print_with_escapes(\n@@ -143,7 +126,7 @@ bool ParsedJson::print_json(std::ostream &os) const {\n os, string_length);\n os << '\"';\n break;\n- case 'l': // we have a long int\n+ case 'l':\n if (tape_idx + 1 >= how_many) {\n return false;\n }\n@@ -155,7 +138,7 @@ bool ParsedJson::print_json(std::ostream &os) const {\n }\n os << tape[++tape_idx];\n break;\n- case 'd': // we have a double\n+ case 'd':\n if (tape_idx + 1 >= how_many) {\n return false;\n }\n@@ -163,40 +146,38 @@ bool ParsedJson::print_json(std::ostream &os) const {\n memcpy(&answer, &tape[++tape_idx], sizeof(answer));\n os << answer;\n break;\n- case 'n': // we have a null\n+ case 'n':\n os << \"null\";\n break;\n- case 't': // we have a true\n+ case 't':\n os << \"true\";\n break;\n- case 'f': // we have a false\n+ case 'f':\n os << \"false\";\n break;\n- case '{': // we have an object\n+ case '{':\n os << '{';\n depth++;\n in_object[depth] = true;\n in_object_idx[depth] = 0;\n break;\n- case '}': // we end an object\n+ case '}':\n depth--;\n os << '}';\n break;\n- case '[': // we start an array\n+ case '[':\n os << '[';\n depth++;\n in_object[depth] = false;\n in_object_idx[depth] = 0;\n break;\n- case ']': // we end an array\n+ case ']':\n depth--;\n os << ']';\n break;\n- case 'r': // we start and end with the root node\n- // should we be hitting the root node?\n+ case 'r':\n return false;\n default:\n- // bug?\n return false;\n }\n }\n@@ -218,7 +199,6 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const {\n if (type == 'r') {\n how_many = tape_val & JSON_VALUE_MASK;\n } else {\n- // Error: no starting root node?\n return false;\n }\n os << \"\\t// pointing to \" << how_many << \" (right after last node)\\n\";\n@@ -229,7 +209,7 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const {\n payload = tape_val & JSON_VALUE_MASK;\n type = (tape_val >> 56);\n switch (type) {\n- case '\"': // we have a string\n+ case '\"':\n os << \"string \\\"\";\n memcpy(&string_length, string_buf.get() + payload, sizeof(uint32_t));\n print_with_escapes(\n@@ -239,19 +219,19 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const {\n os << '\"';\n os << '\\n';\n break;\n- case 'l': // we have a long int\n+ case 'l':\n if (tape_idx + 1 >= how_many) {\n return false;\n }\n os << \"integer \" << static_cast(tape[++tape_idx]) << \"\\n\";\n break;\n- case 'u': // we have a long uint\n+ case 'u':\n if (tape_idx + 1 >= how_many) {\n return false;\n }\n os << \"unsigned integer \" << tape[++tape_idx] << \"\\n\";\n break;\n- case 'd': // we have a double\n+ case 'd':\n os << \"float \";\n if (tape_idx + 1 >= how_many) {\n return false;\n@@ -260,33 +240,32 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const {\n memcpy(&answer, &tape[++tape_idx], sizeof(answer));\n os << answer << '\\n';\n break;\n- case 'n': // we have a null\n+ case 'n':\n os << \"null\\n\";\n break;\n- case 't': // we have a true\n+ case 't':\n os << \"true\\n\";\n break;\n- case 'f': // we have a false\n+ case 'f':\n os << \"false\\n\";\n break;\n- case '{': // we have an object\n+ case '{':\n os << \"{\\t// pointing to next tape location \" << payload\n << \" (first node after the scope) \\n\";\n break;\n- case '}': // we end an object\n+ case '}':\n os << \"}\\t// pointing to previous tape location \" << payload\n << \" (start of the scope) \\n\";\n break;\n- case '[': // we start an array\n+ case '[':\n os << \"[\\t// pointing to next tape location \" << payload\n << \" (first node after the scope) \\n\";\n break;\n- case ']': // we end an array\n+ case ']':\n os << \"]\\t// pointing to previous tape location \" << payload\n << \" (start of the scope) \\n\";\n break;\n- case 'r': // we start and end with the root node\n- // should we be hitting the root node?\n+ case 'r':\n return false;\n default:\n return false;\n@@ -299,4 +278,46 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const {\n << \" (start root)\\n\";\n return true;\n }\n+\n+WARN_UNUSED\n+bool JsonFactory::allocate(size_t len, size_t max_depth) {\n+ if (max_depth <= 0) {\n+ max_depth = 1;\n+ }\n+ if (len <= 0) {\n+ len = 64;\n+ }\n+ if (len > SIMDJSON_MAXSIZE_BYTES) {\n+ return false;\n+ }\n+ if ((len <= byte_capacity) && (max_depth <= depth_capacity)) {\n+ return true;\n+ }\n+ deallocate();\n+ byte_capacity = 0;\n+ n_structural_indexes = 0;\n+ uint32_t max_structures = ROUNDUP_N(len, 64) + 2 + 7;\n+ structural_indexes.reset(new (std::nothrow) uint32_t[max_structures]);\n+ containing_scope_offset.reset(new (std::nothrow) uint32_t[max_depth]);\n+#ifdef SIMDJSON_USE_COMPUTED_GOTO\n+ ret_address.reset(new (std::nothrow) void *[max_depth]);\n+#else\n+ ret_address.reset(new (std::nothrow) char[max_depth]);\n+#endif\n+ if (!containing_scope_offset || !ret_address || !structural_indexes) {\n+ return false;\n+ }\n+ byte_capacity = len;\n+ depth_capacity = max_depth;\n+ return true;\n+}\n+\n+void JsonFactory::deallocate() {\n+ byte_capacity = 0;\n+ depth_capacity = 0;\n+ ret_address.reset();\n+ containing_scope_offset.reset();\n+ structural_indexes.reset();\n+}\n+\n } // namespace simdjson\n"} +{"instance_id": "simdjson__simdjson-524", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/CMakeLists.txt b/CMakeLists.txt\nindex 5eefe0a7..567be756 100644\n--- a/CMakeLists.txt\n+++ b/CMakeLists.txt\n@@ -50,6 +50,7 @@ find_package(Options)\n \n option(SIMDJSON_ENABLE_THREADS \"enable threaded operation\" ON)\n install(DIRECTORY include/${SIMDJSON_LIB_NAME} DESTINATION include)\n+install(FILES include/simdjson.cpp DESTINATION include)\n set (TEST_DATA_DIR \"${CMAKE_CURRENT_SOURCE_DIR}/jsonchecker/\")\n set (BENCHMARK_DATA_DIR \"${CMAKE_CURRENT_SOURCE_DIR}/jsonexamples/\")\n add_definitions(-DSIMDJSON_TEST_DATA_DIR=\"${TEST_DATA_DIR}\")\ndiff --git a/Makefile b/Makefile\nindex 69bc6334..d7ce762a 100644\n--- a/Makefile\n+++ b/Makefile\n@@ -70,7 +70,7 @@ LIBHEADERS_HASWELL= src/haswell/bitmanipulation.h src/haswell/bitmask.h src/h\n LIBHEADERS_WESTMERE=src/westmere/bitmanipulation.h src/westmere/bitmask.h src/westmere/intrinsics.h src/westmere/numberparsing.h src/westmere/simd.h src/westmere/stage1_find_marks.h src/westmere/stage2_build_tape.h src/westmere/stringparsing.h\n LIBHEADERS=src/jsoncharutils.h src/simdprune_tables.h $(LIBHEADERS_GENERIC) $(LIBHEADERS_ARM64) $(LIBHEADERS_HASWELL) $(LIBHEADERS_WESTMERE)\n \n-PUBHEADERS=include/simdjson/common_defs.h include/simdjson/isadetection.h include/simdjson/jsonformatutils.h include/simdjson/jsonioutil.h include/simdjson/jsonminifier.h include/simdjson/jsonparser.h include/simdjson/padded_string.h include/simdjson/document.h include/simdjson/inline/document.h include/simdjson/document_iterator.h include/simdjson/inline/document_iterator.h include/simdjson/implementation.h include/simdjson/parsedjson.h include/simdjson/jsonstream.h include/simdjson/portability.h include/simdjson/error.h include/simdjson/simdjson.h include/simdjson/simdjson_version.h\n+PUBHEADERS=include/simdjson/common_defs.h include/simdjson/isadetection.h include/simdjson/jsonformatutils.h include/simdjson/jsonioutil.h include/simdjson/jsonminifier.h include/simdjson/jsonparser.h include/simdjson/padded_string.h include/simdjson/document.h include/simdjson/inline/document.h include/simdjson/document_iterator.h include/simdjson/inline/document_iterator.h include/simdjson/implementation.h include/simdjson/parsedjson.h include/simdjson/jsonstream.h include/simdjson/portability.h include/simdjson/error.h include/simdjson/simdjson.h include/simdjson/simdjson_version.h include/simdjson.cpp\n HEADERS=$(PUBHEADERS) $(LIBHEADERS)\n \n LIBFILES=src/document.cpp src/error.cpp src/jsonioutil.cpp src/implementation.cpp src/stage1_find_marks.cpp src/stage2_build_tape.cpp\ndiff --git a/amalgamation.sh b/amalgamation.sh\nindex bb8afb6a..a59fd538 100755\n--- a/amalgamation.sh\n+++ b/amalgamation.sh\n@@ -30,16 +30,19 @@ ALLCHEADERS=\"\n simdjson/simdjson_version.h\n simdjson/portability.h\n simdjson/isadetection.h\n-simdjson/jsonformatutils.h\n-simdjson/simdjson.h\n simdjson/common_defs.h\n+simdjson/error.h\n+simdjson/jsonformatutils.h\n simdjson/padded_string.h\n simdjson/jsonioutil.h\n simdjson/jsonminifier.h\n simdjson/document.h\n+simdjson/document_iterator.h\n simdjson/parsedjson.h\n simdjson/jsonparser.h\n simdjson/jsonstream.h\n+simdjson/implementation.h\n+simdjson/simdjson.h\n \"\n \n found_includes=()\ndiff --git a/include/simdjson.cpp b/include/simdjson.cpp\nnew file mode 100644\nindex 00000000..bf1d4550\n--- /dev/null\n+++ b/include/simdjson.cpp\n@@ -0,0 +1,13 @@\n+#include \"simdjson/simdjson.h\"\n+\n+#ifdef DMALLOC\n+#include \"dmalloc.h\"\n+#endif\n+\n+#include \"document.cpp\"\n+#include \"error.cpp\"\n+#include \"implementation.cpp\"\n+#include \"jsonioutil.cpp\"\n+#include \"jsonminifier.cpp\"\n+#include \"stage1_find_marks.cpp\"\n+#include \"stage2_build_tape.cpp\"\ndiff --git a/include/simdjson/document.h b/include/simdjson/document.h\nindex 82eb19f4..71775b8a 100644\n--- a/include/simdjson/document.h\n+++ b/include/simdjson/document.h\n@@ -6,7 +6,7 @@\n #include \n #include \n #include \"simdjson/common_defs.h\"\n-#include \"simdjson/simdjson.h\"\n+#include \"simdjson/error.h\"\n #include \"simdjson/padded_string.h\"\n \n #define JSON_VALUE_MASK 0x00FFFFFFFFFFFFFF\ndiff --git a/include/simdjson/jsonstream.h b/include/simdjson/jsonstream.h\nindex a8824cbd..26f324ef 100644\n--- a/include/simdjson/jsonstream.h\n+++ b/include/simdjson/jsonstream.h\n@@ -7,7 +7,7 @@\n #include \n #include \"simdjson/isadetection.h\"\n #include \"simdjson/padded_string.h\"\n-#include \"simdjson/simdjson.h\"\n+#include \"simdjson/error.h\"\n #include \"jsoncharutils.h\"\n \n \ndiff --git a/include/simdjson/simdjson.h b/include/simdjson/simdjson.h\nindex 1d736771..096c3b94 100644\n--- a/include/simdjson/simdjson.h\n+++ b/include/simdjson/simdjson.h\n@@ -17,6 +17,19 @@\n #error simdjson requires a compiler compliant with the C++17 standard\n #endif\n \n+#include \"simdjson/simdjson_version.h\"\n+#include \"simdjson/portability.h\"\n+#include \"simdjson/isadetection.h\"\n+#include \"simdjson/common_defs.h\"\n #include \"simdjson/error.h\"\n+#include \"simdjson/padded_string.h\"\n+#include \"simdjson/jsonioutil.h\"\n+#include \"simdjson/jsonminifier.h\"\n+#include \"simdjson/document.h\"\n+#include \"simdjson/parsedjson.h\"\n+#include \"simdjson/jsonparser.h\"\n+#include \"simdjson/jsonstream.h\"\n+#include \"simdjson/document_iterator.h\"\n+#include \"simdjson/implementation.h\"\n \n-#endif // SIMDJSON_H\n+#endif // SIMDJSON_SIMDJSON_H\ndiff --git a/singleheader/amalgamation_demo.cpp b/singleheader/amalgamation_demo.cpp\nindex d3f18938..361e7894 100755\n--- a/singleheader/amalgamation_demo.cpp\n+++ b/singleheader/amalgamation_demo.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on Sat Feb 22 10:41:58 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 19:27:13 UTC 2026. Do not edit! */\n \n #include \n #include \"simdjson.h\"\n@@ -11,7 +11,9 @@ int main(int argc, char *argv[]) {\n simdjson::padded_string p = simdjson::get_corpus(filename);\n auto [doc, error] = simdjson::document::parse(p); // do the parsing\n if (error) {\n- std::cout << \"document::parse not valid\" << std::endl;\n+ std::cout << \"document::parse failed\" << std::endl;\n+ std::cout << \"error code: \" << error << std::endl;\n+ std::cout << error_message(error) << std::endl;\n } else {\n std::cout << \"document::parse valid\" << std::endl;\n }\ndiff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex faa55d97..8b042d66 100755\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on Sat Feb 22 10:41:58 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 19:27:13 UTC 2026. Do not edit! */\n #include \"simdjson.h\"\n \n /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */\n@@ -31,8 +31,7 @@ bool document::set_capacity(size_t capacity) {\n return string_buf && tape;\n }\n \n-WARN_UNUSED\n-bool document::print_json(std::ostream &os, size_t max_depth) const {\n+bool document::print_json(std::ostream &os, size_t max_depth) const noexcept {\n uint32_t string_length;\n size_t tape_idx = 0;\n uint64_t tape_val = tape[tape_idx];\n@@ -138,8 +137,7 @@ bool document::print_json(std::ostream &os, size_t max_depth) const {\n return true;\n }\n \n-WARN_UNUSED\n-bool document::dump_raw_tape(std::ostream &os) const {\n+bool document::dump_raw_tape(std::ostream &os) const noexcept {\n uint32_t string_length;\n size_t tape_idx = 0;\n uint64_t tape_val = tape[tape_idx];\n@@ -325,6 +323,9 @@ const std::map error_strings = {\n {UNSUPPORTED_ARCHITECTURE, \"simdjson does not have an implementation\"\n \" supported by this CPU architecture (perhaps\"\n \" it's a non-SIMD CPU?).\"},\n+ {INCORRECT_TYPE, \"The JSON element does not have the requested type.\"},\n+ {NUMBER_OUT_OF_RANGE, \"The JSON number is too large or too small to fit within the requested type.\"},\n+ {NO_SUCH_FIELD, \"The JSON field referenced does not exist in this object.\"},\n {UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as\"\n \" you may have found a bug in simdjson\"},\n };\n@@ -2330,7 +2331,7 @@ really_inline uint64_t follows(const uint64_t match, uint64_t &overflow) {\n really_inline uint64_t follows(const uint64_t match, const uint64_t filler, uint64_t &overflow) {\n uint64_t follows_match = follows(match, overflow);\n uint64_t result;\n- overflow |= add_overflow(follows_match, filler, &result);\n+ overflow |= uint64_t(add_overflow(follows_match, filler, &result));\n return result;\n }\n \n@@ -2639,7 +2640,6 @@ namespace simdjson::haswell::simd {\n really_inline Child operator&(const Child other) const { return _mm256_and_si256(*this, other); }\n really_inline Child operator^(const Child other) const { return _mm256_xor_si256(*this, other); }\n really_inline Child bit_andnot(const Child other) const { return _mm256_andnot_si256(other, *this); }\n- really_inline Child operator~() const { return *this ^ 0xFFu; }\n really_inline Child& operator|=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast | other; return *this_cast; }\n really_inline Child& operator&=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast & other; return *this_cast; }\n really_inline Child& operator^=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast ^ other; return *this_cast; }\n@@ -2679,6 +2679,7 @@ namespace simdjson::haswell::simd {\n \n really_inline int to_bitmask() const { return _mm256_movemask_epi8(*this); }\n really_inline bool any() const { return !_mm256_testz_si256(*this, *this); }\n+ really_inline simd8 operator~() const { return *this ^ true; }\n };\n \n template\n@@ -2713,6 +2714,9 @@ namespace simdjson::haswell::simd {\n really_inline simd8& operator+=(const simd8 other) { *this = *this + other; return *(simd8*)this; }\n really_inline simd8& operator-=(const simd8 other) { *this = *this - other; return *(simd8*)this; }\n \n+ // Override to distinguish from bool version\n+ really_inline simd8 operator~() const { return *this ^ 0xFFu; }\n+\n // Perform a lookup assuming the value is between 0 and 16 (undefined behavior for out of range values)\n template\n really_inline simd8 lookup_16(simd8 lookup_table) const {\n@@ -3675,7 +3679,7 @@ really_inline uint64_t follows(const uint64_t match, uint64_t &overflow) {\n really_inline uint64_t follows(const uint64_t match, const uint64_t filler, uint64_t &overflow) {\n uint64_t follows_match = follows(match, overflow);\n uint64_t result;\n- overflow |= add_overflow(follows_match, filler, &result);\n+ overflow |= uint64_t(add_overflow(follows_match, filler, &result));\n return result;\n }\n \n@@ -3982,7 +3986,6 @@ namespace simdjson::westmere::simd {\n really_inline Child operator&(const Child other) const { return _mm_and_si128(*this, other); }\n really_inline Child operator^(const Child other) const { return _mm_xor_si128(*this, other); }\n really_inline Child bit_andnot(const Child other) const { return _mm_andnot_si128(other, *this); }\n- really_inline Child operator~() const { return *this ^ 0xFFu; }\n really_inline Child& operator|=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast | other; return *this_cast; }\n really_inline Child& operator&=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast & other; return *this_cast; }\n really_inline Child& operator^=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast ^ other; return *this_cast; }\n@@ -4022,6 +4025,7 @@ namespace simdjson::westmere::simd {\n \n really_inline int to_bitmask() const { return _mm_movemask_epi8(*this); }\n really_inline bool any() const { return !_mm_testz_si128(*this, *this); }\n+ really_inline simd8 operator~() const { return *this ^ true; }\n };\n \n template\n@@ -4048,6 +4052,9 @@ namespace simdjson::westmere::simd {\n // Store to array\n really_inline void store(T dst[16]) const { return _mm_storeu_si128(reinterpret_cast<__m128i *>(dst), *this); }\n \n+ // Override to distinguish from bool version\n+ really_inline simd8 operator~() const { return *this ^ 0xFFu; }\n+\n // Addition/subtraction are the same for signed and unsigned\n really_inline simd8 operator+(const simd8 other) const { return _mm_add_epi8(*this, other); }\n really_inline simd8 operator-(const simd8 other) const { return _mm_sub_epi8(*this, other); }\n@@ -5032,7 +5039,7 @@ really_inline uint64_t follows(const uint64_t match, uint64_t &overflow) {\n really_inline uint64_t follows(const uint64_t match, const uint64_t filler, uint64_t &overflow) {\n uint64_t follows_match = follows(match, overflow);\n uint64_t result;\n- overflow |= add_overflow(follows_match, filler, &result);\n+ overflow |= uint64_t(add_overflow(follows_match, filler, &result));\n return result;\n }\n \ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex 54b9cf7f..dcc1642b 100755\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -1,4 +1,4 @@\n-/* auto-generated on Sat Feb 22 10:41:58 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 19:27:13 UTC 2026. Do not edit! */\n /* begin file include/simdjson/simdjson_version.h */\n // /include/simdjson/simdjson_version.h automatically generated by release.py,\n // do not change by hand\n@@ -289,6 +289,128 @@ static inline uint32_t detect_supported_architectures() {\n } // namespace simdjson\n #endif\n /* end file include/simdjson/isadetection.h */\n+/* begin file include/simdjson/common_defs.h */\n+#ifndef SIMDJSON_COMMON_DEFS_H\n+#define SIMDJSON_COMMON_DEFS_H\n+\n+#include \n+\n+// we support documents up to 4GB\n+#define SIMDJSON_MAXSIZE_BYTES 0xFFFFFFFF\n+\n+// the input buf should be readable up to buf + SIMDJSON_PADDING\n+// this is a stopgap; there should be a better description of the\n+// main loop and its behavior that abstracts over this\n+// See https://github.com/lemire/simdjson/issues/174\n+#define SIMDJSON_PADDING 32\n+\n+#if defined(__GNUC__)\n+// Marks a block with a name so that MCA analysis can see it.\n+#define BEGIN_DEBUG_BLOCK(name) __asm volatile(\"# LLVM-MCA-BEGIN \" #name);\n+#define END_DEBUG_BLOCK(name) __asm volatile(\"# LLVM-MCA-END \" #name);\n+#define DEBUG_BLOCK(name, block) BEGIN_DEBUG_BLOCK(name); block; END_DEBUG_BLOCK(name);\n+#else\n+#define BEGIN_DEBUG_BLOCK(name)\n+#define END_DEBUG_BLOCK(name)\n+#define DEBUG_BLOCK(name, block)\n+#endif\n+\n+#if !defined(_MSC_VER) && !defined(SIMDJSON_NO_COMPUTED_GOTO)\n+// Implemented using Labels as Values which works in GCC and CLANG (and maybe\n+// also in Intel's compiler), but won't work in MSVC.\n+#define SIMDJSON_USE_COMPUTED_GOTO\n+#endif\n+\n+// Align to N-byte boundary\n+#define ROUNDUP_N(a, n) (((a) + ((n)-1)) & ~((n)-1))\n+#define ROUNDDOWN_N(a, n) ((a) & ~((n)-1))\n+\n+#define ISALIGNED_N(ptr, n) (((uintptr_t)(ptr) & ((n)-1)) == 0)\n+\n+#ifdef _MSC_VER\n+#define really_inline __forceinline\n+#define never_inline __declspec(noinline)\n+\n+#define UNUSED\n+#define WARN_UNUSED\n+\n+#ifndef likely\n+#define likely(x) x\n+#endif\n+#ifndef unlikely\n+#define unlikely(x) x\n+#endif\n+\n+\n+#else\n+\n+\n+#define really_inline inline __attribute__((always_inline, unused))\n+#define never_inline inline __attribute__((noinline, unused))\n+\n+#define UNUSED __attribute__((unused))\n+#define WARN_UNUSED __attribute__((warn_unused_result))\n+\n+#ifndef likely\n+#define likely(x) __builtin_expect(!!(x), 1)\n+#endif\n+#ifndef unlikely\n+#define unlikely(x) __builtin_expect(!!(x), 0)\n+#endif\n+\n+#endif // MSC_VER\n+\n+#endif // SIMDJSON_COMMON_DEFS_H\n+/* end file include/simdjson/common_defs.h */\n+/* begin file include/simdjson/error.h */\n+#ifndef SIMDJSON_ERROR_H\n+#define SIMDJSON_ERROR_H\n+\n+#include \n+\n+namespace simdjson {\n+\n+enum error_code {\n+ SUCCESS = 0,\n+ SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data\n+ CAPACITY, // This parser can't support a document that big\n+ MEMALLOC, // Error allocating memory, most likely out of memory\n+ TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this\n+ // is a generic error\n+ DEPTH_ERROR, // Your document exceeds the user-specified depth limitation\n+ STRING_ERROR, // Problem while parsing a string\n+ T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't'\n+ F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f'\n+ N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n'\n+ NUMBER_ERROR, // Problem while parsing a number\n+ UTF8_ERROR, // the input is not valid UTF-8\n+ UNINITIALIZED, // unknown error, or uninitialized document\n+ EMPTY, // no structural element found\n+ UNESCAPED_CHARS, // found unescaped characters in a string.\n+ UNCLOSED_STRING, // missing quote at the end\n+ UNSUPPORTED_ARCHITECTURE, // unsupported architecture\n+ INCORRECT_TYPE, // JSON element has a different type than user expected\n+ NUMBER_OUT_OF_RANGE, // JSON number does not fit in 64 bits\n+ NO_SUCH_FIELD, // JSON field not found in object\n+ UNEXPECTED_ERROR // indicative of a bug in simdjson\n+};\n+\n+const std::string &error_message(error_code error) noexcept;\n+\n+struct invalid_json : public std::exception {\n+ invalid_json(error_code _error) : error{_error} { }\n+ const char *what() const noexcept { return error_message(error).c_str(); }\n+ error_code error;\n+};\n+\n+// TODO these are deprecated, remove\n+using ErrorValues = error_code;\n+inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); }\n+\n+} // namespace simdjson\n+\n+#endif // SIMDJSON_ERROR_H\n+/* end file include/simdjson/error.h */\n /* begin file include/simdjson/jsonformatutils.h */\n #ifndef SIMDJSON_JSONFORMATUTILS_H\n #define SIMDJSON_JSONFORMATUTILS_H\n@@ -407,242 +529,100 @@ static inline void print_with_escapes(const char *src, std::ostream &os,\n \n #endif\n /* end file include/simdjson/jsonformatutils.h */\n-/* begin file include/simdjson/simdjson.h */\n-#ifndef SIMDJSON_SIMDJSON_H\n-#define SIMDJSON_SIMDJSON_H\n+/* begin file include/simdjson/padded_string.h */\n+#ifndef SIMDJSON_PADDING_STRING_H\n+#define SIMDJSON_PADDING_STRING_H\n \n-#ifndef __cplusplus\n-#error simdjson requires a C++ compiler\n-#endif\n+#include \n+#include \n+#include \n \n-#ifndef SIMDJSON_CPLUSPLUS\n-#if defined(_MSVC_LANG) && !defined(__clang__)\n-#define SIMDJSON_CPLUSPLUS (_MSC_VER == 1900 ? 201103L : _MSVC_LANG)\n-#else\n-#define SIMDJSON_CPLUSPLUS __cplusplus\n-#endif\n-#endif\n \n-#if (SIMDJSON_CPLUSPLUS < 201703L)\n-#error simdjson requires a compiler compliant with the C++17 standard\n-#endif\n+namespace simdjson {\n+// low-level function to allocate memory with padding so we can read past the\n+// \"length\" bytes safely. if you must provide a pointer to some data, create it\n+// with this function: length is the max. size in bytes of the string caller is\n+// responsible to free the memory (free(...))\n+inline char *allocate_padded_buffer(size_t length) noexcept {\n+ // we could do a simple malloc\n+ // return (char *) malloc(length + SIMDJSON_PADDING);\n+ // However, we might as well align to cache lines...\n+ size_t totalpaddedlength = length + SIMDJSON_PADDING;\n+ char *padded_buffer = aligned_malloc_char(64, totalpaddedlength);\n+#ifndef NDEBUG\n+ if (padded_buffer == nullptr) {\n+ return nullptr;\n+ }\n+#endif // NDEBUG\n+ memset(padded_buffer + length, 0, totalpaddedlength - length);\n+ return padded_buffer;\n+} // allocate_padded_buffer\n \n-/* begin file include/simdjson/error.h */\n-#ifndef SIMDJSON_ERROR_H\n-#define SIMDJSON_ERROR_H\n+// Simple string with padded allocation.\n+// We deliberately forbid copies, users should rely on swap or move\n+// constructors.\n+struct padded_string final {\n \n-#include \n+ explicit padded_string() noexcept : viable_size(0), data_ptr(nullptr) {}\n \n-namespace simdjson {\n+ explicit padded_string(size_t length) noexcept\n+ : viable_size(length), data_ptr(allocate_padded_buffer(length)) {\n+ if (data_ptr != nullptr)\n+ data_ptr[length] = '\\0'; // easier when you need a c_str\n+ }\n \n-enum error_code {\n- SUCCESS = 0,\n- SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data\n- CAPACITY, // This parser can't support a document that big\n- MEMALLOC, // Error allocating memory, most likely out of memory\n- TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this\n- // is a generic error\n- DEPTH_ERROR, // Your document exceeds the user-specified depth limitation\n- STRING_ERROR, // Problem while parsing a string\n- T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't'\n- F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f'\n- N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n'\n- NUMBER_ERROR, // Problem while parsing a number\n- UTF8_ERROR, // the input is not valid UTF-8\n- UNINITIALIZED, // unknown error, or uninitialized document\n- EMPTY, // no structural element found\n- UNESCAPED_CHARS, // found unescaped characters in a string.\n- UNCLOSED_STRING, // missing quote at the end\n- UNSUPPORTED_ARCHITECTURE, // unsupported architecture\n- UNEXPECTED_ERROR // indicative of a bug in simdjson\n-};\n+ explicit padded_string(const char *data, size_t length) noexcept\n+ : viable_size(length), data_ptr(allocate_padded_buffer(length)) {\n+ if ((data != nullptr) and (data_ptr != nullptr)) {\n+ memcpy(data_ptr, data, length);\n+ data_ptr[length] = '\\0'; // easier when you need a c_str\n+ }\n+ }\n \n-const std::string &error_message(error_code error) noexcept;\n+ // note: do not pass std::string arguments by value\n+ padded_string(const std::string & str_ ) noexcept\n+ : viable_size(str_.size()), data_ptr(allocate_padded_buffer(str_.size())) {\n+ if (data_ptr != nullptr) {\n+ memcpy(data_ptr, str_.data(), str_.size());\n+ data_ptr[str_.size()] = '\\0'; // easier when you need a c_str\n+ }\n+ }\n \n-struct invalid_json : public std::exception {\n- invalid_json(error_code _error) : error{_error} {}\n- const char *what() const noexcept { return error_message(error).c_str(); }\n- error_code error;\n-};\n+ // note: do pass std::string_view arguments by value\n+ padded_string(std::string_view sv_) noexcept\n+ : viable_size(sv_.size()), data_ptr(allocate_padded_buffer(sv_.size())) {\n+ if (data_ptr != nullptr) {\n+ memcpy(data_ptr, sv_.data(), sv_.size());\n+ data_ptr[sv_.size()] = '\\0'; // easier when you need a c_str\n+ }\n+ }\n \n-// TODO these are deprecated, remove\n-using ErrorValues = error_code;\n-inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); }\n+ padded_string(padded_string &&o) noexcept\n+ : viable_size(o.viable_size), data_ptr(o.data_ptr) {\n+ o.data_ptr = nullptr; // we take ownership\n+ }\n \n-} // namespace simdjson\n+ padded_string &operator=(padded_string &&o) {\n+ aligned_free_char(data_ptr);\n+ data_ptr = o.data_ptr;\n+ viable_size = o.viable_size;\n+ o.data_ptr = nullptr; // we take ownership\n+ o.viable_size = 0;\n+ return *this;\n+ }\n \n-#endif // SIMDJSON_ERROR_H\n-/* end file include/simdjson/error.h */\n+ void swap(padded_string &o) {\n+ size_t tmp_viable_size = viable_size;\n+ char *tmp_data_ptr = data_ptr;\n+ viable_size = o.viable_size;\n+ data_ptr = o.data_ptr;\n+ o.data_ptr = tmp_data_ptr;\n+ o.viable_size = tmp_viable_size;\n+ }\n \n-#endif // SIMDJSON_H\n-/* end file include/simdjson/error.h */\n-/* begin file include/simdjson/common_defs.h */\n-#ifndef SIMDJSON_COMMON_DEFS_H\n-#define SIMDJSON_COMMON_DEFS_H\n-\n-#include \n-\n-// we support documents up to 4GB\n-#define SIMDJSON_MAXSIZE_BYTES 0xFFFFFFFF\n-\n-// the input buf should be readable up to buf + SIMDJSON_PADDING\n-// this is a stopgap; there should be a better description of the\n-// main loop and its behavior that abstracts over this\n-// See https://github.com/lemire/simdjson/issues/174\n-#define SIMDJSON_PADDING 32\n-\n-#if defined(__GNUC__)\n-// Marks a block with a name so that MCA analysis can see it.\n-#define BEGIN_DEBUG_BLOCK(name) __asm volatile(\"# LLVM-MCA-BEGIN \" #name);\n-#define END_DEBUG_BLOCK(name) __asm volatile(\"# LLVM-MCA-END \" #name);\n-#define DEBUG_BLOCK(name, block) BEGIN_DEBUG_BLOCK(name); block; END_DEBUG_BLOCK(name);\n-#else\n-#define BEGIN_DEBUG_BLOCK(name)\n-#define END_DEBUG_BLOCK(name)\n-#define DEBUG_BLOCK(name, block)\n-#endif\n-\n-#if !defined(_MSC_VER) && !defined(SIMDJSON_NO_COMPUTED_GOTO)\n-// Implemented using Labels as Values which works in GCC and CLANG (and maybe\n-// also in Intel's compiler), but won't work in MSVC.\n-#define SIMDJSON_USE_COMPUTED_GOTO\n-#endif\n-\n-// Align to N-byte boundary\n-#define ROUNDUP_N(a, n) (((a) + ((n)-1)) & ~((n)-1))\n-#define ROUNDDOWN_N(a, n) ((a) & ~((n)-1))\n-\n-#define ISALIGNED_N(ptr, n) (((uintptr_t)(ptr) & ((n)-1)) == 0)\n-\n-#ifdef _MSC_VER\n-#define really_inline __forceinline\n-#define never_inline __declspec(noinline)\n-\n-#define UNUSED\n-#define WARN_UNUSED\n-\n-#ifndef likely\n-#define likely(x) x\n-#endif\n-#ifndef unlikely\n-#define unlikely(x) x\n-#endif\n-\n-\n-#else\n-\n-\n-#define really_inline inline __attribute__((always_inline, unused))\n-#define never_inline inline __attribute__((noinline, unused))\n-\n-#define UNUSED __attribute__((unused))\n-#define WARN_UNUSED __attribute__((warn_unused_result))\n-\n-#ifndef likely\n-#define likely(x) __builtin_expect(!!(x), 1)\n-#endif\n-#ifndef unlikely\n-#define unlikely(x) __builtin_expect(!!(x), 0)\n-#endif\n-\n-#endif // MSC_VER\n-\n-#endif // SIMDJSON_COMMON_DEFS_H\n-/* end file include/simdjson/common_defs.h */\n-/* begin file include/simdjson/padded_string.h */\n-#ifndef SIMDJSON_PADDING_STRING_H\n-#define SIMDJSON_PADDING_STRING_H\n-\n-#include \n-#include \n-#include \n-\n-\n-namespace simdjson {\n-// low-level function to allocate memory with padding so we can read past the\n-// \"length\" bytes safely. if you must provide a pointer to some data, create it\n-// with this function: length is the max. size in bytes of the string caller is\n-// responsible to free the memory (free(...))\n-inline char *allocate_padded_buffer(size_t length) noexcept {\n- // we could do a simple malloc\n- // return (char *) malloc(length + SIMDJSON_PADDING);\n- // However, we might as well align to cache lines...\n- size_t totalpaddedlength = length + SIMDJSON_PADDING;\n- char *padded_buffer = aligned_malloc_char(64, totalpaddedlength);\n-#ifndef NDEBUG\n- if (padded_buffer == nullptr) {\n- return nullptr;\n- }\n-#endif // NDEBUG\n- memset(padded_buffer + length, 0, totalpaddedlength - length);\n- return padded_buffer;\n-} // allocate_padded_buffer\n-\n-// Simple string with padded allocation.\n-// We deliberately forbid copies, users should rely on swap or move\n-// constructors.\n-struct padded_string final {\n-\n- explicit padded_string() noexcept : viable_size(0), data_ptr(nullptr) {}\n-\n- explicit padded_string(size_t length) noexcept\n- : viable_size(length), data_ptr(allocate_padded_buffer(length)) {\n- if (data_ptr != nullptr)\n- data_ptr[length] = '\\0'; // easier when you need a c_str\n- }\n-\n- explicit padded_string(const char *data, size_t length) noexcept\n- : viable_size(length), data_ptr(allocate_padded_buffer(length)) {\n- if ((data != nullptr) and (data_ptr != nullptr)) {\n- memcpy(data_ptr, data, length);\n- data_ptr[length] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- // note: do not pass std::string arguments by value\n- padded_string(const std::string & str_ ) noexcept\n- : viable_size(str_.size()), data_ptr(allocate_padded_buffer(str_.size())) {\n- if (data_ptr != nullptr) {\n- memcpy(data_ptr, str_.data(), str_.size());\n- data_ptr[str_.size()] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- // note: do pass std::string_view arguments by value\n- padded_string(std::string_view sv_) noexcept\n- : viable_size(sv_.size()), data_ptr(allocate_padded_buffer(sv_.size())) {\n- if (data_ptr != nullptr) {\n- memcpy(data_ptr, sv_.data(), sv_.size());\n- data_ptr[sv_.size()] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- padded_string(padded_string &&o) noexcept\n- : viable_size(o.viable_size), data_ptr(o.data_ptr) {\n- o.data_ptr = nullptr; // we take ownership\n- }\n-\n- padded_string &operator=(padded_string &&o) {\n- aligned_free_char(data_ptr);\n- data_ptr = o.data_ptr;\n- viable_size = o.viable_size;\n- o.data_ptr = nullptr; // we take ownership\n- o.viable_size = 0;\n- return *this;\n- }\n-\n- void swap(padded_string &o) {\n- size_t tmp_viable_size = viable_size;\n- char *tmp_data_ptr = data_ptr;\n- viable_size = o.viable_size;\n- data_ptr = o.data_ptr;\n- o.data_ptr = tmp_data_ptr;\n- o.viable_size = tmp_viable_size;\n- }\n-\n- ~padded_string() {\n- aligned_free_char(data_ptr);\n- }\n+ ~padded_string() {\n+ aligned_free_char(data_ptr);\n+ }\n \n size_t size() const { return viable_size; }\n \n@@ -734,118 +714,820 @@ static inline size_t json_minify(const padded_string &p, char *out) {\n #include \n #include \n #include \n+#include \n \n-#define JSON_VALUE_MASK 0xFFFFFFFFFFFFFF\n+#define JSON_VALUE_MASK 0x00FFFFFFFFFFFFFF\n #define DEFAULT_MAX_DEPTH 1024 // a JSON document with a depth exceeding 1024 is probably de facto invalid\n \n namespace simdjson {\n \n template class document_iterator;\n-class document_parser;\n \n+/**\n+ * A parsed JSON document.\n+ *\n+ * This class cannot be copied, only moved, to avoid unintended allocations.\n+ */\n class document {\n public:\n- // create a document container with zero capacity, parser will allocate capacity as needed\n- document()=default;\n- ~document()=default;\n-\n- // this is a move only class\n- document(document &&p) = default;\n- document(const document &p) = delete;\n- document &operator=(document &&o) = default;\n- document &operator=(const document &o) = delete;\n+ /**\n+ * Create a document container with zero capacity.\n+ *\n+ * The parser will allocate capacity as needed.\n+ */\n+ document() noexcept=default;\n+ ~document() noexcept=default;\n \n- // Nested classes. See definitions later in file.\n- using iterator = document_iterator;\n+ /**\n+ * Take another document's buffers.\n+ *\n+ * @param other The document to take. Its capacity is zeroed and it is invalidated.\n+ */\n+ document(document &&other) noexcept = default;\n+ document(const document &) = delete; // Disallow copying\n+ /**\n+ * Take another document's buffers.\n+ *\n+ * @param other The document to take. Its capacity is zeroed.\n+ */\n+ document &operator=(document &&other) noexcept = default;\n+ document &operator=(const document &) = delete; // Disallow copying\n+\n+ // Nested classes\n+ class element;\n+ class array;\n+ class object;\n+ class key_value_pair;\n class parser;\n+\n+ template\n+ class element_result;\n class doc_result;\n class doc_ref_result;\n \n- //\n- // Tell whether this document has been parsed, or is just empty.\n- //\n- bool is_initialized() {\n- return tape && string_buf;\n- }\n+ // Nested classes. See definitions later in file.\n+ using iterator = document_iterator;\n \n- // print the json to std::ostream (should be valid)\n- // return false if the tape is likely wrong (e.g., you did not parse a valid\n- // JSON).\n- WARN_UNUSED\n- bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const;\n- WARN_UNUSED\n- bool dump_raw_tape(std::ostream &os) const;\n+ /**\n+ * Get the root element of this document as a JSON array.\n+ */\n+ element root() const noexcept;\n+ /**\n+ * Get the root element of this document as a JSON array.\n+ */\n+ element_result as_array() const noexcept;\n+ /**\n+ * Get the root element of this document as a JSON object.\n+ */\n+ element_result as_object() const noexcept;\n+ /**\n+ * Get the root element of this document.\n+ */\n+ operator element() const noexcept;\n+ /**\n+ * Read the root element of this document as a JSON array.\n+ *\n+ * @return The JSON array.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array\n+ */\n+ operator array() const noexcept(false);\n+ /**\n+ * Read this element as a JSON object (key/value pairs).\n+ *\n+ * @return The JSON object.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object\n+ */\n+ operator object() const noexcept(false);\n \n- //\n- // Parse a JSON document.\n- //\n- // If you will be parsing more than one JSON document, it's recommended to create a\n- // document::parser object instead, keeping internal buffers around for efficiency reasons.\n- //\n- // Throws invalid_json if the JSON is invalid.\n- //\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with the given key, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n+ */\n+ element_result operator[](const std::string_view &s) const noexcept;\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n+ */\n+ element_result operator[](const char *s) const noexcept;\n+\n+ /**\n+ * Print this JSON to a std::ostream.\n+ *\n+ * @param os the stream to output to.\n+ * @param max_depth the maximum JSON depth to output.\n+ * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON).\n+ */\n+ bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const noexcept;\n+ /**\n+ * Dump the raw tape for debugging.\n+ *\n+ * @param os the stream to output to.\n+ * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON).\n+ */\n+ bool dump_raw_tape(std::ostream &os) const noexcept;\n+\n+ /**\n+ * Parse a JSON document and return a reference to it.\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n+ * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n+ * and copied before parsing.\n+ *\n+ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n+ * realloc_if_needed is true.\n+ * @param len The length of the JSON.\n+ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n+ * @return the document, or an error if the JSON is invalid.\n+ */\n static doc_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+\n+ /**\n+ * Parse a JSON document.\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n+ * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n+ * and copied before parsing.\n+ *\n+ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n+ * realloc_if_needed is true.\n+ * @param len The length of the JSON.\n+ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n+ * @return the document, or an error if the JSON is invalid.\n+ */\n static doc_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept;\n- static doc_result parse(const std::string &s, bool realloc_if_needed = true) noexcept;\n+\n+ /**\n+ * Parse a JSON document.\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size()\n+ * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing.\n+ *\n+ * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or\n+ * a new string will be created with the extra padding.\n+ * @return the document, or an error if the JSON is invalid.\n+ */\n+ static doc_result parse(const std::string &s) noexcept;\n+\n+ /**\n+ * Parse a JSON document.\n+ *\n+ * @param s The JSON to parse.\n+ * @return the document, or an error if the JSON is invalid.\n+ */\n static doc_result parse(const padded_string &s) noexcept;\n+\n // We do not want to allow implicit conversion from C string to std::string.\n- doc_result parse(const char *buf, bool realloc_if_needed = true) noexcept = delete;\n+ doc_ref_result parse(const char *buf, bool realloc_if_needed = true) noexcept = delete;\n \n std::unique_ptr tape;\n std::unique_ptr string_buf;// should be at least byte_capacity\n \n private:\n+ class tape_ref;\n+ enum class tape_type;\n bool set_capacity(size_t len);\n }; // class document\n \n+/**\n+ * A parsed, *owned* document, or an error if the parse failed.\n+ *\n+ * document &doc = document::parse(json);\n+ *\n+ * Returns an owned `document`. When the doc_result (or the document retrieved from it) goes out of\n+ * scope, the document's memory is deallocated.\n+ *\n+ * ## Error Codes vs. Exceptions\n+ *\n+ * This result type allows the user to pick whether to use exceptions or not.\n+ *\n+ * Use like this to avoid exceptions:\n+ *\n+ * auto [doc, error] = document::parse(json);\n+ * if (error) { exit(1); }\n+ *\n+ * Use like this if you'd prefer to use exceptions:\n+ *\n+ * document doc = document::parse(json);\n+ *\n+ */\n class document::doc_result {\n-private:\n- doc_result(document &&_doc, error_code _error) : doc(std::move(_doc)), error(_error) { }\n- doc_result(document &&_doc) : doc(std::move(_doc)), error(SUCCESS) { }\n- doc_result(error_code _error) : doc(), error(_error) { }\n- friend class document;\n public:\n- ~doc_result()=default;\n-\n- operator bool() noexcept { return error == SUCCESS; }\n- operator document() {\n- if (!*this) {\n- throw invalid_json(error);\n- }\n- return std::move(doc);\n- }\n+ /**\n+ * The parsed document. This is *invalid* if there is an error.\n+ */\n document doc;\n+ /**\n+ * The error code, or SUCCESS (0) if there is no error.\n+ */\n error_code error;\n- const std::string &get_error_message() {\n- return error_message(error);\n- }\n-}; // class doc_result\n+\n+ /**\n+ * Return the document, or throw an exception if it is invalid.\n+ *\n+ * @return the document.\n+ * @exception invalid_json if the document is invalid or there was an error parsing it.\n+ */\n+ operator document() noexcept(false);\n+\n+ /**\n+ * Get the error message for the error.\n+ */\n+ const std::string &get_error_message() const noexcept;\n+\n+ ~doc_result() noexcept=default;\n+\n+private:\n+ doc_result(document &&_doc, error_code _error) noexcept;\n+ doc_result(document &&_doc) noexcept;\n+ doc_result(error_code _error) noexcept;\n+ friend class document;\n+}; // class document::doc_result\n \n /**\n- * The result of document::parser::parse(). Stores an error code and a document reference.\n- *\n- * Designed so that you can either check the error code before using the document, or use\n- * exceptions and use thedirectly and parse it, or \n- *\n- */\n+ * A parsed document reference, or an error if the parse failed.\n+ *\n+ * document &doc = document::parse(json);\n+ *\n+ * ## Document Ownership\n+ *\n+ * The `document &` refers to an internal document the parser reuses on each `parse()` call. It will\n+ * become invalidated on the next `parse()`.\n+ *\n+ * This is more efficient for common cases where documents are parsed and used one at a time. If you\n+ * need to keep the document around longer, you may *take* it from the parser by casting it:\n+ *\n+ * document doc = parser.parse(); // take ownership\n+ *\n+ * If you do this, the parser will automatically allocate a new document on the next `parse()` call.\n+ *\n+ * ## Error Codes vs. Exceptions\n+ *\n+ * This result type allows the user to pick whether to use exceptions or not.\n+ *\n+ * Use like this to avoid exceptions:\n+ *\n+ * auto [doc, error] = parser.parse(json);\n+ * if (error) { exit(1); }\n+ *\n+ * Use like this if you'd prefer to use exceptions:\n+ *\n+ * document &doc = document::parse(json);\n+ *\n+ */\n class document::doc_ref_result {\n public:\n- doc_ref_result(document &_doc, error_code _error) : doc(_doc), error(_error) { }\n+ /**\n+ * The parsed document. This is *invalid* if there is an error.\n+ */\n+ document &doc;\n+ /**\n+ * The error code, or SUCCESS (0) if there is no error.\n+ */\n+ error_code error;\n+\n+ /**\n+ * A reference to the document, or throw an exception if it is invalid.\n+ *\n+ * @return the document.\n+ * @exception invalid_json if the document is invalid or there was an error parsing it.\n+ */\n+ operator document&() noexcept(false);\n+\n+ /**\n+ * Get the error message for the error.\n+ */\n+ const std::string &get_error_message() const noexcept;\n+\n ~doc_ref_result()=default;\n \n- operator bool() noexcept { return error == SUCCESS; }\n- operator document&() {\n- if (!*this) {\n- throw invalid_json(error);\n- }\n- return doc;\n- }\n- document& doc;\n- error_code error;\n- const std::string &get_error_message() noexcept {\n- return error_message(error);\n- }\n-}; // class document::doc_result\n+private:\n+ doc_ref_result(document &_doc, error_code _error) noexcept;\n+ friend class document::parser;\n+}; // class document::doc_ref_result\n+\n+/**\n+ * The possible types in the tape. Internal only.\n+ */\n+enum class document::tape_type {\n+ ROOT = 'r',\n+ START_ARRAY = '[',\n+ START_OBJECT = '{',\n+ END_ARRAY = ']',\n+ END_OBJECT = '}',\n+ STRING = '\"',\n+ INT64 = 'l',\n+ UINT64 = 'u',\n+ DOUBLE = 'd',\n+ TRUE_VALUE = 't',\n+ FALSE_VALUE = 'f',\n+ NULL_VALUE = 'n'\n+};\n+\n+/**\n+ * A reference to an element on the tape. Internal only.\n+ */\n+class document::tape_ref {\n+protected:\n+ tape_ref() noexcept;\n+ tape_ref(const document *_doc, size_t _json_index) noexcept;\n+ size_t after_element() const noexcept;\n+ tape_type type() const noexcept;\n+ uint64_t tape_value() const noexcept;\n+ template\n+ T next_tape_value() const noexcept;\n+\n+ /** The document this element references. */\n+ const document *doc;\n+\n+ /** The index of this element on `doc.tape[]` */\n+ size_t json_index;\n+\n+ friend class document::key_value_pair;\n+};\n+\n+/**\n+ * A JSON element.\n+ *\n+ * References an element in a JSON document, representing a JSON null, boolean, string, number,\n+ * array or object.\n+ */\n+class document::element : protected document::tape_ref {\n+public:\n+ /** Whether this element is a json `null`. */\n+ bool is_null() const noexcept;\n+ /** Whether this is a JSON `true` or `false` */\n+ bool is_bool() const noexcept;\n+ /** Whether this is a JSON number (e.g. 1, 1.0 or 1e2) */\n+ bool is_number() const noexcept;\n+ /** Whether this is a JSON integer (e.g. 1 or -1, but *not* 1.0 or 1e2) */\n+ bool is_integer() const noexcept;\n+ /** Whether this is a JSON string (e.g. \"abc\") */\n+ bool is_string() const noexcept;\n+ /** Whether this is a JSON array (e.g. []) */\n+ bool is_array() const noexcept;\n+ /** Whether this is a JSON array (e.g. []) */\n+ bool is_object() const noexcept;\n+\n+ /**\n+ * Read this element as a boolean (json `true` or `false`).\n+ *\n+ * @return The boolean value, or:\n+ * - UNEXPECTED_TYPE error if the JSON element is not a boolean\n+ */\n+ element_result as_bool() const noexcept;\n+\n+ /**\n+ * Read this element as a null-terminated string.\n+ *\n+ * Does *not* convert other types to a string; requires that the JSON type of the element was\n+ * an actual string.\n+ *\n+ * @return A `string_view` into the string, or:\n+ * - UNEXPECTED_TYPE error if the JSON element is not a string\n+ */\n+ element_result as_c_str() const noexcept;\n+\n+ /**\n+ * Read this element as a C++ string_view (string with length).\n+ *\n+ * Does *not* convert other types to a string; requires that the JSON type of the element was\n+ * an actual string.\n+ *\n+ * @return A `string_view` into the string, or:\n+ * - UNEXPECTED_TYPE error if the JSON element is not a string\n+ */\n+ element_result as_string() const noexcept;\n+\n+ /**\n+ * Read this element as an unsigned integer.\n+ *\n+ * @return The uninteger value, or:\n+ * - UNEXPECTED_TYPE if the JSON element is not an integer\n+ * - NUMBER_OUT_OF_RANGE if the integer doesn't fit in 64 bits or is negative\n+ */\n+ element_result as_uint64_t() const noexcept;\n+\n+ /**\n+ * Read this element as a signed integer.\n+ *\n+ * @return The integer value, or:\n+ * - UNEXPECTED_TYPE if the JSON element is not an integer\n+ * - NUMBER_OUT_OF_RANGE if the integer doesn't fit in 64 bits\n+ */\n+ element_result as_int64_t() const noexcept;\n+\n+ /**\n+ * Read this element as a floating point value.\n+ *\n+ * @return The double value, or:\n+ * - UNEXPECTED_TYPE if the JSON element is not a number\n+ */\n+ element_result as_double() const noexcept;\n+\n+ /**\n+ * Read this element as a JSON array.\n+ *\n+ * @return The array value, or:\n+ * - UNEXPECTED_TYPE if the JSON element is not an array\n+ */\n+ element_result as_array() const noexcept;\n+\n+ /**\n+ * Read this element as a JSON object (key/value pairs).\n+ *\n+ * @return The object value, or:\n+ * - UNEXPECTED_TYPE if the JSON element is not an object\n+ */\n+ element_result as_object() const noexcept;\n+\n+ /**\n+ * Read this element as a boolean.\n+ *\n+ * @return The boolean value\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a boolean.\n+ */\n+ operator bool() const noexcept(false);\n+\n+ /**\n+ * Read this element as a null-terminated string.\n+ *\n+ * Does *not* convert other types to a string; requires that the JSON type of the element was\n+ * an actual string.\n+ *\n+ * @return The string value.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string.\n+ */\n+ explicit operator const char*() const noexcept(false);\n+\n+ /**\n+ * Read this element as a null-terminated string.\n+ *\n+ * Does *not* convert other types to a string; requires that the JSON type of the element was\n+ * an actual string.\n+ *\n+ * @return The string value.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string.\n+ */\n+ operator std::string_view() const noexcept(false);\n+\n+ /**\n+ * Read this element as an unsigned integer.\n+ *\n+ * @return The integer value.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer\n+ * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n+ */\n+ operator uint64_t() const noexcept(false);\n+ /**\n+ * Read this element as an signed integer.\n+ *\n+ * @return The integer value.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer\n+ * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits\n+ */\n+ operator int64_t() const noexcept(false);\n+ /**\n+ * Read this element as an double.\n+ *\n+ * @return The double value.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a number\n+ * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n+ */\n+ operator double() const noexcept(false);\n+ /**\n+ * Read this element as a JSON array.\n+ *\n+ * @return The JSON array.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array\n+ */\n+ operator document::array() const noexcept(false);\n+ /**\n+ * Read this element as a JSON object (key/value pairs).\n+ *\n+ * @return The JSON object.\n+ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object\n+ */\n+ operator document::object() const noexcept(false);\n+\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n+ */\n+ element_result operator[](const std::string_view &s) const noexcept;\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * Note: The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n+ */\n+ element_result operator[](const char *s) const noexcept;\n+\n+private:\n+ element() noexcept;\n+ element(const document *_doc, size_t _json_index) noexcept;\n+ friend class document;\n+ template\n+ friend class document::element_result;\n+};\n+\n+/**\n+ * Represents a JSON array.\n+ */\n+class document::array : protected document::tape_ref {\n+public:\n+ class iterator : tape_ref {\n+ public:\n+ /**\n+ * Get the actual value\n+ */\n+ element operator*() const noexcept;\n+ /**\n+ * Get the next value.\n+ *\n+ * Part of the std::iterator interface.\n+ */\n+ void operator++() noexcept;\n+ /**\n+ * Check if these values come from the same place in the JSON.\n+ *\n+ * Part of the std::iterator interface.\n+ */\n+ bool operator!=(const iterator& other) const noexcept;\n+ private:\n+ iterator(const document *_doc, size_t _json_index) noexcept;\n+ friend class array;\n+ };\n+\n+ /**\n+ * Return the first array element.\n+ *\n+ * Part of the std::iterable interface.\n+ */\n+ iterator begin() const noexcept;\n+ /**\n+ * One past the last array element.\n+ *\n+ * Part of the std::iterable interface.\n+ */\n+ iterator end() const noexcept;\n+\n+private:\n+ array() noexcept;\n+ array(const document *_doc, size_t _json_index) noexcept;\n+ friend class document::element;\n+ template\n+ friend class document::element_result;\n+};\n+\n+/**\n+ * Represents a JSON object.\n+ */\n+class document::object : protected document::tape_ref {\n+public:\n+ class iterator : protected document::tape_ref {\n+ public:\n+ /**\n+ * Get the actual key/value pair\n+ */\n+ const document::key_value_pair operator*() const noexcept;\n+ /**\n+ * Get the next key/value pair.\n+ *\n+ * Part of the std::iterator interface.\n+ */\n+ void operator++() noexcept;\n+ /**\n+ * Check if these key value pairs come from the same place in the JSON.\n+ *\n+ * Part of the std::iterator interface.\n+ */\n+ bool operator!=(const iterator& other) const noexcept;\n+ /**\n+ * Get the key of this key/value pair.\n+ */\n+ std::string_view key() const noexcept;\n+ /**\n+ * Get the key of this key/value pair.\n+ */\n+ const char *key_c_str() const noexcept;\n+ /**\n+ * Get the value of this key/value pair.\n+ */\n+ element value() const noexcept;\n+ private:\n+ iterator(const document *_doc, size_t _json_index) noexcept;\n+ friend class document::object;\n+ };\n+\n+ /**\n+ * Return the first key/value pair.\n+ *\n+ * Part of the std::iterable interface.\n+ */\n+ iterator begin() const noexcept;\n+ /**\n+ * One past the last key/value pair.\n+ *\n+ * Part of the std::iterable interface.\n+ */\n+ iterator end() const noexcept;\n+\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ */\n+ element_result operator[](const std::string_view &s) const noexcept;\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * Note: The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ */\n+ element_result operator[](const char *s) const noexcept;\n+\n+private:\n+ object() noexcept;\n+ object(const document *_doc, size_t _json_index) noexcept;\n+ friend class document::element;\n+ template\n+ friend class document::element_result;\n+};\n+\n+/**\n+ * Key/value pair in an object.\n+ */\n+class document::key_value_pair {\n+public:\n+ std::string_view key;\n+ document::element value;\n+\n+private:\n+ key_value_pair(std::string_view _key, document::element _value) noexcept;\n+ friend class document::object;\n+};\n+\n+\n+/**\n+ * The result of a JSON navigation or conversion, or an error (if the navigation or conversion\n+ * failed). Allows the user to pick whether to use exceptions or not.\n+ *\n+ * Use like this to avoid exceptions:\n+ *\n+ * auto [str, error] = document::parse(json).root().as_string();\n+ * if (error) { exit(1); }\n+ * cout << str;\n+ *\n+ * Use like this if you'd prefer to use exceptions:\n+ *\n+ * string str = document::parse(json).root();\n+ * cout << str;\n+ *\n+ */\n+template\n+class document::element_result {\n+public:\n+ /** The value */\n+ T value;\n+ /** The error code (or 0 if there is no error) */\n+ error_code error;\n+\n+ operator T() const noexcept(false);\n+\n+private:\n+ element_result(T value) noexcept;\n+ element_result(error_code _error) noexcept;\n+ friend class document;\n+ friend class element;\n+};\n+\n+// Add exception-throwing navigation / conversion methods to element_result\n+template<>\n+class document::element_result {\n+public:\n+ /** The value */\n+ element value;\n+ /** The error code (or 0 if there is no error) */\n+ error_code error;\n+\n+ /** Whether this is a JSON `null` */\n+ element_result is_null() const noexcept;\n+ element_result as_bool() const noexcept;\n+ element_result as_string() const noexcept;\n+ element_result as_c_str() const noexcept;\n+ element_result as_uint64_t() const noexcept;\n+ element_result as_int64_t() const noexcept;\n+ element_result as_double() const noexcept;\n+ element_result as_array() const noexcept;\n+ element_result as_object() const noexcept;\n+\n+ operator bool() const noexcept(false);\n+ explicit operator const char*() const noexcept(false);\n+ operator std::string_view() const noexcept(false);\n+ operator uint64_t() const noexcept(false);\n+ operator int64_t() const noexcept(false);\n+ operator double() const noexcept(false);\n+ operator array() const noexcept(false);\n+ operator object() const noexcept(false);\n+\n+ element_result operator[](const std::string_view &s) const noexcept;\n+ element_result operator[](const char *s) const noexcept;\n+\n+private:\n+ element_result(element value) noexcept;\n+ element_result(error_code _error) noexcept;\n+ friend class document;\n+ friend class element;\n+};\n+\n+// Add exception-throwing navigation methods to element_result\n+template<>\n+class document::element_result {\n+public:\n+ /** The value */\n+ array value;\n+ /** The error code (or 0 if there is no error) */\n+ error_code error;\n+\n+ operator array() const noexcept(false);\n+\n+ array::iterator begin() const noexcept(false);\n+ array::iterator end() const noexcept(false);\n+\n+private:\n+ element_result(array value) noexcept;\n+ element_result(error_code _error) noexcept;\n+ friend class document;\n+ friend class element;\n+};\n+\n+// Add exception-throwing navigation methods to element_result\n+template<>\n+class document::element_result {\n+public:\n+ /** The value */\n+ object value;\n+ /** The error code (or 0 if there is no error) */\n+ error_code error;\n+\n+ operator object() const noexcept(false);\n+\n+ object::iterator begin() const noexcept(false);\n+ object::iterator end() const noexcept(false);\n+\n+ element_result operator[](const std::string_view &s) const noexcept;\n+ element_result operator[](const char *s) const noexcept;\n+\n+private:\n+ element_result(object value) noexcept;\n+ element_result(error_code _error) noexcept;\n+ friend class document;\n+ friend class element;\n+};\n \n /**\n * A persistent document parser.\n@@ -853,6 +1535,8 @@ public:\n * Use this if you intend to parse more than one document. It holds the internal memory necessary\n * to do parsing, as well as memory for a single document that is overwritten on each parse.\n *\n+ * This class cannot be copied, only moved, to avoid unintended allocations.\n+ *\n * @note This is not thread safe: one parser cannot produce two documents at the same time!\n */\n class document::parser {\n@@ -863,40 +1547,107 @@ public:\n parser()=default;\n ~parser()=default;\n \n- // this is a move only class\n- parser(document::parser &&p) = default;\n- parser(const document::parser &p) = delete;\n- parser &operator=(document::parser &&o) = default;\n- parser &operator=(const document::parser &o) = delete;\n+ /**\n+ * Take another parser's buffers and state.\n+ *\n+ * @param other The parser to take. Its capacity is zeroed.\n+ */\n+ parser(document::parser &&other) = default;\n+ parser(const document::parser &) = delete; // Disallow copying\n+ /**\n+ * Take another parser's buffers and state.\n+ *\n+ * @param other The parser to take. Its capacity is zeroed.\n+ */\n+ parser &operator=(document::parser &&other) = default;\n+ parser &operator=(const document::parser &) = delete; // Disallow copying\n+\n+ /**\n+ * Parse a JSON document and return a reference to it.\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() again.\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n+ * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n+ * and copied before parsing.\n+ *\n+ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n+ * realloc_if_needed is true.\n+ * @param len The length of the JSON.\n+ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n+ * @return the document, or an error if the JSON is invalid.\n+ */\n+ doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+\n+ /**\n+ * Parse a JSON document and return a reference to it.\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() again.\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n+ * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n+ * and copied before parsing.\n+ *\n+ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n+ * realloc_if_needed is true.\n+ * @param len The length of the JSON.\n+ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n+ * @return the document, or an error if the JSON is invalid.\n+ */\n+ doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+\n+ /**\n+ * Parse a JSON document and return a reference to it.\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() again.\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size()\n+ * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing.\n+ *\n+ * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or\n+ * a new string will be created with the extra padding.\n+ * @return the document, or an error if the JSON is invalid.\n+ */\n+ doc_ref_result parse(const std::string &s) noexcept;\n+\n+ /**\n+ * Parse a JSON document and return a reference to it.\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() again.\n+ *\n+ * @param s The JSON to parse.\n+ * @return the document, or an error if the JSON is invalid.\n+ */\n+ doc_ref_result parse(const padded_string &s) noexcept;\n \n- //\n- // Parse a JSON document and return a reference to it.\n- //\n- // The JSON document still lives in the parser: this is the most efficient way to parse JSON\n- // documents because it reuses the same buffers, but you *must* use the document before you\n- // destroy the parser or call parse() again.\n- //\n- // Throws invalid_json if the JSON is invalid.\n- //\n- inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept;\n- inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept;\n- inline doc_ref_result parse(const std::string &s, bool realloc_if_needed = true) noexcept;\n- inline doc_ref_result parse(const padded_string &s) noexcept;\n // We do not want to allow implicit conversion from C string to std::string.\n- doc_ref_result parse(const char *buf, bool realloc_if_needed = true) noexcept = delete;\n+ doc_ref_result parse(const char *buf) noexcept = delete;\n \n- //\n- // Current capacity: the largest document this parser can support without reallocating.\n- //\n- size_t capacity() { return _capacity; }\n+ /**\n+ * Current capacity: the largest document this parser can support without reallocating.\n+ */\n+ size_t capacity() const noexcept { return _capacity; }\n \n- //\n- // The maximum level of nested object and arrays supported by this parser.\n- //\n- size_t max_depth() { return _max_depth; }\n+ /**\n+ * The maximum level of nested object and arrays supported by this parser.\n+ */\n+ size_t max_depth() const noexcept { return _max_depth; }\n \n- // if needed, allocate memory so that the object is able to process JSON\n- // documents having up to capacity bytes and max_depth \"depth\"\n+ /**\n+ * Ensure this parser has enough memory to process JSON documents up to `capacity` bytes in length\n+ * and `max_depth` depth.\n+ */\n WARN_UNUSED bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH) {\n return set_capacity(capacity) && set_max_depth(max_depth);\n }\n@@ -934,22 +1685,20 @@ public:\n //\n \n // returns true if the document parsed was valid\n- bool is_valid() const { return valid; }\n+ bool is_valid() const noexcept;\n \n // return an error code corresponding to the last parsing attempt, see\n // simdjson.h will return UNITIALIZED if no parsing was attempted\n- int get_error_code() const { return error; }\n+ int get_error_code() const noexcept;\n \n // return the string equivalent of \"get_error_code\"\n- std::string get_error_message() const { return error_message(error); }\n+ std::string get_error_message() const noexcept;\n \n // print the json to std::ostream (should be valid)\n // return false if the tape is likely wrong (e.g., you did not parse a valid\n // JSON).\n- WARN_UNUSED\n- inline bool print_json(std::ostream &os) const { return is_valid() ? doc.print_json(os) : false; }\n- WARN_UNUSED\n- inline bool dump_raw_tape(std::ostream &os) const { return is_valid() ? doc.dump_raw_tape(os) : false; }\n+ bool print_json(std::ostream &os) const noexcept;\n+ bool dump_raw_tape(std::ostream &os) const noexcept;\n \n //\n // Parser callbacks: these are internal!\n@@ -958,38 +1707,31 @@ public:\n //\n \n // this should be called when parsing (right before writing the tapes)\n- really_inline void init_stage2();\n- really_inline error_code on_error(error_code new_error_code);\n- really_inline error_code on_success(error_code success_code);\n- really_inline bool on_start_document(uint32_t depth);\n- really_inline bool on_start_object(uint32_t depth);\n- really_inline bool on_start_array(uint32_t depth);\n+ void init_stage2() noexcept;\n+ error_code on_error(error_code new_error_code) noexcept;\n+ error_code on_success(error_code success_code) noexcept;\n+ bool on_start_document(uint32_t depth) noexcept;\n+ bool on_start_object(uint32_t depth) noexcept;\n+ bool on_start_array(uint32_t depth) noexcept;\n // TODO we're not checking this bool\n- really_inline bool on_end_document(uint32_t depth);\n- really_inline bool on_end_object(uint32_t depth);\n- really_inline bool on_end_array(uint32_t depth);\n- really_inline bool on_true_atom();\n- really_inline bool on_false_atom();\n- really_inline bool on_null_atom();\n- really_inline uint8_t *on_start_string();\n- really_inline bool on_end_string(uint8_t *dst);\n- really_inline bool on_number_s64(int64_t value);\n- really_inline bool on_number_u64(uint64_t value);\n- really_inline bool on_number_double(double value);\n+ bool on_end_document(uint32_t depth) noexcept;\n+ bool on_end_object(uint32_t depth) noexcept;\n+ bool on_end_array(uint32_t depth) noexcept;\n+ bool on_true_atom() noexcept;\n+ bool on_false_atom() noexcept;\n+ bool on_null_atom() noexcept;\n+ uint8_t *on_start_string() noexcept;\n+ bool on_end_string(uint8_t *dst) noexcept;\n+ bool on_number_s64(int64_t value) noexcept;\n+ bool on_number_u64(uint64_t value) noexcept;\n+ bool on_number_double(double value) noexcept;\n //\n // Called before a parse is initiated.\n //\n // - Returns CAPACITY if the document is too large\n // - Returns MEMALLOC if we needed to allocate memory and could not\n //\n- WARN_UNUSED really_inline error_code init_parse(size_t len);\n-\n- const document &get_document() const noexcept(false) {\n- if (!is_valid()) {\n- throw invalid_json(error);\n- }\n- return doc;\n- }\n+ WARN_UNUSED error_code init_parse(size_t len) noexcept;\n \n private:\n //\n@@ -1020,13 +1762,8 @@ private:\n //\n //\n \n- really_inline void write_tape(uint64_t val, uint8_t c) {\n- doc.tape[current_loc++] = val | ((static_cast(c)) << 56);\n- }\n-\n- really_inline void annotate_previous_loc(uint32_t saved_loc, uint64_t val) {\n- doc.tape[saved_loc] |= val;\n- }\n+ void write_tape(uint64_t val, tape_type t) noexcept;\n+ void annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept;\n \n //\n // Set the current capacity: the largest document this parser can support without reallocating.\n@@ -1045,6 +1782,11 @@ private:\n // Returns false if allocation fails.\n //\n WARN_UNUSED bool set_max_depth(size_t max_depth);\n+\n+ // Used internally to get the document\n+ const document &get_document() const noexcept(false);\n+\n+ template friend class document_iterator;\n }; // class parser\n \n } // namespace simdjson\n@@ -1300,11 +2042,243 @@ inline internal::atomic_ptr active_implementation = &inter\n \n #endif // SIMDJSON_IMPLEMENTATION_H\n /* end file include/simdjson/implementation.h */\n-\n+#include \n namespace simdjson {\n \n-// TODO inline?\n-document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n+//\n+// document::element_result inline implementation\n+//\n+template\n+inline document::element_result::element_result(T _value) noexcept : value(_value), error{SUCCESS} {}\n+template\n+inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+template<>\n+inline document::element_result::operator std::string_view() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value;\n+}\n+template<>\n+inline document::element_result::operator const char *() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value;\n+}\n+template<>\n+inline document::element_result::operator bool() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value;\n+}\n+template<>\n+inline document::element_result::operator uint64_t() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value;\n+}\n+template<>\n+inline document::element_result::operator int64_t() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value;\n+}\n+template<>\n+inline document::element_result::operator double() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value;\n+}\n+\n+//\n+// document::element_result inline implementation\n+//\n+inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {}\n+inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+inline document::element_result::operator document::array() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value;\n+}\n+inline document::array::iterator document::element_result::begin() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value.begin();\n+}\n+inline document::array::iterator document::element_result::end() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value.end();\n+}\n+\n+//\n+// document::element_result inline implementation\n+//\n+inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {}\n+inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+inline document::element_result::operator document::object() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value;\n+}\n+inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept {\n+ if (error) { return error; }\n+ return value[key];\n+}\n+inline document::element_result document::element_result::operator[](const char *key) const noexcept {\n+ if (error) { return error; }\n+ return value[key];\n+}\n+inline document::object::iterator document::element_result::begin() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value.begin();\n+}\n+inline document::object::iterator document::element_result::end() const noexcept(false) {\n+ if (error) { throw invalid_json(error); }\n+ return value.end();\n+}\n+\n+//\n+// document::element_result inline implementation\n+//\n+inline document::element_result::element_result(document::element _value) noexcept : value(_value), error{SUCCESS} {}\n+inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+inline document::element_result document::element_result::is_null() const noexcept {\n+ if (error) { return error; }\n+ return value.is_null();\n+}\n+inline document::element_result document::element_result::as_bool() const noexcept {\n+ if (error) { return error; }\n+ return value.as_bool();\n+}\n+inline document::element_result document::element_result::as_c_str() const noexcept {\n+ if (error) { return error; }\n+ return value.as_c_str();\n+}\n+inline document::element_result document::element_result::as_string() const noexcept {\n+ if (error) { return error; }\n+ return value.as_string();\n+}\n+inline document::element_result document::element_result::as_uint64_t() const noexcept {\n+ if (error) { return error; }\n+ return value.as_uint64_t();\n+}\n+inline document::element_result document::element_result::as_int64_t() const noexcept {\n+ if (error) { return error; }\n+ return value.as_int64_t();\n+}\n+inline document::element_result document::element_result::as_double() const noexcept {\n+ if (error) { return error; }\n+ return value.as_double();\n+}\n+inline document::element_result document::element_result::as_array() const noexcept {\n+ if (error) { return error; }\n+ return value.as_array();\n+}\n+inline document::element_result document::element_result::as_object() const noexcept {\n+ if (error) { return error; }\n+ return value.as_object();\n+}\n+\n+inline document::element_result::operator bool() const noexcept(false) {\n+ return as_bool();\n+}\n+inline document::element_result::operator const char *() const noexcept(false) {\n+ return as_c_str();\n+}\n+inline document::element_result::operator std::string_view() const noexcept(false) {\n+ return as_string();\n+}\n+inline document::element_result::operator uint64_t() const noexcept(false) {\n+ return as_uint64_t();\n+}\n+inline document::element_result::operator int64_t() const noexcept(false) {\n+ return as_int64_t();\n+}\n+inline document::element_result::operator double() const noexcept(false) {\n+ return as_double();\n+}\n+inline document::element_result::operator document::array() const noexcept(false) {\n+ return as_array();\n+}\n+inline document::element_result::operator document::object() const noexcept(false) {\n+ return as_object();\n+}\n+inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept {\n+ if (error) { return *this; }\n+ return value[key];\n+}\n+inline document::element_result document::element_result::operator[](const char *key) const noexcept {\n+ if (error) { return *this; }\n+ return value[key];\n+}\n+\n+//\n+// document inline implementation\n+//\n+inline document::element document::root() const noexcept {\n+ return document::element(this, 1);\n+}\n+inline document::element_result document::as_array() const noexcept {\n+ return root().as_array();\n+}\n+inline document::element_result document::as_object() const noexcept {\n+ return root().as_object();\n+}\n+inline document::operator document::element() const noexcept {\n+ return root();\n+}\n+inline document::operator document::array() const noexcept(false) {\n+ return root();\n+}\n+inline document::operator document::object() const noexcept(false) {\n+ return root();\n+}\n+inline document::element_result document::operator[](const std::string_view &key) const noexcept {\n+ return root()[key];\n+}\n+inline document::element_result document::operator[](const char *key) const noexcept {\n+ return root()[key];\n+}\n+\n+//\n+// document::doc_ref_result inline implementation\n+//\n+inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { }\n+inline document::doc_ref_result::operator document&() noexcept(false) {\n+ if (error) {\n+ throw invalid_json(error);\n+ }\n+ return doc;\n+}\n+inline const std::string &document::doc_ref_result::get_error_message() const noexcept {\n+ return error_message(error);\n+}\n+\n+//\n+// document::doc_result inline implementation\n+//\n+inline document::doc_result::doc_result(document &&_doc, error_code _error) noexcept : doc(std::move(_doc)), error(_error) { }\n+inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::move(_doc)), error(SUCCESS) { }\n+inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { }\n+inline document::doc_result::operator document() noexcept(false) {\n+ if (error) {\n+ throw invalid_json(error);\n+ }\n+ return std::move(doc);\n+}\n+inline const std::string &document::doc_result::get_error_message() const noexcept {\n+ return error_message(error);\n+}\n+\n+//\n+// document::parser inline implementation\n+//\n+inline bool document::parser::is_valid() const noexcept { return valid; }\n+inline int document::parser::get_error_code() const noexcept { return error; }\n+inline std::string document::parser::get_error_message() const noexcept { return error_message(error); }\n+inline bool document::parser::print_json(std::ostream &os) const noexcept {\n+ return is_valid() ? doc.print_json(os) : false;\n+}\n+inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept {\n+ return is_valid() ? doc.dump_raw_tape(os) : false;\n+}\n+inline const document &document::parser::get_document() const noexcept(false) {\n+ if (!is_valid()) {\n+ throw invalid_json(error);\n+ }\n+ return doc;\n+}\n+inline document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n error_code code = init_parse(len);\n if (code) { return document::doc_ref_result(doc, code); }\n \n@@ -1329,14 +2303,13 @@ document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len,\n really_inline document::doc_ref_result document::parser::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept {\n return parse((const uint8_t *)buf, len, realloc_if_needed);\n }\n-really_inline document::doc_ref_result document::parser::parse(const std::string &s, bool realloc_if_needed) noexcept {\n- return parse(s.data(), s.length(), realloc_if_needed);\n+really_inline document::doc_ref_result document::parser::parse(const std::string &s) noexcept {\n+ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING);\n }\n really_inline document::doc_ref_result document::parser::parse(const padded_string &s) noexcept {\n return parse(s.data(), s.length(), false);\n }\n \n-// TODO really_inline?\n inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n document::parser parser;\n if (!parser.allocate_capacity(len)) {\n@@ -1348,8 +2321,8 @@ inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool\n really_inline document::doc_result document::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept {\n return parse((const uint8_t *)buf, len, realloc_if_needed);\n }\n-really_inline document::doc_result document::parse(const std::string &s, bool realloc_if_needed) noexcept {\n- return parse(s.data(), s.length(), realloc_if_needed);\n+really_inline document::doc_result document::parse(const std::string &s) noexcept {\n+ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING);\n }\n really_inline document::doc_result document::parse(const padded_string &s) noexcept {\n return parse(s.data(), s.length(), false);\n@@ -1360,7 +2333,7 @@ really_inline document::doc_result document::parse(const padded_string &s) noexc\n //\n \n WARN_UNUSED\n-inline error_code document::parser::init_parse(size_t len) {\n+inline error_code document::parser::init_parse(size_t len) noexcept {\n if (len > capacity()) {\n return error = CAPACITY;\n }\n@@ -1373,79 +2346,79 @@ inline error_code document::parser::init_parse(size_t len) {\n return SUCCESS;\n }\n \n-inline void document::parser::init_stage2() {\n+inline void document::parser::init_stage2() noexcept {\n current_string_buf_loc = doc.string_buf.get();\n current_loc = 0;\n valid = false;\n error = UNINITIALIZED;\n }\n \n-really_inline error_code document::parser::on_error(error_code new_error_code) {\n+really_inline error_code document::parser::on_error(error_code new_error_code) noexcept {\n error = new_error_code;\n return new_error_code;\n }\n-really_inline error_code document::parser::on_success(error_code success_code) {\n+really_inline error_code document::parser::on_success(error_code success_code) noexcept {\n error = success_code;\n valid = true;\n return success_code;\n }\n-really_inline bool document::parser::on_start_document(uint32_t depth) {\n+really_inline bool document::parser::on_start_document(uint32_t depth) noexcept {\n containing_scope_offset[depth] = current_loc;\n- write_tape(0, 'r');\n+ write_tape(0, tape_type::ROOT);\n return true;\n }\n-really_inline bool document::parser::on_start_object(uint32_t depth) {\n+really_inline bool document::parser::on_start_object(uint32_t depth) noexcept {\n containing_scope_offset[depth] = current_loc;\n- write_tape(0, '{');\n+ write_tape(0, tape_type::START_OBJECT);\n return true;\n }\n-really_inline bool document::parser::on_start_array(uint32_t depth) {\n+really_inline bool document::parser::on_start_array(uint32_t depth) noexcept {\n containing_scope_offset[depth] = current_loc;\n- write_tape(0, '[');\n+ write_tape(0, tape_type::START_ARRAY);\n return true;\n }\n // TODO we're not checking this bool\n-really_inline bool document::parser::on_end_document(uint32_t depth) {\n+really_inline bool document::parser::on_end_document(uint32_t depth) noexcept {\n // write our doc.tape location to the header scope\n // The root scope gets written *at* the previous location.\n annotate_previous_loc(containing_scope_offset[depth], current_loc);\n- write_tape(containing_scope_offset[depth], 'r');\n+ write_tape(containing_scope_offset[depth], tape_type::ROOT);\n return true;\n }\n-really_inline bool document::parser::on_end_object(uint32_t depth) {\n+really_inline bool document::parser::on_end_object(uint32_t depth) noexcept {\n // write our doc.tape location to the header scope\n- write_tape(containing_scope_offset[depth], '}');\n+ write_tape(containing_scope_offset[depth], tape_type::END_OBJECT);\n annotate_previous_loc(containing_scope_offset[depth], current_loc);\n return true;\n }\n-really_inline bool document::parser::on_end_array(uint32_t depth) {\n+really_inline bool document::parser::on_end_array(uint32_t depth) noexcept {\n // write our doc.tape location to the header scope\n- write_tape(containing_scope_offset[depth], ']');\n+ write_tape(containing_scope_offset[depth], tape_type::END_ARRAY);\n annotate_previous_loc(containing_scope_offset[depth], current_loc);\n return true;\n }\n \n-really_inline bool document::parser::on_true_atom() {\n- write_tape(0, 't');\n+really_inline bool document::parser::on_true_atom() noexcept {\n+ write_tape(0, tape_type::TRUE_VALUE);\n return true;\n }\n-really_inline bool document::parser::on_false_atom() {\n- write_tape(0, 'f');\n+really_inline bool document::parser::on_false_atom() noexcept {\n+ write_tape(0, tape_type::FALSE_VALUE);\n return true;\n }\n-really_inline bool document::parser::on_null_atom() {\n- write_tape(0, 'n');\n+really_inline bool document::parser::on_null_atom() noexcept {\n+ write_tape(0, tape_type::NULL_VALUE);\n return true;\n }\n \n-really_inline uint8_t *document::parser::on_start_string() {\n+really_inline uint8_t *document::parser::on_start_string() noexcept {\n /* we advance the point, accounting for the fact that we have a NULL\n * termination */\n- write_tape(current_string_buf_loc - doc.string_buf.get(), '\"');\n+ write_tape(current_string_buf_loc - doc.string_buf.get(), tape_type::STRING);\n return current_string_buf_loc + sizeof(uint32_t);\n }\n \n-really_inline bool document::parser::on_end_string(uint8_t *dst) {\n+really_inline bool document::parser::on_end_string(uint8_t *dst) noexcept {\n uint32_t str_length = dst - (current_string_buf_loc + sizeof(uint32_t));\n // TODO check for overflow in case someone has a crazy string (>=4GB?)\n // But only add the overflow check when the document itself exceeds 4GB\n@@ -1458,25 +2431,303 @@ really_inline bool document::parser::on_end_string(uint8_t *dst) {\n return true;\n }\n \n-really_inline bool document::parser::on_number_s64(int64_t value) {\n- write_tape(0, 'l');\n+really_inline bool document::parser::on_number_s64(int64_t value) noexcept {\n+ write_tape(0, tape_type::INT64);\n std::memcpy(&doc.tape[current_loc], &value, sizeof(value));\n ++current_loc;\n return true;\n }\n-really_inline bool document::parser::on_number_u64(uint64_t value) {\n- write_tape(0, 'u');\n+really_inline bool document::parser::on_number_u64(uint64_t value) noexcept {\n+ write_tape(0, tape_type::UINT64);\n doc.tape[current_loc++] = value;\n return true;\n }\n-really_inline bool document::parser::on_number_double(double value) {\n- write_tape(0, 'd');\n+really_inline bool document::parser::on_number_double(double value) noexcept {\n+ write_tape(0, tape_type::DOUBLE);\n static_assert(sizeof(value) == sizeof(doc.tape[current_loc]), \"mismatch size\");\n memcpy(&doc.tape[current_loc++], &value, sizeof(double));\n // doc.tape[doc.current_loc++] = *((uint64_t *)&d);\n return true;\n }\n \n+really_inline void document::parser::write_tape(uint64_t val, document::tape_type t) noexcept {\n+ doc.tape[current_loc++] = val | ((static_cast(static_cast(t))) << 56);\n+}\n+\n+really_inline void document::parser::annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept {\n+ doc.tape[saved_loc] |= val;\n+}\n+\n+//\n+// document::tape_ref inline implementation\n+//\n+really_inline document::tape_ref::tape_ref() noexcept : doc{nullptr}, json_index{0} {}\n+really_inline document::tape_ref::tape_ref(const document *_doc, size_t _json_index) noexcept : doc{_doc}, json_index{_json_index} {}\n+\n+inline size_t document::tape_ref::after_element() const noexcept {\n+ switch (type()) {\n+ case tape_type::START_ARRAY:\n+ case tape_type::START_OBJECT:\n+ return tape_value();\n+ case tape_type::UINT64:\n+ case tape_type::INT64:\n+ case tape_type::DOUBLE:\n+ return json_index + 2;\n+ default:\n+ return json_index + 1;\n+ }\n+}\n+really_inline document::tape_type document::tape_ref::type() const noexcept {\n+ return static_cast(doc->tape[json_index] >> 56);\n+}\n+really_inline uint64_t document::tape_ref::tape_value() const noexcept {\n+ return doc->tape[json_index] & JSON_VALUE_MASK;\n+}\n+template\n+really_inline T document::tape_ref::next_tape_value() const noexcept {\n+ static_assert(sizeof(T) == sizeof(uint64_t));\n+ return *reinterpret_cast(&doc->tape[json_index + 1]);\n+}\n+\n+//\n+// document::array inline implementation\n+//\n+really_inline document::array::array() noexcept : tape_ref() {}\n+really_inline document::array::array(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) {}\n+inline document::array::iterator document::array::begin() const noexcept {\n+ return iterator(doc, json_index + 1);\n+}\n+inline document::array::iterator document::array::end() const noexcept {\n+ return iterator(doc, after_element() - 1);\n+}\n+\n+\n+//\n+// document::array::iterator inline implementation\n+//\n+really_inline document::array::iterator::iterator(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) { }\n+inline document::element document::array::iterator::operator*() const noexcept {\n+ return element(doc, json_index);\n+}\n+inline bool document::array::iterator::operator!=(const document::array::iterator& other) const noexcept {\n+ return json_index != other.json_index;\n+}\n+inline void document::array::iterator::operator++() noexcept {\n+ json_index = after_element();\n+}\n+\n+//\n+// document::object inline implementation\n+//\n+really_inline document::object::object() noexcept : tape_ref() {}\n+really_inline document::object::object(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) { };\n+inline document::object::iterator document::object::begin() const noexcept {\n+ return iterator(doc, json_index + 1);\n+}\n+inline document::object::iterator document::object::end() const noexcept {\n+ return iterator(doc, after_element() - 1);\n+}\n+inline document::element_result document::object::operator[](const std::string_view &key) const noexcept {\n+ iterator end_field = end();\n+ for (iterator field = begin(); field != end_field; ++field) {\n+ if (key == field.key()) {\n+ return field.value();\n+ }\n+ }\n+ return NO_SUCH_FIELD;\n+}\n+inline document::element_result document::object::operator[](const char *key) const noexcept {\n+ iterator end_field = end();\n+ for (iterator field = begin(); field != end_field; ++field) {\n+ if (!strcmp(key, field.key_c_str())) {\n+ return field.value();\n+ }\n+ }\n+ return NO_SUCH_FIELD;\n+}\n+\n+//\n+// document::object::iterator inline implementation\n+//\n+really_inline document::object::iterator::iterator(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) { }\n+inline const document::key_value_pair document::object::iterator::operator*() const noexcept {\n+ return key_value_pair(key(), value());\n+}\n+inline bool document::object::iterator::operator!=(const document::object::iterator& other) const noexcept {\n+ return json_index != other.json_index;\n+}\n+inline void document::object::iterator::operator++() noexcept {\n+ json_index++;\n+ json_index = after_element();\n+}\n+inline std::string_view document::object::iterator::key() const noexcept {\n+ size_t string_buf_index = tape_value();\n+ uint32_t len;\n+ memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len));\n+ return std::string_view(\n+ reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]),\n+ len\n+ );\n+}\n+inline const char* document::object::iterator::key_c_str() const noexcept {\n+ return reinterpret_cast(&doc->string_buf[tape_value() + sizeof(uint32_t)]);\n+}\n+inline document::element document::object::iterator::value() const noexcept {\n+ return element(doc, json_index + 1);\n+}\n+\n+//\n+// document::key_value_pair inline implementation\n+//\n+inline document::key_value_pair::key_value_pair(std::string_view _key, document::element _value) noexcept :\n+ key(_key), value(_value) {}\n+\n+//\n+// document::element inline implementation\n+//\n+really_inline document::element::element() noexcept : tape_ref() {}\n+really_inline document::element::element(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) { }\n+really_inline bool document::element::is_null() const noexcept {\n+ return type() == tape_type::NULL_VALUE;\n+}\n+really_inline bool document::element::is_bool() const noexcept {\n+ return type() == tape_type::TRUE_VALUE || type() == tape_type::FALSE_VALUE;\n+}\n+really_inline bool document::element::is_number() const noexcept {\n+ return type() == tape_type::UINT64 || type() == tape_type::INT64 || type() == tape_type::DOUBLE;\n+}\n+really_inline bool document::element::is_integer() const noexcept {\n+ return type() == tape_type::UINT64 || type() == tape_type::INT64;\n+}\n+really_inline bool document::element::is_string() const noexcept {\n+ return type() == tape_type::STRING;\n+}\n+really_inline bool document::element::is_array() const noexcept {\n+ return type() == tape_type::START_ARRAY;\n+}\n+really_inline bool document::element::is_object() const noexcept {\n+ return type() == tape_type::START_OBJECT;\n+}\n+inline document::element::operator bool() const noexcept(false) { return as_bool(); }\n+inline document::element::operator const char*() const noexcept(false) { return as_c_str(); }\n+inline document::element::operator std::string_view() const noexcept(false) { return as_string(); }\n+inline document::element::operator uint64_t() const noexcept(false) { return as_uint64_t(); }\n+inline document::element::operator int64_t() const noexcept(false) { return as_int64_t(); }\n+inline document::element::operator double() const noexcept(false) { return as_double(); }\n+inline document::element::operator document::array() const noexcept(false) { return as_array(); }\n+inline document::element::operator document::object() const noexcept(false) { return as_object(); }\n+inline document::element_result document::element::as_bool() const noexcept {\n+ switch (type()) {\n+ case tape_type::TRUE_VALUE:\n+ return true;\n+ case tape_type::FALSE_VALUE:\n+ return false;\n+ default:\n+ return INCORRECT_TYPE;\n+ }\n+}\n+inline document::element_result document::element::as_c_str() const noexcept {\n+ switch (type()) {\n+ case tape_type::STRING: {\n+ size_t string_buf_index = tape_value();\n+ return reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]);\n+ }\n+ default:\n+ return INCORRECT_TYPE;\n+ }\n+}\n+inline document::element_result document::element::as_string() const noexcept {\n+ switch (type()) {\n+ case tape_type::STRING: {\n+ size_t string_buf_index = tape_value();\n+ uint32_t len;\n+ memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len));\n+ return std::string_view(\n+ reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]),\n+ len\n+ );\n+ }\n+ default:\n+ return INCORRECT_TYPE;\n+ }\n+}\n+inline document::element_result document::element::as_uint64_t() const noexcept {\n+ switch (type()) {\n+ case tape_type::UINT64:\n+ return next_tape_value();\n+ case tape_type::INT64: {\n+ int64_t result = next_tape_value();\n+ if (result < 0) {\n+ return NUMBER_OUT_OF_RANGE;\n+ }\n+ return static_cast(result);\n+ }\n+ default:\n+ return INCORRECT_TYPE;\n+ }\n+}\n+inline document::element_result document::element::as_int64_t() const noexcept {\n+ switch (type()) {\n+ case tape_type::UINT64: {\n+ uint64_t result = next_tape_value();\n+ // Wrapping max in parens to handle Windows issue: https://stackoverflow.com/questions/11544073/how-do-i-deal-with-the-max-macro-in-windows-h-colliding-with-max-in-std\n+ if (result > (std::numeric_limits::max)()) {\n+ return NUMBER_OUT_OF_RANGE;\n+ }\n+ return static_cast(result);\n+ }\n+ case tape_type::INT64:\n+ return next_tape_value();\n+ default:\n+ std::cout << \"Incorrect \" << json_index << \" = \" << char(type()) << std::endl;\n+ return INCORRECT_TYPE;\n+ }\n+}\n+inline document::element_result document::element::as_double() const noexcept {\n+ switch (type()) {\n+ case tape_type::UINT64:\n+ return next_tape_value();\n+ case tape_type::INT64: {\n+ return next_tape_value();\n+ int64_t result = tape_value();\n+ if (result < 0) {\n+ return NUMBER_OUT_OF_RANGE;\n+ }\n+ return result;\n+ }\n+ case tape_type::DOUBLE:\n+ return next_tape_value();\n+ default:\n+ return INCORRECT_TYPE;\n+ }\n+}\n+inline document::element_result document::element::as_array() const noexcept {\n+ switch (type()) {\n+ case tape_type::START_ARRAY:\n+ return array(doc, json_index);\n+ default:\n+ return INCORRECT_TYPE;\n+ }\n+}\n+inline document::element_result document::element::as_object() const noexcept {\n+ switch (type()) {\n+ case tape_type::START_OBJECT:\n+ return object(doc, json_index);\n+ default:\n+ return INCORRECT_TYPE;\n+ }\n+}\n+inline document::element_result document::element::operator[](const std::string_view &key) const noexcept {\n+ auto [obj, error] = as_object();\n+ if (error) { return error; }\n+ return obj[key];\n+}\n+inline document::element_result document::element::operator[](const char *key) const noexcept {\n+ auto [obj, error] = as_object();\n+ if (error) { return error; }\n+ return obj[key];\n+}\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_INLINE_DOCUMENT_H\n@@ -3024,3 +4275,26 @@ int JsonStream::json_parse(document::parser &parser) {\n } // end of namespace simdjson\n #endif // SIMDJSON_JSONSTREAM_H\n /* end file src/jsoncharutils.h */\n+/* begin file include/simdjson/simdjson.h */\n+#ifndef SIMDJSON_SIMDJSON_H\n+#define SIMDJSON_SIMDJSON_H\n+\n+#ifndef __cplusplus\n+#error simdjson requires a C++ compiler\n+#endif\n+\n+#ifndef SIMDJSON_CPLUSPLUS\n+#if defined(_MSVC_LANG) && !defined(__clang__)\n+#define SIMDJSON_CPLUSPLUS (_MSC_VER == 1900 ? 201103L : _MSVC_LANG)\n+#else\n+#define SIMDJSON_CPLUSPLUS __cplusplus\n+#endif\n+#endif\n+\n+#if (SIMDJSON_CPLUSPLUS < 201703L)\n+#error simdjson requires a compiler compliant with the C++17 standard\n+#endif\n+\n+\n+#endif // SIMDJSON_SIMDJSON_H\n+/* end file include/simdjson/simdjson.h */\ndiff --git a/src/arm64/simd.h b/src/arm64/simd.h\nindex b0a7a51e..a7395abe 100644\n--- a/src/arm64/simd.h\n+++ b/src/arm64/simd.h\n@@ -6,7 +6,7 @@\n #ifdef IS_ARM64\n \n #include \"simdjson/common_defs.h\"\n-#include \"simdjson/simdjson.h\"\n+#include \"simdjson/error.h\"\n #include \"arm64/intrinsics.h\"\n \n namespace simdjson::arm64::simd {\ndiff --git a/src/westmere/simd.h b/src/westmere/simd.h\nindex c2b752fc..f23b8848 100644\n--- a/src/westmere/simd.h\n+++ b/src/westmere/simd.h\n@@ -6,7 +6,7 @@\n #ifdef IS_X86_64\n \n #include \"simdjson/common_defs.h\"\n-#include \"simdjson/simdjson.h\"\n+#include \"simdjson/error.h\"\n #include \"westmere/intrinsics.h\"\n \n TARGET_WESTMERE\n"} +{"instance_id": "simdjson__simdjson-543", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/document.h b/include/simdjson/document.h\nindex e9f5c657..ca6aa80c 100644\n--- a/include/simdjson/document.h\n+++ b/include/simdjson/document.h\n@@ -996,6 +996,23 @@ public:\n // We do not want to allow implicit conversion from C string to std::string.\n really_inline doc_ref_result parse(const char *buf) noexcept = delete;\n \n+ /**\n+ * Load a JSON document from a file and parse it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.load(filename);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() or load() again.\n+ *\n+ * @param filename The path to the JSON file to load.\n+ * @return the document, or an error if the file cannot be opened or the JSON is invalid.\n+ */\n+ really_inline doc_ref_result load(const std::string &filename) noexcept;\n+\n /**\n * Parse a buffer containing many JSON documents.\n *\ndiff --git a/include/simdjson/document_parser.h b/include/simdjson/document_parser.h\nindex 417ed318..900485b3 100644\n--- a/include/simdjson/document_parser.h\n+++ b/include/simdjson/document_parser.h\n@@ -114,6 +114,23 @@ public:\n // We do not want to allow implicit conversion from C string to std::string.\n really_inline doc_ref_result parse(const char *buf) noexcept = delete;\n \n+ /**\n+ * Load a JSON document from a file and parse it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.load(filename);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() or load() again.\n+ *\n+ * @param filename The path to the JSON file to load.\n+ * @return the document, or an error if the file cannot be opened or the JSON is invalid.\n+ */\n+ really_inline doc_ref_result load(const std::string &filename) noexcept;\n+\n /**\n * Parse a buffer containing many JSON documents.\n *\ndiff --git a/include/simdjson/error.h b/include/simdjson/error.h\nindex f7267e01..4a17dad7 100644\n--- a/include/simdjson/error.h\n+++ b/include/simdjson/error.h\n@@ -30,6 +30,7 @@ enum error_code {\n NUMBER_OUT_OF_RANGE, ///< JSON number does not fit in 64 bits\n NO_SUCH_FIELD, ///< JSON field not found in object\n UNEXPECTED_ERROR, ///< indicative of a bug in simdjson\n+ IO_ERROR, ///< error reading a file\n /** @private Number of error codes */\n NUM_ERROR_CODES\n };\ndiff --git a/include/simdjson/inline/document.h b/include/simdjson/inline/document.h\nindex e11b2bd3..d5a01c7f 100644\n--- a/include/simdjson/inline/document.h\n+++ b/include/simdjson/inline/document.h\n@@ -511,6 +511,16 @@ really_inline document::doc_ref_result document::parser::parse(const padded_stri\n return parse(s.data(), s.length(), false);\n }\n \n+really_inline document::doc_ref_result document::parser::load(const std::string &filename) noexcept {\n+ padded_string s;\n+ try {\n+ s = get_corpus(filename);\n+ } catch (...) {\n+ return document::doc_ref_result(doc, IO_ERROR);\n+ }\n+ return parse(s);\n+}\n+\n inline document::stream document::parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept {\n return stream(*this, buf, len, batch_size);\n }\ndiff --git a/include/simdjson/inline/error.h b/include/simdjson/inline/error.h\nindex b6367d47..deeaa272 100644\n--- a/include/simdjson/inline/error.h\n+++ b/include/simdjson/inline/error.h\n@@ -32,7 +32,8 @@ namespace simdjson::internal {\n { INCORRECT_TYPE, \"The JSON element does not have the requested type.\" },\n { NUMBER_OUT_OF_RANGE, \"The JSON number is too large or too small to fit within the requested type.\" },\n { NO_SUCH_FIELD, \"The JSON field referenced does not exist in this object.\" },\n- { UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as you may have found a bug in simdjson\" }\n+ { UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as you may have found a bug in simdjson\" },\n+ { IO_ERROR, \"Error reading file\" }\n }; // error_messages[]\n } // namespace simdjson::internal\n \ndiff --git a/include/simdjson/jsonioutil.h b/include/simdjson/jsonioutil.h\nindex 7071e06c..7a6c6758 100644\n--- a/include/simdjson/jsonioutil.h\n+++ b/include/simdjson/jsonioutil.h\n@@ -13,20 +13,19 @@\n \n namespace simdjson {\n \n-// load a file in memory...\n-// get a corpus; pad out to cache line so we can always use SIMD\n-// throws exceptions in case of failure\n-// first element of the pair is a string (null terminated)\n-// whereas the second element is the length.\n-// caller is responsible to free (aligned_free((void*)result.data())))\n-//\n-// throws an exception if the file cannot be opened, use try/catch\n-// try {\n-// p = get_corpus(filename);\n-// } catch (const std::exception& e) {\n-// aligned_free((void*)p.data());\n-// std::cout << \"Could not load the file \" << filename << std::endl;\n-// }\n+/**\n+ * Load a file into memory, padded to cache line boundaries for SIMD processing.\n+ *\n+ * @deprecated Use parser.load(filename) instead.\n+ *\n+ * throws an exception if the file cannot be opened, use try/catch\n+ * try {\n+ * p = get_corpus(filename);\n+ * } catch (const std::exception& e) {\n+ * aligned_free((void*)p.data());\n+ * std::cout << \"Could not load the file \" << filename << std::endl;\n+ * }\n+ */\n padded_string get_corpus(const std::string &filename);\n } // namespace simdjson\n \ndiff --git a/singleheader/amalgamation_demo.cpp b/singleheader/amalgamation_demo.cpp\nindex 759dc41c..eec24578 100755\n--- a/singleheader/amalgamation_demo.cpp\n+++ b/singleheader/amalgamation_demo.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 18:06:20 UTC 2026. Do not edit! */\n \n #include \n #include \"simdjson.h\"\n@@ -11,34 +11,30 @@ int main(int argc, char *argv[]) {\n simdjson::padded_string p = simdjson::get_corpus(filename);\n auto [doc, error] = simdjson::document::parse(p); // do the parsing\n if (error) {\n- std::cout << \"document::parse failed\" << std::endl;\n+ std::cout << \"parse failed\" << std::endl;\n std::cout << \"error code: \" << error << std::endl;\n std::cout << error << std::endl;\n } else {\n- std::cout << \"document::parse valid\" << std::endl;\n+ std::cout << \"parse valid\" << std::endl;\n }\n if(argc == 2) {\n return EXIT_SUCCESS;\n }\n \n- //JsonStream\n+ // parse_many\n const char * filename2 = argv[2];\n simdjson::padded_string p2 = simdjson::get_corpus(filename2);\n simdjson::document::parser parser;\n- simdjson::JsonStream js{p2};\n- int parse_res = simdjson::SUCCESS_AND_HAS_MORE;\n-\n- while (parse_res == simdjson::SUCCESS_AND_HAS_MORE) {\n- parse_res = js.json_parse(parser);\n+ for (auto result : parser.parse_many(p2)) {\n+ error = result.error;\n }\n-\n- if( ! parser.is_valid()) {\n- std::cout << \"JsonStream not valid\" << std::endl;\n+ if (error) {\n+ std::cout << \"parse_many failed\" << std::endl;\n+ std::cout << \"error code: \" << error << std::endl;\n+ std::cout << error << std::endl;\n } else {\n- std::cout << \"JsonStream valid\" << std::endl;\n+ std::cout << \"parse_many valid\" << std::endl;\n }\n-\n-\n return EXIT_SUCCESS;\n }\n \ndiff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex 9ad1fdd4..c1c30e74 100644\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 18:06:20 UTC 2026. Do not edit! */\n #include \"simdjson.h\"\n \n /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */\n@@ -7,52 +7,6 @@\n #endif\n \n /* begin file src/simdjson.cpp */\n-/* begin file src/error.cpp */\n-#include \n-\n-namespace simdjson {\n-\n-const std::map error_strings = {\n- {SUCCESS, \"No error\"},\n- {SUCCESS_AND_HAS_MORE, \"No error and buffer still has more data\"},\n- {CAPACITY, \"This parser can't support a document that big\"},\n- {MEMALLOC, \"Error allocating memory, we're most likely out of memory\"},\n- {TAPE_ERROR, \"Something went wrong while writing to the tape\"},\n- {STRING_ERROR, \"Problem while parsing a string\"},\n- {T_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 't'\"},\n- {F_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'f'\"},\n- {N_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'n'\"},\n- {NUMBER_ERROR, \"Problem while parsing a number\"},\n- {UTF8_ERROR, \"The input is not valid UTF-8\"},\n- {UNINITIALIZED, \"Uninitialized\"},\n- {EMPTY, \"Empty: no JSON found\"},\n- {UNESCAPED_CHARS, \"Within strings, some characters must be escaped, we\"\n- \" found unescaped characters\"},\n- {UNCLOSED_STRING, \"A string is opened, but never closed.\"},\n- {UNSUPPORTED_ARCHITECTURE, \"simdjson does not have an implementation\"\n- \" supported by this CPU architecture (perhaps\"\n- \" it's a non-SIMD CPU?).\"},\n- {INCORRECT_TYPE, \"The JSON element does not have the requested type.\"},\n- {NUMBER_OUT_OF_RANGE, \"The JSON number is too large or too small to fit within the requested type.\"},\n- {NO_SUCH_FIELD, \"The JSON field referenced does not exist in this object.\"},\n- {UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as\"\n- \" you may have found a bug in simdjson\"},\n-};\n-\n-// string returned when the error code is not recognized\n-const std::string unexpected_error_msg {\"Unexpected error\"};\n-\n-// returns a string matching the error code\n-const std::string &error_message(error_code code) noexcept {\n- auto keyvalue = error_strings.find(code);\n- if(keyvalue == error_strings.end()) {\n- return unexpected_error_msg;\n- }\n- return keyvalue->second;\n-}\n-\n-} // namespace simdjson\n-/* end file src/error.cpp */\n /* begin file src/implementation.cpp */\n #include \n \n@@ -5950,7 +5904,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n@@ -7317,7 +7271,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n@@ -8690,7 +8644,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex 9d0454ff..78059fb0 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 18:06:20 UTC 2026. Do not edit! */\n /* begin file include/simdjson.h */\n #ifndef SIMDJSON_H\n #define SIMDJSON_H\n@@ -50,42 +50,77 @@ enum {\n \n namespace simdjson {\n \n+/**\n+ * All possible errors returned by simdjson.\n+ */\n enum error_code {\n- SUCCESS = 0,\n- SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data\n- CAPACITY, // This parser can't support a document that big\n- MEMALLOC, // Error allocating memory, most likely out of memory\n- TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this\n- // is a generic error\n- DEPTH_ERROR, // Your document exceeds the user-specified depth limitation\n- STRING_ERROR, // Problem while parsing a string\n- T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't'\n- F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f'\n- N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n'\n- NUMBER_ERROR, // Problem while parsing a number\n- UTF8_ERROR, // the input is not valid UTF-8\n- UNINITIALIZED, // unknown error, or uninitialized document\n- EMPTY, // no structural element found\n- UNESCAPED_CHARS, // found unescaped characters in a string.\n- UNCLOSED_STRING, // missing quote at the end\n- UNSUPPORTED_ARCHITECTURE, // unsupported architecture\n- INCORRECT_TYPE, // JSON element has a different type than user expected\n- NUMBER_OUT_OF_RANGE, // JSON number does not fit in 64 bits\n- NO_SUCH_FIELD, // JSON field not found in object\n- UNEXPECTED_ERROR // indicative of a bug in simdjson\n+ SUCCESS = 0, ///< No error\n+ SUCCESS_AND_HAS_MORE, ///< No error and buffer still has more data\n+ CAPACITY, ///< This parser can't support a document that big\n+ MEMALLOC, ///< Error allocating memory, most likely out of memory\n+ TAPE_ERROR, ///< Something went wrong while writing to the tape (stage 2), this is a generic error\n+ DEPTH_ERROR, ///< Your document exceeds the user-specified depth limitation\n+ STRING_ERROR, ///< Problem while parsing a string\n+ T_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 't'\n+ F_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'f'\n+ N_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'n'\n+ NUMBER_ERROR, ///< Problem while parsing a number\n+ UTF8_ERROR, ///< the input is not valid UTF-8\n+ UNINITIALIZED, ///< unknown error, or uninitialized document\n+ EMPTY, ///< no structural element found\n+ UNESCAPED_CHARS, ///< found unescaped characters in a string.\n+ UNCLOSED_STRING, ///< missing quote at the end\n+ UNSUPPORTED_ARCHITECTURE, ///< unsupported architecture\n+ INCORRECT_TYPE, ///< JSON element has a different type than user expected\n+ NUMBER_OUT_OF_RANGE, ///< JSON number does not fit in 64 bits\n+ NO_SUCH_FIELD, ///< JSON field not found in object\n+ UNEXPECTED_ERROR, ///< indicative of a bug in simdjson\n+ IO_ERROR, ///< error reading a file\n+ /** @private Number of error codes */\n+ NUM_ERROR_CODES\n };\n \n-const std::string &error_message(error_code error) noexcept;\n+/**\n+ * Get the error message for the given error code.\n+ *\n+ * auto [doc, error] = document::parse(\"foo\");\n+ * if (error) { printf(\"Error: %s\\n\", error_message(error)); }\n+ *\n+ * @return The error message.\n+ */\n+inline const char *error_message(error_code error) noexcept;\n \n-struct invalid_json : public std::exception {\n- invalid_json(error_code _error) : error{_error} { }\n- const char *what() const noexcept { return error_message(error); }\n- error_code error;\n+/**\n+ * Write the error message to the output stream\n+ */\n+inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept;\n+\n+/**\n+ * Exception thrown when an exception-supporting simdjson method is called\n+ */\n+struct simdjson_error : public std::exception {\n+ /**\n+ * Create an exception from a simdjson error code.\n+ * @param error The error code\n+ */\n+ simdjson_error(error_code error) noexcept : _error{error} { }\n+ /** The error message */\n+ const char *what() const noexcept { return error_message(error()); }\n+ error_code error() const noexcept { return _error; }\n+private:\n+ /** The error code that was used */\n+ error_code _error;\n };\n \n-// TODO these are deprecated, remove\n+/**\n+ * @deprecated This is an alias and will be removed, use error_code instead\n+ */\n using ErrorValues = error_code;\n-inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); }\n+\n+/**\n+ * @deprecated Error codes should be stored and returned as `error_code`, use `error_message()` instead.\n+ */\n+inline const std::string &error_message(int error) noexcept;\n \n } // namespace simdjson\n \n@@ -377,7 +412,7 @@ struct padded_string final {\n }\n \n ~padded_string() {\n- aligned_free_char(data_ptr);\n+ aligned_free_char(data_ptr);\n }\n \n size_t size() const { return viable_size; }\n@@ -470,11 +505,13 @@ public:\n class object;\n class key_value_pair;\n class parser;\n+ class stream;\n \n template\n class element_result;\n class doc_result;\n class doc_ref_result;\n+ class stream_result;\n \n // Nested classes. See definitions later in file.\n using iterator = document_iterator;\n@@ -499,14 +536,14 @@ public:\n * Read the root element of this document as a JSON array.\n *\n * @return The JSON array.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array\n */\n operator array() const noexcept(false);\n /**\n * Read this element as a JSON object (key/value pairs).\n *\n * @return The JSON object.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object\n */\n operator object() const noexcept(false);\n \n@@ -615,7 +652,7 @@ public:\n private:\n class tape_ref;\n enum class tape_type;\n- bool set_capacity(size_t len);\n+ inline error_code set_capacity(size_t len) noexcept;\n }; // class document\n \n /**\n@@ -655,15 +692,10 @@ public:\n * Return the document, or throw an exception if it is invalid.\n *\n * @return the document.\n- * @exception invalid_json if the document is invalid or there was an error parsing it.\n+ * @exception simdjson_error if the document is invalid or there was an error parsing it.\n */\n operator document() noexcept(false);\n \n- /**\n- * Get the error message for the error.\n- */\n- const std::string &get_error_message() const noexcept;\n-\n ~doc_result() noexcept=default;\n \n private:\n@@ -719,20 +751,16 @@ public:\n * A reference to the document, or throw an exception if it is invalid.\n *\n * @return the document.\n- * @exception invalid_json if the document is invalid or there was an error parsing it.\n+ * @exception simdjson_error if the document is invalid or there was an error parsing it.\n */\n operator document&() noexcept(false);\n \n- /**\n- * Get the error message for the error.\n- */\n- const std::string &get_error_message() const noexcept;\n-\n ~doc_ref_result()=default;\n \n private:\n doc_ref_result(document &_doc, error_code _error) noexcept;\n friend class document::parser;\n+ friend class document::stream;\n }; // class document::doc_ref_result\n \n /**\n@@ -874,7 +902,7 @@ public:\n * Read this element as a boolean.\n *\n * @return The boolean value\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a boolean.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a boolean.\n */\n inline operator bool() const noexcept(false);\n \n@@ -885,7 +913,7 @@ public:\n * an actual string.\n *\n * @return The string value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string.\n */\n inline explicit operator const char*() const noexcept(false);\n \n@@ -896,7 +924,7 @@ public:\n * an actual string.\n *\n * @return The string value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string.\n */\n inline operator std::string_view() const noexcept(false);\n \n@@ -904,38 +932,38 @@ public:\n * Read this element as an unsigned integer.\n *\n * @return The integer value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n */\n inline operator uint64_t() const noexcept(false);\n /**\n * Read this element as an signed integer.\n *\n * @return The integer value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits\n */\n inline operator int64_t() const noexcept(false);\n /**\n * Read this element as an double.\n *\n * @return The double value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a number\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a number\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n */\n inline operator double() const noexcept(false);\n /**\n * Read this element as a JSON array.\n *\n * @return The JSON array.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array\n */\n inline operator document::array() const noexcept(false);\n /**\n * Read this element as a JSON object (key/value pairs).\n *\n * @return The JSON object.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object\n */\n inline operator document::object() const noexcept(false);\n \n@@ -1243,8 +1271,8 @@ private:\n /**\n * A persistent document parser.\n *\n- * Use this if you intend to parse more than one document. It holds the internal memory necessary\n- * to do parsing, as well as memory for a single document that is overwritten on each parse.\n+ * The parser is designed to be reused, holding the internal buffers necessary to do parsing,\n+ * as well as memory for a single document. The parsed document is overwritten on each parse.\n *\n * This class cannot be copied, only moved, to avoid unintended allocations.\n *\n@@ -1253,9 +1281,20 @@ private:\n class document::parser {\n public:\n /**\n- * Create a JSON parser with zero capacity. Call allocate_capacity() to initialize it.\n+ * Create a JSON parser.\n+ *\n+ * The new parser will have zero capacity.\n+ *\n+ * @param max_capacity The maximum document length the parser can automatically handle. The parser\n+ * will allocate more capacity on an as needed basis (when it sees documents too big to handle)\n+ * up to this amount. The parser still starts with zero capacity no matter what this number is:\n+ * to allocate an initial capacity, call set_capacity() after constructing the parser. Defaults\n+ * to SIMDJSON_MAXSIZE_BYTES (the largest single document simdjson can process).\n+ * @param max_depth The maximum depth--number of nested objects and arrays--this parser can handle.\n+ * This will not be allocated until parse() is called for the first time. Defaults to\n+ * DEFAULT_MAX_DEPTH.\n */\n- parser()=default;\n+ really_inline parser(size_t max_capacity = SIMDJSON_MAXSIZE_BYTES, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept;\n ~parser()=default;\n \n /**\n@@ -1274,71 +1313,136 @@ public:\n parser &operator=(const document::parser &) = delete; // Disallow copying\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(buf, len);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### REQUIRED: Buffer Padding\n+ *\n * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n- * and copied before parsing.\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding,\n+ * and it is copied into an enlarged temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n *\n * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n * realloc_if_needed is true.\n * @param len The length of the JSON.\n * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity,\n+ * and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept;\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(buf, len);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### REQUIRED: Buffer Padding\n+ *\n * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n- * and copied before parsing.\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding,\n+ * and it is copied into an enlarged temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n *\n * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n * realloc_if_needed is true.\n * @param len The length of the JSON.\n * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity,\n+ * and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n really_inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept;\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(s);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### REQUIRED: Buffer Padding\n+ *\n * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size()\n- * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing.\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If s.capacity() is less than SIMDJSON_PADDING, the string will be copied into an enlarged\n+ * temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n *\n * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or\n * a new string will be created with the extra padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if the string does not have enough padding or the parser does not have\n+ * enough capacity, and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n really_inline doc_ref_result parse(const std::string &s) noexcept;\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(s);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n * @param s The JSON to parse.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n really_inline doc_ref_result parse(const padded_string &s) noexcept;\n \n@@ -1346,24 +1450,337 @@ public:\n really_inline doc_ref_result parse(const char *buf) noexcept = delete;\n \n /**\n- * Current capacity: the largest document this parser can support without reallocating.\n+ * Load a JSON document from a file and parse it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.load(filename);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() or load() again.\n+ *\n+ * @param filename The path to the JSON file to load.\n+ * @return the document, or an error if the file cannot be opened or the JSON is invalid.\n+ */\n+ really_inline doc_ref_result load(const std::string &filename) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param len The length of the concatenated JSON.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails.\n+ */\n+ inline stream parse_many(const uint8_t *buf, size_t len, size_t batch_size = 1000000) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param len The length of the concatenated JSON.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const char *buf, size_t len, size_t batch_size = 1000000) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const std::string &s, size_t batch_size = 1000000) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param s The concatenated JSON to parse.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const padded_string &s, size_t batch_size = 1000000) noexcept;\n+\n+ // We do not want to allow implicit conversion from C string to std::string.\n+ really_inline doc_ref_result parse_many(const char *buf, size_t batch_size = 1000000) noexcept = delete;\n+\n+ /**\n+ * The largest document this parser can automatically support.\n+ *\n+ * The parser may reallocate internal buffers as needed up to this amount.\n+ *\n+ * @return Maximum capacity, in bytes.\n+ */\n+ really_inline size_t max_capacity() const noexcept;\n+\n+ /**\n+ * The largest document this parser can support without reallocating.\n+ *\n+ * @return Current capacity, in bytes.\n */\n really_inline size_t capacity() const noexcept;\n \n /**\n * The maximum level of nested object and arrays supported by this parser.\n+ *\n+ * @return Maximum depth, in bytes.\n */\n really_inline size_t max_depth() const noexcept;\n \n+ /**\n+ * Set max_capacity. This is the largest document this parser can automatically support.\n+ *\n+ * The parser may reallocate internal buffers as needed up to this amount.\n+ *\n+ * This call will not allocate or deallocate, even if capacity is currently above max_capacity.\n+ *\n+ * @param max_capacity The new maximum capacity, in bytes.\n+ */\n+ really_inline void set_max_capacity(size_t max_capacity) noexcept;\n+\n+ /**\n+ * Set capacity. This is the largest document this parser can support without reallocating.\n+ *\n+ * This will allocate or deallocate as necessary.\n+ *\n+ * @param capacity The new capacity, in bytes.\n+ *\n+ * @return MEMALLOC if unsuccessful, SUCCESS otherwise.\n+ */\n+ WARN_UNUSED inline error_code set_capacity(size_t capacity) noexcept;\n+\n+ /**\n+ * Set the maximum level of nested object and arrays supported by this parser.\n+ *\n+ * This will allocate or deallocate as necessary.\n+ *\n+ * @param max_depth The new maximum depth, in bytes.\n+ *\n+ * @return MEMALLOC if unsuccessful, SUCCESS otherwise.\n+ */\n+ WARN_UNUSED inline error_code set_max_depth(size_t max_depth) noexcept;\n+\n /**\n * Ensure this parser has enough memory to process JSON documents up to `capacity` bytes in length\n * and `max_depth` depth.\n+ *\n+ * Equivalent to calling set_capacity() and set_max_depth().\n+ *\n+ * @param capacity The new capacity.\n+ * @param max_depth The new max_depth. Defaults to DEFAULT_MAX_DEPTH.\n+ * @return true if successful, false if allocation failed.\n */\n- WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH);\n+ WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept;\n \n // type aliases for backcompat\n using Iterator = document::iterator;\n- using InvalidJSON = invalid_json;\n+ using InvalidJSON = simdjson_error;\n \n // Next location to write to in the tape\n uint32_t current_loc{0};\n@@ -1434,13 +1851,6 @@ public:\n really_inline bool on_number_s64(int64_t value) noexcept;\n really_inline bool on_number_u64(uint64_t value) noexcept;\n really_inline bool on_number_double(double value) noexcept;\n- //\n- // Called before a parse is initiated.\n- //\n- // - Returns CAPACITY if the document is too large\n- // - Returns MEMALLOC if we needed to allocate memory and could not\n- //\n- WARN_UNUSED inline error_code init_parse(size_t len) noexcept;\n \n private:\n //\n@@ -1450,12 +1860,19 @@ private:\n //\n size_t _capacity{0};\n \n+ //\n+ // The maximum document length this parser will automatically support.\n+ //\n+ // The parser will not be automatically allocated above this amount.\n+ //\n+ size_t _max_capacity;\n+\n //\n // The maximum depth (number of nested objects and arrays) supported by this parser.\n //\n // Defaults to DEFAULT_MAX_DEPTH.\n //\n- size_t _max_depth{0};\n+ size_t _max_depth;\n \n // all nodes are stored on the doc.tape using a 64-bit word.\n //\n@@ -1474,28 +1891,15 @@ private:\n inline void write_tape(uint64_t val, tape_type t) noexcept;\n inline void annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept;\n \n- //\n- // Set the current capacity: the largest document this parser can support without reallocating.\n- //\n- // This will allocate *or deallocate* as necessary.\n- //\n- // Returns false if allocation fails.\n- //\n- inline WARN_UNUSED bool set_capacity(size_t capacity);\n-\n- //\n- // Set the maximum level of nested object and arrays supported by this parser.\n- //\n- // This will allocate *or deallocate* as necessary.\n- //\n- // Returns false if allocation fails.\n- //\n- inline WARN_UNUSED bool set_max_depth(size_t max_depth);\n+ // Ensure we have enough capacity to handle at least desired_capacity bytes,\n+ // and auto-allocate if not.\n+ inline error_code ensure_capacity(size_t desired_capacity) noexcept;\n \n // Used internally to get the document\n inline const document &get_document() const noexcept(false);\n \n template friend class document_iterator;\n+ friend class document::stream;\n }; // class parser\n \n } // namespace simdjson\n@@ -1541,7 +1945,7 @@ public:\n virtual uint32_t required_instruction_sets() const { return _required_instruction_sets; };\n \n /**\n- * Run a full document parse (init_parse, stage1 and stage2).\n+ * Run a full document parse (ensure_capacity, stage1 and stage2).\n *\n * Overridden by each implementation.\n *\n@@ -1560,7 +1964,7 @@ public:\n * @param buf the json document to parse. *MUST* be allocated up to len + SIMDJSON_PADDING bytes.\n * @param len the length of the json document.\n * @param parser the parser with the buffers to use. *MUST* have allocated up to at least len capacity.\n- * @param streaming whether this is being called by a JsonStream parser.\n+ * @param streaming whether this is being called by document::parser::parse_many.\n * @return the error code, or SUCCESS if there was no error.\n */\n WARN_UNUSED virtual error_code stage1(const uint8_t *buf, size_t len, document::parser &parser, bool streaming) const noexcept = 0;\n@@ -1578,7 +1982,7 @@ public:\n WARN_UNUSED virtual error_code stage2(const uint8_t *buf, size_t len, document::parser &parser) const noexcept = 0;\n \n /**\n- * Stage 2 of the document parser for JsonStream.\n+ * Stage 2 of the document parser for document::parser::parse_many.\n *\n * Overridden by each implementation.\n *\n@@ -1731,92 +2135,94 @@ inline internal::atomic_ptr active_implementation = &inter\n \n #endif // SIMDJSON_IMPLEMENTATION_H\n /* end file include/simdjson/simdjson.h */\n-/* begin file include/simdjson/jsonstream.h */\n-#ifndef SIMDJSON_JSONSTREAM_H\n-#define SIMDJSON_JSONSTREAM_H\n+/* begin file include/simdjson/document_stream.h */\n+#ifndef SIMDJSON_DOCUMENT_STREAM_H\n+#define SIMDJSON_DOCUMENT_STREAM_H\n \n #include \n \n namespace simdjson {\n \n-/*************************************************************************************\n- * The main motivation for this piece of software is to achieve maximum speed\n- *and offer\n- * good quality of life while parsing files containing multiple JSON documents.\n+template class JsonStream;\n+\n+/**\n+ * A forward-only stream of documents.\n *\n- * Since we want to offer flexibility and not restrict ourselves to a specific\n- *file\n- * format, we support any file that contains any valid JSON documents separated\n- *by one\n- * or more character that is considered a whitespace by the JSON spec.\n- * Namely: space, nothing, linefeed, carriage return, horizontal tab.\n- * Anything that is not whitespace will be parsed as a JSON document and could\n- *lead\n- * to failure.\n+ * Produced by document::parser::parse_many.\n *\n- * To offer maximum parsing speed, our implementation processes the data inside\n- *the\n- * buffer by batches and their size is defined by the parameter \"batch_size\".\n- * By loading data in batches, we can optimize the time spent allocating data in\n- *the\n- * parser and can also open the possibility of multi-threading.\n- * The batch_size must be at least as large as the biggest document in the file,\n- *but\n- * not too large in order to submerge the chached memory. We found that 1MB is\n- * somewhat a sweet spot for now. Eventually, this batch_size could be fully\n- * automated and be optimal at all times.\n- ************************************************************************************/\n-/**\n-* The template parameter (string_container) must\n-* support the data() and size() methods, returning a pointer\n-* to a char* and to the number of bytes respectively.\n-* The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end\n-* of the string, so if you do not use a padded_string container,\n-* you have the responsability to overallocated. If you fail to\n-* do so, your software may crash if you cross a page boundary,\n-* and you should expect memory checkers to object.\n-* Most users should use a simdjson::padded_string.\n-*/\n-template class JsonStream {\n+ */\n+class document::stream {\n public:\n- /* Create a JsonStream object that can be used to parse sequentially the valid\n- * JSON documents found in the buffer \"buf\".\n- *\n- * The batch_size must be at least as large as the biggest document in the\n- * file, but\n- * not too large to submerge the cached memory. We found that 1MB is\n- * somewhat a sweet spot for now.\n- *\n- * The user is expected to call the following json_parse method to parse the\n- * next\n- * valid JSON document found in the buffer. This method can and is expected\n- * to be\n- * called in a loop.\n+ really_inline ~stream() noexcept;\n+\n+ /**\n+ * Take another stream's buffers and state.\n *\n- * Various methods are offered to keep track of the status, like\n- * get_current_buffer_loc,\n- * get_n_parsed_docs, get_n_bytes_parsed, etc.\n+ * @param other The stream to take. Its capacity is zeroed.\n+ */\n+ stream(document::stream &&other) = default;\n+ stream(const document::stream &) = delete; // Disallow copying\n+ /**\n+ * Take another stream's buffers and state.\n *\n- * */\n- JsonStream(const string_container &s, size_t batch_size = 1000000);\n+ * @param other The stream to take. Its capacity is zeroed.\n+ */\n+ stream &operator=(document::stream &&other) = default;\n+ stream &operator=(const document::stream &) = delete; // Disallow copying\n+\n+ /**\n+ * An iterator through a forward-only stream of documents.\n+ */\n+ class iterator {\n+ public:\n+ /**\n+ * Get the current document (or error).\n+ */\n+ really_inline doc_ref_result operator*() noexcept;\n+ /**\n+ * Advance to the next document.\n+ */\n+ inline iterator& operator++() noexcept;\n+ /**\n+ * Check if we're at the end yet.\n+ * @param other the end iterator to compare to.\n+ */\n+ really_inline bool operator!=(const iterator &other) const noexcept;\n \n- ~JsonStream();\n+ private:\n+ iterator(stream& stream, bool finished) noexcept;\n+ /** The stream parser we're iterating through. */\n+ stream& _stream;\n+ /** Whether we're finished or not. */\n+ bool finished;\n+ friend class stream;\n+ };\n \n- /* Parse the next document found in the buffer previously given to JsonStream.\n+ /**\n+ * Start iterating the documents in the stream.\n+ */\n+ really_inline iterator begin() noexcept;\n+ /**\n+ * The end of the stream, for iterator comparison purposes.\n+ */\n+ really_inline iterator end() noexcept;\n+\n+private:\n+ really_inline stream(document::parser &parser, const uint8_t *buf, size_t len, size_t batch_size = 1000000) noexcept;\n \n+ /**\n+ * Parse the next document found in the buffer previously given to stream.\n+ *\n * The content should be a valid JSON document encoded as UTF-8. If there is a\n * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n * discouraged.\n *\n * You do NOT need to pre-allocate a parser. This function takes care of\n- * pre-allocating a capacity defined by the batch_size defined when creating\n- the\n- * JsonStream object.\n+ * pre-allocating a capacity defined by the batch_size defined when creating the\n+ * stream object.\n *\n- * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in\n- case\n- * of success and indicates that the buffer still contains more data to be\n- parsed,\n+ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in case\n+ * of success and indicates that the buffer still contains more data to be parsed,\n * meaning this function can be called again to return the next JSON document\n * after this one.\n *\n@@ -1824,43 +2230,46 @@ public:\n * and indicates that the buffer has successfully been parsed to the end.\n * Every document it contained has been parsed without error.\n *\n- * The function returns an error code from simdjson/simdjson.h in case of\n- failure\n- * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and\n- so forth;\n- * the simdjson::error_message function converts these error codes into a\n- * string).\n+ * The function returns an error code from simdjson/simdjson.h in case of failure\n+ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth;\n+ * the simdjson::error_message function converts these error codes into a string).\n *\n- * You can also check validity by calling parser.is_valid(). The same parser\n- can\n+ * You can also check validity by calling parser.is_valid(). The same parser can\n * and should be reused for the other documents in the buffer. */\n- int json_parse(document::parser &parser);\n+ inline error_code json_parse() noexcept;\n \n- /* Returns the location (index) of where the next document should be in the\n+ /**\n+ * Returns the location (index) of where the next document should be in the\n * buffer.\n * Can be used for debugging, it tells the user the position of the end of the\n * last\n- * valid JSON document parsed*/\n+ * valid JSON document parsed\n+ */\n inline size_t get_current_buffer_loc() const { return current_buffer_loc; }\n \n- /* Returns the total amount of complete documents parsed by the JsonStream,\n- * in the current buffer, at the given time.*/\n+ /**\n+ * Returns the total amount of complete documents parsed by the stream,\n+ * in the current buffer, at the given time.\n+ */\n inline size_t get_n_parsed_docs() const { return n_parsed_docs; }\n \n- /* Returns the total amount of data (in bytes) parsed by the JsonStream,\n- * in the current buffer, at the given time.*/\n+ /**\n+ * Returns the total amount of data (in bytes) parsed by the stream,\n+ * in the current buffer, at the given time.\n+ */\n inline size_t get_n_bytes_parsed() const { return n_bytes_parsed; }\n \n-private:\n- inline const uint8_t *buf() const { return reinterpret_cast(str.data()) + str_start; }\n+ inline const uint8_t *buf() const { return _buf + buf_start; }\n \n- inline void advance(size_t offset) { str_start += offset; }\n+ inline void advance(size_t offset) { buf_start += offset; }\n \n- inline size_t remaining() const { return str.size() - str_start; }\n+ inline size_t remaining() const { return _len - buf_start; }\n \n- const string_container &str;\n+ document::parser &parser;\n+ const uint8_t *_buf;\n+ const size_t _len;\n size_t _batch_size; // this is actually variable!\n- size_t str_start{0};\n+ size_t buf_start{0};\n size_t next_json{0};\n bool load_next_batch{true};\n size_t current_buffer_loc{0};\n@@ -1869,17 +2278,19 @@ private:\n #endif\n size_t n_parsed_docs{0};\n size_t n_bytes_parsed{0};\n- simdjson::implementation *stage_parser;\n+ error_code error{SUCCESS_AND_HAS_MORE};\n #ifdef SIMDJSON_THREADS_ENABLED\n error_code stage1_is_ok_thread{SUCCESS};\n std::thread stage_1_thread;\n document::parser parser_thread;\n #endif\n-}; // end of class JsonStream\n+ template friend class JsonStream;\n+ friend class document::parser;\n+}; // class document::stream\n \n } // end of namespace simdjson\n-#endif // SIMDJSON_JSONSTREAM_H\n-/* end file include/simdjson/jsonstream.h */\n+#endif // SIMDJSON_DOCUMENT_STREAM_H\n+/* end file include/simdjson/document_stream.h */\n /* begin file include/simdjson/jsonminifier.h */\n #ifndef SIMDJSON_JSONMINIFIER_H\n #define SIMDJSON_JSONMINIFIER_H\n@@ -2336,20 +2747,19 @@ using ParsedJson = document::parser;\n \n namespace simdjson {\n \n-// load a file in memory...\n-// get a corpus; pad out to cache line so we can always use SIMD\n-// throws exceptions in case of failure\n-// first element of the pair is a string (null terminated)\n-// whereas the second element is the length.\n-// caller is responsible to free (aligned_free((void*)result.data())))\n-//\n-// throws an exception if the file cannot be opened, use try/catch\n-// try {\n-// p = get_corpus(filename);\n-// } catch (const std::exception& e) {\n-// aligned_free((void*)p.data());\n-// std::cout << \"Could not load the file \" << filename << std::endl;\n-// }\n+/**\n+ * Load a file into memory, padded to cache line boundaries for SIMD processing.\n+ *\n+ * @deprecated Use parser.load(filename) instead.\n+ *\n+ * throws an exception if the file cannot be opened, use try/catch\n+ * try {\n+ * p = get_corpus(filename);\n+ * } catch (const std::exception& e) {\n+ * aligned_free((void*)p.data());\n+ * std::cout << \"Could not load the file \" << filename << std::endl;\n+ * }\n+ */\n padded_string get_corpus(const std::string &filename);\n } // namespace simdjson\n \n@@ -2384,11 +2794,6 @@ inline int json_parse(const padded_string &s, document::parser &parser) noexcept\n \n WARN_UNUSED static document::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept {\n document::parser parser;\n- if (!parser.allocate_capacity(len)) {\n- parser.valid = false;\n- parser.error = MEMALLOC;\n- return parser;\n- }\n json_parse(buf, len, parser, realloc_if_needed);\n return parser;\n }\n@@ -2410,6 +2815,131 @@ document::parser build_parsed_json(const char *buf) noexcept = delete;\n \n #endif\n /* end file include/simdjson/jsonioutil.h */\n+/* begin file include/simdjson/jsonstream.h */\n+// TODO Remove this -- deprecated API and files\n+\n+#ifndef SIMDJSON_JSONSTREAM_H\n+#define SIMDJSON_JSONSTREAM_H\n+\n+\n+namespace simdjson {\n+\n+/**\n+ * @deprecated use document::stream instead.\n+ *\n+ * The main motivation for this piece of software is to achieve maximum speed and offer\n+ * good quality of life while parsing files containing multiple JSON documents.\n+ *\n+ * Since we want to offer flexibility and not restrict ourselves to a specific file\n+ * format, we support any file that contains any valid JSON documents separated by one\n+ * or more character that is considered a whitespace by the JSON spec.\n+ * Namely: space, nothing, linefeed, carriage return, horizontal tab.\n+ * Anything that is not whitespace will be parsed as a JSON document and could lead\n+ * to failure.\n+ *\n+ * To offer maximum parsing speed, our implementation processes the data inside the\n+ * buffer by batches and their size is defined by the parameter \"batch_size\".\n+ * By loading data in batches, we can optimize the time spent allocating data in the\n+ * parser and can also open the possibility of multi-threading.\n+ * The batch_size must be at least as large as the biggest document in the file, but\n+ * not too large in order to submerge the chached memory. We found that 1MB is\n+ * somewhat a sweet spot for now. Eventually, this batch_size could be fully\n+ * automated and be optimal at all times.\n+ *\n+ * The template parameter (string_container) must\n+ * support the data() and size() methods, returning a pointer\n+ * to a char* and to the number of bytes respectively.\n+ * The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end\n+ * of the string, so if you do not use a padded_string container,\n+ * you have the responsability to overallocated. If you fail to\n+ * do so, your software may crash if you cross a page boundary,\n+ * and you should expect memory checkers to object.\n+ * Most users should use a simdjson::padded_string.\n+ */\n+template class JsonStream {\n+public:\n+ /* Create a JsonStream object that can be used to parse sequentially the valid\n+ * JSON documents found in the buffer \"buf\".\n+ *\n+ * The batch_size must be at least as large as the biggest document in the\n+ * file, but\n+ * not too large to submerge the cached memory. We found that 1MB is\n+ * somewhat a sweet spot for now.\n+ *\n+ * The user is expected to call the following json_parse method to parse the\n+ * next\n+ * valid JSON document found in the buffer. This method can and is expected\n+ * to be\n+ * called in a loop.\n+ *\n+ * Various methods are offered to keep track of the status, like\n+ * get_current_buffer_loc,\n+ * get_n_parsed_docs, get_n_bytes_parsed, etc.\n+ *\n+ * */\n+ JsonStream(const string_container &s, size_t _batch_size = 1000000) noexcept;\n+\n+ ~JsonStream() noexcept;\n+\n+ /* Parse the next document found in the buffer previously given to JsonStream.\n+\n+ * The content should be a valid JSON document encoded as UTF-8. If there is a\n+ * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n+ * discouraged.\n+ *\n+ * You do NOT need to pre-allocate a parser. This function takes care of\n+ * pre-allocating a capacity defined by the batch_size defined when creating\n+ the\n+ * JsonStream object.\n+ *\n+ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in\n+ case\n+ * of success and indicates that the buffer still contains more data to be\n+ parsed,\n+ * meaning this function can be called again to return the next JSON document\n+ * after this one.\n+ *\n+ * The function returns simdjson::SUCCESS (as integer = 0) in case of success\n+ * and indicates that the buffer has successfully been parsed to the end.\n+ * Every document it contained has been parsed without error.\n+ *\n+ * The function returns an error code from simdjson/simdjson.h in case of\n+ failure\n+ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and\n+ so forth;\n+ * the simdjson::error_message function converts these error codes into a\n+ * string).\n+ *\n+ * You can also check validity by calling parser.is_valid(). The same parser\n+ can\n+ * and should be reused for the other documents in the buffer. */\n+ int json_parse(document::parser &parser) noexcept;\n+\n+ /* Returns the location (index) of where the next document should be in the\n+ * buffer.\n+ * Can be used for debugging, it tells the user the position of the end of the\n+ * last\n+ * valid JSON document parsed*/\n+ inline size_t get_current_buffer_loc() const noexcept { return stream ? stream->current_buffer_loc : 0; }\n+\n+ /* Returns the total amount of complete documents parsed by the JsonStream,\n+ * in the current buffer, at the given time.*/\n+ inline size_t get_n_parsed_docs() const noexcept { return stream ? stream->n_parsed_docs : 0; }\n+\n+ /* Returns the total amount of data (in bytes) parsed by the JsonStream,\n+ * in the current buffer, at the given time.*/\n+ inline size_t get_n_bytes_parsed() const noexcept { return stream ? stream->n_bytes_parsed : 0; }\n+\n+private:\n+ const string_container &str;\n+ const size_t batch_size;\n+ document::stream *stream{nullptr};\n+}; // end of class JsonStream\n+\n+} // end of namespace simdjson\n+\n+#endif // SIMDJSON_JSONSTREAM_H\n+/* end file include/simdjson/jsonstream.h */\n \n // Inline functions\n /* begin file include/simdjson/inline/document.h */\n@@ -2431,32 +2961,32 @@ template\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n template<>\n inline document::element_result::operator std::string_view() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator const char *() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator bool() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator uint64_t() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator int64_t() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator double() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n \n@@ -2466,15 +2996,15 @@ inline document::element_result::operator double() const noexcept(false)\n inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {}\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n inline document::element_result::operator document::array() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n inline document::array::iterator document::element_result::begin() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.begin();\n }\n inline document::array::iterator document::element_result::end() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.end();\n }\n \n@@ -2484,7 +3014,7 @@ inline document::array::iterator document::element_result::end(\n inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {}\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n inline document::element_result::operator document::object() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept {\n@@ -2496,11 +3026,11 @@ inline document::element_result document::element_result::begin() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.begin();\n }\n inline document::object::iterator document::element_result::end() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.end();\n }\n \n@@ -2609,28 +3139,25 @@ inline document::element_result document::operator[](const ch\n \n inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n document::parser parser;\n- if (!parser.allocate_capacity(len)) {\n- return MEMALLOC;\n- }\n auto [doc, error] = parser.parse(buf, len, realloc_if_needed);\n return document::doc_result((document &&)doc, error);\n }\n really_inline document::doc_result document::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept {\n- return parse((const uint8_t *)buf, len, realloc_if_needed);\n+ return parse((const uint8_t *)buf, len, realloc_if_needed);\n }\n really_inline document::doc_result document::parse(const std::string &s) noexcept {\n- return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING);\n+ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING);\n }\n really_inline document::doc_result document::parse(const padded_string &s) noexcept {\n- return parse(s.data(), s.length(), false);\n+ return parse(s.data(), s.length(), false);\n }\n \n WARN_UNUSED\n-inline bool document::set_capacity(size_t capacity) {\n+inline error_code document::set_capacity(size_t capacity) noexcept {\n if (capacity == 0) {\n string_buf.reset();\n tape.reset();\n- return true;\n+ return SUCCESS;\n }\n \n // a pathological input like \"[[[[...\" would generate len tape elements, so\n@@ -2644,7 +3171,7 @@ inline bool document::set_capacity(size_t capacity) {\n size_t string_capacity = ROUNDUP_N(5 * capacity / 3 + 32, 64);\n string_buf.reset( new (std::nothrow) uint8_t[string_capacity]);\n tape.reset(new (std::nothrow) uint64_t[tape_capacity]);\n- return string_buf && tape;\n+ return string_buf && tape ? SUCCESS : MEMALLOC;\n }\n \n inline bool document::print_json(std::ostream &os, size_t max_depth) const noexcept {\n@@ -2852,13 +3379,10 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { }\n inline document::doc_ref_result::operator document&() noexcept(false) {\n if (error) {\n- throw invalid_json(error);\n+ throw simdjson_error(error);\n }\n return doc;\n }\n-inline const std::string &document::doc_ref_result::get_error_message() const noexcept {\n- return error_message(error);\n-}\n \n //\n // document::doc_result inline implementation\n@@ -2868,20 +3392,21 @@ inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::mov\n inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { }\n inline document::doc_result::operator document() noexcept(false) {\n if (error) {\n- throw invalid_json(error);\n+ throw simdjson_error(error);\n }\n return std::move(doc);\n }\n-inline const std::string &document::doc_result::get_error_message() const noexcept {\n- return error_message(error);\n-}\n \n //\n // document::parser inline implementation\n //\n+really_inline document::parser::parser(size_t max_capacity, size_t max_depth) noexcept\n+ : _max_capacity{max_capacity}, _max_depth{max_depth} {\n+\n+}\n inline bool document::parser::is_valid() const noexcept { return valid; }\n inline int document::parser::get_error_code() const noexcept { return error; }\n-inline std::string document::parser::get_error_message() const noexcept { return error_message(error); }\n+inline std::string document::parser::get_error_message() const noexcept { return error_message(int(error)); }\n inline bool document::parser::print_json(std::ostream &os) const noexcept {\n return is_valid() ? doc.print_json(os) : false;\n }\n@@ -2890,13 +3415,13 @@ inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept {\n }\n inline const document &document::parser::get_document() const noexcept(false) {\n if (!is_valid()) {\n- throw invalid_json(error);\n+ throw simdjson_error(error);\n }\n return doc;\n }\n \n inline document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n- error_code code = init_parse(len);\n+ error_code code = ensure_capacity(len);\n if (code) { return document::doc_ref_result(doc, code); }\n \n if (realloc_if_needed) {\n@@ -2927,20 +3452,43 @@ really_inline document::doc_ref_result document::parser::parse(const padded_stri\n return parse(s.data(), s.length(), false);\n }\n \n+really_inline document::doc_ref_result document::parser::load(const std::string &filename) noexcept {\n+ padded_string s;\n+ try {\n+ s = get_corpus(filename);\n+ } catch (...) {\n+ return document::doc_ref_result(doc, IO_ERROR);\n+ }\n+ return parse(s);\n+}\n+\n+inline document::stream document::parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept {\n+ return stream(*this, buf, len, batch_size);\n+}\n+inline document::stream document::parser::parse_many(const char *buf, size_t len, size_t batch_size) noexcept {\n+ return parse_many((const uint8_t *)buf, len, batch_size);\n+}\n+inline document::stream document::parser::parse_many(const std::string &s, size_t batch_size) noexcept {\n+ return parse_many(s.data(), s.length(), batch_size);\n+}\n+inline document::stream document::parser::parse_many(const padded_string &s, size_t batch_size) noexcept {\n+ return parse_many(s.data(), s.length(), batch_size);\n+}\n+\n really_inline size_t document::parser::capacity() const noexcept {\n return _capacity;\n }\n+really_inline size_t document::parser::max_capacity() const noexcept {\n+ return _max_capacity;\n+}\n really_inline size_t document::parser::max_depth() const noexcept {\n return _max_depth;\n }\n-WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) {\n- return set_capacity(capacity) && set_max_depth(max_depth);\n-}\n \n WARN_UNUSED\n-inline bool document::parser::set_capacity(size_t capacity) {\n+inline error_code document::parser::set_capacity(size_t capacity) noexcept {\n if (_capacity == capacity) {\n- return true;\n+ return SUCCESS;\n }\n \n // Set capacity to 0 until we finish, in case there's an error\n@@ -2949,16 +3497,15 @@ inline bool document::parser::set_capacity(size_t capacity) {\n //\n // Reallocate the document\n //\n- if (!doc.set_capacity(capacity)) {\n- return false;\n- }\n+ error_code err = doc.set_capacity(capacity);\n+ if (err) { return err; }\n \n //\n // Don't allocate 0 bytes, just return.\n //\n if (capacity == 0) {\n structural_indexes.reset();\n- return true;\n+ return SUCCESS;\n }\n \n //\n@@ -2967,20 +3514,26 @@ inline bool document::parser::set_capacity(size_t capacity) {\n uint32_t max_structures = ROUNDUP_N(capacity, 64) + 2 + 7;\n structural_indexes.reset( new (std::nothrow) uint32_t[max_structures]); // TODO realloc\n if (!structural_indexes) {\n- return false;\n+ return MEMALLOC;\n }\n \n _capacity = capacity;\n- return true;\n+ return SUCCESS;\n+}\n+\n+really_inline void document::parser::set_max_capacity(size_t max_capacity) noexcept {\n+ _max_capacity = max_capacity;\n }\n \n-WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) {\n+WARN_UNUSED inline error_code document::parser::set_max_depth(size_t max_depth) noexcept {\n+ if (max_depth == _max_depth && ret_address) { return SUCCESS; }\n+\n _max_depth = 0;\n \n if (max_depth == 0) {\n ret_address.reset();\n containing_scope_offset.reset();\n- return true;\n+ return SUCCESS;\n }\n \n //\n@@ -2995,24 +3548,38 @@ WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) {\n \n if (!ret_address || !containing_scope_offset) {\n // Could not allocate memory\n- return false;\n+ return MEMALLOC;\n }\n \n _max_depth = max_depth;\n- return true;\n+ return SUCCESS;\n }\n \n-WARN_UNUSED\n-inline error_code document::parser::init_parse(size_t len) noexcept {\n- if (len > capacity()) {\n- return error = CAPACITY;\n+WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) noexcept {\n+ return !set_capacity(capacity) && !set_max_depth(max_depth);\n+}\n+\n+inline error_code document::parser::ensure_capacity(size_t desired_capacity) noexcept {\n+ // If we don't have enough capacity, (try to) automatically bump it.\n+ if (unlikely(desired_capacity > capacity())) {\n+ if (desired_capacity > max_capacity()) {\n+ return error = CAPACITY;\n+ }\n+\n+ error = set_capacity(desired_capacity);\n+ if (error) { return error; }\n }\n+\n+ // Allocate depth-based buffers if they aren't already.\n+ error = set_max_depth(max_depth());\n+ if (error) { return error; }\n+\n // If the last doc was taken, we need to allocate a new one\n if (!doc.tape) {\n- if (!doc.set_capacity(len)) {\n- return error = MEMALLOC;\n- }\n+ error = doc.set_capacity(desired_capacity);\n+ if (error) { return error; }\n }\n+\n return SUCCESS;\n }\n \n@@ -3782,9 +4349,9 @@ bool document_iterator::relative_move_to(const char *pointer,\n \n #endif // SIMDJSON_INLINE_DOCUMENT_ITERATOR_H\n /* end file include/simdjson/inline/document_iterator.h */\n-/* begin file include/simdjson/inline/jsonstream.h */\n-#ifndef SIMDJSON_INLINE_JSONSTREAM_H\n-#define SIMDJSON_INLINE_JSONSTREAM_H\n+/* begin file include/simdjson/inline/document_stream.h */\n+#ifndef SIMDJSON_INLINE_DOCUMENT_STREAM_H\n+#define SIMDJSON_INLINE_DOCUMENT_STREAM_H\n \n #include \n #include \n@@ -3793,7 +4360,8 @@ bool document_iterator::relative_move_to(const char *pointer,\n \n namespace simdjson::internal {\n \n-/* This algorithm is used to quickly identify the buffer position of\n+/**\n+ * This algorithm is used to quickly identify the buffer position of\n * the last JSON document inside the current batch.\n *\n * It does its work by finding the last pair of structural characters\n@@ -3880,13 +4448,16 @@ static inline size_t trimmed_length_safe_utf8(const char * c, size_t len) {\n \n namespace simdjson {\n \n-template \n-JsonStream::JsonStream(const string_container &s,\n- size_t batchSize)\n- : str(s), _batch_size(batchSize) {\n+really_inline document::stream::stream(\n+ document::parser &_parser,\n+ const uint8_t *buf,\n+ size_t len,\n+ size_t batch_size\n+) noexcept : parser{_parser}, _buf{buf}, _len{len}, _batch_size(batch_size) {\n+ error = json_parse();\n }\n \n-template JsonStream::~JsonStream() {\n+inline document::stream::~stream() noexcept {\n #ifdef SIMDJSON_THREADS_ENABLED\n if (stage_1_thread.joinable()) {\n stage_1_thread.join();\n@@ -3894,42 +4465,61 @@ template JsonStream::~JsonStream() {\n #endif\n }\n \n+really_inline document::stream::iterator document::stream::begin() noexcept {\n+ return iterator(*this, false);\n+}\n+\n+really_inline document::stream::iterator document::stream::end() noexcept {\n+ return iterator(*this, true);\n+}\n+\n+really_inline document::stream::iterator::iterator(stream& stream, bool _is_end) noexcept\n+ : _stream{stream}, finished{_is_end} {\n+}\n+\n+really_inline document::doc_ref_result document::stream::iterator::operator*() noexcept {\n+ return doc_ref_result(_stream.parser.doc, _stream.error == SUCCESS_AND_HAS_MORE ? SUCCESS : _stream.error);\n+}\n+\n+really_inline document::stream::iterator& document::stream::iterator::operator++() noexcept {\n+ if (_stream.error == SUCCESS_AND_HAS_MORE) {\n+ _stream.error = _stream.json_parse();\n+ } else {\n+ finished = true;\n+ }\n+ return *this;\n+}\n+\n+really_inline bool document::stream::iterator::operator!=(const document::stream::iterator &other) const noexcept {\n+ return finished != other.finished;\n+}\n+\n #ifdef SIMDJSON_THREADS_ENABLED\n \n // threaded version of json_parse\n // todo: simplify this code further\n-template \n-int JsonStream::json_parse(document::parser &parser) {\n- if (unlikely(parser.capacity() == 0)) {\n- const bool allocok = parser.allocate_capacity(_batch_size);\n- if (!allocok) {\n- return parser.error = simdjson::MEMALLOC;\n- }\n- } else if (unlikely(parser.capacity() < _batch_size)) {\n- return parser.error = simdjson::CAPACITY;\n- }\n- if (unlikely(parser_thread.capacity() < _batch_size)) {\n- const bool allocok_thread = parser_thread.allocate_capacity(_batch_size);\n- if (!allocok_thread) {\n- return parser.error = simdjson::MEMALLOC;\n- }\n- }\n+inline error_code document::stream::json_parse() noexcept {\n+ error = parser.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+ error = parser_thread.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+\n if (unlikely(load_next_batch)) {\n // First time loading\n if (!stage_1_thread.joinable()) {\n _batch_size = (std::min)(_batch_size, remaining());\n _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size);\n if (_batch_size == 0) {\n- return parser.error = simdjson::UTF8_ERROR;\n+ return simdjson::UTF8_ERROR;\n }\n auto stage1_is_ok = error_code(simdjson::active_implementation->stage1(buf(), _batch_size, parser, true));\n if (stage1_is_ok != simdjson::SUCCESS) {\n- return parser.error = stage1_is_ok;\n+ return stage1_is_ok;\n }\n size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser);\n if (last_index == 0) {\n if (parser.n_structural_indexes == 0) {\n- return parser.error = simdjson::EMPTY;\n+ return simdjson::EMPTY;\n }\n } else {\n parser.n_structural_indexes = last_index + 1;\n@@ -3939,7 +4529,7 @@ int JsonStream::json_parse(document::parser &parser) {\n else {\n stage_1_thread.join();\n if (stage1_is_ok_thread != simdjson::SUCCESS) {\n- return parser.error = stage1_is_ok_thread;\n+ return stage1_is_ok_thread;\n }\n std::swap(parser.structural_indexes, parser_thread.structural_indexes);\n parser.n_structural_indexes = parser_thread.n_structural_indexes;\n@@ -3955,7 +4545,7 @@ int JsonStream::json_parse(document::parser &parser) {\n _batch_size = internal::trimmed_length_safe_utf8(\n (const char *)(buf() + last_json_buffer_loc), _batch_size);\n if (_batch_size == 0) {\n- return parser.error = simdjson::UTF8_ERROR;\n+ return simdjson::UTF8_ERROR;\n }\n // let us capture read-only variables\n const uint8_t *const b = buf() + last_json_buffer_loc;\n@@ -3971,7 +4561,7 @@ int JsonStream::json_parse(document::parser &parser) {\n next_json = 0;\n load_next_batch = false;\n } // load_next_batch\n- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n+ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n if (res == simdjson::SUCCESS_AND_HAS_MORE) {\n n_parsed_docs++;\n current_buffer_loc = parser.structural_indexes[next_json];\n@@ -3990,18 +4580,10 @@ int JsonStream::json_parse(document::parser &parser) {\n #else // SIMDJSON_THREADS_ENABLED\n \n // single-threaded version of json_parse\n-template \n-int JsonStream::json_parse(document::parser &parser) {\n- if (unlikely(parser.capacity() == 0)) {\n- const bool allocok = parser.allocate_capacity(_batch_size);\n- if (!allocok) {\n- parser.valid = false;\n- return parser.error = MEMALLOC;\n- }\n- } else if (unlikely(parser.capacity() < _batch_size)) {\n- parser.valid = false;\n- return parser.error = CAPACITY;\n- }\n+inline error_code document::stream::json_parse() noexcept {\n+ error = parser.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+\n if (unlikely(load_next_batch)) {\n advance(current_buffer_loc);\n n_bytes_parsed += current_buffer_loc;\n@@ -4009,21 +4591,19 @@ int JsonStream::json_parse(document::parser &parser) {\n _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size);\n auto stage1_is_ok = (error_code)simdjson::active_implementation->stage1(buf(), _batch_size, parser, true);\n if (stage1_is_ok != simdjson::SUCCESS) {\n- parser.valid = false;\n- return parser.error = stage1_is_ok;\n+ return stage1_is_ok;\n }\n size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser);\n if (last_index == 0) {\n if (parser.n_structural_indexes == 0) {\n- parser.valid = false;\n- return parser.error = EMPTY;\n+ return EMPTY;\n }\n } else {\n parser.n_structural_indexes = last_index + 1;\n }\n load_next_batch = false;\n } // load_next_batch\n- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n+ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n if (likely(res == simdjson::SUCCESS_AND_HAS_MORE)) {\n n_parsed_docs++;\n current_buffer_loc = parser.structural_indexes[next_json];\n@@ -4035,14 +4615,107 @@ int JsonStream::json_parse(document::parser &parser) {\n load_next_batch = true;\n res = simdjson::SUCCESS_AND_HAS_MORE;\n }\n- } else {\n- printf(\"E\\n\");\n }\n return res;\n }\n #endif // SIMDJSON_THREADS_ENABLED\n \n } // end of namespace simdjson\n+#endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H\n+/* end file include/simdjson/inline/document_stream.h */\n+/* begin file include/simdjson/inline/error.h */\n+#ifndef SIMDJSON_INLINE_ERROR_H\n+#define SIMDJSON_INLINE_ERROR_H\n+\n+#include \n+\n+namespace simdjson::internal {\n+ // We store the error code so we can validate the error message is associated with the right code\n+ struct error_code_info {\n+ error_code code;\n+ std::string message;\n+ };\n+ // These MUST match the codes in error_code. We check this constraint in basictests.\n+ inline const error_code_info error_codes[] {\n+ { SUCCESS, \"No error\" },\n+ { SUCCESS_AND_HAS_MORE, \"No error and buffer still has more data\" },\n+ { CAPACITY, \"This parser can't support a document that big\" },\n+ { MEMALLOC, \"Error allocating memory, we're most likely out of memory\" },\n+ { TAPE_ERROR, \"Something went wrong while writing to the tape\" },\n+ { DEPTH_ERROR, \"The JSON document was too deep (too many nested objects and arrays)\" },\n+ { STRING_ERROR, \"Problem while parsing a string\" },\n+ { T_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 't'\" },\n+ { F_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'f'\" },\n+ { N_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'n'\" },\n+ { NUMBER_ERROR, \"Problem while parsing a number\" },\n+ { UTF8_ERROR, \"The input is not valid UTF-8\" },\n+ { UNINITIALIZED, \"Uninitialized\" },\n+ { EMPTY, \"Empty: no JSON found\" },\n+ { UNESCAPED_CHARS, \"Within strings, some characters must be escaped, we found unescaped characters\" },\n+ { UNCLOSED_STRING, \"A string is opened, but never closed.\" },\n+ { UNSUPPORTED_ARCHITECTURE, \"simdjson does not have an implementation supported by this CPU architecture (perhaps it's a non-SIMD CPU?).\" },\n+ { INCORRECT_TYPE, \"The JSON element does not have the requested type.\" },\n+ { NUMBER_OUT_OF_RANGE, \"The JSON number is too large or too small to fit within the requested type.\" },\n+ { NO_SUCH_FIELD, \"The JSON field referenced does not exist in this object.\" },\n+ { UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as you may have found a bug in simdjson\" },\n+ { IO_ERROR, \"Error reading file\" }\n+ }; // error_messages[]\n+} // namespace simdjson::internal\n+\n+namespace simdjson {\n+\n+inline const char *error_message(error_code error) noexcept {\n+ // If you're using error_code, we're trusting you got it from the enum.\n+ return internal::error_codes[int(error)].message.c_str();\n+}\n+\n+inline const std::string &error_message(int error) noexcept {\n+ if (error < 0 || error >= error_code::NUM_ERROR_CODES) {\n+ return internal::error_codes[UNEXPECTED_ERROR].message;\n+ }\n+ return internal::error_codes[error].message;\n+}\n+\n+inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept {\n+ return out << error_message(error);\n+}\n+\n+} // namespace simdjson\n+\n+#endif // SIMDJSON_INLINE_ERROR_H\n+/* end file include/simdjson/inline/error.h */\n+/* begin file include/simdjson/inline/jsonstream.h */\n+// TODO Remove this -- deprecated API and files\n+\n+#ifndef SIMDJSON_INLINE_JSONSTREAM_H\n+#define SIMDJSON_INLINE_JSONSTREAM_H\n+\n+\n+namespace simdjson {\n+\n+template \n+inline JsonStream::JsonStream(const string_container &s, size_t _batch_size) noexcept\n+ : str(s), batch_size(_batch_size) {\n+}\n+\n+template \n+inline JsonStream::~JsonStream() noexcept {\n+ if (stream) { delete stream; }\n+}\n+\n+template \n+inline int JsonStream::json_parse(document::parser &parser) noexcept {\n+ if (unlikely(stream == nullptr)) {\n+ stream = new document::stream(parser, reinterpret_cast(str.data()), str.length(), batch_size);\n+ } else {\n+ if (&parser != &stream->parser) { return stream->error = TAPE_ERROR; }\n+ stream->error = stream->json_parse();\n+ }\n+ return stream->error;\n+}\n+\n+} // namespace simdjson\n+\n #endif // SIMDJSON_INLINE_JSONSTREAM_H\n /* end file include/simdjson/inline/jsonstream.h */\n \n"} +{"instance_id": "simdjson__simdjson-545", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/document.h b/include/simdjson/document.h\nindex 1dc2243f..ee7b16b2 100644\n--- a/include/simdjson/document.h\n+++ b/include/simdjson/document.h\n@@ -131,7 +131,9 @@ public:\n * @param os the stream to output to.\n * @param max_depth the maximum JSON depth to output.\n * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON).\n+ * @deprecated Use operator<< instead.\n */\n+ [[deprecated(\"Use operator<< instead\")]]\n bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const noexcept;\n /**\n * Dump the raw tape for debugging.\n@@ -620,6 +622,13 @@ public:\n */\n inline element_result operator[](const char *s) const noexcept;\n \n+ /**\n+ * Print this element to a std::ostream as minified JSON.\n+ *\n+ * @param os the stream to output to.\n+ */\n+ inline void print_json(std::ostream &os) const noexcept;\n+\n private:\n really_inline element() noexcept;\n really_inline element(const document *_doc, size_t _json_index) noexcept;\n@@ -669,6 +678,13 @@ public:\n */\n inline iterator end() const noexcept;\n \n+ /**\n+ * Print this array to a std::ostream as minified JSON.\n+ *\n+ * @param os the stream to output to.\n+ */\n+ inline void print_json(std::ostream &os) const noexcept;\n+\n private:\n really_inline array() noexcept;\n really_inline array(const document *_doc, size_t _json_index) noexcept;\n@@ -730,6 +746,13 @@ public:\n */\n inline iterator end() const noexcept;\n \n+ /**\n+ * Print this object to a std::ostream as minified JSON.\n+ *\n+ * @param os the stream to output to.\n+ */\n+ inline void print_json(std::ostream &os) const noexcept;\n+\n /**\n * Get the value associated with the given key.\n *\n@@ -1516,6 +1539,7 @@ public:\n // print the json to std::ostream (should be valid)\n // return false if the tape is likely wrong (e.g., you did not parse a valid\n // JSON).\n+ [[deprecated(\"Use operator<< instead\")]]\n inline bool print_json(std::ostream &os) const noexcept;\n inline bool dump_raw_tape(std::ostream &os) const noexcept;\n \n@@ -1595,6 +1619,92 @@ private:\n friend class document::stream;\n }; // class parser\n \n+/**\n+ * Print JSON to an ostream.\n+ *\n+ * @param os The output stream.\n+ * @param doc The document to print.\n+ * @return The output stream.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document &doc) noexcept;\n+\n+/**\n+ * Print JSON to an ostream.\n+ *\n+ * @param os The output stream.\n+ * @param element The element to print.\n+ * @return The output stream.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::element &element) noexcept;\n+\n+/**\n+ * Print JSON to an ostream.\n+ *\n+ * @param os The output stream.\n+ * @param array The array to print.\n+ * @return The output stream.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::array &array) noexcept;\n+\n+/**\n+ * Print JSON to an ostream.\n+ *\n+ * @param os The output stream.\n+ * @param object The object to print.\n+ * @return The output stream.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::object &object) noexcept;\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param doc The doc_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the doc_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::doc_result &doc) noexcept(false);\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param doc The doc_ref_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the doc_ref_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::doc_ref_result &doc) noexcept(false);\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param element The element_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the element_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &element) noexcept(false);\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param array The element_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the element_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &array) noexcept(false);\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param object The element_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the element_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &object) noexcept(false);\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_DOCUMENT_H\n\\ No newline at end of file\ndiff --git a/include/simdjson/document_parser.h b/include/simdjson/document_parser.h\nindex 417ed318..276e2d93 100644\n--- a/include/simdjson/document_parser.h\n+++ b/include/simdjson/document_parser.h\n@@ -424,6 +424,7 @@ public:\n // print the json to std::ostream (should be valid)\n // return false if the tape is likely wrong (e.g., you did not parse a valid\n // JSON).\n+ [[deprecated(\"Use operator<< instead\")]]\n inline bool print_json(std::ostream &os) const noexcept;\n inline bool dump_raw_tape(std::ostream &os) const noexcept;\n \ndiff --git a/include/simdjson/inline/document.h b/include/simdjson/inline/document.h\nindex 2f8036a3..67ba2867 100644\n--- a/include/simdjson/inline/document.h\n+++ b/include/simdjson/inline/document.h\n@@ -486,7 +486,9 @@ inline bool document::parser::is_valid() const noexcept { return valid; }\n inline int document::parser::get_error_code() const noexcept { return error; }\n inline std::string document::parser::get_error_message() const noexcept { return error_message(int(error)); }\n inline bool document::parser::print_json(std::ostream &os) const noexcept {\n- return is_valid() ? doc.print_json(os) : false;\n+ if (!is_valid()) { return false; }\n+ internal::print_tape_element(os, &doc, 1);\n+ return true;\n }\n inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept {\n return is_valid() ? doc.dump_raw_tape(os) : false;\n@@ -931,6 +933,66 @@ inline document::element_result document::element::operator[]\n return obj[key];\n }\n \n+inline void document::element::print_json(std::ostream &os) const noexcept {\n+ internal::print_tape_element(os, doc, json_index);\n+}\n+\n+inline void document::array::print_json(std::ostream &os) const noexcept {\n+ internal::print_tape_element(os, doc, json_index);\n+}\n+\n+inline void document::object::print_json(std::ostream &os) const noexcept {\n+ internal::print_tape_element(os, doc, json_index);\n+}\n+\n+//\n+// operator<< inline implementations\n+//\n+inline std::ostream &operator<<(std::ostream &os, const document &doc) noexcept {\n+ internal::print_tape_element(os, &doc, 1);\n+ return os;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::element &element) noexcept {\n+ element.print_json(os);\n+ return os;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::array &array) noexcept {\n+ array.print_json(os);\n+ return os;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::object &object) noexcept {\n+ object.print_json(os);\n+ return os;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::doc_result &doc) noexcept(false) {\n+ if (doc.error) { throw simdjson_error(doc.error); }\n+ return os << doc.doc;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::doc_ref_result &doc) noexcept(false) {\n+ if (doc.error) { throw simdjson_error(doc.error); }\n+ return os << doc.doc;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &element) noexcept(false) {\n+ if (element.error) { throw simdjson_error(element.error); }\n+ return os << element.value;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &array) noexcept(false) {\n+ if (array.error) { throw simdjson_error(array.error); }\n+ return os << array.value;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &object) noexcept(false) {\n+ if (object.error) { throw simdjson_error(object.error); }\n+ return os << object.value;\n+}\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_INLINE_DOCUMENT_H\ndiff --git a/include/simdjson/internal/jsonformatutils.h b/include/simdjson/internal/jsonformatutils.h\nindex 8c6187b2..174077ec 100644\n--- a/include/simdjson/internal/jsonformatutils.h\n+++ b/include/simdjson/internal/jsonformatutils.h\n@@ -3,6 +3,11 @@\n \n #include \n #include \n+#include \"simdjson/common_defs.h\"\n+\n+namespace simdjson {\n+class document;\n+}\n \n namespace simdjson::internal {\n \n@@ -109,6 +114,13 @@ static inline void print_with_escapes(const char *src, std::ostream &os, size_t\n print_with_escapes(reinterpret_cast(src), os, len);\n }\n \n+// Forward declaration needed for print_tape_element\n+class tape_ref;\n+\n+// Print a single element from the tape (and its children) to an ostream.\n+// This is the core implementation used by element::print_json() and operator<<.\n+void print_tape_element(std::ostream &os, const document *doc, size_t json_index) noexcept;\n+\n } // namespace simdjson::internal\n \n #endif // SIMDJSON_INTERNAL_JSONFORMATUTILS_H\ndiff --git a/singleheader/amalgamation_demo.cpp b/singleheader/amalgamation_demo.cpp\nindex 759dc41c..2eea4f4a 100755\n--- a/singleheader/amalgamation_demo.cpp\n+++ b/singleheader/amalgamation_demo.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 22:53:33 UTC 2026. Do not edit! */\n \n #include \n #include \"simdjson.h\"\n@@ -8,37 +8,31 @@ int main(int argc, char *argv[]) {\n std::cerr << \"Please specify at least one file name. \" << std::endl;\n }\n const char * filename = argv[1];\n- simdjson::padded_string p = simdjson::get_corpus(filename);\n- auto [doc, error] = simdjson::document::parse(p); // do the parsing\n+ simdjson::document::parser parser;\n+ auto [doc, error] = parser.load(filename); // do the parsing\n if (error) {\n- std::cout << \"document::parse failed\" << std::endl;\n+ std::cout << \"parse failed\" << std::endl;\n std::cout << \"error code: \" << error << std::endl;\n std::cout << error << std::endl;\n } else {\n- std::cout << \"document::parse valid\" << std::endl;\n+ std::cout << \"parse valid\" << std::endl;\n }\n if(argc == 2) {\n return EXIT_SUCCESS;\n }\n \n- //JsonStream\n+ // parse_many\n const char * filename2 = argv[2];\n- simdjson::padded_string p2 = simdjson::get_corpus(filename2);\n- simdjson::document::parser parser;\n- simdjson::JsonStream js{p2};\n- int parse_res = simdjson::SUCCESS_AND_HAS_MORE;\n-\n- while (parse_res == simdjson::SUCCESS_AND_HAS_MORE) {\n- parse_res = js.json_parse(parser);\n+ for (auto result : parser.load_many(filename2)) {\n+ error = result.error;\n }\n-\n- if( ! parser.is_valid()) {\n- std::cout << \"JsonStream not valid\" << std::endl;\n+ if (error) {\n+ std::cout << \"parse_many failed\" << std::endl;\n+ std::cout << \"error code: \" << error << std::endl;\n+ std::cout << error << std::endl;\n } else {\n- std::cout << \"JsonStream valid\" << std::endl;\n+ std::cout << \"parse_many valid\" << std::endl;\n }\n-\n-\n return EXIT_SUCCESS;\n }\n \ndiff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex 9ad1fdd4..5f41f219 100644\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 22:53:33 UTC 2026. Do not edit! */\n #include \"simdjson.h\"\n \n /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */\n@@ -7,52 +7,6 @@\n #endif\n \n /* begin file src/simdjson.cpp */\n-/* begin file src/error.cpp */\n-#include \n-\n-namespace simdjson {\n-\n-const std::map error_strings = {\n- {SUCCESS, \"No error\"},\n- {SUCCESS_AND_HAS_MORE, \"No error and buffer still has more data\"},\n- {CAPACITY, \"This parser can't support a document that big\"},\n- {MEMALLOC, \"Error allocating memory, we're most likely out of memory\"},\n- {TAPE_ERROR, \"Something went wrong while writing to the tape\"},\n- {STRING_ERROR, \"Problem while parsing a string\"},\n- {T_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 't'\"},\n- {F_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'f'\"},\n- {N_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'n'\"},\n- {NUMBER_ERROR, \"Problem while parsing a number\"},\n- {UTF8_ERROR, \"The input is not valid UTF-8\"},\n- {UNINITIALIZED, \"Uninitialized\"},\n- {EMPTY, \"Empty: no JSON found\"},\n- {UNESCAPED_CHARS, \"Within strings, some characters must be escaped, we\"\n- \" found unescaped characters\"},\n- {UNCLOSED_STRING, \"A string is opened, but never closed.\"},\n- {UNSUPPORTED_ARCHITECTURE, \"simdjson does not have an implementation\"\n- \" supported by this CPU architecture (perhaps\"\n- \" it's a non-SIMD CPU?).\"},\n- {INCORRECT_TYPE, \"The JSON element does not have the requested type.\"},\n- {NUMBER_OUT_OF_RANGE, \"The JSON number is too large or too small to fit within the requested type.\"},\n- {NO_SUCH_FIELD, \"The JSON field referenced does not exist in this object.\"},\n- {UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as\"\n- \" you may have found a bug in simdjson\"},\n-};\n-\n-// string returned when the error code is not recognized\n-const std::string unexpected_error_msg {\"Unexpected error\"};\n-\n-// returns a string matching the error code\n-const std::string &error_message(error_code code) noexcept {\n- auto keyvalue = error_strings.find(code);\n- if(keyvalue == error_strings.end()) {\n- return unexpected_error_msg;\n- }\n- return keyvalue->second;\n-}\n-\n-} // namespace simdjson\n-/* end file src/error.cpp */\n /* begin file src/implementation.cpp */\n #include \n \n@@ -367,43 +321,133 @@ const implementation *detect_best_supported_implementation_on_first_use::set_bes\n \n } // namespace simdjson\n /* end file src/arm64/implementation.h */\n-/* begin file src/jsonioutil.cpp */\n-#include \n-#include \n-#include \n+/* begin file src/jsonformatutils.cpp */\n \n-namespace simdjson {\n+namespace simdjson::internal {\n \n-padded_string get_corpus(const std::string &filename) {\n- std::FILE *fp = std::fopen(filename.c_str(), \"rb\");\n- if (fp != nullptr) {\n- if(std::fseek(fp, 0, SEEK_END) < 0) {\n- std::fclose(fp);\n- throw std::runtime_error(\"cannot seek in the file\");\n- }\n- long llen = std::ftell(fp);\n- if((llen < 0) || (llen == LONG_MAX)) {\n- std::fclose(fp);\n- throw std::runtime_error(\"cannot tell where we are in the file\");\n- }\n- size_t len = (size_t) llen;\n- padded_string s(len);\n- if (s.data() == nullptr) {\n- std::fclose(fp);\n- throw std::runtime_error(\"could not allocate memory\");\n+void print_tape_element(std::ostream &os, const document *doc, size_t json_index) noexcept {\n+ uint64_t tape_val = doc->tape[json_index];\n+ uint64_t payload = tape_val & JSON_VALUE_MASK;\n+ uint8_t type = (tape_val >> 56);\n+\n+ switch (type) {\n+ case '\"': {\n+ os << '\"';\n+ uint32_t string_length;\n+ memcpy(&string_length, doc->string_buf.get() + payload, sizeof(uint32_t));\n+ print_with_escapes(\n+ (const unsigned char *)(doc->string_buf.get() + payload + sizeof(uint32_t)),\n+ os, string_length);\n+ os << '\"';\n+ break;\n+ }\n+ case 'l': {\n+ int64_t val;\n+ memcpy(&val, &doc->tape[json_index + 1], sizeof(val));\n+ os << val;\n+ break;\n+ }\n+ case 'u': {\n+ uint64_t val;\n+ memcpy(&val, &doc->tape[json_index + 1], sizeof(val));\n+ os << val;\n+ break;\n+ }\n+ case 'd': {\n+ double val;\n+ memcpy(&val, &doc->tape[json_index + 1], sizeof(val));\n+ os << val;\n+ break;\n+ }\n+ case 'n':\n+ os << \"null\";\n+ break;\n+ case 't':\n+ os << \"true\";\n+ break;\n+ case 'f':\n+ os << \"false\";\n+ break;\n+ case '[': {\n+ os << '[';\n+ size_t end_index = payload;\n+ size_t i = json_index + 1;\n+ bool first = true;\n+ while (i < end_index - 1) {\n+ if (!first) { os << ','; }\n+ first = false;\n+ print_tape_element(os, doc, i);\n+ // Advance past the element\n+ uint64_t tv = doc->tape[i];\n+ uint8_t t = (tv >> 56);\n+ switch (t) {\n+ case '[':\n+ case '{':\n+ i = tv & JSON_VALUE_MASK;\n+ break;\n+ case 'l':\n+ case 'u':\n+ case 'd':\n+ i += 2;\n+ break;\n+ default:\n+ i++;\n+ break;\n+ }\n }\n- std::rewind(fp);\n- size_t readb = std::fread(s.data(), 1, len, fp);\n- std::fclose(fp);\n- if (readb != len) {\n- throw std::runtime_error(\"could not read the data\");\n+ os << ']';\n+ break;\n+ }\n+ case '{': {\n+ os << '{';\n+ size_t end_index = payload;\n+ size_t i = json_index + 1;\n+ bool first = true;\n+ while (i < end_index - 1) {\n+ if (!first) { os << ','; }\n+ first = false;\n+ // Key (must be a string)\n+ uint64_t key_tape = doc->tape[i];\n+ uint64_t key_payload = key_tape & JSON_VALUE_MASK;\n+ os << '\"';\n+ uint32_t key_length;\n+ memcpy(&key_length, doc->string_buf.get() + key_payload, sizeof(uint32_t));\n+ print_with_escapes(\n+ (const unsigned char *)(doc->string_buf.get() + key_payload + sizeof(uint32_t)),\n+ os, key_length);\n+ os << '\"';\n+ os << ':';\n+ i++;\n+ // Value\n+ print_tape_element(os, doc, i);\n+ // Advance past the value element\n+ uint64_t tv = doc->tape[i];\n+ uint8_t t = (tv >> 56);\n+ switch (t) {\n+ case '[':\n+ case '{':\n+ i = tv & JSON_VALUE_MASK;\n+ break;\n+ case 'l':\n+ case 'u':\n+ case 'd':\n+ i += 2;\n+ break;\n+ default:\n+ i++;\n+ break;\n+ }\n }\n- return s;\n+ os << '}';\n+ break;\n+ }\n+ default:\n+ break;\n }\n- throw std::runtime_error(\"could not load corpus\");\n }\n-} // namespace simdjson\n-/* end file src/jsonioutil.cpp */\n+\n+} // namespace simdjson::internal\n+/* end file src/jsonformatutils.cpp */\n /* begin file src/jsonminifier.cpp */\n #include \n \n@@ -5950,7 +5994,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n@@ -7317,7 +7361,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n@@ -8690,7 +8734,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex 9d0454ff..905d76b8 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 22:53:33 UTC 2026. Do not edit! */\n /* begin file include/simdjson.h */\n #ifndef SIMDJSON_H\n #define SIMDJSON_H\n@@ -32,14 +32,27 @@\n // do not change by hand\n #ifndef SIMDJSON_SIMDJSON_VERSION_H\n #define SIMDJSON_SIMDJSON_VERSION_H\n+\n+/** The version of simdjson being used (major.minor.revision) */\n #define SIMDJSON_VERSION 0.2.1\n+\n namespace simdjson {\n enum {\n+ /**\n+ * The major version (MAJOR.minor.revision) of simdjson being used.\n+ */\n SIMDJSON_VERSION_MAJOR = 0,\n+ /**\n+ * The minor version (major.MINOR.revision) of simdjson being used.\n+ */\n SIMDJSON_VERSION_MINOR = 2,\n+ /**\n+ * The revision (major.minor.REVISION) of simdjson being used.\n+ */\n SIMDJSON_VERSION_REVISION = 1\n };\n-}\n+} // namespace simdjson\n+\n #endif // SIMDJSON_SIMDJSON_VERSION_H\n /* end file include/simdjson/simdjson_version.h */\n /* begin file include/simdjson/error.h */\n@@ -50,50 +63,121 @@ enum {\n \n namespace simdjson {\n \n+/**\n+ * All possible errors returned by simdjson.\n+ */\n enum error_code {\n- SUCCESS = 0,\n- SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data\n- CAPACITY, // This parser can't support a document that big\n- MEMALLOC, // Error allocating memory, most likely out of memory\n- TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this\n- // is a generic error\n- DEPTH_ERROR, // Your document exceeds the user-specified depth limitation\n- STRING_ERROR, // Problem while parsing a string\n- T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't'\n- F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f'\n- N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n'\n- NUMBER_ERROR, // Problem while parsing a number\n- UTF8_ERROR, // the input is not valid UTF-8\n- UNINITIALIZED, // unknown error, or uninitialized document\n- EMPTY, // no structural element found\n- UNESCAPED_CHARS, // found unescaped characters in a string.\n- UNCLOSED_STRING, // missing quote at the end\n- UNSUPPORTED_ARCHITECTURE, // unsupported architecture\n- INCORRECT_TYPE, // JSON element has a different type than user expected\n- NUMBER_OUT_OF_RANGE, // JSON number does not fit in 64 bits\n- NO_SUCH_FIELD, // JSON field not found in object\n- UNEXPECTED_ERROR // indicative of a bug in simdjson\n+ SUCCESS = 0, ///< No error\n+ SUCCESS_AND_HAS_MORE, ///< No error and buffer still has more data\n+ CAPACITY, ///< This parser can't support a document that big\n+ MEMALLOC, ///< Error allocating memory, most likely out of memory\n+ TAPE_ERROR, ///< Something went wrong while writing to the tape (stage 2), this is a generic error\n+ DEPTH_ERROR, ///< Your document exceeds the user-specified depth limitation\n+ STRING_ERROR, ///< Problem while parsing a string\n+ T_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 't'\n+ F_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'f'\n+ N_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'n'\n+ NUMBER_ERROR, ///< Problem while parsing a number\n+ UTF8_ERROR, ///< the input is not valid UTF-8\n+ UNINITIALIZED, ///< unknown error, or uninitialized document\n+ EMPTY, ///< no structural element found\n+ UNESCAPED_CHARS, ///< found unescaped characters in a string.\n+ UNCLOSED_STRING, ///< missing quote at the end\n+ UNSUPPORTED_ARCHITECTURE, ///< unsupported architecture\n+ INCORRECT_TYPE, ///< JSON element has a different type than user expected\n+ NUMBER_OUT_OF_RANGE, ///< JSON number does not fit in 64 bits\n+ NO_SUCH_FIELD, ///< JSON field not found in object\n+ IO_ERROR, ///< Error reading a file\n+ UNEXPECTED_ERROR, ///< indicative of a bug in simdjson\n+ /** @private Number of error codes */\n+ NUM_ERROR_CODES\n };\n \n-const std::string &error_message(error_code error) noexcept;\n+/**\n+ * Get the error message for the given error code.\n+ *\n+ * auto [doc, error] = document::parse(\"foo\");\n+ * if (error) { printf(\"Error: %s\\n\", error_message(error)); }\n+ *\n+ * @return The error message.\n+ */\n+inline const char *error_message(error_code error) noexcept;\n+\n+/**\n+ * Write the error message to the output stream\n+ */\n+inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept;\n+\n+/**\n+ * Exception thrown when an exception-supporting simdjson method is called\n+ */\n+struct simdjson_error : public std::exception {\n+ /**\n+ * Create an exception from a simdjson error code.\n+ * @param error The error code\n+ */\n+ simdjson_error(error_code error) noexcept : _error{error} { }\n+ /** The error message */\n+ const char *what() const noexcept { return error_message(error()); }\n+ error_code error() const noexcept { return _error; }\n+private:\n+ /** The error code that was used */\n+ error_code _error;\n+};\n \n-struct invalid_json : public std::exception {\n- invalid_json(error_code _error) : error{_error} { }\n- const char *what() const noexcept { return error_message(error); }\n+/**\n+ * The result of a simd operation that could fail.\n+ *\n+ * Gives the option of reading error codes, or throwing an exception by casting to the desired result.\n+ */\n+template\n+struct simdjson_result {\n+ /**\n+ * The value of the function.\n+ *\n+ * Undefined if error is true.\n+ */\n+ T value;\n+ /**\n+ * The error.\n+ */\n error_code error;\n+ /**\n+ * Cast to the value (will throw on error).\n+ *\n+ * @throw simdjson_error if there was an error.\n+ */\n+ operator T() noexcept(false) {\n+ if (error) { throw simdjson_error(error); }\n+ return std::move(value);\n+ }\n+ /**\n+ * Create a new error result.\n+ */\n+ simdjson_result(error_code _error) noexcept : value{}, error{_error} {}\n+ /**\n+ * Create a new successful result.\n+ */\n+ simdjson_result(T _value) noexcept : value{std::move(_value)}, error{SUCCESS} {}\n };\n \n-// TODO these are deprecated, remove\n+/**\n+ * @deprecated This is an alias and will be removed, use error_code instead\n+ */\n using ErrorValues = error_code;\n-inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); }\n+\n+/**\n+ * @deprecated Error codes should be stored and returned as `error_code`, use `error_message()` instead.\n+ */\n+inline const std::string &error_message(int error) noexcept;\n \n } // namespace simdjson\n \n #endif // SIMDJSON_ERROR_H\n /* end file include/simdjson/error.h */\n /* begin file include/simdjson/padded_string.h */\n-#ifndef SIMDJSON_PADDING_STRING_H\n-#define SIMDJSON_PADDING_STRING_H\n+#ifndef SIMDJSON_PADDED_STRING_H\n+#define SIMDJSON_PADDED_STRING_H\n /* begin file include/simdjson/portability.h */\n #ifndef SIMDJSON_PORTABILITY_H\n #define SIMDJSON_PORTABILITY_H\n@@ -221,14 +305,29 @@ static inline void aligned_free_char(char *mem_block) {\n \n #include \n \n-// we support documents up to 4GB\n-#define SIMDJSON_MAXSIZE_BYTES 0xFFFFFFFF\n+namespace simdjson {\n+\n+/** The maximum document size supported by simdjson. */\n+constexpr size_t SIMDJSON_MAXSIZE_BYTES = 0xFFFFFFFF;\n+\n+/**\n+ * The amount of padding needed in a buffer to parse JSON.\n+ *\n+ * the input buf should be readable up to buf + SIMDJSON_PADDING\n+ * this is a stopgap; there should be a better description of the\n+ * main loop and its behavior that abstracts over this\n+ * See https://github.com/lemire/simdjson/issues/174\n+ */\n+constexpr size_t SIMDJSON_PADDING = 32;\n+\n+/**\n+ * By default, simdjson supports this many nested objects and arrays.\n+ *\n+ * This is the default for document::parser::max_depth().\n+ */\n+constexpr size_t DEFAULT_MAX_DEPTH = 1024;\n \n-// the input buf should be readable up to buf + SIMDJSON_PADDING\n-// this is a stopgap; there should be a better description of the\n-// main loop and its behavior that abstracts over this\n-// See https://github.com/lemire/simdjson/issues/174\n-#define SIMDJSON_PADDING 32\n+} // namespace simdjson\n \n #if defined(__GNUC__)\n // Marks a block with a name so that MCA analysis can see it.\n@@ -293,98 +392,93 @@ static inline void aligned_free_char(char *mem_block) {\n #include \n #include \n \n-\n namespace simdjson {\n-// low-level function to allocate memory with padding so we can read past the\n-// \"length\" bytes safely. if you must provide a pointer to some data, create it\n-// with this function: length is the max. size in bytes of the string caller is\n-// responsible to free the memory (free(...))\n-inline char *allocate_padded_buffer(size_t length) noexcept {\n- // we could do a simple malloc\n- // return (char *) malloc(length + SIMDJSON_PADDING);\n- // However, we might as well align to cache lines...\n- size_t totalpaddedlength = length + SIMDJSON_PADDING;\n- char *padded_buffer = aligned_malloc_char(64, totalpaddedlength);\n-#ifndef NDEBUG\n- if (padded_buffer == nullptr) {\n- return nullptr;\n- }\n-#endif // NDEBUG\n- memset(padded_buffer + length, 0, totalpaddedlength - length);\n- return padded_buffer;\n-} // allocate_padded_buffer\n \n-// Simple string with padded allocation.\n-// We deliberately forbid copies, users should rely on swap or move\n-// constructors.\n+/**\n+ * String with extra allocation for ease of use with document::parser::parse()\n+ *\n+ * This is a move-only class, it cannot be copied.\n+ */\n struct padded_string final {\n \n- explicit padded_string() noexcept : viable_size(0), data_ptr(nullptr) {}\n-\n- explicit padded_string(size_t length) noexcept\n- : viable_size(length), data_ptr(allocate_padded_buffer(length)) {\n- if (data_ptr != nullptr)\n- data_ptr[length] = '\\0'; // easier when you need a c_str\n- }\n-\n- explicit padded_string(const char *data, size_t length) noexcept\n- : viable_size(length), data_ptr(allocate_padded_buffer(length)) {\n- if ((data != nullptr) and (data_ptr != nullptr)) {\n- memcpy(data_ptr, data, length);\n- data_ptr[length] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- // note: do not pass std::string arguments by value\n- padded_string(const std::string & str_ ) noexcept\n- : viable_size(str_.size()), data_ptr(allocate_padded_buffer(str_.size())) {\n- if (data_ptr != nullptr) {\n- memcpy(data_ptr, str_.data(), str_.size());\n- data_ptr[str_.size()] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- // note: do pass std::string_view arguments by value\n- padded_string(std::string_view sv_) noexcept\n- : viable_size(sv_.size()), data_ptr(allocate_padded_buffer(sv_.size())) {\n- if (data_ptr != nullptr) {\n- memcpy(data_ptr, sv_.data(), sv_.size());\n- data_ptr[sv_.size()] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- padded_string(padded_string &&o) noexcept\n- : viable_size(o.viable_size), data_ptr(o.data_ptr) {\n- o.data_ptr = nullptr; // we take ownership\n- }\n-\n- padded_string &operator=(padded_string &&o) {\n- aligned_free_char(data_ptr);\n- data_ptr = o.data_ptr;\n- viable_size = o.viable_size;\n- o.data_ptr = nullptr; // we take ownership\n- o.viable_size = 0;\n- return *this;\n- }\n+ /**\n+ * Create a new, empty padded string.\n+ */\n+ explicit inline padded_string() noexcept;\n+ /**\n+ * Create a new padded string buffer.\n+ *\n+ * @param length the size of the string.\n+ */\n+ explicit inline padded_string(size_t length) noexcept;\n+ /**\n+ * Create a new padded string by copying the given input.\n+ *\n+ * @param data the buffer to copy\n+ * @param length the number of bytes to copy\n+ */\n+ explicit inline padded_string(const char *data, size_t length) noexcept;\n+ /**\n+ * Create a new padded string by copying the given input.\n+ *\n+ * @param str_ the string to copy\n+ */\n+ inline padded_string(const std::string & str_ ) noexcept;\n+ /**\n+ * Create a new padded string by copying the given input.\n+ *\n+ * @param str_ the string to copy\n+ */\n+ inline padded_string(std::string_view sv_) noexcept;\n+ /**\n+ * Move one padded string into another.\n+ *\n+ * The original padded string will be reduced to zero capacity.\n+ *\n+ * @param o the string to move.\n+ */\n+ inline padded_string(padded_string &&o) noexcept;\n+ /**\n+ * Move one padded string into another.\n+ *\n+ * The original padded string will be reduced to zero capacity.\n+ *\n+ * @param o the string to move.\n+ */\n+ inline padded_string &operator=(padded_string &&o) noexcept;\n+ inline void swap(padded_string &o) noexcept;\n+ ~padded_string() noexcept;\n \n- void swap(padded_string &o) {\n- size_t tmp_viable_size = viable_size;\n- char *tmp_data_ptr = data_ptr;\n- viable_size = o.viable_size;\n- data_ptr = o.data_ptr;\n- o.data_ptr = tmp_data_ptr;\n- o.viable_size = tmp_viable_size;\n- }\n+ /**\n+ * The length of the string.\n+ *\n+ * Does not include padding.\n+ */\n+ size_t size() const noexcept;\n \n- ~padded_string() {\n- aligned_free_char(data_ptr);\n- }\n+ /**\n+ * The length of the string.\n+ *\n+ * Does not include padding.\n+ */\n+ size_t length() const noexcept;\n \n- size_t size() const { return viable_size; }\n+ /**\n+ * The string data.\n+ **/\n+ const char *data() const noexcept;\n \n- size_t length() const { return viable_size; }\n+ /**\n+ * The string data.\n+ **/\n+ char *data() noexcept;\n \n- char *data() const { return data_ptr; }\n+ /**\n+ * Load this padded string from a file.\n+ *\n+ * @param path the path to the file.\n+ **/\n+ inline static simdjson_result load(const std::string &path) noexcept;\n \n private:\n padded_string &operator=(const padded_string &o) = delete;\n@@ -397,7 +491,17 @@ private:\n \n } // namespace simdjson\n \n-#endif\n+namespace simdjson::internal {\n+\n+// low-level function to allocate memory with padding so we can read past the\n+// \"length\" bytes safely. if you must provide a pointer to some data, create it\n+// with this function: length is the max. size in bytes of the string caller is\n+// responsible to free the memory (free(...))\n+inline char *allocate_padded_buffer(size_t length) noexcept;\n+\n+} // namespace simdjson::internal;\n+\n+#endif // SIMDJSON_PADDED_STRING_H\n /* end file include/simdjson/common_defs.h */\n /* begin file include/simdjson/implementation.h */\n #ifndef SIMDJSON_IMPLEMENTATION_H\n@@ -427,11 +531,12 @@ private:\n #endif // SIMDJSON_H\n /* end file include/simdjson/simdjson.h */\n \n-#define JSON_VALUE_MASK 0x00FFFFFFFFFFFFFF\n-#define DEFAULT_MAX_DEPTH 1024 // a JSON document with a depth exceeding 1024 is probably de facto invalid\n-\n namespace simdjson {\n \n+namespace internal {\n+ constexpr const uint64_t JSON_VALUE_MASK = 0x00FFFFFFFFFFFFFF;\n+}\n+\n template class document_iterator;\n \n /**\n@@ -464,17 +569,22 @@ public:\n document &operator=(document &&other) noexcept = default;\n document &operator=(const document &) = delete; // Disallow copying\n \n+ /** The default batch size for parse_many and load_many */\n+ static constexpr size_t DEFAULT_BATCH_SIZE = 1000000;\n+\n // Nested classes\n class element;\n class array;\n class object;\n class key_value_pair;\n class parser;\n+ class stream;\n \n template\n class element_result;\n class doc_result;\n class doc_ref_result;\n+ class stream_result;\n \n // Nested classes. See definitions later in file.\n using iterator = document_iterator;\n@@ -499,14 +609,14 @@ public:\n * Read the root element of this document as a JSON array.\n *\n * @return The JSON array.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array\n */\n operator array() const noexcept(false);\n /**\n * Read this element as a JSON object (key/value pairs).\n *\n * @return The JSON object.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object\n */\n operator object() const noexcept(false);\n \n@@ -543,7 +653,9 @@ public:\n * @param os the stream to output to.\n * @param max_depth the maximum JSON depth to output.\n * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON).\n+ * @deprecated Use operator<< instead.\n */\n+ [[deprecated(\"Use operator<< instead\")]]\n bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const noexcept;\n /**\n * Dump the raw tape for debugging.\n@@ -553,6 +665,25 @@ public:\n */\n bool dump_raw_tape(std::ostream &os) const noexcept;\n \n+ /**\n+ * Load a JSON document from a file and return it.\n+ *\n+ * document doc = document::load(\"jsonexamples/twitter.json\");\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than the file length, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param path The path to load.\n+ * @return The document, or an error:\n+ * - IO_ERROR if there was an error opening or reading the file.\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n+ */\n+ inline static doc_result load(const std::string& path) noexcept;\n+\n /**\n * Parse a JSON document and return a reference to it.\n *\n@@ -615,7 +746,7 @@ public:\n private:\n class tape_ref;\n enum class tape_type;\n- bool set_capacity(size_t len);\n+ inline error_code set_capacity(size_t len) noexcept;\n }; // class document\n \n /**\n@@ -655,14 +786,36 @@ public:\n * Return the document, or throw an exception if it is invalid.\n *\n * @return the document.\n- * @exception invalid_json if the document is invalid or there was an error parsing it.\n+ * @exception simdjson_error if the document is invalid or there was an error parsing it.\n */\n operator document() noexcept(false);\n \n /**\n- * Get the error message for the error.\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n+ */\n+ inline element_result operator[](const std::string_view &key) const noexcept;\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n */\n- const std::string &get_error_message() const noexcept;\n+ inline element_result operator[](const char *key) const noexcept;\n \n ~doc_result() noexcept=default;\n \n@@ -719,20 +872,44 @@ public:\n * A reference to the document, or throw an exception if it is invalid.\n *\n * @return the document.\n- * @exception invalid_json if the document is invalid or there was an error parsing it.\n+ * @exception simdjson_error if the document is invalid or there was an error parsing it.\n */\n operator document&() noexcept(false);\n \n /**\n- * Get the error message for the error.\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n+ */\n+ inline element_result operator[](const std::string_view &key) const noexcept;\n+\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n */\n- const std::string &get_error_message() const noexcept;\n+ inline element_result operator[](const char *key) const noexcept;\n \n ~doc_ref_result()=default;\n \n private:\n doc_ref_result(document &_doc, error_code _error) noexcept;\n friend class document::parser;\n+ friend class document::stream;\n }; // class document::doc_ref_result\n \n /**\n@@ -874,7 +1051,7 @@ public:\n * Read this element as a boolean.\n *\n * @return The boolean value\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a boolean.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a boolean.\n */\n inline operator bool() const noexcept(false);\n \n@@ -885,7 +1062,7 @@ public:\n * an actual string.\n *\n * @return The string value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string.\n */\n inline explicit operator const char*() const noexcept(false);\n \n@@ -896,7 +1073,7 @@ public:\n * an actual string.\n *\n * @return The string value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string.\n */\n inline operator std::string_view() const noexcept(false);\n \n@@ -904,38 +1081,38 @@ public:\n * Read this element as an unsigned integer.\n *\n * @return The integer value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n */\n inline operator uint64_t() const noexcept(false);\n /**\n * Read this element as an signed integer.\n *\n * @return The integer value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits\n */\n inline operator int64_t() const noexcept(false);\n /**\n * Read this element as an double.\n *\n * @return The double value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a number\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a number\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n */\n inline operator double() const noexcept(false);\n /**\n * Read this element as a JSON array.\n *\n * @return The JSON array.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array\n */\n inline operator document::array() const noexcept(false);\n /**\n * Read this element as a JSON object (key/value pairs).\n *\n * @return The JSON object.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object\n */\n inline operator document::object() const noexcept(false);\n \n@@ -952,6 +1129,7 @@ public:\n * - UNEXPECTED_TYPE if the document is not an object\n */\n inline element_result operator[](const std::string_view &s) const noexcept;\n+\n /**\n * Get the value associated with the given key.\n *\n@@ -966,6 +1144,13 @@ public:\n */\n inline element_result operator[](const char *s) const noexcept;\n \n+ /**\n+ * Print this element to a std::ostream as minified JSON.\n+ *\n+ * @param os the stream to output to.\n+ */\n+ inline void print_json(std::ostream &os) const noexcept;\n+\n private:\n really_inline element() noexcept;\n really_inline element(const document *_doc, size_t _json_index) noexcept;\n@@ -1015,6 +1200,13 @@ public:\n */\n inline iterator end() const noexcept;\n \n+ /**\n+ * Print this array to a std::ostream as minified JSON.\n+ *\n+ * @param os the stream to output to.\n+ */\n+ inline void print_json(std::ostream &os) const noexcept;\n+\n private:\n really_inline array() noexcept;\n really_inline array(const document *_doc, size_t _json_index) noexcept;\n@@ -1076,6 +1268,13 @@ public:\n */\n inline iterator end() const noexcept;\n \n+ /**\n+ * Print this object to a std::ostream as minified JSON.\n+ *\n+ * @param os the stream to output to.\n+ */\n+ inline void print_json(std::ostream &os) const noexcept;\n+\n /**\n * Get the value associated with the given key.\n *\n@@ -1088,6 +1287,7 @@ public:\n * - NO_SUCH_FIELD if the field does not exist in the object\n */\n inline element_result operator[](const std::string_view &s) const noexcept;\n+\n /**\n * Get the value associated with the given key.\n *\n@@ -1243,8 +1443,8 @@ private:\n /**\n * A persistent document parser.\n *\n- * Use this if you intend to parse more than one document. It holds the internal memory necessary\n- * to do parsing, as well as memory for a single document that is overwritten on each parse.\n+ * The parser is designed to be reused, holding the internal buffers necessary to do parsing,\n+ * as well as memory for a single document. The parsed document is overwritten on each parse.\n *\n * This class cannot be copied, only moved, to avoid unintended allocations.\n *\n@@ -1253,9 +1453,20 @@ private:\n class document::parser {\n public:\n /**\n- * Create a JSON parser with zero capacity. Call allocate_capacity() to initialize it.\n+ * Create a JSON parser.\n+ *\n+ * The new parser will have zero capacity.\n+ *\n+ * @param max_capacity The maximum document length the parser can automatically handle. The parser\n+ * will allocate more capacity on an as needed basis (when it sees documents too big to handle)\n+ * up to this amount. The parser still starts with zero capacity no matter what this number is:\n+ * to allocate an initial capacity, call set_capacity() after constructing the parser. Defaults\n+ * to SIMDJSON_MAXSIZE_BYTES (the largest single document simdjson can process).\n+ * @param max_depth The maximum depth--number of nested objects and arrays--this parser can handle.\n+ * This will not be allocated until parse() is called for the first time. Defaults to\n+ * DEFAULT_MAX_DEPTH.\n */\n- parser()=default;\n+ really_inline parser(size_t max_capacity = SIMDJSON_MAXSIZE_BYTES, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept;\n ~parser()=default;\n \n /**\n@@ -1274,71 +1485,219 @@ public:\n parser &operator=(const document::parser &) = delete; // Disallow copying\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Load a JSON document from a file and return a reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.load(\"jsonexamples/twitter.json\");\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n- * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n- * and copied before parsing.\n+ * ### Parser Capacity\n *\n- * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n- * realloc_if_needed is true.\n- * @param len The length of the JSON.\n- * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * If the parser's current capacity is less than the file length, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param path The path to load.\n+ * @return The document, or an error:\n+ * - IO_ERROR if there was an error opening or reading the file.\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n- inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+ inline doc_ref_result load(const std::string& path) noexcept; \n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Load a file containing many JSON documents.\n *\n- * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n- * documents because it reuses the same buffers, but you *must* use the document before you\n- * destroy the parser or call parse() again.\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(path)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n *\n- * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n- * and copied before parsing.\n+ * ### Format\n *\n- * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n- * realloc_if_needed is true.\n- * @param len The length of the JSON.\n- * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * The file must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.load_many(path)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - IO_ERROR if there was an error opening or reading the file.\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails.\n */\n- really_inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+ inline document::stream load_many(const std::string& path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; \n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(buf, len);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### REQUIRED: Buffer Padding\n+ *\n * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size()\n- * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing.\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding,\n+ * and it is copied into an enlarged temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n+ * realloc_if_needed is true.\n+ * @param len The length of the JSON.\n+ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n+ * @return The document, or an error:\n+ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity,\n+ * and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n+ */\n+ inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+\n+ /**\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(buf, len);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() again.\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding,\n+ * and it is copied into an enlarged temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n+ * realloc_if_needed is true.\n+ * @param len The length of the JSON.\n+ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n+ * @return The document, or an error:\n+ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity,\n+ * and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n+ */\n+ really_inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+\n+ /**\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(s);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() again.\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If s.capacity() is less than SIMDJSON_PADDING, the string will be copied into an enlarged\n+ * temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n *\n * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or\n * a new string will be created with the extra padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if the string does not have enough padding or the parser does not have\n+ * enough capacity, and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n really_inline doc_ref_result parse(const std::string &s) noexcept;\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(s);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n * @param s The JSON to parse.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n really_inline doc_ref_result parse(const padded_string &s) noexcept;\n \n@@ -1346,24 +1705,320 @@ public:\n really_inline doc_ref_result parse(const char *buf) noexcept = delete;\n \n /**\n- * Current capacity: the largest document this parser can support without reallocating.\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param len The length of the concatenated JSON.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails.\n+ */\n+ inline stream parse_many(const uint8_t *buf, size_t len, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param len The length of the concatenated JSON.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const char *buf, size_t len, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const std::string &s, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param s The concatenated JSON to parse.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const padded_string &s, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+\n+ // We do not want to allow implicit conversion from C string to std::string.\n+ really_inline doc_ref_result parse_many(const char *buf, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept = delete;\n+\n+ /**\n+ * The largest document this parser can automatically support.\n+ *\n+ * The parser may reallocate internal buffers as needed up to this amount.\n+ *\n+ * @return Maximum capacity, in bytes.\n+ */\n+ really_inline size_t max_capacity() const noexcept;\n+\n+ /**\n+ * The largest document this parser can support without reallocating.\n+ *\n+ * @return Current capacity, in bytes.\n */\n really_inline size_t capacity() const noexcept;\n \n /**\n * The maximum level of nested object and arrays supported by this parser.\n+ *\n+ * @return Maximum depth, in bytes.\n */\n really_inline size_t max_depth() const noexcept;\n \n+ /**\n+ * Set max_capacity. This is the largest document this parser can automatically support.\n+ *\n+ * The parser may reallocate internal buffers as needed up to this amount.\n+ *\n+ * This call will not allocate or deallocate, even if capacity is currently above max_capacity.\n+ *\n+ * @param max_capacity The new maximum capacity, in bytes.\n+ */\n+ really_inline void set_max_capacity(size_t max_capacity) noexcept;\n+\n+ /**\n+ * Set capacity. This is the largest document this parser can support without reallocating.\n+ *\n+ * This will allocate or deallocate as necessary.\n+ *\n+ * @param capacity The new capacity, in bytes.\n+ *\n+ * @return MEMALLOC if unsuccessful, SUCCESS otherwise.\n+ */\n+ WARN_UNUSED inline error_code set_capacity(size_t capacity) noexcept;\n+\n+ /**\n+ * Set the maximum level of nested object and arrays supported by this parser.\n+ *\n+ * This will allocate or deallocate as necessary.\n+ *\n+ * @param max_depth The new maximum depth, in bytes.\n+ *\n+ * @return MEMALLOC if unsuccessful, SUCCESS otherwise.\n+ */\n+ WARN_UNUSED inline error_code set_max_depth(size_t max_depth) noexcept;\n+\n /**\n * Ensure this parser has enough memory to process JSON documents up to `capacity` bytes in length\n * and `max_depth` depth.\n+ *\n+ * Equivalent to calling set_capacity() and set_max_depth().\n+ *\n+ * @param capacity The new capacity.\n+ * @param max_depth The new max_depth. Defaults to DEFAULT_MAX_DEPTH.\n+ * @return true if successful, false if allocation failed.\n */\n- WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH);\n+ WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept;\n \n // type aliases for backcompat\n using Iterator = document::iterator;\n- using InvalidJSON = invalid_json;\n+ using InvalidJSON = simdjson_error;\n \n // Next location to write to in the tape\n uint32_t current_loc{0};\n@@ -1406,6 +2061,7 @@ public:\n // print the json to std::ostream (should be valid)\n // return false if the tape is likely wrong (e.g., you did not parse a valid\n // JSON).\n+ [[deprecated(\"Use operator<< instead\")]]\n inline bool print_json(std::ostream &os) const noexcept;\n inline bool dump_raw_tape(std::ostream &os) const noexcept;\n \n@@ -1434,13 +2090,6 @@ public:\n really_inline bool on_number_s64(int64_t value) noexcept;\n really_inline bool on_number_u64(uint64_t value) noexcept;\n really_inline bool on_number_double(double value) noexcept;\n- //\n- // Called before a parse is initiated.\n- //\n- // - Returns CAPACITY if the document is too large\n- // - Returns MEMALLOC if we needed to allocate memory and could not\n- //\n- WARN_UNUSED inline error_code init_parse(size_t len) noexcept;\n \n private:\n //\n@@ -1450,12 +2099,19 @@ private:\n //\n size_t _capacity{0};\n \n+ //\n+ // The maximum document length this parser will automatically support.\n+ //\n+ // The parser will not be automatically allocated above this amount.\n+ //\n+ size_t _max_capacity;\n+\n //\n // The maximum depth (number of nested objects and arrays) supported by this parser.\n //\n // Defaults to DEFAULT_MAX_DEPTH.\n //\n- size_t _max_depth{0};\n+ size_t _max_depth;\n \n // all nodes are stored on the doc.tape using a 64-bit word.\n //\n@@ -1474,30 +2130,103 @@ private:\n inline void write_tape(uint64_t val, tape_type t) noexcept;\n inline void annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept;\n \n- //\n- // Set the current capacity: the largest document this parser can support without reallocating.\n- //\n- // This will allocate *or deallocate* as necessary.\n- //\n- // Returns false if allocation fails.\n- //\n- inline WARN_UNUSED bool set_capacity(size_t capacity);\n-\n- //\n- // Set the maximum level of nested object and arrays supported by this parser.\n- //\n- // This will allocate *or deallocate* as necessary.\n- //\n- // Returns false if allocation fails.\n- //\n- inline WARN_UNUSED bool set_max_depth(size_t max_depth);\n+ // Ensure we have enough capacity to handle at least desired_capacity bytes,\n+ // and auto-allocate if not.\n+ inline error_code ensure_capacity(size_t desired_capacity) noexcept;\n \n // Used internally to get the document\n inline const document &get_document() const noexcept(false);\n \n template friend class document_iterator;\n+ friend class document::stream;\n }; // class parser\n \n+/**\n+ * Print JSON to an ostream.\n+ *\n+ * @param os The output stream.\n+ * @param doc The document to print.\n+ * @return The output stream.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document &doc) noexcept;\n+\n+/**\n+ * Print JSON to an ostream.\n+ *\n+ * @param os The output stream.\n+ * @param element The element to print.\n+ * @return The output stream.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::element &element) noexcept;\n+\n+/**\n+ * Print JSON to an ostream.\n+ *\n+ * @param os The output stream.\n+ * @param array The array to print.\n+ * @return The output stream.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::array &array) noexcept;\n+\n+/**\n+ * Print JSON to an ostream.\n+ *\n+ * @param os The output stream.\n+ * @param object The object to print.\n+ * @return The output stream.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::object &object) noexcept;\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param doc The doc_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the doc_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::doc_result &doc) noexcept(false);\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param doc The doc_ref_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the doc_ref_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::doc_ref_result &doc) noexcept(false);\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param element The element_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the element_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &element) noexcept(false);\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param array The element_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the element_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &array) noexcept(false);\n+\n+/**\n+ * Print JSON to an ostream, throwing on error.\n+ *\n+ * @param os The output stream.\n+ * @param object The element_result to print.\n+ * @return The output stream.\n+ * @exception simdjson_error if the element_result has an error.\n+ */\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &object) noexcept(false);\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_DOCUMENT_H\n@@ -1541,7 +2270,7 @@ public:\n virtual uint32_t required_instruction_sets() const { return _required_instruction_sets; };\n \n /**\n- * Run a full document parse (init_parse, stage1 and stage2).\n+ * Run a full document parse (ensure_capacity, stage1 and stage2).\n *\n * Overridden by each implementation.\n *\n@@ -1560,7 +2289,7 @@ public:\n * @param buf the json document to parse. *MUST* be allocated up to len + SIMDJSON_PADDING bytes.\n * @param len the length of the json document.\n * @param parser the parser with the buffers to use. *MUST* have allocated up to at least len capacity.\n- * @param streaming whether this is being called by a JsonStream parser.\n+ * @param streaming whether this is being called by document::parser::parse_many.\n * @return the error code, or SUCCESS if there was no error.\n */\n WARN_UNUSED virtual error_code stage1(const uint8_t *buf, size_t len, document::parser &parser, bool streaming) const noexcept = 0;\n@@ -1578,7 +2307,7 @@ public:\n WARN_UNUSED virtual error_code stage2(const uint8_t *buf, size_t len, document::parser &parser) const noexcept = 0;\n \n /**\n- * Stage 2 of the document parser for JsonStream.\n+ * Stage 2 of the document parser for document::parser::parse_many.\n *\n * Overridden by each implementation.\n *\n@@ -1731,92 +2460,84 @@ inline internal::atomic_ptr active_implementation = &inter\n \n #endif // SIMDJSON_IMPLEMENTATION_H\n /* end file include/simdjson/simdjson.h */\n-/* begin file include/simdjson/jsonstream.h */\n-#ifndef SIMDJSON_JSONSTREAM_H\n-#define SIMDJSON_JSONSTREAM_H\n+/* begin file include/simdjson/document_stream.h */\n+#ifndef SIMDJSON_DOCUMENT_STREAM_H\n+#define SIMDJSON_DOCUMENT_STREAM_H\n \n #include \n \n namespace simdjson {\n \n-/*************************************************************************************\n- * The main motivation for this piece of software is to achieve maximum speed\n- *and offer\n- * good quality of life while parsing files containing multiple JSON documents.\n+template class JsonStream;\n+\n+/**\n+ * A forward-only stream of documents.\n *\n- * Since we want to offer flexibility and not restrict ourselves to a specific\n- *file\n- * format, we support any file that contains any valid JSON documents separated\n- *by one\n- * or more character that is considered a whitespace by the JSON spec.\n- * Namely: space, nothing, linefeed, carriage return, horizontal tab.\n- * Anything that is not whitespace will be parsed as a JSON document and could\n- *lead\n- * to failure.\n+ * Produced by document::parser::parse_many.\n *\n- * To offer maximum parsing speed, our implementation processes the data inside\n- *the\n- * buffer by batches and their size is defined by the parameter \"batch_size\".\n- * By loading data in batches, we can optimize the time spent allocating data in\n- *the\n- * parser and can also open the possibility of multi-threading.\n- * The batch_size must be at least as large as the biggest document in the file,\n- *but\n- * not too large in order to submerge the chached memory. We found that 1MB is\n- * somewhat a sweet spot for now. Eventually, this batch_size could be fully\n- * automated and be optimal at all times.\n- ************************************************************************************/\n-/**\n-* The template parameter (string_container) must\n-* support the data() and size() methods, returning a pointer\n-* to a char* and to the number of bytes respectively.\n-* The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end\n-* of the string, so if you do not use a padded_string container,\n-* you have the responsability to overallocated. If you fail to\n-* do so, your software may crash if you cross a page boundary,\n-* and you should expect memory checkers to object.\n-* Most users should use a simdjson::padded_string.\n-*/\n-template class JsonStream {\n+ */\n+class document::stream {\n public:\n- /* Create a JsonStream object that can be used to parse sequentially the valid\n- * JSON documents found in the buffer \"buf\".\n- *\n- * The batch_size must be at least as large as the biggest document in the\n- * file, but\n- * not too large to submerge the cached memory. We found that 1MB is\n- * somewhat a sweet spot for now.\n- *\n- * The user is expected to call the following json_parse method to parse the\n- * next\n- * valid JSON document found in the buffer. This method can and is expected\n- * to be\n- * called in a loop.\n- *\n- * Various methods are offered to keep track of the status, like\n- * get_current_buffer_loc,\n- * get_n_parsed_docs, get_n_bytes_parsed, etc.\n- *\n- * */\n- JsonStream(const string_container &s, size_t batch_size = 1000000);\n+ really_inline ~stream() noexcept;\n+\n+ /**\n+ * An iterator through a forward-only stream of documents.\n+ */\n+ class iterator {\n+ public:\n+ /**\n+ * Get the current document (or error).\n+ */\n+ really_inline doc_ref_result operator*() noexcept;\n+ /**\n+ * Advance to the next document.\n+ */\n+ inline iterator& operator++() noexcept;\n+ /**\n+ * Check if we're at the end yet.\n+ * @param other the end iterator to compare to.\n+ */\n+ really_inline bool operator!=(const iterator &other) const noexcept;\n \n- ~JsonStream();\n+ private:\n+ iterator(stream& stream, bool finished) noexcept;\n+ /** The stream parser we're iterating through. */\n+ stream& _stream;\n+ /** Whether we're finished or not. */\n+ bool finished;\n+ friend class stream;\n+ };\n \n- /* Parse the next document found in the buffer previously given to JsonStream.\n+ /**\n+ * Start iterating the documents in the stream.\n+ */\n+ really_inline iterator begin() noexcept;\n+ /**\n+ * The end of the stream, for iterator comparison purposes.\n+ */\n+ really_inline iterator end() noexcept;\n \n+private:\n+\n+ stream &operator=(const document::stream &) = delete; // Disallow copying\n+\n+ stream(document::stream &other) = delete; // Disallow copying\n+\n+ really_inline stream(document::parser &parser, const uint8_t *buf, size_t len, size_t batch_size, error_code error = SUCCESS) noexcept;\n+\n+ /**\n+ * Parse the next document found in the buffer previously given to stream.\n+ *\n * The content should be a valid JSON document encoded as UTF-8. If there is a\n * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n * discouraged.\n *\n * You do NOT need to pre-allocate a parser. This function takes care of\n- * pre-allocating a capacity defined by the batch_size defined when creating\n- the\n- * JsonStream object.\n+ * pre-allocating a capacity defined by the batch_size defined when creating the\n+ * stream object.\n *\n- * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in\n- case\n- * of success and indicates that the buffer still contains more data to be\n- parsed,\n+ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in case\n+ * of success and indicates that the buffer still contains more data to be parsed,\n * meaning this function can be called again to return the next JSON document\n * after this one.\n *\n@@ -1824,43 +2545,46 @@ public:\n * and indicates that the buffer has successfully been parsed to the end.\n * Every document it contained has been parsed without error.\n *\n- * The function returns an error code from simdjson/simdjson.h in case of\n- failure\n- * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and\n- so forth;\n- * the simdjson::error_message function converts these error codes into a\n- * string).\n+ * The function returns an error code from simdjson/simdjson.h in case of failure\n+ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth;\n+ * the simdjson::error_message function converts these error codes into a string).\n *\n- * You can also check validity by calling parser.is_valid(). The same parser\n- can\n+ * You can also check validity by calling parser.is_valid(). The same parser can\n * and should be reused for the other documents in the buffer. */\n- int json_parse(document::parser &parser);\n+ inline error_code json_parse() noexcept;\n \n- /* Returns the location (index) of where the next document should be in the\n+ /**\n+ * Returns the location (index) of where the next document should be in the\n * buffer.\n * Can be used for debugging, it tells the user the position of the end of the\n * last\n- * valid JSON document parsed*/\n+ * valid JSON document parsed\n+ */\n inline size_t get_current_buffer_loc() const { return current_buffer_loc; }\n \n- /* Returns the total amount of complete documents parsed by the JsonStream,\n- * in the current buffer, at the given time.*/\n+ /**\n+ * Returns the total amount of complete documents parsed by the stream,\n+ * in the current buffer, at the given time.\n+ */\n inline size_t get_n_parsed_docs() const { return n_parsed_docs; }\n \n- /* Returns the total amount of data (in bytes) parsed by the JsonStream,\n- * in the current buffer, at the given time.*/\n+ /**\n+ * Returns the total amount of data (in bytes) parsed by the stream,\n+ * in the current buffer, at the given time.\n+ */\n inline size_t get_n_bytes_parsed() const { return n_bytes_parsed; }\n \n-private:\n- inline const uint8_t *buf() const { return reinterpret_cast(str.data()) + str_start; }\n+ inline const uint8_t *buf() const { return _buf + buf_start; }\n \n- inline void advance(size_t offset) { str_start += offset; }\n+ inline void advance(size_t offset) { buf_start += offset; }\n \n- inline size_t remaining() const { return str.size() - str_start; }\n+ inline size_t remaining() const { return _len - buf_start; }\n \n- const string_container &str;\n+ document::parser &parser;\n+ const uint8_t *_buf;\n+ const size_t _len;\n size_t _batch_size; // this is actually variable!\n- size_t str_start{0};\n+ size_t buf_start{0};\n size_t next_json{0};\n bool load_next_batch{true};\n size_t current_buffer_loc{0};\n@@ -1869,17 +2593,19 @@ private:\n #endif\n size_t n_parsed_docs{0};\n size_t n_bytes_parsed{0};\n- simdjson::implementation *stage_parser;\n+ error_code error{SUCCESS_AND_HAS_MORE};\n #ifdef SIMDJSON_THREADS_ENABLED\n error_code stage1_is_ok_thread{SUCCESS};\n std::thread stage_1_thread;\n document::parser parser_thread;\n #endif\n-}; // end of class JsonStream\n+ template friend class JsonStream;\n+ friend class document::parser;\n+}; // class document::stream\n \n } // end of namespace simdjson\n-#endif // SIMDJSON_JSONSTREAM_H\n-/* end file include/simdjson/jsonstream.h */\n+#endif // SIMDJSON_DOCUMENT_STREAM_H\n+/* end file include/simdjson/document_stream.h */\n /* begin file include/simdjson/jsonminifier.h */\n #ifndef SIMDJSON_JSONMINIFIER_H\n #define SIMDJSON_JSONMINIFIER_H\n@@ -1908,8 +2634,10 @@ static inline size_t json_minify(const std::string_view &p, char *out) {\n static inline size_t json_minify(const padded_string &p, char *out) {\n return json_minify(p.data(), p.size(), out);\n }\n+\n } // namespace simdjson\n-#endif\n+\n+#endif // SIMDJSON_JSONMINIFIER_H\n /* end file include/simdjson/jsonminifier.h */\n \n // Deprecated API\n@@ -1937,6 +2665,10 @@ static inline size_t json_minify(const padded_string &p, char *out) {\n #include \n #include \n \n+namespace simdjson {\n+class document;\n+}\n+\n namespace simdjson::internal {\n \n // ends with zero char\n@@ -2042,6 +2774,13 @@ static inline void print_with_escapes(const char *src, std::ostream &os, size_t\n print_with_escapes(reinterpret_cast(src), os, len);\n }\n \n+// Forward declaration needed for print_tape_element\n+class tape_ref;\n+\n+// Print a single element from the tape (and its children) to an ostream.\n+// This is the core implementation used by element::print_json() and operator<<.\n+void print_tape_element(std::ostream &os, const document *doc, size_t json_index) noexcept;\n+\n } // namespace simdjson::internal\n \n #endif // SIMDJSON_INTERNAL_JSONFORMATUTILS_H\n@@ -2103,7 +2842,7 @@ public:\n // within the string: get_string_length determines the true string length.\n inline const char *get_string() const {\n return reinterpret_cast(\n- doc.string_buf.get() + (current_val & JSON_VALUE_MASK) + sizeof(uint32_t));\n+ doc.string_buf.get() + (current_val & internal::JSON_VALUE_MASK) + sizeof(uint32_t));\n }\n \n // return the length of the string in bytes\n@@ -2111,7 +2850,7 @@ public:\n uint32_t answer;\n memcpy(&answer,\n reinterpret_cast(doc.string_buf.get() +\n- (current_val & JSON_VALUE_MASK)),\n+ (current_val & internal::JSON_VALUE_MASK)),\n sizeof(uint32_t));\n return answer;\n }\n@@ -2336,24 +3075,13 @@ using ParsedJson = document::parser;\n \n namespace simdjson {\n \n-// load a file in memory...\n-// get a corpus; pad out to cache line so we can always use SIMD\n-// throws exceptions in case of failure\n-// first element of the pair is a string (null terminated)\n-// whereas the second element is the length.\n-// caller is responsible to free (aligned_free((void*)result.data())))\n-//\n-// throws an exception if the file cannot be opened, use try/catch\n-// try {\n-// p = get_corpus(filename);\n-// } catch (const std::exception& e) {\n-// aligned_free((void*)p.data());\n-// std::cout << \"Could not load the file \" << filename << std::endl;\n-// }\n-padded_string get_corpus(const std::string &filename);\n+inline padded_string get_corpus(const std::string &filename) {\n+ return padded_string::load(filename);\n+}\n+\n } // namespace simdjson\n \n-#endif\n+#endif // SIMDJSON_JSONIOUTIL_H\n /* end file include/simdjson/jsonioutil.h */\n \n namespace simdjson {\n@@ -2382,34 +3110,154 @@ inline int json_parse(const padded_string &s, document::parser &parser) noexcept\n return json_parse(s.data(), s.length(), parser, false);\n }\n \n-WARN_UNUSED static document::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept {\n- document::parser parser;\n- if (!parser.allocate_capacity(len)) {\n- parser.valid = false;\n- parser.error = MEMALLOC;\n- return parser;\n- }\n- json_parse(buf, len, parser, realloc_if_needed);\n- return parser;\n-}\n-WARN_UNUSED inline document::parser build_parsed_json(const char *buf, size_t len, bool realloc_if_needed = true) noexcept {\n- return build_parsed_json(reinterpret_cast(buf), len, realloc_if_needed);\n-}\n-WARN_UNUSED inline document::parser build_parsed_json(const std::string &s, bool realloc_if_needed = true) noexcept {\n- return build_parsed_json(s.data(), s.length(), realloc_if_needed);\n-}\n-WARN_UNUSED inline document::parser build_parsed_json(const padded_string &s) noexcept {\n- return build_parsed_json(s.data(), s.length(), false);\n-}\n+WARN_UNUSED static document::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept {\n+ document::parser parser;\n+ json_parse(buf, len, parser, realloc_if_needed);\n+ return parser;\n+}\n+WARN_UNUSED inline document::parser build_parsed_json(const char *buf, size_t len, bool realloc_if_needed = true) noexcept {\n+ return build_parsed_json(reinterpret_cast(buf), len, realloc_if_needed);\n+}\n+WARN_UNUSED inline document::parser build_parsed_json(const std::string &s, bool realloc_if_needed = true) noexcept {\n+ return build_parsed_json(s.data(), s.length(), realloc_if_needed);\n+}\n+WARN_UNUSED inline document::parser build_parsed_json(const padded_string &s) noexcept {\n+ return build_parsed_json(s.data(), s.length(), false);\n+}\n+\n+// We do not want to allow implicit conversion from C string to std::string.\n+int json_parse(const char *buf, document::parser &parser) noexcept = delete;\n+document::parser build_parsed_json(const char *buf) noexcept = delete;\n+\n+} // namespace simdjson\n+\n+#endif\n+/* end file include/simdjson/jsonioutil.h */\n+/* begin file include/simdjson/jsonstream.h */\n+// TODO Remove this -- deprecated API and files\n+\n+#ifndef SIMDJSON_JSONSTREAM_H\n+#define SIMDJSON_JSONSTREAM_H\n+\n+\n+namespace simdjson {\n+\n+/**\n+ * @deprecated use document::stream instead.\n+ *\n+ * The main motivation for this piece of software is to achieve maximum speed and offer\n+ * good quality of life while parsing files containing multiple JSON documents.\n+ *\n+ * Since we want to offer flexibility and not restrict ourselves to a specific file\n+ * format, we support any file that contains any valid JSON documents separated by one\n+ * or more character that is considered a whitespace by the JSON spec.\n+ * Namely: space, nothing, linefeed, carriage return, horizontal tab.\n+ * Anything that is not whitespace will be parsed as a JSON document and could lead\n+ * to failure.\n+ *\n+ * To offer maximum parsing speed, our implementation processes the data inside the\n+ * buffer by batches and their size is defined by the parameter \"batch_size\".\n+ * By loading data in batches, we can optimize the time spent allocating data in the\n+ * parser and can also open the possibility of multi-threading.\n+ * The batch_size must be at least as large as the biggest document in the file, but\n+ * not too large in order to submerge the chached memory. We found that 1MB is\n+ * somewhat a sweet spot for now. Eventually, this batch_size could be fully\n+ * automated and be optimal at all times.\n+ *\n+ * The template parameter (string_container) must\n+ * support the data() and size() methods, returning a pointer\n+ * to a char* and to the number of bytes respectively.\n+ * The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end\n+ * of the string, so if you do not use a padded_string container,\n+ * you have the responsability to overallocated. If you fail to\n+ * do so, your software may crash if you cross a page boundary,\n+ * and you should expect memory checkers to object.\n+ * Most users should use a simdjson::padded_string.\n+ */\n+template class JsonStream {\n+public:\n+ /* Create a JsonStream object that can be used to parse sequentially the valid\n+ * JSON documents found in the buffer \"buf\".\n+ *\n+ * The batch_size must be at least as large as the biggest document in the\n+ * file, but\n+ * not too large to submerge the cached memory. We found that 1MB is\n+ * somewhat a sweet spot for now.\n+ *\n+ * The user is expected to call the following json_parse method to parse the\n+ * next\n+ * valid JSON document found in the buffer. This method can and is expected\n+ * to be\n+ * called in a loop.\n+ *\n+ * Various methods are offered to keep track of the status, like\n+ * get_current_buffer_loc,\n+ * get_n_parsed_docs, get_n_bytes_parsed, etc.\n+ *\n+ * */\n+ JsonStream(const string_container &s, size_t _batch_size = 1000000) noexcept;\n+\n+ ~JsonStream() noexcept;\n+\n+ /* Parse the next document found in the buffer previously given to JsonStream.\n+\n+ * The content should be a valid JSON document encoded as UTF-8. If there is a\n+ * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n+ * discouraged.\n+ *\n+ * You do NOT need to pre-allocate a parser. This function takes care of\n+ * pre-allocating a capacity defined by the batch_size defined when creating\n+ the\n+ * JsonStream object.\n+ *\n+ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in\n+ case\n+ * of success and indicates that the buffer still contains more data to be\n+ parsed,\n+ * meaning this function can be called again to return the next JSON document\n+ * after this one.\n+ *\n+ * The function returns simdjson::SUCCESS (as integer = 0) in case of success\n+ * and indicates that the buffer has successfully been parsed to the end.\n+ * Every document it contained has been parsed without error.\n+ *\n+ * The function returns an error code from simdjson/simdjson.h in case of\n+ failure\n+ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and\n+ so forth;\n+ * the simdjson::error_message function converts these error codes into a\n+ * string).\n+ *\n+ * You can also check validity by calling parser.is_valid(). The same parser\n+ can\n+ * and should be reused for the other documents in the buffer. */\n+ int json_parse(document::parser &parser) noexcept;\n+\n+ /* Returns the location (index) of where the next document should be in the\n+ * buffer.\n+ * Can be used for debugging, it tells the user the position of the end of the\n+ * last\n+ * valid JSON document parsed*/\n+ inline size_t get_current_buffer_loc() const noexcept { return stream ? stream->current_buffer_loc : 0; }\n+\n+ /* Returns the total amount of complete documents parsed by the JsonStream,\n+ * in the current buffer, at the given time.*/\n+ inline size_t get_n_parsed_docs() const noexcept { return stream ? stream->n_parsed_docs : 0; }\n \n-// We do not want to allow implicit conversion from C string to std::string.\n-int json_parse(const char *buf, document::parser &parser) noexcept = delete;\n-document::parser build_parsed_json(const char *buf) noexcept = delete;\n+ /* Returns the total amount of data (in bytes) parsed by the JsonStream,\n+ * in the current buffer, at the given time.*/\n+ inline size_t get_n_bytes_parsed() const noexcept { return stream ? stream->n_bytes_parsed : 0; }\n \n-} // namespace simdjson\n+private:\n+ const string_container &str;\n+ const size_t batch_size;\n+ document::stream *stream{nullptr};\n+}; // end of class JsonStream\n \n-#endif\n-/* end file include/simdjson/jsonioutil.h */\n+} // end of namespace simdjson\n+\n+#endif // SIMDJSON_JSONSTREAM_H\n+/* end file include/simdjson/jsonstream.h */\n \n // Inline functions\n /* begin file include/simdjson/inline/document.h */\n@@ -2431,32 +3279,32 @@ template\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n template<>\n inline document::element_result::operator std::string_view() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator const char *() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator bool() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator uint64_t() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator int64_t() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator double() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n \n@@ -2466,15 +3314,15 @@ inline document::element_result::operator double() const noexcept(false)\n inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {}\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n inline document::element_result::operator document::array() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n inline document::array::iterator document::element_result::begin() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.begin();\n }\n inline document::array::iterator document::element_result::end() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.end();\n }\n \n@@ -2484,7 +3332,7 @@ inline document::array::iterator document::element_result::end(\n inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {}\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n inline document::element_result::operator document::object() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept {\n@@ -2496,11 +3344,11 @@ inline document::element_result document::element_result::begin() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.begin();\n }\n inline document::object::iterator document::element_result::end() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.end();\n }\n \n@@ -2607,30 +3455,33 @@ inline document::element_result document::operator[](const ch\n return root()[key];\n }\n \n+inline document::doc_result document::load(const std::string &path) noexcept {\n+ document::parser parser;\n+ auto [doc, error] = parser.load(path);\n+ return document::doc_result((document &&)doc, error);\n+}\n+\n inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n document::parser parser;\n- if (!parser.allocate_capacity(len)) {\n- return MEMALLOC;\n- }\n auto [doc, error] = parser.parse(buf, len, realloc_if_needed);\n return document::doc_result((document &&)doc, error);\n }\n really_inline document::doc_result document::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept {\n- return parse((const uint8_t *)buf, len, realloc_if_needed);\n+ return parse((const uint8_t *)buf, len, realloc_if_needed);\n }\n really_inline document::doc_result document::parse(const std::string &s) noexcept {\n- return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING);\n+ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING);\n }\n really_inline document::doc_result document::parse(const padded_string &s) noexcept {\n- return parse(s.data(), s.length(), false);\n+ return parse(s.data(), s.length(), false);\n }\n \n WARN_UNUSED\n-inline bool document::set_capacity(size_t capacity) {\n+inline error_code document::set_capacity(size_t capacity) noexcept {\n if (capacity == 0) {\n string_buf.reset();\n tape.reset();\n- return true;\n+ return SUCCESS;\n }\n \n // a pathological input like \"[[[[...\" would generate len tape elements, so\n@@ -2644,7 +3495,7 @@ inline bool document::set_capacity(size_t capacity) {\n size_t string_capacity = ROUNDUP_N(5 * capacity / 3 + 32, 64);\n string_buf.reset( new (std::nothrow) uint8_t[string_capacity]);\n tape.reset(new (std::nothrow) uint64_t[tape_capacity]);\n- return string_buf && tape;\n+ return string_buf && tape ? SUCCESS : MEMALLOC;\n }\n \n inline bool document::print_json(std::ostream &os, size_t max_depth) const noexcept {\n@@ -2654,7 +3505,7 @@ inline bool document::print_json(std::ostream &os, size_t max_depth) const noexc\n uint8_t type = (tape_val >> 56);\n size_t how_many = 0;\n if (type == 'r') {\n- how_many = tape_val & JSON_VALUE_MASK;\n+ how_many = tape_val & internal::JSON_VALUE_MASK;\n } else {\n // Error: no starting root node?\n return false;\n@@ -2667,7 +3518,7 @@ inline bool document::print_json(std::ostream &os, size_t max_depth) const noexc\n in_object[depth] = false;\n for (; tape_idx < how_many; tape_idx++) {\n tape_val = tape[tape_idx];\n- uint64_t payload = tape_val & JSON_VALUE_MASK;\n+ uint64_t payload = tape_val & internal::JSON_VALUE_MASK;\n type = (tape_val >> 56);\n if (!in_object[depth]) {\n if ((in_object_idx[depth] > 0) && (type != ']')) {\n@@ -2762,7 +3613,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n tape_idx++;\n size_t how_many = 0;\n if (type == 'r') {\n- how_many = tape_val & JSON_VALUE_MASK;\n+ how_many = tape_val & internal::JSON_VALUE_MASK;\n } else {\n // Error: no starting root node?\n return false;\n@@ -2772,7 +3623,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n for (; tape_idx < how_many; tape_idx++) {\n os << tape_idx << \" : \";\n tape_val = tape[tape_idx];\n- payload = tape_val & JSON_VALUE_MASK;\n+ payload = tape_val & internal::JSON_VALUE_MASK;\n type = (tape_val >> 56);\n switch (type) {\n case '\"': // we have a string\n@@ -2839,7 +3690,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n }\n }\n tape_val = tape[tape_idx];\n- payload = tape_val & JSON_VALUE_MASK;\n+ payload = tape_val & internal::JSON_VALUE_MASK;\n type = (tape_val >> 56);\n os << tape_idx << \" : \" << type << \"\\t// pointing to \" << payload\n << \" (start root)\\n\";\n@@ -2851,13 +3702,16 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n //\n inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { }\n inline document::doc_ref_result::operator document&() noexcept(false) {\n- if (error) {\n- throw invalid_json(error);\n- }\n+ if (error) { throw simdjson_error(error); }\n return doc;\n }\n-inline const std::string &document::doc_ref_result::get_error_message() const noexcept {\n- return error_message(error);\n+inline document::element_result document::doc_ref_result::operator[](const std::string_view &key) const noexcept {\n+ if (error) { return error; }\n+ return doc[key];\n+}\n+inline document::element_result document::doc_ref_result::operator[](const char *key) const noexcept {\n+ if (error) { return error; }\n+ return doc[key];\n }\n \n //\n@@ -2867,41 +3721,61 @@ inline document::doc_result::doc_result(document &&_doc, error_code _error) noex\n inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::move(_doc)), error(SUCCESS) { }\n inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { }\n inline document::doc_result::operator document() noexcept(false) {\n- if (error) {\n- throw invalid_json(error);\n- }\n+ if (error) { throw simdjson_error(error); }\n return std::move(doc);\n }\n-inline const std::string &document::doc_result::get_error_message() const noexcept {\n- return error_message(error);\n+inline document::element_result document::doc_result::operator[](const std::string_view &key) const noexcept {\n+ if (error) { return error; }\n+ return doc[key];\n+}\n+inline document::element_result document::doc_result::operator[](const char *key) const noexcept {\n+ if (error) { return error; }\n+ return doc[key];\n }\n \n //\n // document::parser inline implementation\n //\n+really_inline document::parser::parser(size_t max_capacity, size_t max_depth) noexcept\n+ : _max_capacity{max_capacity}, _max_depth{max_depth} {\n+\n+}\n inline bool document::parser::is_valid() const noexcept { return valid; }\n inline int document::parser::get_error_code() const noexcept { return error; }\n-inline std::string document::parser::get_error_message() const noexcept { return error_message(error); }\n+inline std::string document::parser::get_error_message() const noexcept { return error_message(int(error)); }\n inline bool document::parser::print_json(std::ostream &os) const noexcept {\n- return is_valid() ? doc.print_json(os) : false;\n+ if (!is_valid()) { return false; }\n+ internal::print_tape_element(os, &doc, 1);\n+ return true;\n }\n inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept {\n return is_valid() ? doc.dump_raw_tape(os) : false;\n }\n inline const document &document::parser::get_document() const noexcept(false) {\n if (!is_valid()) {\n- throw invalid_json(error);\n+ throw simdjson_error(error);\n }\n return doc;\n }\n \n+inline document::doc_ref_result document::parser::load(const std::string &path) noexcept {\n+ auto [json, _error] = padded_string::load(path);\n+ if (_error) { return doc_ref_result(doc, _error); }\n+ return parse(json);\n+}\n+\n+inline document::stream document::parser::load_many(const std::string &path, size_t batch_size) noexcept {\n+ auto [json, _error] = padded_string::load(path);\n+ return stream(*this, reinterpret_cast(json.data()), json.length(), batch_size, _error);\n+}\n+\n inline document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n- error_code code = init_parse(len);\n+ error_code code = ensure_capacity(len);\n if (code) { return document::doc_ref_result(doc, code); }\n \n if (realloc_if_needed) {\n const uint8_t *tmp_buf = buf;\n- buf = (uint8_t *)allocate_padded_buffer(len);\n+ buf = (uint8_t *)internal::allocate_padded_buffer(len);\n if (buf == nullptr)\n return document::doc_ref_result(doc, MEMALLOC);\n memcpy((void *)buf, tmp_buf, len);\n@@ -2927,20 +3801,33 @@ really_inline document::doc_ref_result document::parser::parse(const padded_stri\n return parse(s.data(), s.length(), false);\n }\n \n+inline document::stream document::parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept {\n+ return stream(*this, buf, len, batch_size);\n+}\n+inline document::stream document::parser::parse_many(const char *buf, size_t len, size_t batch_size) noexcept {\n+ return parse_many((const uint8_t *)buf, len, batch_size);\n+}\n+inline document::stream document::parser::parse_many(const std::string &s, size_t batch_size) noexcept {\n+ return parse_many(s.data(), s.length(), batch_size);\n+}\n+inline document::stream document::parser::parse_many(const padded_string &s, size_t batch_size) noexcept {\n+ return parse_many(s.data(), s.length(), batch_size);\n+}\n+\n really_inline size_t document::parser::capacity() const noexcept {\n return _capacity;\n }\n+really_inline size_t document::parser::max_capacity() const noexcept {\n+ return _max_capacity;\n+}\n really_inline size_t document::parser::max_depth() const noexcept {\n return _max_depth;\n }\n-WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) {\n- return set_capacity(capacity) && set_max_depth(max_depth);\n-}\n \n WARN_UNUSED\n-inline bool document::parser::set_capacity(size_t capacity) {\n+inline error_code document::parser::set_capacity(size_t capacity) noexcept {\n if (_capacity == capacity) {\n- return true;\n+ return SUCCESS;\n }\n \n // Set capacity to 0 until we finish, in case there's an error\n@@ -2949,16 +3836,15 @@ inline bool document::parser::set_capacity(size_t capacity) {\n //\n // Reallocate the document\n //\n- if (!doc.set_capacity(capacity)) {\n- return false;\n- }\n+ error_code err = doc.set_capacity(capacity);\n+ if (err) { return err; }\n \n //\n // Don't allocate 0 bytes, just return.\n //\n if (capacity == 0) {\n structural_indexes.reset();\n- return true;\n+ return SUCCESS;\n }\n \n //\n@@ -2967,20 +3853,26 @@ inline bool document::parser::set_capacity(size_t capacity) {\n uint32_t max_structures = ROUNDUP_N(capacity, 64) + 2 + 7;\n structural_indexes.reset( new (std::nothrow) uint32_t[max_structures]); // TODO realloc\n if (!structural_indexes) {\n- return false;\n+ return MEMALLOC;\n }\n \n _capacity = capacity;\n- return true;\n+ return SUCCESS;\n+}\n+\n+really_inline void document::parser::set_max_capacity(size_t max_capacity) noexcept {\n+ _max_capacity = max_capacity;\n }\n \n-WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) {\n+WARN_UNUSED inline error_code document::parser::set_max_depth(size_t max_depth) noexcept {\n+ if (max_depth == _max_depth && ret_address) { return SUCCESS; }\n+\n _max_depth = 0;\n \n if (max_depth == 0) {\n ret_address.reset();\n containing_scope_offset.reset();\n- return true;\n+ return SUCCESS;\n }\n \n //\n@@ -2995,24 +3887,38 @@ WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) {\n \n if (!ret_address || !containing_scope_offset) {\n // Could not allocate memory\n- return false;\n+ return MEMALLOC;\n }\n \n _max_depth = max_depth;\n- return true;\n+ return SUCCESS;\n }\n \n-WARN_UNUSED\n-inline error_code document::parser::init_parse(size_t len) noexcept {\n- if (len > capacity()) {\n- return error = CAPACITY;\n+WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) noexcept {\n+ return !set_capacity(capacity) && !set_max_depth(max_depth);\n+}\n+\n+inline error_code document::parser::ensure_capacity(size_t desired_capacity) noexcept {\n+ // If we don't have enough capacity, (try to) automatically bump it.\n+ if (unlikely(desired_capacity > capacity())) {\n+ if (desired_capacity > max_capacity()) {\n+ return error = CAPACITY;\n+ }\n+\n+ error = set_capacity(desired_capacity);\n+ if (error) { return error; }\n }\n+\n+ // Allocate depth-based buffers if they aren't already.\n+ error = set_max_depth(max_depth());\n+ if (error) { return error; }\n+\n // If the last doc was taken, we need to allocate a new one\n if (!doc.tape) {\n- if (!doc.set_capacity(len)) {\n- return error = MEMALLOC;\n- }\n+ error = doc.set_capacity(desired_capacity);\n+ if (error) { return error; }\n }\n+\n return SUCCESS;\n }\n \n@@ -3039,7 +3945,7 @@ really_inline document::tape_type document::tape_ref::type() const noexcept {\n return static_cast(doc->tape[json_index] >> 56);\n }\n really_inline uint64_t document::tape_ref::tape_value() const noexcept {\n- return doc->tape[json_index] & JSON_VALUE_MASK;\n+ return doc->tape[json_index] & internal::JSON_VALUE_MASK;\n }\n template\n really_inline T document::tape_ref::next_tape_value() const noexcept {\n@@ -3237,7 +4143,6 @@ inline document::element_result document::element::as_int64_t() const n\n case tape_type::INT64:\n return next_tape_value();\n default:\n- std::cout << \"Incorrect \" << json_index << \" = \" << char(type()) << std::endl;\n return INCORRECT_TYPE;\n }\n }\n@@ -3286,6 +4191,66 @@ inline document::element_result document::element::operator[]\n return obj[key];\n }\n \n+inline void document::element::print_json(std::ostream &os) const noexcept {\n+ internal::print_tape_element(os, doc, json_index);\n+}\n+\n+inline void document::array::print_json(std::ostream &os) const noexcept {\n+ internal::print_tape_element(os, doc, json_index);\n+}\n+\n+inline void document::object::print_json(std::ostream &os) const noexcept {\n+ internal::print_tape_element(os, doc, json_index);\n+}\n+\n+//\n+// operator<< inline implementations\n+//\n+inline std::ostream &operator<<(std::ostream &os, const document &doc) noexcept {\n+ internal::print_tape_element(os, &doc, 1);\n+ return os;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::element &element) noexcept {\n+ element.print_json(os);\n+ return os;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::array &array) noexcept {\n+ array.print_json(os);\n+ return os;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::object &object) noexcept {\n+ object.print_json(os);\n+ return os;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::doc_result &doc) noexcept(false) {\n+ if (doc.error) { throw simdjson_error(doc.error); }\n+ return os << doc.doc;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::doc_ref_result &doc) noexcept(false) {\n+ if (doc.error) { throw simdjson_error(doc.error); }\n+ return os << doc.doc;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &element) noexcept(false) {\n+ if (element.error) { throw simdjson_error(element.error); }\n+ return os << element.value;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &array) noexcept(false) {\n+ if (array.error) { throw simdjson_error(array.error); }\n+ return os << array.value;\n+}\n+\n+inline std::ostream &operator<<(std::ostream &os, const document::element_result &object) noexcept(false) {\n+ if (object.error) { throw simdjson_error(object.error); }\n+ return os << object.value;\n+}\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_INLINE_DOCUMENT_H\n@@ -3442,7 +4407,7 @@ template bool document_iterator::prev() {\n oldnpos = npos;\n if ((current_type == '[') || (current_type == '{')) {\n // we need to jump\n- npos = (current_val & JSON_VALUE_MASK);\n+ npos = (current_val & internal::JSON_VALUE_MASK);\n } else {\n npos = npos + ((current_type == 'd' || current_type == 'l') ? 2 : 1);\n }\n@@ -3471,7 +4436,7 @@ template bool document_iterator::down() {\n return false;\n }\n if ((current_type == '[') || (current_type == '{')) {\n- size_t npos = (current_val & JSON_VALUE_MASK);\n+ size_t npos = (current_val & internal::JSON_VALUE_MASK);\n if (npos == location + 2) {\n return false; // we have an empty scope\n }\n@@ -3498,7 +4463,7 @@ template bool document_iterator::next() {\n size_t npos;\n if ((current_type == '[') || (current_type == '{')) {\n // we need to jump\n- npos = (current_val & JSON_VALUE_MASK);\n+ npos = (current_val & internal::JSON_VALUE_MASK);\n } else {\n npos = location + (is_number() ? 2 : 1);\n }\n@@ -3520,7 +4485,7 @@ document_iterator::document_iterator(const document &doc_) noexcept\n current_val = doc.tape[location++];\n current_type = (current_val >> 56);\n depth_index[0].scope_type = current_type;\n- tape_length = current_val & JSON_VALUE_MASK;\n+ tape_length = current_val & internal::JSON_VALUE_MASK;\n if (location < tape_length) {\n // If we make it here, then depth_capacity must >=2, but the compiler\n // may not know this.\n@@ -3748,7 +4713,7 @@ bool document_iterator::relative_move_to(const char *pointer,\n size_t npos;\n if ((current_type == '[') || (current_type == '{')) {\n // we need to jump\n- npos = (current_val & JSON_VALUE_MASK);\n+ npos = (current_val & internal::JSON_VALUE_MASK);\n } else {\n npos =\n location + ((current_type == 'd' || current_type == 'l') ? 2 : 1);\n@@ -3782,9 +4747,9 @@ bool document_iterator::relative_move_to(const char *pointer,\n \n #endif // SIMDJSON_INLINE_DOCUMENT_ITERATOR_H\n /* end file include/simdjson/inline/document_iterator.h */\n-/* begin file include/simdjson/inline/jsonstream.h */\n-#ifndef SIMDJSON_INLINE_JSONSTREAM_H\n-#define SIMDJSON_INLINE_JSONSTREAM_H\n+/* begin file include/simdjson/inline/document_stream.h */\n+#ifndef SIMDJSON_INLINE_DOCUMENT_STREAM_H\n+#define SIMDJSON_INLINE_DOCUMENT_STREAM_H\n \n #include \n #include \n@@ -3793,7 +4758,8 @@ bool document_iterator::relative_move_to(const char *pointer,\n \n namespace simdjson::internal {\n \n-/* This algorithm is used to quickly identify the buffer position of\n+/**\n+ * This algorithm is used to quickly identify the buffer position of\n * the last JSON document inside the current batch.\n *\n * It does its work by finding the last pair of structural characters\n@@ -3880,13 +4846,17 @@ static inline size_t trimmed_length_safe_utf8(const char * c, size_t len) {\n \n namespace simdjson {\n \n-template \n-JsonStream::JsonStream(const string_container &s,\n- size_t batchSize)\n- : str(s), _batch_size(batchSize) {\n+really_inline document::stream::stream(\n+ document::parser &_parser,\n+ const uint8_t *buf,\n+ size_t len,\n+ size_t batch_size,\n+ error_code _error\n+) noexcept : parser{_parser}, _buf{buf}, _len{len}, _batch_size(batch_size), error{_error} {\n+ if (!error) { error = json_parse(); }\n }\n \n-template JsonStream::~JsonStream() {\n+inline document::stream::~stream() noexcept {\n #ifdef SIMDJSON_THREADS_ENABLED\n if (stage_1_thread.joinable()) {\n stage_1_thread.join();\n@@ -3894,42 +4864,61 @@ template JsonStream::~JsonStream() {\n #endif\n }\n \n+really_inline document::stream::iterator document::stream::begin() noexcept {\n+ return iterator(*this, false);\n+}\n+\n+really_inline document::stream::iterator document::stream::end() noexcept {\n+ return iterator(*this, true);\n+}\n+\n+really_inline document::stream::iterator::iterator(stream& stream, bool _is_end) noexcept\n+ : _stream{stream}, finished{_is_end} {\n+}\n+\n+really_inline document::doc_ref_result document::stream::iterator::operator*() noexcept {\n+ return doc_ref_result(_stream.parser.doc, _stream.error == SUCCESS_AND_HAS_MORE ? SUCCESS : _stream.error);\n+}\n+\n+really_inline document::stream::iterator& document::stream::iterator::operator++() noexcept {\n+ if (_stream.error == SUCCESS_AND_HAS_MORE) {\n+ _stream.error = _stream.json_parse();\n+ } else {\n+ finished = true;\n+ }\n+ return *this;\n+}\n+\n+really_inline bool document::stream::iterator::operator!=(const document::stream::iterator &other) const noexcept {\n+ return finished != other.finished;\n+}\n+\n #ifdef SIMDJSON_THREADS_ENABLED\n \n // threaded version of json_parse\n // todo: simplify this code further\n-template \n-int JsonStream::json_parse(document::parser &parser) {\n- if (unlikely(parser.capacity() == 0)) {\n- const bool allocok = parser.allocate_capacity(_batch_size);\n- if (!allocok) {\n- return parser.error = simdjson::MEMALLOC;\n- }\n- } else if (unlikely(parser.capacity() < _batch_size)) {\n- return parser.error = simdjson::CAPACITY;\n- }\n- if (unlikely(parser_thread.capacity() < _batch_size)) {\n- const bool allocok_thread = parser_thread.allocate_capacity(_batch_size);\n- if (!allocok_thread) {\n- return parser.error = simdjson::MEMALLOC;\n- }\n- }\n+inline error_code document::stream::json_parse() noexcept {\n+ error = parser.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+ error = parser_thread.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+\n if (unlikely(load_next_batch)) {\n // First time loading\n if (!stage_1_thread.joinable()) {\n _batch_size = (std::min)(_batch_size, remaining());\n _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size);\n if (_batch_size == 0) {\n- return parser.error = simdjson::UTF8_ERROR;\n+ return simdjson::UTF8_ERROR;\n }\n auto stage1_is_ok = error_code(simdjson::active_implementation->stage1(buf(), _batch_size, parser, true));\n if (stage1_is_ok != simdjson::SUCCESS) {\n- return parser.error = stage1_is_ok;\n+ return stage1_is_ok;\n }\n size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser);\n if (last_index == 0) {\n if (parser.n_structural_indexes == 0) {\n- return parser.error = simdjson::EMPTY;\n+ return simdjson::EMPTY;\n }\n } else {\n parser.n_structural_indexes = last_index + 1;\n@@ -3939,7 +4928,7 @@ int JsonStream::json_parse(document::parser &parser) {\n else {\n stage_1_thread.join();\n if (stage1_is_ok_thread != simdjson::SUCCESS) {\n- return parser.error = stage1_is_ok_thread;\n+ return stage1_is_ok_thread;\n }\n std::swap(parser.structural_indexes, parser_thread.structural_indexes);\n parser.n_structural_indexes = parser_thread.n_structural_indexes;\n@@ -3955,7 +4944,7 @@ int JsonStream::json_parse(document::parser &parser) {\n _batch_size = internal::trimmed_length_safe_utf8(\n (const char *)(buf() + last_json_buffer_loc), _batch_size);\n if (_batch_size == 0) {\n- return parser.error = simdjson::UTF8_ERROR;\n+ return simdjson::UTF8_ERROR;\n }\n // let us capture read-only variables\n const uint8_t *const b = buf() + last_json_buffer_loc;\n@@ -3971,7 +4960,7 @@ int JsonStream::json_parse(document::parser &parser) {\n next_json = 0;\n load_next_batch = false;\n } // load_next_batch\n- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n+ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n if (res == simdjson::SUCCESS_AND_HAS_MORE) {\n n_parsed_docs++;\n current_buffer_loc = parser.structural_indexes[next_json];\n@@ -3990,18 +4979,10 @@ int JsonStream::json_parse(document::parser &parser) {\n #else // SIMDJSON_THREADS_ENABLED\n \n // single-threaded version of json_parse\n-template \n-int JsonStream::json_parse(document::parser &parser) {\n- if (unlikely(parser.capacity() == 0)) {\n- const bool allocok = parser.allocate_capacity(_batch_size);\n- if (!allocok) {\n- parser.valid = false;\n- return parser.error = MEMALLOC;\n- }\n- } else if (unlikely(parser.capacity() < _batch_size)) {\n- parser.valid = false;\n- return parser.error = CAPACITY;\n- }\n+inline error_code document::stream::json_parse() noexcept {\n+ error = parser.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+\n if (unlikely(load_next_batch)) {\n advance(current_buffer_loc);\n n_bytes_parsed += current_buffer_loc;\n@@ -4009,21 +4990,19 @@ int JsonStream::json_parse(document::parser &parser) {\n _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size);\n auto stage1_is_ok = (error_code)simdjson::active_implementation->stage1(buf(), _batch_size, parser, true);\n if (stage1_is_ok != simdjson::SUCCESS) {\n- parser.valid = false;\n- return parser.error = stage1_is_ok;\n+ return stage1_is_ok;\n }\n size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser);\n if (last_index == 0) {\n if (parser.n_structural_indexes == 0) {\n- parser.valid = false;\n- return parser.error = EMPTY;\n+ return EMPTY;\n }\n } else {\n parser.n_structural_indexes = last_index + 1;\n }\n load_next_batch = false;\n } // load_next_batch\n- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n+ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n if (likely(res == simdjson::SUCCESS_AND_HAS_MORE)) {\n n_parsed_docs++;\n current_buffer_loc = parser.structural_indexes[next_json];\n@@ -4035,16 +5014,248 @@ int JsonStream::json_parse(document::parser &parser) {\n load_next_batch = true;\n res = simdjson::SUCCESS_AND_HAS_MORE;\n }\n- } else {\n- printf(\"E\\n\");\n }\n return res;\n }\n #endif // SIMDJSON_THREADS_ENABLED\n \n } // end of namespace simdjson\n+#endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H\n+/* end file include/simdjson/inline/document_stream.h */\n+/* begin file include/simdjson/inline/error.h */\n+#ifndef SIMDJSON_INLINE_ERROR_H\n+#define SIMDJSON_INLINE_ERROR_H\n+\n+#include \n+\n+namespace simdjson::internal {\n+ // We store the error code so we can validate the error message is associated with the right code\n+ struct error_code_info {\n+ error_code code;\n+ std::string message;\n+ };\n+ // These MUST match the codes in error_code. We check this constraint in basictests.\n+ inline const error_code_info error_codes[] {\n+ { SUCCESS, \"No error\" },\n+ { SUCCESS_AND_HAS_MORE, \"No error and buffer still has more data\" },\n+ { CAPACITY, \"This parser can't support a document that big\" },\n+ { MEMALLOC, \"Error allocating memory, we're most likely out of memory\" },\n+ { TAPE_ERROR, \"Something went wrong while writing to the tape\" },\n+ { DEPTH_ERROR, \"The JSON document was too deep (too many nested objects and arrays)\" },\n+ { STRING_ERROR, \"Problem while parsing a string\" },\n+ { T_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 't'\" },\n+ { F_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'f'\" },\n+ { N_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'n'\" },\n+ { NUMBER_ERROR, \"Problem while parsing a number\" },\n+ { UTF8_ERROR, \"The input is not valid UTF-8\" },\n+ { UNINITIALIZED, \"Uninitialized\" },\n+ { EMPTY, \"Empty: no JSON found\" },\n+ { UNESCAPED_CHARS, \"Within strings, some characters must be escaped, we found unescaped characters\" },\n+ { UNCLOSED_STRING, \"A string is opened, but never closed.\" },\n+ { UNSUPPORTED_ARCHITECTURE, \"simdjson does not have an implementation supported by this CPU architecture (perhaps it's a non-SIMD CPU?).\" },\n+ { INCORRECT_TYPE, \"The JSON element does not have the requested type.\" },\n+ { NUMBER_OUT_OF_RANGE, \"The JSON number is too large or too small to fit within the requested type.\" },\n+ { NO_SUCH_FIELD, \"The JSON field referenced does not exist in this object.\" },\n+ { IO_ERROR, \"Error reading the file.\" },\n+ { UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as you may have found a bug in simdjson\" }\n+ }; // error_messages[]\n+} // namespace simdjson::internal\n+\n+namespace simdjson {\n+\n+inline const char *error_message(error_code error) noexcept {\n+ // If you're using error_code, we're trusting you got it from the enum.\n+ return internal::error_codes[int(error)].message.c_str();\n+}\n+\n+inline const std::string &error_message(int error) noexcept {\n+ if (error < 0 || error >= error_code::NUM_ERROR_CODES) {\n+ return internal::error_codes[UNEXPECTED_ERROR].message;\n+ }\n+ return internal::error_codes[error].message;\n+}\n+\n+inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept {\n+ return out << error_message(error);\n+}\n+\n+} // namespace simdjson\n+\n+#endif // SIMDJSON_INLINE_ERROR_H\n+/* end file include/simdjson/inline/error.h */\n+/* begin file include/simdjson/inline/jsonstream.h */\n+// TODO Remove this -- deprecated API and files\n+\n+#ifndef SIMDJSON_INLINE_JSONSTREAM_H\n+#define SIMDJSON_INLINE_JSONSTREAM_H\n+\n+\n+namespace simdjson {\n+\n+template \n+inline JsonStream::JsonStream(const string_container &s, size_t _batch_size) noexcept\n+ : str(s), batch_size(_batch_size) {\n+}\n+\n+template \n+inline JsonStream::~JsonStream() noexcept {\n+ if (stream) { delete stream; }\n+}\n+\n+template \n+inline int JsonStream::json_parse(document::parser &parser) noexcept {\n+ if (unlikely(stream == nullptr)) {\n+ stream = new document::stream(parser, reinterpret_cast(str.data()), str.length(), batch_size);\n+ } else {\n+ if (&parser != &stream->parser) { return stream->error = TAPE_ERROR; }\n+ stream->error = stream->json_parse();\n+ }\n+ return stream->error;\n+}\n+\n+} // namespace simdjson\n+\n #endif // SIMDJSON_INLINE_JSONSTREAM_H\n /* end file include/simdjson/inline/jsonstream.h */\n+/* begin file include/simdjson/inline/padded_string.h */\n+#ifndef SIMDJSON_INLINE_PADDED_STRING_H\n+#define SIMDJSON_INLINE_PADDED_STRING_H\n+\n+\n+#include \n+#include \n+#include \n+#include \n+\n+namespace simdjson::internal {\n+\n+// low-level function to allocate memory with padding so we can read past the\n+// \"length\" bytes safely. if you must provide a pointer to some data, create it\n+// with this function: length is the max. size in bytes of the string caller is\n+// responsible to free the memory (free(...))\n+inline char *allocate_padded_buffer(size_t length) noexcept {\n+ // we could do a simple malloc\n+ // return (char *) malloc(length + SIMDJSON_PADDING);\n+ // However, we might as well align to cache lines...\n+ size_t totalpaddedlength = length + SIMDJSON_PADDING;\n+ char *padded_buffer = aligned_malloc_char(64, totalpaddedlength);\n+#ifndef NDEBUG\n+ if (padded_buffer == nullptr) {\n+ return nullptr;\n+ }\n+#endif // NDEBUG\n+ memset(padded_buffer + length, 0, totalpaddedlength - length);\n+ return padded_buffer;\n+} // allocate_padded_buffer()\n+\n+} // namespace simdjson::internal\n+\n+namespace simdjson {\n+\n+inline padded_string::padded_string() noexcept : viable_size(0), data_ptr(nullptr) {}\n+inline padded_string::padded_string(size_t length) noexcept\n+ : viable_size(length), data_ptr(internal::allocate_padded_buffer(length)) {\n+ if (data_ptr != nullptr)\n+ data_ptr[length] = '\\0'; // easier when you need a c_str\n+}\n+inline padded_string::padded_string(const char *data, size_t length) noexcept\n+ : viable_size(length), data_ptr(internal::allocate_padded_buffer(length)) {\n+ if ((data != nullptr) and (data_ptr != nullptr)) {\n+ memcpy(data_ptr, data, length);\n+ data_ptr[length] = '\\0'; // easier when you need a c_str\n+ }\n+}\n+// note: do not pass std::string arguments by value\n+inline padded_string::padded_string(const std::string & str_ ) noexcept\n+ : viable_size(str_.size()), data_ptr(internal::allocate_padded_buffer(str_.size())) {\n+ if (data_ptr != nullptr) {\n+ memcpy(data_ptr, str_.data(), str_.size());\n+ data_ptr[str_.size()] = '\\0'; // easier when you need a c_str\n+ }\n+}\n+// note: do pass std::string_view arguments by value\n+inline padded_string::padded_string(std::string_view sv_) noexcept\n+ : viable_size(sv_.size()), data_ptr(internal::allocate_padded_buffer(sv_.size())) {\n+ if (data_ptr != nullptr) {\n+ memcpy(data_ptr, sv_.data(), sv_.size());\n+ data_ptr[sv_.size()] = '\\0'; // easier when you need a c_str\n+ }\n+}\n+inline padded_string::padded_string(padded_string &&o) noexcept\n+ : viable_size(o.viable_size), data_ptr(o.data_ptr) {\n+ o.data_ptr = nullptr; // we take ownership\n+}\n+\n+inline padded_string &padded_string::operator=(padded_string &&o) noexcept {\n+ aligned_free_char(data_ptr);\n+ data_ptr = o.data_ptr;\n+ viable_size = o.viable_size;\n+ o.data_ptr = nullptr; // we take ownership\n+ o.viable_size = 0;\n+ return *this;\n+}\n+\n+inline void padded_string::swap(padded_string &o) noexcept {\n+ size_t tmp_viable_size = viable_size;\n+ char *tmp_data_ptr = data_ptr;\n+ viable_size = o.viable_size;\n+ data_ptr = o.data_ptr;\n+ o.data_ptr = tmp_data_ptr;\n+ o.viable_size = tmp_viable_size;\n+}\n+\n+inline padded_string::~padded_string() noexcept {\n+ aligned_free_char(data_ptr);\n+}\n+\n+inline size_t padded_string::size() const noexcept { return viable_size; }\n+\n+inline size_t padded_string::length() const noexcept { return viable_size; }\n+\n+inline const char *padded_string::data() const noexcept { return data_ptr; }\n+\n+inline char *padded_string::data() noexcept { return data_ptr; }\n+\n+inline simdjson_result padded_string::load(const std::string &filename) noexcept {\n+ // Open the file\n+ std::FILE *fp = std::fopen(filename.c_str(), \"rb\");\n+ if (fp == nullptr) {\n+ return IO_ERROR;\n+ }\n+\n+ // Get the file size\n+ if(std::fseek(fp, 0, SEEK_END) < 0) {\n+ std::fclose(fp);\n+ return IO_ERROR;\n+ }\n+ long llen = std::ftell(fp);\n+ if((llen < 0) || (llen == LONG_MAX)) {\n+ std::fclose(fp);\n+ return IO_ERROR;\n+ }\n+\n+ // Allocate the padded_string\n+ size_t len = (size_t) llen;\n+ padded_string s(len);\n+ if (s.data() == nullptr) {\n+ std::fclose(fp);\n+ return MEMALLOC;\n+ }\n+\n+ // Read the padded_string\n+ std::rewind(fp);\n+ size_t bytes_read = std::fread(s.data(), 1, len, fp);\n+ if (std::fclose(fp) != 0 || bytes_read != len) {\n+ return IO_ERROR;\n+ }\n+\n+ return std::move(s);\n+}\n+\n+} // namespace simdjson\n+\n+#endif // SIMDJSON_INLINE_PADDED_STRING_H\n+/* end file include/simdjson/inline/padded_string.h */\n \n #endif // SIMDJSON_H\n-/* end file include/simdjson/inline/jsonstream.h */\n+/* end file include/simdjson/inline/padded_string.h */\ndiff --git a/src/CMakeLists.txt b/src/CMakeLists.txt\nindex 53ac5f3d..2b9ef62f 100644\n--- a/src/CMakeLists.txt\n+++ b/src/CMakeLists.txt\n@@ -29,6 +29,7 @@ set(SIMDJSON_SRC\n set(SIMDJSON_SRC_HEADERS\n implementation.cpp\n isadetection.h\n+ jsonformatutils.cpp\n jsonminifier.cpp\n simdprune_tables.h\n stage1_find_marks.cpp\ndiff --git a/src/jsonformatutils.cpp b/src/jsonformatutils.cpp\nnew file mode 100644\nindex 00000000..22c67e37\n--- /dev/null\n+++ b/src/jsonformatutils.cpp\n@@ -0,0 +1,127 @@\n+#include \"simdjson/document.h\"\n+#include \"simdjson/internal/jsonformatutils.h\"\n+\n+namespace simdjson::internal {\n+\n+void print_tape_element(std::ostream &os, const document *doc, size_t json_index) noexcept {\n+ uint64_t tape_val = doc->tape[json_index];\n+ uint64_t payload = tape_val & JSON_VALUE_MASK;\n+ uint8_t type = (tape_val >> 56);\n+\n+ switch (type) {\n+ case '\"': {\n+ os << '\"';\n+ uint32_t string_length;\n+ memcpy(&string_length, doc->string_buf.get() + payload, sizeof(uint32_t));\n+ print_with_escapes(\n+ (const unsigned char *)(doc->string_buf.get() + payload + sizeof(uint32_t)),\n+ os, string_length);\n+ os << '\"';\n+ break;\n+ }\n+ case 'l': {\n+ int64_t val;\n+ memcpy(&val, &doc->tape[json_index + 1], sizeof(val));\n+ os << val;\n+ break;\n+ }\n+ case 'u': {\n+ uint64_t val;\n+ memcpy(&val, &doc->tape[json_index + 1], sizeof(val));\n+ os << val;\n+ break;\n+ }\n+ case 'd': {\n+ double val;\n+ memcpy(&val, &doc->tape[json_index + 1], sizeof(val));\n+ os << val;\n+ break;\n+ }\n+ case 'n':\n+ os << \"null\";\n+ break;\n+ case 't':\n+ os << \"true\";\n+ break;\n+ case 'f':\n+ os << \"false\";\n+ break;\n+ case '[': {\n+ os << '[';\n+ size_t end_index = payload;\n+ size_t i = json_index + 1;\n+ bool first = true;\n+ while (i < end_index - 1) {\n+ if (!first) { os << ','; }\n+ first = false;\n+ print_tape_element(os, doc, i);\n+ // Advance past the element\n+ uint64_t tv = doc->tape[i];\n+ uint8_t t = (tv >> 56);\n+ switch (t) {\n+ case '[':\n+ case '{':\n+ i = tv & JSON_VALUE_MASK;\n+ break;\n+ case 'l':\n+ case 'u':\n+ case 'd':\n+ i += 2;\n+ break;\n+ default:\n+ i++;\n+ break;\n+ }\n+ }\n+ os << ']';\n+ break;\n+ }\n+ case '{': {\n+ os << '{';\n+ size_t end_index = payload;\n+ size_t i = json_index + 1;\n+ bool first = true;\n+ while (i < end_index - 1) {\n+ if (!first) { os << ','; }\n+ first = false;\n+ // Key (must be a string)\n+ uint64_t key_tape = doc->tape[i];\n+ uint64_t key_payload = key_tape & JSON_VALUE_MASK;\n+ os << '\"';\n+ uint32_t key_length;\n+ memcpy(&key_length, doc->string_buf.get() + key_payload, sizeof(uint32_t));\n+ print_with_escapes(\n+ (const unsigned char *)(doc->string_buf.get() + key_payload + sizeof(uint32_t)),\n+ os, key_length);\n+ os << '\"';\n+ os << ':';\n+ i++;\n+ // Value\n+ print_tape_element(os, doc, i);\n+ // Advance past the value element\n+ uint64_t tv = doc->tape[i];\n+ uint8_t t = (tv >> 56);\n+ switch (t) {\n+ case '[':\n+ case '{':\n+ i = tv & JSON_VALUE_MASK;\n+ break;\n+ case 'l':\n+ case 'u':\n+ case 'd':\n+ i += 2;\n+ break;\n+ default:\n+ i++;\n+ break;\n+ }\n+ }\n+ os << '}';\n+ break;\n+ }\n+ default:\n+ break;\n+ }\n+}\n+\n+} // namespace simdjson::internal\ndiff --git a/src/simdjson.cpp b/src/simdjson.cpp\nindex d4a685d0..e12a2358 100644\n--- a/src/simdjson.cpp\n+++ b/src/simdjson.cpp\n@@ -1,5 +1,6 @@\n #include \"simdjson.h\"\n #include \"implementation.cpp\"\n+#include \"jsonformatutils.cpp\"\n #include \"jsonminifier.cpp\"\n #include \"stage1_find_marks.cpp\"\n #include \"stage2_build_tape.cpp\"\n"} +{"instance_id": "simdjson__simdjson-559", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/document.h b/include/simdjson/document.h\nindex 52accebe..7ba1ce76 100644\n--- a/include/simdjson/document.h\n+++ b/include/simdjson/document.h\n@@ -84,6 +84,7 @@ public:\n * Get the root element of this document.\n */\n operator element() const noexcept;\n+#if __cpp_exceptions\n /**\n * Read the root element of this document as a JSON array.\n *\n@@ -98,6 +99,7 @@ public:\n * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object\n */\n operator object() const noexcept(false);\n+#endif\n \n /**\n * Get the value associated with the given key.\n@@ -253,6 +255,7 @@ public:\n */\n error_code error;\n \n+#if __cpp_exceptions\n /**\n * Return the document, or throw an exception if it is invalid.\n *\n@@ -260,6 +263,7 @@ public:\n * @exception simdjson_error if the document is invalid or there was an error parsing it.\n */\n operator document() noexcept(false);\n+#endif\n \n /**\n * Get the value associated with the given key.\n@@ -339,6 +343,7 @@ public:\n */\n error_code error;\n \n+#if __cpp_exceptions\n /**\n * A reference to the document, or throw an exception if it is invalid.\n *\n@@ -346,6 +351,7 @@ public:\n * @exception simdjson_error if the document is invalid or there was an error parsing it.\n */\n operator document&() noexcept(false);\n+#endif\n \n /**\n * Get the value associated with the given key.\n@@ -521,6 +527,7 @@ public:\n */\n inline element_result as_object() const noexcept;\n \n+#if __cpp_exceptions\n /**\n * Read this element as a boolean.\n *\n@@ -560,7 +567,7 @@ public:\n */\n inline operator uint64_t() const noexcept(false);\n /**\n- * Read this element as an signed integer.\n+ * Read this element as a signed integer.\n *\n * @return The integer value.\n * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer\n@@ -568,7 +575,7 @@ public:\n */\n inline operator int64_t() const noexcept(false);\n /**\n- * Read this element as an double.\n+ * Read this element as a double.\n *\n * @return The double value.\n * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a number\n@@ -589,6 +596,7 @@ public:\n * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object\n */\n inline operator document::object() const noexcept(false);\n+#endif\n \n /**\n * Get the value associated with the given key.\n@@ -806,7 +814,9 @@ public:\n /** The error code (or 0 if there is no error) */\n error_code error;\n \n+#if __cpp_exceptions\n inline operator T() const noexcept(false);\n+#endif\n \n private:\n really_inline element_result(T value) noexcept;\n@@ -835,6 +845,7 @@ public:\n inline element_result as_array() const noexcept;\n inline element_result as_object() const noexcept;\n \n+#if __cpp_exceptions\n inline operator element() const noexcept(false);\n inline operator bool() const noexcept(false);\n inline explicit operator const char*() const noexcept(false);\n@@ -844,6 +855,7 @@ public:\n inline operator double() const noexcept(false);\n inline operator array() const noexcept(false);\n inline operator object() const noexcept(false);\n+#endif\n \n inline element_result operator[](const std::string_view &s) const noexcept;\n inline element_result operator[](const char *s) const noexcept;\n@@ -864,10 +876,12 @@ public:\n /** The error code (or 0 if there is no error) */\n error_code error;\n \n+#if __cpp_exceptions\n inline operator array() const noexcept(false);\n \n inline array::iterator begin() const noexcept(false);\n inline array::iterator end() const noexcept(false);\n+#endif\n \n private:\n really_inline element_result(array value) noexcept;\n@@ -885,10 +899,12 @@ public:\n /** The error code (or 0 if there is no error) */\n error_code error;\n \n+#if __cpp_exceptions\n inline operator object() const noexcept(false);\n \n inline object::iterator begin() const noexcept(false);\n inline object::iterator end() const noexcept(false);\n+#endif\n \n inline element_result operator[](const std::string_view &s) const noexcept;\n inline element_result operator[](const char *s) const noexcept;\n@@ -1478,7 +1494,9 @@ public:\n \n // type aliases for backcompat\n using Iterator = document::iterator;\n+#if __cpp_exceptions\n using InvalidJSON = simdjson_error;\n+#endif\n \n // Next location to write to in the tape\n uint32_t current_loc{0};\n@@ -1594,7 +1612,9 @@ private:\n inline error_code ensure_capacity(size_t desired_capacity) noexcept;\n \n // Used internally to get the document\n+#if __cpp_exceptions\n inline const document &get_document() const noexcept(false);\n+#endif\n \n template friend class document_iterator;\n friend class document::stream;\n@@ -1690,6 +1710,7 @@ inline std::ostream& operator<<(std::ostream& out, const document::object &value\n * @throw if there is an error with the underlying output stream. simdjson itself will not throw.\n */\n inline std::ostream& operator<<(std::ostream& out, const document::key_value_pair &value) { return out << minify(value); }\n+#if __cpp_exceptions\n /**\n * Print JSON to an output stream.\n *\n@@ -1750,6 +1771,7 @@ inline std::ostream& operator<<(std::ostream& out, const document::element_resul\n * thrown).\n */\n inline std::ostream& operator<<(std::ostream& out, const document::element_result &value) noexcept(false) { return out << minify(value); }\n+#endif\n \n } // namespace simdjson\n \ndiff --git a/include/simdjson/document_iterator.h b/include/simdjson/document_iterator.h\nindex 8b89f990..c04b7f60 100644\n--- a/include/simdjson/document_iterator.h\n+++ b/include/simdjson/document_iterator.h\n@@ -6,7 +6,9 @@\n #include \n #include \n #include \n+#if __cpp_exceptions\n #include \n+#endif\n \n #include \"simdjson/document.h\"\n #include \"simdjson/internal/jsonformatutils.h\"\n@@ -15,7 +17,9 @@ namespace simdjson {\n \n template class document_iterator {\n public:\n+#if __cpp_exceptions\n document_iterator(const document::parser &parser);\n+#endif\n document_iterator(const document &doc) noexcept;\n document_iterator(const document_iterator &o) noexcept;\n document_iterator &operator=(const document_iterator &o) noexcept;\ndiff --git a/include/simdjson/document_parser.h b/include/simdjson/document_parser.h\nindex 5568a813..431d656d 100644\n--- a/include/simdjson/document_parser.h\n+++ b/include/simdjson/document_parser.h\n@@ -381,7 +381,9 @@ public:\n \n // type aliases for backcompat\n using Iterator = document::iterator;\n+#if __cpp_exceptions\n using InvalidJSON = simdjson_error;\n+#endif\n \n // Next location to write to in the tape\n uint32_t current_loc{0};\n@@ -512,7 +514,9 @@ private:\n inline WARN_UNUSED bool set_max_depth(size_t max_depth);\n \n // Used internally to get the document\n+#if __cpp_exceptions\n inline const document &get_document() const noexcept(false);\n+#endif\n \n template friend class document_iterator;\n }; // class parser\ndiff --git a/include/simdjson/error.h b/include/simdjson/error.h\nindex 6636d561..490eea59 100644\n--- a/include/simdjson/error.h\n+++ b/include/simdjson/error.h\n@@ -50,6 +50,7 @@ inline const char *error_message(error_code error) noexcept;\n */\n inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept;\n \n+#if __cpp_exceptions\n /**\n * Exception thrown when an exception-supporting simdjson method is called\n */\n@@ -66,6 +67,7 @@ private:\n /** The error code that was used */\n error_code _error;\n };\n+#endif\n \n /**\n * The result of a simd operation that could fail.\n@@ -84,6 +86,7 @@ struct simdjson_result {\n * The error.\n */\n error_code error;\n+#if __cpp_exceptions\n /**\n * Cast to the value (will throw on error).\n *\n@@ -93,6 +96,7 @@ struct simdjson_result {\n if (error) { throw simdjson_error(error); }\n return std::move(value);\n }\n+#endif\n /**\n * Create a new error result.\n */\ndiff --git a/include/simdjson/inline/document.h b/include/simdjson/inline/document.h\nindex 6cf94991..dd666e2d 100644\n--- a/include/simdjson/inline/document.h\n+++ b/include/simdjson/inline/document.h\n@@ -19,6 +19,7 @@ template\n inline document::element_result::element_result(T _value) noexcept : value(_value), error{SUCCESS} {}\n template\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+#if __cpp_exceptions\n template<>\n inline document::element_result::operator std::string_view() const noexcept(false) {\n if (error) { throw simdjson_error(error); }\n@@ -49,12 +50,14 @@ inline document::element_result::operator double() const noexcept(false)\n if (error) { throw simdjson_error(error); }\n return value;\n }\n+#endif\n \n //\n // document::element_result inline implementation\n //\n inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {}\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+#if __cpp_exceptions\n inline document::element_result::operator document::array() const noexcept(false) {\n if (error) { throw simdjson_error(error); }\n return value;\n@@ -67,16 +70,19 @@ inline document::array::iterator document::element_result::end(\n if (error) { throw simdjson_error(error); }\n return value.end();\n }\n+#endif\n \n //\n // document::element_result inline implementation\n //\n inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {}\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+#if __cpp_exceptions\n inline document::element_result::operator document::object() const noexcept(false) {\n if (error) { throw simdjson_error(error); }\n return value;\n }\n+#endif\n inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept {\n if (error) { return error; }\n return value[key];\n@@ -85,6 +91,7 @@ inline document::element_result document::element_result::begin() const noexcept(false) {\n if (error) { throw simdjson_error(error); }\n return value.begin();\n@@ -93,6 +100,7 @@ inline document::object::iterator document::element_result::en\n if (error) { throw simdjson_error(error); }\n return value.end();\n }\n+#endif\n \n //\n // document::element_result inline implementation\n@@ -136,6 +144,7 @@ inline document::element_result document::element_result::operator document::element() const noexcept(false) {\n if (error) { throw simdjson_error(error); }\n return value;\n@@ -164,6 +173,7 @@ inline document::element_result::operator document::array() c\n inline document::element_result::operator document::object() const noexcept(false) {\n return as_object();\n }\n+#endif\n inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept {\n if (error) { return *this; }\n return value[key];\n@@ -188,12 +198,14 @@ inline document::element_result document::as_object() const no\n inline document::operator document::element() const noexcept {\n return root();\n }\n+#if __cpp_exceptions\n inline document::operator document::array() const noexcept(false) {\n return root();\n }\n inline document::operator document::object() const noexcept(false) {\n return root();\n }\n+#endif\n inline document::element_result document::operator[](const std::string_view &key) const noexcept {\n return root()[key];\n }\n@@ -341,10 +353,12 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n // document::doc_ref_result inline implementation\n //\n inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { }\n+#if __cpp_exceptions\n inline document::doc_ref_result::operator document&() noexcept(false) {\n if (error) { throw simdjson_error(error); }\n return doc;\n }\n+#endif\n inline document::element_result document::doc_ref_result::operator[](const std::string_view &key) const noexcept {\n if (error) { return error; }\n return doc[key];\n@@ -360,10 +374,12 @@ inline document::element_result document::doc_ref_result::ope\n inline document::doc_result::doc_result(document &&_doc, error_code _error) noexcept : doc(std::move(_doc)), error(_error) { }\n inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::move(_doc)), error(SUCCESS) { }\n inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { }\n+#if __cpp_exceptions\n inline document::doc_result::operator document() noexcept(false) {\n if (error) { throw simdjson_error(error); }\n return std::move(doc);\n }\n+#endif\n inline document::element_result document::doc_result::operator[](const std::string_view &key) const noexcept {\n if (error) { return error; }\n return doc[key];\n@@ -391,12 +407,14 @@ inline bool document::parser::print_json(std::ostream &os) const noexcept {\n inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept {\n return is_valid() ? doc.dump_raw_tape(os) : false;\n }\n+#if __cpp_exceptions\n inline const document &document::parser::get_document() const noexcept(false) {\n if (!is_valid()) {\n throw simdjson_error(error);\n }\n return doc;\n }\n+#endif\n \n inline document::doc_ref_result document::parser::load(const std::string &path) noexcept {\n auto [json, _error] = padded_string::load(path);\n@@ -721,6 +739,7 @@ really_inline bool document::element::is_array() const noexcept {\n really_inline bool document::element::is_object() const noexcept {\n return type() == tape_type::START_OBJECT;\n }\n+#if __cpp_exceptions\n inline document::element::operator bool() const noexcept(false) { return as_bool(); }\n inline document::element::operator const char*() const noexcept(false) { return as_c_str(); }\n inline document::element::operator std::string_view() const noexcept(false) { return as_string(); }\n@@ -729,6 +748,7 @@ inline document::element::operator int64_t() const noexcept(false) { return as_i\n inline document::element::operator double() const noexcept(false) { return as_double(); }\n inline document::element::operator document::array() const noexcept(false) { return as_array(); }\n inline document::element::operator document::object() const noexcept(false) { return as_object(); }\n+#endif\n inline document::element_result document::element::as_bool() const noexcept {\n switch (type()) {\n case tape_type::TRUE_VALUE:\n@@ -996,6 +1016,7 @@ inline std::ostream& minify::print(std::ostream& out)\n return out << '\"' << internal::escape_json_string(value.key) << \"\\\":\" << value.value;\n }\n \n+#if __cpp_exceptions\n template<>\n inline std::ostream& minify::print(std::ostream& out) {\n if (value.error) { throw simdjson_error(value.error); }\n@@ -1021,6 +1042,7 @@ inline std::ostream& minify>::print(s\n if (value.error) { throw simdjson_error(value.error); }\n return out << minify(value.value);\n }\n+#endif\n \n } // namespace simdjson\n \ndiff --git a/include/simdjson/inline/document_iterator.h b/include/simdjson/inline/document_iterator.h\nindex ac199e1e..a742dcf7 100644\n--- a/include/simdjson/inline/document_iterator.h\n+++ b/include/simdjson/inline/document_iterator.h\n@@ -241,9 +241,11 @@ document_iterator::document_iterator(const document &doc_) noexcept\n }\n }\n \n+#if __cpp_exceptions\n template \n document_iterator::document_iterator(const document::parser &parser)\n : document_iterator(parser.get_document()) {}\n+#endif\n \n template \n document_iterator::document_iterator(\ndiff --git a/include/simdjson/inline/document_stream.h b/include/simdjson/inline/document_stream.h\nindex 4406513c..2d25028b 100644\n--- a/include/simdjson/inline/document_stream.h\n+++ b/include/simdjson/inline/document_stream.h\n@@ -4,7 +4,9 @@\n #include \"simdjson/jsonstream.h\"\n #include \n #include \n+#if __cpp_exceptions\n #include \n+#endif\n #include \n \n namespace simdjson::internal {\ndiff --git a/include/simdjson/jsonioutil.h b/include/simdjson/jsonioutil.h\nindex 7b855d36..b6b508aa 100644\n--- a/include/simdjson/jsonioutil.h\n+++ b/include/simdjson/jsonioutil.h\n@@ -1,21 +1,26 @@\n #ifndef SIMDJSON_JSONIOUTIL_H\n #define SIMDJSON_JSONIOUTIL_H\n \n-#include \n #include \n #include \n #include \n-#include \n #include \n \n #include \"simdjson/common_defs.h\"\n #include \"simdjson/padded_string.h\"\n \n+#if __cpp_exceptions\n+#include \n+#include \n+#endif\n+\n namespace simdjson {\n \n+#if __cpp_exceptions\n inline padded_string get_corpus(const std::string &filename) {\n return padded_string::load(filename);\n }\n+#endif\n \n } // namespace simdjson\n \ndiff --git a/singleheader/amalgamation_demo.cpp b/singleheader/amalgamation_demo.cpp\nindex 759dc41c..80011b2d 100755\n--- a/singleheader/amalgamation_demo.cpp\n+++ b/singleheader/amalgamation_demo.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 17:33:51 UTC 2026. Do not edit! */\n \n #include \n #include \"simdjson.h\"\n@@ -8,37 +8,31 @@ int main(int argc, char *argv[]) {\n std::cerr << \"Please specify at least one file name. \" << std::endl;\n }\n const char * filename = argv[1];\n- simdjson::padded_string p = simdjson::get_corpus(filename);\n- auto [doc, error] = simdjson::document::parse(p); // do the parsing\n+ simdjson::document::parser parser;\n+ auto [doc, error] = parser.load(filename); // do the parsing\n if (error) {\n- std::cout << \"document::parse failed\" << std::endl;\n+ std::cout << \"parse failed\" << std::endl;\n std::cout << \"error code: \" << error << std::endl;\n std::cout << error << std::endl;\n } else {\n- std::cout << \"document::parse valid\" << std::endl;\n+ std::cout << \"parse valid\" << std::endl;\n }\n if(argc == 2) {\n return EXIT_SUCCESS;\n }\n \n- //JsonStream\n+ // parse_many\n const char * filename2 = argv[2];\n- simdjson::padded_string p2 = simdjson::get_corpus(filename2);\n- simdjson::document::parser parser;\n- simdjson::JsonStream js{p2};\n- int parse_res = simdjson::SUCCESS_AND_HAS_MORE;\n-\n- while (parse_res == simdjson::SUCCESS_AND_HAS_MORE) {\n- parse_res = js.json_parse(parser);\n+ for (auto result : parser.load_many(filename2)) {\n+ error = result.error;\n }\n-\n- if( ! parser.is_valid()) {\n- std::cout << \"JsonStream not valid\" << std::endl;\n+ if (error) {\n+ std::cout << \"parse_many failed\" << std::endl;\n+ std::cout << \"error code: \" << error << std::endl;\n+ std::cout << error << std::endl;\n } else {\n- std::cout << \"JsonStream valid\" << std::endl;\n+ std::cout << \"parse_many valid\" << std::endl;\n }\n-\n-\n return EXIT_SUCCESS;\n }\n \ndiff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp\nindex 9ad1fdd4..0d463aed 100644\n--- a/singleheader/simdjson.cpp\n+++ b/singleheader/simdjson.cpp\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 17:33:51 UTC 2026. Do not edit! */\n #include \"simdjson.h\"\n \n /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */\n@@ -7,52 +7,6 @@\n #endif\n \n /* begin file src/simdjson.cpp */\n-/* begin file src/error.cpp */\n-#include \n-\n-namespace simdjson {\n-\n-const std::map error_strings = {\n- {SUCCESS, \"No error\"},\n- {SUCCESS_AND_HAS_MORE, \"No error and buffer still has more data\"},\n- {CAPACITY, \"This parser can't support a document that big\"},\n- {MEMALLOC, \"Error allocating memory, we're most likely out of memory\"},\n- {TAPE_ERROR, \"Something went wrong while writing to the tape\"},\n- {STRING_ERROR, \"Problem while parsing a string\"},\n- {T_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 't'\"},\n- {F_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'f'\"},\n- {N_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'n'\"},\n- {NUMBER_ERROR, \"Problem while parsing a number\"},\n- {UTF8_ERROR, \"The input is not valid UTF-8\"},\n- {UNINITIALIZED, \"Uninitialized\"},\n- {EMPTY, \"Empty: no JSON found\"},\n- {UNESCAPED_CHARS, \"Within strings, some characters must be escaped, we\"\n- \" found unescaped characters\"},\n- {UNCLOSED_STRING, \"A string is opened, but never closed.\"},\n- {UNSUPPORTED_ARCHITECTURE, \"simdjson does not have an implementation\"\n- \" supported by this CPU architecture (perhaps\"\n- \" it's a non-SIMD CPU?).\"},\n- {INCORRECT_TYPE, \"The JSON element does not have the requested type.\"},\n- {NUMBER_OUT_OF_RANGE, \"The JSON number is too large or too small to fit within the requested type.\"},\n- {NO_SUCH_FIELD, \"The JSON field referenced does not exist in this object.\"},\n- {UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as\"\n- \" you may have found a bug in simdjson\"},\n-};\n-\n-// string returned when the error code is not recognized\n-const std::string unexpected_error_msg {\"Unexpected error\"};\n-\n-// returns a string matching the error code\n-const std::string &error_message(error_code code) noexcept {\n- auto keyvalue = error_strings.find(code);\n- if(keyvalue == error_strings.end()) {\n- return unexpected_error_msg;\n- }\n- return keyvalue->second;\n-}\n-\n-} // namespace simdjson\n-/* end file src/error.cpp */\n /* begin file src/implementation.cpp */\n #include \n \n@@ -367,43 +321,6 @@ const implementation *detect_best_supported_implementation_on_first_use::set_bes\n \n } // namespace simdjson\n /* end file src/arm64/implementation.h */\n-/* begin file src/jsonioutil.cpp */\n-#include \n-#include \n-#include \n-\n-namespace simdjson {\n-\n-padded_string get_corpus(const std::string &filename) {\n- std::FILE *fp = std::fopen(filename.c_str(), \"rb\");\n- if (fp != nullptr) {\n- if(std::fseek(fp, 0, SEEK_END) < 0) {\n- std::fclose(fp);\n- throw std::runtime_error(\"cannot seek in the file\");\n- }\n- long llen = std::ftell(fp);\n- if((llen < 0) || (llen == LONG_MAX)) {\n- std::fclose(fp);\n- throw std::runtime_error(\"cannot tell where we are in the file\");\n- }\n- size_t len = (size_t) llen;\n- padded_string s(len);\n- if (s.data() == nullptr) {\n- std::fclose(fp);\n- throw std::runtime_error(\"could not allocate memory\");\n- }\n- std::rewind(fp);\n- size_t readb = std::fread(s.data(), 1, len, fp);\n- std::fclose(fp);\n- if (readb != len) {\n- throw std::runtime_error(\"could not read the data\");\n- }\n- return s;\n- }\n- throw std::runtime_error(\"could not load corpus\");\n-}\n-} // namespace simdjson\n-/* end file src/jsonioutil.cpp */\n /* begin file src/jsonminifier.cpp */\n #include \n \n@@ -5459,6 +5376,1014 @@ inline size_t codepoint_to_utf8(uint32_t cp, uint8_t *c) {\n // will return 0 when the code point was too large.\n return 0; // bad r\n }\n+\n+\n+////\n+// The following code is used in number parsing. It is not\n+// properly \"char utils\" stuff, but we move it here so that\n+// it does not get copied multiple times in the binaries (once\n+// per instructin set).\n+///\n+\n+\n+constexpr int FASTFLOAT_SMALLEST_POWER = -325;\n+constexpr int FASTFLOAT_LARGEST_POWER = 308;\n+\n+struct value128 {\n+ uint64_t low;\n+ uint64_t high;\n+};\n+\n+really_inline value128 full_multiplication(uint64_t value1, uint64_t value2) {\n+ value128 answer;\n+#ifdef _MSC_VER\n+ // todo: this might fail under visual studio for ARM\n+ answer.low = _umul128(value1, value2, &answer.high);\n+#else\n+ __uint128_t r = ((__uint128_t)value1) * value2;\n+ answer.low = r;\n+ answer.high = r >> 64;\n+#endif\n+ return answer;\n+}\n+\n+// Precomputed powers of ten from 10^0 to 10^22. These\n+// can be represented exactly using the double type.\n+static const double power_of_ten[] = {\n+ 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11,\n+ 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22};\n+\n+// the mantissas of powers of ten from -308 to 308, extended out to sixty four\n+// bits\n+// This struct will likely get padded to 16 bytes.\n+typedef struct {\n+ uint64_t mantissa;\n+ int32_t exp;\n+} components;\n+\n+// The array power_of_ten_components contain the powers of ten approximated\n+// as a 64-bit mantissa, with an exponent part. It goes from 10^\n+// FASTFLOAT_SMALLEST_POWER to\n+// 10^FASTFLOAT_LARGEST_POWER (inclusively). The mantissa is truncated, and\n+// never rounded up.\n+// Uses about 10KB.\n+static const components power_of_ten_components[] = {\n+ {0xa5ced43b7e3e9188L, 7}, {0xcf42894a5dce35eaL, 10},\n+ {0x818995ce7aa0e1b2L, 14}, {0xa1ebfb4219491a1fL, 17},\n+ {0xca66fa129f9b60a6L, 20}, {0xfd00b897478238d0L, 23},\n+ {0x9e20735e8cb16382L, 27}, {0xc5a890362fddbc62L, 30},\n+ {0xf712b443bbd52b7bL, 33}, {0x9a6bb0aa55653b2dL, 37},\n+ {0xc1069cd4eabe89f8L, 40}, {0xf148440a256e2c76L, 43},\n+ {0x96cd2a865764dbcaL, 47}, {0xbc807527ed3e12bcL, 50},\n+ {0xeba09271e88d976bL, 53}, {0x93445b8731587ea3L, 57},\n+ {0xb8157268fdae9e4cL, 60}, {0xe61acf033d1a45dfL, 63},\n+ {0x8fd0c16206306babL, 67}, {0xb3c4f1ba87bc8696L, 70},\n+ {0xe0b62e2929aba83cL, 73}, {0x8c71dcd9ba0b4925L, 77},\n+ {0xaf8e5410288e1b6fL, 80}, {0xdb71e91432b1a24aL, 83},\n+ {0x892731ac9faf056eL, 87}, {0xab70fe17c79ac6caL, 90},\n+ {0xd64d3d9db981787dL, 93}, {0x85f0468293f0eb4eL, 97},\n+ {0xa76c582338ed2621L, 100}, {0xd1476e2c07286faaL, 103},\n+ {0x82cca4db847945caL, 107}, {0xa37fce126597973cL, 110},\n+ {0xcc5fc196fefd7d0cL, 113}, {0xff77b1fcbebcdc4fL, 116},\n+ {0x9faacf3df73609b1L, 120}, {0xc795830d75038c1dL, 123},\n+ {0xf97ae3d0d2446f25L, 126}, {0x9becce62836ac577L, 130},\n+ {0xc2e801fb244576d5L, 133}, {0xf3a20279ed56d48aL, 136},\n+ {0x9845418c345644d6L, 140}, {0xbe5691ef416bd60cL, 143},\n+ {0xedec366b11c6cb8fL, 146}, {0x94b3a202eb1c3f39L, 150},\n+ {0xb9e08a83a5e34f07L, 153}, {0xe858ad248f5c22c9L, 156},\n+ {0x91376c36d99995beL, 160}, {0xb58547448ffffb2dL, 163},\n+ {0xe2e69915b3fff9f9L, 166}, {0x8dd01fad907ffc3bL, 170},\n+ {0xb1442798f49ffb4aL, 173}, {0xdd95317f31c7fa1dL, 176},\n+ {0x8a7d3eef7f1cfc52L, 180}, {0xad1c8eab5ee43b66L, 183},\n+ {0xd863b256369d4a40L, 186}, {0x873e4f75e2224e68L, 190},\n+ {0xa90de3535aaae202L, 193}, {0xd3515c2831559a83L, 196},\n+ {0x8412d9991ed58091L, 200}, {0xa5178fff668ae0b6L, 203},\n+ {0xce5d73ff402d98e3L, 206}, {0x80fa687f881c7f8eL, 210},\n+ {0xa139029f6a239f72L, 213}, {0xc987434744ac874eL, 216},\n+ {0xfbe9141915d7a922L, 219}, {0x9d71ac8fada6c9b5L, 223},\n+ {0xc4ce17b399107c22L, 226}, {0xf6019da07f549b2bL, 229},\n+ {0x99c102844f94e0fbL, 233}, {0xc0314325637a1939L, 236},\n+ {0xf03d93eebc589f88L, 239}, {0x96267c7535b763b5L, 243},\n+ {0xbbb01b9283253ca2L, 246}, {0xea9c227723ee8bcbL, 249},\n+ {0x92a1958a7675175fL, 253}, {0xb749faed14125d36L, 256},\n+ {0xe51c79a85916f484L, 259}, {0x8f31cc0937ae58d2L, 263},\n+ {0xb2fe3f0b8599ef07L, 266}, {0xdfbdcece67006ac9L, 269},\n+ {0x8bd6a141006042bdL, 273}, {0xaecc49914078536dL, 276},\n+ {0xda7f5bf590966848L, 279}, {0x888f99797a5e012dL, 283},\n+ {0xaab37fd7d8f58178L, 286}, {0xd5605fcdcf32e1d6L, 289},\n+ {0x855c3be0a17fcd26L, 293}, {0xa6b34ad8c9dfc06fL, 296},\n+ {0xd0601d8efc57b08bL, 299}, {0x823c12795db6ce57L, 303},\n+ {0xa2cb1717b52481edL, 306}, {0xcb7ddcdda26da268L, 309},\n+ {0xfe5d54150b090b02L, 312}, {0x9efa548d26e5a6e1L, 316},\n+ {0xc6b8e9b0709f109aL, 319}, {0xf867241c8cc6d4c0L, 322},\n+ {0x9b407691d7fc44f8L, 326}, {0xc21094364dfb5636L, 329},\n+ {0xf294b943e17a2bc4L, 332}, {0x979cf3ca6cec5b5aL, 336},\n+ {0xbd8430bd08277231L, 339}, {0xece53cec4a314ebdL, 342},\n+ {0x940f4613ae5ed136L, 346}, {0xb913179899f68584L, 349},\n+ {0xe757dd7ec07426e5L, 352}, {0x9096ea6f3848984fL, 356},\n+ {0xb4bca50b065abe63L, 359}, {0xe1ebce4dc7f16dfbL, 362},\n+ {0x8d3360f09cf6e4bdL, 366}, {0xb080392cc4349decL, 369},\n+ {0xdca04777f541c567L, 372}, {0x89e42caaf9491b60L, 376},\n+ {0xac5d37d5b79b6239L, 379}, {0xd77485cb25823ac7L, 382},\n+ {0x86a8d39ef77164bcL, 386}, {0xa8530886b54dbdebL, 389},\n+ {0xd267caa862a12d66L, 392}, {0x8380dea93da4bc60L, 396},\n+ {0xa46116538d0deb78L, 399}, {0xcd795be870516656L, 402},\n+ {0x806bd9714632dff6L, 406}, {0xa086cfcd97bf97f3L, 409},\n+ {0xc8a883c0fdaf7df0L, 412}, {0xfad2a4b13d1b5d6cL, 415},\n+ {0x9cc3a6eec6311a63L, 419}, {0xc3f490aa77bd60fcL, 422},\n+ {0xf4f1b4d515acb93bL, 425}, {0x991711052d8bf3c5L, 429},\n+ {0xbf5cd54678eef0b6L, 432}, {0xef340a98172aace4L, 435},\n+ {0x9580869f0e7aac0eL, 439}, {0xbae0a846d2195712L, 442},\n+ {0xe998d258869facd7L, 445}, {0x91ff83775423cc06L, 449},\n+ {0xb67f6455292cbf08L, 452}, {0xe41f3d6a7377eecaL, 455},\n+ {0x8e938662882af53eL, 459}, {0xb23867fb2a35b28dL, 462},\n+ {0xdec681f9f4c31f31L, 465}, {0x8b3c113c38f9f37eL, 469},\n+ {0xae0b158b4738705eL, 472}, {0xd98ddaee19068c76L, 475},\n+ {0x87f8a8d4cfa417c9L, 479}, {0xa9f6d30a038d1dbcL, 482},\n+ {0xd47487cc8470652bL, 485}, {0x84c8d4dfd2c63f3bL, 489},\n+ {0xa5fb0a17c777cf09L, 492}, {0xcf79cc9db955c2ccL, 495},\n+ {0x81ac1fe293d599bfL, 499}, {0xa21727db38cb002fL, 502},\n+ {0xca9cf1d206fdc03bL, 505}, {0xfd442e4688bd304aL, 508},\n+ {0x9e4a9cec15763e2eL, 512}, {0xc5dd44271ad3cdbaL, 515},\n+ {0xf7549530e188c128L, 518}, {0x9a94dd3e8cf578b9L, 522},\n+ {0xc13a148e3032d6e7L, 525}, {0xf18899b1bc3f8ca1L, 528},\n+ {0x96f5600f15a7b7e5L, 532}, {0xbcb2b812db11a5deL, 535},\n+ {0xebdf661791d60f56L, 538}, {0x936b9fcebb25c995L, 542},\n+ {0xb84687c269ef3bfbL, 545}, {0xe65829b3046b0afaL, 548},\n+ {0x8ff71a0fe2c2e6dcL, 552}, {0xb3f4e093db73a093L, 555},\n+ {0xe0f218b8d25088b8L, 558}, {0x8c974f7383725573L, 562},\n+ {0xafbd2350644eeacfL, 565}, {0xdbac6c247d62a583L, 568},\n+ {0x894bc396ce5da772L, 572}, {0xab9eb47c81f5114fL, 575},\n+ {0xd686619ba27255a2L, 578}, {0x8613fd0145877585L, 582},\n+ {0xa798fc4196e952e7L, 585}, {0xd17f3b51fca3a7a0L, 588},\n+ {0x82ef85133de648c4L, 592}, {0xa3ab66580d5fdaf5L, 595},\n+ {0xcc963fee10b7d1b3L, 598}, {0xffbbcfe994e5c61fL, 601},\n+ {0x9fd561f1fd0f9bd3L, 605}, {0xc7caba6e7c5382c8L, 608},\n+ {0xf9bd690a1b68637bL, 611}, {0x9c1661a651213e2dL, 615},\n+ {0xc31bfa0fe5698db8L, 618}, {0xf3e2f893dec3f126L, 621},\n+ {0x986ddb5c6b3a76b7L, 625}, {0xbe89523386091465L, 628},\n+ {0xee2ba6c0678b597fL, 631}, {0x94db483840b717efL, 635},\n+ {0xba121a4650e4ddebL, 638}, {0xe896a0d7e51e1566L, 641},\n+ {0x915e2486ef32cd60L, 645}, {0xb5b5ada8aaff80b8L, 648},\n+ {0xe3231912d5bf60e6L, 651}, {0x8df5efabc5979c8fL, 655},\n+ {0xb1736b96b6fd83b3L, 658}, {0xddd0467c64bce4a0L, 661},\n+ {0x8aa22c0dbef60ee4L, 665}, {0xad4ab7112eb3929dL, 668},\n+ {0xd89d64d57a607744L, 671}, {0x87625f056c7c4a8bL, 675},\n+ {0xa93af6c6c79b5d2dL, 678}, {0xd389b47879823479L, 681},\n+ {0x843610cb4bf160cbL, 685}, {0xa54394fe1eedb8feL, 688},\n+ {0xce947a3da6a9273eL, 691}, {0x811ccc668829b887L, 695},\n+ {0xa163ff802a3426a8L, 698}, {0xc9bcff6034c13052L, 701},\n+ {0xfc2c3f3841f17c67L, 704}, {0x9d9ba7832936edc0L, 708},\n+ {0xc5029163f384a931L, 711}, {0xf64335bcf065d37dL, 714},\n+ {0x99ea0196163fa42eL, 718}, {0xc06481fb9bcf8d39L, 721},\n+ {0xf07da27a82c37088L, 724}, {0x964e858c91ba2655L, 728},\n+ {0xbbe226efb628afeaL, 731}, {0xeadab0aba3b2dbe5L, 734},\n+ {0x92c8ae6b464fc96fL, 738}, {0xb77ada0617e3bbcbL, 741},\n+ {0xe55990879ddcaabdL, 744}, {0x8f57fa54c2a9eab6L, 748},\n+ {0xb32df8e9f3546564L, 751}, {0xdff9772470297ebdL, 754},\n+ {0x8bfbea76c619ef36L, 758}, {0xaefae51477a06b03L, 761},\n+ {0xdab99e59958885c4L, 764}, {0x88b402f7fd75539bL, 768},\n+ {0xaae103b5fcd2a881L, 771}, {0xd59944a37c0752a2L, 774},\n+ {0x857fcae62d8493a5L, 778}, {0xa6dfbd9fb8e5b88eL, 781},\n+ {0xd097ad07a71f26b2L, 784}, {0x825ecc24c873782fL, 788},\n+ {0xa2f67f2dfa90563bL, 791}, {0xcbb41ef979346bcaL, 794},\n+ {0xfea126b7d78186bcL, 797}, {0x9f24b832e6b0f436L, 801},\n+ {0xc6ede63fa05d3143L, 804}, {0xf8a95fcf88747d94L, 807},\n+ {0x9b69dbe1b548ce7cL, 811}, {0xc24452da229b021bL, 814},\n+ {0xf2d56790ab41c2a2L, 817}, {0x97c560ba6b0919a5L, 821},\n+ {0xbdb6b8e905cb600fL, 824}, {0xed246723473e3813L, 827},\n+ {0x9436c0760c86e30bL, 831}, {0xb94470938fa89bceL, 834},\n+ {0xe7958cb87392c2c2L, 837}, {0x90bd77f3483bb9b9L, 841},\n+ {0xb4ecd5f01a4aa828L, 844}, {0xe2280b6c20dd5232L, 847},\n+ {0x8d590723948a535fL, 851}, {0xb0af48ec79ace837L, 854},\n+ {0xdcdb1b2798182244L, 857}, {0x8a08f0f8bf0f156bL, 861},\n+ {0xac8b2d36eed2dac5L, 864}, {0xd7adf884aa879177L, 867},\n+ {0x86ccbb52ea94baeaL, 871}, {0xa87fea27a539e9a5L, 874},\n+ {0xd29fe4b18e88640eL, 877}, {0x83a3eeeef9153e89L, 881},\n+ {0xa48ceaaab75a8e2bL, 884}, {0xcdb02555653131b6L, 887},\n+ {0x808e17555f3ebf11L, 891}, {0xa0b19d2ab70e6ed6L, 894},\n+ {0xc8de047564d20a8bL, 897}, {0xfb158592be068d2eL, 900},\n+ {0x9ced737bb6c4183dL, 904}, {0xc428d05aa4751e4cL, 907},\n+ {0xf53304714d9265dfL, 910}, {0x993fe2c6d07b7fabL, 914},\n+ {0xbf8fdb78849a5f96L, 917}, {0xef73d256a5c0f77cL, 920},\n+ {0x95a8637627989aadL, 924}, {0xbb127c53b17ec159L, 927},\n+ {0xe9d71b689dde71afL, 930}, {0x9226712162ab070dL, 934},\n+ {0xb6b00d69bb55c8d1L, 937}, {0xe45c10c42a2b3b05L, 940},\n+ {0x8eb98a7a9a5b04e3L, 944}, {0xb267ed1940f1c61cL, 947},\n+ {0xdf01e85f912e37a3L, 950}, {0x8b61313bbabce2c6L, 954},\n+ {0xae397d8aa96c1b77L, 957}, {0xd9c7dced53c72255L, 960},\n+ {0x881cea14545c7575L, 964}, {0xaa242499697392d2L, 967},\n+ {0xd4ad2dbfc3d07787L, 970}, {0x84ec3c97da624ab4L, 974},\n+ {0xa6274bbdd0fadd61L, 977}, {0xcfb11ead453994baL, 980},\n+ {0x81ceb32c4b43fcf4L, 984}, {0xa2425ff75e14fc31L, 987},\n+ {0xcad2f7f5359a3b3eL, 990}, {0xfd87b5f28300ca0dL, 993},\n+ {0x9e74d1b791e07e48L, 997}, {0xc612062576589ddaL, 1000},\n+ {0xf79687aed3eec551L, 1003}, {0x9abe14cd44753b52L, 1007},\n+ {0xc16d9a0095928a27L, 1010}, {0xf1c90080baf72cb1L, 1013},\n+ {0x971da05074da7beeL, 1017}, {0xbce5086492111aeaL, 1020},\n+ {0xec1e4a7db69561a5L, 1023}, {0x9392ee8e921d5d07L, 1027},\n+ {0xb877aa3236a4b449L, 1030}, {0xe69594bec44de15bL, 1033},\n+ {0x901d7cf73ab0acd9L, 1037}, {0xb424dc35095cd80fL, 1040},\n+ {0xe12e13424bb40e13L, 1043}, {0x8cbccc096f5088cbL, 1047},\n+ {0xafebff0bcb24aafeL, 1050}, {0xdbe6fecebdedd5beL, 1053},\n+ {0x89705f4136b4a597L, 1057}, {0xabcc77118461cefcL, 1060},\n+ {0xd6bf94d5e57a42bcL, 1063}, {0x8637bd05af6c69b5L, 1067},\n+ {0xa7c5ac471b478423L, 1070}, {0xd1b71758e219652bL, 1073},\n+ {0x83126e978d4fdf3bL, 1077}, {0xa3d70a3d70a3d70aL, 1080},\n+ {0xccccccccccccccccL, 1083}, {0x8000000000000000L, 1087},\n+ {0xa000000000000000L, 1090}, {0xc800000000000000L, 1093},\n+ {0xfa00000000000000L, 1096}, {0x9c40000000000000L, 1100},\n+ {0xc350000000000000L, 1103}, {0xf424000000000000L, 1106},\n+ {0x9896800000000000L, 1110}, {0xbebc200000000000L, 1113},\n+ {0xee6b280000000000L, 1116}, {0x9502f90000000000L, 1120},\n+ {0xba43b74000000000L, 1123}, {0xe8d4a51000000000L, 1126},\n+ {0x9184e72a00000000L, 1130}, {0xb5e620f480000000L, 1133},\n+ {0xe35fa931a0000000L, 1136}, {0x8e1bc9bf04000000L, 1140},\n+ {0xb1a2bc2ec5000000L, 1143}, {0xde0b6b3a76400000L, 1146},\n+ {0x8ac7230489e80000L, 1150}, {0xad78ebc5ac620000L, 1153},\n+ {0xd8d726b7177a8000L, 1156}, {0x878678326eac9000L, 1160},\n+ {0xa968163f0a57b400L, 1163}, {0xd3c21bcecceda100L, 1166},\n+ {0x84595161401484a0L, 1170}, {0xa56fa5b99019a5c8L, 1173},\n+ {0xcecb8f27f4200f3aL, 1176}, {0x813f3978f8940984L, 1180},\n+ {0xa18f07d736b90be5L, 1183}, {0xc9f2c9cd04674edeL, 1186},\n+ {0xfc6f7c4045812296L, 1189}, {0x9dc5ada82b70b59dL, 1193},\n+ {0xc5371912364ce305L, 1196}, {0xf684df56c3e01bc6L, 1199},\n+ {0x9a130b963a6c115cL, 1203}, {0xc097ce7bc90715b3L, 1206},\n+ {0xf0bdc21abb48db20L, 1209}, {0x96769950b50d88f4L, 1213},\n+ {0xbc143fa4e250eb31L, 1216}, {0xeb194f8e1ae525fdL, 1219},\n+ {0x92efd1b8d0cf37beL, 1223}, {0xb7abc627050305adL, 1226},\n+ {0xe596b7b0c643c719L, 1229}, {0x8f7e32ce7bea5c6fL, 1233},\n+ {0xb35dbf821ae4f38bL, 1236}, {0xe0352f62a19e306eL, 1239},\n+ {0x8c213d9da502de45L, 1243}, {0xaf298d050e4395d6L, 1246},\n+ {0xdaf3f04651d47b4cL, 1249}, {0x88d8762bf324cd0fL, 1253},\n+ {0xab0e93b6efee0053L, 1256}, {0xd5d238a4abe98068L, 1259},\n+ {0x85a36366eb71f041L, 1263}, {0xa70c3c40a64e6c51L, 1266},\n+ {0xd0cf4b50cfe20765L, 1269}, {0x82818f1281ed449fL, 1273},\n+ {0xa321f2d7226895c7L, 1276}, {0xcbea6f8ceb02bb39L, 1279},\n+ {0xfee50b7025c36a08L, 1282}, {0x9f4f2726179a2245L, 1286},\n+ {0xc722f0ef9d80aad6L, 1289}, {0xf8ebad2b84e0d58bL, 1292},\n+ {0x9b934c3b330c8577L, 1296}, {0xc2781f49ffcfa6d5L, 1299},\n+ {0xf316271c7fc3908aL, 1302}, {0x97edd871cfda3a56L, 1306},\n+ {0xbde94e8e43d0c8ecL, 1309}, {0xed63a231d4c4fb27L, 1312},\n+ {0x945e455f24fb1cf8L, 1316}, {0xb975d6b6ee39e436L, 1319},\n+ {0xe7d34c64a9c85d44L, 1322}, {0x90e40fbeea1d3a4aL, 1326},\n+ {0xb51d13aea4a488ddL, 1329}, {0xe264589a4dcdab14L, 1332},\n+ {0x8d7eb76070a08aecL, 1336}, {0xb0de65388cc8ada8L, 1339},\n+ {0xdd15fe86affad912L, 1342}, {0x8a2dbf142dfcc7abL, 1346},\n+ {0xacb92ed9397bf996L, 1349}, {0xd7e77a8f87daf7fbL, 1352},\n+ {0x86f0ac99b4e8dafdL, 1356}, {0xa8acd7c0222311bcL, 1359},\n+ {0xd2d80db02aabd62bL, 1362}, {0x83c7088e1aab65dbL, 1366},\n+ {0xa4b8cab1a1563f52L, 1369}, {0xcde6fd5e09abcf26L, 1372},\n+ {0x80b05e5ac60b6178L, 1376}, {0xa0dc75f1778e39d6L, 1379},\n+ {0xc913936dd571c84cL, 1382}, {0xfb5878494ace3a5fL, 1385},\n+ {0x9d174b2dcec0e47bL, 1389}, {0xc45d1df942711d9aL, 1392},\n+ {0xf5746577930d6500L, 1395}, {0x9968bf6abbe85f20L, 1399},\n+ {0xbfc2ef456ae276e8L, 1402}, {0xefb3ab16c59b14a2L, 1405},\n+ {0x95d04aee3b80ece5L, 1409}, {0xbb445da9ca61281fL, 1412},\n+ {0xea1575143cf97226L, 1415}, {0x924d692ca61be758L, 1419},\n+ {0xb6e0c377cfa2e12eL, 1422}, {0xe498f455c38b997aL, 1425},\n+ {0x8edf98b59a373fecL, 1429}, {0xb2977ee300c50fe7L, 1432},\n+ {0xdf3d5e9bc0f653e1L, 1435}, {0x8b865b215899f46cL, 1439},\n+ {0xae67f1e9aec07187L, 1442}, {0xda01ee641a708de9L, 1445},\n+ {0x884134fe908658b2L, 1449}, {0xaa51823e34a7eedeL, 1452},\n+ {0xd4e5e2cdc1d1ea96L, 1455}, {0x850fadc09923329eL, 1459},\n+ {0xa6539930bf6bff45L, 1462}, {0xcfe87f7cef46ff16L, 1465},\n+ {0x81f14fae158c5f6eL, 1469}, {0xa26da3999aef7749L, 1472},\n+ {0xcb090c8001ab551cL, 1475}, {0xfdcb4fa002162a63L, 1478},\n+ {0x9e9f11c4014dda7eL, 1482}, {0xc646d63501a1511dL, 1485},\n+ {0xf7d88bc24209a565L, 1488}, {0x9ae757596946075fL, 1492},\n+ {0xc1a12d2fc3978937L, 1495}, {0xf209787bb47d6b84L, 1498},\n+ {0x9745eb4d50ce6332L, 1502}, {0xbd176620a501fbffL, 1505},\n+ {0xec5d3fa8ce427affL, 1508}, {0x93ba47c980e98cdfL, 1512},\n+ {0xb8a8d9bbe123f017L, 1515}, {0xe6d3102ad96cec1dL, 1518},\n+ {0x9043ea1ac7e41392L, 1522}, {0xb454e4a179dd1877L, 1525},\n+ {0xe16a1dc9d8545e94L, 1528}, {0x8ce2529e2734bb1dL, 1532},\n+ {0xb01ae745b101e9e4L, 1535}, {0xdc21a1171d42645dL, 1538},\n+ {0x899504ae72497ebaL, 1542}, {0xabfa45da0edbde69L, 1545},\n+ {0xd6f8d7509292d603L, 1548}, {0x865b86925b9bc5c2L, 1552},\n+ {0xa7f26836f282b732L, 1555}, {0xd1ef0244af2364ffL, 1558},\n+ {0x8335616aed761f1fL, 1562}, {0xa402b9c5a8d3a6e7L, 1565},\n+ {0xcd036837130890a1L, 1568}, {0x802221226be55a64L, 1572},\n+ {0xa02aa96b06deb0fdL, 1575}, {0xc83553c5c8965d3dL, 1578},\n+ {0xfa42a8b73abbf48cL, 1581}, {0x9c69a97284b578d7L, 1585},\n+ {0xc38413cf25e2d70dL, 1588}, {0xf46518c2ef5b8cd1L, 1591},\n+ {0x98bf2f79d5993802L, 1595}, {0xbeeefb584aff8603L, 1598},\n+ {0xeeaaba2e5dbf6784L, 1601}, {0x952ab45cfa97a0b2L, 1605},\n+ {0xba756174393d88dfL, 1608}, {0xe912b9d1478ceb17L, 1611},\n+ {0x91abb422ccb812eeL, 1615}, {0xb616a12b7fe617aaL, 1618},\n+ {0xe39c49765fdf9d94L, 1621}, {0x8e41ade9fbebc27dL, 1625},\n+ {0xb1d219647ae6b31cL, 1628}, {0xde469fbd99a05fe3L, 1631},\n+ {0x8aec23d680043beeL, 1635}, {0xada72ccc20054ae9L, 1638},\n+ {0xd910f7ff28069da4L, 1641}, {0x87aa9aff79042286L, 1645},\n+ {0xa99541bf57452b28L, 1648}, {0xd3fa922f2d1675f2L, 1651},\n+ {0x847c9b5d7c2e09b7L, 1655}, {0xa59bc234db398c25L, 1658},\n+ {0xcf02b2c21207ef2eL, 1661}, {0x8161afb94b44f57dL, 1665},\n+ {0xa1ba1ba79e1632dcL, 1668}, {0xca28a291859bbf93L, 1671},\n+ {0xfcb2cb35e702af78L, 1674}, {0x9defbf01b061adabL, 1678},\n+ {0xc56baec21c7a1916L, 1681}, {0xf6c69a72a3989f5bL, 1684},\n+ {0x9a3c2087a63f6399L, 1688}, {0xc0cb28a98fcf3c7fL, 1691},\n+ {0xf0fdf2d3f3c30b9fL, 1694}, {0x969eb7c47859e743L, 1698},\n+ {0xbc4665b596706114L, 1701}, {0xeb57ff22fc0c7959L, 1704},\n+ {0x9316ff75dd87cbd8L, 1708}, {0xb7dcbf5354e9beceL, 1711},\n+ {0xe5d3ef282a242e81L, 1714}, {0x8fa475791a569d10L, 1718},\n+ {0xb38d92d760ec4455L, 1721}, {0xe070f78d3927556aL, 1724},\n+ {0x8c469ab843b89562L, 1728}, {0xaf58416654a6babbL, 1731},\n+ {0xdb2e51bfe9d0696aL, 1734}, {0x88fcf317f22241e2L, 1738},\n+ {0xab3c2fddeeaad25aL, 1741}, {0xd60b3bd56a5586f1L, 1744},\n+ {0x85c7056562757456L, 1748}, {0xa738c6bebb12d16cL, 1751},\n+ {0xd106f86e69d785c7L, 1754}, {0x82a45b450226b39cL, 1758},\n+ {0xa34d721642b06084L, 1761}, {0xcc20ce9bd35c78a5L, 1764},\n+ {0xff290242c83396ceL, 1767}, {0x9f79a169bd203e41L, 1771},\n+ {0xc75809c42c684dd1L, 1774}, {0xf92e0c3537826145L, 1777},\n+ {0x9bbcc7a142b17ccbL, 1781}, {0xc2abf989935ddbfeL, 1784},\n+ {0xf356f7ebf83552feL, 1787}, {0x98165af37b2153deL, 1791},\n+ {0xbe1bf1b059e9a8d6L, 1794}, {0xeda2ee1c7064130cL, 1797},\n+ {0x9485d4d1c63e8be7L, 1801}, {0xb9a74a0637ce2ee1L, 1804},\n+ {0xe8111c87c5c1ba99L, 1807}, {0x910ab1d4db9914a0L, 1811},\n+ {0xb54d5e4a127f59c8L, 1814}, {0xe2a0b5dc971f303aL, 1817},\n+ {0x8da471a9de737e24L, 1821}, {0xb10d8e1456105dadL, 1824},\n+ {0xdd50f1996b947518L, 1827}, {0x8a5296ffe33cc92fL, 1831},\n+ {0xace73cbfdc0bfb7bL, 1834}, {0xd8210befd30efa5aL, 1837},\n+ {0x8714a775e3e95c78L, 1841}, {0xa8d9d1535ce3b396L, 1844},\n+ {0xd31045a8341ca07cL, 1847}, {0x83ea2b892091e44dL, 1851},\n+ {0xa4e4b66b68b65d60L, 1854}, {0xce1de40642e3f4b9L, 1857},\n+ {0x80d2ae83e9ce78f3L, 1861}, {0xa1075a24e4421730L, 1864},\n+ {0xc94930ae1d529cfcL, 1867}, {0xfb9b7cd9a4a7443cL, 1870},\n+ {0x9d412e0806e88aa5L, 1874}, {0xc491798a08a2ad4eL, 1877},\n+ {0xf5b5d7ec8acb58a2L, 1880}, {0x9991a6f3d6bf1765L, 1884},\n+ {0xbff610b0cc6edd3fL, 1887}, {0xeff394dcff8a948eL, 1890},\n+ {0x95f83d0a1fb69cd9L, 1894}, {0xbb764c4ca7a4440fL, 1897},\n+ {0xea53df5fd18d5513L, 1900}, {0x92746b9be2f8552cL, 1904},\n+ {0xb7118682dbb66a77L, 1907}, {0xe4d5e82392a40515L, 1910},\n+ {0x8f05b1163ba6832dL, 1914}, {0xb2c71d5bca9023f8L, 1917},\n+ {0xdf78e4b2bd342cf6L, 1920}, {0x8bab8eefb6409c1aL, 1924},\n+ {0xae9672aba3d0c320L, 1927}, {0xda3c0f568cc4f3e8L, 1930},\n+ {0x8865899617fb1871L, 1934}, {0xaa7eebfb9df9de8dL, 1937},\n+ {0xd51ea6fa85785631L, 1940}, {0x8533285c936b35deL, 1944},\n+ {0xa67ff273b8460356L, 1947}, {0xd01fef10a657842cL, 1950},\n+ {0x8213f56a67f6b29bL, 1954}, {0xa298f2c501f45f42L, 1957},\n+ {0xcb3f2f7642717713L, 1960}, {0xfe0efb53d30dd4d7L, 1963},\n+ {0x9ec95d1463e8a506L, 1967}, {0xc67bb4597ce2ce48L, 1970},\n+ {0xf81aa16fdc1b81daL, 1973}, {0x9b10a4e5e9913128L, 1977},\n+ {0xc1d4ce1f63f57d72L, 1980}, {0xf24a01a73cf2dccfL, 1983},\n+ {0x976e41088617ca01L, 1987}, {0xbd49d14aa79dbc82L, 1990},\n+ {0xec9c459d51852ba2L, 1993}, {0x93e1ab8252f33b45L, 1997},\n+ {0xb8da1662e7b00a17L, 2000}, {0xe7109bfba19c0c9dL, 2003},\n+ {0x906a617d450187e2L, 2007}, {0xb484f9dc9641e9daL, 2010},\n+ {0xe1a63853bbd26451L, 2013}, {0x8d07e33455637eb2L, 2017},\n+ {0xb049dc016abc5e5fL, 2020}, {0xdc5c5301c56b75f7L, 2023},\n+ {0x89b9b3e11b6329baL, 2027}, {0xac2820d9623bf429L, 2030},\n+ {0xd732290fbacaf133L, 2033}, {0x867f59a9d4bed6c0L, 2037},\n+ {0xa81f301449ee8c70L, 2040}, {0xd226fc195c6a2f8cL, 2043},\n+ {0x83585d8fd9c25db7L, 2047}, {0xa42e74f3d032f525L, 2050},\n+ {0xcd3a1230c43fb26fL, 2053}, {0x80444b5e7aa7cf85L, 2057},\n+ {0xa0555e361951c366L, 2060}, {0xc86ab5c39fa63440L, 2063},\n+ {0xfa856334878fc150L, 2066}, {0x9c935e00d4b9d8d2L, 2070},\n+ {0xc3b8358109e84f07L, 2073}, {0xf4a642e14c6262c8L, 2076},\n+ {0x98e7e9cccfbd7dbdL, 2080}, {0xbf21e44003acdd2cL, 2083},\n+ {0xeeea5d5004981478L, 2086}, {0x95527a5202df0ccbL, 2090},\n+ {0xbaa718e68396cffdL, 2093}, {0xe950df20247c83fdL, 2096},\n+ {0x91d28b7416cdd27eL, 2100}, {0xb6472e511c81471dL, 2103},\n+ {0xe3d8f9e563a198e5L, 2106}, {0x8e679c2f5e44ff8fL, 2110}};\n+\n+// A complement from power_of_ten_components\n+// complete to a 128-bit mantissa.\n+const uint64_t mantissa_128[] = {0x419ea3bd35385e2d,\n+ 0x52064cac828675b9,\n+ 0x7343efebd1940993,\n+ 0x1014ebe6c5f90bf8,\n+ 0xd41a26e077774ef6,\n+ 0x8920b098955522b4,\n+ 0x55b46e5f5d5535b0,\n+ 0xeb2189f734aa831d,\n+ 0xa5e9ec7501d523e4,\n+ 0x47b233c92125366e,\n+ 0x999ec0bb696e840a,\n+ 0xc00670ea43ca250d,\n+ 0x380406926a5e5728,\n+ 0xc605083704f5ecf2,\n+ 0xf7864a44c633682e,\n+ 0x7ab3ee6afbe0211d,\n+ 0x5960ea05bad82964,\n+ 0x6fb92487298e33bd,\n+ 0xa5d3b6d479f8e056,\n+ 0x8f48a4899877186c,\n+ 0x331acdabfe94de87,\n+ 0x9ff0c08b7f1d0b14,\n+ 0x7ecf0ae5ee44dd9,\n+ 0xc9e82cd9f69d6150,\n+ 0xbe311c083a225cd2,\n+ 0x6dbd630a48aaf406,\n+ 0x92cbbccdad5b108,\n+ 0x25bbf56008c58ea5,\n+ 0xaf2af2b80af6f24e,\n+ 0x1af5af660db4aee1,\n+ 0x50d98d9fc890ed4d,\n+ 0xe50ff107bab528a0,\n+ 0x1e53ed49a96272c8,\n+ 0x25e8e89c13bb0f7a,\n+ 0x77b191618c54e9ac,\n+ 0xd59df5b9ef6a2417,\n+ 0x4b0573286b44ad1d,\n+ 0x4ee367f9430aec32,\n+ 0x229c41f793cda73f,\n+ 0x6b43527578c1110f,\n+ 0x830a13896b78aaa9,\n+ 0x23cc986bc656d553,\n+ 0x2cbfbe86b7ec8aa8,\n+ 0x7bf7d71432f3d6a9,\n+ 0xdaf5ccd93fb0cc53,\n+ 0xd1b3400f8f9cff68,\n+ 0x23100809b9c21fa1,\n+ 0xabd40a0c2832a78a,\n+ 0x16c90c8f323f516c,\n+ 0xae3da7d97f6792e3,\n+ 0x99cd11cfdf41779c,\n+ 0x40405643d711d583,\n+ 0x482835ea666b2572,\n+ 0xda3243650005eecf,\n+ 0x90bed43e40076a82,\n+ 0x5a7744a6e804a291,\n+ 0x711515d0a205cb36,\n+ 0xd5a5b44ca873e03,\n+ 0xe858790afe9486c2,\n+ 0x626e974dbe39a872,\n+ 0xfb0a3d212dc8128f,\n+ 0x7ce66634bc9d0b99,\n+ 0x1c1fffc1ebc44e80,\n+ 0xa327ffb266b56220,\n+ 0x4bf1ff9f0062baa8,\n+ 0x6f773fc3603db4a9,\n+ 0xcb550fb4384d21d3,\n+ 0x7e2a53a146606a48,\n+ 0x2eda7444cbfc426d,\n+ 0xfa911155fefb5308,\n+ 0x793555ab7eba27ca,\n+ 0x4bc1558b2f3458de,\n+ 0x9eb1aaedfb016f16,\n+ 0x465e15a979c1cadc,\n+ 0xbfacd89ec191ec9,\n+ 0xcef980ec671f667b,\n+ 0x82b7e12780e7401a,\n+ 0xd1b2ecb8b0908810,\n+ 0x861fa7e6dcb4aa15,\n+ 0x67a791e093e1d49a,\n+ 0xe0c8bb2c5c6d24e0,\n+ 0x58fae9f773886e18,\n+ 0xaf39a475506a899e,\n+ 0x6d8406c952429603,\n+ 0xc8e5087ba6d33b83,\n+ 0xfb1e4a9a90880a64,\n+ 0x5cf2eea09a55067f,\n+ 0xf42faa48c0ea481e,\n+ 0xf13b94daf124da26,\n+ 0x76c53d08d6b70858,\n+ 0x54768c4b0c64ca6e,\n+ 0xa9942f5dcf7dfd09,\n+ 0xd3f93b35435d7c4c,\n+ 0xc47bc5014a1a6daf,\n+ 0x359ab6419ca1091b,\n+ 0xc30163d203c94b62,\n+ 0x79e0de63425dcf1d,\n+ 0x985915fc12f542e4,\n+ 0x3e6f5b7b17b2939d,\n+ 0xa705992ceecf9c42,\n+ 0x50c6ff782a838353,\n+ 0xa4f8bf5635246428,\n+ 0x871b7795e136be99,\n+ 0x28e2557b59846e3f,\n+ 0x331aeada2fe589cf,\n+ 0x3ff0d2c85def7621,\n+ 0xfed077a756b53a9,\n+ 0xd3e8495912c62894,\n+ 0x64712dd7abbbd95c,\n+ 0xbd8d794d96aacfb3,\n+ 0xecf0d7a0fc5583a0,\n+ 0xf41686c49db57244,\n+ 0x311c2875c522ced5,\n+ 0x7d633293366b828b,\n+ 0xae5dff9c02033197,\n+ 0xd9f57f830283fdfc,\n+ 0xd072df63c324fd7b,\n+ 0x4247cb9e59f71e6d,\n+ 0x52d9be85f074e608,\n+ 0x67902e276c921f8b,\n+ 0xba1cd8a3db53b6,\n+ 0x80e8a40eccd228a4,\n+ 0x6122cd128006b2cd,\n+ 0x796b805720085f81,\n+ 0xcbe3303674053bb0,\n+ 0xbedbfc4411068a9c,\n+ 0xee92fb5515482d44,\n+ 0x751bdd152d4d1c4a,\n+ 0xd262d45a78a0635d,\n+ 0x86fb897116c87c34,\n+ 0xd45d35e6ae3d4da0,\n+ 0x8974836059cca109,\n+ 0x2bd1a438703fc94b,\n+ 0x7b6306a34627ddcf,\n+ 0x1a3bc84c17b1d542,\n+ 0x20caba5f1d9e4a93,\n+ 0x547eb47b7282ee9c,\n+ 0xe99e619a4f23aa43,\n+ 0x6405fa00e2ec94d4,\n+ 0xde83bc408dd3dd04,\n+ 0x9624ab50b148d445,\n+ 0x3badd624dd9b0957,\n+ 0xe54ca5d70a80e5d6,\n+ 0x5e9fcf4ccd211f4c,\n+ 0x7647c3200069671f,\n+ 0x29ecd9f40041e073,\n+ 0xf468107100525890,\n+ 0x7182148d4066eeb4,\n+ 0xc6f14cd848405530,\n+ 0xb8ada00e5a506a7c,\n+ 0xa6d90811f0e4851c,\n+ 0x908f4a166d1da663,\n+ 0x9a598e4e043287fe,\n+ 0x40eff1e1853f29fd,\n+ 0xd12bee59e68ef47c,\n+ 0x82bb74f8301958ce,\n+ 0xe36a52363c1faf01,\n+ 0xdc44e6c3cb279ac1,\n+ 0x29ab103a5ef8c0b9,\n+ 0x7415d448f6b6f0e7,\n+ 0x111b495b3464ad21,\n+ 0xcab10dd900beec34,\n+ 0x3d5d514f40eea742,\n+ 0xcb4a5a3112a5112,\n+ 0x47f0e785eaba72ab,\n+ 0x59ed216765690f56,\n+ 0x306869c13ec3532c,\n+ 0x1e414218c73a13fb,\n+ 0xe5d1929ef90898fa,\n+ 0xdf45f746b74abf39,\n+ 0x6b8bba8c328eb783,\n+ 0x66ea92f3f326564,\n+ 0xc80a537b0efefebd,\n+ 0xbd06742ce95f5f36,\n+ 0x2c48113823b73704,\n+ 0xf75a15862ca504c5,\n+ 0x9a984d73dbe722fb,\n+ 0xc13e60d0d2e0ebba,\n+ 0x318df905079926a8,\n+ 0xfdf17746497f7052,\n+ 0xfeb6ea8bedefa633,\n+ 0xfe64a52ee96b8fc0,\n+ 0x3dfdce7aa3c673b0,\n+ 0x6bea10ca65c084e,\n+ 0x486e494fcff30a62,\n+ 0x5a89dba3c3efccfa,\n+ 0xf89629465a75e01c,\n+ 0xf6bbb397f1135823,\n+ 0x746aa07ded582e2c,\n+ 0xa8c2a44eb4571cdc,\n+ 0x92f34d62616ce413,\n+ 0x77b020baf9c81d17,\n+ 0xace1474dc1d122e,\n+ 0xd819992132456ba,\n+ 0x10e1fff697ed6c69,\n+ 0xca8d3ffa1ef463c1,\n+ 0xbd308ff8a6b17cb2,\n+ 0xac7cb3f6d05ddbde,\n+ 0x6bcdf07a423aa96b,\n+ 0x86c16c98d2c953c6,\n+ 0xe871c7bf077ba8b7,\n+ 0x11471cd764ad4972,\n+ 0xd598e40d3dd89bcf,\n+ 0x4aff1d108d4ec2c3,\n+ 0xcedf722a585139ba,\n+ 0xc2974eb4ee658828,\n+ 0x733d226229feea32,\n+ 0x806357d5a3f525f,\n+ 0xca07c2dcb0cf26f7,\n+ 0xfc89b393dd02f0b5,\n+ 0xbbac2078d443ace2,\n+ 0xd54b944b84aa4c0d,\n+ 0xa9e795e65d4df11,\n+ 0x4d4617b5ff4a16d5,\n+ 0x504bced1bf8e4e45,\n+ 0xe45ec2862f71e1d6,\n+ 0x5d767327bb4e5a4c,\n+ 0x3a6a07f8d510f86f,\n+ 0x890489f70a55368b,\n+ 0x2b45ac74ccea842e,\n+ 0x3b0b8bc90012929d,\n+ 0x9ce6ebb40173744,\n+ 0xcc420a6a101d0515,\n+ 0x9fa946824a12232d,\n+ 0x47939822dc96abf9,\n+ 0x59787e2b93bc56f7,\n+ 0x57eb4edb3c55b65a,\n+ 0xede622920b6b23f1,\n+ 0xe95fab368e45eced,\n+ 0x11dbcb0218ebb414,\n+ 0xd652bdc29f26a119,\n+ 0x4be76d3346f0495f,\n+ 0x6f70a4400c562ddb,\n+ 0xcb4ccd500f6bb952,\n+ 0x7e2000a41346a7a7,\n+ 0x8ed400668c0c28c8,\n+ 0x728900802f0f32fa,\n+ 0x4f2b40a03ad2ffb9,\n+ 0xe2f610c84987bfa8,\n+ 0xdd9ca7d2df4d7c9,\n+ 0x91503d1c79720dbb,\n+ 0x75a44c6397ce912a,\n+ 0xc986afbe3ee11aba,\n+ 0xfbe85badce996168,\n+ 0xfae27299423fb9c3,\n+ 0xdccd879fc967d41a,\n+ 0x5400e987bbc1c920,\n+ 0x290123e9aab23b68,\n+ 0xf9a0b6720aaf6521,\n+ 0xf808e40e8d5b3e69,\n+ 0xb60b1d1230b20e04,\n+ 0xb1c6f22b5e6f48c2,\n+ 0x1e38aeb6360b1af3,\n+ 0x25c6da63c38de1b0,\n+ 0x579c487e5a38ad0e,\n+ 0x2d835a9df0c6d851,\n+ 0xf8e431456cf88e65,\n+ 0x1b8e9ecb641b58ff,\n+ 0xe272467e3d222f3f,\n+ 0x5b0ed81dcc6abb0f,\n+ 0x98e947129fc2b4e9,\n+ 0x3f2398d747b36224,\n+ 0x8eec7f0d19a03aad,\n+ 0x1953cf68300424ac,\n+ 0x5fa8c3423c052dd7,\n+ 0x3792f412cb06794d,\n+ 0xe2bbd88bbee40bd0,\n+ 0x5b6aceaeae9d0ec4,\n+ 0xf245825a5a445275,\n+ 0xeed6e2f0f0d56712,\n+ 0x55464dd69685606b,\n+ 0xaa97e14c3c26b886,\n+ 0xd53dd99f4b3066a8,\n+ 0xe546a8038efe4029,\n+ 0xde98520472bdd033,\n+ 0x963e66858f6d4440,\n+ 0xdde7001379a44aa8,\n+ 0x5560c018580d5d52,\n+ 0xaab8f01e6e10b4a6,\n+ 0xcab3961304ca70e8,\n+ 0x3d607b97c5fd0d22,\n+ 0x8cb89a7db77c506a,\n+ 0x77f3608e92adb242,\n+ 0x55f038b237591ed3,\n+ 0x6b6c46dec52f6688,\n+ 0x2323ac4b3b3da015,\n+ 0xabec975e0a0d081a,\n+ 0x96e7bd358c904a21,\n+ 0x7e50d64177da2e54,\n+ 0xdde50bd1d5d0b9e9,\n+ 0x955e4ec64b44e864,\n+ 0xbd5af13bef0b113e,\n+ 0xecb1ad8aeacdd58e,\n+ 0x67de18eda5814af2,\n+ 0x80eacf948770ced7,\n+ 0xa1258379a94d028d,\n+ 0x96ee45813a04330,\n+ 0x8bca9d6e188853fc,\n+ 0x775ea264cf55347d,\n+ 0x95364afe032a819d,\n+ 0x3a83ddbd83f52204,\n+ 0xc4926a9672793542,\n+ 0x75b7053c0f178293,\n+ 0x5324c68b12dd6338,\n+ 0xd3f6fc16ebca5e03,\n+ 0x88f4bb1ca6bcf584,\n+ 0x2b31e9e3d06c32e5,\n+ 0x3aff322e62439fcf,\n+ 0x9befeb9fad487c2,\n+ 0x4c2ebe687989a9b3,\n+ 0xf9d37014bf60a10,\n+ 0x538484c19ef38c94,\n+ 0x2865a5f206b06fb9,\n+ 0xf93f87b7442e45d3,\n+ 0xf78f69a51539d748,\n+ 0xb573440e5a884d1b,\n+ 0x31680a88f8953030,\n+ 0xfdc20d2b36ba7c3d,\n+ 0x3d32907604691b4c,\n+ 0xa63f9a49c2c1b10f,\n+ 0xfcf80dc33721d53,\n+ 0xd3c36113404ea4a8,\n+ 0x645a1cac083126e9,\n+ 0x3d70a3d70a3d70a3,\n+ 0xcccccccccccccccc,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x0,\n+ 0x4000000000000000,\n+ 0x5000000000000000,\n+ 0xa400000000000000,\n+ 0x4d00000000000000,\n+ 0xf020000000000000,\n+ 0x6c28000000000000,\n+ 0xc732000000000000,\n+ 0x3c7f400000000000,\n+ 0x4b9f100000000000,\n+ 0x1e86d40000000000,\n+ 0x1314448000000000,\n+ 0x17d955a000000000,\n+ 0x5dcfab0800000000,\n+ 0x5aa1cae500000000,\n+ 0xf14a3d9e40000000,\n+ 0x6d9ccd05d0000000,\n+ 0xe4820023a2000000,\n+ 0xdda2802c8a800000,\n+ 0xd50b2037ad200000,\n+ 0x4526f422cc340000,\n+ 0x9670b12b7f410000,\n+ 0x3c0cdd765f114000,\n+ 0xa5880a69fb6ac800,\n+ 0x8eea0d047a457a00,\n+ 0x72a4904598d6d880,\n+ 0x47a6da2b7f864750,\n+ 0x999090b65f67d924,\n+ 0xfff4b4e3f741cf6d,\n+ 0xbff8f10e7a8921a4,\n+ 0xaff72d52192b6a0d,\n+ 0x9bf4f8a69f764490,\n+ 0x2f236d04753d5b4,\n+ 0x1d762422c946590,\n+ 0x424d3ad2b7b97ef5,\n+ 0xd2e0898765a7deb2,\n+ 0x63cc55f49f88eb2f,\n+ 0x3cbf6b71c76b25fb,\n+ 0x8bef464e3945ef7a,\n+ 0x97758bf0e3cbb5ac,\n+ 0x3d52eeed1cbea317,\n+ 0x4ca7aaa863ee4bdd,\n+ 0x8fe8caa93e74ef6a,\n+ 0xb3e2fd538e122b44,\n+ 0x60dbbca87196b616,\n+ 0xbc8955e946fe31cd,\n+ 0x6babab6398bdbe41,\n+ 0xc696963c7eed2dd1,\n+ 0xfc1e1de5cf543ca2,\n+ 0x3b25a55f43294bcb,\n+ 0x49ef0eb713f39ebe,\n+ 0x6e3569326c784337,\n+ 0x49c2c37f07965404,\n+ 0xdc33745ec97be906,\n+ 0x69a028bb3ded71a3,\n+ 0xc40832ea0d68ce0c,\n+ 0xf50a3fa490c30190,\n+ 0x792667c6da79e0fa,\n+ 0x577001b891185938,\n+ 0xed4c0226b55e6f86,\n+ 0x544f8158315b05b4,\n+ 0x696361ae3db1c721,\n+ 0x3bc3a19cd1e38e9,\n+ 0x4ab48a04065c723,\n+ 0x62eb0d64283f9c76,\n+ 0x3ba5d0bd324f8394,\n+ 0xca8f44ec7ee36479,\n+ 0x7e998b13cf4e1ecb,\n+ 0x9e3fedd8c321a67e,\n+ 0xc5cfe94ef3ea101e,\n+ 0xbba1f1d158724a12,\n+ 0x2a8a6e45ae8edc97,\n+ 0xf52d09d71a3293bd,\n+ 0x593c2626705f9c56,\n+ 0x6f8b2fb00c77836c,\n+ 0xb6dfb9c0f956447,\n+ 0x4724bd4189bd5eac,\n+ 0x58edec91ec2cb657,\n+ 0x2f2967b66737e3ed,\n+ 0xbd79e0d20082ee74,\n+ 0xecd8590680a3aa11,\n+ 0xe80e6f4820cc9495,\n+ 0x3109058d147fdcdd,\n+ 0xbd4b46f0599fd415,\n+ 0x6c9e18ac7007c91a,\n+ 0x3e2cf6bc604ddb0,\n+ 0x84db8346b786151c,\n+ 0xe612641865679a63,\n+ 0x4fcb7e8f3f60c07e,\n+ 0xe3be5e330f38f09d,\n+ 0x5cadf5bfd3072cc5,\n+ 0x73d9732fc7c8f7f6,\n+ 0x2867e7fddcdd9afa,\n+ 0xb281e1fd541501b8,\n+ 0x1f225a7ca91a4226,\n+ 0x3375788de9b06958,\n+ 0x52d6b1641c83ae,\n+ 0xc0678c5dbd23a49a,\n+ 0xf840b7ba963646e0,\n+ 0xb650e5a93bc3d898,\n+ 0xa3e51f138ab4cebe,\n+ 0xc66f336c36b10137,\n+ 0xb80b0047445d4184,\n+ 0xa60dc059157491e5,\n+ 0x87c89837ad68db2f,\n+ 0x29babe4598c311fb,\n+ 0xf4296dd6fef3d67a,\n+ 0x1899e4a65f58660c,\n+ 0x5ec05dcff72e7f8f,\n+ 0x76707543f4fa1f73,\n+ 0x6a06494a791c53a8,\n+ 0x487db9d17636892,\n+ 0x45a9d2845d3c42b6,\n+ 0xb8a2392ba45a9b2,\n+ 0x8e6cac7768d7141e,\n+ 0x3207d795430cd926,\n+ 0x7f44e6bd49e807b8,\n+ 0x5f16206c9c6209a6,\n+ 0x36dba887c37a8c0f,\n+ 0xc2494954da2c9789,\n+ 0xf2db9baa10b7bd6c,\n+ 0x6f92829494e5acc7,\n+ 0xcb772339ba1f17f9,\n+ 0xff2a760414536efb,\n+ 0xfef5138519684aba,\n+ 0x7eb258665fc25d69,\n+ 0xef2f773ffbd97a61,\n+ 0xaafb550ffacfd8fa,\n+ 0x95ba2a53f983cf38,\n+ 0xdd945a747bf26183,\n+ 0x94f971119aeef9e4,\n+ 0x7a37cd5601aab85d,\n+ 0xac62e055c10ab33a,\n+ 0x577b986b314d6009,\n+ 0xed5a7e85fda0b80b,\n+ 0x14588f13be847307,\n+ 0x596eb2d8ae258fc8,\n+ 0x6fca5f8ed9aef3bb,\n+ 0x25de7bb9480d5854,\n+ 0xaf561aa79a10ae6a,\n+ 0x1b2ba1518094da04,\n+ 0x90fb44d2f05d0842,\n+ 0x353a1607ac744a53,\n+ 0x42889b8997915ce8,\n+ 0x69956135febada11,\n+ 0x43fab9837e699095,\n+ 0x94f967e45e03f4bb,\n+ 0x1d1be0eebac278f5,\n+ 0x6462d92a69731732,\n+ 0x7d7b8f7503cfdcfe,\n+ 0x5cda735244c3d43e,\n+ 0x3a0888136afa64a7,\n+ 0x88aaa1845b8fdd0,\n+ 0x8aad549e57273d45,\n+ 0x36ac54e2f678864b,\n+ 0x84576a1bb416a7dd,\n+ 0x656d44a2a11c51d5,\n+ 0x9f644ae5a4b1b325,\n+ 0x873d5d9f0dde1fee,\n+ 0xa90cb506d155a7ea,\n+ 0x9a7f12442d588f2,\n+ 0xc11ed6d538aeb2f,\n+ 0x8f1668c8a86da5fa,\n+ 0xf96e017d694487bc,\n+ 0x37c981dcc395a9ac,\n+ 0x85bbe253f47b1417,\n+ 0x93956d7478ccec8e,\n+ 0x387ac8d1970027b2,\n+ 0x6997b05fcc0319e,\n+ 0x441fece3bdf81f03,\n+ 0xd527e81cad7626c3,\n+ 0x8a71e223d8d3b074,\n+ 0xf6872d5667844e49,\n+ 0xb428f8ac016561db,\n+ 0xe13336d701beba52,\n+ 0xecc0024661173473,\n+ 0x27f002d7f95d0190,\n+ 0x31ec038df7b441f4,\n+ 0x7e67047175a15271,\n+ 0xf0062c6e984d386,\n+ 0x52c07b78a3e60868,\n+ 0xa7709a56ccdf8a82,\n+ 0x88a66076400bb691,\n+ 0x6acff893d00ea435,\n+ 0x583f6b8c4124d43,\n+ 0xc3727a337a8b704a,\n+ 0x744f18c0592e4c5c,\n+ 0x1162def06f79df73,\n+ 0x8addcb5645ac2ba8,\n+ 0x6d953e2bd7173692,\n+ 0xc8fa8db6ccdd0437,\n+ 0x1d9c9892400a22a2,\n+ 0x2503beb6d00cab4b,\n+ 0x2e44ae64840fd61d,\n+ 0x5ceaecfed289e5d2,\n+ 0x7425a83e872c5f47,\n+ 0xd12f124e28f77719,\n+ 0x82bd6b70d99aaa6f,\n+ 0x636cc64d1001550b,\n+ 0x3c47f7e05401aa4e,\n+ 0x65acfaec34810a71,\n+ 0x7f1839a741a14d0d,\n+ 0x1ede48111209a050,\n+ 0x934aed0aab460432,\n+ 0xf81da84d5617853f,\n+ 0x36251260ab9d668e,\n+ 0xc1d72b7c6b426019,\n+ 0xb24cf65b8612f81f,\n+ 0xdee033f26797b627,\n+ 0x169840ef017da3b1,\n+ 0x8e1f289560ee864e,\n+ 0xf1a6f2bab92a27e2,\n+ 0xae10af696774b1db,\n+ 0xacca6da1e0a8ef29,\n+ 0x17fd090a58d32af3,\n+ 0xddfc4b4cef07f5b0,\n+ 0x4abdaf101564f98e,\n+ 0x9d6d1ad41abe37f1,\n+ 0x84c86189216dc5ed,\n+ 0x32fd3cf5b4e49bb4,\n+ 0x3fbc8c33221dc2a1,\n+ 0xfabaf3feaa5334a,\n+ 0x29cb4d87f2a7400e,\n+ 0x743e20e9ef511012,\n+ 0x914da9246b255416,\n+ 0x1ad089b6c2f7548e,\n+ 0xa184ac2473b529b1,\n+ 0xc9e5d72d90a2741e,\n+ 0x7e2fa67c7a658892,\n+ 0xddbb901b98feeab7,\n+ 0x552a74227f3ea565,\n+ 0xd53a88958f87275f,\n+ 0x8a892abaf368f137,\n+ 0x2d2b7569b0432d85,\n+ 0x9c3b29620e29fc73,\n+ 0x8349f3ba91b47b8f,\n+ 0x241c70a936219a73,\n+ 0xed238cd383aa0110,\n+ 0xf4363804324a40aa,\n+ 0xb143c6053edcd0d5,\n+ 0xdd94b7868e94050a,\n+ 0xca7cf2b4191c8326,\n+ 0xfd1c2f611f63a3f0,\n+ 0xbc633b39673c8cec,\n+ 0xd5be0503e085d813,\n+ 0x4b2d8644d8a74e18,\n+ 0xddf8e7d60ed1219e,\n+ 0xcabb90e5c942b503,\n+ 0x3d6a751f3b936243,\n+ 0xcc512670a783ad4,\n+ 0x27fb2b80668b24c5,\n+ 0xb1f9f660802dedf6,\n+ 0x5e7873f8a0396973,\n+ 0xdb0b487b6423e1e8,\n+ 0x91ce1a9a3d2cda62,\n+ 0x7641a140cc7810fb,\n+ 0xa9e904c87fcb0a9d,\n+ 0x546345fa9fbdcd44,\n+ 0xa97c177947ad4095,\n+ 0x49ed8eabcccc485d,\n+ 0x5c68f256bfff5a74,\n+ 0x73832eec6fff3111,\n+ 0xc831fd53c5ff7eab,\n+ 0xba3e7ca8b77f5e55,\n+ 0x28ce1bd2e55f35eb,\n+ 0x7980d163cf5b81b3,\n+ 0xd7e105bcc332621f,\n+ 0x8dd9472bf3fefaa7,\n+ 0xb14f98f6f0feb951,\n+ 0x6ed1bf9a569f33d3,\n+ 0xa862f80ec4700c8,\n+ 0xcd27bb612758c0fa,\n+ 0x8038d51cb897789c,\n+ 0xe0470a63e6bd56c3,\n+ 0x1858ccfce06cac74,\n+ 0xf37801e0c43ebc8,\n+ 0xd30560258f54e6ba,\n+ 0x47c6b82ef32a2069,\n+ 0x4cdc331d57fa5441,\n+ 0xe0133fe4adf8e952,\n+ 0x58180fddd97723a6,\n+ 0x570f09eaa7ea7648};\n+\n+\n } // namespace simdjson\n \n #endif\n@@ -5593,52 +6518,6 @@ really_inline void document::parser::annotate_previous_loc(uint32_t saved_loc, u\n \n using namespace simdjson;\n \n-WARN_UNUSED\n-really_inline bool is_valid_true_atom(const uint8_t *loc) {\n- uint32_t tv = *reinterpret_cast(\"true\");\n- uint32_t error = 0;\n- uint32_t\n- locval; // we want to avoid unaligned 64-bit loads (undefined in C/C++)\n- // this can read up to 3 bytes beyond the buffer size, but we require\n- // SIMDJSON_PADDING of padding\n- static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING);\n- std::memcpy(&locval, loc, sizeof(uint32_t));\n- error = locval ^ tv;\n- error |= is_not_structural_or_whitespace(loc[4]);\n- return error == 0;\n-}\n-\n-WARN_UNUSED\n-really_inline bool is_valid_false_atom(const uint8_t *loc) {\n- // assume that loc starts with \"f\"\n- uint32_t fv = *reinterpret_cast(\"alse\");\n- uint32_t error = 0;\n- uint32_t\n- locval; // we want to avoid unaligned 32-bit loads (undefined in C/C++)\n- // this can read up to 4 bytes beyond the buffer size, but we require\n- // SIMDJSON_PADDING of padding\n- static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING);\n- std::memcpy(&locval, loc + 1, sizeof(uint32_t));\n- error = locval ^ fv;\n- error |= is_not_structural_or_whitespace(loc[5]);\n- return error == 0;\n-}\n-\n-WARN_UNUSED\n-really_inline bool is_valid_null_atom(const uint8_t *loc) {\n- uint32_t nv = *reinterpret_cast(\"null\");\n- uint32_t error = 0;\n- uint32_t\n- locval; // we want to avoid unaligned 32-bit loads (undefined in C/C++)\n- // this can read up to 2 bytes beyond the buffer size, but we require\n- // SIMDJSON_PADDING of padding\n- static_assert(sizeof(uint32_t) - 1 <= SIMDJSON_PADDING);\n- std::memcpy(&locval, loc, sizeof(uint32_t));\n- error = locval ^ nv;\n- error |= is_not_structural_or_whitespace(loc[4]);\n- return error == 0;\n-}\n-\n #ifdef JSON_TEST_STRINGS\n void found_string(const uint8_t *buf, const uint8_t *parsed_begin,\n const uint8_t *parsed_end);\n@@ -5768,10 +6647,9 @@ really_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n return offset > 0;\n }\n \n-WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *buf,\n- uint32_t offset,\n+WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *src,\n uint8_t *dst) {\n- const uint8_t *src = &buf[offset + 1]; /* we know that buf at offset is a \" */\n+ src++;\n while (1) {\n parse_string_helper helper = find_bs_bits_and_quote_bits(src, dst);\n if (((helper.bs_bits - 1) & helper.quote_bits) != 0) {\n@@ -5868,81 +6746,209 @@ static inline uint32_t parse_eight_digits_unrolled(const char *chars) {\n /* begin file src/generic/numberparsing.h */\n namespace numberparsing {\n \n-// Allowable floating-point values range\n-// std::numeric_limits::lowest() to std::numeric_limits::max(),\n-// so from -1.7976e308 all the way to 1.7975e308 in binary64. The lowest\n-// non-zero normal values is std::numeric_limits::min() or\n-// about 2.225074e-308.\n-static const double power_of_ten[] = {\n- 1e-308, 1e-307, 1e-306, 1e-305, 1e-304, 1e-303, 1e-302, 1e-301, 1e-300,\n- 1e-299, 1e-298, 1e-297, 1e-296, 1e-295, 1e-294, 1e-293, 1e-292, 1e-291,\n- 1e-290, 1e-289, 1e-288, 1e-287, 1e-286, 1e-285, 1e-284, 1e-283, 1e-282,\n- 1e-281, 1e-280, 1e-279, 1e-278, 1e-277, 1e-276, 1e-275, 1e-274, 1e-273,\n- 1e-272, 1e-271, 1e-270, 1e-269, 1e-268, 1e-267, 1e-266, 1e-265, 1e-264,\n- 1e-263, 1e-262, 1e-261, 1e-260, 1e-259, 1e-258, 1e-257, 1e-256, 1e-255,\n- 1e-254, 1e-253, 1e-252, 1e-251, 1e-250, 1e-249, 1e-248, 1e-247, 1e-246,\n- 1e-245, 1e-244, 1e-243, 1e-242, 1e-241, 1e-240, 1e-239, 1e-238, 1e-237,\n- 1e-236, 1e-235, 1e-234, 1e-233, 1e-232, 1e-231, 1e-230, 1e-229, 1e-228,\n- 1e-227, 1e-226, 1e-225, 1e-224, 1e-223, 1e-222, 1e-221, 1e-220, 1e-219,\n- 1e-218, 1e-217, 1e-216, 1e-215, 1e-214, 1e-213, 1e-212, 1e-211, 1e-210,\n- 1e-209, 1e-208, 1e-207, 1e-206, 1e-205, 1e-204, 1e-203, 1e-202, 1e-201,\n- 1e-200, 1e-199, 1e-198, 1e-197, 1e-196, 1e-195, 1e-194, 1e-193, 1e-192,\n- 1e-191, 1e-190, 1e-189, 1e-188, 1e-187, 1e-186, 1e-185, 1e-184, 1e-183,\n- 1e-182, 1e-181, 1e-180, 1e-179, 1e-178, 1e-177, 1e-176, 1e-175, 1e-174,\n- 1e-173, 1e-172, 1e-171, 1e-170, 1e-169, 1e-168, 1e-167, 1e-166, 1e-165,\n- 1e-164, 1e-163, 1e-162, 1e-161, 1e-160, 1e-159, 1e-158, 1e-157, 1e-156,\n- 1e-155, 1e-154, 1e-153, 1e-152, 1e-151, 1e-150, 1e-149, 1e-148, 1e-147,\n- 1e-146, 1e-145, 1e-144, 1e-143, 1e-142, 1e-141, 1e-140, 1e-139, 1e-138,\n- 1e-137, 1e-136, 1e-135, 1e-134, 1e-133, 1e-132, 1e-131, 1e-130, 1e-129,\n- 1e-128, 1e-127, 1e-126, 1e-125, 1e-124, 1e-123, 1e-122, 1e-121, 1e-120,\n- 1e-119, 1e-118, 1e-117, 1e-116, 1e-115, 1e-114, 1e-113, 1e-112, 1e-111,\n- 1e-110, 1e-109, 1e-108, 1e-107, 1e-106, 1e-105, 1e-104, 1e-103, 1e-102,\n- 1e-101, 1e-100, 1e-99, 1e-98, 1e-97, 1e-96, 1e-95, 1e-94, 1e-93,\n- 1e-92, 1e-91, 1e-90, 1e-89, 1e-88, 1e-87, 1e-86, 1e-85, 1e-84,\n- 1e-83, 1e-82, 1e-81, 1e-80, 1e-79, 1e-78, 1e-77, 1e-76, 1e-75,\n- 1e-74, 1e-73, 1e-72, 1e-71, 1e-70, 1e-69, 1e-68, 1e-67, 1e-66,\n- 1e-65, 1e-64, 1e-63, 1e-62, 1e-61, 1e-60, 1e-59, 1e-58, 1e-57,\n- 1e-56, 1e-55, 1e-54, 1e-53, 1e-52, 1e-51, 1e-50, 1e-49, 1e-48,\n- 1e-47, 1e-46, 1e-45, 1e-44, 1e-43, 1e-42, 1e-41, 1e-40, 1e-39,\n- 1e-38, 1e-37, 1e-36, 1e-35, 1e-34, 1e-33, 1e-32, 1e-31, 1e-30,\n- 1e-29, 1e-28, 1e-27, 1e-26, 1e-25, 1e-24, 1e-23, 1e-22, 1e-21,\n- 1e-20, 1e-19, 1e-18, 1e-17, 1e-16, 1e-15, 1e-14, 1e-13, 1e-12,\n- 1e-11, 1e-10, 1e-9, 1e-8, 1e-7, 1e-6, 1e-5, 1e-4, 1e-3,\n- 1e-2, 1e-1, 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6,\n- 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15,\n- 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24,\n- 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, 1e32, 1e33,\n- 1e34, 1e35, 1e36, 1e37, 1e38, 1e39, 1e40, 1e41, 1e42,\n- 1e43, 1e44, 1e45, 1e46, 1e47, 1e48, 1e49, 1e50, 1e51,\n- 1e52, 1e53, 1e54, 1e55, 1e56, 1e57, 1e58, 1e59, 1e60,\n- 1e61, 1e62, 1e63, 1e64, 1e65, 1e66, 1e67, 1e68, 1e69,\n- 1e70, 1e71, 1e72, 1e73, 1e74, 1e75, 1e76, 1e77, 1e78,\n- 1e79, 1e80, 1e81, 1e82, 1e83, 1e84, 1e85, 1e86, 1e87,\n- 1e88, 1e89, 1e90, 1e91, 1e92, 1e93, 1e94, 1e95, 1e96,\n- 1e97, 1e98, 1e99, 1e100, 1e101, 1e102, 1e103, 1e104, 1e105,\n- 1e106, 1e107, 1e108, 1e109, 1e110, 1e111, 1e112, 1e113, 1e114,\n- 1e115, 1e116, 1e117, 1e118, 1e119, 1e120, 1e121, 1e122, 1e123,\n- 1e124, 1e125, 1e126, 1e127, 1e128, 1e129, 1e130, 1e131, 1e132,\n- 1e133, 1e134, 1e135, 1e136, 1e137, 1e138, 1e139, 1e140, 1e141,\n- 1e142, 1e143, 1e144, 1e145, 1e146, 1e147, 1e148, 1e149, 1e150,\n- 1e151, 1e152, 1e153, 1e154, 1e155, 1e156, 1e157, 1e158, 1e159,\n- 1e160, 1e161, 1e162, 1e163, 1e164, 1e165, 1e166, 1e167, 1e168,\n- 1e169, 1e170, 1e171, 1e172, 1e173, 1e174, 1e175, 1e176, 1e177,\n- 1e178, 1e179, 1e180, 1e181, 1e182, 1e183, 1e184, 1e185, 1e186,\n- 1e187, 1e188, 1e189, 1e190, 1e191, 1e192, 1e193, 1e194, 1e195,\n- 1e196, 1e197, 1e198, 1e199, 1e200, 1e201, 1e202, 1e203, 1e204,\n- 1e205, 1e206, 1e207, 1e208, 1e209, 1e210, 1e211, 1e212, 1e213,\n- 1e214, 1e215, 1e216, 1e217, 1e218, 1e219, 1e220, 1e221, 1e222,\n- 1e223, 1e224, 1e225, 1e226, 1e227, 1e228, 1e229, 1e230, 1e231,\n- 1e232, 1e233, 1e234, 1e235, 1e236, 1e237, 1e238, 1e239, 1e240,\n- 1e241, 1e242, 1e243, 1e244, 1e245, 1e246, 1e247, 1e248, 1e249,\n- 1e250, 1e251, 1e252, 1e253, 1e254, 1e255, 1e256, 1e257, 1e258,\n- 1e259, 1e260, 1e261, 1e262, 1e263, 1e264, 1e265, 1e266, 1e267,\n- 1e268, 1e269, 1e270, 1e271, 1e272, 1e273, 1e274, 1e275, 1e276,\n- 1e277, 1e278, 1e279, 1e280, 1e281, 1e282, 1e283, 1e284, 1e285,\n- 1e286, 1e287, 1e288, 1e289, 1e290, 1e291, 1e292, 1e293, 1e294,\n- 1e295, 1e296, 1e297, 1e298, 1e299, 1e300, 1e301, 1e302, 1e303,\n- 1e304, 1e305, 1e306, 1e307, 1e308};\n+\n+// Attempts to compute i * 10^(power) exactly; and if \"negative\" is\n+// true, negate the result.\n+// This function will only work in some cases, when it does not work, success is\n+// set to false. This should work *most of the time* (like 99% of the time).\n+// We assume that power is in the [FASTFLOAT_SMALLEST_POWER,\n+// FASTFLOAT_LARGEST_POWER] interval: the caller is responsible for this check.\n+really_inline double compute_float_64(int64_t power, uint64_t i, bool negative,\n+ bool *success) {\n+ // we start with a fast path\n+ if (-22 <= power && power <= 22 && i <= 9007199254740991) {\n+ // convert the integer into a double. This is lossless since\n+ // 0 <= i <= 2^53 - 1.\n+ double d = i;\n+ //\n+ // The general idea is as follows.\n+ // If 0 <= s < 2^53 and if 10^0 <= p <= 10^22 then\n+ // 1) Both s and p can be represented exactly as 64-bit floating-point\n+ // values\n+ // (binary64).\n+ // 2) Because s and p can be represented exactly as floating-point values,\n+ // then s * p\n+ // and s / p will produce correctly rounded values.\n+ //\n+ if (power < 0) {\n+ d = d / power_of_ten[-power];\n+ } else {\n+ d = d * power_of_ten[power];\n+ }\n+ if (negative) {\n+ d = -d;\n+ }\n+ *success = true;\n+ return d;\n+ }\n+\n+ // When 22 < power && power < 22 + 16, we could\n+ // hope for another, secondary fast path. If\n+ // you need to compute i * 10^(22 + x) for x < 16,\n+ // first compute i * 10^x, if you know that result is exact\n+ // (e.g., when i * 10^x < 2^53),\n+ // then you can still proceed and do (i * 10^x) * 10^22.\n+ // Is this worth your time?\n+ // You need 22 < power *and* power < 22 + 16 *and* (i * 10^(x-22) < 2^53)\n+ // for this second fast path to work.\n+ // If you you have 22 < power *and* power < 22 + 16, and then you\n+ // optimistically compute \"i * 10^(x-22)\", there is still a chance that you\n+ // have wasted your time if i * 10^(x-22) >= 2^53. It makes the use cases of\n+ // this optimization maybe less common than we would like. Source:\n+ // http://www.exploringbinary.com/fast-path-decimal-to-floating-point-conversion/\n+ // also used in RapidJSON: https://rapidjson.org/strtod_8h_source.html\n+\n+ // The fast path has now failed, so we are failing back on the slower path.\n+\n+ // In the slow path, we need to adjust i so that it is > 1<<63 which is always\n+ // possible, except if i == 0, so we handle i == 0 separately.\n+ if(i == 0) {\n+ return 0.0;\n+ }\n+\n+ // We are going to need to do some 64-bit arithmetic to get a more precise product.\n+ // We use a table lookup approach.\n+ components c =\n+ power_of_ten_components[power - FASTFLOAT_SMALLEST_POWER]; // safe because\n+ // power_index\n+ // <= 2*308\n+ // we recover the mantissa of the power, it has a leading 1. It is always\n+ // rounded down.\n+ uint64_t factor_mantissa = c.mantissa;\n+\n+ // We want the most significant bit of i to be 1. Shift if needed.\n+ int lz = leading_zeroes(i);\n+ i <<= lz;\n+ // We want the most significant 64 bits of the product. We know\n+ // this will be non-zero because the most significant bit of i is\n+ // 1.\n+ value128 product = full_multiplication(i, factor_mantissa);\n+ uint64_t lower = product.low;\n+ uint64_t upper = product.high;\n+\n+ // We know that upper has at most one leading zero because\n+ // both i and factor_mantissa have a leading one. This means\n+ // that the result is at least as large as ((1<<63)*(1<<63))/(1<<64).\n+\n+ // As long as the first 9 bits of \"upper\" are not \"1\", then we\n+ // know that we have an exact computed value for the leading\n+ // 55 bits because any imprecision would play out as a +1, in\n+ // the worst case.\n+ if (unlikely((upper & 0x1FF) == 0x1FF) && (lower + i < lower)) {\n+ uint64_t factor_mantissa_low =\n+ mantissa_128[power - FASTFLOAT_SMALLEST_POWER];\n+ // next, we compute the 64-bit x 128-bit multiplication, getting a 192-bit\n+ // result (three 64-bit values)\n+ product = full_multiplication(i, factor_mantissa_low);\n+ uint64_t product_low = product.low;\n+ uint64_t product_middle2 = product.high;\n+ uint64_t product_middle1 = lower;\n+ uint64_t product_high = upper;\n+ uint64_t product_middle = product_middle1 + product_middle2;\n+ if (product_middle < product_middle1) {\n+ product_high++; // overflow carry\n+ }\n+ // We want to check whether mantissa *i + i would affect our result.\n+ // This does happen, e.g. with 7.3177701707893310e+15.\n+ if (((product_middle + 1 == 0) && ((product_high & 0x1FF) == 0x1FF) &&\n+ (product_low + i < product_low))) { // let us be prudent and bail out.\n+ *success = false;\n+ return 0;\n+ }\n+ upper = product_high;\n+ lower = product_middle;\n+ }\n+ // The final mantissa should be 53 bits with a leading 1.\n+ // We shift it so that it occupies 54 bits with a leading 1.\n+ ///////\n+ uint64_t upperbit = upper >> 63;\n+ uint64_t mantissa = upper >> (upperbit + 9);\n+ lz += 1 ^ upperbit;\n+\n+ // Here we have mantissa < (1<<54).\n+\n+ // We have to round to even. The \"to even\" part\n+ // is only a problem when we are right in between two floats\n+ // which we guard against.\n+ // If we have lots of trailing zeros, we may fall right between two\n+ // floating-point values.\n+ if (unlikely((lower == 0) && ((upper & 0x1FF) == 0) &&\n+ ((mantissa & 3) == 1))) {\n+ // if mantissa & 1 == 1 we might need to round up.\n+ //\n+ // Scenarios:\n+ // 1. We are not in the middle. Then we should round up.\n+ //\n+ // 2. We are right in the middle. Whether we round up depends\n+ // on the last significant bit: if it is \"one\" then we round\n+ // up (round to even) otherwise, we do not.\n+ //\n+ // So if the last significant bit is 1, we can safely round up.\n+ // Hence we only need to bail out if (mantissa & 3) == 1.\n+ // Otherwise we may need more accuracy or analysis to determine whether\n+ // we are exactly between two floating-point numbers.\n+ // It can be triggered with 1e23.\n+ // Note: because the factor_mantissa and factor_mantissa_low are\n+ // almost always rounded down (except for small positive powers),\n+ // almost always should round up.\n+ *success = false;\n+ return 0;\n+ }\n+\n+ mantissa += mantissa & 1;\n+ mantissa >>= 1;\n+\n+ // Here we have mantissa < (1<<53), unless there was an overflow\n+ if (mantissa >= (1ULL << 53)) {\n+ //////////\n+ // This will happen when parsing values such as 7.2057594037927933e+16\n+ ////////\n+ mantissa = (1ULL << 52);\n+ lz--; // undo previous addition\n+ }\n+ mantissa &= ~(1ULL << 52);\n+ uint64_t real_exponent = c.exp - lz;\n+ // we have to check that real_exponent is in range, otherwise we bail out\n+ if (unlikely((real_exponent < 1) || (real_exponent > 2046))) {\n+ *success = false;\n+ return 0;\n+ }\n+ mantissa |= real_exponent << 52;\n+ mantissa |= (((uint64_t)negative) << 63);\n+ double d;\n+ memcpy(&d, &mantissa, sizeof(d));\n+ *success = true;\n+ return d;\n+}\n+\n+static bool parse_float_strtod(const char *ptr, double *outDouble) {\n+ char *endptr;\n+ *outDouble = strtod(ptr, &endptr);\n+ // Some libraries will set errno = ERANGE when the value is subnormal,\n+ // yet we may want to be able to parse subnormal values.\n+ // However, we do not want to tolerate NAN or infinite values.\n+ //\n+ // Values like infinity or NaN are not allowed in the JSON specification.\n+ // If you consume a large value and you map it to \"infinity\", you will no\n+ // longer be able to serialize back a standard-compliant JSON. And there is\n+ // no realistic application where you might need values so large than they\n+ // can't fit in binary64. The maximal value is about 1.7976931348623157 ×\n+ // 10^308 It is an unimaginable large number. There will never be any piece of\n+ // engineering involving as many as 10^308 parts. It is estimated that there\n+ // are about 10^80 atoms in the universe.  The estimate for the total number\n+ // of electrons is similar. Using a double-precision floating-point value, we\n+ // can represent easily the number of atoms in the universe. We could also\n+ // represent the number of ways you can pick any three individual atoms at\n+ // random in the universe. If you ever encounter a number much larger than\n+ // 10^308, you know that you have a bug. RapidJSON will reject a document with\n+ // a float that does not fit in binary64. JSON for Modern C++ (nlohmann/json)\n+ // will flat out throw an exception.\n+ //\n+ if ((endptr == ptr) || (!std::isfinite(*outDouble))) {\n+ return false;\n+ }\n+ return true;\n+}\n \n really_inline bool is_integer(char c) {\n return (c >= '0' && c <= '9');\n@@ -5950,7 +6956,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n@@ -5988,162 +6994,6 @@ really_inline bool is_made_of_eight_digits_fast(const char *chars) {\n 0x3333333333333333);\n }\n \n-\n-//\n-// This function computes base * 10 ^ (- negative_exponent ).\n-// It is only even going to be used when negative_exponent is tiny.\n-really_inline double subnormal_power10(double base, int64_t negative_exponent) {\n- // avoid integer overflows in the pow expression, those values would\n- // become zero anyway.\n- if(negative_exponent < -1000) {\n- return 0;\n- }\n-\n- // this is probably not going to be fast\n- return base * 1e-308 * pow(10, negative_exponent + 308);\n-}\n-\n-// called by parse_number when we know that the output is a float,\n-// but where there might be some integer overflow. The trick here is to\n-// parse using floats from the start.\n-// Do not call this function directly as it skips some of the checks from\n-// parse_number\n-//\n-// This function will almost never be called!!!\n-//\n-// Note: a redesign could avoid this function entirely.\n-//\n-never_inline bool parse_float(const uint8_t *const buf, document::parser &parser,\n- const uint32_t offset, bool found_minus) {\n- const char *p = reinterpret_cast(buf + offset);\n- bool negative = false;\n- if (found_minus) {\n- ++p;\n- negative = true;\n- }\n- long double i;\n- if (*p == '0') { // 0 cannot be followed by an integer\n- ++p;\n- i = 0;\n- } else {\n- unsigned char digit = *p - '0';\n- i = digit;\n- p++;\n- while (is_integer(*p)) {\n- digit = *p - '0';\n- i = 10 * i + digit;\n- ++p;\n- }\n- }\n- if ('.' == *p) {\n- ++p;\n- int fractional_weight = 308;\n- if (is_integer(*p)) {\n- unsigned char digit = *p - '0';\n- ++p;\n-\n- fractional_weight--;\n- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight]\n- : 0);\n- } else {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- while (is_integer(*p)) {\n- unsigned char digit = *p - '0';\n- ++p;\n- fractional_weight--;\n- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight]\n- : 0);\n- }\n- }\n- if (('e' == *p) || ('E' == *p)) {\n- ++p;\n- bool neg_exp = false;\n- if ('-' == *p) {\n- neg_exp = true;\n- ++p;\n- } else if ('+' == *p) {\n- ++p;\n- }\n- if (!is_integer(*p)) {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- unsigned char digit = *p - '0';\n- int64_t exp_number = digit; // exponential part\n- p++;\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- while (is_integer(*p)) {\n- if (exp_number > 0x100000000) { // we need to check for overflows\n-// we refuse to parse this\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (unlikely(exp_number > 308)) {\n- // this path is unlikely\n- if (neg_exp) {\n- // We either have zero or a subnormal.\n- // We expect this to be uncommon so we go through a slow path.\n- i = subnormal_power10(i, -exp_number);\n- } else {\n-// We know for sure that we have a number that is too large,\n-// we refuse to parse this\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- } else {\n- int exponent = (neg_exp ? -exp_number : exp_number);\n- // we have that exp_number is [0,308] so that\n- // exponent is [-308,308] so that\n- // 308 + exponent is in [0, 2 * 308]\n- i *= power_of_ten[308 + exponent];\n- }\n- }\n- if (is_not_structural_or_whitespace(*p)) {\n- return false;\n- }\n- // check that we can go from long double to double safely.\n- if(i > std::numeric_limits::max()) {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- double d = negative ? -i : i;\n- parser.on_number_double(d);\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_float(d, buf + offset);\n-#endif\n- return is_structural_or_whitespace(*p);\n-}\n-\n // called by parse_number when we know that the output is an integer,\n // but where there might be some integer overflow.\n // we want to catch overflows!\n@@ -6152,11 +7002,10 @@ never_inline bool parse_float(const uint8_t *const buf, document::parser &parser\n //\n // This function will almost never be called!!!\n //\n-never_inline bool parse_large_integer(const uint8_t *const buf,\n- document::parser &parser,\n- const uint32_t offset,\n- bool found_minus) {\n- const char *p = reinterpret_cast(buf + offset);\n+never_inline bool parse_large_integer(const uint8_t *const src,\n+ document::parser &parser,\n+ bool found_minus) {\n+ const char *p = reinterpret_cast(src);\n \n bool negative = false;\n if (found_minus) {\n@@ -6177,13 +7026,13 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n digit = *p - '0';\n if (mul_overflow(i, 10, &i)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n }\n if (add_overflow(i, digit, &i)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n }\n@@ -6192,40 +7041,40 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n }\n if (negative) {\n if (i > 0x8000000000000000) {\n- // overflows!\n+ // overflows!\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n } else if (i == 0x8000000000000000) {\n // In two's complement, we cannot represent 0x8000000000000000\n- // as a positive signed integer, but the negative version is \n+ // as a positive signed integer, but the negative version is\n // possible.\n constexpr int64_t signed_answer = INT64_MIN;\n parser.on_number_s64(signed_answer);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(signed_answer, buf + offset);\n+ found_integer(signed_answer, src);\n #endif\n } else {\n // we can negate safely\n int64_t signed_answer = -static_cast(i);\n parser.on_number_s64(signed_answer);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(signed_answer, buf + offset);\n+ found_integer(signed_answer, src);\n #endif\n }\n } else {\n // we have a positive integer, the contract is that\n- // we try to represent it as a signed integer and only \n+ // we try to represent it as a signed integer and only\n // fallback on unsigned integers if absolutely necessary.\n- if(i < 0x8000000000000000) {\n+ if (i < 0x8000000000000000) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(i, buf + offset);\n+ found_integer(i, src);\n #endif\n parser.on_number_s64(i);\n } else {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_unsigned_integer(i, buf + offset);\n+ found_unsigned_integer(i, src);\n #endif\n parser.on_number_u64(i);\n }\n@@ -6233,7 +7082,22 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n return is_structural_or_whitespace(*p);\n }\n \n-// parse the number at buf + offset\n+bool slow_float_parsing(UNUSED const char * src, document::parser &parser) {\n+ double d;\n+ if (parse_float_strtod(src, &d)) {\n+ parser.on_number_double(d);\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_float(d, (const uint8_t *)src);\n+#endif\n+ return true;\n+ }\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_invalid_number((const uint8_t *)src);\n+#endif\n+ return false;\n+}\n+\n+// parse the number at src\n // define JSON_TEST_NUMBERS for unit testing\n //\n // It is assumed that the number is followed by a structural ({,},],[) character\n@@ -6241,24 +7105,23 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n // document is made of a single number), then it is necessary to copy the\n // content and append a space before calling this function.\n //\n-// Our objective is accurate parsing (ULP of 0 or 1) at high speed.\n-really_inline bool parse_number(UNUSED const uint8_t *const buf,\n- UNUSED const uint32_t offset,\n+// Our objective is accurate parsing (ULP of 0) at high speed.\n+really_inline bool parse_number(UNUSED const uint8_t *const src,\n UNUSED bool found_minus,\n document::parser &parser) {\n #ifdef SIMDJSON_SKIPNUMBERPARSING // for performance analysis, it is sometimes\n // useful to skip parsing\n- parser.on_number_s64(0); // always write zero\n+ parser.on_number_s64(0); // always write zero\n return true; // always succeeds\n #else\n- const char *p = reinterpret_cast(buf + offset);\n+ const char *p = reinterpret_cast(src);\n bool negative = false;\n if (found_minus) {\n ++p;\n negative = true;\n if (!is_integer(*p)) { // a negative sign must be followed by an integer\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -6270,7 +7133,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n ++p;\n if (is_not_structural_or_whitespace_or_exponent_or_decimal(*p)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -6278,7 +7141,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n } else {\n if (!(is_integer(*p))) { // must start with an integer\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -6313,7 +7176,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n // we will handle the overflow later\n } else {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -6348,7 +7211,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n }\n if (!is_integer(*p)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -6369,7 +7232,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n if (exp_number > 0x100000000) { // we need to check for overflows\n // we refuse to parse this\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -6380,7 +7243,9 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n exponent += (neg_exp ? -exp_number : exp_number);\n }\n if (is_float) {\n- uint64_t power_index = 308 + exponent;\n+ // If we frequently had to deal with long strings of digits,\n+ // we could extend our code by using a 128-bit integer instead\n+ // of a 64-bit integer. However, this is uncommon in practice.\n if (unlikely((digit_count >= 19))) { // this is uncommon\n // It is possible that the integer had an overflow.\n // We have to handle the case where we have 0.0000somenumber.\n@@ -6394,31 +7259,47 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n // Ok, chances are good that we had an overflow!\n // this is almost never going to get called!!!\n // we start anew, going slowly!!!\n- return parse_float(buf, parser, offset, found_minus);\n+ // This will happen in the following examples:\n+ // 10000000000000000000000000000000000000000000e+308\n+ // 3.1415926535897932384626433832795028841971693993751\n+ //\n+ return slow_float_parsing((const char *) src, parser);\n }\n }\n- if (unlikely((power_index > 2 * 308))) { // this is uncommon!!!\n+ if (unlikely(exponent < FASTFLOAT_SMALLEST_POWER) ||\n+ (exponent > FASTFLOAT_LARGEST_POWER)) { // this is uncommon!!!\n // this is almost never going to get called!!!\n // we start anew, going slowly!!!\n- return parse_float(buf, parser, offset, found_minus);\n+ return slow_float_parsing((const char *) src, parser);\n }\n- double factor = power_of_ten[power_index];\n- factor = negative ? -factor : factor;\n- double d = i * factor;\n- parser.on_number_double(d);\n+ bool success = true;\n+ double d = compute_float_64(exponent, i, negative, &success);\n+ if (!success) {\n+ // we are almost never going to get here.\n+ success = parse_float_strtod((const char *)src, &d);\n+ }\n+ if (success) {\n+ parser.on_number_double(d);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_float(d, buf + offset);\n+ found_float(d, src);\n #endif\n+ return true;\n+ } else {\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_invalid_number(src);\n+#endif\n+ return false;\n+ }\n } else {\n if (unlikely(digit_count >= 18)) { // this is uncommon!!!\n // there is a good chance that we had an overflow, so we need\n // need to recover: we parse the whole thing again.\n- return parse_large_integer(buf, parser, offset, found_minus);\n+ return parse_large_integer(src, parser, found_minus);\n }\n i = negative ? 0 - i : i;\n parser.on_number_s64(i);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(i, buf + offset);\n+ found_integer(i, src);\n #endif\n }\n return is_structural_or_whitespace(*p);\n@@ -6438,6 +7319,57 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n \n namespace simdjson::arm64 {\n \n+/* begin file src/generic/atomparsing.h */\n+namespace atomparsing {\n+\n+really_inline uint32_t string_to_uint32(const char* str) { return *reinterpret_cast(str); }\n+\n+WARN_UNUSED\n+really_inline bool str4ncmp(const uint8_t *src, const char* atom) {\n+ uint32_t srcval; // we want to avoid unaligned 64-bit loads (undefined in C/C++)\n+ static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING);\n+ std::memcpy(&srcval, src, sizeof(uint32_t));\n+ return srcval ^ string_to_uint32(atom);\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_true_atom(const uint8_t *src) {\n+ return (str4ncmp(src, \"true\") | is_not_structural_or_whitespace(src[4])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_true_atom(const uint8_t *src, size_t len) {\n+ if (len > 4) { return is_valid_true_atom(src); }\n+ else if (len == 4) { return !str4ncmp(src, \"true\"); }\n+ else { return false; }\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_false_atom(const uint8_t *src) {\n+ return (str4ncmp(src+1, \"alse\") | is_not_structural_or_whitespace(src[5])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_false_atom(const uint8_t *src, size_t len) {\n+ if (len > 5) { return is_valid_false_atom(src); }\n+ else if (len == 5) { return !str4ncmp(src+1, \"alse\"); }\n+ else { return false; }\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_null_atom(const uint8_t *src) {\n+ return (str4ncmp(src, \"null\") | is_not_structural_or_whitespace(src[4])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_null_atom(const uint8_t *src, size_t len) {\n+ if (len > 4) { return is_valid_null_atom(src); }\n+ else if (len == 4) { return !str4ncmp(src, \"null\"); }\n+ else { return false; }\n+}\n+\n+} // namespace atomparsing\n+/* end file src/generic/atomparsing.h */\n /* begin file src/generic/stage2_build_tape.h */\n // This file contains the common code every implementation uses for stage2\n // It is intended to be included multiple times and compiled multiple times\n@@ -6488,28 +7420,25 @@ struct unified_machine_addresses {\n #undef FAIL_IF\n #define FAIL_IF(EXPR) { if (EXPR) { return addresses.error; } }\n \n-struct structural_parser {\n- const uint8_t* const buf;\n- const size_t len;\n- document::parser &doc_parser;\n- size_t i; // next structural index\n- size_t idx; // location of the structural character in the input (buf)\n- uint8_t c; // used to track the (structural) character we are looking at\n- uint32_t depth = 0; // could have an arbitrary starting depth\n-\n- really_inline structural_parser(\n- const uint8_t *_buf,\n- size_t _len,\n- document::parser &_doc_parser,\n- uint32_t _i = 0\n- ) : buf{_buf}, len{_len}, doc_parser{_doc_parser}, i{_i} {}\n-\n+class structural_iterator {\n+public:\n+ really_inline structural_iterator(const uint8_t* _buf, size_t _len, const uint32_t *_structural_indexes, size_t next_structural_index)\n+ : buf{_buf}, len{_len}, structural_indexes{_structural_indexes}, next_structural{next_structural_index} {}\n really_inline char advance_char() {\n- idx = doc_parser.structural_indexes[i++];\n- c = buf[idx];\n+ idx = structural_indexes[next_structural];\n+ next_structural++;\n+ c = *current();\n return c;\n }\n-\n+ really_inline char current_char() {\n+ return c;\n+ }\n+ really_inline const uint8_t* current() {\n+ return &buf[idx];\n+ }\n+ really_inline size_t remaining_len() {\n+ return len - idx;\n+ }\n template\n really_inline bool with_space_terminated_copy(const F& f) {\n /**\n@@ -6535,6 +7464,36 @@ struct structural_parser {\n free(copy);\n return result;\n }\n+ really_inline bool past_end(uint32_t n_structural_indexes) {\n+ return next_structural+1 > n_structural_indexes;\n+ }\n+ really_inline bool at_end(uint32_t n_structural_indexes) {\n+ return next_structural+1 == n_structural_indexes;\n+ }\n+ really_inline size_t next_structural_index() {\n+ return next_structural;\n+ }\n+\n+private:\n+ const uint8_t* const buf;\n+ const size_t len;\n+ const uint32_t* const structural_indexes;\n+ size_t next_structural; // next structural index\n+ size_t idx; // location of the structural character in the input (buf)\n+ uint8_t c; // used to track the (structural) character we are looking at\n+};\n+\n+struct structural_parser {\n+ structural_iterator structurals;\n+ document::parser &doc_parser;\n+ uint32_t depth;\n+\n+ really_inline structural_parser(\n+ const uint8_t *buf,\n+ size_t len,\n+ document::parser &_doc_parser,\n+ uint32_t next_structural = 0\n+ ) : structurals(buf, len, _doc_parser.structural_indexes.get(), next_structural), doc_parser{_doc_parser}, depth{0} {}\n \n WARN_UNUSED really_inline bool start_document(ret_address continue_state) {\n doc_parser.on_start_document(depth);\n@@ -6575,32 +7534,32 @@ struct structural_parser {\n \n WARN_UNUSED really_inline bool parse_string() {\n uint8_t *dst = doc_parser.on_start_string();\n- dst = stringparsing::parse_string(buf, idx, dst);\n+ dst = stringparsing::parse_string(structurals.current(), dst);\n if (dst == nullptr) {\n return true;\n }\n return !doc_parser.on_end_string(dst);\n }\n \n- WARN_UNUSED really_inline bool parse_number(const uint8_t *copy, uint32_t offset, bool found_minus) {\n- return !numberparsing::parse_number(copy, offset, found_minus, doc_parser);\n+ WARN_UNUSED really_inline bool parse_number(const uint8_t *src, bool found_minus) {\n+ return !numberparsing::parse_number(src, found_minus, doc_parser);\n }\n WARN_UNUSED really_inline bool parse_number(bool found_minus) {\n- return parse_number(buf, idx, found_minus);\n+ return parse_number(structurals.current(), found_minus);\n }\n \n- WARN_UNUSED really_inline bool parse_atom(const uint8_t *copy, uint32_t offset) {\n- switch (c) {\n+ WARN_UNUSED really_inline bool parse_atom() {\n+ switch (structurals.current_char()) {\n case 't':\n- if (!is_valid_true_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_true_atom(structurals.current())) { return true; }\n doc_parser.on_true_atom();\n break;\n case 'f':\n- if (!is_valid_false_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_false_atom(structurals.current())) { return true; }\n doc_parser.on_false_atom();\n break;\n case 'n':\n- if (!is_valid_null_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_null_atom(structurals.current())) { return true; }\n doc_parser.on_null_atom();\n break;\n default:\n@@ -6609,12 +7568,28 @@ struct structural_parser {\n return false;\n }\n \n- WARN_UNUSED really_inline bool parse_atom() {\n- return parse_atom(buf, idx);\n+ WARN_UNUSED really_inline bool parse_single_atom() {\n+ switch (structurals.current_char()) {\n+ case 't':\n+ if (!atomparsing::is_valid_true_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_true_atom();\n+ break;\n+ case 'f':\n+ if (!atomparsing::is_valid_false_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_false_atom();\n+ break;\n+ case 'n':\n+ if (!atomparsing::is_valid_null_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_null_atom();\n+ break;\n+ default:\n+ return true;\n+ }\n+ return false;\n }\n \n WARN_UNUSED really_inline ret_address parse_value(const unified_machine_addresses &addresses, ret_address continue_state) {\n- switch (c) {\n+ switch (structurals.current_char()) {\n case '\"':\n FAIL_IF( parse_string() );\n return continue_state;\n@@ -6641,7 +7616,7 @@ struct structural_parser {\n \n WARN_UNUSED really_inline error_code finish() {\n // the string might not be NULL terminated.\n- if ( i + 1 != doc_parser.n_structural_indexes ) {\n+ if ( !structurals.at_end(doc_parser.n_structural_indexes) ) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n end_document();\n@@ -6669,7 +7644,7 @@ struct structural_parser {\n if (depth >= doc_parser.max_depth()) {\n return doc_parser.on_error(DEPTH_ERROR);\n }\n- switch (c) {\n+ switch (structurals.current_char()) {\n case '\"':\n return doc_parser.on_error(STRING_ERROR);\n case '0':\n@@ -6695,19 +7670,23 @@ struct structural_parser {\n }\n }\n \n- WARN_UNUSED really_inline error_code start(ret_address finish_state) {\n+ WARN_UNUSED really_inline error_code start(size_t len, ret_address finish_state) {\n doc_parser.init_stage2(); // sets is_valid to false\n if (len > doc_parser.capacity()) {\n return CAPACITY;\n }\n // Advance to the first character as soon as possible\n- advance_char();\n+ structurals.advance_char();\n // Push the root scope (there is always at least one scope)\n if (start_document(finish_state)) {\n return doc_parser.on_error(DEPTH_ERROR);\n }\n return SUCCESS;\n }\n+\n+ really_inline char advance_char() {\n+ return structurals.advance_char();\n+ }\n };\n \n // Redefine FAIL_IF to use goto since it'll be used inside the function now\n@@ -6723,13 +7702,13 @@ struct structural_parser {\n WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser) const noexcept {\n static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES();\n stage2::structural_parser parser(buf, len, doc_parser);\n- error_code result = parser.start(addresses.finish);\n+ error_code result = parser.start(len, addresses.finish);\n if (result) { return result; }\n \n //\n // Read first value\n //\n- switch (parser.c) {\n+ switch (parser.structurals.current_char()) {\n case '{':\n FAIL_IF( parser.start_object(addresses.finish) );\n goto object_begin;\n@@ -6740,24 +7719,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n FAIL_IF( parser.parse_string() );\n goto finish;\n case 't': case 'f': case 'n':\n- FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_atom(copy, idx);\n- })\n- );\n+ FAIL_IF( parser.parse_single_atom() );\n goto finish;\n case '0': case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, false);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], false);\n })\n );\n goto finish;\n case '-':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, true);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], true);\n })\n );\n goto finish;\n@@ -6769,8 +7744,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n // Object parser states\n //\n object_begin:\n- parser.advance_char();\n- switch (parser.c) {\n+ switch (parser.advance_char()) {\n case '\"': {\n FAIL_IF( parser.parse_string() );\n goto object_key_state;\n@@ -6851,7 +7825,7 @@ struct streaming_structural_parser: structural_parser {\n really_inline streaming_structural_parser(const uint8_t *_buf, size_t _len, document::parser &_doc_parser, size_t _i) : structural_parser(_buf, _len, _doc_parser, _i) {}\n \n // override to add streaming\n- WARN_UNUSED really_inline error_code start(ret_address finish_parser) {\n+ WARN_UNUSED really_inline error_code start(UNUSED size_t len, ret_address finish_parser) {\n doc_parser.init_stage2(); // sets is_valid to false\n // Capacity ain't no thang for streaming, so we don't check it.\n // Advance to the first character as soon as possible\n@@ -6865,7 +7839,7 @@ struct streaming_structural_parser: structural_parser {\n \n // override to add streaming\n WARN_UNUSED really_inline error_code finish() {\n- if ( i + 1 > doc_parser.n_structural_indexes ) {\n+ if ( structurals.past_end(doc_parser.n_structural_indexes) ) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n end_document();\n@@ -6875,7 +7849,7 @@ struct streaming_structural_parser: structural_parser {\n if (doc_parser.containing_scope_offset[depth] != 0) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n- bool finished = i + 1 == doc_parser.n_structural_indexes;\n+ bool finished = structurals.at_end(doc_parser.n_structural_indexes);\n return doc_parser.on_success(finished ? SUCCESS : SUCCESS_AND_HAS_MORE);\n }\n };\n@@ -6889,12 +7863,12 @@ struct streaming_structural_parser: structural_parser {\n WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser, size_t &next_json) const noexcept {\n static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES();\n stage2::streaming_structural_parser parser(buf, len, doc_parser, next_json);\n- error_code result = parser.start(addresses.finish);\n+ error_code result = parser.start(len, addresses.finish);\n if (result) { return result; }\n //\n // Read first value\n //\n- switch (parser.c) {\n+ switch (parser.structurals.current_char()) {\n case '{':\n FAIL_IF( parser.start_object(addresses.finish) );\n goto object_begin;\n@@ -6905,24 +7879,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n FAIL_IF( parser.parse_string() );\n goto finish;\n case 't': case 'f': case 'n':\n- FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_atom(copy, idx);\n- })\n- );\n+ FAIL_IF( parser.parse_single_atom() );\n goto finish;\n case '0': case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, false);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], false);\n })\n );\n goto finish;\n case '-':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, true);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], true);\n })\n );\n goto finish;\n@@ -6934,8 +7904,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n // Object parser parsers\n //\n object_begin:\n- parser.advance_char();\n- switch (parser.c) {\n+ switch (parser.advance_char()) {\n case '\"': {\n FAIL_IF( parser.parse_string() );\n goto object_key_parser;\n@@ -6995,7 +7964,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n }\n \n finish:\n- next_json = parser.i;\n+ next_json = parser.structurals.next_structural_index();\n return parser.finish();\n \n error:\n@@ -7128,10 +8097,9 @@ really_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n return offset > 0;\n }\n \n-WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *buf,\n- uint32_t offset,\n+WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *src,\n uint8_t *dst) {\n- const uint8_t *src = &buf[offset + 1]; /* we know that buf at offset is a \" */\n+ src++;\n while (1) {\n parse_string_helper helper = find_bs_bits_and_quote_bits(src, dst);\n if (((helper.bs_bits - 1) & helper.quote_bits) != 0) {\n@@ -7235,81 +8203,209 @@ static inline uint32_t parse_eight_digits_unrolled(const char *chars) {\n /* begin file src/generic/numberparsing.h */\n namespace numberparsing {\n \n-// Allowable floating-point values range\n-// std::numeric_limits::lowest() to std::numeric_limits::max(),\n-// so from -1.7976e308 all the way to 1.7975e308 in binary64. The lowest\n-// non-zero normal values is std::numeric_limits::min() or\n-// about 2.225074e-308.\n-static const double power_of_ten[] = {\n- 1e-308, 1e-307, 1e-306, 1e-305, 1e-304, 1e-303, 1e-302, 1e-301, 1e-300,\n- 1e-299, 1e-298, 1e-297, 1e-296, 1e-295, 1e-294, 1e-293, 1e-292, 1e-291,\n- 1e-290, 1e-289, 1e-288, 1e-287, 1e-286, 1e-285, 1e-284, 1e-283, 1e-282,\n- 1e-281, 1e-280, 1e-279, 1e-278, 1e-277, 1e-276, 1e-275, 1e-274, 1e-273,\n- 1e-272, 1e-271, 1e-270, 1e-269, 1e-268, 1e-267, 1e-266, 1e-265, 1e-264,\n- 1e-263, 1e-262, 1e-261, 1e-260, 1e-259, 1e-258, 1e-257, 1e-256, 1e-255,\n- 1e-254, 1e-253, 1e-252, 1e-251, 1e-250, 1e-249, 1e-248, 1e-247, 1e-246,\n- 1e-245, 1e-244, 1e-243, 1e-242, 1e-241, 1e-240, 1e-239, 1e-238, 1e-237,\n- 1e-236, 1e-235, 1e-234, 1e-233, 1e-232, 1e-231, 1e-230, 1e-229, 1e-228,\n- 1e-227, 1e-226, 1e-225, 1e-224, 1e-223, 1e-222, 1e-221, 1e-220, 1e-219,\n- 1e-218, 1e-217, 1e-216, 1e-215, 1e-214, 1e-213, 1e-212, 1e-211, 1e-210,\n- 1e-209, 1e-208, 1e-207, 1e-206, 1e-205, 1e-204, 1e-203, 1e-202, 1e-201,\n- 1e-200, 1e-199, 1e-198, 1e-197, 1e-196, 1e-195, 1e-194, 1e-193, 1e-192,\n- 1e-191, 1e-190, 1e-189, 1e-188, 1e-187, 1e-186, 1e-185, 1e-184, 1e-183,\n- 1e-182, 1e-181, 1e-180, 1e-179, 1e-178, 1e-177, 1e-176, 1e-175, 1e-174,\n- 1e-173, 1e-172, 1e-171, 1e-170, 1e-169, 1e-168, 1e-167, 1e-166, 1e-165,\n- 1e-164, 1e-163, 1e-162, 1e-161, 1e-160, 1e-159, 1e-158, 1e-157, 1e-156,\n- 1e-155, 1e-154, 1e-153, 1e-152, 1e-151, 1e-150, 1e-149, 1e-148, 1e-147,\n- 1e-146, 1e-145, 1e-144, 1e-143, 1e-142, 1e-141, 1e-140, 1e-139, 1e-138,\n- 1e-137, 1e-136, 1e-135, 1e-134, 1e-133, 1e-132, 1e-131, 1e-130, 1e-129,\n- 1e-128, 1e-127, 1e-126, 1e-125, 1e-124, 1e-123, 1e-122, 1e-121, 1e-120,\n- 1e-119, 1e-118, 1e-117, 1e-116, 1e-115, 1e-114, 1e-113, 1e-112, 1e-111,\n- 1e-110, 1e-109, 1e-108, 1e-107, 1e-106, 1e-105, 1e-104, 1e-103, 1e-102,\n- 1e-101, 1e-100, 1e-99, 1e-98, 1e-97, 1e-96, 1e-95, 1e-94, 1e-93,\n- 1e-92, 1e-91, 1e-90, 1e-89, 1e-88, 1e-87, 1e-86, 1e-85, 1e-84,\n- 1e-83, 1e-82, 1e-81, 1e-80, 1e-79, 1e-78, 1e-77, 1e-76, 1e-75,\n- 1e-74, 1e-73, 1e-72, 1e-71, 1e-70, 1e-69, 1e-68, 1e-67, 1e-66,\n- 1e-65, 1e-64, 1e-63, 1e-62, 1e-61, 1e-60, 1e-59, 1e-58, 1e-57,\n- 1e-56, 1e-55, 1e-54, 1e-53, 1e-52, 1e-51, 1e-50, 1e-49, 1e-48,\n- 1e-47, 1e-46, 1e-45, 1e-44, 1e-43, 1e-42, 1e-41, 1e-40, 1e-39,\n- 1e-38, 1e-37, 1e-36, 1e-35, 1e-34, 1e-33, 1e-32, 1e-31, 1e-30,\n- 1e-29, 1e-28, 1e-27, 1e-26, 1e-25, 1e-24, 1e-23, 1e-22, 1e-21,\n- 1e-20, 1e-19, 1e-18, 1e-17, 1e-16, 1e-15, 1e-14, 1e-13, 1e-12,\n- 1e-11, 1e-10, 1e-9, 1e-8, 1e-7, 1e-6, 1e-5, 1e-4, 1e-3,\n- 1e-2, 1e-1, 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6,\n- 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15,\n- 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24,\n- 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, 1e32, 1e33,\n- 1e34, 1e35, 1e36, 1e37, 1e38, 1e39, 1e40, 1e41, 1e42,\n- 1e43, 1e44, 1e45, 1e46, 1e47, 1e48, 1e49, 1e50, 1e51,\n- 1e52, 1e53, 1e54, 1e55, 1e56, 1e57, 1e58, 1e59, 1e60,\n- 1e61, 1e62, 1e63, 1e64, 1e65, 1e66, 1e67, 1e68, 1e69,\n- 1e70, 1e71, 1e72, 1e73, 1e74, 1e75, 1e76, 1e77, 1e78,\n- 1e79, 1e80, 1e81, 1e82, 1e83, 1e84, 1e85, 1e86, 1e87,\n- 1e88, 1e89, 1e90, 1e91, 1e92, 1e93, 1e94, 1e95, 1e96,\n- 1e97, 1e98, 1e99, 1e100, 1e101, 1e102, 1e103, 1e104, 1e105,\n- 1e106, 1e107, 1e108, 1e109, 1e110, 1e111, 1e112, 1e113, 1e114,\n- 1e115, 1e116, 1e117, 1e118, 1e119, 1e120, 1e121, 1e122, 1e123,\n- 1e124, 1e125, 1e126, 1e127, 1e128, 1e129, 1e130, 1e131, 1e132,\n- 1e133, 1e134, 1e135, 1e136, 1e137, 1e138, 1e139, 1e140, 1e141,\n- 1e142, 1e143, 1e144, 1e145, 1e146, 1e147, 1e148, 1e149, 1e150,\n- 1e151, 1e152, 1e153, 1e154, 1e155, 1e156, 1e157, 1e158, 1e159,\n- 1e160, 1e161, 1e162, 1e163, 1e164, 1e165, 1e166, 1e167, 1e168,\n- 1e169, 1e170, 1e171, 1e172, 1e173, 1e174, 1e175, 1e176, 1e177,\n- 1e178, 1e179, 1e180, 1e181, 1e182, 1e183, 1e184, 1e185, 1e186,\n- 1e187, 1e188, 1e189, 1e190, 1e191, 1e192, 1e193, 1e194, 1e195,\n- 1e196, 1e197, 1e198, 1e199, 1e200, 1e201, 1e202, 1e203, 1e204,\n- 1e205, 1e206, 1e207, 1e208, 1e209, 1e210, 1e211, 1e212, 1e213,\n- 1e214, 1e215, 1e216, 1e217, 1e218, 1e219, 1e220, 1e221, 1e222,\n- 1e223, 1e224, 1e225, 1e226, 1e227, 1e228, 1e229, 1e230, 1e231,\n- 1e232, 1e233, 1e234, 1e235, 1e236, 1e237, 1e238, 1e239, 1e240,\n- 1e241, 1e242, 1e243, 1e244, 1e245, 1e246, 1e247, 1e248, 1e249,\n- 1e250, 1e251, 1e252, 1e253, 1e254, 1e255, 1e256, 1e257, 1e258,\n- 1e259, 1e260, 1e261, 1e262, 1e263, 1e264, 1e265, 1e266, 1e267,\n- 1e268, 1e269, 1e270, 1e271, 1e272, 1e273, 1e274, 1e275, 1e276,\n- 1e277, 1e278, 1e279, 1e280, 1e281, 1e282, 1e283, 1e284, 1e285,\n- 1e286, 1e287, 1e288, 1e289, 1e290, 1e291, 1e292, 1e293, 1e294,\n- 1e295, 1e296, 1e297, 1e298, 1e299, 1e300, 1e301, 1e302, 1e303,\n- 1e304, 1e305, 1e306, 1e307, 1e308};\n+\n+// Attempts to compute i * 10^(power) exactly; and if \"negative\" is\n+// true, negate the result.\n+// This function will only work in some cases, when it does not work, success is\n+// set to false. This should work *most of the time* (like 99% of the time).\n+// We assume that power is in the [FASTFLOAT_SMALLEST_POWER,\n+// FASTFLOAT_LARGEST_POWER] interval: the caller is responsible for this check.\n+really_inline double compute_float_64(int64_t power, uint64_t i, bool negative,\n+ bool *success) {\n+ // we start with a fast path\n+ if (-22 <= power && power <= 22 && i <= 9007199254740991) {\n+ // convert the integer into a double. This is lossless since\n+ // 0 <= i <= 2^53 - 1.\n+ double d = i;\n+ //\n+ // The general idea is as follows.\n+ // If 0 <= s < 2^53 and if 10^0 <= p <= 10^22 then\n+ // 1) Both s and p can be represented exactly as 64-bit floating-point\n+ // values\n+ // (binary64).\n+ // 2) Because s and p can be represented exactly as floating-point values,\n+ // then s * p\n+ // and s / p will produce correctly rounded values.\n+ //\n+ if (power < 0) {\n+ d = d / power_of_ten[-power];\n+ } else {\n+ d = d * power_of_ten[power];\n+ }\n+ if (negative) {\n+ d = -d;\n+ }\n+ *success = true;\n+ return d;\n+ }\n+\n+ // When 22 < power && power < 22 + 16, we could\n+ // hope for another, secondary fast path. If\n+ // you need to compute i * 10^(22 + x) for x < 16,\n+ // first compute i * 10^x, if you know that result is exact\n+ // (e.g., when i * 10^x < 2^53),\n+ // then you can still proceed and do (i * 10^x) * 10^22.\n+ // Is this worth your time?\n+ // You need 22 < power *and* power < 22 + 16 *and* (i * 10^(x-22) < 2^53)\n+ // for this second fast path to work.\n+ // If you you have 22 < power *and* power < 22 + 16, and then you\n+ // optimistically compute \"i * 10^(x-22)\", there is still a chance that you\n+ // have wasted your time if i * 10^(x-22) >= 2^53. It makes the use cases of\n+ // this optimization maybe less common than we would like. Source:\n+ // http://www.exploringbinary.com/fast-path-decimal-to-floating-point-conversion/\n+ // also used in RapidJSON: https://rapidjson.org/strtod_8h_source.html\n+\n+ // The fast path has now failed, so we are failing back on the slower path.\n+\n+ // In the slow path, we need to adjust i so that it is > 1<<63 which is always\n+ // possible, except if i == 0, so we handle i == 0 separately.\n+ if(i == 0) {\n+ return 0.0;\n+ }\n+\n+ // We are going to need to do some 64-bit arithmetic to get a more precise product.\n+ // We use a table lookup approach.\n+ components c =\n+ power_of_ten_components[power - FASTFLOAT_SMALLEST_POWER]; // safe because\n+ // power_index\n+ // <= 2*308\n+ // we recover the mantissa of the power, it has a leading 1. It is always\n+ // rounded down.\n+ uint64_t factor_mantissa = c.mantissa;\n+\n+ // We want the most significant bit of i to be 1. Shift if needed.\n+ int lz = leading_zeroes(i);\n+ i <<= lz;\n+ // We want the most significant 64 bits of the product. We know\n+ // this will be non-zero because the most significant bit of i is\n+ // 1.\n+ value128 product = full_multiplication(i, factor_mantissa);\n+ uint64_t lower = product.low;\n+ uint64_t upper = product.high;\n+\n+ // We know that upper has at most one leading zero because\n+ // both i and factor_mantissa have a leading one. This means\n+ // that the result is at least as large as ((1<<63)*(1<<63))/(1<<64).\n+\n+ // As long as the first 9 bits of \"upper\" are not \"1\", then we\n+ // know that we have an exact computed value for the leading\n+ // 55 bits because any imprecision would play out as a +1, in\n+ // the worst case.\n+ if (unlikely((upper & 0x1FF) == 0x1FF) && (lower + i < lower)) {\n+ uint64_t factor_mantissa_low =\n+ mantissa_128[power - FASTFLOAT_SMALLEST_POWER];\n+ // next, we compute the 64-bit x 128-bit multiplication, getting a 192-bit\n+ // result (three 64-bit values)\n+ product = full_multiplication(i, factor_mantissa_low);\n+ uint64_t product_low = product.low;\n+ uint64_t product_middle2 = product.high;\n+ uint64_t product_middle1 = lower;\n+ uint64_t product_high = upper;\n+ uint64_t product_middle = product_middle1 + product_middle2;\n+ if (product_middle < product_middle1) {\n+ product_high++; // overflow carry\n+ }\n+ // We want to check whether mantissa *i + i would affect our result.\n+ // This does happen, e.g. with 7.3177701707893310e+15.\n+ if (((product_middle + 1 == 0) && ((product_high & 0x1FF) == 0x1FF) &&\n+ (product_low + i < product_low))) { // let us be prudent and bail out.\n+ *success = false;\n+ return 0;\n+ }\n+ upper = product_high;\n+ lower = product_middle;\n+ }\n+ // The final mantissa should be 53 bits with a leading 1.\n+ // We shift it so that it occupies 54 bits with a leading 1.\n+ ///////\n+ uint64_t upperbit = upper >> 63;\n+ uint64_t mantissa = upper >> (upperbit + 9);\n+ lz += 1 ^ upperbit;\n+\n+ // Here we have mantissa < (1<<54).\n+\n+ // We have to round to even. The \"to even\" part\n+ // is only a problem when we are right in between two floats\n+ // which we guard against.\n+ // If we have lots of trailing zeros, we may fall right between two\n+ // floating-point values.\n+ if (unlikely((lower == 0) && ((upper & 0x1FF) == 0) &&\n+ ((mantissa & 3) == 1))) {\n+ // if mantissa & 1 == 1 we might need to round up.\n+ //\n+ // Scenarios:\n+ // 1. We are not in the middle. Then we should round up.\n+ //\n+ // 2. We are right in the middle. Whether we round up depends\n+ // on the last significant bit: if it is \"one\" then we round\n+ // up (round to even) otherwise, we do not.\n+ //\n+ // So if the last significant bit is 1, we can safely round up.\n+ // Hence we only need to bail out if (mantissa & 3) == 1.\n+ // Otherwise we may need more accuracy or analysis to determine whether\n+ // we are exactly between two floating-point numbers.\n+ // It can be triggered with 1e23.\n+ // Note: because the factor_mantissa and factor_mantissa_low are\n+ // almost always rounded down (except for small positive powers),\n+ // almost always should round up.\n+ *success = false;\n+ return 0;\n+ }\n+\n+ mantissa += mantissa & 1;\n+ mantissa >>= 1;\n+\n+ // Here we have mantissa < (1<<53), unless there was an overflow\n+ if (mantissa >= (1ULL << 53)) {\n+ //////////\n+ // This will happen when parsing values such as 7.2057594037927933e+16\n+ ////////\n+ mantissa = (1ULL << 52);\n+ lz--; // undo previous addition\n+ }\n+ mantissa &= ~(1ULL << 52);\n+ uint64_t real_exponent = c.exp - lz;\n+ // we have to check that real_exponent is in range, otherwise we bail out\n+ if (unlikely((real_exponent < 1) || (real_exponent > 2046))) {\n+ *success = false;\n+ return 0;\n+ }\n+ mantissa |= real_exponent << 52;\n+ mantissa |= (((uint64_t)negative) << 63);\n+ double d;\n+ memcpy(&d, &mantissa, sizeof(d));\n+ *success = true;\n+ return d;\n+}\n+\n+static bool parse_float_strtod(const char *ptr, double *outDouble) {\n+ char *endptr;\n+ *outDouble = strtod(ptr, &endptr);\n+ // Some libraries will set errno = ERANGE when the value is subnormal,\n+ // yet we may want to be able to parse subnormal values.\n+ // However, we do not want to tolerate NAN or infinite values.\n+ //\n+ // Values like infinity or NaN are not allowed in the JSON specification.\n+ // If you consume a large value and you map it to \"infinity\", you will no\n+ // longer be able to serialize back a standard-compliant JSON. And there is\n+ // no realistic application where you might need values so large than they\n+ // can't fit in binary64. The maximal value is about 1.7976931348623157 ×\n+ // 10^308 It is an unimaginable large number. There will never be any piece of\n+ // engineering involving as many as 10^308 parts. It is estimated that there\n+ // are about 10^80 atoms in the universe.  The estimate for the total number\n+ // of electrons is similar. Using a double-precision floating-point value, we\n+ // can represent easily the number of atoms in the universe. We could also\n+ // represent the number of ways you can pick any three individual atoms at\n+ // random in the universe. If you ever encounter a number much larger than\n+ // 10^308, you know that you have a bug. RapidJSON will reject a document with\n+ // a float that does not fit in binary64. JSON for Modern C++ (nlohmann/json)\n+ // will flat out throw an exception.\n+ //\n+ if ((endptr == ptr) || (!std::isfinite(*outDouble))) {\n+ return false;\n+ }\n+ return true;\n+}\n \n really_inline bool is_integer(char c) {\n return (c >= '0' && c <= '9');\n@@ -7317,7 +8413,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n@@ -7355,162 +8451,6 @@ really_inline bool is_made_of_eight_digits_fast(const char *chars) {\n 0x3333333333333333);\n }\n \n-\n-//\n-// This function computes base * 10 ^ (- negative_exponent ).\n-// It is only even going to be used when negative_exponent is tiny.\n-really_inline double subnormal_power10(double base, int64_t negative_exponent) {\n- // avoid integer overflows in the pow expression, those values would\n- // become zero anyway.\n- if(negative_exponent < -1000) {\n- return 0;\n- }\n-\n- // this is probably not going to be fast\n- return base * 1e-308 * pow(10, negative_exponent + 308);\n-}\n-\n-// called by parse_number when we know that the output is a float,\n-// but where there might be some integer overflow. The trick here is to\n-// parse using floats from the start.\n-// Do not call this function directly as it skips some of the checks from\n-// parse_number\n-//\n-// This function will almost never be called!!!\n-//\n-// Note: a redesign could avoid this function entirely.\n-//\n-never_inline bool parse_float(const uint8_t *const buf, document::parser &parser,\n- const uint32_t offset, bool found_minus) {\n- const char *p = reinterpret_cast(buf + offset);\n- bool negative = false;\n- if (found_minus) {\n- ++p;\n- negative = true;\n- }\n- long double i;\n- if (*p == '0') { // 0 cannot be followed by an integer\n- ++p;\n- i = 0;\n- } else {\n- unsigned char digit = *p - '0';\n- i = digit;\n- p++;\n- while (is_integer(*p)) {\n- digit = *p - '0';\n- i = 10 * i + digit;\n- ++p;\n- }\n- }\n- if ('.' == *p) {\n- ++p;\n- int fractional_weight = 308;\n- if (is_integer(*p)) {\n- unsigned char digit = *p - '0';\n- ++p;\n-\n- fractional_weight--;\n- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight]\n- : 0);\n- } else {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- while (is_integer(*p)) {\n- unsigned char digit = *p - '0';\n- ++p;\n- fractional_weight--;\n- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight]\n- : 0);\n- }\n- }\n- if (('e' == *p) || ('E' == *p)) {\n- ++p;\n- bool neg_exp = false;\n- if ('-' == *p) {\n- neg_exp = true;\n- ++p;\n- } else if ('+' == *p) {\n- ++p;\n- }\n- if (!is_integer(*p)) {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- unsigned char digit = *p - '0';\n- int64_t exp_number = digit; // exponential part\n- p++;\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- while (is_integer(*p)) {\n- if (exp_number > 0x100000000) { // we need to check for overflows\n-// we refuse to parse this\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (unlikely(exp_number > 308)) {\n- // this path is unlikely\n- if (neg_exp) {\n- // We either have zero or a subnormal.\n- // We expect this to be uncommon so we go through a slow path.\n- i = subnormal_power10(i, -exp_number);\n- } else {\n-// We know for sure that we have a number that is too large,\n-// we refuse to parse this\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- } else {\n- int exponent = (neg_exp ? -exp_number : exp_number);\n- // we have that exp_number is [0,308] so that\n- // exponent is [-308,308] so that\n- // 308 + exponent is in [0, 2 * 308]\n- i *= power_of_ten[308 + exponent];\n- }\n- }\n- if (is_not_structural_or_whitespace(*p)) {\n- return false;\n- }\n- // check that we can go from long double to double safely.\n- if(i > std::numeric_limits::max()) {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- double d = negative ? -i : i;\n- parser.on_number_double(d);\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_float(d, buf + offset);\n-#endif\n- return is_structural_or_whitespace(*p);\n-}\n-\n // called by parse_number when we know that the output is an integer,\n // but where there might be some integer overflow.\n // we want to catch overflows!\n@@ -7519,11 +8459,10 @@ never_inline bool parse_float(const uint8_t *const buf, document::parser &parser\n //\n // This function will almost never be called!!!\n //\n-never_inline bool parse_large_integer(const uint8_t *const buf,\n- document::parser &parser,\n- const uint32_t offset,\n- bool found_minus) {\n- const char *p = reinterpret_cast(buf + offset);\n+never_inline bool parse_large_integer(const uint8_t *const src,\n+ document::parser &parser,\n+ bool found_minus) {\n+ const char *p = reinterpret_cast(src);\n \n bool negative = false;\n if (found_minus) {\n@@ -7544,13 +8483,13 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n digit = *p - '0';\n if (mul_overflow(i, 10, &i)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n }\n if (add_overflow(i, digit, &i)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n }\n@@ -7559,40 +8498,40 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n }\n if (negative) {\n if (i > 0x8000000000000000) {\n- // overflows!\n+ // overflows!\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n } else if (i == 0x8000000000000000) {\n // In two's complement, we cannot represent 0x8000000000000000\n- // as a positive signed integer, but the negative version is \n+ // as a positive signed integer, but the negative version is\n // possible.\n constexpr int64_t signed_answer = INT64_MIN;\n parser.on_number_s64(signed_answer);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(signed_answer, buf + offset);\n+ found_integer(signed_answer, src);\n #endif\n } else {\n // we can negate safely\n int64_t signed_answer = -static_cast(i);\n parser.on_number_s64(signed_answer);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(signed_answer, buf + offset);\n+ found_integer(signed_answer, src);\n #endif\n }\n } else {\n // we have a positive integer, the contract is that\n- // we try to represent it as a signed integer and only \n+ // we try to represent it as a signed integer and only\n // fallback on unsigned integers if absolutely necessary.\n- if(i < 0x8000000000000000) {\n+ if (i < 0x8000000000000000) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(i, buf + offset);\n+ found_integer(i, src);\n #endif\n parser.on_number_s64(i);\n } else {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_unsigned_integer(i, buf + offset);\n+ found_unsigned_integer(i, src);\n #endif\n parser.on_number_u64(i);\n }\n@@ -7600,7 +8539,22 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n return is_structural_or_whitespace(*p);\n }\n \n-// parse the number at buf + offset\n+bool slow_float_parsing(UNUSED const char * src, document::parser &parser) {\n+ double d;\n+ if (parse_float_strtod(src, &d)) {\n+ parser.on_number_double(d);\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_float(d, (const uint8_t *)src);\n+#endif\n+ return true;\n+ }\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_invalid_number((const uint8_t *)src);\n+#endif\n+ return false;\n+}\n+\n+// parse the number at src\n // define JSON_TEST_NUMBERS for unit testing\n //\n // It is assumed that the number is followed by a structural ({,},],[) character\n@@ -7608,24 +8562,23 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n // document is made of a single number), then it is necessary to copy the\n // content and append a space before calling this function.\n //\n-// Our objective is accurate parsing (ULP of 0 or 1) at high speed.\n-really_inline bool parse_number(UNUSED const uint8_t *const buf,\n- UNUSED const uint32_t offset,\n+// Our objective is accurate parsing (ULP of 0) at high speed.\n+really_inline bool parse_number(UNUSED const uint8_t *const src,\n UNUSED bool found_minus,\n document::parser &parser) {\n #ifdef SIMDJSON_SKIPNUMBERPARSING // for performance analysis, it is sometimes\n // useful to skip parsing\n- parser.on_number_s64(0); // always write zero\n+ parser.on_number_s64(0); // always write zero\n return true; // always succeeds\n #else\n- const char *p = reinterpret_cast(buf + offset);\n+ const char *p = reinterpret_cast(src);\n bool negative = false;\n if (found_minus) {\n ++p;\n negative = true;\n if (!is_integer(*p)) { // a negative sign must be followed by an integer\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -7637,7 +8590,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n ++p;\n if (is_not_structural_or_whitespace_or_exponent_or_decimal(*p)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -7645,7 +8598,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n } else {\n if (!(is_integer(*p))) { // must start with an integer\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -7680,7 +8633,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n // we will handle the overflow later\n } else {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -7715,7 +8668,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n }\n if (!is_integer(*p)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -7736,7 +8689,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n if (exp_number > 0x100000000) { // we need to check for overflows\n // we refuse to parse this\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -7747,7 +8700,9 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n exponent += (neg_exp ? -exp_number : exp_number);\n }\n if (is_float) {\n- uint64_t power_index = 308 + exponent;\n+ // If we frequently had to deal with long strings of digits,\n+ // we could extend our code by using a 128-bit integer instead\n+ // of a 64-bit integer. However, this is uncommon in practice.\n if (unlikely((digit_count >= 19))) { // this is uncommon\n // It is possible that the integer had an overflow.\n // We have to handle the case where we have 0.0000somenumber.\n@@ -7761,31 +8716,47 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n // Ok, chances are good that we had an overflow!\n // this is almost never going to get called!!!\n // we start anew, going slowly!!!\n- return parse_float(buf, parser, offset, found_minus);\n+ // This will happen in the following examples:\n+ // 10000000000000000000000000000000000000000000e+308\n+ // 3.1415926535897932384626433832795028841971693993751\n+ //\n+ return slow_float_parsing((const char *) src, parser);\n }\n }\n- if (unlikely((power_index > 2 * 308))) { // this is uncommon!!!\n+ if (unlikely(exponent < FASTFLOAT_SMALLEST_POWER) ||\n+ (exponent > FASTFLOAT_LARGEST_POWER)) { // this is uncommon!!!\n // this is almost never going to get called!!!\n // we start anew, going slowly!!!\n- return parse_float(buf, parser, offset, found_minus);\n+ return slow_float_parsing((const char *) src, parser);\n }\n- double factor = power_of_ten[power_index];\n- factor = negative ? -factor : factor;\n- double d = i * factor;\n- parser.on_number_double(d);\n+ bool success = true;\n+ double d = compute_float_64(exponent, i, negative, &success);\n+ if (!success) {\n+ // we are almost never going to get here.\n+ success = parse_float_strtod((const char *)src, &d);\n+ }\n+ if (success) {\n+ parser.on_number_double(d);\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_float(d, src);\n+#endif\n+ return true;\n+ } else {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_float(d, buf + offset);\n+ found_invalid_number(src);\n #endif\n+ return false;\n+ }\n } else {\n if (unlikely(digit_count >= 18)) { // this is uncommon!!!\n // there is a good chance that we had an overflow, so we need\n // need to recover: we parse the whole thing again.\n- return parse_large_integer(buf, parser, offset, found_minus);\n+ return parse_large_integer(src, parser, found_minus);\n }\n i = negative ? 0 - i : i;\n parser.on_number_s64(i);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(i, buf + offset);\n+ found_integer(i, src);\n #endif\n }\n return is_structural_or_whitespace(*p);\n@@ -7806,6 +8777,57 @@ UNTARGET_REGION\n TARGET_HASWELL\n namespace simdjson::haswell {\n \n+/* begin file src/generic/atomparsing.h */\n+namespace atomparsing {\n+\n+really_inline uint32_t string_to_uint32(const char* str) { return *reinterpret_cast(str); }\n+\n+WARN_UNUSED\n+really_inline bool str4ncmp(const uint8_t *src, const char* atom) {\n+ uint32_t srcval; // we want to avoid unaligned 64-bit loads (undefined in C/C++)\n+ static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING);\n+ std::memcpy(&srcval, src, sizeof(uint32_t));\n+ return srcval ^ string_to_uint32(atom);\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_true_atom(const uint8_t *src) {\n+ return (str4ncmp(src, \"true\") | is_not_structural_or_whitespace(src[4])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_true_atom(const uint8_t *src, size_t len) {\n+ if (len > 4) { return is_valid_true_atom(src); }\n+ else if (len == 4) { return !str4ncmp(src, \"true\"); }\n+ else { return false; }\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_false_atom(const uint8_t *src) {\n+ return (str4ncmp(src+1, \"alse\") | is_not_structural_or_whitespace(src[5])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_false_atom(const uint8_t *src, size_t len) {\n+ if (len > 5) { return is_valid_false_atom(src); }\n+ else if (len == 5) { return !str4ncmp(src+1, \"alse\"); }\n+ else { return false; }\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_null_atom(const uint8_t *src) {\n+ return (str4ncmp(src, \"null\") | is_not_structural_or_whitespace(src[4])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_null_atom(const uint8_t *src, size_t len) {\n+ if (len > 4) { return is_valid_null_atom(src); }\n+ else if (len == 4) { return !str4ncmp(src, \"null\"); }\n+ else { return false; }\n+}\n+\n+} // namespace atomparsing\n+/* end file src/generic/atomparsing.h */\n /* begin file src/generic/stage2_build_tape.h */\n // This file contains the common code every implementation uses for stage2\n // It is intended to be included multiple times and compiled multiple times\n@@ -7856,28 +8878,25 @@ struct unified_machine_addresses {\n #undef FAIL_IF\n #define FAIL_IF(EXPR) { if (EXPR) { return addresses.error; } }\n \n-struct structural_parser {\n- const uint8_t* const buf;\n- const size_t len;\n- document::parser &doc_parser;\n- size_t i; // next structural index\n- size_t idx; // location of the structural character in the input (buf)\n- uint8_t c; // used to track the (structural) character we are looking at\n- uint32_t depth = 0; // could have an arbitrary starting depth\n-\n- really_inline structural_parser(\n- const uint8_t *_buf,\n- size_t _len,\n- document::parser &_doc_parser,\n- uint32_t _i = 0\n- ) : buf{_buf}, len{_len}, doc_parser{_doc_parser}, i{_i} {}\n-\n+class structural_iterator {\n+public:\n+ really_inline structural_iterator(const uint8_t* _buf, size_t _len, const uint32_t *_structural_indexes, size_t next_structural_index)\n+ : buf{_buf}, len{_len}, structural_indexes{_structural_indexes}, next_structural{next_structural_index} {}\n really_inline char advance_char() {\n- idx = doc_parser.structural_indexes[i++];\n- c = buf[idx];\n+ idx = structural_indexes[next_structural];\n+ next_structural++;\n+ c = *current();\n return c;\n }\n-\n+ really_inline char current_char() {\n+ return c;\n+ }\n+ really_inline const uint8_t* current() {\n+ return &buf[idx];\n+ }\n+ really_inline size_t remaining_len() {\n+ return len - idx;\n+ }\n template\n really_inline bool with_space_terminated_copy(const F& f) {\n /**\n@@ -7903,6 +8922,36 @@ struct structural_parser {\n free(copy);\n return result;\n }\n+ really_inline bool past_end(uint32_t n_structural_indexes) {\n+ return next_structural+1 > n_structural_indexes;\n+ }\n+ really_inline bool at_end(uint32_t n_structural_indexes) {\n+ return next_structural+1 == n_structural_indexes;\n+ }\n+ really_inline size_t next_structural_index() {\n+ return next_structural;\n+ }\n+\n+private:\n+ const uint8_t* const buf;\n+ const size_t len;\n+ const uint32_t* const structural_indexes;\n+ size_t next_structural; // next structural index\n+ size_t idx; // location of the structural character in the input (buf)\n+ uint8_t c; // used to track the (structural) character we are looking at\n+};\n+\n+struct structural_parser {\n+ structural_iterator structurals;\n+ document::parser &doc_parser;\n+ uint32_t depth;\n+\n+ really_inline structural_parser(\n+ const uint8_t *buf,\n+ size_t len,\n+ document::parser &_doc_parser,\n+ uint32_t next_structural = 0\n+ ) : structurals(buf, len, _doc_parser.structural_indexes.get(), next_structural), doc_parser{_doc_parser}, depth{0} {}\n \n WARN_UNUSED really_inline bool start_document(ret_address continue_state) {\n doc_parser.on_start_document(depth);\n@@ -7943,32 +8992,32 @@ struct structural_parser {\n \n WARN_UNUSED really_inline bool parse_string() {\n uint8_t *dst = doc_parser.on_start_string();\n- dst = stringparsing::parse_string(buf, idx, dst);\n+ dst = stringparsing::parse_string(structurals.current(), dst);\n if (dst == nullptr) {\n return true;\n }\n return !doc_parser.on_end_string(dst);\n }\n \n- WARN_UNUSED really_inline bool parse_number(const uint8_t *copy, uint32_t offset, bool found_minus) {\n- return !numberparsing::parse_number(copy, offset, found_minus, doc_parser);\n+ WARN_UNUSED really_inline bool parse_number(const uint8_t *src, bool found_minus) {\n+ return !numberparsing::parse_number(src, found_minus, doc_parser);\n }\n WARN_UNUSED really_inline bool parse_number(bool found_minus) {\n- return parse_number(buf, idx, found_minus);\n+ return parse_number(structurals.current(), found_minus);\n }\n \n- WARN_UNUSED really_inline bool parse_atom(const uint8_t *copy, uint32_t offset) {\n- switch (c) {\n+ WARN_UNUSED really_inline bool parse_atom() {\n+ switch (structurals.current_char()) {\n case 't':\n- if (!is_valid_true_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_true_atom(structurals.current())) { return true; }\n doc_parser.on_true_atom();\n break;\n case 'f':\n- if (!is_valid_false_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_false_atom(structurals.current())) { return true; }\n doc_parser.on_false_atom();\n break;\n case 'n':\n- if (!is_valid_null_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_null_atom(structurals.current())) { return true; }\n doc_parser.on_null_atom();\n break;\n default:\n@@ -7977,12 +9026,28 @@ struct structural_parser {\n return false;\n }\n \n- WARN_UNUSED really_inline bool parse_atom() {\n- return parse_atom(buf, idx);\n+ WARN_UNUSED really_inline bool parse_single_atom() {\n+ switch (structurals.current_char()) {\n+ case 't':\n+ if (!atomparsing::is_valid_true_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_true_atom();\n+ break;\n+ case 'f':\n+ if (!atomparsing::is_valid_false_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_false_atom();\n+ break;\n+ case 'n':\n+ if (!atomparsing::is_valid_null_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_null_atom();\n+ break;\n+ default:\n+ return true;\n+ }\n+ return false;\n }\n \n WARN_UNUSED really_inline ret_address parse_value(const unified_machine_addresses &addresses, ret_address continue_state) {\n- switch (c) {\n+ switch (structurals.current_char()) {\n case '\"':\n FAIL_IF( parse_string() );\n return continue_state;\n@@ -8009,7 +9074,7 @@ struct structural_parser {\n \n WARN_UNUSED really_inline error_code finish() {\n // the string might not be NULL terminated.\n- if ( i + 1 != doc_parser.n_structural_indexes ) {\n+ if ( !structurals.at_end(doc_parser.n_structural_indexes) ) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n end_document();\n@@ -8037,7 +9102,7 @@ struct structural_parser {\n if (depth >= doc_parser.max_depth()) {\n return doc_parser.on_error(DEPTH_ERROR);\n }\n- switch (c) {\n+ switch (structurals.current_char()) {\n case '\"':\n return doc_parser.on_error(STRING_ERROR);\n case '0':\n@@ -8063,19 +9128,23 @@ struct structural_parser {\n }\n }\n \n- WARN_UNUSED really_inline error_code start(ret_address finish_state) {\n+ WARN_UNUSED really_inline error_code start(size_t len, ret_address finish_state) {\n doc_parser.init_stage2(); // sets is_valid to false\n if (len > doc_parser.capacity()) {\n return CAPACITY;\n }\n // Advance to the first character as soon as possible\n- advance_char();\n+ structurals.advance_char();\n // Push the root scope (there is always at least one scope)\n if (start_document(finish_state)) {\n return doc_parser.on_error(DEPTH_ERROR);\n }\n return SUCCESS;\n }\n+\n+ really_inline char advance_char() {\n+ return structurals.advance_char();\n+ }\n };\n \n // Redefine FAIL_IF to use goto since it'll be used inside the function now\n@@ -8091,13 +9160,13 @@ struct structural_parser {\n WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser) const noexcept {\n static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES();\n stage2::structural_parser parser(buf, len, doc_parser);\n- error_code result = parser.start(addresses.finish);\n+ error_code result = parser.start(len, addresses.finish);\n if (result) { return result; }\n \n //\n // Read first value\n //\n- switch (parser.c) {\n+ switch (parser.structurals.current_char()) {\n case '{':\n FAIL_IF( parser.start_object(addresses.finish) );\n goto object_begin;\n@@ -8108,24 +9177,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n FAIL_IF( parser.parse_string() );\n goto finish;\n case 't': case 'f': case 'n':\n- FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_atom(copy, idx);\n- })\n- );\n+ FAIL_IF( parser.parse_single_atom() );\n goto finish;\n case '0': case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, false);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], false);\n })\n );\n goto finish;\n case '-':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, true);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], true);\n })\n );\n goto finish;\n@@ -8137,8 +9202,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n // Object parser states\n //\n object_begin:\n- parser.advance_char();\n- switch (parser.c) {\n+ switch (parser.advance_char()) {\n case '\"': {\n FAIL_IF( parser.parse_string() );\n goto object_key_state;\n@@ -8219,7 +9283,7 @@ struct streaming_structural_parser: structural_parser {\n really_inline streaming_structural_parser(const uint8_t *_buf, size_t _len, document::parser &_doc_parser, size_t _i) : structural_parser(_buf, _len, _doc_parser, _i) {}\n \n // override to add streaming\n- WARN_UNUSED really_inline error_code start(ret_address finish_parser) {\n+ WARN_UNUSED really_inline error_code start(UNUSED size_t len, ret_address finish_parser) {\n doc_parser.init_stage2(); // sets is_valid to false\n // Capacity ain't no thang for streaming, so we don't check it.\n // Advance to the first character as soon as possible\n@@ -8233,7 +9297,7 @@ struct streaming_structural_parser: structural_parser {\n \n // override to add streaming\n WARN_UNUSED really_inline error_code finish() {\n- if ( i + 1 > doc_parser.n_structural_indexes ) {\n+ if ( structurals.past_end(doc_parser.n_structural_indexes) ) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n end_document();\n@@ -8243,7 +9307,7 @@ struct streaming_structural_parser: structural_parser {\n if (doc_parser.containing_scope_offset[depth] != 0) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n- bool finished = i + 1 == doc_parser.n_structural_indexes;\n+ bool finished = structurals.at_end(doc_parser.n_structural_indexes);\n return doc_parser.on_success(finished ? SUCCESS : SUCCESS_AND_HAS_MORE);\n }\n };\n@@ -8257,12 +9321,12 @@ struct streaming_structural_parser: structural_parser {\n WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser, size_t &next_json) const noexcept {\n static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES();\n stage2::streaming_structural_parser parser(buf, len, doc_parser, next_json);\n- error_code result = parser.start(addresses.finish);\n+ error_code result = parser.start(len, addresses.finish);\n if (result) { return result; }\n //\n // Read first value\n //\n- switch (parser.c) {\n+ switch (parser.structurals.current_char()) {\n case '{':\n FAIL_IF( parser.start_object(addresses.finish) );\n goto object_begin;\n@@ -8273,24 +9337,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n FAIL_IF( parser.parse_string() );\n goto finish;\n case 't': case 'f': case 'n':\n- FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_atom(copy, idx);\n- })\n- );\n+ FAIL_IF( parser.parse_single_atom() );\n goto finish;\n case '0': case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, false);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], false);\n })\n );\n goto finish;\n case '-':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, true);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], true);\n })\n );\n goto finish;\n@@ -8302,8 +9362,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n // Object parser parsers\n //\n object_begin:\n- parser.advance_char();\n- switch (parser.c) {\n+ switch (parser.advance_char()) {\n case '\"': {\n FAIL_IF( parser.parse_string() );\n goto object_key_parser;\n@@ -8363,7 +9422,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n }\n \n finish:\n- next_json = parser.i;\n+ next_json = parser.structurals.next_structural_index();\n return parser.finish();\n \n error:\n@@ -8499,10 +9558,9 @@ really_inline bool handle_unicode_codepoint(const uint8_t **src_ptr,\n return offset > 0;\n }\n \n-WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *buf,\n- uint32_t offset,\n+WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *src,\n uint8_t *dst) {\n- const uint8_t *src = &buf[offset + 1]; /* we know that buf at offset is a \" */\n+ src++;\n while (1) {\n parse_string_helper helper = find_bs_bits_and_quote_bits(src, dst);\n if (((helper.bs_bits - 1) & helper.quote_bits) != 0) {\n@@ -8608,81 +9666,209 @@ static inline uint32_t parse_eight_digits_unrolled(const char *chars) {\n /* begin file src/generic/numberparsing.h */\n namespace numberparsing {\n \n-// Allowable floating-point values range\n-// std::numeric_limits::lowest() to std::numeric_limits::max(),\n-// so from -1.7976e308 all the way to 1.7975e308 in binary64. The lowest\n-// non-zero normal values is std::numeric_limits::min() or\n-// about 2.225074e-308.\n-static const double power_of_ten[] = {\n- 1e-308, 1e-307, 1e-306, 1e-305, 1e-304, 1e-303, 1e-302, 1e-301, 1e-300,\n- 1e-299, 1e-298, 1e-297, 1e-296, 1e-295, 1e-294, 1e-293, 1e-292, 1e-291,\n- 1e-290, 1e-289, 1e-288, 1e-287, 1e-286, 1e-285, 1e-284, 1e-283, 1e-282,\n- 1e-281, 1e-280, 1e-279, 1e-278, 1e-277, 1e-276, 1e-275, 1e-274, 1e-273,\n- 1e-272, 1e-271, 1e-270, 1e-269, 1e-268, 1e-267, 1e-266, 1e-265, 1e-264,\n- 1e-263, 1e-262, 1e-261, 1e-260, 1e-259, 1e-258, 1e-257, 1e-256, 1e-255,\n- 1e-254, 1e-253, 1e-252, 1e-251, 1e-250, 1e-249, 1e-248, 1e-247, 1e-246,\n- 1e-245, 1e-244, 1e-243, 1e-242, 1e-241, 1e-240, 1e-239, 1e-238, 1e-237,\n- 1e-236, 1e-235, 1e-234, 1e-233, 1e-232, 1e-231, 1e-230, 1e-229, 1e-228,\n- 1e-227, 1e-226, 1e-225, 1e-224, 1e-223, 1e-222, 1e-221, 1e-220, 1e-219,\n- 1e-218, 1e-217, 1e-216, 1e-215, 1e-214, 1e-213, 1e-212, 1e-211, 1e-210,\n- 1e-209, 1e-208, 1e-207, 1e-206, 1e-205, 1e-204, 1e-203, 1e-202, 1e-201,\n- 1e-200, 1e-199, 1e-198, 1e-197, 1e-196, 1e-195, 1e-194, 1e-193, 1e-192,\n- 1e-191, 1e-190, 1e-189, 1e-188, 1e-187, 1e-186, 1e-185, 1e-184, 1e-183,\n- 1e-182, 1e-181, 1e-180, 1e-179, 1e-178, 1e-177, 1e-176, 1e-175, 1e-174,\n- 1e-173, 1e-172, 1e-171, 1e-170, 1e-169, 1e-168, 1e-167, 1e-166, 1e-165,\n- 1e-164, 1e-163, 1e-162, 1e-161, 1e-160, 1e-159, 1e-158, 1e-157, 1e-156,\n- 1e-155, 1e-154, 1e-153, 1e-152, 1e-151, 1e-150, 1e-149, 1e-148, 1e-147,\n- 1e-146, 1e-145, 1e-144, 1e-143, 1e-142, 1e-141, 1e-140, 1e-139, 1e-138,\n- 1e-137, 1e-136, 1e-135, 1e-134, 1e-133, 1e-132, 1e-131, 1e-130, 1e-129,\n- 1e-128, 1e-127, 1e-126, 1e-125, 1e-124, 1e-123, 1e-122, 1e-121, 1e-120,\n- 1e-119, 1e-118, 1e-117, 1e-116, 1e-115, 1e-114, 1e-113, 1e-112, 1e-111,\n- 1e-110, 1e-109, 1e-108, 1e-107, 1e-106, 1e-105, 1e-104, 1e-103, 1e-102,\n- 1e-101, 1e-100, 1e-99, 1e-98, 1e-97, 1e-96, 1e-95, 1e-94, 1e-93,\n- 1e-92, 1e-91, 1e-90, 1e-89, 1e-88, 1e-87, 1e-86, 1e-85, 1e-84,\n- 1e-83, 1e-82, 1e-81, 1e-80, 1e-79, 1e-78, 1e-77, 1e-76, 1e-75,\n- 1e-74, 1e-73, 1e-72, 1e-71, 1e-70, 1e-69, 1e-68, 1e-67, 1e-66,\n- 1e-65, 1e-64, 1e-63, 1e-62, 1e-61, 1e-60, 1e-59, 1e-58, 1e-57,\n- 1e-56, 1e-55, 1e-54, 1e-53, 1e-52, 1e-51, 1e-50, 1e-49, 1e-48,\n- 1e-47, 1e-46, 1e-45, 1e-44, 1e-43, 1e-42, 1e-41, 1e-40, 1e-39,\n- 1e-38, 1e-37, 1e-36, 1e-35, 1e-34, 1e-33, 1e-32, 1e-31, 1e-30,\n- 1e-29, 1e-28, 1e-27, 1e-26, 1e-25, 1e-24, 1e-23, 1e-22, 1e-21,\n- 1e-20, 1e-19, 1e-18, 1e-17, 1e-16, 1e-15, 1e-14, 1e-13, 1e-12,\n- 1e-11, 1e-10, 1e-9, 1e-8, 1e-7, 1e-6, 1e-5, 1e-4, 1e-3,\n- 1e-2, 1e-1, 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6,\n- 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15,\n- 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24,\n- 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, 1e32, 1e33,\n- 1e34, 1e35, 1e36, 1e37, 1e38, 1e39, 1e40, 1e41, 1e42,\n- 1e43, 1e44, 1e45, 1e46, 1e47, 1e48, 1e49, 1e50, 1e51,\n- 1e52, 1e53, 1e54, 1e55, 1e56, 1e57, 1e58, 1e59, 1e60,\n- 1e61, 1e62, 1e63, 1e64, 1e65, 1e66, 1e67, 1e68, 1e69,\n- 1e70, 1e71, 1e72, 1e73, 1e74, 1e75, 1e76, 1e77, 1e78,\n- 1e79, 1e80, 1e81, 1e82, 1e83, 1e84, 1e85, 1e86, 1e87,\n- 1e88, 1e89, 1e90, 1e91, 1e92, 1e93, 1e94, 1e95, 1e96,\n- 1e97, 1e98, 1e99, 1e100, 1e101, 1e102, 1e103, 1e104, 1e105,\n- 1e106, 1e107, 1e108, 1e109, 1e110, 1e111, 1e112, 1e113, 1e114,\n- 1e115, 1e116, 1e117, 1e118, 1e119, 1e120, 1e121, 1e122, 1e123,\n- 1e124, 1e125, 1e126, 1e127, 1e128, 1e129, 1e130, 1e131, 1e132,\n- 1e133, 1e134, 1e135, 1e136, 1e137, 1e138, 1e139, 1e140, 1e141,\n- 1e142, 1e143, 1e144, 1e145, 1e146, 1e147, 1e148, 1e149, 1e150,\n- 1e151, 1e152, 1e153, 1e154, 1e155, 1e156, 1e157, 1e158, 1e159,\n- 1e160, 1e161, 1e162, 1e163, 1e164, 1e165, 1e166, 1e167, 1e168,\n- 1e169, 1e170, 1e171, 1e172, 1e173, 1e174, 1e175, 1e176, 1e177,\n- 1e178, 1e179, 1e180, 1e181, 1e182, 1e183, 1e184, 1e185, 1e186,\n- 1e187, 1e188, 1e189, 1e190, 1e191, 1e192, 1e193, 1e194, 1e195,\n- 1e196, 1e197, 1e198, 1e199, 1e200, 1e201, 1e202, 1e203, 1e204,\n- 1e205, 1e206, 1e207, 1e208, 1e209, 1e210, 1e211, 1e212, 1e213,\n- 1e214, 1e215, 1e216, 1e217, 1e218, 1e219, 1e220, 1e221, 1e222,\n- 1e223, 1e224, 1e225, 1e226, 1e227, 1e228, 1e229, 1e230, 1e231,\n- 1e232, 1e233, 1e234, 1e235, 1e236, 1e237, 1e238, 1e239, 1e240,\n- 1e241, 1e242, 1e243, 1e244, 1e245, 1e246, 1e247, 1e248, 1e249,\n- 1e250, 1e251, 1e252, 1e253, 1e254, 1e255, 1e256, 1e257, 1e258,\n- 1e259, 1e260, 1e261, 1e262, 1e263, 1e264, 1e265, 1e266, 1e267,\n- 1e268, 1e269, 1e270, 1e271, 1e272, 1e273, 1e274, 1e275, 1e276,\n- 1e277, 1e278, 1e279, 1e280, 1e281, 1e282, 1e283, 1e284, 1e285,\n- 1e286, 1e287, 1e288, 1e289, 1e290, 1e291, 1e292, 1e293, 1e294,\n- 1e295, 1e296, 1e297, 1e298, 1e299, 1e300, 1e301, 1e302, 1e303,\n- 1e304, 1e305, 1e306, 1e307, 1e308};\n+\n+// Attempts to compute i * 10^(power) exactly; and if \"negative\" is\n+// true, negate the result.\n+// This function will only work in some cases, when it does not work, success is\n+// set to false. This should work *most of the time* (like 99% of the time).\n+// We assume that power is in the [FASTFLOAT_SMALLEST_POWER,\n+// FASTFLOAT_LARGEST_POWER] interval: the caller is responsible for this check.\n+really_inline double compute_float_64(int64_t power, uint64_t i, bool negative,\n+ bool *success) {\n+ // we start with a fast path\n+ if (-22 <= power && power <= 22 && i <= 9007199254740991) {\n+ // convert the integer into a double. This is lossless since\n+ // 0 <= i <= 2^53 - 1.\n+ double d = i;\n+ //\n+ // The general idea is as follows.\n+ // If 0 <= s < 2^53 and if 10^0 <= p <= 10^22 then\n+ // 1) Both s and p can be represented exactly as 64-bit floating-point\n+ // values\n+ // (binary64).\n+ // 2) Because s and p can be represented exactly as floating-point values,\n+ // then s * p\n+ // and s / p will produce correctly rounded values.\n+ //\n+ if (power < 0) {\n+ d = d / power_of_ten[-power];\n+ } else {\n+ d = d * power_of_ten[power];\n+ }\n+ if (negative) {\n+ d = -d;\n+ }\n+ *success = true;\n+ return d;\n+ }\n+\n+ // When 22 < power && power < 22 + 16, we could\n+ // hope for another, secondary fast path. If\n+ // you need to compute i * 10^(22 + x) for x < 16,\n+ // first compute i * 10^x, if you know that result is exact\n+ // (e.g., when i * 10^x < 2^53),\n+ // then you can still proceed and do (i * 10^x) * 10^22.\n+ // Is this worth your time?\n+ // You need 22 < power *and* power < 22 + 16 *and* (i * 10^(x-22) < 2^53)\n+ // for this second fast path to work.\n+ // If you you have 22 < power *and* power < 22 + 16, and then you\n+ // optimistically compute \"i * 10^(x-22)\", there is still a chance that you\n+ // have wasted your time if i * 10^(x-22) >= 2^53. It makes the use cases of\n+ // this optimization maybe less common than we would like. Source:\n+ // http://www.exploringbinary.com/fast-path-decimal-to-floating-point-conversion/\n+ // also used in RapidJSON: https://rapidjson.org/strtod_8h_source.html\n+\n+ // The fast path has now failed, so we are failing back on the slower path.\n+\n+ // In the slow path, we need to adjust i so that it is > 1<<63 which is always\n+ // possible, except if i == 0, so we handle i == 0 separately.\n+ if(i == 0) {\n+ return 0.0;\n+ }\n+\n+ // We are going to need to do some 64-bit arithmetic to get a more precise product.\n+ // We use a table lookup approach.\n+ components c =\n+ power_of_ten_components[power - FASTFLOAT_SMALLEST_POWER]; // safe because\n+ // power_index\n+ // <= 2*308\n+ // we recover the mantissa of the power, it has a leading 1. It is always\n+ // rounded down.\n+ uint64_t factor_mantissa = c.mantissa;\n+\n+ // We want the most significant bit of i to be 1. Shift if needed.\n+ int lz = leading_zeroes(i);\n+ i <<= lz;\n+ // We want the most significant 64 bits of the product. We know\n+ // this will be non-zero because the most significant bit of i is\n+ // 1.\n+ value128 product = full_multiplication(i, factor_mantissa);\n+ uint64_t lower = product.low;\n+ uint64_t upper = product.high;\n+\n+ // We know that upper has at most one leading zero because\n+ // both i and factor_mantissa have a leading one. This means\n+ // that the result is at least as large as ((1<<63)*(1<<63))/(1<<64).\n+\n+ // As long as the first 9 bits of \"upper\" are not \"1\", then we\n+ // know that we have an exact computed value for the leading\n+ // 55 bits because any imprecision would play out as a +1, in\n+ // the worst case.\n+ if (unlikely((upper & 0x1FF) == 0x1FF) && (lower + i < lower)) {\n+ uint64_t factor_mantissa_low =\n+ mantissa_128[power - FASTFLOAT_SMALLEST_POWER];\n+ // next, we compute the 64-bit x 128-bit multiplication, getting a 192-bit\n+ // result (three 64-bit values)\n+ product = full_multiplication(i, factor_mantissa_low);\n+ uint64_t product_low = product.low;\n+ uint64_t product_middle2 = product.high;\n+ uint64_t product_middle1 = lower;\n+ uint64_t product_high = upper;\n+ uint64_t product_middle = product_middle1 + product_middle2;\n+ if (product_middle < product_middle1) {\n+ product_high++; // overflow carry\n+ }\n+ // We want to check whether mantissa *i + i would affect our result.\n+ // This does happen, e.g. with 7.3177701707893310e+15.\n+ if (((product_middle + 1 == 0) && ((product_high & 0x1FF) == 0x1FF) &&\n+ (product_low + i < product_low))) { // let us be prudent and bail out.\n+ *success = false;\n+ return 0;\n+ }\n+ upper = product_high;\n+ lower = product_middle;\n+ }\n+ // The final mantissa should be 53 bits with a leading 1.\n+ // We shift it so that it occupies 54 bits with a leading 1.\n+ ///////\n+ uint64_t upperbit = upper >> 63;\n+ uint64_t mantissa = upper >> (upperbit + 9);\n+ lz += 1 ^ upperbit;\n+\n+ // Here we have mantissa < (1<<54).\n+\n+ // We have to round to even. The \"to even\" part\n+ // is only a problem when we are right in between two floats\n+ // which we guard against.\n+ // If we have lots of trailing zeros, we may fall right between two\n+ // floating-point values.\n+ if (unlikely((lower == 0) && ((upper & 0x1FF) == 0) &&\n+ ((mantissa & 3) == 1))) {\n+ // if mantissa & 1 == 1 we might need to round up.\n+ //\n+ // Scenarios:\n+ // 1. We are not in the middle. Then we should round up.\n+ //\n+ // 2. We are right in the middle. Whether we round up depends\n+ // on the last significant bit: if it is \"one\" then we round\n+ // up (round to even) otherwise, we do not.\n+ //\n+ // So if the last significant bit is 1, we can safely round up.\n+ // Hence we only need to bail out if (mantissa & 3) == 1.\n+ // Otherwise we may need more accuracy or analysis to determine whether\n+ // we are exactly between two floating-point numbers.\n+ // It can be triggered with 1e23.\n+ // Note: because the factor_mantissa and factor_mantissa_low are\n+ // almost always rounded down (except for small positive powers),\n+ // almost always should round up.\n+ *success = false;\n+ return 0;\n+ }\n+\n+ mantissa += mantissa & 1;\n+ mantissa >>= 1;\n+\n+ // Here we have mantissa < (1<<53), unless there was an overflow\n+ if (mantissa >= (1ULL << 53)) {\n+ //////////\n+ // This will happen when parsing values such as 7.2057594037927933e+16\n+ ////////\n+ mantissa = (1ULL << 52);\n+ lz--; // undo previous addition\n+ }\n+ mantissa &= ~(1ULL << 52);\n+ uint64_t real_exponent = c.exp - lz;\n+ // we have to check that real_exponent is in range, otherwise we bail out\n+ if (unlikely((real_exponent < 1) || (real_exponent > 2046))) {\n+ *success = false;\n+ return 0;\n+ }\n+ mantissa |= real_exponent << 52;\n+ mantissa |= (((uint64_t)negative) << 63);\n+ double d;\n+ memcpy(&d, &mantissa, sizeof(d));\n+ *success = true;\n+ return d;\n+}\n+\n+static bool parse_float_strtod(const char *ptr, double *outDouble) {\n+ char *endptr;\n+ *outDouble = strtod(ptr, &endptr);\n+ // Some libraries will set errno = ERANGE when the value is subnormal,\n+ // yet we may want to be able to parse subnormal values.\n+ // However, we do not want to tolerate NAN or infinite values.\n+ //\n+ // Values like infinity or NaN are not allowed in the JSON specification.\n+ // If you consume a large value and you map it to \"infinity\", you will no\n+ // longer be able to serialize back a standard-compliant JSON. And there is\n+ // no realistic application where you might need values so large than they\n+ // can't fit in binary64. The maximal value is about 1.7976931348623157 ×\n+ // 10^308 It is an unimaginable large number. There will never be any piece of\n+ // engineering involving as many as 10^308 parts. It is estimated that there\n+ // are about 10^80 atoms in the universe.  The estimate for the total number\n+ // of electrons is similar. Using a double-precision floating-point value, we\n+ // can represent easily the number of atoms in the universe. We could also\n+ // represent the number of ways you can pick any three individual atoms at\n+ // random in the universe. If you ever encounter a number much larger than\n+ // 10^308, you know that you have a bug. RapidJSON will reject a document with\n+ // a float that does not fit in binary64. JSON for Modern C++ (nlohmann/json)\n+ // will flat out throw an exception.\n+ //\n+ if ((endptr == ptr) || (!std::isfinite(*outDouble))) {\n+ return false;\n+ }\n+ return true;\n+}\n \n really_inline bool is_integer(char c) {\n return (c >= '0' && c <= '9');\n@@ -8690,7 +9876,7 @@ really_inline bool is_integer(char c) {\n }\n \n // We need to check that the character following a zero is valid. This is\n-// probably frequent and it is hard than it looks. We are building all of this\n+// probably frequent and it is harder than it looks. We are building all of this\n // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)...\n const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = {\n 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,\n@@ -8728,162 +9914,6 @@ really_inline bool is_made_of_eight_digits_fast(const char *chars) {\n 0x3333333333333333);\n }\n \n-\n-//\n-// This function computes base * 10 ^ (- negative_exponent ).\n-// It is only even going to be used when negative_exponent is tiny.\n-really_inline double subnormal_power10(double base, int64_t negative_exponent) {\n- // avoid integer overflows in the pow expression, those values would\n- // become zero anyway.\n- if(negative_exponent < -1000) {\n- return 0;\n- }\n-\n- // this is probably not going to be fast\n- return base * 1e-308 * pow(10, negative_exponent + 308);\n-}\n-\n-// called by parse_number when we know that the output is a float,\n-// but where there might be some integer overflow. The trick here is to\n-// parse using floats from the start.\n-// Do not call this function directly as it skips some of the checks from\n-// parse_number\n-//\n-// This function will almost never be called!!!\n-//\n-// Note: a redesign could avoid this function entirely.\n-//\n-never_inline bool parse_float(const uint8_t *const buf, document::parser &parser,\n- const uint32_t offset, bool found_minus) {\n- const char *p = reinterpret_cast(buf + offset);\n- bool negative = false;\n- if (found_minus) {\n- ++p;\n- negative = true;\n- }\n- long double i;\n- if (*p == '0') { // 0 cannot be followed by an integer\n- ++p;\n- i = 0;\n- } else {\n- unsigned char digit = *p - '0';\n- i = digit;\n- p++;\n- while (is_integer(*p)) {\n- digit = *p - '0';\n- i = 10 * i + digit;\n- ++p;\n- }\n- }\n- if ('.' == *p) {\n- ++p;\n- int fractional_weight = 308;\n- if (is_integer(*p)) {\n- unsigned char digit = *p - '0';\n- ++p;\n-\n- fractional_weight--;\n- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight]\n- : 0);\n- } else {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- while (is_integer(*p)) {\n- unsigned char digit = *p - '0';\n- ++p;\n- fractional_weight--;\n- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight]\n- : 0);\n- }\n- }\n- if (('e' == *p) || ('E' == *p)) {\n- ++p;\n- bool neg_exp = false;\n- if ('-' == *p) {\n- neg_exp = true;\n- ++p;\n- } else if ('+' == *p) {\n- ++p;\n- }\n- if (!is_integer(*p)) {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- unsigned char digit = *p - '0';\n- int64_t exp_number = digit; // exponential part\n- p++;\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (is_integer(*p)) {\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- while (is_integer(*p)) {\n- if (exp_number > 0x100000000) { // we need to check for overflows\n-// we refuse to parse this\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- digit = *p - '0';\n- exp_number = 10 * exp_number + digit;\n- ++p;\n- }\n- if (unlikely(exp_number > 308)) {\n- // this path is unlikely\n- if (neg_exp) {\n- // We either have zero or a subnormal.\n- // We expect this to be uncommon so we go through a slow path.\n- i = subnormal_power10(i, -exp_number);\n- } else {\n-// We know for sure that we have a number that is too large,\n-// we refuse to parse this\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- } else {\n- int exponent = (neg_exp ? -exp_number : exp_number);\n- // we have that exp_number is [0,308] so that\n- // exponent is [-308,308] so that\n- // 308 + exponent is in [0, 2 * 308]\n- i *= power_of_ten[308 + exponent];\n- }\n- }\n- if (is_not_structural_or_whitespace(*p)) {\n- return false;\n- }\n- // check that we can go from long double to double safely.\n- if(i > std::numeric_limits::max()) {\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n-#endif\n- return false;\n- }\n- double d = negative ? -i : i;\n- parser.on_number_double(d);\n-#ifdef JSON_TEST_NUMBERS // for unit testing\n- found_float(d, buf + offset);\n-#endif\n- return is_structural_or_whitespace(*p);\n-}\n-\n // called by parse_number when we know that the output is an integer,\n // but where there might be some integer overflow.\n // we want to catch overflows!\n@@ -8892,11 +9922,10 @@ never_inline bool parse_float(const uint8_t *const buf, document::parser &parser\n //\n // This function will almost never be called!!!\n //\n-never_inline bool parse_large_integer(const uint8_t *const buf,\n- document::parser &parser,\n- const uint32_t offset,\n- bool found_minus) {\n- const char *p = reinterpret_cast(buf + offset);\n+never_inline bool parse_large_integer(const uint8_t *const src,\n+ document::parser &parser,\n+ bool found_minus) {\n+ const char *p = reinterpret_cast(src);\n \n bool negative = false;\n if (found_minus) {\n@@ -8917,13 +9946,13 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n digit = *p - '0';\n if (mul_overflow(i, 10, &i)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n }\n if (add_overflow(i, digit, &i)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n }\n@@ -8932,40 +9961,40 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n }\n if (negative) {\n if (i > 0x8000000000000000) {\n- // overflows!\n+ // overflows!\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false; // overflow\n } else if (i == 0x8000000000000000) {\n // In two's complement, we cannot represent 0x8000000000000000\n- // as a positive signed integer, but the negative version is \n+ // as a positive signed integer, but the negative version is\n // possible.\n constexpr int64_t signed_answer = INT64_MIN;\n parser.on_number_s64(signed_answer);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(signed_answer, buf + offset);\n+ found_integer(signed_answer, src);\n #endif\n } else {\n // we can negate safely\n int64_t signed_answer = -static_cast(i);\n parser.on_number_s64(signed_answer);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(signed_answer, buf + offset);\n+ found_integer(signed_answer, src);\n #endif\n }\n } else {\n // we have a positive integer, the contract is that\n- // we try to represent it as a signed integer and only \n+ // we try to represent it as a signed integer and only\n // fallback on unsigned integers if absolutely necessary.\n- if(i < 0x8000000000000000) {\n+ if (i < 0x8000000000000000) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(i, buf + offset);\n+ found_integer(i, src);\n #endif\n parser.on_number_s64(i);\n } else {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_unsigned_integer(i, buf + offset);\n+ found_unsigned_integer(i, src);\n #endif\n parser.on_number_u64(i);\n }\n@@ -8973,7 +10002,22 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n return is_structural_or_whitespace(*p);\n }\n \n-// parse the number at buf + offset\n+bool slow_float_parsing(UNUSED const char * src, document::parser &parser) {\n+ double d;\n+ if (parse_float_strtod(src, &d)) {\n+ parser.on_number_double(d);\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_float(d, (const uint8_t *)src);\n+#endif\n+ return true;\n+ }\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_invalid_number((const uint8_t *)src);\n+#endif\n+ return false;\n+}\n+\n+// parse the number at src\n // define JSON_TEST_NUMBERS for unit testing\n //\n // It is assumed that the number is followed by a structural ({,},],[) character\n@@ -8981,24 +10025,23 @@ never_inline bool parse_large_integer(const uint8_t *const buf,\n // document is made of a single number), then it is necessary to copy the\n // content and append a space before calling this function.\n //\n-// Our objective is accurate parsing (ULP of 0 or 1) at high speed.\n-really_inline bool parse_number(UNUSED const uint8_t *const buf,\n- UNUSED const uint32_t offset,\n+// Our objective is accurate parsing (ULP of 0) at high speed.\n+really_inline bool parse_number(UNUSED const uint8_t *const src,\n UNUSED bool found_minus,\n document::parser &parser) {\n #ifdef SIMDJSON_SKIPNUMBERPARSING // for performance analysis, it is sometimes\n // useful to skip parsing\n- parser.on_number_s64(0); // always write zero\n+ parser.on_number_s64(0); // always write zero\n return true; // always succeeds\n #else\n- const char *p = reinterpret_cast(buf + offset);\n+ const char *p = reinterpret_cast(src);\n bool negative = false;\n if (found_minus) {\n ++p;\n negative = true;\n if (!is_integer(*p)) { // a negative sign must be followed by an integer\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -9010,7 +10053,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n ++p;\n if (is_not_structural_or_whitespace_or_exponent_or_decimal(*p)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -9018,7 +10061,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n } else {\n if (!(is_integer(*p))) { // must start with an integer\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -9053,7 +10096,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n // we will handle the overflow later\n } else {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -9088,7 +10131,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n }\n if (!is_integer(*p)) {\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -9109,7 +10152,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n if (exp_number > 0x100000000) { // we need to check for overflows\n // we refuse to parse this\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_invalid_number(buf + offset);\n+ found_invalid_number(src);\n #endif\n return false;\n }\n@@ -9120,7 +10163,9 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n exponent += (neg_exp ? -exp_number : exp_number);\n }\n if (is_float) {\n- uint64_t power_index = 308 + exponent;\n+ // If we frequently had to deal with long strings of digits,\n+ // we could extend our code by using a 128-bit integer instead\n+ // of a 64-bit integer. However, this is uncommon in practice.\n if (unlikely((digit_count >= 19))) { // this is uncommon\n // It is possible that the integer had an overflow.\n // We have to handle the case where we have 0.0000somenumber.\n@@ -9134,31 +10179,47 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf,\n // Ok, chances are good that we had an overflow!\n // this is almost never going to get called!!!\n // we start anew, going slowly!!!\n- return parse_float(buf, parser, offset, found_minus);\n+ // This will happen in the following examples:\n+ // 10000000000000000000000000000000000000000000e+308\n+ // 3.1415926535897932384626433832795028841971693993751\n+ //\n+ return slow_float_parsing((const char *) src, parser);\n }\n }\n- if (unlikely((power_index > 2 * 308))) { // this is uncommon!!!\n+ if (unlikely(exponent < FASTFLOAT_SMALLEST_POWER) ||\n+ (exponent > FASTFLOAT_LARGEST_POWER)) { // this is uncommon!!!\n // this is almost never going to get called!!!\n // we start anew, going slowly!!!\n- return parse_float(buf, parser, offset, found_minus);\n+ return slow_float_parsing((const char *) src, parser);\n }\n- double factor = power_of_ten[power_index];\n- factor = negative ? -factor : factor;\n- double d = i * factor;\n- parser.on_number_double(d);\n+ bool success = true;\n+ double d = compute_float_64(exponent, i, negative, &success);\n+ if (!success) {\n+ // we are almost never going to get here.\n+ success = parse_float_strtod((const char *)src, &d);\n+ }\n+ if (success) {\n+ parser.on_number_double(d);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_float(d, buf + offset);\n+ found_float(d, src);\n #endif\n+ return true;\n+ } else {\n+#ifdef JSON_TEST_NUMBERS // for unit testing\n+ found_invalid_number(src);\n+#endif\n+ return false;\n+ }\n } else {\n if (unlikely(digit_count >= 18)) { // this is uncommon!!!\n // there is a good chance that we had an overflow, so we need\n // need to recover: we parse the whole thing again.\n- return parse_large_integer(buf, parser, offset, found_minus);\n+ return parse_large_integer(src, parser, found_minus);\n }\n i = negative ? 0 - i : i;\n parser.on_number_s64(i);\n #ifdef JSON_TEST_NUMBERS // for unit testing\n- found_integer(i, buf + offset);\n+ found_integer(i, src);\n #endif\n }\n return is_structural_or_whitespace(*p);\n@@ -9180,6 +10241,57 @@ UNTARGET_REGION\n TARGET_WESTMERE\n namespace simdjson::westmere {\n \n+/* begin file src/generic/atomparsing.h */\n+namespace atomparsing {\n+\n+really_inline uint32_t string_to_uint32(const char* str) { return *reinterpret_cast(str); }\n+\n+WARN_UNUSED\n+really_inline bool str4ncmp(const uint8_t *src, const char* atom) {\n+ uint32_t srcval; // we want to avoid unaligned 64-bit loads (undefined in C/C++)\n+ static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING);\n+ std::memcpy(&srcval, src, sizeof(uint32_t));\n+ return srcval ^ string_to_uint32(atom);\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_true_atom(const uint8_t *src) {\n+ return (str4ncmp(src, \"true\") | is_not_structural_or_whitespace(src[4])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_true_atom(const uint8_t *src, size_t len) {\n+ if (len > 4) { return is_valid_true_atom(src); }\n+ else if (len == 4) { return !str4ncmp(src, \"true\"); }\n+ else { return false; }\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_false_atom(const uint8_t *src) {\n+ return (str4ncmp(src+1, \"alse\") | is_not_structural_or_whitespace(src[5])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_false_atom(const uint8_t *src, size_t len) {\n+ if (len > 5) { return is_valid_false_atom(src); }\n+ else if (len == 5) { return !str4ncmp(src+1, \"alse\"); }\n+ else { return false; }\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_null_atom(const uint8_t *src) {\n+ return (str4ncmp(src, \"null\") | is_not_structural_or_whitespace(src[4])) == 0;\n+}\n+\n+WARN_UNUSED\n+really_inline bool is_valid_null_atom(const uint8_t *src, size_t len) {\n+ if (len > 4) { return is_valid_null_atom(src); }\n+ else if (len == 4) { return !str4ncmp(src, \"null\"); }\n+ else { return false; }\n+}\n+\n+} // namespace atomparsing\n+/* end file src/generic/atomparsing.h */\n /* begin file src/generic/stage2_build_tape.h */\n // This file contains the common code every implementation uses for stage2\n // It is intended to be included multiple times and compiled multiple times\n@@ -9230,28 +10342,25 @@ struct unified_machine_addresses {\n #undef FAIL_IF\n #define FAIL_IF(EXPR) { if (EXPR) { return addresses.error; } }\n \n-struct structural_parser {\n- const uint8_t* const buf;\n- const size_t len;\n- document::parser &doc_parser;\n- size_t i; // next structural index\n- size_t idx; // location of the structural character in the input (buf)\n- uint8_t c; // used to track the (structural) character we are looking at\n- uint32_t depth = 0; // could have an arbitrary starting depth\n-\n- really_inline structural_parser(\n- const uint8_t *_buf,\n- size_t _len,\n- document::parser &_doc_parser,\n- uint32_t _i = 0\n- ) : buf{_buf}, len{_len}, doc_parser{_doc_parser}, i{_i} {}\n-\n+class structural_iterator {\n+public:\n+ really_inline structural_iterator(const uint8_t* _buf, size_t _len, const uint32_t *_structural_indexes, size_t next_structural_index)\n+ : buf{_buf}, len{_len}, structural_indexes{_structural_indexes}, next_structural{next_structural_index} {}\n really_inline char advance_char() {\n- idx = doc_parser.structural_indexes[i++];\n- c = buf[idx];\n+ idx = structural_indexes[next_structural];\n+ next_structural++;\n+ c = *current();\n return c;\n }\n-\n+ really_inline char current_char() {\n+ return c;\n+ }\n+ really_inline const uint8_t* current() {\n+ return &buf[idx];\n+ }\n+ really_inline size_t remaining_len() {\n+ return len - idx;\n+ }\n template\n really_inline bool with_space_terminated_copy(const F& f) {\n /**\n@@ -9277,6 +10386,36 @@ struct structural_parser {\n free(copy);\n return result;\n }\n+ really_inline bool past_end(uint32_t n_structural_indexes) {\n+ return next_structural+1 > n_structural_indexes;\n+ }\n+ really_inline bool at_end(uint32_t n_structural_indexes) {\n+ return next_structural+1 == n_structural_indexes;\n+ }\n+ really_inline size_t next_structural_index() {\n+ return next_structural;\n+ }\n+\n+private:\n+ const uint8_t* const buf;\n+ const size_t len;\n+ const uint32_t* const structural_indexes;\n+ size_t next_structural; // next structural index\n+ size_t idx; // location of the structural character in the input (buf)\n+ uint8_t c; // used to track the (structural) character we are looking at\n+};\n+\n+struct structural_parser {\n+ structural_iterator structurals;\n+ document::parser &doc_parser;\n+ uint32_t depth;\n+\n+ really_inline structural_parser(\n+ const uint8_t *buf,\n+ size_t len,\n+ document::parser &_doc_parser,\n+ uint32_t next_structural = 0\n+ ) : structurals(buf, len, _doc_parser.structural_indexes.get(), next_structural), doc_parser{_doc_parser}, depth{0} {}\n \n WARN_UNUSED really_inline bool start_document(ret_address continue_state) {\n doc_parser.on_start_document(depth);\n@@ -9317,32 +10456,32 @@ struct structural_parser {\n \n WARN_UNUSED really_inline bool parse_string() {\n uint8_t *dst = doc_parser.on_start_string();\n- dst = stringparsing::parse_string(buf, idx, dst);\n+ dst = stringparsing::parse_string(structurals.current(), dst);\n if (dst == nullptr) {\n return true;\n }\n return !doc_parser.on_end_string(dst);\n }\n \n- WARN_UNUSED really_inline bool parse_number(const uint8_t *copy, uint32_t offset, bool found_minus) {\n- return !numberparsing::parse_number(copy, offset, found_minus, doc_parser);\n+ WARN_UNUSED really_inline bool parse_number(const uint8_t *src, bool found_minus) {\n+ return !numberparsing::parse_number(src, found_minus, doc_parser);\n }\n WARN_UNUSED really_inline bool parse_number(bool found_minus) {\n- return parse_number(buf, idx, found_minus);\n+ return parse_number(structurals.current(), found_minus);\n }\n \n- WARN_UNUSED really_inline bool parse_atom(const uint8_t *copy, uint32_t offset) {\n- switch (c) {\n+ WARN_UNUSED really_inline bool parse_atom() {\n+ switch (structurals.current_char()) {\n case 't':\n- if (!is_valid_true_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_true_atom(structurals.current())) { return true; }\n doc_parser.on_true_atom();\n break;\n case 'f':\n- if (!is_valid_false_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_false_atom(structurals.current())) { return true; }\n doc_parser.on_false_atom();\n break;\n case 'n':\n- if (!is_valid_null_atom(copy + offset)) { return true; }\n+ if (!atomparsing::is_valid_null_atom(structurals.current())) { return true; }\n doc_parser.on_null_atom();\n break;\n default:\n@@ -9351,12 +10490,28 @@ struct structural_parser {\n return false;\n }\n \n- WARN_UNUSED really_inline bool parse_atom() {\n- return parse_atom(buf, idx);\n+ WARN_UNUSED really_inline bool parse_single_atom() {\n+ switch (structurals.current_char()) {\n+ case 't':\n+ if (!atomparsing::is_valid_true_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_true_atom();\n+ break;\n+ case 'f':\n+ if (!atomparsing::is_valid_false_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_false_atom();\n+ break;\n+ case 'n':\n+ if (!atomparsing::is_valid_null_atom(structurals.current(), structurals.remaining_len())) { return true; }\n+ doc_parser.on_null_atom();\n+ break;\n+ default:\n+ return true;\n+ }\n+ return false;\n }\n \n WARN_UNUSED really_inline ret_address parse_value(const unified_machine_addresses &addresses, ret_address continue_state) {\n- switch (c) {\n+ switch (structurals.current_char()) {\n case '\"':\n FAIL_IF( parse_string() );\n return continue_state;\n@@ -9383,7 +10538,7 @@ struct structural_parser {\n \n WARN_UNUSED really_inline error_code finish() {\n // the string might not be NULL terminated.\n- if ( i + 1 != doc_parser.n_structural_indexes ) {\n+ if ( !structurals.at_end(doc_parser.n_structural_indexes) ) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n end_document();\n@@ -9411,7 +10566,7 @@ struct structural_parser {\n if (depth >= doc_parser.max_depth()) {\n return doc_parser.on_error(DEPTH_ERROR);\n }\n- switch (c) {\n+ switch (structurals.current_char()) {\n case '\"':\n return doc_parser.on_error(STRING_ERROR);\n case '0':\n@@ -9437,19 +10592,23 @@ struct structural_parser {\n }\n }\n \n- WARN_UNUSED really_inline error_code start(ret_address finish_state) {\n+ WARN_UNUSED really_inline error_code start(size_t len, ret_address finish_state) {\n doc_parser.init_stage2(); // sets is_valid to false\n if (len > doc_parser.capacity()) {\n return CAPACITY;\n }\n // Advance to the first character as soon as possible\n- advance_char();\n+ structurals.advance_char();\n // Push the root scope (there is always at least one scope)\n if (start_document(finish_state)) {\n return doc_parser.on_error(DEPTH_ERROR);\n }\n return SUCCESS;\n }\n+\n+ really_inline char advance_char() {\n+ return structurals.advance_char();\n+ }\n };\n \n // Redefine FAIL_IF to use goto since it'll be used inside the function now\n@@ -9465,13 +10624,13 @@ struct structural_parser {\n WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser) const noexcept {\n static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES();\n stage2::structural_parser parser(buf, len, doc_parser);\n- error_code result = parser.start(addresses.finish);\n+ error_code result = parser.start(len, addresses.finish);\n if (result) { return result; }\n \n //\n // Read first value\n //\n- switch (parser.c) {\n+ switch (parser.structurals.current_char()) {\n case '{':\n FAIL_IF( parser.start_object(addresses.finish) );\n goto object_begin;\n@@ -9482,24 +10641,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n FAIL_IF( parser.parse_string() );\n goto finish;\n case 't': case 'f': case 'n':\n- FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_atom(copy, idx);\n- })\n- );\n+ FAIL_IF( parser.parse_single_atom() );\n goto finish;\n case '0': case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, false);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], false);\n })\n );\n goto finish;\n case '-':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, true);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], true);\n })\n );\n goto finish;\n@@ -9511,8 +10666,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n // Object parser states\n //\n object_begin:\n- parser.advance_char();\n- switch (parser.c) {\n+ switch (parser.advance_char()) {\n case '\"': {\n FAIL_IF( parser.parse_string() );\n goto object_key_state;\n@@ -9593,7 +10747,7 @@ struct streaming_structural_parser: structural_parser {\n really_inline streaming_structural_parser(const uint8_t *_buf, size_t _len, document::parser &_doc_parser, size_t _i) : structural_parser(_buf, _len, _doc_parser, _i) {}\n \n // override to add streaming\n- WARN_UNUSED really_inline error_code start(ret_address finish_parser) {\n+ WARN_UNUSED really_inline error_code start(UNUSED size_t len, ret_address finish_parser) {\n doc_parser.init_stage2(); // sets is_valid to false\n // Capacity ain't no thang for streaming, so we don't check it.\n // Advance to the first character as soon as possible\n@@ -9607,7 +10761,7 @@ struct streaming_structural_parser: structural_parser {\n \n // override to add streaming\n WARN_UNUSED really_inline error_code finish() {\n- if ( i + 1 > doc_parser.n_structural_indexes ) {\n+ if ( structurals.past_end(doc_parser.n_structural_indexes) ) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n end_document();\n@@ -9617,7 +10771,7 @@ struct streaming_structural_parser: structural_parser {\n if (doc_parser.containing_scope_offset[depth] != 0) {\n return doc_parser.on_error(TAPE_ERROR);\n }\n- bool finished = i + 1 == doc_parser.n_structural_indexes;\n+ bool finished = structurals.at_end(doc_parser.n_structural_indexes);\n return doc_parser.on_success(finished ? SUCCESS : SUCCESS_AND_HAS_MORE);\n }\n };\n@@ -9631,12 +10785,12 @@ struct streaming_structural_parser: structural_parser {\n WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser, size_t &next_json) const noexcept {\n static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES();\n stage2::streaming_structural_parser parser(buf, len, doc_parser, next_json);\n- error_code result = parser.start(addresses.finish);\n+ error_code result = parser.start(len, addresses.finish);\n if (result) { return result; }\n //\n // Read first value\n //\n- switch (parser.c) {\n+ switch (parser.structurals.current_char()) {\n case '{':\n FAIL_IF( parser.start_object(addresses.finish) );\n goto object_begin;\n@@ -9647,24 +10801,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n FAIL_IF( parser.parse_string() );\n goto finish;\n case 't': case 'f': case 'n':\n- FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_atom(copy, idx);\n- })\n- );\n+ FAIL_IF( parser.parse_single_atom() );\n goto finish;\n case '0': case '1': case '2': case '3': case '4':\n case '5': case '6': case '7': case '8': case '9':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, false);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], false);\n })\n );\n goto finish;\n case '-':\n FAIL_IF(\n- parser.with_space_terminated_copy([&](auto copy, auto idx) {\n- return parser.parse_number(copy, idx, true);\n+ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) {\n+ return parser.parse_number(©[idx], true);\n })\n );\n goto finish;\n@@ -9676,8 +10826,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n // Object parser parsers\n //\n object_begin:\n- parser.advance_char();\n- switch (parser.c) {\n+ switch (parser.advance_char()) {\n case '\"': {\n FAIL_IF( parser.parse_string() );\n goto object_key_parser;\n@@ -9737,7 +10886,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do\n }\n \n finish:\n- next_json = parser.i;\n+ next_json = parser.structurals.next_structural_index();\n return parser.finish();\n \n error:\ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex 9d0454ff..1aa6507b 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -1,4 +1,4 @@\n-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */\n+/* auto-generated on Thu Jul 2 17:33:51 UTC 2026. Do not edit! */\n /* begin file include/simdjson.h */\n #ifndef SIMDJSON_H\n #define SIMDJSON_H\n@@ -32,14 +32,27 @@\n // do not change by hand\n #ifndef SIMDJSON_SIMDJSON_VERSION_H\n #define SIMDJSON_SIMDJSON_VERSION_H\n+\n+/** The version of simdjson being used (major.minor.revision) */\n #define SIMDJSON_VERSION 0.2.1\n+\n namespace simdjson {\n enum {\n+ /**\n+ * The major version (MAJOR.minor.revision) of simdjson being used.\n+ */\n SIMDJSON_VERSION_MAJOR = 0,\n+ /**\n+ * The minor version (major.MINOR.revision) of simdjson being used.\n+ */\n SIMDJSON_VERSION_MINOR = 2,\n+ /**\n+ * The revision (major.minor.REVISION) of simdjson being used.\n+ */\n SIMDJSON_VERSION_REVISION = 1\n };\n-}\n+} // namespace simdjson\n+\n #endif // SIMDJSON_SIMDJSON_VERSION_H\n /* end file include/simdjson/simdjson_version.h */\n /* begin file include/simdjson/error.h */\n@@ -50,50 +63,125 @@ enum {\n \n namespace simdjson {\n \n+/**\n+ * All possible errors returned by simdjson.\n+ */\n enum error_code {\n- SUCCESS = 0,\n- SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data\n- CAPACITY, // This parser can't support a document that big\n- MEMALLOC, // Error allocating memory, most likely out of memory\n- TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this\n- // is a generic error\n- DEPTH_ERROR, // Your document exceeds the user-specified depth limitation\n- STRING_ERROR, // Problem while parsing a string\n- T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't'\n- F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f'\n- N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n'\n- NUMBER_ERROR, // Problem while parsing a number\n- UTF8_ERROR, // the input is not valid UTF-8\n- UNINITIALIZED, // unknown error, or uninitialized document\n- EMPTY, // no structural element found\n- UNESCAPED_CHARS, // found unescaped characters in a string.\n- UNCLOSED_STRING, // missing quote at the end\n- UNSUPPORTED_ARCHITECTURE, // unsupported architecture\n- INCORRECT_TYPE, // JSON element has a different type than user expected\n- NUMBER_OUT_OF_RANGE, // JSON number does not fit in 64 bits\n- NO_SUCH_FIELD, // JSON field not found in object\n- UNEXPECTED_ERROR // indicative of a bug in simdjson\n+ SUCCESS = 0, ///< No error\n+ SUCCESS_AND_HAS_MORE, ///< No error and buffer still has more data\n+ CAPACITY, ///< This parser can't support a document that big\n+ MEMALLOC, ///< Error allocating memory, most likely out of memory\n+ TAPE_ERROR, ///< Something went wrong while writing to the tape (stage 2), this is a generic error\n+ DEPTH_ERROR, ///< Your document exceeds the user-specified depth limitation\n+ STRING_ERROR, ///< Problem while parsing a string\n+ T_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 't'\n+ F_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'f'\n+ N_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'n'\n+ NUMBER_ERROR, ///< Problem while parsing a number\n+ UTF8_ERROR, ///< the input is not valid UTF-8\n+ UNINITIALIZED, ///< unknown error, or uninitialized document\n+ EMPTY, ///< no structural element found\n+ UNESCAPED_CHARS, ///< found unescaped characters in a string.\n+ UNCLOSED_STRING, ///< missing quote at the end\n+ UNSUPPORTED_ARCHITECTURE, ///< unsupported architecture\n+ INCORRECT_TYPE, ///< JSON element has a different type than user expected\n+ NUMBER_OUT_OF_RANGE, ///< JSON number does not fit in 64 bits\n+ NO_SUCH_FIELD, ///< JSON field not found in object\n+ IO_ERROR, ///< Error reading a file\n+ UNEXPECTED_ERROR, ///< indicative of a bug in simdjson\n+ /** @private Number of error codes */\n+ NUM_ERROR_CODES\n };\n \n-const std::string &error_message(error_code error) noexcept;\n+/**\n+ * Get the error message for the given error code.\n+ *\n+ * auto [doc, error] = document::parse(\"foo\");\n+ * if (error) { printf(\"Error: %s\\n\", error_message(error)); }\n+ *\n+ * @return The error message.\n+ */\n+inline const char *error_message(error_code error) noexcept;\n+\n+/**\n+ * Write the error message to the output stream\n+ */\n+inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept;\n+\n+#if __cpp_exceptions\n+/**\n+ * Exception thrown when an exception-supporting simdjson method is called\n+ */\n+struct simdjson_error : public std::exception {\n+ /**\n+ * Create an exception from a simdjson error code.\n+ * @param error The error code\n+ */\n+ simdjson_error(error_code error) noexcept : _error{error} { }\n+ /** The error message */\n+ const char *what() const noexcept { return error_message(error()); }\n+ error_code error() const noexcept { return _error; }\n+private:\n+ /** The error code that was used */\n+ error_code _error;\n+};\n+#endif\n \n-struct invalid_json : public std::exception {\n- invalid_json(error_code _error) : error{_error} { }\n- const char *what() const noexcept { return error_message(error); }\n+/**\n+ * The result of a simd operation that could fail.\n+ *\n+ * Gives the option of reading error codes, or throwing an exception by casting to the desired result.\n+ */\n+template\n+struct simdjson_result {\n+ /**\n+ * The value of the function.\n+ *\n+ * Undefined if error is true.\n+ */\n+ T value;\n+ /**\n+ * The error.\n+ */\n error_code error;\n+#if __cpp_exceptions\n+ /**\n+ * Cast to the value (will throw on error).\n+ *\n+ * @throw simdjson_error if there was an error.\n+ */\n+ operator T() noexcept(false) {\n+ if (error) { throw simdjson_error(error); }\n+ return std::move(value);\n+ }\n+#endif\n+ /**\n+ * Create a new error result.\n+ */\n+ simdjson_result(error_code _error) noexcept : value{}, error{_error} {}\n+ /**\n+ * Create a new successful result.\n+ */\n+ simdjson_result(T _value) noexcept : value{std::move(_value)}, error{SUCCESS} {}\n };\n \n-// TODO these are deprecated, remove\n+/**\n+ * @deprecated This is an alias and will be removed, use error_code instead\n+ */\n using ErrorValues = error_code;\n-inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); }\n+\n+/**\n+ * @deprecated Error codes should be stored and returned as `error_code`, use `error_message()` instead.\n+ */\n+inline const std::string &error_message(int error) noexcept;\n \n } // namespace simdjson\n \n #endif // SIMDJSON_ERROR_H\n /* end file include/simdjson/error.h */\n /* begin file include/simdjson/padded_string.h */\n-#ifndef SIMDJSON_PADDING_STRING_H\n-#define SIMDJSON_PADDING_STRING_H\n+#ifndef SIMDJSON_PADDED_STRING_H\n+#define SIMDJSON_PADDED_STRING_H\n /* begin file include/simdjson/portability.h */\n #ifndef SIMDJSON_PORTABILITY_H\n #define SIMDJSON_PORTABILITY_H\n@@ -221,14 +309,29 @@ static inline void aligned_free_char(char *mem_block) {\n \n #include \n \n-// we support documents up to 4GB\n-#define SIMDJSON_MAXSIZE_BYTES 0xFFFFFFFF\n+namespace simdjson {\n+\n+/** The maximum document size supported by simdjson. */\n+constexpr size_t SIMDJSON_MAXSIZE_BYTES = 0xFFFFFFFF;\n+\n+/**\n+ * The amount of padding needed in a buffer to parse JSON.\n+ *\n+ * the input buf should be readable up to buf + SIMDJSON_PADDING\n+ * this is a stopgap; there should be a better description of the\n+ * main loop and its behavior that abstracts over this\n+ * See https://github.com/lemire/simdjson/issues/174\n+ */\n+constexpr size_t SIMDJSON_PADDING = 32;\n+\n+/**\n+ * By default, simdjson supports this many nested objects and arrays.\n+ *\n+ * This is the default for document::parser::max_depth().\n+ */\n+constexpr size_t DEFAULT_MAX_DEPTH = 1024;\n \n-// the input buf should be readable up to buf + SIMDJSON_PADDING\n-// this is a stopgap; there should be a better description of the\n-// main loop and its behavior that abstracts over this\n-// See https://github.com/lemire/simdjson/issues/174\n-#define SIMDJSON_PADDING 32\n+} // namespace simdjson\n \n #if defined(__GNUC__)\n // Marks a block with a name so that MCA analysis can see it.\n@@ -293,98 +396,93 @@ static inline void aligned_free_char(char *mem_block) {\n #include \n #include \n \n-\n namespace simdjson {\n-// low-level function to allocate memory with padding so we can read past the\n-// \"length\" bytes safely. if you must provide a pointer to some data, create it\n-// with this function: length is the max. size in bytes of the string caller is\n-// responsible to free the memory (free(...))\n-inline char *allocate_padded_buffer(size_t length) noexcept {\n- // we could do a simple malloc\n- // return (char *) malloc(length + SIMDJSON_PADDING);\n- // However, we might as well align to cache lines...\n- size_t totalpaddedlength = length + SIMDJSON_PADDING;\n- char *padded_buffer = aligned_malloc_char(64, totalpaddedlength);\n-#ifndef NDEBUG\n- if (padded_buffer == nullptr) {\n- return nullptr;\n- }\n-#endif // NDEBUG\n- memset(padded_buffer + length, 0, totalpaddedlength - length);\n- return padded_buffer;\n-} // allocate_padded_buffer\n \n-// Simple string with padded allocation.\n-// We deliberately forbid copies, users should rely on swap or move\n-// constructors.\n+/**\n+ * String with extra allocation for ease of use with document::parser::parse()\n+ *\n+ * This is a move-only class, it cannot be copied.\n+ */\n struct padded_string final {\n \n- explicit padded_string() noexcept : viable_size(0), data_ptr(nullptr) {}\n-\n- explicit padded_string(size_t length) noexcept\n- : viable_size(length), data_ptr(allocate_padded_buffer(length)) {\n- if (data_ptr != nullptr)\n- data_ptr[length] = '\\0'; // easier when you need a c_str\n- }\n-\n- explicit padded_string(const char *data, size_t length) noexcept\n- : viable_size(length), data_ptr(allocate_padded_buffer(length)) {\n- if ((data != nullptr) and (data_ptr != nullptr)) {\n- memcpy(data_ptr, data, length);\n- data_ptr[length] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- // note: do not pass std::string arguments by value\n- padded_string(const std::string & str_ ) noexcept\n- : viable_size(str_.size()), data_ptr(allocate_padded_buffer(str_.size())) {\n- if (data_ptr != nullptr) {\n- memcpy(data_ptr, str_.data(), str_.size());\n- data_ptr[str_.size()] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- // note: do pass std::string_view arguments by value\n- padded_string(std::string_view sv_) noexcept\n- : viable_size(sv_.size()), data_ptr(allocate_padded_buffer(sv_.size())) {\n- if (data_ptr != nullptr) {\n- memcpy(data_ptr, sv_.data(), sv_.size());\n- data_ptr[sv_.size()] = '\\0'; // easier when you need a c_str\n- }\n- }\n-\n- padded_string(padded_string &&o) noexcept\n- : viable_size(o.viable_size), data_ptr(o.data_ptr) {\n- o.data_ptr = nullptr; // we take ownership\n- }\n-\n- padded_string &operator=(padded_string &&o) {\n- aligned_free_char(data_ptr);\n- data_ptr = o.data_ptr;\n- viable_size = o.viable_size;\n- o.data_ptr = nullptr; // we take ownership\n- o.viable_size = 0;\n- return *this;\n- }\n+ /**\n+ * Create a new, empty padded string.\n+ */\n+ explicit inline padded_string() noexcept;\n+ /**\n+ * Create a new padded string buffer.\n+ *\n+ * @param length the size of the string.\n+ */\n+ explicit inline padded_string(size_t length) noexcept;\n+ /**\n+ * Create a new padded string by copying the given input.\n+ *\n+ * @param data the buffer to copy\n+ * @param length the number of bytes to copy\n+ */\n+ explicit inline padded_string(const char *data, size_t length) noexcept;\n+ /**\n+ * Create a new padded string by copying the given input.\n+ *\n+ * @param str_ the string to copy\n+ */\n+ inline padded_string(const std::string & str_ ) noexcept;\n+ /**\n+ * Create a new padded string by copying the given input.\n+ *\n+ * @param str_ the string to copy\n+ */\n+ inline padded_string(std::string_view sv_) noexcept;\n+ /**\n+ * Move one padded string into another.\n+ *\n+ * The original padded string will be reduced to zero capacity.\n+ *\n+ * @param o the string to move.\n+ */\n+ inline padded_string(padded_string &&o) noexcept;\n+ /**\n+ * Move one padded string into another.\n+ *\n+ * The original padded string will be reduced to zero capacity.\n+ *\n+ * @param o the string to move.\n+ */\n+ inline padded_string &operator=(padded_string &&o) noexcept;\n+ inline void swap(padded_string &o) noexcept;\n+ ~padded_string() noexcept;\n \n- void swap(padded_string &o) {\n- size_t tmp_viable_size = viable_size;\n- char *tmp_data_ptr = data_ptr;\n- viable_size = o.viable_size;\n- data_ptr = o.data_ptr;\n- o.data_ptr = tmp_data_ptr;\n- o.viable_size = tmp_viable_size;\n- }\n+ /**\n+ * The length of the string.\n+ *\n+ * Does not include padding.\n+ */\n+ size_t size() const noexcept;\n \n- ~padded_string() {\n- aligned_free_char(data_ptr);\n- }\n+ /**\n+ * The length of the string.\n+ *\n+ * Does not include padding.\n+ */\n+ size_t length() const noexcept;\n \n- size_t size() const { return viable_size; }\n+ /**\n+ * The string data.\n+ **/\n+ const char *data() const noexcept;\n \n- size_t length() const { return viable_size; }\n+ /**\n+ * The string data.\n+ **/\n+ char *data() noexcept;\n \n- char *data() const { return data_ptr; }\n+ /**\n+ * Load this padded string from a file.\n+ *\n+ * @param path the path to the file.\n+ **/\n+ inline static simdjson_result load(const std::string &path) noexcept;\n \n private:\n padded_string &operator=(const padded_string &o) = delete;\n@@ -397,7 +495,17 @@ private:\n \n } // namespace simdjson\n \n-#endif\n+namespace simdjson::internal {\n+\n+// low-level function to allocate memory with padding so we can read past the\n+// \"length\" bytes safely. if you must provide a pointer to some data, create it\n+// with this function: length is the max. size in bytes of the string caller is\n+// responsible to free the memory (free(...))\n+inline char *allocate_padded_buffer(size_t length) noexcept;\n+\n+} // namespace simdjson::internal;\n+\n+#endif // SIMDJSON_PADDED_STRING_H\n /* end file include/simdjson/common_defs.h */\n /* begin file include/simdjson/implementation.h */\n #ifndef SIMDJSON_IMPLEMENTATION_H\n@@ -415,6 +523,7 @@ private:\n #include \n #include \n #include \n+#include \n /* begin file include/simdjson/simdjson.h */\n /**\n * @file\n@@ -427,11 +536,12 @@ private:\n #endif // SIMDJSON_H\n /* end file include/simdjson/simdjson.h */\n \n-#define JSON_VALUE_MASK 0x00FFFFFFFFFFFFFF\n-#define DEFAULT_MAX_DEPTH 1024 // a JSON document with a depth exceeding 1024 is probably de facto invalid\n-\n namespace simdjson {\n \n+namespace internal {\n+ constexpr const uint64_t JSON_VALUE_MASK = 0x00FFFFFFFFFFFFFF;\n+}\n+\n template class document_iterator;\n \n /**\n@@ -464,17 +574,22 @@ public:\n document &operator=(document &&other) noexcept = default;\n document &operator=(const document &) = delete; // Disallow copying\n \n+ /** The default batch size for parse_many and load_many */\n+ static constexpr size_t DEFAULT_BATCH_SIZE = 1000000;\n+\n // Nested classes\n class element;\n class array;\n class object;\n class key_value_pair;\n class parser;\n+ class stream;\n \n template\n class element_result;\n class doc_result;\n class doc_ref_result;\n+ class stream_result;\n \n // Nested classes. See definitions later in file.\n using iterator = document_iterator;\n@@ -495,20 +610,22 @@ public:\n * Get the root element of this document.\n */\n operator element() const noexcept;\n+#if __cpp_exceptions\n /**\n * Read the root element of this document as a JSON array.\n *\n * @return The JSON array.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array\n */\n operator array() const noexcept(false);\n /**\n * Read this element as a JSON object (key/value pairs).\n *\n * @return The JSON object.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object\n */\n operator object() const noexcept(false);\n+#endif\n \n /**\n * Get the value associated with the given key.\n@@ -538,20 +655,31 @@ public:\n element_result operator[](const char *s) const noexcept;\n \n /**\n- * Print this JSON to a std::ostream.\n+ * Dump the raw tape for debugging.\n *\n * @param os the stream to output to.\n- * @param max_depth the maximum JSON depth to output.\n * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON).\n */\n- bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const noexcept;\n+ bool dump_raw_tape(std::ostream &os) const noexcept;\n+\n /**\n- * Dump the raw tape for debugging.\n+ * Load a JSON document from a file and return it.\n *\n- * @param os the stream to output to.\n- * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON).\n+ * document doc = document::load(\"jsonexamples/twitter.json\");\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than the file length, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param path The path to load.\n+ * @return The document, or an error:\n+ * - IO_ERROR if there was an error opening or reading the file.\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n- bool dump_raw_tape(std::ostream &os) const noexcept;\n+ inline static doc_result load(const std::string& path) noexcept;\n \n /**\n * Parse a JSON document and return a reference to it.\n@@ -615,7 +743,9 @@ public:\n private:\n class tape_ref;\n enum class tape_type;\n- bool set_capacity(size_t len);\n+ inline error_code set_capacity(size_t len) noexcept;\n+ template\n+ friend class minify;\n }; // class document\n \n /**\n@@ -651,18 +781,42 @@ public:\n */\n error_code error;\n \n+#if __cpp_exceptions\n /**\n * Return the document, or throw an exception if it is invalid.\n *\n * @return the document.\n- * @exception invalid_json if the document is invalid or there was an error parsing it.\n+ * @exception simdjson_error if the document is invalid or there was an error parsing it.\n */\n operator document() noexcept(false);\n+#endif\n \n /**\n- * Get the error message for the error.\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n+ */\n+ inline element_result operator[](const std::string_view &key) const noexcept;\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n */\n- const std::string &get_error_message() const noexcept;\n+ inline element_result operator[](const char *key) const noexcept;\n \n ~doc_result() noexcept=default;\n \n@@ -715,24 +869,50 @@ public:\n */\n error_code error;\n \n+#if __cpp_exceptions\n /**\n * A reference to the document, or throw an exception if it is invalid.\n *\n * @return the document.\n- * @exception invalid_json if the document is invalid or there was an error parsing it.\n+ * @exception simdjson_error if the document is invalid or there was an error parsing it.\n */\n operator document&() noexcept(false);\n+#endif\n+\n+ /**\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n+ */\n+ inline element_result operator[](const std::string_view &key) const noexcept;\n \n /**\n- * Get the error message for the error.\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n+ *\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].as_uint64_t().value == 1\n+ * document::parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].as_uint64_t().error == NO_SUCH_FIELD\n+ *\n+ * @return The value associated with this field, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n+ * - UNEXPECTED_TYPE if the document is not an object\n */\n- const std::string &get_error_message() const noexcept;\n+ inline element_result operator[](const char *key) const noexcept;\n \n ~doc_ref_result()=default;\n \n private:\n doc_ref_result(document &_doc, error_code _error) noexcept;\n friend class document::parser;\n+ friend class document::stream;\n }; // class document::doc_ref_result\n \n /**\n@@ -765,6 +945,7 @@ protected:\n really_inline uint64_t tape_value() const noexcept;\n template\n really_inline T next_tape_value() const noexcept;\n+ inline std::string_view get_string_view() const noexcept;\n \n /** The document this element references. */\n const document *doc;\n@@ -773,6 +954,8 @@ protected:\n size_t json_index;\n \n friend class document::key_value_pair;\n+ template\n+ friend class minify;\n };\n \n /**\n@@ -870,11 +1053,12 @@ public:\n */\n inline element_result as_object() const noexcept;\n \n+#if __cpp_exceptions\n /**\n * Read this element as a boolean.\n *\n * @return The boolean value\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a boolean.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a boolean.\n */\n inline operator bool() const noexcept(false);\n \n@@ -885,7 +1069,7 @@ public:\n * an actual string.\n *\n * @return The string value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string.\n */\n inline explicit operator const char*() const noexcept(false);\n \n@@ -896,7 +1080,7 @@ public:\n * an actual string.\n *\n * @return The string value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string.\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string.\n */\n inline operator std::string_view() const noexcept(false);\n \n@@ -904,40 +1088,41 @@ public:\n * Read this element as an unsigned integer.\n *\n * @return The integer value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n */\n inline operator uint64_t() const noexcept(false);\n /**\n- * Read this element as an signed integer.\n+ * Read this element as a signed integer.\n *\n * @return The integer value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits\n */\n inline operator int64_t() const noexcept(false);\n /**\n- * Read this element as an double.\n+ * Read this element as a double.\n *\n * @return The double value.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a number\n- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a number\n+ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative\n */\n inline operator double() const noexcept(false);\n /**\n * Read this element as a JSON array.\n *\n * @return The JSON array.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array\n */\n inline operator document::array() const noexcept(false);\n /**\n * Read this element as a JSON object (key/value pairs).\n *\n * @return The JSON object.\n- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object\n+ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object\n */\n inline operator document::object() const noexcept(false);\n+#endif\n \n /**\n * Get the value associated with the given key.\n@@ -952,6 +1137,7 @@ public:\n * - UNEXPECTED_TYPE if the document is not an object\n */\n inline element_result operator[](const std::string_view &s) const noexcept;\n+\n /**\n * Get the value associated with the given key.\n *\n@@ -972,6 +1158,8 @@ private:\n friend class document;\n template\n friend class document::element_result;\n+ template\n+ friend class minify;\n };\n \n /**\n@@ -1021,6 +1209,8 @@ private:\n friend class document::element;\n template\n friend class document::element_result;\n+ template\n+ friend class minify;\n };\n \n /**\n@@ -1088,6 +1278,7 @@ public:\n * - NO_SUCH_FIELD if the field does not exist in the object\n */\n inline element_result operator[](const std::string_view &s) const noexcept;\n+\n /**\n * Get the value associated with the given key.\n *\n@@ -1107,6 +1298,8 @@ private:\n friend class document::element;\n template\n friend class document::element_result;\n+ template\n+ friend class minify;\n };\n \n /**\n@@ -1147,7 +1340,9 @@ public:\n /** The error code (or 0 if there is no error) */\n error_code error;\n \n+#if __cpp_exceptions\n inline operator T() const noexcept(false);\n+#endif\n \n private:\n really_inline element_result(T value) noexcept;\n@@ -1176,6 +1371,8 @@ public:\n inline element_result as_array() const noexcept;\n inline element_result as_object() const noexcept;\n \n+#if __cpp_exceptions\n+ inline operator element() const noexcept(false);\n inline operator bool() const noexcept(false);\n inline explicit operator const char*() const noexcept(false);\n inline operator std::string_view() const noexcept(false);\n@@ -1184,6 +1381,7 @@ public:\n inline operator double() const noexcept(false);\n inline operator array() const noexcept(false);\n inline operator object() const noexcept(false);\n+#endif\n \n inline element_result operator[](const std::string_view &s) const noexcept;\n inline element_result operator[](const char *s) const noexcept;\n@@ -1204,10 +1402,12 @@ public:\n /** The error code (or 0 if there is no error) */\n error_code error;\n \n+#if __cpp_exceptions\n inline operator array() const noexcept(false);\n \n inline array::iterator begin() const noexcept(false);\n inline array::iterator end() const noexcept(false);\n+#endif\n \n private:\n really_inline element_result(array value) noexcept;\n@@ -1225,10 +1425,12 @@ public:\n /** The error code (or 0 if there is no error) */\n error_code error;\n \n+#if __cpp_exceptions\n inline operator object() const noexcept(false);\n \n inline object::iterator begin() const noexcept(false);\n inline object::iterator end() const noexcept(false);\n+#endif\n \n inline element_result operator[](const std::string_view &s) const noexcept;\n inline element_result operator[](const char *s) const noexcept;\n@@ -1243,8 +1445,8 @@ private:\n /**\n * A persistent document parser.\n *\n- * Use this if you intend to parse more than one document. It holds the internal memory necessary\n- * to do parsing, as well as memory for a single document that is overwritten on each parse.\n+ * The parser is designed to be reused, holding the internal buffers necessary to do parsing,\n+ * as well as memory for a single document. The parsed document is overwritten on each parse.\n *\n * This class cannot be copied, only moved, to avoid unintended allocations.\n *\n@@ -1253,9 +1455,20 @@ private:\n class document::parser {\n public:\n /**\n- * Create a JSON parser with zero capacity. Call allocate_capacity() to initialize it.\n+ * Create a JSON parser.\n+ *\n+ * The new parser will have zero capacity.\n+ *\n+ * @param max_capacity The maximum document length the parser can automatically handle. The parser\n+ * will allocate more capacity on an as needed basis (when it sees documents too big to handle)\n+ * up to this amount. The parser still starts with zero capacity no matter what this number is:\n+ * to allocate an initial capacity, call set_capacity() after constructing the parser. Defaults\n+ * to SIMDJSON_MAXSIZE_BYTES (the largest single document simdjson can process).\n+ * @param max_depth The maximum depth--number of nested objects and arrays--this parser can handle.\n+ * This will not be allocated until parse() is called for the first time. Defaults to\n+ * DEFAULT_MAX_DEPTH.\n */\n- parser()=default;\n+ really_inline parser(size_t max_capacity = SIMDJSON_MAXSIZE_BYTES, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept;\n ~parser()=default;\n \n /**\n@@ -1274,71 +1487,219 @@ public:\n parser &operator=(const document::parser &) = delete; // Disallow copying\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Load a JSON document from a file and return a reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.load(\"jsonexamples/twitter.json\");\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n- * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n- * and copied before parsing.\n+ * ### Parser Capacity\n *\n- * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n- * realloc_if_needed is true.\n- * @param len The length of the JSON.\n- * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * If the parser's current capacity is less than the file length, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param path The path to load.\n+ * @return The document, or an error:\n+ * - IO_ERROR if there was an error opening or reading the file.\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n- inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+ inline doc_ref_result load(const std::string& path) noexcept; \n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Load a file containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(path)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The file must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.load_many(path)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - IO_ERROR if there was an error opening or reading the file.\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails.\n+ */\n+ inline document::stream load_many(const std::string& path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; \n+\n+ /**\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(buf, len);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### REQUIRED: Buffer Padding\n+ *\n * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true,\n- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged\n- * and copied before parsing.\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding,\n+ * and it is copied into an enlarged temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n *\n * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n * realloc_if_needed is true.\n * @param len The length of the JSON.\n * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity,\n+ * and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n+ */\n+ inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept;\n+\n+ /**\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(buf, len);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n+ *\n+ * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n+ * documents because it reuses the same buffers, but you *must* use the document before you\n+ * destroy the parser or call parse() again.\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding,\n+ * and it is copied into an enlarged temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless\n+ * realloc_if_needed is true.\n+ * @param len The length of the JSON.\n+ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding.\n+ * @return The document, or an error:\n+ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity,\n+ * and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n really_inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept;\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(s);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### REQUIRED: Buffer Padding\n+ *\n * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n- * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size()\n- * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing.\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * If s.capacity() is less than SIMDJSON_PADDING, the string will be copied into an enlarged\n+ * temporary buffer before parsing.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than len, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n *\n * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or\n * a new string will be created with the extra padding.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if the string does not have enough padding or the parser does not have\n+ * enough capacity, and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n really_inline doc_ref_result parse(const std::string &s) noexcept;\n \n /**\n- * Parse a JSON document and return a reference to it.\n+ * Parse a JSON document and return a temporary reference to it.\n+ *\n+ * document::parser parser;\n+ * const document &doc = parser.parse(s);\n+ *\n+ * ### IMPORTANT: Document Lifetime\n *\n * The JSON document still lives in the parser: this is the most efficient way to parse JSON\n * documents because it reuses the same buffers, but you *must* use the document before you\n * destroy the parser or call parse() again.\n *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n * @param s The JSON to parse.\n- * @return the document, or an error if the JSON is invalid.\n+ * @return The document, or an error:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n+ * - CAPACITY if the parser does not have enough capacity and len > max_capacity.\n+ * - other json errors if parsing fails.\n */\n really_inline doc_ref_result parse(const padded_string &s) noexcept;\n \n@@ -1346,24 +1707,322 @@ public:\n really_inline doc_ref_result parse(const char *buf) noexcept = delete;\n \n /**\n- * Current capacity: the largest document this parser can support without reallocating.\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param len The length of the concatenated JSON.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails.\n+ */\n+ inline stream parse_many(const uint8_t *buf, size_t len, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param len The length of the concatenated JSON.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const char *buf, size_t len, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### REQUIRED: Buffer Padding\n+ *\n+ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what\n+ * those bytes are initialized to, as long as they are allocated.\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const std::string &s, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+\n+ /**\n+ * Parse a buffer containing many JSON documents.\n+ *\n+ * document::parser parser;\n+ * for (const document &doc : parser.parse_many(buf, len)) {\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Format\n+ *\n+ * The buffer must contain a series of one or more JSON documents, concatenated into a single\n+ * buffer, separated by whitespace. It effectively parses until it has a fully valid document,\n+ * then starts parsing the next document at that point. (It does this with more parallelism and\n+ * lookahead than you might think, though.)\n+ *\n+ * documents that consist of an object or array may omit the whitespace between them, concatenating\n+ * with no separator. documents that consist of a single primitive (i.e. documents that are not\n+ * arrays or objects) MUST be separated with whitespace.\n+ *\n+ * ### Error Handling\n+ *\n+ * All errors are returned during iteration: if there is a global error such as memory allocation,\n+ * it will be yielded as the first result. Iteration always stops after the first error.\n+ *\n+ * As with all other simdjson methods, non-exception error handling is readily available through\n+ * the same interface, requiring you to check the error before using the document:\n+ *\n+ * document::parser parser;\n+ * for (auto [doc, error] : parser.parse_many(buf, len)) {\n+ * if (error) { cerr << error << endl; exit(1); }\n+ * cout << std::string(doc[\"title\"]) << endl;\n+ * }\n+ *\n+ * ### Threads\n+ *\n+ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the\n+ * hood to do some lookahead.\n+ *\n+ * ### Parser Capacity\n+ *\n+ * If the parser's current capacity is less than batch_size, it will allocate enough capacity\n+ * to handle it (up to max_capacity).\n+ *\n+ * @param s The concatenated JSON to parse.\n+ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet\n+ * spot is cache-related: small enough to fit in cache, yet big enough to\n+ * parse as many documents as possible in one tight loop.\n+ * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n+ * @return The stream. If there is an error, it will be returned during iteration. An empty input\n+ * will yield 0 documents rather than an EMPTY error. Errors:\n+ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails\n+ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n+ * - other json errors if parsing fails\n+ */\n+ inline stream parse_many(const padded_string &s, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+\n+ // We do not want to allow implicit conversion from C string to std::string.\n+ really_inline doc_ref_result parse_many(const char *buf, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept = delete;\n+\n+ /**\n+ * The largest document this parser can automatically support.\n+ *\n+ * The parser may reallocate internal buffers as needed up to this amount.\n+ *\n+ * @return Maximum capacity, in bytes.\n+ */\n+ really_inline size_t max_capacity() const noexcept;\n+\n+ /**\n+ * The largest document this parser can support without reallocating.\n+ *\n+ * @return Current capacity, in bytes.\n */\n really_inline size_t capacity() const noexcept;\n \n /**\n * The maximum level of nested object and arrays supported by this parser.\n+ *\n+ * @return Maximum depth, in bytes.\n */\n really_inline size_t max_depth() const noexcept;\n \n+ /**\n+ * Set max_capacity. This is the largest document this parser can automatically support.\n+ *\n+ * The parser may reallocate internal buffers as needed up to this amount.\n+ *\n+ * This call will not allocate or deallocate, even if capacity is currently above max_capacity.\n+ *\n+ * @param max_capacity The new maximum capacity, in bytes.\n+ */\n+ really_inline void set_max_capacity(size_t max_capacity) noexcept;\n+\n+ /**\n+ * Set capacity. This is the largest document this parser can support without reallocating.\n+ *\n+ * This will allocate or deallocate as necessary.\n+ *\n+ * @param capacity The new capacity, in bytes.\n+ *\n+ * @return MEMALLOC if unsuccessful, SUCCESS otherwise.\n+ */\n+ WARN_UNUSED inline error_code set_capacity(size_t capacity) noexcept;\n+\n+ /**\n+ * Set the maximum level of nested object and arrays supported by this parser.\n+ *\n+ * This will allocate or deallocate as necessary.\n+ *\n+ * @param max_depth The new maximum depth, in bytes.\n+ *\n+ * @return MEMALLOC if unsuccessful, SUCCESS otherwise.\n+ */\n+ WARN_UNUSED inline error_code set_max_depth(size_t max_depth) noexcept;\n+\n /**\n * Ensure this parser has enough memory to process JSON documents up to `capacity` bytes in length\n * and `max_depth` depth.\n+ *\n+ * Equivalent to calling set_capacity() and set_max_depth().\n+ *\n+ * @param capacity The new capacity.\n+ * @param max_depth The new max_depth. Defaults to DEFAULT_MAX_DEPTH.\n+ * @return true if successful, false if allocation failed.\n */\n- WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH);\n+ WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept;\n \n // type aliases for backcompat\n using Iterator = document::iterator;\n- using InvalidJSON = invalid_json;\n+#if __cpp_exceptions\n+ using InvalidJSON = simdjson_error;\n+#endif\n \n // Next location to write to in the tape\n uint32_t current_loc{0};\n@@ -1434,13 +2093,6 @@ public:\n really_inline bool on_number_s64(int64_t value) noexcept;\n really_inline bool on_number_u64(uint64_t value) noexcept;\n really_inline bool on_number_double(double value) noexcept;\n- //\n- // Called before a parse is initiated.\n- //\n- // - Returns CAPACITY if the document is too large\n- // - Returns MEMALLOC if we needed to allocate memory and could not\n- //\n- WARN_UNUSED inline error_code init_parse(size_t len) noexcept;\n \n private:\n //\n@@ -1450,12 +2102,19 @@ private:\n //\n size_t _capacity{0};\n \n+ //\n+ // The maximum document length this parser will automatically support.\n+ //\n+ // The parser will not be automatically allocated above this amount.\n+ //\n+ size_t _max_capacity;\n+\n //\n // The maximum depth (number of nested objects and arrays) supported by this parser.\n //\n // Defaults to DEFAULT_MAX_DEPTH.\n //\n- size_t _max_depth{0};\n+ size_t _max_depth;\n \n // all nodes are stored on the doc.tape using a 64-bit word.\n //\n@@ -1474,30 +2133,172 @@ private:\n inline void write_tape(uint64_t val, tape_type t) noexcept;\n inline void annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept;\n \n- //\n- // Set the current capacity: the largest document this parser can support without reallocating.\n- //\n- // This will allocate *or deallocate* as necessary.\n- //\n- // Returns false if allocation fails.\n- //\n- inline WARN_UNUSED bool set_capacity(size_t capacity);\n-\n- //\n- // Set the maximum level of nested object and arrays supported by this parser.\n- //\n- // This will allocate *or deallocate* as necessary.\n- //\n- // Returns false if allocation fails.\n- //\n- inline WARN_UNUSED bool set_max_depth(size_t max_depth);\n+ // Ensure we have enough capacity to handle at least desired_capacity bytes,\n+ // and auto-allocate if not.\n+ inline error_code ensure_capacity(size_t desired_capacity) noexcept;\n \n // Used internally to get the document\n+#if __cpp_exceptions\n inline const document &get_document() const noexcept(false);\n+#endif\n \n template friend class document_iterator;\n+ friend class document::stream;\n }; // class parser\n \n+/**\n+ * Minifies a JSON element or document, printing the smallest possible valid JSON.\n+ *\n+ * document doc = document::parse(\" [ 1 , 2 , 3 ] \"_pad);\n+ * cout << minify(doc) << endl; // prints [1,2,3]\n+ *\n+ */\n+template\n+class minify {\n+public:\n+ /**\n+ * Create a new minifier.\n+ *\n+ * @param _value The document or element to minify.\n+ */\n+ inline minify(const T &_value) noexcept : value{_value} {}\n+\n+ /**\n+ * Minify JSON to a string.\n+ */\n+ inline operator std::string() const noexcept { std::stringstream s; s << *this; return s.str(); }\n+\n+ /**\n+ * Minify JSON to an output stream.\n+ */\n+ inline std::ostream& print(std::ostream& out);\n+private:\n+ const T &value;\n+};\n+\n+/**\n+ * Minify JSON to an output stream.\n+ *\n+ * @param out The output stream.\n+ * @param formatter The minifier.\n+ * @throw if there is an error with the underlying output stream. simdjson itself will not throw.\n+ */\n+template\n+inline std::ostream& operator<<(std::ostream& out, minify formatter) { return formatter.print(out); }\n+\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the document will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The document to print.\n+ * @throw if there is an error with the underlying output stream. simdjson itself will not throw.\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document &value) { return out << minify(value); }\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw if there is an error with the underlying output stream. simdjson itself will not throw.\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::element &value) { return out << minify(value); };\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw if there is an error with the underlying output stream. simdjson itself will not throw.\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::array &value) { return out << minify(value); }\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw if there is an error with the underlying output stream. simdjson itself will not throw.\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::object &value) { return out << minify(value); }\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw if there is an error with the underlying output stream. simdjson itself will not throw.\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::key_value_pair &value) { return out << minify(value); }\n+#if __cpp_exceptions\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw simdjson_error if the result being printed has an error. If there is an error with the\n+ * underlying output stream, that error will be propagated (simdjson_error will not be\n+ * thrown).\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::doc_result &value) noexcept(false) { return out << minify(value); }\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw simdjson_error if the result being printed has an error. If there is an error with the\n+ * underlying output stream, that error will be propagated (simdjson_error will not be\n+ * thrown).\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::doc_ref_result &value) noexcept(false) { return out << minify(value); }\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw simdjson_error if the result being printed has an error. If there is an error with the\n+ * underlying output stream, that error will be propagated (simdjson_error will not be\n+ * thrown).\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::element_result &value) noexcept(false) { return out << minify(value); }\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw simdjson_error if the result being printed has an error. If there is an error with the\n+ * underlying output stream, that error will be propagated (simdjson_error will not be\n+ * thrown).\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::element_result &value) noexcept(false) { return out << minify(value); }\n+/**\n+ * Print JSON to an output stream.\n+ *\n+ * By default, the value will be printed minified.\n+ *\n+ * @param out The output stream.\n+ * @param value The value to print.\n+ * @throw simdjson_error if the result being printed has an error. If there is an error with the\n+ * underlying output stream, that error will be propagated (simdjson_error will not be\n+ * thrown).\n+ */\n+inline std::ostream& operator<<(std::ostream& out, const document::element_result &value) noexcept(false) { return out << minify(value); }\n+#endif\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_DOCUMENT_H\n@@ -1541,7 +2342,7 @@ public:\n virtual uint32_t required_instruction_sets() const { return _required_instruction_sets; };\n \n /**\n- * Run a full document parse (init_parse, stage1 and stage2).\n+ * Run a full document parse (ensure_capacity, stage1 and stage2).\n *\n * Overridden by each implementation.\n *\n@@ -1560,7 +2361,7 @@ public:\n * @param buf the json document to parse. *MUST* be allocated up to len + SIMDJSON_PADDING bytes.\n * @param len the length of the json document.\n * @param parser the parser with the buffers to use. *MUST* have allocated up to at least len capacity.\n- * @param streaming whether this is being called by a JsonStream parser.\n+ * @param streaming whether this is being called by document::parser::parse_many.\n * @return the error code, or SUCCESS if there was no error.\n */\n WARN_UNUSED virtual error_code stage1(const uint8_t *buf, size_t len, document::parser &parser, bool streaming) const noexcept = 0;\n@@ -1578,7 +2379,7 @@ public:\n WARN_UNUSED virtual error_code stage2(const uint8_t *buf, size_t len, document::parser &parser) const noexcept = 0;\n \n /**\n- * Stage 2 of the document parser for JsonStream.\n+ * Stage 2 of the document parser for document::parser::parse_many.\n *\n * Overridden by each implementation.\n *\n@@ -1731,92 +2532,84 @@ inline internal::atomic_ptr active_implementation = &inter\n \n #endif // SIMDJSON_IMPLEMENTATION_H\n /* end file include/simdjson/simdjson.h */\n-/* begin file include/simdjson/jsonstream.h */\n-#ifndef SIMDJSON_JSONSTREAM_H\n-#define SIMDJSON_JSONSTREAM_H\n+/* begin file include/simdjson/document_stream.h */\n+#ifndef SIMDJSON_DOCUMENT_STREAM_H\n+#define SIMDJSON_DOCUMENT_STREAM_H\n \n #include \n \n namespace simdjson {\n \n-/*************************************************************************************\n- * The main motivation for this piece of software is to achieve maximum speed\n- *and offer\n- * good quality of life while parsing files containing multiple JSON documents.\n+template class JsonStream;\n+\n+/**\n+ * A forward-only stream of documents.\n *\n- * Since we want to offer flexibility and not restrict ourselves to a specific\n- *file\n- * format, we support any file that contains any valid JSON documents separated\n- *by one\n- * or more character that is considered a whitespace by the JSON spec.\n- * Namely: space, nothing, linefeed, carriage return, horizontal tab.\n- * Anything that is not whitespace will be parsed as a JSON document and could\n- *lead\n- * to failure.\n+ * Produced by document::parser::parse_many.\n *\n- * To offer maximum parsing speed, our implementation processes the data inside\n- *the\n- * buffer by batches and their size is defined by the parameter \"batch_size\".\n- * By loading data in batches, we can optimize the time spent allocating data in\n- *the\n- * parser and can also open the possibility of multi-threading.\n- * The batch_size must be at least as large as the biggest document in the file,\n- *but\n- * not too large in order to submerge the chached memory. We found that 1MB is\n- * somewhat a sweet spot for now. Eventually, this batch_size could be fully\n- * automated and be optimal at all times.\n- ************************************************************************************/\n-/**\n-* The template parameter (string_container) must\n-* support the data() and size() methods, returning a pointer\n-* to a char* and to the number of bytes respectively.\n-* The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end\n-* of the string, so if you do not use a padded_string container,\n-* you have the responsability to overallocated. If you fail to\n-* do so, your software may crash if you cross a page boundary,\n-* and you should expect memory checkers to object.\n-* Most users should use a simdjson::padded_string.\n-*/\n-template class JsonStream {\n+ */\n+class document::stream {\n public:\n- /* Create a JsonStream object that can be used to parse sequentially the valid\n- * JSON documents found in the buffer \"buf\".\n- *\n- * The batch_size must be at least as large as the biggest document in the\n- * file, but\n- * not too large to submerge the cached memory. We found that 1MB is\n- * somewhat a sweet spot for now.\n- *\n- * The user is expected to call the following json_parse method to parse the\n- * next\n- * valid JSON document found in the buffer. This method can and is expected\n- * to be\n- * called in a loop.\n- *\n- * Various methods are offered to keep track of the status, like\n- * get_current_buffer_loc,\n- * get_n_parsed_docs, get_n_bytes_parsed, etc.\n- *\n- * */\n- JsonStream(const string_container &s, size_t batch_size = 1000000);\n+ really_inline ~stream() noexcept;\n+\n+ /**\n+ * An iterator through a forward-only stream of documents.\n+ */\n+ class iterator {\n+ public:\n+ /**\n+ * Get the current document (or error).\n+ */\n+ really_inline doc_ref_result operator*() noexcept;\n+ /**\n+ * Advance to the next document.\n+ */\n+ inline iterator& operator++() noexcept;\n+ /**\n+ * Check if we're at the end yet.\n+ * @param other the end iterator to compare to.\n+ */\n+ really_inline bool operator!=(const iterator &other) const noexcept;\n \n- ~JsonStream();\n+ private:\n+ iterator(stream& stream, bool finished) noexcept;\n+ /** The stream parser we're iterating through. */\n+ stream& _stream;\n+ /** Whether we're finished or not. */\n+ bool finished;\n+ friend class stream;\n+ };\n \n- /* Parse the next document found in the buffer previously given to JsonStream.\n+ /**\n+ * Start iterating the documents in the stream.\n+ */\n+ really_inline iterator begin() noexcept;\n+ /**\n+ * The end of the stream, for iterator comparison purposes.\n+ */\n+ really_inline iterator end() noexcept;\n+\n+private:\n+\n+ stream &operator=(const document::stream &) = delete; // Disallow copying\n+\n+ stream(document::stream &other) = delete; // Disallow copying\n \n+ really_inline stream(document::parser &parser, const uint8_t *buf, size_t len, size_t batch_size, error_code error = SUCCESS) noexcept;\n+\n+ /**\n+ * Parse the next document found in the buffer previously given to stream.\n+ *\n * The content should be a valid JSON document encoded as UTF-8. If there is a\n * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n * discouraged.\n *\n * You do NOT need to pre-allocate a parser. This function takes care of\n- * pre-allocating a capacity defined by the batch_size defined when creating\n- the\n- * JsonStream object.\n+ * pre-allocating a capacity defined by the batch_size defined when creating the\n+ * stream object.\n *\n- * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in\n- case\n- * of success and indicates that the buffer still contains more data to be\n- parsed,\n+ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in case\n+ * of success and indicates that the buffer still contains more data to be parsed,\n * meaning this function can be called again to return the next JSON document\n * after this one.\n *\n@@ -1824,43 +2617,46 @@ public:\n * and indicates that the buffer has successfully been parsed to the end.\n * Every document it contained has been parsed without error.\n *\n- * The function returns an error code from simdjson/simdjson.h in case of\n- failure\n- * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and\n- so forth;\n- * the simdjson::error_message function converts these error codes into a\n- * string).\n+ * The function returns an error code from simdjson/simdjson.h in case of failure\n+ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth;\n+ * the simdjson::error_message function converts these error codes into a string).\n *\n- * You can also check validity by calling parser.is_valid(). The same parser\n- can\n+ * You can also check validity by calling parser.is_valid(). The same parser can\n * and should be reused for the other documents in the buffer. */\n- int json_parse(document::parser &parser);\n+ inline error_code json_parse() noexcept;\n \n- /* Returns the location (index) of where the next document should be in the\n+ /**\n+ * Returns the location (index) of where the next document should be in the\n * buffer.\n * Can be used for debugging, it tells the user the position of the end of the\n * last\n- * valid JSON document parsed*/\n+ * valid JSON document parsed\n+ */\n inline size_t get_current_buffer_loc() const { return current_buffer_loc; }\n \n- /* Returns the total amount of complete documents parsed by the JsonStream,\n- * in the current buffer, at the given time.*/\n+ /**\n+ * Returns the total amount of complete documents parsed by the stream,\n+ * in the current buffer, at the given time.\n+ */\n inline size_t get_n_parsed_docs() const { return n_parsed_docs; }\n \n- /* Returns the total amount of data (in bytes) parsed by the JsonStream,\n- * in the current buffer, at the given time.*/\n+ /**\n+ * Returns the total amount of data (in bytes) parsed by the stream,\n+ * in the current buffer, at the given time.\n+ */\n inline size_t get_n_bytes_parsed() const { return n_bytes_parsed; }\n \n-private:\n- inline const uint8_t *buf() const { return reinterpret_cast(str.data()) + str_start; }\n+ inline const uint8_t *buf() const { return _buf + buf_start; }\n \n- inline void advance(size_t offset) { str_start += offset; }\n+ inline void advance(size_t offset) { buf_start += offset; }\n \n- inline size_t remaining() const { return str.size() - str_start; }\n+ inline size_t remaining() const { return _len - buf_start; }\n \n- const string_container &str;\n+ document::parser &parser;\n+ const uint8_t *_buf;\n+ const size_t _len;\n size_t _batch_size; // this is actually variable!\n- size_t str_start{0};\n+ size_t buf_start{0};\n size_t next_json{0};\n bool load_next_batch{true};\n size_t current_buffer_loc{0};\n@@ -1869,17 +2665,19 @@ private:\n #endif\n size_t n_parsed_docs{0};\n size_t n_bytes_parsed{0};\n- simdjson::implementation *stage_parser;\n+ error_code error{SUCCESS_AND_HAS_MORE};\n #ifdef SIMDJSON_THREADS_ENABLED\n error_code stage1_is_ok_thread{SUCCESS};\n std::thread stage_1_thread;\n document::parser parser_thread;\n #endif\n-}; // end of class JsonStream\n+ template friend class JsonStream;\n+ friend class document::parser;\n+}; // class document::stream\n \n } // end of namespace simdjson\n-#endif // SIMDJSON_JSONSTREAM_H\n-/* end file include/simdjson/jsonstream.h */\n+#endif // SIMDJSON_DOCUMENT_STREAM_H\n+/* end file include/simdjson/document_stream.h */\n /* begin file include/simdjson/jsonminifier.h */\n #ifndef SIMDJSON_JSONMINIFIER_H\n #define SIMDJSON_JSONMINIFIER_H\n@@ -1908,8 +2706,10 @@ static inline size_t json_minify(const std::string_view &p, char *out) {\n static inline size_t json_minify(const padded_string &p, char *out) {\n return json_minify(p.data(), p.size(), out);\n }\n+\n } // namespace simdjson\n-#endif\n+\n+#endif // SIMDJSON_JSONMINIFIER_H\n /* end file include/simdjson/jsonminifier.h */\n \n // Deprecated API\n@@ -1928,7 +2728,9 @@ static inline size_t json_minify(const padded_string &p, char *out) {\n #include \n #include \n #include \n+#if __cpp_exceptions\n #include \n+#endif\n \n /* begin file include/simdjson/internal/jsonformatutils.h */\n #ifndef SIMDJSON_INTERNAL_JSONFORMATUTILS_H\n@@ -1936,110 +2738,59 @@ static inline size_t json_minify(const padded_string &p, char *out) {\n \n #include \n #include \n+#include \n \n namespace simdjson::internal {\n \n-// ends with zero char\n-static inline void print_with_escapes(const unsigned char *src, std::ostream &os) {\n- while (*src) {\n- switch (*src) {\n- case '\\b':\n- os << '\\\\';\n- os << 'b';\n- break;\n- case '\\f':\n- os << '\\\\';\n- os << 'f';\n- break;\n- case '\\n':\n- os << '\\\\';\n- os << 'n';\n- break;\n- case '\\r':\n- os << '\\\\';\n- os << 'r';\n- break;\n- case '\\\"':\n- os << '\\\\';\n- os << '\"';\n- break;\n- case '\\t':\n- os << '\\\\';\n- os << 't';\n- break;\n- case '\\\\':\n- os << '\\\\';\n- os << '\\\\';\n- break;\n- default:\n- if (*src <= 0x1F) {\n- std::ios::fmtflags f(os.flags());\n- os << std::hex << std::setw(4) << std::setfill('0')\n- << static_cast(*src);\n- os.flags(f);\n- } else {\n- os << *src;\n- }\n- }\n- src++;\n- }\n-}\n+class escape_json_string;\n+\n+inline std::ostream& operator<<(std::ostream& out, const escape_json_string &str);\n \n+class escape_json_string {\n+public:\n+ escape_json_string(std::string_view _str) noexcept : str{_str} {}\n+ operator std::string() const noexcept { std::stringstream s; s << *this; return s.str(); }\n+private:\n+ std::string_view str;\n+ friend std::ostream& operator<<(std::ostream& out, const escape_json_string &unescaped);\n+};\n \n-// print len chars\n-static inline void print_with_escapes(const unsigned char *src,\n- std::ostream &os, size_t len) {\n- const unsigned char *finalsrc = src + len;\n- while (src < finalsrc) {\n- switch (*src) {\n+inline std::ostream& operator<<(std::ostream& out, const escape_json_string &unescaped) {\n+ for (size_t i=0; i(*src);\n- os.flags(f);\n+ if ((unsigned char)unescaped.str[i] <= 0x1F) {\n+ // TODO can this be done once at the beginning, or will it mess up << char?\n+ std::ios::fmtflags f(out.flags());\n+ out << \"\\\\u\" << std::hex << std::setw(4) << std::setfill('0') << static_cast(unescaped.str[i]);\n+ out.flags(f);\n } else {\n- os << *src;\n+ out << unescaped.str[i];\n }\n }\n- src++;\n }\n-}\n-\n-static inline void print_with_escapes(const char *src, std::ostream &os) {\n- print_with_escapes(reinterpret_cast(src), os);\n-}\n-\n-static inline void print_with_escapes(const char *src, std::ostream &os, size_t len) {\n- print_with_escapes(reinterpret_cast(src), os, len);\n+ return out;\n }\n \n } // namespace simdjson::internal\n@@ -2051,7 +2802,9 @@ namespace simdjson {\n \n template class document_iterator {\n public:\n+#if __cpp_exceptions\n document_iterator(const document::parser &parser);\n+#endif\n document_iterator(const document &doc) noexcept;\n document_iterator(const document_iterator &o) noexcept;\n document_iterator &operator=(const document_iterator &o) noexcept;\n@@ -2103,7 +2856,7 @@ public:\n // within the string: get_string_length determines the true string length.\n inline const char *get_string() const {\n return reinterpret_cast(\n- doc.string_buf.get() + (current_val & JSON_VALUE_MASK) + sizeof(uint32_t));\n+ doc.string_buf.get() + (current_val & internal::JSON_VALUE_MASK) + sizeof(uint32_t));\n }\n \n // return the length of the string in bytes\n@@ -2111,7 +2864,7 @@ public:\n uint32_t answer;\n memcpy(&answer,\n reinterpret_cast(doc.string_buf.get() +\n- (current_val & JSON_VALUE_MASK)),\n+ (current_val & internal::JSON_VALUE_MASK)),\n sizeof(uint32_t));\n return answer;\n }\n@@ -2326,34 +3079,28 @@ using ParsedJson = document::parser;\n #ifndef SIMDJSON_JSONIOUTIL_H\n #define SIMDJSON_JSONIOUTIL_H\n \n-#include \n #include \n #include \n #include \n-#include \n #include \n \n \n+#if __cpp_exceptions\n+#include \n+#include \n+#endif\n+\n namespace simdjson {\n \n-// load a file in memory...\n-// get a corpus; pad out to cache line so we can always use SIMD\n-// throws exceptions in case of failure\n-// first element of the pair is a string (null terminated)\n-// whereas the second element is the length.\n-// caller is responsible to free (aligned_free((void*)result.data())))\n-//\n-// throws an exception if the file cannot be opened, use try/catch\n-// try {\n-// p = get_corpus(filename);\n-// } catch (const std::exception& e) {\n-// aligned_free((void*)p.data());\n-// std::cout << \"Could not load the file \" << filename << std::endl;\n-// }\n-padded_string get_corpus(const std::string &filename);\n+#if __cpp_exceptions\n+inline padded_string get_corpus(const std::string &filename) {\n+ return padded_string::load(filename);\n+}\n+#endif\n+\n } // namespace simdjson\n \n-#endif\n+#endif // SIMDJSON_JSONIOUTIL_H\n /* end file include/simdjson/jsonioutil.h */\n \n namespace simdjson {\n@@ -2384,11 +3131,6 @@ inline int json_parse(const padded_string &s, document::parser &parser) noexcept\n \n WARN_UNUSED static document::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept {\n document::parser parser;\n- if (!parser.allocate_capacity(len)) {\n- parser.valid = false;\n- parser.error = MEMALLOC;\n- return parser;\n- }\n json_parse(buf, len, parser, realloc_if_needed);\n return parser;\n }\n@@ -2410,6 +3152,131 @@ document::parser build_parsed_json(const char *buf) noexcept = delete;\n \n #endif\n /* end file include/simdjson/jsonioutil.h */\n+/* begin file include/simdjson/jsonstream.h */\n+// TODO Remove this -- deprecated API and files\n+\n+#ifndef SIMDJSON_JSONSTREAM_H\n+#define SIMDJSON_JSONSTREAM_H\n+\n+\n+namespace simdjson {\n+\n+/**\n+ * @deprecated use document::stream instead.\n+ *\n+ * The main motivation for this piece of software is to achieve maximum speed and offer\n+ * good quality of life while parsing files containing multiple JSON documents.\n+ *\n+ * Since we want to offer flexibility and not restrict ourselves to a specific file\n+ * format, we support any file that contains any valid JSON documents separated by one\n+ * or more character that is considered a whitespace by the JSON spec.\n+ * Namely: space, nothing, linefeed, carriage return, horizontal tab.\n+ * Anything that is not whitespace will be parsed as a JSON document and could lead\n+ * to failure.\n+ *\n+ * To offer maximum parsing speed, our implementation processes the data inside the\n+ * buffer by batches and their size is defined by the parameter \"batch_size\".\n+ * By loading data in batches, we can optimize the time spent allocating data in the\n+ * parser and can also open the possibility of multi-threading.\n+ * The batch_size must be at least as large as the biggest document in the file, but\n+ * not too large in order to submerge the chached memory. We found that 1MB is\n+ * somewhat a sweet spot for now. Eventually, this batch_size could be fully\n+ * automated and be optimal at all times.\n+ *\n+ * The template parameter (string_container) must\n+ * support the data() and size() methods, returning a pointer\n+ * to a char* and to the number of bytes respectively.\n+ * The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end\n+ * of the string, so if you do not use a padded_string container,\n+ * you have the responsability to overallocated. If you fail to\n+ * do so, your software may crash if you cross a page boundary,\n+ * and you should expect memory checkers to object.\n+ * Most users should use a simdjson::padded_string.\n+ */\n+template class JsonStream {\n+public:\n+ /* Create a JsonStream object that can be used to parse sequentially the valid\n+ * JSON documents found in the buffer \"buf\".\n+ *\n+ * The batch_size must be at least as large as the biggest document in the\n+ * file, but\n+ * not too large to submerge the cached memory. We found that 1MB is\n+ * somewhat a sweet spot for now.\n+ *\n+ * The user is expected to call the following json_parse method to parse the\n+ * next\n+ * valid JSON document found in the buffer. This method can and is expected\n+ * to be\n+ * called in a loop.\n+ *\n+ * Various methods are offered to keep track of the status, like\n+ * get_current_buffer_loc,\n+ * get_n_parsed_docs, get_n_bytes_parsed, etc.\n+ *\n+ * */\n+ JsonStream(const string_container &s, size_t _batch_size = 1000000) noexcept;\n+\n+ ~JsonStream() noexcept;\n+\n+ /* Parse the next document found in the buffer previously given to JsonStream.\n+\n+ * The content should be a valid JSON document encoded as UTF-8. If there is a\n+ * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are\n+ * discouraged.\n+ *\n+ * You do NOT need to pre-allocate a parser. This function takes care of\n+ * pre-allocating a capacity defined by the batch_size defined when creating\n+ the\n+ * JsonStream object.\n+ *\n+ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in\n+ case\n+ * of success and indicates that the buffer still contains more data to be\n+ parsed,\n+ * meaning this function can be called again to return the next JSON document\n+ * after this one.\n+ *\n+ * The function returns simdjson::SUCCESS (as integer = 0) in case of success\n+ * and indicates that the buffer has successfully been parsed to the end.\n+ * Every document it contained has been parsed without error.\n+ *\n+ * The function returns an error code from simdjson/simdjson.h in case of\n+ failure\n+ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and\n+ so forth;\n+ * the simdjson::error_message function converts these error codes into a\n+ * string).\n+ *\n+ * You can also check validity by calling parser.is_valid(). The same parser\n+ can\n+ * and should be reused for the other documents in the buffer. */\n+ int json_parse(document::parser &parser) noexcept;\n+\n+ /* Returns the location (index) of where the next document should be in the\n+ * buffer.\n+ * Can be used for debugging, it tells the user the position of the end of the\n+ * last\n+ * valid JSON document parsed*/\n+ inline size_t get_current_buffer_loc() const noexcept { return stream ? stream->current_buffer_loc : 0; }\n+\n+ /* Returns the total amount of complete documents parsed by the JsonStream,\n+ * in the current buffer, at the given time.*/\n+ inline size_t get_n_parsed_docs() const noexcept { return stream ? stream->n_parsed_docs : 0; }\n+\n+ /* Returns the total amount of data (in bytes) parsed by the JsonStream,\n+ * in the current buffer, at the given time.*/\n+ inline size_t get_n_bytes_parsed() const noexcept { return stream ? stream->n_bytes_parsed : 0; }\n+\n+private:\n+ const string_container &str;\n+ const size_t batch_size;\n+ document::stream *stream{nullptr};\n+}; // end of class JsonStream\n+\n+} // end of namespace simdjson\n+\n+#endif // SIMDJSON_JSONSTREAM_H\n+/* end file include/simdjson/jsonstream.h */\n \n // Inline functions\n /* begin file include/simdjson/inline/document.h */\n@@ -2429,64 +3296,70 @@ template\n inline document::element_result::element_result(T _value) noexcept : value(_value), error{SUCCESS} {}\n template\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+#if __cpp_exceptions\n template<>\n inline document::element_result::operator std::string_view() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator const char *() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator bool() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator uint64_t() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator int64_t() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n template<>\n inline document::element_result::operator double() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n+#endif\n \n //\n // document::element_result inline implementation\n //\n inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {}\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+#if __cpp_exceptions\n inline document::element_result::operator document::array() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n inline document::array::iterator document::element_result::begin() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.begin();\n }\n inline document::array::iterator document::element_result::end() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.end();\n }\n+#endif\n \n //\n // document::element_result inline implementation\n //\n inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {}\n inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {}\n+#if __cpp_exceptions\n inline document::element_result::operator document::object() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value;\n }\n+#endif\n inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept {\n if (error) { return error; }\n return value[key];\n@@ -2495,14 +3368,16 @@ inline document::element_result document::element_result::begin() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.begin();\n }\n inline document::object::iterator document::element_result::end() const noexcept(false) {\n- if (error) { throw invalid_json(error); }\n+ if (error) { throw simdjson_error(error); }\n return value.end();\n }\n+#endif\n \n //\n // document::element_result inline implementation\n@@ -2546,6 +3421,11 @@ inline document::element_result document::element_result::operator document::element() const noexcept(false) {\n+ if (error) { throw simdjson_error(error); }\n+ return value;\n+}\n inline document::element_result::operator bool() const noexcept(false) {\n return as_bool();\n }\n@@ -2570,6 +3450,7 @@ inline document::element_result::operator document::array() c\n inline document::element_result::operator document::object() const noexcept(false) {\n return as_object();\n }\n+#endif\n inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept {\n if (error) { return *this; }\n return value[key];\n@@ -2594,12 +3475,14 @@ inline document::element_result document::as_object() const no\n inline document::operator document::element() const noexcept {\n return root();\n }\n+#if __cpp_exceptions\n inline document::operator document::array() const noexcept(false) {\n return root();\n }\n inline document::operator document::object() const noexcept(false) {\n return root();\n }\n+#endif\n inline document::element_result document::operator[](const std::string_view &key) const noexcept {\n return root()[key];\n }\n@@ -2607,30 +3490,33 @@ inline document::element_result document::operator[](const ch\n return root()[key];\n }\n \n+inline document::doc_result document::load(const std::string &path) noexcept {\n+ document::parser parser;\n+ auto [doc, error] = parser.load(path);\n+ return document::doc_result((document &&)doc, error);\n+}\n+\n inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n document::parser parser;\n- if (!parser.allocate_capacity(len)) {\n- return MEMALLOC;\n- }\n auto [doc, error] = parser.parse(buf, len, realloc_if_needed);\n return document::doc_result((document &&)doc, error);\n }\n really_inline document::doc_result document::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept {\n- return parse((const uint8_t *)buf, len, realloc_if_needed);\n+ return parse((const uint8_t *)buf, len, realloc_if_needed);\n }\n really_inline document::doc_result document::parse(const std::string &s) noexcept {\n- return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING);\n+ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING);\n }\n really_inline document::doc_result document::parse(const padded_string &s) noexcept {\n- return parse(s.data(), s.length(), false);\n+ return parse(s.data(), s.length(), false);\n }\n \n WARN_UNUSED\n-inline bool document::set_capacity(size_t capacity) {\n+inline error_code document::set_capacity(size_t capacity) noexcept {\n if (capacity == 0) {\n string_buf.reset();\n tape.reset();\n- return true;\n+ return SUCCESS;\n }\n \n // a pathological input like \"[[[[...\" would generate len tape elements, so\n@@ -2644,113 +3530,7 @@ inline bool document::set_capacity(size_t capacity) {\n size_t string_capacity = ROUNDUP_N(5 * capacity / 3 + 32, 64);\n string_buf.reset( new (std::nothrow) uint8_t[string_capacity]);\n tape.reset(new (std::nothrow) uint64_t[tape_capacity]);\n- return string_buf && tape;\n-}\n-\n-inline bool document::print_json(std::ostream &os, size_t max_depth) const noexcept {\n- uint32_t string_length;\n- size_t tape_idx = 0;\n- uint64_t tape_val = tape[tape_idx];\n- uint8_t type = (tape_val >> 56);\n- size_t how_many = 0;\n- if (type == 'r') {\n- how_many = tape_val & JSON_VALUE_MASK;\n- } else {\n- // Error: no starting root node?\n- return false;\n- }\n- tape_idx++;\n- std::unique_ptr in_object(new bool[max_depth]);\n- std::unique_ptr in_object_idx(new size_t[max_depth]);\n- int depth = 1; // only root at level 0\n- in_object_idx[depth] = 0;\n- in_object[depth] = false;\n- for (; tape_idx < how_many; tape_idx++) {\n- tape_val = tape[tape_idx];\n- uint64_t payload = tape_val & JSON_VALUE_MASK;\n- type = (tape_val >> 56);\n- if (!in_object[depth]) {\n- if ((in_object_idx[depth] > 0) && (type != ']')) {\n- os << \",\";\n- }\n- in_object_idx[depth]++;\n- } else { // if (in_object) {\n- if ((in_object_idx[depth] > 0) && ((in_object_idx[depth] & 1) == 0) &&\n- (type != '}')) {\n- os << \",\";\n- }\n- if (((in_object_idx[depth] & 1) == 1)) {\n- os << \":\";\n- }\n- in_object_idx[depth]++;\n- }\n- switch (type) {\n- case '\"': // we have a string\n- os << '\"';\n- memcpy(&string_length, string_buf.get() + payload, sizeof(uint32_t));\n- internal::print_with_escapes(\n- (const unsigned char *)(string_buf.get() + payload + sizeof(uint32_t)),\n- os, string_length);\n- os << '\"';\n- break;\n- case 'l': // we have a long int\n- if (tape_idx + 1 >= how_many) {\n- return false;\n- }\n- os << static_cast(tape[++tape_idx]);\n- break;\n- case 'u':\n- if (tape_idx + 1 >= how_many) {\n- return false;\n- }\n- os << tape[++tape_idx];\n- break;\n- case 'd': // we have a double\n- if (tape_idx + 1 >= how_many) {\n- return false;\n- }\n- double answer;\n- memcpy(&answer, &tape[++tape_idx], sizeof(answer));\n- os << answer;\n- break;\n- case 'n': // we have a null\n- os << \"null\";\n- break;\n- case 't': // we have a true\n- os << \"true\";\n- break;\n- case 'f': // we have a false\n- os << \"false\";\n- break;\n- case '{': // we have an object\n- os << '{';\n- depth++;\n- in_object[depth] = true;\n- in_object_idx[depth] = 0;\n- break;\n- case '}': // we end an object\n- depth--;\n- os << '}';\n- break;\n- case '[': // we start an array\n- os << '[';\n- depth++;\n- in_object[depth] = false;\n- in_object_idx[depth] = 0;\n- break;\n- case ']': // we end an array\n- depth--;\n- os << ']';\n- break;\n- case 'r': // we start and end with the root node\n- // should we be hitting the root node?\n- return false;\n- default:\n- // bug?\n- return false;\n- }\n- }\n- return true;\n+ return string_buf && tape ? SUCCESS : MEMALLOC;\n }\n \n inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n@@ -2762,7 +3542,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n tape_idx++;\n size_t how_many = 0;\n if (type == 'r') {\n- how_many = tape_val & JSON_VALUE_MASK;\n+ how_many = tape_val & internal::JSON_VALUE_MASK;\n } else {\n // Error: no starting root node?\n return false;\n@@ -2772,16 +3552,16 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n for (; tape_idx < how_many; tape_idx++) {\n os << tape_idx << \" : \";\n tape_val = tape[tape_idx];\n- payload = tape_val & JSON_VALUE_MASK;\n+ payload = tape_val & internal::JSON_VALUE_MASK;\n type = (tape_val >> 56);\n switch (type) {\n case '\"': // we have a string\n os << \"string \\\"\";\n memcpy(&string_length, string_buf.get() + payload, sizeof(uint32_t));\n- internal::print_with_escapes(\n- (const unsigned char *)(string_buf.get() + payload + sizeof(uint32_t)),\n- os,\n- string_length);\n+ os << internal::escape_json_string(std::string_view(\n+ (const char *)(string_buf.get() + payload + sizeof(uint32_t)),\n+ string_length\n+ ));\n os << '\"';\n os << '\\n';\n break;\n@@ -2839,7 +3619,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n }\n }\n tape_val = tape[tape_idx];\n- payload = tape_val & JSON_VALUE_MASK;\n+ payload = tape_val & internal::JSON_VALUE_MASK;\n type = (tape_val >> 56);\n os << tape_idx << \" : \" << type << \"\\t// pointing to \" << payload\n << \" (start root)\\n\";\n@@ -2850,14 +3630,19 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept {\n // document::doc_ref_result inline implementation\n //\n inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { }\n+#if __cpp_exceptions\n inline document::doc_ref_result::operator document&() noexcept(false) {\n- if (error) {\n- throw invalid_json(error);\n- }\n+ if (error) { throw simdjson_error(error); }\n return doc;\n }\n-inline const std::string &document::doc_ref_result::get_error_message() const noexcept {\n- return error_message(error);\n+#endif\n+inline document::element_result document::doc_ref_result::operator[](const std::string_view &key) const noexcept {\n+ if (error) { return error; }\n+ return doc[key];\n+}\n+inline document::element_result document::doc_ref_result::operator[](const char *key) const noexcept {\n+ if (error) { return error; }\n+ return doc[key];\n }\n \n //\n@@ -2866,42 +3651,66 @@ inline const std::string &document::doc_ref_result::get_error_message() const no\n inline document::doc_result::doc_result(document &&_doc, error_code _error) noexcept : doc(std::move(_doc)), error(_error) { }\n inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::move(_doc)), error(SUCCESS) { }\n inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { }\n+#if __cpp_exceptions\n inline document::doc_result::operator document() noexcept(false) {\n- if (error) {\n- throw invalid_json(error);\n- }\n+ if (error) { throw simdjson_error(error); }\n return std::move(doc);\n }\n-inline const std::string &document::doc_result::get_error_message() const noexcept {\n- return error_message(error);\n+#endif\n+inline document::element_result document::doc_result::operator[](const std::string_view &key) const noexcept {\n+ if (error) { return error; }\n+ return doc[key];\n+}\n+inline document::element_result document::doc_result::operator[](const char *key) const noexcept {\n+ if (error) { return error; }\n+ return doc[key];\n }\n \n //\n // document::parser inline implementation\n //\n+really_inline document::parser::parser(size_t max_capacity, size_t max_depth) noexcept\n+ : _max_capacity{max_capacity}, _max_depth{max_depth} {\n+\n+}\n inline bool document::parser::is_valid() const noexcept { return valid; }\n inline int document::parser::get_error_code() const noexcept { return error; }\n-inline std::string document::parser::get_error_message() const noexcept { return error_message(error); }\n+inline std::string document::parser::get_error_message() const noexcept { return error_message(int(error)); }\n inline bool document::parser::print_json(std::ostream &os) const noexcept {\n- return is_valid() ? doc.print_json(os) : false;\n+ if (!is_valid()) { return false; }\n+ os << minify(doc);\n+ return true;\n }\n inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept {\n return is_valid() ? doc.dump_raw_tape(os) : false;\n }\n+#if __cpp_exceptions\n inline const document &document::parser::get_document() const noexcept(false) {\n if (!is_valid()) {\n- throw invalid_json(error);\n+ throw simdjson_error(error);\n }\n return doc;\n }\n+#endif\n+\n+inline document::doc_ref_result document::parser::load(const std::string &path) noexcept {\n+ auto [json, _error] = padded_string::load(path);\n+ if (_error) { return doc_ref_result(doc, _error); }\n+ return parse(json);\n+}\n+\n+inline document::stream document::parser::load_many(const std::string &path, size_t batch_size) noexcept {\n+ auto [json, _error] = padded_string::load(path);\n+ return stream(*this, reinterpret_cast(json.data()), json.length(), batch_size, _error);\n+}\n \n inline document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept {\n- error_code code = init_parse(len);\n+ error_code code = ensure_capacity(len);\n if (code) { return document::doc_ref_result(doc, code); }\n \n if (realloc_if_needed) {\n const uint8_t *tmp_buf = buf;\n- buf = (uint8_t *)allocate_padded_buffer(len);\n+ buf = (uint8_t *)internal::allocate_padded_buffer(len);\n if (buf == nullptr)\n return document::doc_ref_result(doc, MEMALLOC);\n memcpy((void *)buf, tmp_buf, len);\n@@ -2927,20 +3736,33 @@ really_inline document::doc_ref_result document::parser::parse(const padded_stri\n return parse(s.data(), s.length(), false);\n }\n \n+inline document::stream document::parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept {\n+ return stream(*this, buf, len, batch_size);\n+}\n+inline document::stream document::parser::parse_many(const char *buf, size_t len, size_t batch_size) noexcept {\n+ return parse_many((const uint8_t *)buf, len, batch_size);\n+}\n+inline document::stream document::parser::parse_many(const std::string &s, size_t batch_size) noexcept {\n+ return parse_many(s.data(), s.length(), batch_size);\n+}\n+inline document::stream document::parser::parse_many(const padded_string &s, size_t batch_size) noexcept {\n+ return parse_many(s.data(), s.length(), batch_size);\n+}\n+\n really_inline size_t document::parser::capacity() const noexcept {\n return _capacity;\n }\n+really_inline size_t document::parser::max_capacity() const noexcept {\n+ return _max_capacity;\n+}\n really_inline size_t document::parser::max_depth() const noexcept {\n return _max_depth;\n }\n-WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) {\n- return set_capacity(capacity) && set_max_depth(max_depth);\n-}\n \n WARN_UNUSED\n-inline bool document::parser::set_capacity(size_t capacity) {\n+inline error_code document::parser::set_capacity(size_t capacity) noexcept {\n if (_capacity == capacity) {\n- return true;\n+ return SUCCESS;\n }\n \n // Set capacity to 0 until we finish, in case there's an error\n@@ -2949,16 +3771,15 @@ inline bool document::parser::set_capacity(size_t capacity) {\n //\n // Reallocate the document\n //\n- if (!doc.set_capacity(capacity)) {\n- return false;\n- }\n+ error_code err = doc.set_capacity(capacity);\n+ if (err) { return err; }\n \n //\n // Don't allocate 0 bytes, just return.\n //\n if (capacity == 0) {\n structural_indexes.reset();\n- return true;\n+ return SUCCESS;\n }\n \n //\n@@ -2967,20 +3788,26 @@ inline bool document::parser::set_capacity(size_t capacity) {\n uint32_t max_structures = ROUNDUP_N(capacity, 64) + 2 + 7;\n structural_indexes.reset( new (std::nothrow) uint32_t[max_structures]); // TODO realloc\n if (!structural_indexes) {\n- return false;\n+ return MEMALLOC;\n }\n \n _capacity = capacity;\n- return true;\n+ return SUCCESS;\n+}\n+\n+really_inline void document::parser::set_max_capacity(size_t max_capacity) noexcept {\n+ _max_capacity = max_capacity;\n }\n \n-WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) {\n+WARN_UNUSED inline error_code document::parser::set_max_depth(size_t max_depth) noexcept {\n+ if (max_depth == _max_depth && ret_address) { return SUCCESS; }\n+\n _max_depth = 0;\n \n if (max_depth == 0) {\n ret_address.reset();\n containing_scope_offset.reset();\n- return true;\n+ return SUCCESS;\n }\n \n //\n@@ -2995,24 +3822,38 @@ WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) {\n \n if (!ret_address || !containing_scope_offset) {\n // Could not allocate memory\n- return false;\n+ return MEMALLOC;\n }\n \n _max_depth = max_depth;\n- return true;\n+ return SUCCESS;\n }\n \n-WARN_UNUSED\n-inline error_code document::parser::init_parse(size_t len) noexcept {\n- if (len > capacity()) {\n- return error = CAPACITY;\n+WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) noexcept {\n+ return !set_capacity(capacity) && !set_max_depth(max_depth);\n+}\n+\n+inline error_code document::parser::ensure_capacity(size_t desired_capacity) noexcept {\n+ // If we don't have enough capacity, (try to) automatically bump it.\n+ if (unlikely(desired_capacity > capacity())) {\n+ if (desired_capacity > max_capacity()) {\n+ return error = CAPACITY;\n+ }\n+\n+ error = set_capacity(desired_capacity);\n+ if (error) { return error; }\n }\n+\n+ // Allocate depth-based buffers if they aren't already.\n+ error = set_max_depth(max_depth());\n+ if (error) { return error; }\n+\n // If the last doc was taken, we need to allocate a new one\n if (!doc.tape) {\n- if (!doc.set_capacity(len)) {\n- return error = MEMALLOC;\n- }\n+ error = doc.set_capacity(desired_capacity);\n+ if (error) { return error; }\n }\n+\n return SUCCESS;\n }\n \n@@ -3039,13 +3880,22 @@ really_inline document::tape_type document::tape_ref::type() const noexcept {\n return static_cast(doc->tape[json_index] >> 56);\n }\n really_inline uint64_t document::tape_ref::tape_value() const noexcept {\n- return doc->tape[json_index] & JSON_VALUE_MASK;\n+ return doc->tape[json_index] & internal::JSON_VALUE_MASK;\n }\n template\n really_inline T document::tape_ref::next_tape_value() const noexcept {\n static_assert(sizeof(T) == sizeof(uint64_t));\n return *reinterpret_cast(&doc->tape[json_index + 1]);\n }\n+inline std::string_view document::tape_ref::get_string_view() const noexcept {\n+ size_t string_buf_index = tape_value();\n+ uint32_t len;\n+ memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len));\n+ return std::string_view(\n+ reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]),\n+ len\n+ );\n+}\n \n //\n // document::array inline implementation\n@@ -3166,6 +4016,7 @@ really_inline bool document::element::is_array() const noexcept {\n really_inline bool document::element::is_object() const noexcept {\n return type() == tape_type::START_OBJECT;\n }\n+#if __cpp_exceptions\n inline document::element::operator bool() const noexcept(false) { return as_bool(); }\n inline document::element::operator const char*() const noexcept(false) { return as_c_str(); }\n inline document::element::operator std::string_view() const noexcept(false) { return as_string(); }\n@@ -3174,6 +4025,7 @@ inline document::element::operator int64_t() const noexcept(false) { return as_i\n inline document::element::operator double() const noexcept(false) { return as_double(); }\n inline document::element::operator document::array() const noexcept(false) { return as_array(); }\n inline document::element::operator document::object() const noexcept(false) { return as_object(); }\n+#endif\n inline document::element_result document::element::as_bool() const noexcept {\n switch (type()) {\n case tape_type::TRUE_VALUE:\n@@ -3196,15 +4048,8 @@ inline document::element_result document::element::as_c_str() cons\n }\n inline document::element_result document::element::as_string() const noexcept {\n switch (type()) {\n- case tape_type::STRING: {\n- size_t string_buf_index = tape_value();\n- uint32_t len;\n- memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len));\n- return std::string_view(\n- reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]),\n- len\n- );\n- }\n+ case tape_type::STRING:\n+ return get_string_view();\n default:\n return INCORRECT_TYPE;\n }\n@@ -3237,7 +4082,6 @@ inline document::element_result document::element::as_int64_t() const n\n case tape_type::INT64:\n return next_tape_value();\n default:\n- std::cout << \"Incorrect \" << json_index << \" = \" << char(type()) << std::endl;\n return INCORRECT_TYPE;\n }\n }\n@@ -3286,6 +4130,197 @@ inline document::element_result document::element::operator[]\n return obj[key];\n }\n \n+//\n+// minify inline implementation\n+//\n+\n+template<>\n+inline std::ostream& minify::print(std::ostream& out) {\n+ return out << minify(value.root());\n+}\n+template<>\n+inline std::ostream& minify::print(std::ostream& out) {\n+ using tape_type=document::tape_type;\n+\n+ size_t depth = 0;\n+ constexpr size_t MAX_DEPTH = 16;\n+ bool is_object[MAX_DEPTH];\n+ is_object[0] = false;\n+ bool after_value = false;\n+\n+ document::tape_ref iter(value.doc, value.json_index);\n+ do {\n+ // print commas after each value\n+ if (after_value) {\n+ out << \",\";\n+ }\n+ // If we are in an object, print the next key and :, and skip to the next value.\n+ if (is_object[depth]) {\n+ out << '\"' << internal::escape_json_string(iter.get_string_view()) << \"\\\":\";\n+ iter.json_index++;\n+ }\n+ switch (iter.type()) {\n+\n+ // Arrays\n+ case tape_type::START_ARRAY: {\n+ // If we're too deep, we need to recurse to go deeper.\n+ depth++;\n+ if (unlikely(depth >= MAX_DEPTH)) {\n+ out << minify(document::array(iter.doc, iter.json_index));\n+ iter.json_index = iter.tape_value() - 1; // Jump to the ]\n+ depth--;\n+ break;\n+ }\n+\n+ // Output start [\n+ out << '[';\n+ iter.json_index++;\n+\n+ // Handle empty [] (we don't want to come back around and print commas)\n+ if (iter.type() == tape_type::END_ARRAY) {\n+ out << ']';\n+ depth--;\n+ break;\n+ }\n+\n+ is_object[depth] = false;\n+ after_value = false;\n+ continue;\n+ }\n+\n+ // Objects\n+ case tape_type::START_OBJECT: {\n+ // If we're too deep, we need to recurse to go deeper.\n+ depth++;\n+ if (unlikely(depth >= MAX_DEPTH)) {\n+ out << minify(document::object(iter.doc, iter.json_index));\n+ iter.json_index = iter.tape_value() - 1; // Jump to the }\n+ depth--;\n+ break;\n+ }\n+\n+ // Output start {\n+ out << '{';\n+ iter.json_index++;\n+\n+ // Handle empty {} (we don't want to come back around and print commas)\n+ if (iter.type() == tape_type::END_OBJECT) {\n+ out << '}';\n+ depth--;\n+ break;\n+ }\n+\n+ is_object[depth] = true;\n+ after_value = false;\n+ continue;\n+ }\n+\n+ // Scalars\n+ case tape_type::STRING:\n+ out << '\"' << internal::escape_json_string(iter.get_string_view()) << '\"';\n+ break;\n+ case tape_type::INT64:\n+ out << iter.next_tape_value();\n+ iter.json_index++; // numbers take up 2 spots, so we need to increment extra\n+ break;\n+ case tape_type::UINT64:\n+ out << iter.next_tape_value();\n+ iter.json_index++; // numbers take up 2 spots, so we need to increment extra\n+ break;\n+ case tape_type::DOUBLE:\n+ out << iter.next_tape_value();\n+ iter.json_index++; // numbers take up 2 spots, so we need to increment extra\n+ break;\n+ case tape_type::TRUE_VALUE:\n+ out << \"true\";\n+ break;\n+ case tape_type::FALSE_VALUE:\n+ out << \"false\";\n+ break;\n+ case tape_type::NULL_VALUE:\n+ out << \"null\";\n+ break;\n+\n+ // These are impossible\n+ case tape_type::END_ARRAY:\n+ case tape_type::END_OBJECT:\n+ case tape_type::ROOT:\n+ abort();\n+ }\n+ iter.json_index++;\n+ after_value = true;\n+\n+ // Handle multiple ends in a row\n+ while (depth != 0 && (iter.type() == tape_type::END_ARRAY || iter.type() == tape_type::END_OBJECT)) {\n+ out << char(iter.type());\n+ depth--;\n+ iter.json_index++;\n+ }\n+\n+ // Stop when we're at depth 0\n+ } while (depth != 0);\n+\n+ return out;\n+}\n+template<>\n+inline std::ostream& minify::print(std::ostream& out) {\n+ out << '{';\n+ auto pair = value.begin();\n+ auto end = value.end();\n+ if (pair != end) {\n+ out << minify(*pair);\n+ for (++pair; pair != end; ++pair) {\n+ out << \",\" << minify(*pair);\n+ }\n+ }\n+ return out << '}';\n+}\n+template<>\n+inline std::ostream& minify::print(std::ostream& out) {\n+ out << '[';\n+ auto element = value.begin();\n+ auto end = value.end();\n+ if (element != end) {\n+ out << minify(*element);\n+ for (++element; element != end; ++element) {\n+ out << \",\" << minify(*element);\n+ }\n+ }\n+ return out << ']';\n+}\n+template<>\n+inline std::ostream& minify::print(std::ostream& out) {\n+ return out << '\"' << internal::escape_json_string(value.key) << \"\\\":\" << value.value;\n+}\n+\n+#if __cpp_exceptions\n+template<>\n+inline std::ostream& minify::print(std::ostream& out) {\n+ if (value.error) { throw simdjson_error(value.error); }\n+ return out << minify(value.doc);\n+}\n+template<>\n+inline std::ostream& minify::print(std::ostream& out) {\n+ if (value.error) { throw simdjson_error(value.error); }\n+ return out << minify(value.doc);\n+}\n+template<>\n+inline std::ostream& minify>::print(std::ostream& out) {\n+ if (value.error) { throw simdjson_error(value.error); }\n+ return out << minify(value.value);\n+}\n+template<>\n+inline std::ostream& minify>::print(std::ostream& out) {\n+ if (value.error) { throw simdjson_error(value.error); }\n+ return out << minify(value.value);\n+}\n+template<>\n+inline std::ostream& minify>::print(std::ostream& out) {\n+ if (value.error) { throw simdjson_error(value.error); }\n+ return out << minify(value.value);\n+}\n+#endif\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_INLINE_DOCUMENT_H\n@@ -3442,7 +4477,7 @@ template bool document_iterator::prev() {\n oldnpos = npos;\n if ((current_type == '[') || (current_type == '{')) {\n // we need to jump\n- npos = (current_val & JSON_VALUE_MASK);\n+ npos = (current_val & internal::JSON_VALUE_MASK);\n } else {\n npos = npos + ((current_type == 'd' || current_type == 'l') ? 2 : 1);\n }\n@@ -3471,7 +4506,7 @@ template bool document_iterator::down() {\n return false;\n }\n if ((current_type == '[') || (current_type == '{')) {\n- size_t npos = (current_val & JSON_VALUE_MASK);\n+ size_t npos = (current_val & internal::JSON_VALUE_MASK);\n if (npos == location + 2) {\n return false; // we have an empty scope\n }\n@@ -3498,7 +4533,7 @@ template bool document_iterator::next() {\n size_t npos;\n if ((current_type == '[') || (current_type == '{')) {\n // we need to jump\n- npos = (current_val & JSON_VALUE_MASK);\n+ npos = (current_val & internal::JSON_VALUE_MASK);\n } else {\n npos = location + (is_number() ? 2 : 1);\n }\n@@ -3520,7 +4555,7 @@ document_iterator::document_iterator(const document &doc_) noexcept\n current_val = doc.tape[location++];\n current_type = (current_val >> 56);\n depth_index[0].scope_type = current_type;\n- tape_length = current_val & JSON_VALUE_MASK;\n+ tape_length = current_val & internal::JSON_VALUE_MASK;\n if (location < tape_length) {\n // If we make it here, then depth_capacity must >=2, but the compiler\n // may not know this.\n@@ -3533,9 +4568,11 @@ document_iterator::document_iterator(const document &doc_) noexcept\n }\n }\n \n+#if __cpp_exceptions\n template \n document_iterator::document_iterator(const document::parser &parser)\n : document_iterator(parser.get_document()) {}\n+#endif\n \n template \n document_iterator::document_iterator(\n@@ -3568,7 +4605,7 @@ bool document_iterator::print(std::ostream &os, bool escape_strings)\n case '\"': // we have a string\n os << '\"';\n if (escape_strings) {\n- internal::print_with_escapes(get_string(), os, get_string_length());\n+ os << internal::escape_json_string(std::string_view(get_string(), get_string_length()));\n } else {\n // was: os << get_string();, but given that we can include null chars, we\n // have to do something crazier:\n@@ -3748,7 +4785,7 @@ bool document_iterator::relative_move_to(const char *pointer,\n size_t npos;\n if ((current_type == '[') || (current_type == '{')) {\n // we need to jump\n- npos = (current_val & JSON_VALUE_MASK);\n+ npos = (current_val & internal::JSON_VALUE_MASK);\n } else {\n npos =\n location + ((current_type == 'd' || current_type == 'l') ? 2 : 1);\n@@ -3782,18 +4819,21 @@ bool document_iterator::relative_move_to(const char *pointer,\n \n #endif // SIMDJSON_INLINE_DOCUMENT_ITERATOR_H\n /* end file include/simdjson/inline/document_iterator.h */\n-/* begin file include/simdjson/inline/jsonstream.h */\n-#ifndef SIMDJSON_INLINE_JSONSTREAM_H\n-#define SIMDJSON_INLINE_JSONSTREAM_H\n+/* begin file include/simdjson/inline/document_stream.h */\n+#ifndef SIMDJSON_INLINE_DOCUMENT_STREAM_H\n+#define SIMDJSON_INLINE_DOCUMENT_STREAM_H\n \n #include \n #include \n+#if __cpp_exceptions\n #include \n+#endif\n #include \n \n namespace simdjson::internal {\n \n-/* This algorithm is used to quickly identify the buffer position of\n+/**\n+ * This algorithm is used to quickly identify the buffer position of\n * the last JSON document inside the current batch.\n *\n * It does its work by finding the last pair of structural characters\n@@ -3880,13 +4920,17 @@ static inline size_t trimmed_length_safe_utf8(const char * c, size_t len) {\n \n namespace simdjson {\n \n-template \n-JsonStream::JsonStream(const string_container &s,\n- size_t batchSize)\n- : str(s), _batch_size(batchSize) {\n+really_inline document::stream::stream(\n+ document::parser &_parser,\n+ const uint8_t *buf,\n+ size_t len,\n+ size_t batch_size,\n+ error_code _error\n+) noexcept : parser{_parser}, _buf{buf}, _len{len}, _batch_size(batch_size), error{_error} {\n+ if (!error) { error = json_parse(); }\n }\n \n-template JsonStream::~JsonStream() {\n+inline document::stream::~stream() noexcept {\n #ifdef SIMDJSON_THREADS_ENABLED\n if (stage_1_thread.joinable()) {\n stage_1_thread.join();\n@@ -3894,42 +4938,61 @@ template JsonStream::~JsonStream() {\n #endif\n }\n \n+really_inline document::stream::iterator document::stream::begin() noexcept {\n+ return iterator(*this, false);\n+}\n+\n+really_inline document::stream::iterator document::stream::end() noexcept {\n+ return iterator(*this, true);\n+}\n+\n+really_inline document::stream::iterator::iterator(stream& stream, bool _is_end) noexcept\n+ : _stream{stream}, finished{_is_end} {\n+}\n+\n+really_inline document::doc_ref_result document::stream::iterator::operator*() noexcept {\n+ return doc_ref_result(_stream.parser.doc, _stream.error == SUCCESS_AND_HAS_MORE ? SUCCESS : _stream.error);\n+}\n+\n+really_inline document::stream::iterator& document::stream::iterator::operator++() noexcept {\n+ if (_stream.error == SUCCESS_AND_HAS_MORE) {\n+ _stream.error = _stream.json_parse();\n+ } else {\n+ finished = true;\n+ }\n+ return *this;\n+}\n+\n+really_inline bool document::stream::iterator::operator!=(const document::stream::iterator &other) const noexcept {\n+ return finished != other.finished;\n+}\n+\n #ifdef SIMDJSON_THREADS_ENABLED\n \n // threaded version of json_parse\n // todo: simplify this code further\n-template \n-int JsonStream::json_parse(document::parser &parser) {\n- if (unlikely(parser.capacity() == 0)) {\n- const bool allocok = parser.allocate_capacity(_batch_size);\n- if (!allocok) {\n- return parser.error = simdjson::MEMALLOC;\n- }\n- } else if (unlikely(parser.capacity() < _batch_size)) {\n- return parser.error = simdjson::CAPACITY;\n- }\n- if (unlikely(parser_thread.capacity() < _batch_size)) {\n- const bool allocok_thread = parser_thread.allocate_capacity(_batch_size);\n- if (!allocok_thread) {\n- return parser.error = simdjson::MEMALLOC;\n- }\n- }\n+inline error_code document::stream::json_parse() noexcept {\n+ error = parser.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+ error = parser_thread.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+\n if (unlikely(load_next_batch)) {\n // First time loading\n if (!stage_1_thread.joinable()) {\n _batch_size = (std::min)(_batch_size, remaining());\n _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size);\n if (_batch_size == 0) {\n- return parser.error = simdjson::UTF8_ERROR;\n+ return simdjson::UTF8_ERROR;\n }\n auto stage1_is_ok = error_code(simdjson::active_implementation->stage1(buf(), _batch_size, parser, true));\n if (stage1_is_ok != simdjson::SUCCESS) {\n- return parser.error = stage1_is_ok;\n+ return stage1_is_ok;\n }\n size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser);\n if (last_index == 0) {\n if (parser.n_structural_indexes == 0) {\n- return parser.error = simdjson::EMPTY;\n+ return simdjson::EMPTY;\n }\n } else {\n parser.n_structural_indexes = last_index + 1;\n@@ -3939,7 +5002,7 @@ int JsonStream::json_parse(document::parser &parser) {\n else {\n stage_1_thread.join();\n if (stage1_is_ok_thread != simdjson::SUCCESS) {\n- return parser.error = stage1_is_ok_thread;\n+ return stage1_is_ok_thread;\n }\n std::swap(parser.structural_indexes, parser_thread.structural_indexes);\n parser.n_structural_indexes = parser_thread.n_structural_indexes;\n@@ -3955,7 +5018,7 @@ int JsonStream::json_parse(document::parser &parser) {\n _batch_size = internal::trimmed_length_safe_utf8(\n (const char *)(buf() + last_json_buffer_loc), _batch_size);\n if (_batch_size == 0) {\n- return parser.error = simdjson::UTF8_ERROR;\n+ return simdjson::UTF8_ERROR;\n }\n // let us capture read-only variables\n const uint8_t *const b = buf() + last_json_buffer_loc;\n@@ -3971,7 +5034,7 @@ int JsonStream::json_parse(document::parser &parser) {\n next_json = 0;\n load_next_batch = false;\n } // load_next_batch\n- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n+ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n if (res == simdjson::SUCCESS_AND_HAS_MORE) {\n n_parsed_docs++;\n current_buffer_loc = parser.structural_indexes[next_json];\n@@ -3990,18 +5053,10 @@ int JsonStream::json_parse(document::parser &parser) {\n #else // SIMDJSON_THREADS_ENABLED\n \n // single-threaded version of json_parse\n-template \n-int JsonStream::json_parse(document::parser &parser) {\n- if (unlikely(parser.capacity() == 0)) {\n- const bool allocok = parser.allocate_capacity(_batch_size);\n- if (!allocok) {\n- parser.valid = false;\n- return parser.error = MEMALLOC;\n- }\n- } else if (unlikely(parser.capacity() < _batch_size)) {\n- parser.valid = false;\n- return parser.error = CAPACITY;\n- }\n+inline error_code document::stream::json_parse() noexcept {\n+ error = parser.ensure_capacity(_batch_size);\n+ if (error) { return error; }\n+\n if (unlikely(load_next_batch)) {\n advance(current_buffer_loc);\n n_bytes_parsed += current_buffer_loc;\n@@ -4009,21 +5064,19 @@ int JsonStream::json_parse(document::parser &parser) {\n _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size);\n auto stage1_is_ok = (error_code)simdjson::active_implementation->stage1(buf(), _batch_size, parser, true);\n if (stage1_is_ok != simdjson::SUCCESS) {\n- parser.valid = false;\n- return parser.error = stage1_is_ok;\n+ return stage1_is_ok;\n }\n size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser);\n if (last_index == 0) {\n if (parser.n_structural_indexes == 0) {\n- parser.valid = false;\n- return parser.error = EMPTY;\n+ return EMPTY;\n }\n } else {\n parser.n_structural_indexes = last_index + 1;\n }\n load_next_batch = false;\n } // load_next_batch\n- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n+ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json);\n if (likely(res == simdjson::SUCCESS_AND_HAS_MORE)) {\n n_parsed_docs++;\n current_buffer_loc = parser.structural_indexes[next_json];\n@@ -4035,16 +5088,248 @@ int JsonStream::json_parse(document::parser &parser) {\n load_next_batch = true;\n res = simdjson::SUCCESS_AND_HAS_MORE;\n }\n- } else {\n- printf(\"E\\n\");\n }\n return res;\n }\n #endif // SIMDJSON_THREADS_ENABLED\n \n } // end of namespace simdjson\n+#endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H\n+/* end file include/simdjson/inline/document_stream.h */\n+/* begin file include/simdjson/inline/error.h */\n+#ifndef SIMDJSON_INLINE_ERROR_H\n+#define SIMDJSON_INLINE_ERROR_H\n+\n+#include \n+\n+namespace simdjson::internal {\n+ // We store the error code so we can validate the error message is associated with the right code\n+ struct error_code_info {\n+ error_code code;\n+ std::string message;\n+ };\n+ // These MUST match the codes in error_code. We check this constraint in basictests.\n+ inline const error_code_info error_codes[] {\n+ { SUCCESS, \"No error\" },\n+ { SUCCESS_AND_HAS_MORE, \"No error and buffer still has more data\" },\n+ { CAPACITY, \"This parser can't support a document that big\" },\n+ { MEMALLOC, \"Error allocating memory, we're most likely out of memory\" },\n+ { TAPE_ERROR, \"Something went wrong while writing to the tape\" },\n+ { DEPTH_ERROR, \"The JSON document was too deep (too many nested objects and arrays)\" },\n+ { STRING_ERROR, \"Problem while parsing a string\" },\n+ { T_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 't'\" },\n+ { F_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'f'\" },\n+ { N_ATOM_ERROR, \"Problem while parsing an atom starting with the letter 'n'\" },\n+ { NUMBER_ERROR, \"Problem while parsing a number\" },\n+ { UTF8_ERROR, \"The input is not valid UTF-8\" },\n+ { UNINITIALIZED, \"Uninitialized\" },\n+ { EMPTY, \"Empty: no JSON found\" },\n+ { UNESCAPED_CHARS, \"Within strings, some characters must be escaped, we found unescaped characters\" },\n+ { UNCLOSED_STRING, \"A string is opened, but never closed.\" },\n+ { UNSUPPORTED_ARCHITECTURE, \"simdjson does not have an implementation supported by this CPU architecture (perhaps it's a non-SIMD CPU?).\" },\n+ { INCORRECT_TYPE, \"The JSON element does not have the requested type.\" },\n+ { NUMBER_OUT_OF_RANGE, \"The JSON number is too large or too small to fit within the requested type.\" },\n+ { NO_SUCH_FIELD, \"The JSON field referenced does not exist in this object.\" },\n+ { IO_ERROR, \"Error reading the file.\" },\n+ { UNEXPECTED_ERROR, \"Unexpected error, consider reporting this problem as you may have found a bug in simdjson\" }\n+ }; // error_messages[]\n+} // namespace simdjson::internal\n+\n+namespace simdjson {\n+\n+inline const char *error_message(error_code error) noexcept {\n+ // If you're using error_code, we're trusting you got it from the enum.\n+ return internal::error_codes[int(error)].message.c_str();\n+}\n+\n+inline const std::string &error_message(int error) noexcept {\n+ if (error < 0 || error >= error_code::NUM_ERROR_CODES) {\n+ return internal::error_codes[UNEXPECTED_ERROR].message;\n+ }\n+ return internal::error_codes[error].message;\n+}\n+\n+inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept {\n+ return out << error_message(error);\n+}\n+\n+} // namespace simdjson\n+\n+#endif // SIMDJSON_INLINE_ERROR_H\n+/* end file include/simdjson/inline/error.h */\n+/* begin file include/simdjson/inline/jsonstream.h */\n+// TODO Remove this -- deprecated API and files\n+\n+#ifndef SIMDJSON_INLINE_JSONSTREAM_H\n+#define SIMDJSON_INLINE_JSONSTREAM_H\n+\n+\n+namespace simdjson {\n+\n+template \n+inline JsonStream::JsonStream(const string_container &s, size_t _batch_size) noexcept\n+ : str(s), batch_size(_batch_size) {\n+}\n+\n+template \n+inline JsonStream::~JsonStream() noexcept {\n+ if (stream) { delete stream; }\n+}\n+\n+template \n+inline int JsonStream::json_parse(document::parser &parser) noexcept {\n+ if (unlikely(stream == nullptr)) {\n+ stream = new document::stream(parser, reinterpret_cast(str.data()), str.length(), batch_size);\n+ } else {\n+ if (&parser != &stream->parser) { return stream->error = TAPE_ERROR; }\n+ stream->error = stream->json_parse();\n+ }\n+ return stream->error;\n+}\n+\n+} // namespace simdjson\n+\n #endif // SIMDJSON_INLINE_JSONSTREAM_H\n /* end file include/simdjson/inline/jsonstream.h */\n+/* begin file include/simdjson/inline/padded_string.h */\n+#ifndef SIMDJSON_INLINE_PADDED_STRING_H\n+#define SIMDJSON_INLINE_PADDED_STRING_H\n+\n+\n+#include \n+#include \n+#include \n+#include \n+\n+namespace simdjson::internal {\n+\n+// low-level function to allocate memory with padding so we can read past the\n+// \"length\" bytes safely. if you must provide a pointer to some data, create it\n+// with this function: length is the max. size in bytes of the string caller is\n+// responsible to free the memory (free(...))\n+inline char *allocate_padded_buffer(size_t length) noexcept {\n+ // we could do a simple malloc\n+ // return (char *) malloc(length + SIMDJSON_PADDING);\n+ // However, we might as well align to cache lines...\n+ size_t totalpaddedlength = length + SIMDJSON_PADDING;\n+ char *padded_buffer = aligned_malloc_char(64, totalpaddedlength);\n+#ifndef NDEBUG\n+ if (padded_buffer == nullptr) {\n+ return nullptr;\n+ }\n+#endif // NDEBUG\n+ memset(padded_buffer + length, 0, totalpaddedlength - length);\n+ return padded_buffer;\n+} // allocate_padded_buffer()\n+\n+} // namespace simdjson::internal\n+\n+namespace simdjson {\n+\n+inline padded_string::padded_string() noexcept : viable_size(0), data_ptr(nullptr) {}\n+inline padded_string::padded_string(size_t length) noexcept\n+ : viable_size(length), data_ptr(internal::allocate_padded_buffer(length)) {\n+ if (data_ptr != nullptr)\n+ data_ptr[length] = '\\0'; // easier when you need a c_str\n+}\n+inline padded_string::padded_string(const char *data, size_t length) noexcept\n+ : viable_size(length), data_ptr(internal::allocate_padded_buffer(length)) {\n+ if ((data != nullptr) and (data_ptr != nullptr)) {\n+ memcpy(data_ptr, data, length);\n+ data_ptr[length] = '\\0'; // easier when you need a c_str\n+ }\n+}\n+// note: do not pass std::string arguments by value\n+inline padded_string::padded_string(const std::string & str_ ) noexcept\n+ : viable_size(str_.size()), data_ptr(internal::allocate_padded_buffer(str_.size())) {\n+ if (data_ptr != nullptr) {\n+ memcpy(data_ptr, str_.data(), str_.size());\n+ data_ptr[str_.size()] = '\\0'; // easier when you need a c_str\n+ }\n+}\n+// note: do pass std::string_view arguments by value\n+inline padded_string::padded_string(std::string_view sv_) noexcept\n+ : viable_size(sv_.size()), data_ptr(internal::allocate_padded_buffer(sv_.size())) {\n+ if (data_ptr != nullptr) {\n+ memcpy(data_ptr, sv_.data(), sv_.size());\n+ data_ptr[sv_.size()] = '\\0'; // easier when you need a c_str\n+ }\n+}\n+inline padded_string::padded_string(padded_string &&o) noexcept\n+ : viable_size(o.viable_size), data_ptr(o.data_ptr) {\n+ o.data_ptr = nullptr; // we take ownership\n+}\n+\n+inline padded_string &padded_string::operator=(padded_string &&o) noexcept {\n+ aligned_free_char(data_ptr);\n+ data_ptr = o.data_ptr;\n+ viable_size = o.viable_size;\n+ o.data_ptr = nullptr; // we take ownership\n+ o.viable_size = 0;\n+ return *this;\n+}\n+\n+inline void padded_string::swap(padded_string &o) noexcept {\n+ size_t tmp_viable_size = viable_size;\n+ char *tmp_data_ptr = data_ptr;\n+ viable_size = o.viable_size;\n+ data_ptr = o.data_ptr;\n+ o.data_ptr = tmp_data_ptr;\n+ o.viable_size = tmp_viable_size;\n+}\n+\n+inline padded_string::~padded_string() noexcept {\n+ aligned_free_char(data_ptr);\n+}\n+\n+inline size_t padded_string::size() const noexcept { return viable_size; }\n+\n+inline size_t padded_string::length() const noexcept { return viable_size; }\n+\n+inline const char *padded_string::data() const noexcept { return data_ptr; }\n+\n+inline char *padded_string::data() noexcept { return data_ptr; }\n+\n+inline simdjson_result padded_string::load(const std::string &filename) noexcept {\n+ // Open the file\n+ std::FILE *fp = std::fopen(filename.c_str(), \"rb\");\n+ if (fp == nullptr) {\n+ return IO_ERROR;\n+ }\n+\n+ // Get the file size\n+ if(std::fseek(fp, 0, SEEK_END) < 0) {\n+ std::fclose(fp);\n+ return IO_ERROR;\n+ }\n+ long llen = std::ftell(fp);\n+ if((llen < 0) || (llen == LONG_MAX)) {\n+ std::fclose(fp);\n+ return IO_ERROR;\n+ }\n+\n+ // Allocate the padded_string\n+ size_t len = (size_t) llen;\n+ padded_string s(len);\n+ if (s.data() == nullptr) {\n+ std::fclose(fp);\n+ return MEMALLOC;\n+ }\n+\n+ // Read the padded_string\n+ std::rewind(fp);\n+ size_t bytes_read = std::fread(s.data(), 1, len, fp);\n+ if (std::fclose(fp) != 0 || bytes_read != len) {\n+ return IO_ERROR;\n+ }\n+\n+ return std::move(s);\n+}\n+\n+} // namespace simdjson\n+\n+#endif // SIMDJSON_INLINE_PADDED_STRING_H\n+/* end file include/simdjson/inline/padded_string.h */\n \n #endif // SIMDJSON_H\n-/* end file include/simdjson/inline/jsonstream.h */\n+/* end file include/simdjson/inline/padded_string.h */\n"} +{"instance_id": "simdjson__simdjson-644", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/document.h b/include/simdjson/document.h\nindex dd284ec4..af85f89a 100644\n--- a/include/simdjson/document.h\n+++ b/include/simdjson/document.h\n@@ -251,38 +251,48 @@ public:\n #endif // SIMDJSON_EXCEPTIONS\n \n /**\n- * Get the value associated with the given JSON pointer.\n+ * Get the value associated with the given key.\n+ *\n+ * If the element is an object, this performs a key lookup matching the given\n+ * **unescaped** key. If the element is an array, this performs a JSON pointer\n+ * query.\n *\n * dom::parser parser;\n * element doc = parser.parse(R\"({ \"foo\": { \"a\": [ 10, 20, 30 ] }})\");\n- * doc[\"/foo/a/1\"] == 20\n- * doc[\"/\"][\"foo\"][\"a\"].at(1) == 20\n- * doc[\"\"][\"foo\"][\"a\"].at(1) == 20\n+ * doc[\"foo\"][\"a\"].at(1) == 20\n *\n- * @return The value associated with the given JSON pointer, or:\n- * - NO_SUCH_FIELD if a field does not exist in an object\n+ * Note: for objects, this is equivalent to `at_key()`, not `at()`.\n+ * To use a JSON pointer query on an object, use `at()` instead.\n+ *\n+ * @return The value associated with the given key, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n * - INCORRECT_TYPE if a non-integer is used to access an array\n * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n */\n- inline simdjson_result operator[](const std::string_view &json_pointer) const noexcept;\n+ inline simdjson_result operator[](const std::string_view &key) const noexcept;\n \n /**\n- * Get the value associated with the given JSON pointer.\n+ * Get the value associated with the given key.\n+ *\n+ * If the element is an object, this performs a key lookup matching the given\n+ * **unescaped** key. If the element is an array, this performs a JSON pointer\n+ * query.\n *\n * dom::parser parser;\n * element doc = parser.parse(R\"({ \"foo\": { \"a\": [ 10, 20, 30 ] }})\");\n- * doc[\"/foo/a/1\"] == 20\n- * doc[\"/\"][\"foo\"][\"a\"].at(1) == 20\n- * doc[\"\"][\"foo\"][\"a\"].at(1) == 20\n+ * doc[\"foo\"][\"a\"].at(1) == 20\n *\n- * @return The value associated with the given JSON pointer, or:\n- * - NO_SUCH_FIELD if a field does not exist in an object\n+ * Note: for objects, this is equivalent to `at_key()`, not `at()`.\n+ * To use a JSON pointer query on an object, use `at()` instead.\n+ *\n+ * @return The value associated with the given key, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n * - INCORRECT_TYPE if a non-integer is used to access an array\n * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n */\n- inline simdjson_result operator[](const char *json_pointer) const noexcept;\n+ inline simdjson_result operator[](const char *key) const noexcept;\n \n /**\n * Get the value associated with the given JSON pointer.\n@@ -315,8 +325,10 @@ public:\n * The key will be matched against **unescaped** JSON:\n *\n * dom::parser parser;\n- * parser.parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].get().value == 1\n- * parser.parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].get().error == NO_SUCH_FIELD\n+ * parser.parse(R\"({ \"a\\n\": 1 })\").at_key(\"a\\n\").get().value == 1\n+ * parser.parse(R\"({ \"a\\n\": 1 })\").at_key(\"a\\\\n\").get().error == NO_SUCH_FIELD\n+ *\n+ * Note: `operator[]` on an object is equivalent to `at_key()`.\n *\n * @return The value associated with this field, or:\n * - NO_SUCH_FIELD if the field does not exist in the object\n@@ -511,36 +523,40 @@ public:\n inline iterator end() const noexcept;\n \n /**\n- * Get the value associated with the given JSON pointer.\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n *\n * dom::parser parser;\n- * object obj = parser.parse(R\"({ \"foo\": { \"a\": [ 10, 20, 30 ] }})\");\n- * obj[\"foo/a/1\"] == 20\n- * obj[\"foo\"][\"a\"].at(1) == 20\n+ * object obj = parser.parse(R\"({ \"a\\n\": 1 })\");\n+ * obj[\"a\\n\"].get().value == 1\n+ * obj[\"a\\\\n\"].get().error == NO_SUCH_FIELD\n *\n- * @return The value associated with the given JSON pointer, or:\n- * - NO_SUCH_FIELD if a field does not exist in an object\n- * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n- * - INCORRECT_TYPE if a non-integer is used to access an array\n- * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n+ * Note: this is equivalent to `at_key()`, not `at()`.\n+ * To use a JSON pointer query, use `at()` instead.\n+ *\n+ * @return The value associated with the given key, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n */\n- inline simdjson_result operator[](const std::string_view &json_pointer) const noexcept;\n+ inline simdjson_result operator[](const std::string_view &key) const noexcept;\n \n /**\n- * Get the value associated with the given JSON pointer.\n+ * Get the value associated with the given key.\n+ *\n+ * The key will be matched against **unescaped** JSON:\n *\n * dom::parser parser;\n- * object obj = parser.parse(R\"({ \"foo\": { \"a\": [ 10, 20, 30 ] }})\");\n- * obj[\"foo/a/1\"] == 20\n- * obj[\"foo\"][\"a\"].at(1) == 20\n+ * object obj = parser.parse(R\"({ \"a\\n\": 1 })\");\n+ * obj[\"a\\n\"].get().value == 1\n+ * obj[\"a\\\\n\"].get().error == NO_SUCH_FIELD\n *\n- * @return The value associated with the given JSON pointer, or:\n- * - NO_SUCH_FIELD if a field does not exist in an object\n- * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length\n- * - INCORRECT_TYPE if a non-integer is used to access an array\n- * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed\n+ * Note: this is equivalent to `at_key()`, not `at()`.\n+ * To use a JSON pointer query, use `at()` instead.\n+ *\n+ * @return The value associated with the given key, or:\n+ * - NO_SUCH_FIELD if the field does not exist in the object\n */\n- inline simdjson_result operator[](const char *json_pointer) const noexcept;\n+ inline simdjson_result operator[](const char *key) const noexcept;\n \n /**\n * Get the value associated with the given JSON pointer.\n@@ -564,8 +580,10 @@ public:\n * The key will be matched against **unescaped** JSON:\n *\n * dom::parser parser;\n- * parser.parse(R\"({ \"a\\n\": 1 })\")[\"a\\n\"].get().value == 1\n- * parser.parse(R\"({ \"a\\n\": 1 })\")[\"a\\\\n\"].get().error == NO_SUCH_FIELD\n+ * parser.parse(R\"({ \"a\\n\": 1 })\").get().at_key(\"a\\n\").get().value == 1\n+ * parser.parse(R\"({ \"a\\n\": 1 })\").get().at_key(\"a\\\\n\").get().error == NO_SUCH_FIELD\n+ *\n+ * Note: `operator[]` on an object is equivalent to `at_key()`.\n *\n * @return The value associated with this field, or:\n * - NO_SUCH_FIELD if the field does not exist in the object\ndiff --git a/include/simdjson/inline/document.h b/include/simdjson/inline/document.h\nindex 72e8bfa3..8279f1df 100644\n--- a/include/simdjson/inline/document.h\n+++ b/include/simdjson/inline/document.h\n@@ -603,11 +603,11 @@ inline object::iterator object::end() const noexcept {\n return iterator(doc, after_element() - 1);\n }\n \n-inline simdjson_result object::operator[](const std::string_view &json_pointer) const noexcept {\n- return at(json_pointer);\n+inline simdjson_result object::operator[](const std::string_view &key) const noexcept {\n+ return at_key(key);\n }\n-inline simdjson_result object::operator[](const char *json_pointer) const noexcept {\n- return at(json_pointer);\n+inline simdjson_result object::operator[](const char *key) const noexcept {\n+ return at_key(key);\n }\n inline simdjson_result object::at(const std::string_view &json_pointer) const noexcept {\n size_t slash = json_pointer.find('/');\n@@ -840,11 +840,13 @@ inline element::operator object() const noexcept(false) { return get();\n \n #endif\n \n-inline simdjson_result element::operator[](const std::string_view &json_pointer) const noexcept {\n- return at(json_pointer);\n+inline simdjson_result element::operator[](const std::string_view &key) const noexcept {\n+ if (type() == internal::tape_type::START_OBJECT) { return at_key(key); }\n+ return at(key);\n }\n-inline simdjson_result element::operator[](const char *json_pointer) const noexcept {\n- return at(json_pointer);\n+inline simdjson_result element::operator[](const char *key) const noexcept {\n+ if (type() == internal::tape_type::START_OBJECT) { return at_key(key); }\n+ return at(key);\n }\n inline simdjson_result element::at(const std::string_view &json_pointer) const noexcept {\n switch (type()) {\n"} +{"instance_id": "simdjson__simdjson-949", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/dom/element.h b/include/simdjson/dom/element.h\nindex 80b6a395..49676deb 100644\n--- a/include/simdjson/dom/element.h\n+++ b/include/simdjson/dom/element.h\n@@ -46,6 +46,33 @@ public:\n /** Whether this element is a json `null`. */\n really_inline bool is_null() const noexcept;\n \n+ /** Whether this element is a json boolean. */\n+ really_inline bool is_bool() const noexcept;\n+\n+ /** Whether this element is a json number. */\n+ really_inline bool is_number() const noexcept;\n+\n+ /** Whether this element is a json integer (int64 or uint64). */\n+ really_inline bool is_integer() const noexcept;\n+\n+ /** Whether this element is a json string. */\n+ really_inline bool is_string() const noexcept;\n+\n+ /** Whether this element is a json array. */\n+ really_inline bool is_array() const noexcept;\n+\n+ /** Whether this element is a json object. */\n+ really_inline bool is_object() const noexcept;\n+\n+ /** Whether this element is a json double. */\n+ really_inline bool is_double() const noexcept;\n+\n+ /** Whether this element is a json int64. */\n+ really_inline bool is_int64() const noexcept;\n+\n+ /** Whether this element is a json uint64. */\n+ really_inline bool is_uint64() const noexcept;\n+\n /**\n * Tell whether the value can be cast to provided type (T).\n *\n@@ -79,6 +106,65 @@ public:\n template\n really_inline simdjson_result get() const noexcept;\n \n+ /**\n+ * Get the value as a boolean.\n+ *\n+ * @returns The boolean value, or:\n+ * INCORRECT_TYPE if the value is not a boolean.\n+ */\n+ really_inline simdjson_result get_bool() const noexcept;\n+\n+ /**\n+ * Get the value as a double.\n+ *\n+ * @returns The double value, or:\n+ * INCORRECT_TYPE if the value is not a number.\n+ * NUMBER_OUT_OF_RANGE if the integer doesn't fit in a double.\n+ */\n+ really_inline simdjson_result get_double() const noexcept;\n+\n+ /**\n+ * Get the value as an int64.\n+ *\n+ * @returns The int64_t value, or:\n+ * INCORRECT_TYPE if the value is not an integer.\n+ * NUMBER_OUT_OF_RANGE if the integer doesn't fit in int64_t.\n+ */\n+ really_inline simdjson_result get_int64() const noexcept;\n+\n+ /**\n+ * Get the value as a uint64.\n+ *\n+ * @returns The uint64_t value, or:\n+ * INCORRECT_TYPE if the value is not an integer.\n+ * NUMBER_OUT_OF_RANGE if the integer is negative or doesn't fit in uint64_t.\n+ */\n+ really_inline simdjson_result get_uint64() const noexcept;\n+\n+ /**\n+ * Get the value as a string_view.\n+ *\n+ * @returns The string_view value, or:\n+ * INCORRECT_TYPE if the value is not a string.\n+ */\n+ really_inline simdjson_result get_string() const noexcept;\n+\n+ /**\n+ * Get the value as a dom::array.\n+ *\n+ * @returns The dom::array value, or:\n+ * INCORRECT_TYPE if the value is not an array.\n+ */\n+ really_inline simdjson_result get_array() const noexcept;\n+\n+ /**\n+ * Get the value as a dom::object.\n+ *\n+ * @returns The dom::object value, or:\n+ * INCORRECT_TYPE if the value is not an object.\n+ */\n+ really_inline simdjson_result get_object() const noexcept;\n+\n #if SIMDJSON_EXCEPTIONS\n /**\n * Read this element as a boolean.\n@@ -290,11 +376,28 @@ public:\n \n inline simdjson_result type() const noexcept;\n inline simdjson_result is_null() const noexcept;\n+ inline simdjson_result is_bool() const noexcept;\n+ inline simdjson_result is_number() const noexcept;\n+ inline simdjson_result is_integer() const noexcept;\n+ inline simdjson_result is_string() const noexcept;\n+ inline simdjson_result is_array() const noexcept;\n+ inline simdjson_result is_object() const noexcept;\n+ inline simdjson_result is_double() const noexcept;\n+ inline simdjson_result is_int64() const noexcept;\n+ inline simdjson_result is_uint64() const noexcept;\n template\n inline simdjson_result is() const noexcept;\n template\n inline simdjson_result get() const noexcept;\n \n+ inline simdjson_result get_bool() const noexcept;\n+ inline simdjson_result get_double() const noexcept;\n+ inline simdjson_result get_int64() const noexcept;\n+ inline simdjson_result get_uint64() const noexcept;\n+ inline simdjson_result get_string() const noexcept;\n+ inline simdjson_result get_array() const noexcept;\n+ inline simdjson_result get_object() const noexcept;\n+\n inline simdjson_result operator[](const std::string_view &key) const noexcept;\n inline simdjson_result operator[](const char *key) const noexcept;\n inline simdjson_result at(const std::string_view &json_pointer) const noexcept;\ndiff --git a/include/simdjson/inline/element.h b/include/simdjson/inline/element.h\nindex c77be566..45cc41bc 100644\n--- a/include/simdjson/inline/element.h\n+++ b/include/simdjson/inline/element.h\n@@ -26,6 +26,42 @@ inline simdjson_result simdjson_result::is_null() const noex\n if (error()) { return error(); }\n return first.is_null();\n }\n+inline simdjson_result simdjson_result::is_bool() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_bool();\n+}\n+inline simdjson_result simdjson_result::is_number() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_number();\n+}\n+inline simdjson_result simdjson_result::is_integer() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_integer();\n+}\n+inline simdjson_result simdjson_result::is_string() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_string();\n+}\n+inline simdjson_result simdjson_result::is_array() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_array();\n+}\n+inline simdjson_result simdjson_result::is_object() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_object();\n+}\n+inline simdjson_result simdjson_result::is_double() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_double();\n+}\n+inline simdjson_result simdjson_result::is_int64() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_int64();\n+}\n+inline simdjson_result simdjson_result::is_uint64() const noexcept {\n+ if (error()) { return error(); }\n+ return first.is_uint64();\n+}\n template\n inline simdjson_result simdjson_result::is() const noexcept {\n if (error()) { return error(); }\n@@ -37,6 +73,35 @@ inline simdjson_result simdjson_result::get() const noexcept {\n return first.get();\n }\n \n+inline simdjson_result simdjson_result::get_bool() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_bool();\n+}\n+inline simdjson_result simdjson_result::get_double() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_double();\n+}\n+inline simdjson_result simdjson_result::get_int64() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_int64();\n+}\n+inline simdjson_result simdjson_result::get_uint64() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_uint64();\n+}\n+inline simdjson_result simdjson_result::get_string() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_string();\n+}\n+inline simdjson_result simdjson_result::get_array() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_array();\n+}\n+inline simdjson_result simdjson_result::get_object() const noexcept {\n+ if (error()) { return error(); }\n+ return first.get_object();\n+}\n+\n inline simdjson_result simdjson_result::operator[](const std::string_view &key) const noexcept {\n if (error()) { return error(); }\n return first[key];\n@@ -115,6 +180,33 @@ inline element_type element::type() const noexcept {\n really_inline bool element::is_null() const noexcept {\n return is_null_on_tape();\n }\n+really_inline bool element::is_bool() const noexcept {\n+ return is_true() || is_false();\n+}\n+really_inline bool element::is_number() const noexcept {\n+ return is_double() || is_int64() || is_uint64();\n+}\n+really_inline bool element::is_integer() const noexcept {\n+ return is_int64() || is_uint64();\n+}\n+really_inline bool element::is_string() const noexcept {\n+ return tape_ref_type() == internal::tape_type::STRING;\n+}\n+really_inline bool element::is_array() const noexcept {\n+ return tape_ref_type() == internal::tape_type::START_ARRAY;\n+}\n+really_inline bool element::is_object() const noexcept {\n+ return tape_ref_type() == internal::tape_type::START_OBJECT;\n+}\n+really_inline bool element::is_double() const noexcept {\n+ return internal::tape_ref::is_double();\n+}\n+really_inline bool element::is_int64() const noexcept {\n+ return internal::tape_ref::is_int64();\n+}\n+really_inline bool element::is_uint64() const noexcept {\n+ return internal::tape_ref::is_uint64();\n+}\n \n template<>\n inline simdjson_result element::get() const noexcept {\n@@ -220,6 +312,28 @@ really_inline bool element::is() const noexcept {\n return !result.error();\n }\n \n+really_inline simdjson_result element::get_bool() const noexcept {\n+ return get();\n+}\n+really_inline simdjson_result element::get_double() const noexcept {\n+ return get();\n+}\n+really_inline simdjson_result element::get_int64() const noexcept {\n+ return get();\n+}\n+really_inline simdjson_result element::get_uint64() const noexcept {\n+ return get();\n+}\n+really_inline simdjson_result element::get_string() const noexcept {\n+ return get();\n+}\n+really_inline simdjson_result element::get_array() const noexcept {\n+ return get();\n+}\n+really_inline simdjson_result element::get_object() const noexcept {\n+ return get();\n+}\n+\n #if SIMDJSON_EXCEPTIONS\n \n inline element::operator bool() const noexcept(false) { return get(); }\n"} +{"instance_id": "simdjson__simdjson-954", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/dom/document_stream.h b/include/simdjson/dom/document_stream.h\nindex 947ebf8c..bf3041a2 100644\n--- a/include/simdjson/dom/document_stream.h\n+++ b/include/simdjson/dom/document_stream.h\n@@ -72,8 +72,14 @@ private:\n */\n class document_stream {\n public:\n- /** Move one document_stream to another. */\n+ /**\n+ * Move one document_stream to another.\n+ */\n really_inline document_stream(document_stream && other) noexcept = default;\n+ /** @private Construct an empty document_stream with an error. */\n+ really_inline document_stream() noexcept;\n+ /** @private Construct a document_stream with an error and no parser. */\n+ really_inline document_stream(error_code _error) noexcept;\n really_inline ~document_stream() noexcept;\n \n /**\n@@ -133,7 +139,7 @@ private:\n \n document_stream &operator=(const document_stream &) = delete; // Disallow copying\n \n- document_stream(document_stream &other) = delete; // Disallow copying\n+ document_stream(const document_stream &other) = delete; // Disallow copying\n \n /**\n * Construct a document_stream. Does not allocate or parse anything until the iterator is\n@@ -199,7 +205,7 @@ private:\n /** Pass the next batch through stage 1 with the given parser. */\n inline error_code run_stage1(dom::parser &p, size_t batch_start) noexcept;\n \n- dom::parser &parser;\n+ dom::parser *parser;\n const uint8_t *buf;\n const size_t len;\n const size_t batch_size;\n@@ -235,6 +241,44 @@ private:\n }; // class document_stream\n \n } // namespace dom\n+\n+/**\n+ * The result of a document_stream operation that may fail.\n+ *\n+ * Provides a way to check for errors before iterating the stream:\n+ *\n+ * dom::parser parser;\n+ * auto [stream, error] = parser.load_many(path);\n+ * if (error) { cerr << error << endl; return; }\n+ * for (auto [doc, error] : stream) {\n+ * if (error) { cerr << error << endl; return; }\n+ * cout << doc << endl;\n+ * }\n+ */\n+template<>\n+struct simdjson_result : public internal::simdjson_result_base {\n+public:\n+ really_inline simdjson_result() noexcept;\n+ really_inline simdjson_result(dom::document_stream &&value) noexcept;\n+ really_inline simdjson_result(error_code error) noexcept;\n+\n+ really_inline dom::document_stream::iterator begin() noexcept;\n+ really_inline dom::document_stream::iterator end() noexcept;\n+\n+#if SIMDJSON_EXCEPTIONS\n+ really_inline operator dom::document_stream() && noexcept(false);\n+#else\n+ /**\n+ * @private Deprecated conversion to document_stream that mirrors the old\n+ * behavior where load_many() returned document_stream directly. This allows\n+ * noexcept code that used the old API to continue working with a deprecation\n+ * warning.\n+ */\n+ [[deprecated(\"Use tie(), get(), or value() instead.\")]]\n+ really_inline operator dom::document_stream() && noexcept;\n+#endif\n+};\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_DOCUMENT_STREAM_H\ndiff --git a/include/simdjson/dom/parser.h b/include/simdjson/dom/parser.h\nindex 49ca234d..9d6ce3c0 100644\n--- a/include/simdjson/dom/parser.h\n+++ b/include/simdjson/dom/parser.h\n@@ -193,14 +193,13 @@ public:\n * spot is cache-related: small enough to fit in cache, yet big enough to\n * parse as many documents as possible in one tight loop.\n * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n- * @return The stream. If there is an error, it will be returned during iteration. An empty input\n- * will yield 0 documents rather than an EMPTY error. Errors:\n+ * @return The stream, or an error:\n * - IO_ERROR if there was an error opening or reading the file.\n * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n * - other json errors if parsing fails.\n */\n- inline document_stream load_many(const std::string &path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+ inline simdjson_result load_many(const std::string &path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n \n /**\n * Parse a buffer containing many JSON documents.\ndiff --git a/include/simdjson/inline/document_stream.h b/include/simdjson/inline/document_stream.h\nindex 3e72305b..9c2fd3f6 100644\n--- a/include/simdjson/inline/document_stream.h\n+++ b/include/simdjson/inline/document_stream.h\n@@ -64,13 +64,32 @@ inline void stage1_worker::run(document_stream * ds, dom::parser * stage1, size_\n }\n #endif\n \n+really_inline document_stream::document_stream() noexcept\n+ : parser{nullptr},\n+ buf{nullptr},\n+ len{0},\n+ batch_size{0},\n+ error{UNINITIALIZED}\n+{\n+}\n+\n+really_inline document_stream::document_stream(error_code _error) noexcept\n+ : parser{nullptr},\n+ buf{nullptr},\n+ len{0},\n+ batch_size{0},\n+ error{_error}\n+{\n+ assert(_error);\n+}\n+\n really_inline document_stream::document_stream(\n dom::parser &_parser,\n size_t _batch_size,\n const uint8_t *_buf,\n size_t _len\n ) noexcept\n- : parser{_parser},\n+ : parser{&_parser},\n buf{_buf},\n len{_len},\n batch_size{_batch_size},\n@@ -88,7 +107,7 @@ really_inline document_stream::document_stream(\n size_t _batch_size,\n error_code _error\n ) noexcept\n- : parser{_parser},\n+ : parser{&_parser},\n buf{nullptr},\n len{0},\n batch_size{_batch_size},\n@@ -117,7 +136,7 @@ really_inline document_stream::iterator::iterator(document_stream& _stream, bool\n really_inline simdjson_result document_stream::iterator::operator*() noexcept {\n // Once we have yielded any errors, we're finished.\n if (stream.error) { finished = true; return stream.error; }\n- return stream.parser.doc.root();\n+ return stream.parser->doc.root();\n }\n \n really_inline document_stream::iterator& document_stream::iterator::operator++() noexcept {\n@@ -134,12 +153,12 @@ really_inline bool document_stream::iterator::operator!=(const document_stream::\n inline void document_stream::start() noexcept {\n if (error) { return; }\n \n- error = parser.ensure_capacity(batch_size);\n+ error = parser->ensure_capacity(batch_size);\n if (error) { return; }\n \n // Always run the first stage 1 parse immediately\n batch_start = 0;\n- error = run_stage1(parser, batch_start);\n+ error = run_stage1(*parser, batch_start);\n if (error) { return; }\n \n #ifdef SIMDJSON_THREADS_ENABLED\n@@ -163,8 +182,8 @@ inline void document_stream::next() noexcept {\n if (error) { return; }\n \n // Load the next document from the batch\n- doc_index = batch_start + parser.implementation->structural_indexes[parser.implementation->next_structural_index];\n- error = parser.implementation->stage2_next(parser.doc);\n+ doc_index = batch_start + parser->implementation->structural_indexes[parser->implementation->next_structural_index];\n+ error = parser->implementation->stage2_next(parser->doc);\n // If that was the last document in the batch, load another batch (if available)\n while (error == EMPTY) {\n batch_start = next_batch_start();\n@@ -173,17 +192,17 @@ inline void document_stream::next() noexcept {\n #ifdef SIMDJSON_THREADS_ENABLED\n load_from_stage1_thread();\n #else\n- error = run_stage1(parser, batch_start);\n+ error = run_stage1(*parser, batch_start);\n #endif\n if (error) { continue; } // If the error was EMPTY, we may want to load another batch.\n // Run stage 2 on the first document in the batch\n- doc_index = batch_start + parser.implementation->structural_indexes[parser.implementation->next_structural_index];\n- error = parser.implementation->stage2_next(parser.doc);\n+ doc_index = batch_start + parser->implementation->structural_indexes[parser->implementation->next_structural_index];\n+ error = parser->implementation->stage2_next(parser->doc);\n }\n }\n \n inline size_t document_stream::next_batch_start() const noexcept {\n- return batch_start + parser.implementation->structural_indexes[parser.implementation->n_structural_indexes];\n+ return batch_start + parser->implementation->structural_indexes[parser->implementation->n_structural_indexes];\n }\n \n inline error_code document_stream::run_stage1(dom::parser &p, size_t _batch_start) noexcept {\n@@ -202,7 +221,7 @@ inline void document_stream::load_from_stage1_thread() noexcept {\n worker->finish();\n // Swap to the parser that was loaded up in the thread. Make sure the parser has\n // enough memory to swap to, as well.\n- std::swap(parser, stage1_thread_parser);\n+ std::swap(*parser, stage1_thread_parser);\n error = stage1_thread_error;\n if (error) { return; }\n \n@@ -226,5 +245,38 @@ inline void document_stream::start_stage1_thread() noexcept {\n #endif // SIMDJSON_THREADS_ENABLED\n \n } // namespace dom\n+\n+//\n+// simdjson_result inline implementation\n+//\n+\n+really_inline simdjson_result::simdjson_result() noexcept\n+ : internal::simdjson_result_base() {}\n+really_inline simdjson_result::simdjson_result(dom::document_stream &&value) noexcept\n+ : internal::simdjson_result_base(std::forward(value)) {}\n+really_inline simdjson_result::simdjson_result(error_code error) noexcept\n+ : internal::simdjson_result_base(error) {}\n+\n+really_inline dom::document_stream::iterator simdjson_result::begin() noexcept {\n+ if (error()) { return dom::document_stream(error()).begin(); }\n+ return first.begin();\n+}\n+\n+really_inline dom::document_stream::iterator simdjson_result::end() noexcept {\n+ if (error()) { return dom::document_stream(error()).end(); }\n+ return first.end();\n+}\n+\n+#if SIMDJSON_EXCEPTIONS\n+really_inline simdjson_result::operator dom::document_stream() && noexcept(false) {\n+ return std::forward>(*this).take_value();\n+}\n+#else\n+really_inline simdjson_result::operator dom::document_stream() && noexcept {\n+ if (error()) { return dom::document_stream(error()); }\n+ return std::move(first);\n+}\n+#endif\n+\n } // namespace simdjson\n #endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H\ndiff --git a/include/simdjson/inline/parser.h b/include/simdjson/inline/parser.h\nindex 16bd47c6..0f98e94b 100644\n--- a/include/simdjson/inline/parser.h\n+++ b/include/simdjson/inline/parser.h\n@@ -84,11 +84,11 @@ inline simdjson_result parser::load(const std::string &path) & noexcept\n return parse(loaded_bytes.get(), len, false);\n }\n \n-inline document_stream parser::load_many(const std::string &path, size_t batch_size) noexcept {\n+inline simdjson_result parser::load_many(const std::string &path, size_t batch_size) noexcept {\n size_t len;\n auto _error = read_file(path).get(len);\n if (_error) {\n- return document_stream(*this, batch_size, _error);\n+ return _error;\n }\n return document_stream(*this, batch_size, (const uint8_t*)loaded_bytes.get(), len);\n }\ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex 21efa8e4..2777b138 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -3335,14 +3335,13 @@ public:\n * spot is cache-related: small enough to fit in cache, yet big enough to\n * parse as many documents as possible in one tight loop.\n * Defaults to 10MB, which has been a reasonable sweet spot in our tests.\n- * @return The stream. If there is an error, it will be returned during iteration. An empty input\n- * will yield 0 documents rather than an EMPTY error. Errors:\n+ * @return The stream, or an error:\n * - IO_ERROR if there was an error opening or reading the file.\n * - MEMALLOC if the parser does not have enough capacity and memory allocation fails.\n * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity.\n * - other json errors if parsing fails.\n */\n- inline document_stream load_many(const std::string &path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n+ inline simdjson_result load_many(const std::string &path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept;\n \n /**\n * Parse a buffer containing many JSON documents.\n@@ -3577,6 +3576,10 @@ class document_stream {\n public:\n /** Move one document_stream to another. */\n really_inline document_stream(document_stream && other) noexcept = default;\n+ /** @private Construct an empty document_stream with an error. */\n+ really_inline document_stream() noexcept;\n+ /** @private Construct a document_stream with an error and no parser. */\n+ really_inline document_stream(error_code _error) noexcept;\n really_inline ~document_stream() noexcept;\n \n /**\n@@ -3620,7 +3623,7 @@ private:\n \n document_stream &operator=(const document_stream &) = delete; // Disallow copying\n \n- document_stream(document_stream &other) = delete; // Disallow copying\n+ document_stream(const document_stream &other) = delete; // Disallow copying\n \n /**\n * Construct a document_stream. Does not allocate or parse anything until the iterator is\n@@ -3628,10 +3631,18 @@ private:\n */\n really_inline document_stream(\n dom::parser &parser,\n+ size_t batch_size,\n const uint8_t *buf,\n- size_t len,\n+ size_t len\n+ ) noexcept;\n+\n+ /**\n+ * Construct a document_stream with an initial error.\n+ */\n+ really_inline document_stream(\n+ dom::parser &parser,\n size_t batch_size,\n- error_code error = SUCCESS\n+ error_code error\n ) noexcept;\n \n /**\n@@ -3678,7 +3689,7 @@ private:\n /** Pass the next batch through stage 1 with the given parser. */\n inline error_code run_stage1(dom::parser &p, size_t batch_start) noexcept;\n \n- dom::parser &parser;\n+ dom::parser *parser;\n const uint8_t *buf;\n const size_t len;\n const size_t batch_size;\n@@ -3711,6 +3722,38 @@ private:\n }; // class document_stream\n \n } // namespace dom\n+\n+/**\n+ * The result of a document_stream operation that may fail.\n+ *\n+ * Provides a way to check for errors before iterating the stream:\n+ *\n+ * dom::parser parser;\n+ * auto [stream, error] = parser.load_many(path);\n+ * if (error) { cerr << error << endl; return; }\n+ * for (auto [doc, error] : stream) {\n+ * if (error) { cerr << error << endl; return; }\n+ * cout << doc << endl;\n+ * }\n+ */\n+template<>\n+struct simdjson_result : public internal::simdjson_result_base {\n+public:\n+ really_inline simdjson_result() noexcept;\n+ really_inline simdjson_result(dom::document_stream &&value) noexcept;\n+ really_inline simdjson_result(error_code error) noexcept;\n+\n+ really_inline dom::document_stream::iterator begin() noexcept;\n+ really_inline dom::document_stream::iterator end() noexcept;\n+\n+#if SIMDJSON_EXCEPTIONS\n+ really_inline operator dom::document_stream() && noexcept(false);\n+#else\n+ [[deprecated(\"Use tie(), get(), or value() instead.\")]]\n+ really_inline operator dom::document_stream() && noexcept;\n+#endif\n+};\n+\n } // namespace simdjson\n \n #endif // SIMDJSON_DOCUMENT_STREAM_H\n@@ -4953,19 +4996,51 @@ inline std::ostream& operator<<(std::ostream& out, const simdjson_result document_stream::iterator::operator*() noexcept {\n // Once we have yielded any errors, we're finished.\n if (stream.error) { finished = true; return stream.error; }\n- return stream.parser.doc.root();\n+ return stream.parser->doc.root();\n }\n \n really_inline document_stream::iterator& document_stream::iterator::operator++() noexcept {\n@@ -5011,12 +5086,12 @@ really_inline bool document_stream::iterator::operator!=(const document_stream::\n inline void document_stream::start() noexcept {\n if (error) { return; }\n \n- error = parser.ensure_capacity(batch_size);\n+ error = parser->ensure_capacity(batch_size);\n if (error) { return; }\n \n // Always run the first stage 1 parse immediately\n batch_start = 0;\n- error = run_stage1(parser, batch_start);\n+ error = run_stage1(*parser, batch_start);\n if (error) { return; }\n \n #ifdef SIMDJSON_THREADS_ENABLED\n@@ -5036,7 +5111,7 @@ inline void document_stream::next() noexcept {\n if (error) { return; }\n \n // Load the next document from the batch\n- error = parser.implementation->stage2_next(parser.doc);\n+ error = parser->implementation->stage2_next(parser->doc);\n \n // If that was the last document in the batch, load another batch (if available)\n while (error == EMPTY) {\n@@ -5046,17 +5121,17 @@ inline void document_stream::next() noexcept {\n #ifdef SIMDJSON_THREADS_ENABLED\n load_from_stage1_thread();\n #else\n- error = run_stage1(parser, batch_start);\n+ error = run_stage1(*parser, batch_start);\n #endif\n if (error) { continue; } // If the error was EMPTY, we may want to load another batch.\n \n // Run stage 2 on the first document in the batch\n- error = parser.implementation->stage2_next(parser.doc);\n+ error = parser->implementation->stage2_next(parser->doc);\n }\n }\n \n inline size_t document_stream::next_batch_start() const noexcept {\n- return batch_start + parser.implementation->structural_indexes[parser.implementation->n_structural_indexes];\n+ return batch_start + parser->implementation->structural_indexes[parser->implementation->n_structural_indexes];\n }\n \n inline error_code document_stream::run_stage1(dom::parser &p, size_t _batch_start) noexcept {\n@@ -5076,7 +5151,7 @@ inline void document_stream::load_from_stage1_thread() noexcept {\n \n // Swap to the parser that was loaded up in the thread. Make sure the parser has\n // enough memory to swap to, as well.\n- std::swap(parser, stage1_thread_parser);\n+ std::swap(*parser, stage1_thread_parser);\n error = stage1_thread_error;\n if (error) { return; }\n \n@@ -5101,6 +5176,39 @@ inline void document_stream::start_stage1_thread() noexcept {\n #endif // SIMDJSON_THREADS_ENABLED\n \n } // namespace dom\n+\n+//\n+// simdjson_result inline implementation\n+//\n+\n+really_inline simdjson_result::simdjson_result() noexcept\n+ : internal::simdjson_result_base() {}\n+really_inline simdjson_result::simdjson_result(dom::document_stream &&value) noexcept\n+ : internal::simdjson_result_base(std::forward(value)) {}\n+really_inline simdjson_result::simdjson_result(error_code error) noexcept\n+ : internal::simdjson_result_base(error) {}\n+\n+really_inline dom::document_stream::iterator simdjson_result::begin() noexcept {\n+ if (error()) { return dom::document_stream(error()).begin(); }\n+ return first.begin();\n+}\n+\n+really_inline dom::document_stream::iterator simdjson_result::end() noexcept {\n+ if (error()) { return dom::document_stream(error()).end(); }\n+ return first.end();\n+}\n+\n+#if SIMDJSON_EXCEPTIONS\n+really_inline simdjson_result::operator dom::document_stream() && noexcept(false) {\n+ return std::forward>(*this).take_value();\n+}\n+#else\n+really_inline simdjson_result::operator dom::document_stream() && noexcept {\n+ if (error()) { return dom::document_stream(error()); }\n+ return std::move(first);\n+}\n+#endif\n+\n } // namespace simdjson\n #endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H\n /* end file include/simdjson/inline/document_stream.h */\n@@ -6793,11 +6901,12 @@ inline simdjson_result parser::load(const std::string &path) & noexcept\n return parse(loaded_bytes.get(), len, false);\n }\n \n-inline document_stream parser::load_many(const std::string &path, size_t batch_size) noexcept {\n+inline simdjson_result parser::load_many(const std::string &path, size_t batch_size) noexcept {\n size_t len;\n error_code code;\n read_file(path).tie(len, code);\n- return document_stream(*this, (const uint8_t*)loaded_bytes.get(), len, batch_size, code);\n+ if (code) { return code; }\n+ return document_stream(*this, batch_size, (const uint8_t*)loaded_bytes.get(), len);\n }\n \n inline simdjson_result parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) & noexcept {\n@@ -6831,7 +6940,7 @@ really_inline simdjson_result parser::parse(const padded_string &s) & n\n }\n \n inline document_stream parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept {\n- return document_stream(*this, buf, len, batch_size);\n+ return document_stream(*this, batch_size, buf, len);\n }\n inline document_stream parser::parse_many(const char *buf, size_t len, size_t batch_size) noexcept {\n return parse_many((const uint8_t *)buf, len, batch_size);\n"} +{"instance_id": "simdjson__simdjson-958", "model_name_or_path": "CodeArts Agent + CodeArts-GLM-5.1", "model_patch": "diff --git a/include/simdjson/dom/element.h b/include/simdjson/dom/element.h\nindex 6d9af51d..acd466fc 100644\n--- a/include/simdjson/dom/element.h\n+++ b/include/simdjson/dom/element.h\n@@ -455,7 +455,7 @@ public:\n \n really_inline simdjson_result type() const noexcept;\n template\n- really_inline simdjson_result is() const noexcept;\n+ really_inline bool is() const noexcept;\n template\n really_inline simdjson_result get() const noexcept;\n template\n@@ -470,14 +470,14 @@ public:\n really_inline simdjson_result get_double() const noexcept;\n really_inline simdjson_result get_bool() const noexcept;\n \n- really_inline simdjson_result is_array() const noexcept;\n- really_inline simdjson_result is_object() const noexcept;\n- really_inline simdjson_result is_string() const noexcept;\n- really_inline simdjson_result is_int64_t() const noexcept;\n- really_inline simdjson_result is_uint64_t() const noexcept;\n- really_inline simdjson_result is_double() const noexcept;\n- really_inline simdjson_result is_bool() const noexcept;\n- really_inline simdjson_result is_null() const noexcept;\n+ really_inline bool is_array() const noexcept;\n+ really_inline bool is_object() const noexcept;\n+ really_inline bool is_string() const noexcept;\n+ really_inline bool is_int64_t() const noexcept;\n+ really_inline bool is_uint64_t() const noexcept;\n+ really_inline bool is_double() const noexcept;\n+ really_inline bool is_bool() const noexcept;\n+ really_inline bool is_null() const noexcept;\n \n really_inline simdjson_result operator[](const std::string_view &key) const noexcept;\n really_inline simdjson_result operator[](const char *key) const noexcept;\ndiff --git a/include/simdjson/inline/element.h b/include/simdjson/inline/element.h\nindex 690f40ff..af6b6a82 100644\n--- a/include/simdjson/inline/element.h\n+++ b/include/simdjson/inline/element.h\n@@ -24,8 +24,8 @@ inline simdjson_result simdjson_result::type()\n }\n \n template\n-really_inline simdjson_result simdjson_result::is() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is() const noexcept {\n+ if (error()) { return false; }\n return first.is();\n }\n template\n@@ -72,37 +72,37 @@ really_inline simdjson_result simdjson_result::get_bool() co\n return first.get_bool();\n }\n \n-really_inline simdjson_result simdjson_result::is_array() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_array() const noexcept {\n+ if (error()) { return false; }\n return first.is_array();\n }\n-really_inline simdjson_result simdjson_result::is_object() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_object() const noexcept {\n+ if (error()) { return false; }\n return first.is_object();\n }\n-really_inline simdjson_result simdjson_result::is_string() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_string() const noexcept {\n+ if (error()) { return false; }\n return first.is_string();\n }\n-really_inline simdjson_result simdjson_result::is_int64_t() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_int64_t() const noexcept {\n+ if (error()) { return false; }\n return first.is_int64_t();\n }\n-really_inline simdjson_result simdjson_result::is_uint64_t() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_uint64_t() const noexcept {\n+ if (error()) { return false; }\n return first.is_uint64_t();\n }\n-really_inline simdjson_result simdjson_result::is_double() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_double() const noexcept {\n+ if (error()) { return false; }\n return first.is_double();\n }\n-really_inline simdjson_result simdjson_result::is_bool() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_bool() const noexcept {\n+ if (error()) { return false; }\n return first.is_bool();\n }\n \n-really_inline simdjson_result simdjson_result::is_null() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_null() const noexcept {\n+ if (error()) { return false; }\n return first.is_null();\n }\n \ndiff --git a/singleheader/simdjson.h b/singleheader/simdjson.h\nindex 63a8f14e..7f04626a 100644\n--- a/singleheader/simdjson.h\n+++ b/singleheader/simdjson.h\n@@ -4349,7 +4349,7 @@ public:\n \n really_inline simdjson_result type() const noexcept;\n template\n- really_inline simdjson_result is() const noexcept;\n+ really_inline bool is() const noexcept;\n template\n really_inline simdjson_result get() const noexcept;\n template\n@@ -4364,14 +4364,14 @@ public:\n really_inline simdjson_result get_double() const noexcept;\n really_inline simdjson_result get_bool() const noexcept;\n \n- really_inline simdjson_result is_array() const noexcept;\n- really_inline simdjson_result is_object() const noexcept;\n- really_inline simdjson_result is_string() const noexcept;\n- really_inline simdjson_result is_int64_t() const noexcept;\n- really_inline simdjson_result is_uint64_t() const noexcept;\n- really_inline simdjson_result is_double() const noexcept;\n- really_inline simdjson_result is_bool() const noexcept;\n- really_inline simdjson_result is_null() const noexcept;\n+ really_inline bool is_array() const noexcept;\n+ really_inline bool is_object() const noexcept;\n+ really_inline bool is_string() const noexcept;\n+ really_inline bool is_int64_t() const noexcept;\n+ really_inline bool is_uint64_t() const noexcept;\n+ really_inline bool is_double() const noexcept;\n+ really_inline bool is_bool() const noexcept;\n+ really_inline bool is_null() const noexcept;\n \n really_inline simdjson_result operator[](const std::string_view &key) const noexcept;\n really_inline simdjson_result operator[](const char *key) const noexcept;\n@@ -5739,8 +5739,8 @@ inline simdjson_result simdjson_result::type()\n }\n \n template\n-really_inline simdjson_result simdjson_result::is() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is() const noexcept {\n+ if (error()) { return false; }\n return first.is();\n }\n template\n@@ -5787,37 +5787,37 @@ really_inline simdjson_result simdjson_result::get_bool() co\n return first.get_bool();\n }\n \n-really_inline simdjson_result simdjson_result::is_array() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_array() const noexcept {\n+ if (error()) { return false; }\n return first.is_array();\n }\n-really_inline simdjson_result simdjson_result::is_object() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_object() const noexcept {\n+ if (error()) { return false; }\n return first.is_object();\n }\n-really_inline simdjson_result simdjson_result::is_string() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_string() const noexcept {\n+ if (error()) { return false; }\n return first.is_string();\n }\n-really_inline simdjson_result simdjson_result::is_int64_t() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_int64_t() const noexcept {\n+ if (error()) { return false; }\n return first.is_int64_t();\n }\n-really_inline simdjson_result simdjson_result::is_uint64_t() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_uint64_t() const noexcept {\n+ if (error()) { return false; }\n return first.is_uint64_t();\n }\n-really_inline simdjson_result simdjson_result::is_double() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_double() const noexcept {\n+ if (error()) { return false; }\n return first.is_double();\n }\n-really_inline simdjson_result simdjson_result::is_bool() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_bool() const noexcept {\n+ if (error()) { return false; }\n return first.is_bool();\n }\n \n-really_inline simdjson_result simdjson_result::is_null() const noexcept {\n- if (error()) { return error(); }\n+really_inline bool simdjson_result::is_null() const noexcept {\n+ if (error()) { return false; }\n return first.is_null();\n }\n \n"} diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/fix-patch-run.log new file mode 100644 index 000000000..c85d34d8d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/fix-patch-run.log @@ -0,0 +1,380 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 2s (5443 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 146 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.1 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 146 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.8 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30319 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.BkSyADHr +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.BkSyADHr/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.BkSyADHr/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.BkSyADHr/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.BkSyADHr/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.BkSyADHr/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.BkSyADHr +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=efdeeee42b38 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.JrPzHdyr70/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp +patching file include/internal/catch_session.cpp +patching file single_include/catch2/catch.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python (found version "2.7.16") +-- Enabling C++11 +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + CATCH_DEVELOPMENT_BUILD + + +-- Build files have been written to: /home/Catch2/build +Scanning dependencies of target SelfTest +[ 0%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/TestMain.cpp.o +[ 1%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 2%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 3%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 4%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TagAlias.tests.cpp.o +[ 5%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 6%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 7%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 8%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 9%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 11%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +[ 12%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Condition.tests.cpp.o +[ 13%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Decomposition.tests.cpp.o +[ 14%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/EnumToString.tests.cpp.o +[ 15%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Exception.tests.cpp.o +[ 16%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Generators.tests.cpp.o +[ 16%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Message.tests.cpp.o +[ 17%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o +[ 18%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringChrono.tests.cpp.o +[ 19%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringGeneral.tests.cpp.o +[ 20%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringPair.tests.cpp.o +[ 21%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringTuple.tests.cpp.o +[ 22%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVariant.tests.cpp.o +[ 23%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVector.tests.cpp.o +[ 24%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringWhich.tests.cpp.o +[ 25%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Tricky.tests.cpp.o +[ 26%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/VariadicMacros.tests.cpp.o +[ 27%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Matchers.tests.cpp.o +[ 28%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_approx.cpp.o +[ 29%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionhandler.cpp.o +[ 30%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionresult.cpp.o +[ 31%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_benchmark.cpp.o +[ 32%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_capture_matchers.cpp.o +[ 33%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_commandline.cpp.o +[ 33%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_common.cpp.o +[ 34%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_config.cpp.o +[ 35%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_console_colour.cpp.o +[ 36%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_context.cpp.o +[ 37%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debug_console.cpp.o +[ 38%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debugger.cpp.o +[ 39%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_decomposer.cpp.o +[ 40%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_enforce.cpp.o +[ 41%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_errno_guard.cpp.o +[ 42%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_exception_translator_registry.cpp.o +[ 43%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_fatal_condition.cpp.o +[ 44%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_generators.cpp.o +[ 45%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_capture.cpp.o +[ 46%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_config.cpp.o +[ 47%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_exception.cpp.o +[ 48%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_registry_hub.cpp.o +[ 49%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_runner.cpp.o +[ 50%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_testcase.cpp.o +[ 50%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_list.cpp.o +[ 51%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_leak_detector.cpp.o +[ 52%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers.cpp.o +[ 53%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_floating.cpp.o +[ 54%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_generic.cpp.o +[ 55%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_string.cpp.o +[ 56%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_message.cpp.o +[ 57%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_output_redirect.cpp.o +[ 58%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_registry_hub.cpp.o +[ 59%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_reporter.cpp.o +[ 60%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_random_number_generator.cpp.o +[ 61%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_reporter_registry.cpp.o +[ 62%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_result_type.cpp.o +[ 63%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_run_context.cpp.o +[ 64%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section.cpp.o +[ 65%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section_info.cpp.o +[ 66%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_session.cpp.o +[ 66%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_singletons.cpp.o +[ 67%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_startup_exception_registry.cpp.o +[ 68%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stream.cpp.o +[ 69%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stringref.cpp.o +[ 70%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_string_manip.cpp.o +[ 71%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias.cpp.o +[ 72%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_autoregistrar.cpp.o +[ 73%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_registry.cpp.o +[ 74%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_info.cpp.o +[ 75%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_registry_impl.cpp.o +[ 76%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_tracker.cpp.o +[ 77%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_registry.cpp.o +[ 78%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec.cpp.o +[ 79%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec_parser.cpp.o +[ 80%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_timer.cpp.o +[ 81%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tostring.cpp.o +[ 82%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_totals.cpp.o +[ 83%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_uncaught_exceptions.cpp.o +[ 83%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_version.cpp.o +[ 84%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_wildcard_pattern.cpp.o +[ 85%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_xmlwriter.cpp.o +[ 86%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_bases.cpp.o +[ 87%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_compact.cpp.o +[ 88%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_console.cpp.o +[ 89%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_junit.cpp.o +[ 90%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_listening.cpp.o +[ 91%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_xml.cpp.o +[ 92%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_console_colour.cpp.o +[ 93%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_debugger.cpp.o +[ 94%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp.o +[ 95%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_option.cpp.o +[ 96%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_stream.cpp.o +[ 97%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp.o +[ 98%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_spec.cpp.o +[ 99%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_xmlwriter.cpp.o +[100%] Linking CXX executable SelfTest +[100%] Built target SelfTest +Test project /home/Catch2/build + Start 1: RunTests +1/8 Test #1: RunTests .........................***Failed 0.02 sec + Start 2: ListTests +2/8 Test #2: ListTests ........................ Passed 0.00 sec + Start 3: ListTags +3/8 Test #3: ListTags ......................... Passed 0.00 sec + Start 4: ListReporters +4/8 Test #4: ListReporters .................... Passed 0.00 sec + Start 5: ListTestNamesOnly +5/8 Test #5: ListTestNamesOnly ................ Passed 0.00 sec + Start 6: NoAssertions +6/8 Test #6: NoAssertions ..................... Passed 0.02 sec + Start 7: NoTest +7/8 Test #7: NoTest ........................... Passed 0.00 sec + Start 8: ApprovalTests +8/8 Test #8: ApprovalTests ....................***Failed Error regular expression found in output. Regex=[Results differed] 0.54 sec + +75% tests passed, 2 tests failed out of 8 + +Total Test time (real) = 0.61 sec + +The following tests FAILED: + 1 - RunTests (Failed) + 8 - ApprovalTests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/fix.patch new file mode 100644 index 000000000..191d05aca --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/fix.patch @@ -0,0 +1,44 @@ +diff --git a/include/internal/catch_session.cpp b/include/internal/catch_session.cpp +index 21877c99..19ba7ceb 100644 +--- a/include/internal/catch_session.cpp ++++ b/include/internal/catch_session.cpp +@@ -182,6 +182,17 @@ namespace Catch { + if( m_configData.libIdentify ) + libIdentify(); + m_config.reset(); ++ ++ auto const& factories = Catch::getRegistryHub().getReporterRegistry().getFactories(); ++ if( factories.find( m_configData.reporterName ) == factories.end() ) { ++ Catch::cerr() ++ << Colour( Colour::Red ) ++ << "\nError(s) in input:\n" ++ << Column( "Unrecognized reporter: '" + m_configData.reporterName + "'" ).indent( 2 ) ++ << "\n\n"; ++ return MaxExitCode; ++ } ++ + return 0; + } + +diff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp +index 4191607a..26f5b144 100644 +--- a/single_include/catch2/catch.hpp ++++ b/single_include/catch2/catch.hpp +@@ -10145,6 +10145,17 @@ namespace Catch { + if( m_configData.libIdentify ) + libIdentify(); + m_config.reset(); ++ ++ auto const& factories = Catch::getRegistryHub().getReporterRegistry().getFactories(); ++ if( factories.find( m_configData.reporterName ) == factories.end() ) { ++ Catch::cerr() ++ << Colour( Colour::Red ) ++ << "\nError(s) in input:\n" ++ << Column( "Unrecognized reporter: '" + m_configData.reporterName + "'" ).indent( 2 ) ++ << "\n\n"; ++ return MaxExitCode; ++ } ++ + return 0; + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/report.json new file mode 100644 index 000000000..e01e92d31 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1422/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 1422, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (8, 0, 0)\n test = (6, 2, 0)\n fix = (6, 2, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 8, "failed_count": 0, "skipped_count": 0, "passed_tests": ["approvaltests", "listtags", "notest", "listreporters", "runtests", "listtestnamesonly", "listtests", "noassertions"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 6, "failed_count": 2, "skipped_count": 0, "passed_tests": ["listtags", "notest", "noassertions", "listreporters", "listtestnamesonly", "listtests"], "failed_tests": ["approvaltests", "runtests"], "skipped_tests": []}, "fix_patch_result": {"passed_count": 6, "failed_count": 2, "skipped_count": 0, "passed_tests": ["listtags", "notest", "listreporters", "listtestnamesonly", "listtests", "noassertions"], "failed_tests": ["approvaltests", "runtests"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/fix-patch-run.log new file mode 100644 index 000000000..0230f1a0b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/fix-patch-run.log @@ -0,0 +1,382 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5665 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 146 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.4 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 146 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.6 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30319 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.bLkMYZEy +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.bLkMYZEy/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.bLkMYZEy/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.bLkMYZEy/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.bLkMYZEy/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.bLkMYZEy/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.bLkMYZEy +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d2bb7a22ad0b +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.Lz3ngLbGS6/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file projects/SelfTest/UsageTests/Message.tests.cpp +patching file include/internal/catch_message.cpp +patching file single_include/catch2/catch.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python (found version "2.7.16") +-- Enabling C++11 +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + CATCH_DEVELOPMENT_BUILD + + +-- Build files have been written to: /home/Catch2/build +Scanning dependencies of target SelfTest +[ 0%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/TestMain.cpp.o +[ 1%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 2%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 3%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 4%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TagAlias.tests.cpp.o +[ 5%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 6%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 7%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 8%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 9%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 11%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +[ 12%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Condition.tests.cpp.o +[ 13%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Decomposition.tests.cpp.o +[ 14%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/EnumToString.tests.cpp.o +[ 14%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Exception.tests.cpp.o +[ 15%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Generators.tests.cpp.o +[ 16%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Message.tests.cpp.o +[ 17%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o +[ 18%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringChrono.tests.cpp.o +[ 19%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringGeneral.tests.cpp.o +[ 20%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringPair.tests.cpp.o +[ 21%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringTuple.tests.cpp.o +[ 22%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVariant.tests.cpp.o +[ 23%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVector.tests.cpp.o +[ 24%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringWhich.tests.cpp.o +[ 25%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Tricky.tests.cpp.o +[ 26%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/VariadicMacros.tests.cpp.o +[ 27%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Matchers.tests.cpp.o +[ 28%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_approx.cpp.o +[ 28%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionhandler.cpp.o +[ 29%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionresult.cpp.o +[ 30%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_benchmark.cpp.o +[ 31%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_capture_matchers.cpp.o +[ 32%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_commandline.cpp.o +[ 33%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_common.cpp.o +[ 34%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_config.cpp.o +[ 35%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_console_colour.cpp.o +[ 36%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_context.cpp.o +[ 37%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debug_console.cpp.o +[ 38%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debugger.cpp.o +[ 39%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_decomposer.cpp.o +[ 40%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_enforce.cpp.o +[ 41%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_errno_guard.cpp.o +[ 42%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_exception_translator_registry.cpp.o +[ 42%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_fatal_condition.cpp.o +[ 43%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_generators.cpp.o +[ 44%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_capture.cpp.o +[ 45%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_config.cpp.o +[ 46%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_exception.cpp.o +[ 47%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_registry_hub.cpp.o +[ 48%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_runner.cpp.o +[ 49%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_testcase.cpp.o +[ 50%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_list.cpp.o +[ 51%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_leak_detector.cpp.o +[ 52%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers.cpp.o +[ 53%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_floating.cpp.o +[ 54%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_generic.cpp.o +[ 55%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_string.cpp.o +[ 56%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_message.cpp.o +[ 57%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_output_redirect.cpp.o +[ 57%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_registry_hub.cpp.o +[ 58%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_reporter.cpp.o +[ 59%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_polyfills.cpp.o +[ 60%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_random_number_generator.cpp.o +[ 61%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_reporter_registry.cpp.o +[ 62%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_result_type.cpp.o +[ 63%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_run_context.cpp.o +[ 64%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section.cpp.o +[ 65%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section_info.cpp.o +[ 66%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_session.cpp.o +[ 67%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_singletons.cpp.o +[ 68%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_startup_exception_registry.cpp.o +[ 69%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stream.cpp.o +[ 70%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stringref.cpp.o +[ 71%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_string_manip.cpp.o +[ 71%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias.cpp.o +[ 72%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_autoregistrar.cpp.o +[ 73%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_registry.cpp.o +[ 74%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_info.cpp.o +[ 75%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_registry_impl.cpp.o +[ 76%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_tracker.cpp.o +[ 77%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_registry.cpp.o +[ 78%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec.cpp.o +[ 79%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec_parser.cpp.o +[ 80%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_timer.cpp.o +[ 81%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tostring.cpp.o +[ 82%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_totals.cpp.o +[ 83%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_uncaught_exceptions.cpp.o +[ 84%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_version.cpp.o +[ 85%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_wildcard_pattern.cpp.o +[ 85%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_xmlwriter.cpp.o +[ 86%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_bases.cpp.o +[ 87%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_compact.cpp.o +[ 88%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_console.cpp.o +[ 89%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_junit.cpp.o +[ 90%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_listening.cpp.o +[ 91%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_xml.cpp.o +[ 92%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_console_colour.cpp.o +[ 93%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_debugger.cpp.o +[ 94%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp.o +[ 95%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_option.cpp.o +[ 96%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_stream.cpp.o +[ 97%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp.o +[ 98%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_spec.cpp.o +[ 99%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_xmlwriter.cpp.o +[100%] Linking CXX executable SelfTest +[100%] Built target SelfTest +Test project /home/Catch2/build + Start 1: RunTests +1/8 Test #1: RunTests .........................Child aborted***Exception: 0.14 sec + Start 2: ListTests +2/8 Test #2: ListTests ........................ Passed 0.01 sec + Start 3: ListTags +3/8 Test #3: ListTags ......................... Passed 0.00 sec + Start 4: ListReporters +4/8 Test #4: ListReporters .................... Passed 0.00 sec + Start 5: ListTestNamesOnly +5/8 Test #5: ListTestNamesOnly ................ Passed 0.00 sec + Start 6: NoAssertions +6/8 Test #6: NoAssertions .....................Child aborted***Exception: 0.14 sec + Start 7: NoTest +7/8 Test #7: NoTest ........................... Passed 0.00 sec + Start 8: ApprovalTests +8/8 Test #8: ApprovalTests ....................***Failed Error regular expression found in output. Regex=[Results differed] 0.34 sec + +63% tests passed, 3 tests failed out of 8 + +Total Test time (real) = 0.64 sec + +The following tests FAILED: + 1 - RunTests (Child aborted) + 6 - NoAssertions (Child aborted) + 8 - ApprovalTests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/fix.patch new file mode 100644 index 000000000..972cde350 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/fix.patch @@ -0,0 +1,26 @@ +diff --git a/include/internal/catch_message.cpp b/include/internal/catch_message.cpp +index df905bf6..e8aa6458 100644 +--- a/include/internal/catch_message.cpp ++++ b/include/internal/catch_message.cpp +@@ -63,7 +63,7 @@ namespace Catch { + auto start = std::string::npos; + for( size_t pos = 0; pos <= names.size(); ++pos ) { + char c = names[pos]; +- if( pos == names.size() || c == ' ' || c == '\t' || c == ',' || c == ']' ) { ++ if( pos == names.size() || c == ',' || c == ']' ) { + if( start != std::string::npos ) { + m_messages.push_back( MessageInfo( macroName, lineInfo, resultType ) ); + m_messages.back().message = names.substr( start, pos-start) + " := "; +diff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp +index b324e56a..30ad09fc 100644 +--- a/single_include/catch2/catch.hpp ++++ b/single_include/catch2/catch.hpp +@@ -8845,7 +8845,7 @@ namespace Catch { + auto start = std::string::npos; + for( size_t pos = 0; pos <= names.size(); ++pos ) { + char c = names[pos]; +- if( pos == names.size() || c == ' ' || c == '\t' || c == ',' || c == ']' ) { ++ if( pos == names.size() || c == ',' || c == ']' ) { + if( start != std::string::npos ) { + m_messages.push_back( MessageInfo( macroName, lineInfo, resultType ) ); + m_messages.back().message = names.substr( start, pos-start) + " := "; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/report.json new file mode 100644 index 000000000..de3fd66df --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1448/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 1448, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (8, 0, 0)\n test = (5, 1, 0)\n fix = (5, 1, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 8, "failed_count": 0, "skipped_count": 0, "passed_tests": ["approvaltests", "listtags", "notest", "listreporters", "runtests", "listtestnamesonly", "listtests", "noassertions"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 5, "failed_count": 1, "skipped_count": 0, "passed_tests": ["listtags", "notest", "listreporters", "listtestnamesonly", "listtests"], "failed_tests": ["approvaltests"], "skipped_tests": []}, "fix_patch_result": {"passed_count": 5, "failed_count": 1, "skipped_count": 0, "passed_tests": ["listtags", "notest", "listreporters", "listtestnamesonly", "listtests"], "failed_tests": ["approvaltests"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/fix-patch-run.log new file mode 100644 index 000000000..63738ace6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/fix-patch-run.log @@ -0,0 +1,389 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5554 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 146 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (11.8 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 146 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (14.9 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30319 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.7TXctQR5 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.7TXctQR5/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.7TXctQR5/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.7TXctQR5/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.7TXctQR5/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.7TXctQR5/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.7TXctQR5 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=b4b54088d347 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.bKIJp6NzVW/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file projects/SelfTest/UsageTests/Message.tests.cpp +patching file include/internal/catch_message.cpp +patching file single_include/catch2/catch.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python (found version "2.7.16") +-- Enabling C++11 +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + CATCH_DEVELOPMENT_BUILD + + +-- Build files have been written to: /home/Catch2/build +Scanning dependencies of target SelfTest +[ 0%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/TestMain.cpp.o +[ 1%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 2%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 3%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 4%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 5%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 6%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 7%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ToString.tests.cpp.o +[ 8%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 9%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 11%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +[ 12%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Condition.tests.cpp.o +[ 13%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Decomposition.tests.cpp.o +[ 14%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/EnumToString.tests.cpp.o +[ 15%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Exception.tests.cpp.o +[ 16%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Generators.tests.cpp.o +[ 17%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Message.tests.cpp.o +[ 18%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o +[ 19%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringChrono.tests.cpp.o +[ 20%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringGeneral.tests.cpp.o +[ 20%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringOptional.tests.cpp.o +[ 21%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringPair.tests.cpp.o +[ 22%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringTuple.tests.cpp.o +[ 23%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVariant.tests.cpp.o +[ 24%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVector.tests.cpp.o +[ 25%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringWhich.tests.cpp.o +[ 26%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Tricky.tests.cpp.o +[ 27%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/VariadicMacros.tests.cpp.o +[ 28%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Matchers.tests.cpp.o +[ 29%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_approx.cpp.o +[ 30%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionhandler.cpp.o +[ 30%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionresult.cpp.o +[ 31%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_benchmark.cpp.o +[ 32%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_capture_matchers.cpp.o +[ 33%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_commandline.cpp.o +[ 34%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_common.cpp.o +[ 35%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_config.cpp.o +[ 36%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_console_colour.cpp.o +[ 37%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_context.cpp.o +[ 38%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debug_console.cpp.o +[ 39%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debugger.cpp.o +[ 40%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_decomposer.cpp.o +[ 40%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_enforce.cpp.o +[ 41%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_enum_values_registry.cpp.o +[ 42%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_errno_guard.cpp.o +[ 43%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_exception_translator_registry.cpp.o +[ 44%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_fatal_condition.cpp.o +[ 45%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_generators.cpp.o +[ 46%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_capture.cpp.o +[ 47%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_config.cpp.o +[ 48%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_exception.cpp.o +[ 49%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_registry_hub.cpp.o +[ 50%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_runner.cpp.o +[ 50%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_testcase.cpp.o +[ 51%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_list.cpp.o +[ 52%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_leak_detector.cpp.o +[ 53%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers.cpp.o +[ 54%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_floating.cpp.o +[ 55%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_generic.cpp.o +[ 56%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_string.cpp.o +[ 57%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_message.cpp.o +[ 58%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_output_redirect.cpp.o +[ 59%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_registry_hub.cpp.o +[ 60%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_reporter.cpp.o +[ 60%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_polyfills.cpp.o +[ 61%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_random_number_generator.cpp.o +[ 62%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_reporter_registry.cpp.o +[ 63%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_result_type.cpp.o +[ 64%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_run_context.cpp.o +[ 65%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section.cpp.o +[ 66%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section_info.cpp.o +[ 67%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_session.cpp.o +[ 68%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_singletons.cpp.o +[ 69%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_startup_exception_registry.cpp.o +[ 70%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stream.cpp.o +[ 70%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stringref.cpp.o +[ 71%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_string_manip.cpp.o +[ 72%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias.cpp.o +[ 73%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_autoregistrar.cpp.o +[ 74%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_registry.cpp.o +[ 75%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_info.cpp.o +[ 76%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_registry_impl.cpp.o +[ 77%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_tracker.cpp.o +[ 78%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_registry.cpp.o +[ 79%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec.cpp.o +[ 80%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec_parser.cpp.o +[ 80%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_timer.cpp.o +[ 81%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tostring.cpp.o +[ 82%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_totals.cpp.o +[ 83%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_uncaught_exceptions.cpp.o +[ 84%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_version.cpp.o +[ 85%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_wildcard_pattern.cpp.o +[ 86%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_xmlwriter.cpp.o +[ 87%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_bases.cpp.o +[ 88%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_compact.cpp.o +[ 89%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_console.cpp.o +[ 90%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_junit.cpp.o +[ 90%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_listening.cpp.o +[ 91%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_xml.cpp.o +[ 92%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_console_colour.cpp.o +[ 93%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_debugger.cpp.o +[ 94%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp.o +[ 95%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_option.cpp.o +[ 96%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_stream.cpp.o +[ 97%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp.o +[ 98%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_spec.cpp.o +[ 99%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_xmlwriter.cpp.o +[100%] Linking CXX executable SelfTest +[100%] Built target SelfTest +Test project /home/Catch2/build + Start 1: RunTests + 1/10 Test #1: RunTests .........................Child aborted***Exception: 0.14 sec + Start 2: ListTests + 2/10 Test #2: ListTests ........................ Passed 0.01 sec + Start 3: ListTags + 3/10 Test #3: ListTags ......................... Passed 0.00 sec + Start 4: ListReporters + 4/10 Test #4: ListReporters .................... Passed 0.00 sec + Start 5: ListTestNamesOnly + 5/10 Test #5: ListTestNamesOnly ................ Passed 0.00 sec + Start 6: NoAssertions + 6/10 Test #6: NoAssertions .....................Child aborted***Exception: 0.14 sec + Start 7: NoTest + 7/10 Test #7: NoTest ........................... Passed 0.00 sec + Start 8: FilteredSection-1 + 8/10 Test #8: FilteredSection-1 ................ Passed 0.00 sec + Start 9: FilteredSection-2 + 9/10 Test #9: FilteredSection-2 ................ Passed 0.01 sec + Start 10: ApprovalTests +10/10 Test #10: ApprovalTests ....................***Failed Error regular expression found in output. Regex=[Results differed] 0.31 sec + +70% tests passed, 3 tests failed out of 10 + +Total Test time (real) = 0.62 sec + +The following tests FAILED: + 1 - RunTests (Child aborted) + 6 - NoAssertions (Child aborted) + 10 - ApprovalTests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/fix.patch new file mode 100644 index 000000000..8c02f098d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/fix.patch @@ -0,0 +1,38 @@ +diff --git a/include/internal/catch_message.cpp b/include/internal/catch_message.cpp +index fa7e8746..8b4dda3d 100644 +--- a/include/internal/catch_message.cpp ++++ b/include/internal/catch_message.cpp +@@ -96,6 +96,14 @@ namespace Catch { + // case '>': + openings.pop(); + break; ++ case '"': ++ case '\'': ++ if (openings.size() > 0 && openings.top() == c) { ++ openings.pop(); ++ } else { ++ openings.push(c); ++ } ++ break; + case ',': + if (start != pos && openings.size() == 0) { + m_messages.emplace_back(macroName, lineInfo, resultType); +diff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp +index df14c357..e98237d9 100644 +--- a/single_include/catch2/catch.hpp ++++ b/single_include/catch2/catch.hpp +@@ -9646,6 +9646,14 @@ namespace Catch { + // case '>': + openings.pop(); + break; ++ case '"': ++ case '\'': ++ if (openings.size() > 0 && openings.top() == c) { ++ openings.pop(); ++ } else { ++ openings.push(c); ++ } ++ break; + case ',': + if (start != pos && openings.size() == 0) { + m_messages.emplace_back(macroName, lineInfo, resultType); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/report.json new file mode 100644 index 000000000..9e717f17f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1608/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 1608, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (10, 0, 0)\n test = (7, 1, 0)\n fix = (7, 1, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 10, "failed_count": 0, "skipped_count": 0, "passed_tests": ["approvaltests", "listtags", "notest", "listreporters", "runtests", "listtestnamesonly", "filteredsection-2", "filteredsection-1", "listtests", "noassertions"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 7, "failed_count": 1, "skipped_count": 0, "passed_tests": ["listtags", "notest", "listreporters", "listtestnamesonly", "filteredsection-2", "filteredsection-1", "listtests"], "failed_tests": ["approvaltests"], "skipped_tests": []}, "fix_patch_result": {"passed_count": 7, "failed_count": 1, "skipped_count": 0, "passed_tests": ["listtags", "notest", "listreporters", "listtestnamesonly", "filteredsection-2", "filteredsection-1", "listtests"], "failed_tests": ["approvaltests"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/fix-patch-run.log new file mode 100644 index 000000000..0d70f13f5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/fix-patch-run.log @@ -0,0 +1,663 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5590 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 146 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.5 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 146 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.9 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30319 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.7gOQpGOb +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.7gOQpGOb/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.7gOQpGOb/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.7gOQpGOb/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.7gOQpGOb/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.7gOQpGOb/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.7gOQpGOb +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=f7bd5b7608fe +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.6zuEk1nEsJ/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file docs/test-cases-and-sections.md +patching file docs/test-fixtures.md +patching file include/internal/catch_test_registry.h +patching file projects/SelfTest/UsageTests/Class.tests.cpp +patching file projects/SelfTest/UsageTests/Misc.tests.cpp +patching file include/catch.hpp +patching file single_include/catch2/catch.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python (found version "2.7.16") +-- Enabling C++11 +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + CATCH_DEVELOPMENT_BUILD + + +-- Build files have been written to: /home/Catch2/build +Scanning dependencies of target SelfTest +[ 0%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/TestMain.cpp.o +[ 1%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 2%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 3%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 4%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 5%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 6%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 7%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ToString.tests.cpp.o +[ 8%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 9%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:83:1: error: macro "INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES" passed 3 arguments, but takes just 1 + TEMPLATE_TEST_CASE_METHOD(Template_Fixture, "A TEMPLATE_TEST_CASE_METHOD based test run that succeeds", "[class][template]", int, float, double) { + ^~~~~~~~~~~~~~~~ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:87:1: error: macro "INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES" passed 3 arguments, but takes just 1 + TEMPLATE_TEST_CASE_METHOD_SIG(Nttp_Fixture, "A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds", "[class][template][nttp]",((int V), V), 1, 3, 6) { + ^~~~~~~~~~~~~~~~ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:91:1: error: macro "INTERNAL_CATCH_EXPAND1" passed 2 arguments, but takes just 1 + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds","[class][template][product]",(std::vector,Template_Foo),(int,float)) + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:109:1: error: macro "INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES" passed 3 arguments, but takes just 1 + TEMPLATE_TEST_CASE_METHOD(Template_Fixture,"A TEMPLATE_TEST_CASE_METHOD based test run that fails", "[.][class][template][failing]", int, float, double) + ^ ~~~~~~~~~~~~~ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:114:1: error: macro "INTERNAL_CATCH_MAKE_TYPE_LISTS_FROM_TYPES" passed 3 arguments, but takes just 1 + TEMPLATE_TEST_CASE_METHOD_SIG(Nttp_Fixture, "A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails", "[.][class][template][nttp][failing]", ((int V), V), 1, 3, 6) { + ^ ~~~~~~~~~~~~~ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:118:1: error: macro "INTERNAL_CATCH_EXPAND1" passed 2 arguments, but takes just 1 + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails","[.][class][template][product][failing]",(std::vector,Template_Foo),(int,float)) + ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /home/Catch2/include/catch.hpp:53:0, + from /home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:9: +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:83:1: error: 'CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_TEST_CASE_METHOD(Template_Fixture, "A TEMPLATE_TEST_CASE_METHOD based test run that succeeds", "[class][template]", int, float, double) { + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:83:1: error: 'CATCH_INTERNAL_UNSUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_TEST_CASE_METHOD(Template_Fixture, "A TEMPLATE_TEST_CASE_METHOD based test run that succeeds", "[class][template]", int, float, double) { + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:87:1: error: 'CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_TEST_CASE_METHOD_SIG(Nttp_Fixture, "A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds", "[class][template][nttp]",((int V), V), 1, 3, 6) { + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:87:1: error: 'CATCH_INTERNAL_UNSUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_TEST_CASE_METHOD_SIG(Nttp_Fixture, "A TEMPLATE_TEST_CASE_METHOD_SIG based test run that succeeds", "[class][template][nttp]",((int V), V), 1, 3, 6) { + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:91:1: error: 'CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds","[class][template][product]",(std::vector,Template_Foo),(int,float)) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:91:1: error: expected '{' before '(' token + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds","[class][template][product]",(std::vector,Template_Foo),(int,float)) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:91:1: error: expected constructor, destructor, or type conversion before '{' token + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds","[class][template][product]",(std::vector,Template_Foo),(int,float)) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:91:1: error: 'CATCH_INTERNAL_UNSUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that succeeds","[class][template][product]",(std::vector,Template_Foo),(int,float)) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:96:38: error: expected constructor, destructor, or type conversion before '(' token + TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that succeeds", "[class][template][product][nttp]", ((typename T, size_t S), T, S),(std::array, Template_Foo_2), ((int,2), (float,6))) + ^ +In file included from /home/Catch2/include/catch.hpp:53:0, + from /home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:9: +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:109:5: error: 'CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_TEST_CASE_METHOD(Template_Fixture,"A TEMPLATE_TEST_CASE_METHOD based test run that fails", "[.][class][template][failing]", int, float, double) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:109:5: error: 'CATCH_INTERNAL_UNSUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_TEST_CASE_METHOD(Template_Fixture,"A TEMPLATE_TEST_CASE_METHOD based test run that fails", "[.][class][template][failing]", int, float, double) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:114:5: error: 'CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_TEST_CASE_METHOD_SIG(Nttp_Fixture, "A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails", "[.][class][template][nttp][failing]", ((int V), V), 1, 3, 6) { + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:114:5: error: 'CATCH_INTERNAL_UNSUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_TEST_CASE_METHOD_SIG(Nttp_Fixture, "A TEMPLATE_TEST_CASE_METHOD_SIG based test run that fails", "[.][class][template][nttp][failing]", ((int V), V), 1, 3, 6) { + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:118:5: error: 'CATCH_INTERNAL_SUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails","[.][class][template][product][failing]",(std::vector,Template_Foo),(int,float)) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:118:5: error: expected '{' before '(' token + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails","[.][class][template][product][failing]",(std::vector,Template_Foo),(int,float)) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:118:5: error: expected constructor, destructor, or type conversion before '{' token + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails","[.][class][template][product][failing]",(std::vector,Template_Foo),(int,float)) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:118:5: error: 'CATCH_INTERNAL_UNSUPPRESS_ZERO_VARIADIC_WARNINGS' does not name a type; did you mean 'CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS'? + TEMPLATE_PRODUCT_TEST_CASE_METHOD(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD based test run that fails","[.][class][template][product][failing]",(std::vector,Template_Foo),(int,float)) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:123:42: error: expected constructor, destructor, or type conversion before '(' token + TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG(Template_Fixture_2, "A TEMPLATE_PRODUCT_TEST_CASE_METHOD_SIG based test run that fails", "[.][class][template][product][nttp][failing]", ((typename T, size_t S), T, S), (std::array, Template_Foo_2), ((int, 2), (float, 6))) + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:131:2: error: expected '}' at end of input + }} // namespace ClassTests + ^ +/home/Catch2/projects/SelfTest/UsageTests/Class.tests.cpp:131:2: error: expected '}' at end of input +make[2]: *** [projects/CMakeFiles/SelfTest.dir/build.make:206: projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:987: projects/CMakeFiles/SelfTest.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/Catch2/build + Start 1: RunTests +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 1/10 Test #1: RunTests .........................***Not Run 0.00 sec + Start 2: ListTests +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 2/10 Test #2: ListTests ........................***Not Run 0.00 sec + Start 3: ListTags +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest + 3/10 Test #3: ListTags .........................***Not Run 0.00 sec + Start 4: ListReporters +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 4/10 Test #4: ListReporters ....................***Not Run 0.00 sec + Start 5: ListTestNamesOnly +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 5/10 Test #5: ListTestNamesOnly ................***Not Run 0.00 sec + Start 6: NoAssertions +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 6/10 Test #6: NoAssertions .....................***Not Run 0.00 sec + Start 7: NoTest +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest + 7/10 Test #7: NoTest ...........................***Not Run 0.00 sec + Start 8: FilteredSection-1 +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 8/10 Test #8: FilteredSection-1 ................***Not Run 0.00 sec + Start 9: FilteredSection-2 +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 9/10 Test #9: FilteredSection-2 ................***Not Run 0.00 sec + Start 10: ApprovalTests +10/10 Test #10: ApprovalTests ....................***Failed 0.02 sec + +0% tests passed, 10 tests failed out of 10 + +Total Test time (real) = 0.02 sec + +The following tests FAILED: + 1 - RunTests (Not Run) + 2 - ListTests (Not Run) + 3 - ListTags (Not Run) + 4 - ListReporters (Not Run) + 5 - ListTestNamesOnly (Not Run) + 6 - NoAssertions (Not Run) + 7 - NoTest (Not Run) + 8 - FilteredSection-1 (Not Run) + 9 - FilteredSection-2 (Not Run) + 10 - ApprovalTests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/fix.patch new file mode 100644 index 000000000..bf863a030 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/fix.patch @@ -0,0 +1,640 @@ +diff --git a/include/catch.hpp b/include/catch.hpp +index 1f60e5c1..88097b4e 100644 +--- a/include/catch.hpp ++++ b/include/catch.hpp +@@ -153,11 +153,15 @@ + #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) + #define CATCH_TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) + #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) ++#define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) ++#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) + #else + #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) ) + #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) ) + #define CATCH_TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) ) + #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) ) ++#define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) ) ++#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) ) + #endif + + +@@ -236,11 +240,15 @@ + #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) + #define TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) + #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) + #else + #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) ) + #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) ) + #define TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) ) + #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) ) ++#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) ) ++#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) ) + #endif + + +@@ -404,11 +412,15 @@ using Catch::Detail::Approx; + #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className ) + #define TEMPLATE_PRODUCT_TEST_CASE( ... ) TEMPLATE_TEST_CASE( __VA_ARGS__ ) + #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className, __VA_ARGS__ ) + #else + #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) ) ) + #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className ) ) + #define TEMPLATE_PRODUCT_TEST_CASE( ... ) TEMPLATE_TEST_CASE( __VA_ARGS__ ) + #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), __VA_ARGS__ ) ) ++#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className, __VA_ARGS__ ) ) + #endif + + #define STATIC_REQUIRE( ... ) (void)(0) +diff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp +index df14c357..7cfb2789 100644 +--- a/single_include/catch2/catch.hpp ++++ b/single_include/catch2/catch.hpp +@@ -1,9 +1,9 @@ + /* + * Catch v2.7.2 +- * Generated: 2019-04-22 23:13:14.687465 ++ * Generated: 2026-07-02 17:17:51.765127 + * ---------------------------------------------------------- + * This file has been merged from multiple headers. Please don't edit it directly +- * Copyright (c) 2019 Two Blue Cubes Ltd. All rights reserved. ++ * Copyright (c) 2026 Two Blue Cubes Ltd. All rights reserved. + * + * Distributed under the Boost Software License, Version 1.0. (See accompanying + * file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) +@@ -570,10 +570,12 @@ namespace Catch { + } + + auto operator = ( StringRef const &other ) noexcept -> StringRef& { +- delete[] m_data; +- m_data = nullptr; +- m_start = other.m_start; +- m_size = other.m_size; ++// if( this != &other ) { ++ delete[] m_data; ++ m_data = nullptr; ++ m_start = other.m_start; ++ m_size = other.m_size; ++ // } + return *this; + } + +@@ -866,6 +868,33 @@ struct AutoReg : NonCopyable { + } \ + template \ + void TestName::test() ++ #if !defined(CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR) ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION( TestName, Name, Tags, TmplParamType, TestType, ... ) \ ++ template \ ++ static void TestName() ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION( TestName, ClassName, Name, Tags, TmplParamType, TestType, ... ) \ ++ namespace{ \ ++ template \ ++ struct TestName : INTERNAL_CATCH_REMOVE_PARENS(ClassName ) { \ ++ void test(); \ ++ }; \ ++ } \ ++ template \ ++ void TestName::test() ++ #else ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION( TestName, Name, Tags, TmplParamType, TestType, ... ) \ ++ template \ ++ static void TestName() ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION( TestName, ClassName, Name, Tags, TmplParamType, TestType, ... ) \ ++ namespace{ \ ++ template \ ++ struct TestName : INTERNAL_CATCH_REMOVE_PARENS(ClassName ) { \ ++ void test(); \ ++ }; \ ++ } \ ++ template \ ++ void TestName::test() ++ #endif + #endif + + /////////////////////////////////////////////////////////////////////////////// +@@ -914,7 +943,6 @@ struct AutoReg : NonCopyable { + struct TestName{\ + template \ + TestName(Ts...names){\ +- CATCH_INTERNAL_CHECK_UNIQUE_TYPES(CATCH_REC_LIST(INTERNAL_CATCH_REMOVE_PARENS, __VA_ARGS__)) \ + using expander = int[];\ + (void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestFunc ), CATCH_INTERNAL_LINEINFO, Catch::StringRef(), Catch::NameAndTags{ names, Tags } ), 0)... };/* NOLINT */ \ + }\ +@@ -925,12 +953,6 @@ struct AutoReg : NonCopyable { + template \ + static void TestFunc() + +-#if defined(CATCH_CPP17_OR_GREATER) +-#define CATCH_INTERNAL_CHECK_UNIQUE_TYPES(...) static_assert(Catch::is_unique<__VA_ARGS__>,"Duplicate type detected in declaration of template test case"); +-#else +-#define CATCH_INTERNAL_CHECK_UNIQUE_TYPES(...) static_assert(Catch::is_unique<__VA_ARGS__>::value,"Duplicate type detected in declaration of template test case"); +-#endif +- + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define INTERNAL_CATCH_TEMPLATE_TEST_CASE(Name, Tags, ...) \ + INTERNAL_CATCH_TEMPLATE_TEST_CASE_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), Name, Tags, __VA_ARGS__ ) +@@ -952,7 +974,6 @@ struct AutoReg : NonCopyable { + template \ + struct TestName { \ + TestName() { \ +- CATCH_INTERNAL_CHECK_UNIQUE_TYPES(Types...) \ + int index = 0; \ + using expander = int[]; \ + constexpr char const* tmpl_types[] = {CATCH_REC_LIST(INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, INTERNAL_CATCH_REMOVE_PARENS(TmplTypes))};\ +@@ -991,7 +1012,6 @@ struct AutoReg : NonCopyable { + struct TestNameClass{\ + template \ + TestNameClass(Ts...names){\ +- CATCH_INTERNAL_CHECK_UNIQUE_TYPES(CATCH_REC_LIST(INTERNAL_CATCH_REMOVE_PARENS, __VA_ARGS__)) \ + using expander = int[];\ + (void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestName::test ), CATCH_INTERNAL_LINEINFO, #ClassName, Catch::NameAndTags{ names, Tags } ), 0)... };/* NOLINT */ \ + }\ +@@ -1020,7 +1040,6 @@ struct AutoReg : NonCopyable { + template\ + struct TestNameClass{\ + TestNameClass(){\ +- CATCH_INTERNAL_CHECK_UNIQUE_TYPES(Types...)\ + int index = 0;\ + using expander = int[];\ + constexpr char const* tmpl_types[] = {CATCH_REC_LIST(INTERNAL_CATCH_STRINGIZE_WITHOUT_PARENS, INTERNAL_CATCH_REMOVE_PARENS(TmplTypes))};\ +@@ -1048,6 +1067,63 @@ struct AutoReg : NonCopyable { + INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), ClassName, Name, Tags, __VA_ARGS__ ) ) + #endif + ++ /////////////////////////////////////////////////////////////////////////////// ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_2(TestName, TestFunc, Name, Tags, TmplParamType, TestType, ... )\ ++ CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \ ++ template \ ++ static void TestFunc();\ ++ namespace {\ ++ template \ ++ struct TestName{\ ++ template\ ++ TestName(Ts...names){\ ++ using expander = int[];\ ++ (void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestFunc ), CATCH_INTERNAL_LINEINFO, Catch::StringRef(), Catch::NameAndTags{ names, Tags } ), 0)... };/* NOLINT */ \ ++ }\ ++ };\ ++ INTERNAL_CATCH_TEMPLATE_REGISTRY_INITIATE(TestName, Name, __VA_ARGS__) \ ++ }\ ++ CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS \ ++ template \ ++ static void TestFunc() ++ ++#ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG(Name, Tags, TmplParamType, TestType, ...) \ ++ INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), Name, Tags, TmplParamType, TestType, __VA_ARGS__ ) ++#else ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG(Name, Tags, TmplParamType, TestType, ...) \ ++ INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____F_U_N_C____ ), Name, Tags, TmplParamType, TestType, __VA_ARGS__ ) ) ++#endif ++ ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_2( TestNameClass, TestName, ClassName, Name, Tags, TmplParamType, TestType, ... ) \ ++ CATCH_INTERNAL_SUPPRESS_GLOBALS_WARNINGS \ ++ namespace{ \ ++ template \ ++ struct TestName : INTERNAL_CATCH_REMOVE_PARENS(ClassName ) { \ ++ void test();\ ++ };\ ++ template\ ++ struct TestNameClass{\ ++ template\ ++ TestNameClass(Ts...names){\ ++ using expander = int[];\ ++ (void)expander{(Catch::AutoReg( Catch::makeTestInvoker( &TestName::test ), CATCH_INTERNAL_LINEINFO, #ClassName, Catch::NameAndTags{ names, Tags } ), 0)... };/* NOLINT */ \ ++ }\ ++ };\ ++ INTERNAL_CATCH_TEMPLATE_REGISTRY_INITIATE(TestNameClass, Name, __VA_ARGS__)\ ++ }\ ++ CATCH_INTERNAL_UNSUPPRESS_GLOBALS_WARNINGS\ ++ template \ ++ void TestName::test() ++ ++#ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( ClassName, Name, Tags, TmplParamType, TestType, ... ) \ ++ INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____C_L_A_S_S____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) , ClassName, Name, Tags, TmplParamType, TestType, __VA_ARGS__ ) ++#else ++ #define INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( ClassName, Name, Tags, TmplParamType, TestType, ... ) \ ++ INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_2( INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____C_L_A_S_S____ ), INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) , ClassName, Name, Tags, TmplParamType, TestType, __VA_ARGS__ ) ) ++#endif ++ + // end catch_test_registry.h + // start catch_capture.hpp + +@@ -1166,6 +1242,41 @@ namespace Catch { + } + + // end catch_stream.h ++// start catch_interfaces_enum_values_registry.h ++ ++#include ++ ++namespace Catch { ++ ++ namespace Detail { ++ struct EnumInfo { ++ StringRef m_name; ++ std::vector> m_values; ++ ++ ~EnumInfo(); ++ ++ StringRef lookup( int value ) const; ++ }; ++ } // namespace Detail ++ ++ struct IMutableEnumValuesRegistry { ++ virtual ~IMutableEnumValuesRegistry(); ++ ++ virtual Detail::EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::vector const& values ) = 0; ++ ++ template ++ Detail::EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::initializer_list values ) { ++ std::vector intValues; ++ intValues.reserve( values.size() ); ++ for( auto enumValue : values ) ++ intValues.push_back( static_cast( enumValue ) ); ++ return registerEnum( enumName, allEnums, intValues ); ++ } ++ }; ++ ++} // Catch ++ ++// end catch_interfaces_enum_values_registry.h + + #ifdef CATCH_CONFIG_CPP17_STRING_VIEW + #include +@@ -1451,10 +1562,13 @@ namespace Catch { + template<> + struct StringMaker { + static std::string convert(float value); ++ static int precision; + }; ++ + template<> + struct StringMaker { + static std::string convert(double value); ++ static int precision; + }; + + template +@@ -1827,6 +1941,18 @@ struct ratio_string { + } + #endif // CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER + ++#define INTERNAL_CATCH_REGISTER_ENUM( enumName, ... ) \ ++namespace Catch { \ ++ template<> struct StringMaker { \ ++ static std::string convert( enumName value ) { \ ++ static const auto& enumInfo = ::Catch::getMutableRegistryHub().getMutableEnumValuesRegistry().registerEnum( #enumName, #__VA_ARGS__, { __VA_ARGS__ } ); \ ++ return enumInfo.lookup( static_cast( value ) ); \ ++ } \ ++ }; \ ++} ++ ++#define CATCH_REGISTER_ENUM( enumName, ... ) INTERNAL_CATCH_REGISTER_ENUM( enumName, __VA_ARGS__ ) ++ + #ifdef _MSC_VER + #pragma warning(pop) + #endif +@@ -2624,6 +2750,8 @@ namespace Catch { + struct IReporterRegistry; + struct IReporterFactory; + struct ITagAliasRegistry; ++ struct IMutableEnumValuesRegistry; ++ + class StartupExceptionRegistry; + + using IReporterFactoryPtr = std::shared_ptr; +@@ -2634,7 +2762,6 @@ namespace Catch { + virtual IReporterRegistry const& getReporterRegistry() const = 0; + virtual ITestCaseRegistry const& getTestCaseRegistry() const = 0; + virtual ITagAliasRegistry const& getTagAliasRegistry() const = 0; +- + virtual IExceptionTranslatorRegistry const& getExceptionTranslatorRegistry() const = 0; + + virtual StartupExceptionRegistry const& getStartupExceptionRegistry() const = 0; +@@ -2648,6 +2775,7 @@ namespace Catch { + virtual void registerTranslator( const IExceptionTranslator* translator ) = 0; + virtual void registerTagAlias( std::string const& alias, std::string const& tag, SourceLineInfo const& lineInfo ) = 0; + virtual void registerStartupException() noexcept = 0; ++ virtual IMutableEnumValuesRegistry& getMutableEnumValuesRegistry() = 0; + }; + + IRegistryHub const& getRegistryHub(); +@@ -2854,6 +2982,7 @@ struct StringMaker { + + #include + #include ++#include + + namespace Catch { + +@@ -2865,6 +2994,9 @@ namespace Catch { + void toLowerInPlace( std::string& s ); + std::string toLower( std::string const& s ); + std::string trim( std::string const& str ); ++ ++ // !!! Be aware, returns refs into original string - make sure original string outlives them ++ std::vector splitStringRef( StringRef str, char delimiter ); + bool replaceInPlace( std::string& str, std::string const& replaceThis, std::string const& withThis ); + + struct pluralise { +@@ -8552,6 +8684,88 @@ namespace Catch { + #endif + } // namespace Catch; + // end catch_enforce.cpp ++// start catch_enum_values_registry.cpp ++// start catch_enum_values_registry.h ++ ++#include ++#include ++ ++namespace Catch { ++ ++ namespace Detail { ++ ++ std::unique_ptr makeEnumInfo( StringRef enumName, StringRef allValueNames, std::vector const& values ); ++ ++ class EnumValuesRegistry : public IMutableEnumValuesRegistry { ++ ++ std::vector> m_enumInfos; ++ ++ EnumInfo const& registerEnum( StringRef enumName, StringRef allEnums, std::vector const& values) override; ++ }; ++ ++ std::vector parseEnums( StringRef enums ); ++ ++ } // Detail ++ ++} // Catch ++ ++// end catch_enum_values_registry.h ++ ++#include ++#include ++ ++namespace Catch { ++ ++ IMutableEnumValuesRegistry::~IMutableEnumValuesRegistry() {} ++ ++ namespace Detail { ++ ++ std::vector parseEnums( StringRef enums ) { ++ auto enumValues = splitStringRef( enums, ',' ); ++ std::vector parsed; ++ parsed.reserve( enumValues.size() ); ++ for( auto const& enumValue : enumValues ) { ++ auto identifiers = splitStringRef( enumValue, ':' ); ++ parsed.push_back( Catch::trim( identifiers.back() ) ); ++ } ++ return parsed; ++ } ++ ++ EnumInfo::~EnumInfo() {} ++ ++ StringRef EnumInfo::lookup( int value ) const { ++ for( auto const& valueToName : m_values ) { ++ if( valueToName.first == value ) ++ return valueToName.second; ++ } ++ return "{** unexpected enum value **}"; ++ } ++ ++ std::unique_ptr makeEnumInfo( StringRef enumName, StringRef allValueNames, std::vector const& values ) { ++ std::unique_ptr enumInfo( new EnumInfo ); ++ enumInfo->m_name = enumName; ++ enumInfo->m_values.reserve( values.size() ); ++ ++ const auto valueNames = Catch::Detail::parseEnums( allValueNames ); ++ assert( valueNames.size() == values.size() ); ++ std::size_t i = 0; ++ for( auto value : values ) ++ enumInfo->m_values.push_back({ value, valueNames[i++] }); ++ ++ return enumInfo; ++ } ++ ++ EnumInfo const& EnumValuesRegistry::registerEnum( StringRef enumName, StringRef allValueNames, std::vector const& values ) { ++ auto enumInfo = makeEnumInfo( enumName, allValueNames, values ); ++ EnumInfo* raw = enumInfo.get(); ++ m_enumInfos.push_back( std::move( enumInfo ) ); ++ return *raw; ++ } ++ ++ } // Detail ++} // Catch ++ ++// end catch_enum_values_registry.cpp + // start catch_errno_guard.cpp + + #include +@@ -9626,6 +9840,15 @@ namespace Catch { + } + return names.substr(start, end - start + 1); + }; ++ auto skipq = [&] (size_t start, char quote) { ++ for (auto i = start + 1; i < names.size() ; ++i) { ++ if (names[i] == quote) ++ return i; ++ if (names[i] == '\\') ++ ++i; ++ } ++ CATCH_INTERNAL_ERROR("CAPTURE parsing encountered unmatched quote"); ++ }; + + size_t start = 0; + std::stack openings; +@@ -9646,6 +9869,10 @@ namespace Catch { + // case '>': + openings.pop(); + break; ++ case '"': ++ case '\'': ++ pos = skipq(pos, c); ++ break; + case ',': + if (start != pos && openings.size() == 0) { + m_messages.emplace_back(macroName, lineInfo, resultType); +@@ -10184,6 +10411,9 @@ namespace Catch { + void registerStartupException() noexcept override { + m_exceptionRegistry.add(std::current_exception()); + } ++ IMutableEnumValuesRegistry& getMutableEnumValuesRegistry() override { ++ return m_enumValuesRegistry; ++ } + + private: + TestRegistry m_testCaseRegistry; +@@ -10191,6 +10421,7 @@ namespace Catch { + ExceptionTranslatorRegistry m_exceptionTranslatorRegistry; + TagAliasRegistry m_tagAliasRegistry; + StartupExceptionRegistry m_exceptionRegistry; ++ Detail::EnumValuesRegistry m_enumValuesRegistry; + }; + } + +@@ -10988,6 +11219,9 @@ namespace Catch { + #if !defined(CATCH_CONFIG_DISABLE_EXCEPTIONS) + const auto& exceptions = getRegistryHub().getStartupExceptionRegistry().getExceptions(); + if ( !exceptions.empty() ) { ++ config(); ++ getCurrentMutableContext().setConfig(m_config); ++ + m_startupExceptions = true; + Colour colourGuard( Colour::Red ); + Catch::cerr() << "Errors occurred during startup!" << '\n'; +@@ -11366,6 +11600,7 @@ namespace Catch { + #include + #include + #include ++#include + + namespace Catch { + +@@ -11420,6 +11655,21 @@ namespace Catch { + return replaced; + } + ++ std::vector splitStringRef( StringRef str, char delimiter ) { ++ std::vector subStrings; ++ std::size_t start = 0; ++ for(std::size_t pos = 0; pos < str.size(); ++pos ) { ++ if( str[pos] == delimiter ) { ++ if( pos - start > 1 ) ++ subStrings.push_back( str.substr( start, pos-start ) ); ++ start = pos+1; ++ } ++ } ++ if( start < str.size() ) ++ subStrings.push_back( str.substr( start, str.size()-start ) ); ++ return subStrings; ++ } ++ + pluralise::pluralise( std::size_t count, std::string const& label ) + : m_count( count ), + m_label( label ) +@@ -11467,9 +11717,11 @@ namespace Catch { + } + + auto StringRef::c_str() const -> char const* { +- if( isSubstring() ) +- const_cast( this )->takeOwnership(); +- return m_start; ++ if( !isSubstring() ) ++ return m_start; ++ ++ const_cast( this )->takeOwnership(); ++ return m_data; + } + auto StringRef::currentData() const noexcept -> char const* { + return m_start; +@@ -11487,7 +11739,6 @@ namespace Catch { + m_data = new char[m_size+1]; + memcpy( m_data, m_start, m_size ); + m_data[m_size] = '\0'; +- m_start = m_data; + } + } + auto StringRef::substr( size_type start, size_type size ) const noexcept -> StringRef { +@@ -12577,11 +12828,16 @@ std::string StringMaker::convert(std::nullptr_t) { + return "nullptr"; + } + ++int StringMaker::precision = 5; ++ + std::string StringMaker::convert(float value) { +- return fpToString(value, 5) + 'f'; ++ return fpToString(value, precision) + 'f'; + } ++ ++int StringMaker::precision = 10; ++ + std::string StringMaker::convert(double value) { +- return fpToString(value, 10); ++ return fpToString(value, precision); + } + + std::string ratio_string::symbol() { return "a"; } +@@ -14689,6 +14945,7 @@ int main (int argc, char * const argv[]) { + #endif // CATCH_CONFIG_DISABLE_MATCHERS + + #define CATCH_INFO( msg ) INTERNAL_CATCH_INFO( "CATCH_INFO", msg ) ++#define CATCH_UNSCOPED_INFO( msg ) INTERNAL_CATCH_UNSCOPED_INFO( "CATCH_UNSCOPED_INFO", msg ) + #define CATCH_WARN( msg ) INTERNAL_CATCH_MSG( "CATCH_WARN", Catch::ResultWas::Warning, Catch::ResultDisposition::ContinueOnFailure, msg ) + #define CATCH_CAPTURE( ... ) INTERNAL_CATCH_CAPTURE( INTERNAL_CATCH_UNIQUE_NAME(capturer), "CATCH_CAPTURE",__VA_ARGS__ ) + +@@ -14709,11 +14966,15 @@ int main (int argc, char * const argv[]) { + #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) + #define CATCH_TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) + #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) ++#define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) ++#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) + #else + #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) ) + #define CATCH_TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) ) + #define CATCH_TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) ) + #define CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) ) ++#define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) ) ++#define CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) ) + #endif + + #if !defined(CATCH_CONFIG_RUNTIME_STATIC_REQUIRE) +@@ -14789,11 +15050,15 @@ int main (int argc, char * const argv[]) { + #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) + #define TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) + #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) + #else + #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) ) + #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) ) + #define TEMPLATE_PRODUCT_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE( __VA_ARGS__ ) ) + #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, __VA_ARGS__ ) ) ++#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) ) ++#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG( className, __VA_ARGS__ ) ) + #endif + + #if !defined(CATCH_CONFIG_RUNTIME_STATIC_REQUIRE) +@@ -14858,9 +15123,10 @@ using Catch::Detail::Approx; + #define CATCH_REQUIRE_THAT( arg, matcher ) (void)(0) + #endif // CATCH_CONFIG_DISABLE_MATCHERS + +-#define CATCH_INFO( msg ) (void)(0) +-#define CATCH_WARN( msg ) (void)(0) +-#define CATCH_CAPTURE( msg ) (void)(0) ++#define CATCH_INFO( msg ) (void)(0) ++#define CATCH_UNSCOPED_INFO( msg ) (void)(0) ++#define CATCH_WARN( msg ) (void)(0) ++#define CATCH_CAPTURE( msg ) (void)(0) + + #define CATCH_TEST_CASE( ... ) INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )) + #define CATCH_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )) +@@ -14934,6 +15200,7 @@ using Catch::Detail::Approx; + #endif // CATCH_CONFIG_DISABLE_MATCHERS + + #define INFO( msg ) (void)(0) ++#define UNSCOPED_INFO( msg ) (void)(0) + #define WARN( msg ) (void)(0) + #define CAPTURE( msg ) (void)(0) + +@@ -14953,11 +15220,15 @@ using Catch::Detail::Approx; + #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className ) + #define TEMPLATE_PRODUCT_TEST_CASE( ... ) TEMPLATE_TEST_CASE( __VA_ARGS__ ) + #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className, __VA_ARGS__ ) + #else + #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ) ) ) + #define TEMPLATE_TEST_CASE_METHOD( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className ) ) + #define TEMPLATE_PRODUCT_TEST_CASE( ... ) TEMPLATE_TEST_CASE( __VA_ARGS__ ) + #define TEMPLATE_PRODUCT_TEST_CASE_METHOD( className, ... ) TEMPLATE_TEST_CASE_METHOD( className, __VA_ARGS__ ) ++#define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), __VA_ARGS__ ) ) ++#define TEMPLATE_TEST_CASE_METHOD_SIG( className, ... ) INTERNAL_CATCH_EXPAND_VARGS( INTERNAL_CATCH_TEMPLATE_TEST_CASE_METHOD_SIG_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_M_P_L_A_T_E____T_E_S_T____ ), className, __VA_ARGS__ ) ) + #endif + + #define STATIC_REQUIRE( ... ) (void)(0) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/report.json new file mode 100644 index 000000000..70e914377 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1609/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 1609, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (10, 0, 0)\n test = (0, 0, 0)\n fix = (0, 1, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 10, "failed_count": 0, "skipped_count": 0, "passed_tests": ["approvaltests", "listtags", "notest", "listreporters", "runtests", "listtestnamesonly", "filteredsection-2", "filteredsection-1", "listtests", "noassertions"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 0, "failed_count": 1, "skipped_count": 0, "passed_tests": [], "failed_tests": ["approvaltests"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/fix-patch-run.log new file mode 100644 index 000000000..8077ef9b8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/fix-patch-run.log @@ -0,0 +1,388 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 2s (4879 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 146 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (11.2 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 146 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.7 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30319 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.hDZtGCuc +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.hDZtGCuc/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.hDZtGCuc/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.hDZtGCuc/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.hDZtGCuc/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.hDZtGCuc/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.hDZtGCuc +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=a441d667955c +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.5urq8ujaXE/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file projects/SelfTest/UsageTests/ToStringGeneral.tests.cpp +patching file include/internal/catch_tostring.cpp +patching file include/internal/catch_tostring.h +patching file single_include/catch2/catch.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python (found version "2.7.16") +-- Enabling C++11 +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + CATCH_DEVELOPMENT_BUILD + + +-- Build files have been written to: /home/Catch2/build +Scanning dependencies of target SelfTest +[ 0%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/TestMain.cpp.o +[ 1%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 2%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 3%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 4%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 5%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 6%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 7%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ToString.tests.cpp.o +[ 8%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 9%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 11%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +[ 12%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Condition.tests.cpp.o +[ 13%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Decomposition.tests.cpp.o +[ 14%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/EnumToString.tests.cpp.o +[ 15%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Exception.tests.cpp.o +[ 16%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Generators.tests.cpp.o +[ 17%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Message.tests.cpp.o +[ 18%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o +[ 19%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringChrono.tests.cpp.o +[ 20%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringGeneral.tests.cpp.o +[ 20%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringOptional.tests.cpp.o +[ 21%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringPair.tests.cpp.o +[ 22%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringTuple.tests.cpp.o +[ 23%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVariant.tests.cpp.o +[ 24%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVector.tests.cpp.o +[ 25%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringWhich.tests.cpp.o +[ 26%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Tricky.tests.cpp.o +[ 27%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/VariadicMacros.tests.cpp.o +[ 28%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Matchers.tests.cpp.o +[ 29%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_approx.cpp.o +[ 30%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionhandler.cpp.o +[ 30%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionresult.cpp.o +[ 31%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_benchmark.cpp.o +[ 32%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_capture_matchers.cpp.o +[ 33%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_commandline.cpp.o +[ 34%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_common.cpp.o +[ 35%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_config.cpp.o +[ 36%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_console_colour.cpp.o +[ 37%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_context.cpp.o +[ 38%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debug_console.cpp.o +[ 39%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debugger.cpp.o +[ 40%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_decomposer.cpp.o +[ 40%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_enforce.cpp.o +[ 41%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_enum_values_registry.cpp.o +[ 42%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_errno_guard.cpp.o +[ 43%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_exception_translator_registry.cpp.o +[ 44%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_fatal_condition.cpp.o +[ 45%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_generators.cpp.o +[ 46%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_capture.cpp.o +[ 47%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_config.cpp.o +[ 48%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_exception.cpp.o +[ 49%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_registry_hub.cpp.o +[ 50%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_runner.cpp.o +[ 50%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_testcase.cpp.o +[ 51%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_list.cpp.o +[ 52%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_leak_detector.cpp.o +[ 53%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers.cpp.o +[ 54%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_floating.cpp.o +[ 55%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_generic.cpp.o +[ 56%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_string.cpp.o +[ 57%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_message.cpp.o +[ 58%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_output_redirect.cpp.o +[ 59%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_registry_hub.cpp.o +[ 60%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_reporter.cpp.o +[ 60%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_polyfills.cpp.o +[ 61%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_random_number_generator.cpp.o +[ 62%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_reporter_registry.cpp.o +[ 63%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_result_type.cpp.o +[ 64%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_run_context.cpp.o +[ 65%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section.cpp.o +[ 66%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section_info.cpp.o +[ 67%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_session.cpp.o +[ 68%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_singletons.cpp.o +[ 69%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_startup_exception_registry.cpp.o +[ 70%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stream.cpp.o +[ 70%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stringref.cpp.o +[ 71%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_string_manip.cpp.o +[ 72%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias.cpp.o +[ 73%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_autoregistrar.cpp.o +[ 74%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_registry.cpp.o +[ 75%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_info.cpp.o +[ 76%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_registry_impl.cpp.o +[ 77%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_tracker.cpp.o +[ 78%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_registry.cpp.o +[ 79%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec.cpp.o +[ 80%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec_parser.cpp.o +[ 80%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_timer.cpp.o +[ 81%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tostring.cpp.o +[ 82%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_totals.cpp.o +[ 83%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_uncaught_exceptions.cpp.o +[ 84%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_version.cpp.o +[ 85%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_wildcard_pattern.cpp.o +[ 86%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_xmlwriter.cpp.o +[ 87%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_bases.cpp.o +[ 88%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_compact.cpp.o +[ 89%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_console.cpp.o +[ 90%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_junit.cpp.o +[ 90%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_listening.cpp.o +[ 91%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_xml.cpp.o +[ 92%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_console_colour.cpp.o +[ 93%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_debugger.cpp.o +[ 94%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp.o +[ 95%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_option.cpp.o +[ 96%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_stream.cpp.o +[ 97%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp.o +[ 98%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_spec.cpp.o +[ 99%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_xmlwriter.cpp.o +[100%] Linking CXX executable SelfTest +[100%] Built target SelfTest +Test project /home/Catch2/build + Start 1: RunTests + 1/10 Test #1: RunTests ......................... Passed 0.02 sec + Start 2: ListTests + 2/10 Test #2: ListTests ........................ Passed 0.01 sec + Start 3: ListTags + 3/10 Test #3: ListTags ......................... Passed 0.01 sec + Start 4: ListReporters + 4/10 Test #4: ListReporters .................... Passed 0.00 sec + Start 5: ListTestNamesOnly + 5/10 Test #5: ListTestNamesOnly ................ Passed 0.00 sec + Start 6: NoAssertions + 6/10 Test #6: NoAssertions ..................... Passed 0.02 sec + Start 7: NoTest + 7/10 Test #7: NoTest ........................... Passed 0.01 sec + Start 8: FilteredSection-1 + 8/10 Test #8: FilteredSection-1 ................ Passed 0.01 sec + Start 9: FilteredSection-2 + 9/10 Test #9: FilteredSection-2 ................ Passed 0.01 sec + Start 10: ApprovalTests +10/10 Test #10: ApprovalTests ....................***Failed Error regular expression found in output. Regex=[Results differed] 0.67 sec + +90% tests passed, 1 tests failed out of 10 + +Total Test time (real) = 0.76 sec + +The following tests FAILED: + 10 - ApprovalTests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/fix.patch new file mode 100644 index 000000000..c2f8a2a54 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/fix.patch @@ -0,0 +1,76 @@ +diff --git a/include/internal/catch_tostring.cpp b/include/internal/catch_tostring.cpp +index b857d3fb..76f19781 100644 +--- a/include/internal/catch_tostring.cpp ++++ b/include/internal/catch_tostring.cpp +@@ -234,11 +234,14 @@ std::string StringMaker::convert(std::nullptr_t) { + return "nullptr"; + } + ++int StringMaker::precision = 5; ++int StringMaker::precision = 10; ++ + std::string StringMaker::convert(float value) { +- return fpToString(value, 5) + 'f'; ++ return fpToString(value, precision) + 'f'; + } + std::string StringMaker::convert(double value) { +- return fpToString(value, 10); ++ return fpToString(value, precision); + } + + std::string ratio_string::symbol() { return "a"; } +diff --git a/include/internal/catch_tostring.h b/include/internal/catch_tostring.h +index 52634a8c..f3e18376 100644 +--- a/include/internal/catch_tostring.h ++++ b/include/internal/catch_tostring.h +@@ -260,10 +260,14 @@ namespace Catch { + + template<> + struct StringMaker { ++ static int precision; ++ static void setPrecision(int newPrecision) { precision = newPrecision; } + static std::string convert(float value); + }; + template<> + struct StringMaker { ++ static int precision; ++ static void setPrecision(int newPrecision) { precision = newPrecision; } + static std::string convert(double value); + }; + +diff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp +index df14c357..f11e9f78 100644 +--- a/single_include/catch2/catch.hpp ++++ b/single_include/catch2/catch.hpp +@@ -1450,10 +1450,14 @@ namespace Catch { + + template<> + struct StringMaker { ++ static int precision; ++ static void setPrecision(int newPrecision) { precision = newPrecision; } + static std::string convert(float value); + }; + template<> + struct StringMaker { ++ static int precision; ++ static void setPrecision(int newPrecision) { precision = newPrecision; } + static std::string convert(double value); + }; + +@@ -12577,11 +12581,14 @@ std::string StringMaker::convert(std::nullptr_t) { + return "nullptr"; + } + ++int StringMaker::precision = 5; ++int StringMaker::precision = 10; ++ + std::string StringMaker::convert(float value) { +- return fpToString(value, 5) + 'f'; ++ return fpToString(value, precision) + 'f'; + } + std::string StringMaker::convert(double value) { +- return fpToString(value, 10); ++ return fpToString(value, precision); + } + + std::string ratio_string::symbol() { return "a"; } diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/report.json new file mode 100644 index 000000000..e7ba4981d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1614/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 1614, "valid": false, "error_msg": "By comparing the test results before and after applying the fix patch, an anomalous pattern was detected. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (10, 0, 0)\n test = (0, 0, 0)\n fix = (9, 1, 0). `approvaltests`: Test(run=, test=, fix=)", "fixed_tests": {"listtags": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "notest": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "noassertions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listreporters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "runtests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listtestnamesonly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection-2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection-1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listtests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 10, "failed_count": 0, "skipped_count": 0, "passed_tests": ["approvaltests", "listtags", "notest", "listreporters", "runtests", "listtestnamesonly", "filteredsection-2", "filteredsection-1", "listtests", "noassertions"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 9, "failed_count": 1, "skipped_count": 0, "passed_tests": ["listtags", "notest", "noassertions", "listreporters", "runtests", "listtestnamesonly", "filteredsection-2", "filteredsection-1", "listtests"], "failed_tests": ["approvaltests"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/fix-patch-run.log new file mode 100644 index 000000000..a19910c4d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/fix-patch-run.log @@ -0,0 +1,600 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5461 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 146 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (11.6 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 146 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.2 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30319 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.S2IaOQs6 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.S2IaOQs6/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.S2IaOQs6/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.S2IaOQs6/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.S2IaOQs6/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.S2IaOQs6/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.S2IaOQs6 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=16d5d630a410 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.j7MJFpsN77/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp +patching file projects/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp +patching file projects/SelfTest/UsageTests/Benchmark.tests.cpp +patching file include/catch.hpp +patching file include/internal/catch_benchmark.cpp +patching file include/internal/catch_benchmark.h +patching file single_include/catch2/catch.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python (found version "2.7.16") +-- Enabling C++11 +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + CATCH_DEVELOPMENT_BUILD + + +-- Build files have been written to: /home/Catch2/build +Scanning dependencies of target SelfTest +[ 0%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/TestMain.cpp.o +[ 1%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +In file included from /home/Catch2/include/catch.hpp:57:0, + from /home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:9: +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____33()': +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:470:28: error: 'struct Catch::ConfigData' has no member named 'benchmarkSamples' + REQUIRE(config.benchmarkSamples == 200); + ^ +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:470:28: error: 'struct Catch::ConfigData' has no member named 'benchmarkSamples' + REQUIRE(config.benchmarkSamples == 200); + ^ +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:476:28: error: 'struct Catch::ConfigData' has no member named 'benchmarkResamples' + REQUIRE(config.benchmarkResamples == 20000); + ^ +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:476:28: error: 'struct Catch::ConfigData' has no member named 'benchmarkResamples' + REQUIRE(config.benchmarkResamples == 20000); + ^ +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:482:28: error: 'struct Catch::ConfigData' has no member named 'benchmarkConfidenceInterval' + REQUIRE(config.benchmarkConfidenceInterval == Catch::Detail::Approx(0.99)); + ^ +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:482:28: error: 'struct Catch::ConfigData' has no member named 'benchmarkConfidenceInterval' + REQUIRE(config.benchmarkConfidenceInterval == Catch::Detail::Approx(0.99)); + ^ +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:488:28: error: 'struct Catch::ConfigData' has no member named 'benchmarkNoAnalysis' + REQUIRE(config.benchmarkNoAnalysis); + ^ +/home/Catch2/projects/SelfTest/IntrospectiveTests/CmdLine.tests.cpp:488:28: error: 'struct Catch::ConfigData' has no member named 'benchmarkNoAnalysis' + REQUIRE(config.benchmarkNoAnalysis); + ^ +make[2]: *** [projects/CMakeFiles/SelfTest.dir/build.make:76: projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:987: projects/CMakeFiles/SelfTest.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/Catch2/build + Start 1: RunTests +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 1/10 Test #1: RunTests .........................***Not Run 0.00 sec + Start 2: ListTests +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 2/10 Test #2: ListTests ........................***Not Run 0.00 sec + Start 3: ListTags +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 3/10 Test #3: ListTags .........................***Not Run 0.00 sec + Start 4: ListReporters +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 4/10 Test #4: ListReporters ....................***Not Run 0.00 sec + Start 5: ListTestNamesOnly +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 5/10 Test #5: ListTestNamesOnly ................***Not Run 0.00 sec + Start 6: NoAssertions +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest + 6/10 Test #6: NoAssertions .....................***Not Run 0.00 sec + Start 7: NoTest +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 7/10 Test #7: NoTest ...........................***Not Run 0.00 sec + Start 8: FilteredSection-1 +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 8/10 Test #8: FilteredSection-1 ................***Not Run 0.00 sec + Start 9: FilteredSection-2 +Could not find executable /home/Catch2/build/projects/SelfTest +Looked in the following places: +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Release/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/Debug/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/MinSizeRel/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/RelWithDebInfo/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Deployment/SelfTest +/home/Catch2/build/projects/Development/SelfTest +/home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Release/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/Debug/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/MinSizeRel/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/RelWithDebInfo/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +home/Catch2/build/projects/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/projects/SelfTest +home/Catch2/build/projects/Development/SelfTest +home/Catch2/build/projects/Development/SelfTest + 9/10 Test #9: FilteredSection-2 ................***Not Run 0.00 sec + Start 10: ApprovalTests +10/10 Test #10: ApprovalTests ....................***Failed 0.03 sec + +0% tests passed, 10 tests failed out of 10 + +Total Test time (real) = 0.04 sec + +The following tests FAILED: + 1 - RunTests (Not Run) + 2 - ListTests (Not Run) + 3 - ListTags (Not Run) + 4 - ListReporters (Not Run) + 5 - ListTestNamesOnly (Not Run) + 6 - NoAssertions (Not Run) + 7 - NoTest (Not Run) + 8 - FilteredSection-1 (Not Run) + 9 - FilteredSection-2 (Not Run) + 10 - ApprovalTests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/fix.patch new file mode 100644 index 000000000..23a57377b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/fix.patch @@ -0,0 +1,218 @@ +diff --git a/include/catch.hpp b/include/catch.hpp +index 947957f5..811a9ba5 100644 +--- a/include/catch.hpp ++++ b/include/catch.hpp +@@ -33,6 +33,9 @@ + # if defined(CATCH_CONFIG_DISABLE_MATCHERS) + # undef CATCH_CONFIG_DISABLE_MATCHERS + # endif ++# if defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++# undef CATCH_CONFIG_DISABLE_BENCHMARK ++# endif + # if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER) + # define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER + # endif +@@ -53,7 +56,9 @@ + #include "internal/catch_test_registry.h" + #include "internal/catch_capture.hpp" + #include "internal/catch_section.h" ++#ifndef CATCH_CONFIG_DISABLE_BENCHMARK + #include "internal/catch_benchmark.h" ++#endif + #include "internal/catch_interfaces_exception.h" + #include "internal/catch_approx.h" + #include "internal/catch_compiler_capabilities.h" +@@ -148,6 +153,13 @@ + + #define CATCH_ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE() + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++#define CATCH_BENCHMARK( name ) \ ++ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#else ++#define CATCH_BENCHMARK( name ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK ++ + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) + #define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) +@@ -239,6 +251,13 @@ + #define SUCCEED( ... ) INTERNAL_CATCH_MSG( "SUCCEED", Catch::ResultWas::Ok, Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) + #define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE() + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++#define BENCHMARK( name ) \ ++ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#else ++#define BENCHMARK( name ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK ++ + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) + #define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) +@@ -339,6 +358,13 @@ using Catch::Detail::Approx; + + #define CATCH_ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )) + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++#define CATCH_BENCHMARK( name ) \ ++ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#else ++#define CATCH_BENCHMARK( name ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK ++ + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(__VA_ARGS__) + #define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(__VA_ARGS__) +@@ -423,6 +449,13 @@ using Catch::Detail::Approx; + #define SUCCEED( ... ) (void)(0) + #define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )) + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++#define BENCHMARK( name ) \ ++ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#else ++#define BENCHMARK( name ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK ++ + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(__VA_ARGS__) + #define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(__VA_ARGS__) +diff --git a/include/internal/catch_benchmark.cpp b/include/internal/catch_benchmark.cpp +index 742418f7..c36adf50 100644 +--- a/include/internal/catch_benchmark.cpp ++++ b/include/internal/catch_benchmark.cpp +@@ -11,6 +11,8 @@ + #include "catch_interfaces_reporter.h" + #include "catch_context.h" + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++ + namespace Catch { + + auto BenchmarkLooper::getResolution() -> uint64_t { +@@ -34,3 +36,5 @@ namespace Catch { + } + + } // end namespace Catch ++ ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK +diff --git a/include/internal/catch_benchmark.h b/include/internal/catch_benchmark.h +index e546713c..46bc3e09 100644 +--- a/include/internal/catch_benchmark.h ++++ b/include/internal/catch_benchmark.h +@@ -51,7 +51,4 @@ namespace Catch { + + } // end namespace Catch + +-#define BENCHMARK( name ) \ +- for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) +- + #endif // TWOBLUECUBES_CATCH_BENCHMARK_H_INCLUDED +diff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp +index 02302b8d..e86abfb1 100644 +--- a/single_include/catch2/catch.hpp ++++ b/single_include/catch2/catch.hpp +@@ -58,6 +58,9 @@ + # if defined(CATCH_CONFIG_DISABLE_MATCHERS) + # undef CATCH_CONFIG_DISABLE_MATCHERS + # endif ++# if defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++# undef CATCH_CONFIG_DISABLE_BENCHMARK ++# endif + # if !defined(CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER) + # define CATCH_CONFIG_ENABLE_CHRONO_STRINGMAKER + # endif +@@ -2768,6 +2771,8 @@ namespace Catch { + // end catch_section.h + // start catch_benchmark.h + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++ + #include + #include + +@@ -2808,8 +2813,7 @@ namespace Catch { + + } // end namespace Catch + +-#define BENCHMARK( name ) \ +- for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK + + // end catch_benchmark.h + // start catch_interfaces_exception.h +@@ -6675,6 +6679,8 @@ namespace Catch { + // end catch_assertionresult.cpp + // start catch_benchmark.cpp + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++ + namespace Catch { + + auto BenchmarkLooper::getResolution() -> uint64_t { +@@ -6698,6 +6704,8 @@ namespace Catch { + } + + } // end namespace Catch ++ ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK + // end catch_benchmark.cpp + // start catch_capture_matchers.cpp + +@@ -15039,6 +15047,13 @@ int main (int argc, char * const argv[]) { + + #define CATCH_ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE() + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++#define CATCH_BENCHMARK( name ) \ ++ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#else ++#define CATCH_BENCHMARK( name ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK ++ + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) + #define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) +@@ -15127,6 +15142,13 @@ int main (int argc, char * const argv[]) { + #define SUCCEED( ... ) INTERNAL_CATCH_MSG( "SUCCEED", Catch::ResultWas::Ok, Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) + #define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE() + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++#define BENCHMARK( name ) \ ++ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#else ++#define BENCHMARK( name ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK ++ + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE( __VA_ARGS__ ) + #define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG( __VA_ARGS__ ) +@@ -15226,6 +15248,13 @@ using Catch::Detail::Approx; + + #define CATCH_ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )) + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++#define CATCH_BENCHMARK( name ) \ ++ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#else ++#define CATCH_BENCHMARK( name ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK ++ + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define CATCH_TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(__VA_ARGS__) + #define CATCH_TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(__VA_ARGS__) +@@ -15309,6 +15338,13 @@ using Catch::Detail::Approx; + #define SUCCEED( ... ) (void)(0) + #define ANON_TEST_CASE() INTERNAL_CATCH_TESTCASE_NO_REGISTRATION(INTERNAL_CATCH_UNIQUE_NAME( ____C_A_T_C_H____T_E_S_T____ )) + ++#if !defined(CATCH_CONFIG_DISABLE_BENCHMARK) ++#define BENCHMARK( name ) \ ++ for( Catch::BenchmarkLooper looper( name ); looper; looper.increment() ) ++#else ++#define BENCHMARK( name ) ++#endif // !CATCH_CONFIG_DISABLE_BENCHMARK ++ + #ifndef CATCH_CONFIG_TRADITIONAL_MSVC_PREPROCESSOR + #define TEMPLATE_TEST_CASE( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_NO_REGISTRATION(__VA_ARGS__) + #define TEMPLATE_TEST_CASE_SIG( ... ) INTERNAL_CATCH_TEMPLATE_TEST_CASE_SIG_NO_REGISTRATION(__VA_ARGS__) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/report.json new file mode 100644 index 000000000..0b9fcc659 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-1616/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 1616, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (10, 0, 0)\n test = (0, 0, 0)\n fix = (0, 1, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 10, "failed_count": 0, "skipped_count": 0, "passed_tests": ["approvaltests", "listtags", "notest", "listreporters", "runtests", "listtestnamesonly", "filteredsection-2", "filteredsection-1", "listtests", "noassertions"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 0, "failed_count": 1, "skipped_count": 0, "passed_tests": [], "failed_tests": ["approvaltests"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/fix-patch-run.log new file mode 100644 index 000000000..7d4c2cf51 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/fix-patch-run.log @@ -0,0 +1,1465 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 2s (4554 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 146 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.5 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 146 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.1 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30319 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.mQkixBAl +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.mQkixBAl/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.mQkixBAl/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.mQkixBAl/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.mQkixBAl/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.mQkixBAl/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.mQkixBAl +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=fc6dfc4058f4 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.GUhvzzU2DE/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file tests/SelfTest/UsageTests/Compilation.tests.cpp +patching file src/catch2/internal/catch_decomposer.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3") +-- Performing Test HAVE_FLAG_-Wall +-- Performing Test HAVE_FLAG_-Wall - Success +-- Performing Test HAVE_FLAG_-Wextra +-- Performing Test HAVE_FLAG_-Wextra - Success +-- Performing Test HAVE_FLAG_-Wpedantic +-- Performing Test HAVE_FLAG_-Wpedantic - Success +-- Performing Test HAVE_FLAG_-Wweak-vtables +-- Performing Test HAVE_FLAG_-Wweak-vtables - Failed +-- Performing Test HAVE_FLAG_-Wunreachable-code +-- Performing Test HAVE_FLAG_-Wunreachable-code - Success +-- Performing Test HAVE_FLAG_-Wmissing-declarations +-- Performing Test HAVE_FLAG_-Wmissing-declarations - Success +-- Performing Test HAVE_FLAG_-Wexit-time-destructors +-- Performing Test HAVE_FLAG_-Wexit-time-destructors - Failed +-- Performing Test HAVE_FLAG_-Wglobal-constructors +-- Performing Test HAVE_FLAG_-Wglobal-constructors - Failed +-- Performing Test HAVE_FLAG_-Wmissing-noreturn +-- Performing Test HAVE_FLAG_-Wmissing-noreturn - Success +-- Performing Test HAVE_FLAG_-Wparentheses +-- Performing Test HAVE_FLAG_-Wparentheses - Success +-- Performing Test HAVE_FLAG_-Wextra-semi-stmt +-- Performing Test HAVE_FLAG_-Wextra-semi-stmt - Failed +-- Performing Test HAVE_FLAG_-Wstrict-aliasing +-- Performing Test HAVE_FLAG_-Wstrict-aliasing - Success +-- Performing Test HAVE_FLAG_-Wreturn-std-move +-- Performing Test HAVE_FLAG_-Wreturn-std-move - Failed +-- Performing Test HAVE_FLAG_-Wmissing-braces +-- Performing Test HAVE_FLAG_-Wmissing-braces - Success +-- Performing Test HAVE_FLAG_-Wdeprecated +-- Performing Test HAVE_FLAG_-Wdeprecated - Success +-- Performing Test HAVE_FLAG_-Wvla +-- Performing Test HAVE_FLAG_-Wvla - Success +-- Performing Test HAVE_FLAG_-Wundef +-- Performing Test HAVE_FLAG_-Wundef - Success +-- Performing Test HAVE_FLAG_-Wmisleading-indentation +-- Performing Test HAVE_FLAG_-Wmisleading-indentation - Success +-- Performing Test HAVE_FLAG_-Wcatch-value +-- Performing Test HAVE_FLAG_-Wcatch-value - Failed +-- Performing Test HAVE_FLAG_-Wabsolute-value +-- Performing Test HAVE_FLAG_-Wabsolute-value - Failed +-- Performing Test HAVE_FLAG_-Wunused-parameter +-- Performing Test HAVE_FLAG_-Wunused-parameter - Success +-- Performing Test HAVE_FLAG_-Wunused-function +-- Performing Test HAVE_FLAG_-Wunused-function - Success +-- Performing Test HAVE_FLAG_-Wcall-to-pure-virtual-from-ctor-dtor +-- Performing Test HAVE_FLAG_-Wcall-to-pure-virtual-from-ctor-dtor - Failed +-- Performing Test HAVE_FLAG_-Wdeprecated-register +-- Performing Test HAVE_FLAG_-Wdeprecated-register - Failed +-- Performing Test HAVE_FLAG_-Wsuggest-override +-- Performing Test HAVE_FLAG_-Wsuggest-override - Success +-- Performing Test HAVE_FLAG_-Wshadow +-- Performing Test HAVE_FLAG_-Wshadow - Success +-- Performing Test HAVE_FLAG_-Wold-style-cast +-- Performing Test HAVE_FLAG_-Wold-style-cast - Success +-- Configuring done +-- Generating done +-- Build files have been written to: /home/Catch2/build +Scanning dependencies of target Catch2 +[ 0%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_automake.cpp.o +[ 1%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_combined_tu.cpp.o +[ 2%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_compact.cpp.o +[ 3%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_console.cpp.o +[ 4%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_cumulative_base.cpp.o +[ 5%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_junit.cpp.o +[ 6%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_listening.cpp.o +[ 7%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_sonarqube.cpp.o +[ 8%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_streaming_base.cpp.o +[ 9%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_tap.cpp.o +[ 10%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_teamcity.cpp.o +[ 10%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_xml.cpp.o +[ 11%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_approx.cpp.o +[ 12%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_assertion_handler.cpp.o +[ 13%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_assertion_result.cpp.o +[ 14%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/internal/catch_matchers_combined_tu.cpp.o +[ 15%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o +[ 16%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_commandline.cpp.o +[ 17%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_source_line_info.cpp.o +[ 18%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_config.cpp.o +[ 19%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_console_colour.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_context.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debug_console.cpp.o +[ 21%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debugger.cpp.o +[ 22%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enforce.cpp.o +[ 23%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enum_values_registry.cpp.o +[ 24%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_exception_translator_registry.cpp.o +[ 25%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_fatal_condition_handler.cpp.o +[ 26%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/internal/catch_generators_combined_tu.cpp.o +[ 27%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_combined_tu.cpp.o +[ 28%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter.cpp.o +[ 29%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_list.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_floating_point.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_string.cpp.o +[ 31%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_templated.cpp.o +[ 32%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_message.cpp.o +[ 33%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_output_redirect.cpp.o +[ 34%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_registry_hub.cpp.o +[ 35%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_combined_tu.cpp.o +[ 36%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_number_generator.cpp.o +[ 37%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_registry.cpp.o +[ 38%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_result_type.cpp.o +[ 39%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_run_context.cpp.o +[ 40%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_section.cpp.o +[ 40%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_session.cpp.o +[ 41%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_singletons.cpp.o +[ 42%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stream.cpp.o +[ 43%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stringref.cpp.o +[ 44%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_string_manip.cpp.o +[ 45%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_tag_alias_registry.cpp.o +[ 46%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_case_info.cpp.o +[ 47%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_registry_impl.cpp.o +[ 48%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_tracker.cpp.o +[ 49%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_registry.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_textflow.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_spec.cpp.o +[ 51%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_spec_parser.cpp.o +[ 52%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_timer.cpp.o +[ 53%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_tostring.cpp.o +[ 54%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_totals.cpp.o +[ 55%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_version.cpp.o +[ 56%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_wildcard_pattern.cpp.o +[ 57%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_xmlwriter.cpp.o +[ 58%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/internal/catch_benchmark_combined_tu.cpp.o +[ 59%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o +[ 60%] Linking CXX static library libCatch2.a +[ 60%] Built target Catch2 +Scanning dependencies of target Catch2WithMain +[ 60%] Building CXX object src/CMakeFiles/Catch2WithMain.dir/catch2/internal/catch_main.cpp.o +[ 61%] Linking CXX static library libCatch2Main.a +[ 61%] Built target Catch2WithMain +Scanning dependencies of target SelfTest +[ 62%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TestRegistrations.cpp.o +[ 63%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Clara.tests.cpp.o +[ 64%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 65%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Details.tests.cpp.o +[ 66%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 67%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp.o +[ 68%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 69%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp.o +[ 70%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Reporters.tests.cpp.o +[ 70%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 71%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 72%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/StringManip.tests.cpp.o +[ 73%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 74%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ToString.tests.cpp.o +[ 75%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp.o +[ 76%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TimingTests/Sleep.tests.cpp.o +[ 77%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 78%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 79%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 80%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 80%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +In file included from /home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:11:0, + from /home/Catch2/tests/SelfTest/UsageTests/Compilation.tests.cpp:31: +/home/Catch2/tests/SelfTest/UsageTests/Compilation.tests.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____34()': +/home/Catch2/src/catch2/../catch2/internal/catch_test_macro_impl.hpp:56:82: error: no matching function for call to 'Catch::AssertionHandler::handleExpr(adl::always_true)' + catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \ + ^ +/home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:117:26: note: in expansion of macro 'INTERNAL_CATCH_TEST' + #define REQUIRE( ... ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, __VA_ARGS__ ) + ^~~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/UsageTests/Compilation.tests.cpp:308:5: note: in expansion of macro 'REQUIRE' + REQUIRE(adl::always_true{}); + ^~~~~~~ +In file included from /home/Catch2/src/catch2/../catch2/internal/catch_test_macro_impl.hpp:11:0, + from /home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:11, + from /home/Catch2/tests/SelfTest/UsageTests/Compilation.tests.cpp:31: +/home/Catch2/src/catch2/../catch2/internal/catch_assertion_handler.hpp:47:14: note: candidate: template void Catch::AssertionHandler::handleExpr(const Catch::ExprLhs&) + void handleExpr( ExprLhs const& expr ) { + ^~~~~~~~~~ +/home/Catch2/src/catch2/../catch2/internal/catch_assertion_handler.hpp:47:14: note: template argument deduction/substitution failed: +In file included from /home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:11:0, + from /home/Catch2/tests/SelfTest/UsageTests/Compilation.tests.cpp:31: +/home/Catch2/src/catch2/../catch2/internal/catch_test_macro_impl.hpp:56:82: note: 'adl::always_true' is not derived from 'const Catch::ExprLhs' + catchAssertionHandler.handleExpr( Catch::Decomposer() <= __VA_ARGS__ ); \ + ^ +/home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:117:26: note: in expansion of macro 'INTERNAL_CATCH_TEST' + #define REQUIRE( ... ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, __VA_ARGS__ ) + ^~~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/UsageTests/Compilation.tests.cpp:308:5: note: in expansion of macro 'REQUIRE' + REQUIRE(adl::always_true{}); + ^~~~~~~ +In file included from /home/Catch2/src/catch2/../catch2/internal/catch_test_macro_impl.hpp:11:0, + from /home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:11, + from /home/Catch2/tests/SelfTest/UsageTests/Compilation.tests.cpp:31: +/home/Catch2/src/catch2/../catch2/internal/catch_assertion_handler.hpp:50:14: note: candidate: void Catch::AssertionHandler::handleExpr(const Catch::ITransientExpression&) + void handleExpr( ITransientExpression const& expr ); + ^~~~~~~~~~ +/home/Catch2/src/catch2/../catch2/internal/catch_assertion_handler.hpp:50:14: note: no known conversion for argument 1 from 'adl::always_true' to 'const Catch::ITransientExpression&' +make[2]: *** [tests/CMakeFiles/SelfTest.dir/build.make:323: tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:1082: tests/CMakeFiles/SelfTest.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/Catch2/build + Start 20: ApprovalTests + 1/34 Test #20: ApprovalTests ........................................***Failed 0.03 sec + Start 1: RunTests +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 2/34 Test #1: RunTests .............................................***Not Run 0.00 sec + Start 2: List::Tests::Output +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 3/34 Test #2: List::Tests::Output ..................................***Not Run 0.00 sec + Start 3: List::Tests::Quiet +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Development/SelfTest + 4/34 Test #3: List::Tests::Quiet ...................................***Not Run 0.00 sec + Start 4: List::Tests::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 5/34 Test #4: List::Tests::ExitCode ................................***Not Run 0.00 sec + Start 5: List::Tests::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 6/34 Test #5: List::Tests::XmlOutput ...............................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 6: List::Tags::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 7/34 Test #6: List::Tags::Output ...................................***Not Run 0.00 sec + Start 7: List::Tags::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest + 8/34 Test #7: List::Tags::ExitCode .................................***Not Run 0.00 sec + Start 8: List::Tags::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 9/34 Test #8: List::Tags::XmlOutput ................................***Not Run 0.00 sec + Start 9: List::Reporters::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Development/SelfTest +10/34 Test #9: List::Reporters::Output ..............................***Not Run 0.00 sec + Start 10: List::Reporters::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +11/34 Test #10: List::Reporters::ExitCode ............................***Not Run 0.00 sec + Start 11: List::Reporters::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +12/34 Test #11: List::Reporters::XmlOutput ...........................***Not Run 0.00 sec + Start 12: NoAssertions +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +13/34 Test #12: NoAssertions .........................................***Not Run 0.00 sec + Start 13: NoTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +14/34 Test #13: NoTest ...............................................***Not Run 0.00 sec + Start 14: WarnAboutNoTests +15/34 Test #14: WarnAboutNoTests .....................................***Failed 0.01 sec + Start 15: UnmatchedOutputFilter +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +16/34 Test #15: UnmatchedOutputFilter ................................***Not Run 0.00 sec + Start 16: FilteredSection-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +17/34 Test #16: FilteredSection-1 ....................................***Not Run 0.00 sec + Start 17: FilteredSection-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +18/34 Test #17: FilteredSection-2 ....................................***Not Run 0.00 sec + Start 18: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +19/34 Test #18: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 ...***Not Run 0.00 sec + Start 19: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +20/34 Test #19: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 ...***Not Run 0.00 sec + Start 21: RegressionCheck-1670 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +21/34 Test #21: RegressionCheck-1670 .................................***Not Run 0.00 sec + Start 22: VersionCheck +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Development/SelfTest +22/34 Test #22: VersionCheck .........................................***Not Run 0.00 sec + Start 23: LibIdentityTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +23/34 Test #23: LibIdentityTest ......................................***Not Run 0.00 sec + Start 24: FilenameAsTagsTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +24/34 Test #24: FilenameAsTagsTest ...................................***Not Run 0.00 sec + Start 25: FilenameAsTagsMatching +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +25/34 Test #25: FilenameAsTagsMatching ...............................***Not Run 0.00 sec + Start 26: EscapeSpecialCharactersInTestNames +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +26/34 Test #26: EscapeSpecialCharactersInTestNames ...................***Not Run 0.00 sec + Start 27: NegativeSpecNoHiddenTests +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +27/34 Test #27: NegativeSpecNoHiddenTests ............................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 28: TestsInFile::SimpleSpecs +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +28/34 Test #28: TestsInFile::SimpleSpecs .............................***Not Run 0.00 sec + Start 29: TestsInFile::EscapeSpecialCharacters +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +29/34 Test #29: TestsInFile::EscapeSpecialCharacters .................***Not Run 0.00 sec + Start 30: TestsInFile::InvalidTestNames-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +30/34 Test #30: TestsInFile::InvalidTestNames-1 ......................***Not Run 0.00 sec + Start 31: TestsInFile::InvalidTestNames-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +31/34 Test #31: TestsInFile::InvalidTestNames-2 ......................***Not Run 0.00 sec + Start 32: TagAlias +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +32/34 Test #32: TagAlias .............................................***Not Run 0.00 sec + Start 33: RandomTestOrdering +33/34 Test #33: RandomTestOrdering ...................................***Failed 0.03 sec + Start 34: CheckConvenienceHeaders +34/34 Test #34: CheckConvenienceHeaders .............................. Passed 0.02 sec + +3% tests passed, 33 tests failed out of 34 + +Total Test time (real) = 0.10 sec + +The following tests FAILED: + 1 - RunTests (Not Run) + 2 - List::Tests::Output (Not Run) + 3 - List::Tests::Quiet (Not Run) + 4 - List::Tests::ExitCode (Not Run) + 5 - List::Tests::XmlOutput (Not Run) + 6 - List::Tags::Output (Not Run) + 7 - List::Tags::ExitCode (Not Run) + 8 - List::Tags::XmlOutput (Not Run) + 9 - List::Reporters::Output (Not Run) + 10 - List::Reporters::ExitCode (Not Run) + 11 - List::Reporters::XmlOutput (Not Run) + 12 - NoAssertions (Not Run) + 13 - NoTest (Not Run) + 14 - WarnAboutNoTests (Failed) + 15 - UnmatchedOutputFilter (Not Run) + 16 - FilteredSection-1 (Not Run) + 17 - FilteredSection-2 (Not Run) + 18 - FilteredSection::GeneratorsDontCauseInfiniteLoop-1 (Not Run) + 19 - FilteredSection::GeneratorsDontCauseInfiniteLoop-2 (Not Run) + 20 - ApprovalTests (Failed) + 21 - RegressionCheck-1670 (Not Run) + 22 - VersionCheck (Not Run) + 23 - LibIdentityTest (Not Run) + 24 - FilenameAsTagsTest (Not Run) + 25 - FilenameAsTagsMatching (Not Run) + 26 - EscapeSpecialCharactersInTestNames (Not Run) + 27 - NegativeSpecNoHiddenTests (Not Run) + 28 - TestsInFile::SimpleSpecs (Not Run) + 29 - TestsInFile::EscapeSpecialCharacters (Not Run) + 30 - TestsInFile::InvalidTestNames-1 (Not Run) + 31 - TestsInFile::InvalidTestNames-2 (Not Run) + 32 - TagAlias (Not Run) + 33 - RandomTestOrdering (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/fix.patch new file mode 100644 index 000000000..adff2ed16 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/fix.patch @@ -0,0 +1,126 @@ +diff --git a/src/catch2/internal/catch_decomposer.hpp b/src/catch2/internal/catch_decomposer.hpp +index 9af5c19f..bfb0b6d5 100644 +--- a/src/catch2/internal/catch_decomposer.hpp ++++ b/src/catch2/internal/catch_decomposer.hpp +@@ -183,7 +183,7 @@ namespace Catch { + public: + explicit ExprLhs( LhsT lhs ) : m_lhs( lhs ) {} + +- template ++ template::value, int> = 0> + auto operator == ( RhsT const& rhs ) -> BinaryExpr const { + return { compareEqual( m_lhs, rhs ), m_lhs, "=="_sr, rhs }; + } +@@ -191,7 +191,7 @@ namespace Catch { + return { m_lhs == rhs, m_lhs, "=="_sr, rhs }; + } + +- template ++ template::value, int> = 0> + auto operator != ( RhsT const& rhs ) -> BinaryExpr const { + return { compareNotEqual( m_lhs, rhs ), m_lhs, "!="_sr, rhs }; + } +@@ -199,31 +199,31 @@ namespace Catch { + return { m_lhs != rhs, m_lhs, "!="_sr, rhs }; + } + +- template ++ template::value, int> = 0> + auto operator > ( RhsT const& rhs ) -> BinaryExpr const { + return { static_cast(m_lhs > rhs), m_lhs, ">"_sr, rhs }; + } +- template ++ template::value, int> = 0> + auto operator < ( RhsT const& rhs ) -> BinaryExpr const { + return { static_cast(m_lhs < rhs), m_lhs, "<"_sr, rhs }; + } +- template ++ template::value, int> = 0> + auto operator >= ( RhsT const& rhs ) -> BinaryExpr const { + return { static_cast(m_lhs >= rhs), m_lhs, ">="_sr, rhs }; + } +- template ++ template::value, int> = 0> + auto operator <= ( RhsT const& rhs ) -> BinaryExpr const { + return { static_cast(m_lhs <= rhs), m_lhs, "<="_sr, rhs }; + } +- template ++ template ::value, int> = 0> + auto operator | (RhsT const& rhs) -> BinaryExpr const { + return { static_cast(m_lhs | rhs), m_lhs, "|"_sr, rhs }; + } +- template ++ template ::value, int> = 0> + auto operator & (RhsT const& rhs) -> BinaryExpr const { + return { static_cast(m_lhs & rhs), m_lhs, "&"_sr, rhs }; + } +- template ++ template ::value, int> = 0> + auto operator ^ (RhsT const& rhs) -> BinaryExpr const { + return { static_cast(m_lhs ^ rhs), m_lhs, "^"_sr, rhs }; + } +@@ -245,8 +245,64 @@ namespace Catch { + auto makeUnaryExpr() const -> UnaryExpr { + return UnaryExpr{ m_lhs }; + } ++ ++ template>::value, int>> ++ friend auto operator == ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; ++ template>::value, int>> ++ friend auto operator != ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; ++ template>::value, int>> ++ friend auto operator > ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; ++ template>::value, int>> ++ friend auto operator < ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; ++ template>::value, int>> ++ friend auto operator >= ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; ++ template>::value, int>> ++ friend auto operator <= ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; ++ template>::value, int>> ++ friend auto operator | ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; ++ template>::value, int>> ++ friend auto operator & ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; ++ template>::value, int>> ++ friend auto operator ^ ( ExprLhs&&, RhsT&& ) -> BinaryExpr const; + }; + ++ template>::value, int> = 0> ++ auto operator == ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { compareEqual( lhs.m_lhs, rhs ), lhs.m_lhs, "=="_sr, rhs }; ++ } ++ template>::value, int> = 0> ++ auto operator != ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { compareNotEqual( lhs.m_lhs, rhs ), lhs.m_lhs, "!="_sr, rhs }; ++ } ++ template>::value, int> = 0> ++ auto operator > ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { static_cast(lhs.m_lhs > rhs), lhs.m_lhs, ">"_sr, rhs }; ++ } ++ template>::value, int> = 0> ++ auto operator < ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { static_cast(lhs.m_lhs < rhs), lhs.m_lhs, "<"_sr, rhs }; ++ } ++ template>::value, int> = 0> ++ auto operator >= ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { static_cast(lhs.m_lhs >= rhs), lhs.m_lhs, ">="_sr, rhs }; ++ } ++ template>::value, int> = 0> ++ auto operator <= ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { static_cast(lhs.m_lhs <= rhs), lhs.m_lhs, "<="_sr, rhs }; ++ } ++ template>::value, int> = 0> ++ auto operator | ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { static_cast(lhs.m_lhs | rhs), lhs.m_lhs, "|"_sr, rhs }; ++ } ++ template>::value, int> = 0> ++ auto operator & ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { static_cast(lhs.m_lhs & rhs), lhs.m_lhs, "&"_sr, rhs }; ++ } ++ template>::value, int> = 0> ++ auto operator ^ ( ExprLhs&& lhs, RhsT&& rhs ) -> BinaryExpr const { ++ return { static_cast(lhs.m_lhs ^ rhs), lhs.m_lhs, "^"_sr, rhs }; ++ } ++ + void handleExpression( ITransientExpression const& expr ); + + template diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/report.json new file mode 100644 index 000000000..2f1aa1e25 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2128/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 2128, "valid": false, "error_msg": "By comparing the test results before and after applying the fix patch, an anomalous pattern was detected. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (52, 9, 0)\n test = (18, 9, 0)\n fix = (19, 12, 0). `randomtestordering`: Test(run=, test=, fix=)", "fixed_tests": {"checkconvenienceheaders": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 52, "failed_count": 9, "skipped_count": 0, "passed_tests": ["have_flag_-wparentheses", "filenameastagstest", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "escapespecialcharactersintestnames", "notest", "filteredsection-2", "list::tests::output", "negativespecnohiddentests", "list::tests::quiet", "list::reporters::exitcode", "have_flag_-wunreachable-code", "have_flag_-wstrict-aliasing", "testsinfile::invalidtestnames-2", "have_flag_-wmissing-braces", "have_flag_-wmisleading-indentation", "testsinfile::invalidtestnames-1", "have_flag_-wvla", "have_flag_-wmissing-declarations", "have_flag_-wshadow", "approvaltests", "warnaboutnotests", "versioncheck", "checkconvenienceheaders", "testsinfile::simplespecs", "tagalias", "list::reporters::output", "unmatchedoutputfilter", "list::tests::exitcode", "list::tags::exitcode", "have_flag_-wunused-function", "have_flag_-wpedantic", "have_flag_-wsuggest-override", "noassertions", "have_flag_-wold-style-cast", "have_flag_-wextra", "list::tests::xmloutput", "have_flag_-wdeprecated", "regressioncheck-1670", "runtests", "list::tags::output", "list::reporters::xmloutput", "testsinfile::escapespecialcharacters", "list::tags::xmloutput", "have_flag_-wmissing-noreturn", "have_flag_-wundef", "have_flag_-wunused-parameter", "filteredsection::generatorsdontcauseinfiniteloop-1", "libidentitytest", "have_flag_-wall", "filenameastagsmatching", "filteredsection-1"], "failed_tests": ["have_flag_-wabsolute-value", "have_flag_-wextra-semi-stmt", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wcatch-value", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wglobal-constructors", "have_flag_-wweak-vtables", "have_flag_-wreturn-std-move"], "skipped_tests": []}, "test_patch_result": {"passed_count": 18, "failed_count": 9, "skipped_count": 0, "passed_tests": ["have_flag_-wsuggest-override", "have_flag_-wparentheses", "have_flag_-wall", "have_flag_-wmissing-noreturn", "have_flag_-wundef", "have_flag_-wunused-parameter", "have_flag_-wold-style-cast", "have_flag_-wextra", "have_flag_-wstrict-aliasing", "have_flag_-wunreachable-code", "have_flag_-wdeprecated", "have_flag_-wunused-function", "have_flag_-wvla", "have_flag_-wmisleading-indentation", "have_flag_-wmissing-braces", "have_flag_-wpedantic", "have_flag_-wmissing-declarations", "have_flag_-wshadow"], "failed_tests": ["have_flag_-wabsolute-value", "have_flag_-wextra-semi-stmt", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wcatch-value", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wglobal-constructors", "have_flag_-wweak-vtables", "have_flag_-wreturn-std-move"], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 12, "skipped_count": 0, "passed_tests": ["have_flag_-wparentheses", "have_flag_-wstrict-aliasing", "have_flag_-wunreachable-code", "have_flag_-wmissing-braces", "have_flag_-wvla", "have_flag_-wmisleading-indentation", "have_flag_-wmissing-declarations", "have_flag_-wshadow", "checkconvenienceheaders", "have_flag_-wunused-function", "have_flag_-wpedantic", "have_flag_-wsuggest-override", "have_flag_-wold-style-cast", "have_flag_-wextra", "have_flag_-wdeprecated", "have_flag_-wmissing-noreturn", "have_flag_-wundef", "have_flag_-wunused-parameter", "have_flag_-wall"], "failed_tests": ["approvaltests", "have_flag_-wextra-semi-stmt", "have_flag_-wabsolute-value", "warnaboutnotests", "randomtestordering", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wcatch-value", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wweak-vtables", "have_flag_-wglobal-constructors", "have_flag_-wreturn-std-move"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/fix-patch-run.log new file mode 100644 index 000000000..b66ba7a1b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/fix-patch-run.log @@ -0,0 +1,496 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5500 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 146 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (10.1 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30152 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 146 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.8 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30319 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 146 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.UHQu7fiB +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.UHQu7fiB/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.UHQu7fiB/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.UHQu7fiB/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.UHQu7fiB/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.UHQu7fiB/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.UHQu7fiB +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=156952205d98 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.o2JN0hNH1H/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file src/catch2/catch_test_macros.hpp +patching file tests/SelfTest/Baselines/automake.sw.approved.txt +patching file tests/SelfTest/Baselines/compact.sw.approved.txt +patching file tests/SelfTest/Baselines/console.std.approved.txt +patching file tests/SelfTest/Baselines/console.sw.approved.txt +patching file tests/SelfTest/Baselines/junit.sw.approved.txt +patching file tests/SelfTest/Baselines/sonarqube.sw.approved.txt +patching file tests/SelfTest/Baselines/tap.sw.approved.txt +patching file tests/SelfTest/Baselines/teamcity.sw.approved.txt +patching file tests/SelfTest/Baselines/xml.sw.approved.txt +patching file tests/SelfTest/UsageTests/Misc.tests.cpp +patching file extras/catch_amalgamated.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3") +-- Performing Test HAVE_FLAG_-Wall +-- Performing Test HAVE_FLAG_-Wall - Success +-- Performing Test HAVE_FLAG_-Wextra +-- Performing Test HAVE_FLAG_-Wextra - Success +-- Performing Test HAVE_FLAG_-Wpedantic +-- Performing Test HAVE_FLAG_-Wpedantic - Success +-- Performing Test HAVE_FLAG_-Wweak-vtables +-- Performing Test HAVE_FLAG_-Wweak-vtables - Failed +-- Performing Test HAVE_FLAG_-Wunreachable-code +-- Performing Test HAVE_FLAG_-Wunreachable-code - Success +-- Performing Test HAVE_FLAG_-Wmissing-declarations +-- Performing Test HAVE_FLAG_-Wmissing-declarations - Success +-- Performing Test HAVE_FLAG_-Wexit-time-destructors +-- Performing Test HAVE_FLAG_-Wexit-time-destructors - Failed +-- Performing Test HAVE_FLAG_-Wglobal-constructors +-- Performing Test HAVE_FLAG_-Wglobal-constructors - Failed +-- Performing Test HAVE_FLAG_-Wmissing-noreturn +-- Performing Test HAVE_FLAG_-Wmissing-noreturn - Success +-- Performing Test HAVE_FLAG_-Wparentheses +-- Performing Test HAVE_FLAG_-Wparentheses - Success +-- Performing Test HAVE_FLAG_-Wextra-semi-stmt +-- Performing Test HAVE_FLAG_-Wextra-semi-stmt - Failed +-- Performing Test HAVE_FLAG_-Wstrict-aliasing +-- Performing Test HAVE_FLAG_-Wstrict-aliasing - Success +-- Performing Test HAVE_FLAG_-Wreturn-std-move +-- Performing Test HAVE_FLAG_-Wreturn-std-move - Failed +-- Performing Test HAVE_FLAG_-Wmissing-braces +-- Performing Test HAVE_FLAG_-Wmissing-braces - Success +-- Performing Test HAVE_FLAG_-Wdeprecated +-- Performing Test HAVE_FLAG_-Wdeprecated - Success +-- Performing Test HAVE_FLAG_-Wvla +-- Performing Test HAVE_FLAG_-Wvla - Success +-- Performing Test HAVE_FLAG_-Wundef +-- Performing Test HAVE_FLAG_-Wundef - Success +-- Performing Test HAVE_FLAG_-Wmisleading-indentation +-- Performing Test HAVE_FLAG_-Wmisleading-indentation - Success +-- Performing Test HAVE_FLAG_-Wcatch-value +-- Performing Test HAVE_FLAG_-Wcatch-value - Failed +-- Performing Test HAVE_FLAG_-Wabsolute-value +-- Performing Test HAVE_FLAG_-Wabsolute-value - Failed +-- Performing Test HAVE_FLAG_-Wunused-parameter +-- Performing Test HAVE_FLAG_-Wunused-parameter - Success +-- Performing Test HAVE_FLAG_-Wunused-function +-- Performing Test HAVE_FLAG_-Wunused-function - Success +-- Performing Test HAVE_FLAG_-Wcall-to-pure-virtual-from-ctor-dtor +-- Performing Test HAVE_FLAG_-Wcall-to-pure-virtual-from-ctor-dtor - Failed +-- Performing Test HAVE_FLAG_-Wdeprecated-register +-- Performing Test HAVE_FLAG_-Wdeprecated-register - Failed +-- Performing Test HAVE_FLAG_-Wsuggest-override +-- Performing Test HAVE_FLAG_-Wsuggest-override - Success +-- Performing Test HAVE_FLAG_-Wshadow +-- Performing Test HAVE_FLAG_-Wshadow - Success +-- Performing Test HAVE_FLAG_-Wold-style-cast +-- Performing Test HAVE_FLAG_-Wold-style-cast - Success +-- Configuring done +-- Generating done +-- Build files have been written to: /home/Catch2/build +Scanning dependencies of target Catch2 +[ 0%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_automake.cpp.o +[ 1%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_combined_tu.cpp.o +[ 2%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_compact.cpp.o +[ 3%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_console.cpp.o +[ 4%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_cumulative_base.cpp.o +[ 5%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_junit.cpp.o +[ 6%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_listening.cpp.o +[ 7%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_sonarqube.cpp.o +[ 8%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_streaming_base.cpp.o +[ 9%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_tap.cpp.o +[ 10%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_teamcity.cpp.o +[ 10%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_xml.cpp.o +[ 11%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_approx.cpp.o +[ 12%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_assertion_handler.cpp.o +[ 13%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_assertion_result.cpp.o +[ 14%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/internal/catch_matchers_combined_tu.cpp.o +[ 15%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o +[ 16%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_commandline.cpp.o +[ 17%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_source_line_info.cpp.o +[ 18%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_config.cpp.o +[ 19%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_console_colour.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_context.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debug_console.cpp.o +[ 21%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debugger.cpp.o +[ 22%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enforce.cpp.o +[ 23%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enum_values_registry.cpp.o +[ 24%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_exception_translator_registry.cpp.o +[ 25%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_fatal_condition_handler.cpp.o +[ 26%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/internal/catch_generators_combined_tu.cpp.o +[ 27%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_combined_tu.cpp.o +[ 28%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter.cpp.o +[ 29%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_list.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_floating_point.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_string.cpp.o +[ 31%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_templated.cpp.o +[ 32%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_message.cpp.o +[ 33%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_output_redirect.cpp.o +[ 34%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_registry_hub.cpp.o +[ 35%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_combined_tu.cpp.o +[ 36%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_number_generator.cpp.o +[ 37%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_registry.cpp.o +[ 38%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_result_type.cpp.o +[ 39%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_run_context.cpp.o +[ 40%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_section.cpp.o +[ 40%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_session.cpp.o +[ 41%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_singletons.cpp.o +[ 42%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stream.cpp.o +[ 43%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stringref.cpp.o +[ 44%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_string_manip.cpp.o +[ 45%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_tag_alias_registry.cpp.o +[ 46%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_case_info.cpp.o +[ 47%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_registry_impl.cpp.o +[ 48%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_tracker.cpp.o +[ 49%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_registry.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_textflow.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_spec.cpp.o +[ 51%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_spec_parser.cpp.o +[ 52%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_timer.cpp.o +[ 53%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_tostring.cpp.o +[ 54%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_totals.cpp.o +[ 55%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_version.cpp.o +[ 56%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_wildcard_pattern.cpp.o +[ 57%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_xmlwriter.cpp.o +[ 58%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/internal/catch_benchmark_combined_tu.cpp.o +[ 59%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o +[ 60%] Linking CXX static library libCatch2.a +[ 60%] Built target Catch2 +Scanning dependencies of target Catch2WithMain +[ 60%] Building CXX object src/CMakeFiles/Catch2WithMain.dir/catch2/internal/catch_main.cpp.o +[ 61%] Linking CXX static library libCatch2Main.a +[ 61%] Built target Catch2WithMain +Scanning dependencies of target SelfTest +[ 62%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TestRegistrations.cpp.o +[ 63%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Clara.tests.cpp.o +[ 64%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 65%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Details.tests.cpp.o +[ 66%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 67%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp.o +[ 68%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 69%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp.o +[ 70%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Reporters.tests.cpp.o +[ 70%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 71%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 72%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/StringManip.tests.cpp.o +[ 73%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 74%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ToString.tests.cpp.o +[ 75%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp.o +[ 76%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TimingTests/Sleep.tests.cpp.o +[ 77%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 78%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 79%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 80%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 80%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +[ 81%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Condition.tests.cpp.o +[ 82%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Decomposition.tests.cpp.o +[ 83%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/EnumToString.tests.cpp.o +[ 84%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Exception.tests.cpp.o +[ 85%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Generators.tests.cpp.o +[ 86%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Message.tests.cpp.o +[ 87%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o +[ 88%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringByte.tests.cpp.o +[ 89%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringChrono.tests.cpp.o +[ 90%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringGeneral.tests.cpp.o +[ 90%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringOptional.tests.cpp.o +[ 91%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringPair.tests.cpp.o +[ 92%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringTuple.tests.cpp.o +[ 93%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVariant.tests.cpp.o +[ 94%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVector.tests.cpp.o +[ 95%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringWhich.tests.cpp.o +[ 96%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Tricky.tests.cpp.o +[ 97%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/VariadicMacros.tests.cpp.o +[ 98%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/MatchersRanges.tests.cpp.o +[ 99%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Matchers.tests.cpp.o +[100%] Linking CXX executable SelfTest +[100%] Built target SelfTest +Test project /home/Catch2/build + Start 20: ApprovalTests + 1/34 Test #20: ApprovalTests ........................................***Failed Error regular expression found in output. Regex=[Results differed] 1.90 sec + Start 1: RunTests + 2/34 Test #1: RunTests .............................................***Failed 1.77 sec + Start 2: List::Tests::Output + 3/34 Test #2: List::Tests::Output .................................. Passed 0.01 sec + Start 3: List::Tests::Quiet + 4/34 Test #3: List::Tests::Quiet ................................... Passed 0.00 sec + Start 4: List::Tests::ExitCode + 5/34 Test #4: List::Tests::ExitCode ................................ Passed 0.01 sec + Start 5: List::Tests::XmlOutput + 6/34 Test #5: List::Tests::XmlOutput ............................... Passed 0.01 sec + Start 6: List::Tags::Output + 7/34 Test #6: List::Tags::Output ................................... Passed 0.00 sec + Start 7: List::Tags::ExitCode + 8/34 Test #7: List::Tags::ExitCode ................................. Passed 0.00 sec + Start 8: List::Tags::XmlOutput + 9/34 Test #8: List::Tags::XmlOutput ................................ Passed 0.01 sec + Start 9: List::Reporters::Output +10/34 Test #9: List::Reporters::Output .............................. Passed 0.00 sec + Start 10: List::Reporters::ExitCode +11/34 Test #10: List::Reporters::ExitCode ............................ Passed 0.00 sec + Start 11: List::Reporters::XmlOutput +12/34 Test #11: List::Reporters::XmlOutput ........................... Passed 0.00 sec + Start 12: NoAssertions +13/34 Test #12: NoAssertions ......................................... Passed 0.00 sec + Start 13: NoTest +14/34 Test #13: NoTest ............................................... Passed 0.00 sec + Start 14: WarnAboutNoTests +15/34 Test #14: WarnAboutNoTests ..................................... Passed 0.02 sec + Start 15: UnmatchedOutputFilter +16/34 Test #15: UnmatchedOutputFilter ................................ Passed 0.00 sec + Start 16: FilteredSection-1 +17/34 Test #16: FilteredSection-1 .................................... Passed 0.00 sec + Start 17: FilteredSection-2 +18/34 Test #17: FilteredSection-2 .................................... Passed 0.00 sec + Start 18: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 +19/34 Test #18: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 ... Passed 0.00 sec + Start 19: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 +20/34 Test #19: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 ... Passed 0.00 sec + Start 21: RegressionCheck-1670 +21/34 Test #21: RegressionCheck-1670 ................................. Passed 0.00 sec + Start 22: VersionCheck +22/34 Test #22: VersionCheck ......................................... Passed 0.00 sec + Start 23: LibIdentityTest +23/34 Test #23: LibIdentityTest ...................................... Passed 0.00 sec + Start 24: FilenameAsTagsTest +24/34 Test #24: FilenameAsTagsTest ................................... Passed 0.01 sec + Start 25: FilenameAsTagsMatching +25/34 Test #25: FilenameAsTagsMatching ............................... Passed 0.01 sec + Start 26: EscapeSpecialCharactersInTestNames +26/34 Test #26: EscapeSpecialCharactersInTestNames ................... Passed 0.00 sec + Start 27: NegativeSpecNoHiddenTests +27/34 Test #27: NegativeSpecNoHiddenTests ............................ Passed 0.00 sec + Start 28: TestsInFile::SimpleSpecs +28/34 Test #28: TestsInFile::SimpleSpecs ............................. Passed 0.01 sec + Start 29: TestsInFile::EscapeSpecialCharacters +29/34 Test #29: TestsInFile::EscapeSpecialCharacters ................. Passed 0.00 sec + Start 30: TestsInFile::InvalidTestNames-1 +30/34 Test #30: TestsInFile::InvalidTestNames-1 ...................... Passed 0.00 sec + Start 31: TestsInFile::InvalidTestNames-2 +31/34 Test #31: TestsInFile::InvalidTestNames-2 ...................... Passed 0.00 sec + Start 32: TagAlias +32/34 Test #32: TagAlias ............................................. Passed 0.00 sec + Start 33: RandomTestOrdering +33/34 Test #33: RandomTestOrdering ................................... Passed 0.06 sec + Start 34: CheckConvenienceHeaders +34/34 Test #34: CheckConvenienceHeaders .............................. Passed 0.03 sec + +94% tests passed, 2 tests failed out of 34 + +Total Test time (real) = 3.95 sec + +The following tests FAILED: + 1 - RunTests (Failed) + 20 - ApprovalTests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/fix.patch new file mode 100644 index 000000000..ac38bcf10 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/fix.patch @@ -0,0 +1,26 @@ +diff --git a/extras/catch_amalgamated.hpp b/extras/catch_amalgamated.hpp +index 7f832413..bf6fad68 100644 +--- a/extras/catch_amalgamated.hpp ++++ b/extras/catch_amalgamated.hpp +@@ -5774,8 +5774,8 @@ struct AutoReg : Detail::NonCopyable { + + #define CATCH_CHECK( ... ) INTERNAL_CATCH_TEST( "CATCH_CHECK", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) + #define CATCH_CHECK_FALSE( ... ) INTERNAL_CATCH_TEST( "CATCH_CHECK_FALSE", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::FalseTest, __VA_ARGS__ ) +- #define CATCH_CHECKED_IF( ... ) INTERNAL_CATCH_IF( "CATCH_CHECKED_IF", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) +- #define CATCH_CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( "CATCH_CHECKED_ELSE", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) ++ #define CATCH_CHECKED_IF( ... ) INTERNAL_CATCH_IF( "CATCH_CHECKED_IF", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ ) ++ #define CATCH_CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( "CATCH_CHECKED_ELSE", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ ) + #define CATCH_CHECK_NOFAIL( ... ) INTERNAL_CATCH_TEST( "CATCH_CHECK_NOFAIL", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ ) + + #define CATCH_CHECK_THROWS( ... ) INTERNAL_CATCH_THROWS( "CATCH_CHECK_THROWS", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) +@@ -5865,8 +5865,8 @@ struct AutoReg : Detail::NonCopyable { + + #define CHECK( ... ) INTERNAL_CATCH_TEST( "CHECK", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) + #define CHECK_FALSE( ... ) INTERNAL_CATCH_TEST( "CHECK_FALSE", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::FalseTest, __VA_ARGS__ ) +- #define CHECKED_IF( ... ) INTERNAL_CATCH_IF( "CHECKED_IF", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) +- #define CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( "CHECKED_ELSE", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) ++ #define CHECKED_IF( ... ) INTERNAL_CATCH_IF( "CHECKED_IF", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ ) ++ #define CHECKED_ELSE( ... ) INTERNAL_CATCH_ELSE( "CHECKED_ELSE", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ ) + #define CHECK_NOFAIL( ... ) INTERNAL_CATCH_TEST( "CHECK_NOFAIL", Catch::ResultDisposition::ContinueOnFailure | Catch::ResultDisposition::SuppressFail, __VA_ARGS__ ) + + #define CHECK_THROWS( ... ) INTERNAL_CATCH_THROWS( "CHECK_THROWS", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/report.json new file mode 100644 index 000000000..4153e4cf8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2187/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 2187, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (52, 9, 0)\n test = (50, 11, 0)\n fix = (50, 11, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 52, "failed_count": 9, "skipped_count": 0, "passed_tests": ["have_flag_-wparentheses", "filenameastagstest", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "escapespecialcharactersintestnames", "notest", "filteredsection-2", "list::tests::output", "negativespecnohiddentests", "list::tests::quiet", "list::reporters::exitcode", "have_flag_-wunreachable-code", "have_flag_-wstrict-aliasing", "testsinfile::invalidtestnames-2", "have_flag_-wmissing-braces", "have_flag_-wmisleading-indentation", "testsinfile::invalidtestnames-1", "have_flag_-wvla", "have_flag_-wmissing-declarations", "have_flag_-wshadow", "approvaltests", "warnaboutnotests", "versioncheck", "checkconvenienceheaders", "testsinfile::simplespecs", "tagalias", "list::reporters::output", "unmatchedoutputfilter", "list::tests::exitcode", "list::tags::exitcode", "have_flag_-wunused-function", "have_flag_-wpedantic", "have_flag_-wsuggest-override", "noassertions", "have_flag_-wold-style-cast", "have_flag_-wextra", "list::tests::xmloutput", "have_flag_-wdeprecated", "regressioncheck-1670", "runtests", "list::tags::output", "list::reporters::xmloutput", "testsinfile::escapespecialcharacters", "list::tags::xmloutput", "have_flag_-wmissing-noreturn", "have_flag_-wundef", "have_flag_-wunused-parameter", "filteredsection::generatorsdontcauseinfiniteloop-1", "libidentitytest", "have_flag_-wall", "filenameastagsmatching", "filteredsection-1"], "failed_tests": ["have_flag_-wabsolute-value", "have_flag_-wextra-semi-stmt", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wcatch-value", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wglobal-constructors", "have_flag_-wweak-vtables", "have_flag_-wreturn-std-move"], "skipped_tests": []}, "test_patch_result": {"passed_count": 50, "failed_count": 11, "skipped_count": 0, "passed_tests": ["have_flag_-wparentheses", "filenameastagstest", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "escapespecialcharactersintestnames", "notest", "filteredsection-2", "list::tests::output", "negativespecnohiddentests", "list::tests::quiet", "list::reporters::exitcode", "have_flag_-wunreachable-code", "have_flag_-wstrict-aliasing", "testsinfile::invalidtestnames-2", "have_flag_-wmissing-braces", "have_flag_-wmisleading-indentation", "testsinfile::invalidtestnames-1", "have_flag_-wvla", "have_flag_-wmissing-declarations", "have_flag_-wshadow", "warnaboutnotests", "versioncheck", "checkconvenienceheaders", "testsinfile::simplespecs", "tagalias", "list::reporters::output", "unmatchedoutputfilter", "list::tests::exitcode", "list::tags::exitcode", "have_flag_-wunused-function", "have_flag_-wpedantic", "have_flag_-wsuggest-override", "noassertions", "have_flag_-wold-style-cast", "have_flag_-wextra", "list::tests::xmloutput", "have_flag_-wdeprecated", "regressioncheck-1670", "list::tags::output", "list::reporters::xmloutput", "testsinfile::escapespecialcharacters", "list::tags::xmloutput", "have_flag_-wmissing-noreturn", "have_flag_-wundef", "have_flag_-wunused-parameter", "filteredsection::generatorsdontcauseinfiniteloop-1", "libidentitytest", "have_flag_-wall", "filenameastagsmatching", "filteredsection-1"], "failed_tests": ["approvaltests", "have_flag_-wabsolute-value", "have_flag_-wextra-semi-stmt", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wcatch-value", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wglobal-constructors", "have_flag_-wweak-vtables", "runtests", "have_flag_-wreturn-std-move"], "skipped_tests": []}, "fix_patch_result": {"passed_count": 50, "failed_count": 11, "skipped_count": 0, "passed_tests": ["have_flag_-wparentheses", "filenameastagstest", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "escapespecialcharactersintestnames", "notest", "list::tests::output", "list::tests::quiet", "list::reporters::exitcode", "have_flag_-wstrict-aliasing", "have_flag_-wunreachable-code", "negativespecnohiddentests", "have_flag_-wmissing-braces", "have_flag_-wvla", "have_flag_-wmisleading-indentation", "testsinfile::invalidtestnames-1", "testsinfile::invalidtestnames-2", "have_flag_-wmissing-declarations", "have_flag_-wshadow", "warnaboutnotests", "versioncheck", "testsinfile::simplespecs", "tagalias", "checkconvenienceheaders", "list::reporters::output", "have_flag_-wunused-function", "list::tests::exitcode", "list::tags::exitcode", "unmatchedoutputfilter", "have_flag_-wpedantic", "have_flag_-wsuggest-override", "noassertions", "filenameastagsmatching", "have_flag_-wold-style-cast", "have_flag_-wextra", "list::tests::xmloutput", "have_flag_-wdeprecated", "regressioncheck-1670", "list::tags::output", "list::reporters::xmloutput", "list::tags::xmloutput", "testsinfile::escapespecialcharacters", "have_flag_-wmissing-noreturn", "have_flag_-wundef", "have_flag_-wunused-parameter", "filteredsection::generatorsdontcauseinfiniteloop-1", "libidentitytest", "have_flag_-wall", "filteredsection-2", "filteredsection-1"], "failed_tests": ["approvaltests", "have_flag_-wextra-semi-stmt", "have_flag_-wabsolute-value", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wcatch-value", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wweak-vtables", "have_flag_-wglobal-constructors", "runtests", "have_flag_-wreturn-std-move"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/fix-patch-run.log new file mode 100644 index 000000000..f8b8e1eac --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/fix-patch-run.log @@ -0,0 +1,429 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6544 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 158 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (16.0 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31854 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 158 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31897 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5544 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 34054 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.VNACeaP6 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.VNACeaP6/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.VNACeaP6/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.VNACeaP6/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.VNACeaP6/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.VNACeaP6/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.VNACeaP6 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=e86cafd6db45 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.p9Fd3bR38i/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file projects/SelfTest/UsageTests/Approx.tests.cpp +patching file include/internal/catch_approx.h +patching file single_include/catch2/catch.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python3 (found version "3.11.2") +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + CATCH_DEVELOPMENT_BUILD + + +-- Build files have been written to: /home/Catch2/build +[ 0%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/TestMain.cpp.o +[ 1%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 2%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Details.tests.cpp.o +[ 3%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 4%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp.o +[ 5%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 5%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp.o +[ 6%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 7%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 8%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/StringManip.tests.cpp.o +[ 9%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 10%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ToString.tests.cpp.o +[ 11%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/TimingTests/Sleep.tests.cpp.o +[ 11%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 12%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 13%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 14%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 15%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +[ 16%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Condition.tests.cpp.o +[ 17%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Decomposition.tests.cpp.o +[ 17%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/EnumToString.tests.cpp.o +[ 18%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Exception.tests.cpp.o +[ 19%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Generators.tests.cpp.o +[ 20%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Message.tests.cpp.o +[ 21%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o +[ 22%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringByte.tests.cpp.o +[ 23%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringChrono.tests.cpp.o +[ 23%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringGeneral.tests.cpp.o +[ 24%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringOptional.tests.cpp.o +[ 25%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringPair.tests.cpp.o +[ 26%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringTuple.tests.cpp.o +[ 27%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVariant.tests.cpp.o +[ 28%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVector.tests.cpp.o +[ 29%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringWhich.tests.cpp.o +[ 29%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Tricky.tests.cpp.o +[ 30%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/VariadicMacros.tests.cpp.o +[ 31%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Matchers.tests.cpp.o +[ 32%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_approx.cpp.o +[ 33%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionhandler.cpp.o +[ 34%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_assertionresult.cpp.o +[ 35%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_capture_matchers.cpp.o +[ 35%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_commandline.cpp.o +[ 36%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_common.cpp.o +[ 37%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_config.cpp.o +[ 38%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_console_colour.cpp.o +[ 39%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_context.cpp.o +[ 40%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debug_console.cpp.o +[ 41%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_debugger.cpp.o +[ 41%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_decomposer.cpp.o +[ 42%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_enforce.cpp.o +[ 43%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_enum_values_registry.cpp.o +[ 44%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_errno_guard.cpp.o +[ 45%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_exception_translator_registry.cpp.o +[ 46%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_fatal_condition.cpp.o +[ 47%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_generators.cpp.o +[ 47%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_capture.cpp.o +[ 48%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_config.cpp.o +[ 49%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_exception.cpp.o +[ 50%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_registry_hub.cpp.o +[ 51%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_runner.cpp.o +[ 52%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_testcase.cpp.o +[ 52%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_list.cpp.o +[ 53%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_leak_detector.cpp.o +[ 54%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers.cpp.o +[ 55%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_exception.cpp.o +[ 56%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_floating.cpp.o +[ 57%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_generic.cpp.o +[ 58%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_matchers_string.cpp.o +[ 58%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_message.cpp.o +[ 59%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_output_redirect.cpp.o +[ 60%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_registry_hub.cpp.o +[ 61%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_interfaces_reporter.cpp.o +[ 62%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_polyfills.cpp.o +[ 63%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_random_number_generator.cpp.o +[ 64%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_reporter_registry.cpp.o +[ 64%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_result_type.cpp.o +[ 65%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_run_context.cpp.o +[ 66%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section.cpp.o +[ 67%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_section_info.cpp.o +[ 68%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_session.cpp.o +[ 69%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_singletons.cpp.o +[ 70%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_startup_exception_registry.cpp.o +[ 70%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stream.cpp.o +[ 71%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_stringref.cpp.o +[ 72%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_string_manip.cpp.o +[ 73%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias.cpp.o +[ 74%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_autoregistrar.cpp.o +[ 75%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tag_alias_registry.cpp.o +[ 76%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_info.cpp.o +[ 76%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_registry_impl.cpp.o +[ 77%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_case_tracker.cpp.o +[ 78%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_registry.cpp.o +[ 79%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec.cpp.o +[ 80%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_test_spec_parser.cpp.o +[ 81%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_timer.cpp.o +[ 82%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_tostring.cpp.o +[ 82%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_totals.cpp.o +[ 83%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_uncaught_exceptions.cpp.o +[ 84%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_version.cpp.o +[ 85%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_wildcard_pattern.cpp.o +[ 86%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/catch_xmlwriter.cpp.o +[ 87%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_bases.cpp.o +[ 88%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_compact.cpp.o +[ 88%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_console.cpp.o +[ 89%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_junit.cpp.o +[ 90%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_listening.cpp.o +[ 91%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/reporters/catch_reporter_xml.cpp.o +[ 92%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_console_colour.cpp.o +[ 93%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_debugger.cpp.o +[ 94%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_interfaces_reporter.cpp.o +[ 94%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_option.cpp.o +[ 95%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_stream.cpp.o +[ 96%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_case_tracker.cpp.o +[ 97%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_test_spec.cpp.o +[ 98%] Building CXX object projects/CMakeFiles/SelfTest.dir/SelfTest/SurrogateCpps/catch_xmlwriter.cpp.o +[ 99%] Building CXX object projects/CMakeFiles/SelfTest.dir/__/include/internal/benchmark/detail/catch_stats.cpp.o +[100%] Linking CXX executable SelfTest +[100%] Built target SelfTest +Test project /home/Catch2/build + Start 1: RunTests + 1/24 Test #1: RunTests ............................................. Passed 0.04 sec + Start 2: ListTests + 2/24 Test #2: ListTests ............................................ Passed 0.01 sec + Start 3: ListTags + 3/24 Test #3: ListTags ............................................. Passed 0.01 sec + Start 4: ListReporters + 4/24 Test #4: ListReporters ........................................ Passed 0.00 sec + Start 5: ListTestNamesOnly + 5/24 Test #5: ListTestNamesOnly .................................... Passed 0.01 sec + Start 6: NoAssertions + 6/24 Test #6: NoAssertions ......................................... Passed 0.04 sec + Start 7: NoTest + 7/24 Test #7: NoTest ............................................... Passed 0.01 sec + Start 8: WarnAboutNoTests + 8/24 Test #8: WarnAboutNoTests ..................................... Passed 0.02 sec + Start 9: UnmatchedOutputFilter + 9/24 Test #9: UnmatchedOutputFilter ................................ Passed 0.01 sec + Start 10: FilteredSection-1 +10/24 Test #10: FilteredSection-1 .................................... Passed 0.01 sec + Start 11: FilteredSection-2 +11/24 Test #11: FilteredSection-2 .................................... Passed 0.01 sec + Start 12: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 +12/24 Test #12: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 ... Passed 0.01 sec + Start 13: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 +13/24 Test #13: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 ... Passed 0.01 sec + Start 14: ApprovalTests +14/24 Test #14: ApprovalTests ........................................ Passed 0.67 sec + Start 15: RegressionCheck-1670 +15/24 Test #15: RegressionCheck-1670 ................................. Passed 0.01 sec + Start 16: VersionCheck +16/24 Test #16: VersionCheck ......................................... Passed 0.01 sec + Start 17: LibIdentityTest +17/24 Test #17: LibIdentityTest ...................................... Passed 0.00 sec + Start 18: FilenameAsTagsTest +18/24 Test #18: FilenameAsTagsTest ................................... Passed 0.01 sec + Start 19: EscapeSpecialCharactersInTestNames +19/24 Test #19: EscapeSpecialCharactersInTestNames ................... Passed 0.01 sec + Start 20: TestsInFile::SimpleSpecs +20/24 Test #20: TestsInFile::SimpleSpecs ............................. Passed 0.01 sec + Start 21: TestsInFile::EscapeSpecialCharacters +21/24 Test #21: TestsInFile::EscapeSpecialCharacters ................. Passed 0.01 sec + Start 22: TestsInFile::InvalidTestNames-1 +22/24 Test #22: TestsInFile::InvalidTestNames-1 ...................... Passed 0.01 sec + Start 23: TestsInFile::InvalidTestNames-2 +23/24 Test #23: TestsInFile::InvalidTestNames-2 ...................... Passed 0.01 sec + Start 24: RandomTestOrdering +24/24 Test #24: RandomTestOrdering ................................... Passed 0.04 sec + +100% tests passed, 0 tests failed out of 24 + +Total Test time (real) = 0.92 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/fix.patch new file mode 100644 index 000000000..fbb53bc69 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/fix.patch @@ -0,0 +1,26 @@ +diff --git a/include/internal/catch_approx.h b/include/internal/catch_approx.h +index 4522e5ad..2d12efe4 100644 +--- a/include/internal/catch_approx.h ++++ b/include/internal/catch_approx.h +@@ -33,7 +33,7 @@ namespace Detail { + Approx operator-() const; + + template ::value>::type> +- Approx operator()( T const& value ) { ++ Approx operator()( T const& value ) const { + Approx approx( static_cast(value) ); + approx.m_epsilon = m_epsilon; + approx.m_margin = m_margin; +diff --git a/single_include/catch2/catch.hpp b/single_include/catch2/catch.hpp +index 7e706f94..06494cb3 100644 +--- a/single_include/catch2/catch.hpp ++++ b/single_include/catch2/catch.hpp +@@ -3091,7 +3091,7 @@ namespace Detail { + Approx operator-() const; + + template ::value>::type> +- Approx operator()( T const& value ) { ++ Approx operator()( T const& value ) const { + Approx approx( static_cast(value) ); + approx.m_epsilon = m_epsilon; + approx.m_margin = m_margin; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/report.json new file mode 100644 index 000000000..6069bedb6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2288/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 2288, "valid": true, "error_msg": "", "fixed_tests": {"filenameastagstest": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "randomtestordering": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection::generatorsdontcauseinfiniteloop-2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listtags": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "escapespecialcharactersintestnames": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "notest": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listreporters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "regressioncheck-1670": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testsinfile::invalidtestnames-2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testsinfile::invalidtestnames-1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "runtests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listtests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testsinfile::escapespecialcharacters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "approvaltests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warnaboutnotests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testsinfile::simplespecs": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "versioncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection::generatorsdontcauseinfiniteloop-1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "libidentitytest": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unmatchedoutputfilter": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listtestnamesonly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection-2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection-1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "noassertions": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"filenameastagstest": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "randomtestordering": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection::generatorsdontcauseinfiniteloop-2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listtags": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "escapespecialcharactersintestnames": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "notest": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listreporters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "regressioncheck-1670": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testsinfile::invalidtestnames-2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testsinfile::invalidtestnames-1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "runtests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listtests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testsinfile::escapespecialcharacters": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "approvaltests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "warnaboutnotests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testsinfile::simplespecs": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "versioncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection::generatorsdontcauseinfiniteloop-1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "libidentitytest": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unmatchedoutputfilter": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "listtestnamesonly": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection-2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "filteredsection-1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "noassertions": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 24, "failed_count": 0, "skipped_count": 0, "passed_tests": ["filenameastagstest", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "listtags", "escapespecialcharactersintestnames", "notest", "listreporters", "testsinfile::invalidtestnames-2", "testsinfile::invalidtestnames-1", "approvaltests", "warnaboutnotests", "testsinfile::simplespecs", "versioncheck", "unmatchedoutputfilter", "noassertions", "regressioncheck-1670", "runtests", "listtests", "testsinfile::escapespecialcharacters", "filteredsection::generatorsdontcauseinfiniteloop-1", "libidentitytest", "listtestnamesonly", "filteredsection-2", "filteredsection-1"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 24, "failed_count": 0, "skipped_count": 0, "passed_tests": ["filenameastagstest", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "listtags", "escapespecialcharactersintestnames", "notest", "listreporters", "testsinfile::invalidtestnames-1", "testsinfile::invalidtestnames-2", "approvaltests", "warnaboutnotests", "versioncheck", "testsinfile::simplespecs", "unmatchedoutputfilter", "noassertions", "regressioncheck-1670", "runtests", "listtests", "testsinfile::escapespecialcharacters", "filteredsection::generatorsdontcauseinfiniteloop-1", "libidentitytest", "listtestnamesonly", "filteredsection-2", "filteredsection-1"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/fix-patch-run.log new file mode 100644 index 000000000..d07db6591 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/fix-patch-run.log @@ -0,0 +1,2025 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6597 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 158 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (16.9 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31854 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 158 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 1s (17.0 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31897 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6063 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 34054 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.0tNYGohz +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.0tNYGohz/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.0tNYGohz/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.0tNYGohz/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.0tNYGohz/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.0tNYGohz/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.0tNYGohz +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=173ee14b85af +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.siR5amPXiG/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file src/catch2/internal/catch_test_case_info_hasher.cpp +patching file src/catch2/internal/catch_test_case_info_hasher.hpp +patching file src/catch2/internal/catch_test_case_registry_impl.cpp +patching file tests/CMakeLists.txt +patching file tests/SelfTest/Baselines/automake.sw.approved.txt +patching file tests/SelfTest/Baselines/automake.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/compact.sw.approved.txt +patching file tests/SelfTest/Baselines/compact.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/console.std.approved.txt +patching file tests/SelfTest/Baselines/console.sw.approved.txt +patching file tests/SelfTest/Baselines/console.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/junit.sw.approved.txt +patching file tests/SelfTest/Baselines/junit.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/sonarqube.sw.approved.txt +patching file tests/SelfTest/Baselines/sonarqube.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/tap.sw.approved.txt +patching file tests/SelfTest/Baselines/tap.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/teamcity.sw.approved.txt +patching file tests/SelfTest/Baselines/teamcity.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/xml.sw.approved.txt +patching file tests/SelfTest/Baselines/xml.sw.multi.approved.txt +patching file tests/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp +patching file src/CMakeLists.txt +patching file src/catch2/internal/catch_test_case_hasher.cpp +patching file src/catch2/internal/catch_test_case_hasher.hpp +patching file tests/SelfTest/IntrospectiveTests/TestCaseHasher.tests.cpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.11.2", minimum required is "3") +-- Performing Test HAVE_FLAG_-Wall +-- Performing Test HAVE_FLAG_-Wall - Success +-- Performing Test HAVE_FLAG_-Wextra +-- Performing Test HAVE_FLAG_-Wextra - Success +-- Performing Test HAVE_FLAG_-Wpedantic +-- Performing Test HAVE_FLAG_-Wpedantic - Success +-- Performing Test HAVE_FLAG_-Wweak-vtables +-- Performing Test HAVE_FLAG_-Wweak-vtables - Failed +-- Performing Test HAVE_FLAG_-Wunreachable-code +-- Performing Test HAVE_FLAG_-Wunreachable-code - Success +-- Performing Test HAVE_FLAG_-Wmissing-declarations +-- Performing Test HAVE_FLAG_-Wmissing-declarations - Success +-- Performing Test HAVE_FLAG_-Wexit-time-destructors +-- Performing Test HAVE_FLAG_-Wexit-time-destructors - Failed +-- Performing Test HAVE_FLAG_-Wglobal-constructors +-- Performing Test HAVE_FLAG_-Wglobal-constructors - Failed +-- Performing Test HAVE_FLAG_-Wmissing-noreturn +-- Performing Test HAVE_FLAG_-Wmissing-noreturn - Success +-- Performing Test HAVE_FLAG_-Wparentheses +-- Performing Test HAVE_FLAG_-Wparentheses - Success +-- Performing Test HAVE_FLAG_-Wextra-semi +-- Performing Test HAVE_FLAG_-Wextra-semi - Success +-- Performing Test HAVE_FLAG_-Wstrict-aliasing +-- Performing Test HAVE_FLAG_-Wstrict-aliasing - Success +-- Performing Test HAVE_FLAG_-Wreturn-std-move +-- Performing Test HAVE_FLAG_-Wreturn-std-move - Failed +-- Performing Test HAVE_FLAG_-Wmissing-braces +-- Performing Test HAVE_FLAG_-Wmissing-braces - Success +-- Performing Test HAVE_FLAG_-Wdeprecated +-- Performing Test HAVE_FLAG_-Wdeprecated - Success +-- Performing Test HAVE_FLAG_-Wvla +-- Performing Test HAVE_FLAG_-Wvla - Success +-- Performing Test HAVE_FLAG_-Wundef +-- Performing Test HAVE_FLAG_-Wundef - Success +-- Performing Test HAVE_FLAG_-Wmisleading-indentation +-- Performing Test HAVE_FLAG_-Wmisleading-indentation - Success +-- Performing Test HAVE_FLAG_-Wcatch-value +-- Performing Test HAVE_FLAG_-Wcatch-value - Success +-- Performing Test HAVE_FLAG_-Wabsolute-value +-- Performing Test HAVE_FLAG_-Wabsolute-value - Failed +-- Performing Test HAVE_FLAG_-Wunused-parameter +-- Performing Test HAVE_FLAG_-Wunused-parameter - Success +-- Performing Test HAVE_FLAG_-Wunused-function +-- Performing Test HAVE_FLAG_-Wunused-function - Success +-- Performing Test HAVE_FLAG_-Wcall-to-pure-virtual-from-ctor-dtor +-- Performing Test HAVE_FLAG_-Wcall-to-pure-virtual-from-ctor-dtor - Failed +-- Performing Test HAVE_FLAG_-Wdeprecated-register +-- Performing Test HAVE_FLAG_-Wdeprecated-register - Failed +-- Performing Test HAVE_FLAG_-Wsuggest-override +-- Performing Test HAVE_FLAG_-Wsuggest-override - Success +-- Performing Test HAVE_FLAG_-Wshadow +-- Performing Test HAVE_FLAG_-Wshadow - Success +-- Performing Test HAVE_FLAG_-Wold-style-cast +-- Performing Test HAVE_FLAG_-Wold-style-cast - Success +-- Configuring done +-- Generating done +-- Build files have been written to: /home/Catch2/build +[ 0%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_automake.cpp.o +[ 1%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_combined_tu.cpp.o +[ 2%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_common_base.cpp.o +[ 3%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_compact.cpp.o +[ 4%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_console.cpp.o +[ 4%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_cumulative_base.cpp.o +[ 5%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_junit.cpp.o +[ 6%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_multi.cpp.o +[ 7%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_sonarqube.cpp.o +[ 8%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_streaming_base.cpp.o +[ 9%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_tap.cpp.o +[ 9%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_teamcity.cpp.o +[ 10%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_xml.cpp.o +[ 11%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_approx.cpp.o +[ 12%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_assertion_handler.cpp.o +[ 13%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_assertion_result.cpp.o +[ 13%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/internal/catch_matchers_combined_tu.cpp.o +[ 14%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o +[ 15%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_commandline.cpp.o +[ 16%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_source_line_info.cpp.o +[ 17%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_config.cpp.o +[ 18%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_case_insensitive_comparisons.cpp.o +[ 18%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_console_colour.cpp.o +[ 19%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_context.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debug_console.cpp.o +[ 21%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debugger.cpp.o +[ 22%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enforce.cpp.o +[ 22%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enum_values_registry.cpp.o +[ 23%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_exception_translator_registry.cpp.o +[ 24%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_fatal_condition_handler.cpp.o +[ 25%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_floating_point_helpers.cpp.o +[ 26%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/internal/catch_generators_combined_tu.cpp.o +[ 27%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_combined_tu.cpp.o +[ 27%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter.cpp.o +[ 28%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_list.cpp.o +[ 29%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_floating_point.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_string.cpp.o +[ 31%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_templated.cpp.o +[ 31%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_message.cpp.o +[ 32%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_output_redirect.cpp.o +[ 33%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_registry_hub.cpp.o +[ 34%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_combined_tu.cpp.o +[ 35%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_number_generator.cpp.o +[ 36%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_seed_generation.cpp.o +[ 36%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_registry.cpp.o +[ 37%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_result_type.cpp.o +[ 38%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_run_context.cpp.o +[ 39%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_section.cpp.o +[ 40%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_session.cpp.o +[ 40%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_singletons.cpp.o +[ 41%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stream.cpp.o +[ 42%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stringref.cpp.o +[ 43%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_string_manip.cpp.o +[ 44%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_tag_alias_registry.cpp.o +[ 45%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_case_info.cpp.o +[ 45%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_hasher.cpp.o +[ 46%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_registry_impl.cpp.o +[ 47%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_tracker.cpp.o +[ 48%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_registry.cpp.o +[ 49%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_textflow.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_spec.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_spec_parser.cpp.o +[ 51%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_timer.cpp.o +[ 52%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_tostring.cpp.o +[ 53%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_totals.cpp.o +[ 54%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_version.cpp.o +[ 54%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_wildcard_pattern.cpp.o +[ 55%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_xmlwriter.cpp.o +[ 56%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/internal/catch_benchmark_combined_tu.cpp.o +[ 57%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o +[ 58%] Linking CXX static library libCatch2.a +[ 58%] Built target Catch2 +[ 59%] Building CXX object src/CMakeFiles/Catch2WithMain.dir/catch2/internal/catch_main.cpp.o +[ 59%] Linking CXX static library libCatch2Main.a +[ 59%] Built target Catch2WithMain +[ 60%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TestRegistrations.cpp.o +[ 61%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Clara.tests.cpp.o +[ 62%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 63%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ColourImpl.tests.cpp.o +[ 63%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Details.tests.cpp.o +[ 64%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp.o +[ 65%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 66%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp.o +[ 67%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 68%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp.o +[ 68%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Reporters.tests.cpp.o +[ 69%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 70%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp.o +[ 71%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp.o +[ 72%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TextFlow.tests.cpp.o +[ 72%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Sharding.tests.cpp.o +[ 73%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Stream.tests.cpp.o +[ 74%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 75%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/StringManip.tests.cpp.o +[ 76%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 77%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ToString.tests.cpp.o +[ 77%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp.o +[ 78%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TimingTests/Sleep.tests.cpp.o +[ 79%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 80%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 81%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 81%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 82%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +[ 83%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Condition.tests.cpp.o +[ 84%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Decomposition.tests.cpp.o +[ 85%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/EnumToString.tests.cpp.o +[ 86%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Exception.tests.cpp.o +[ 86%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Generators.tests.cpp.o +[ 87%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Message.tests.cpp.o +[ 88%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o +[ 89%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringByte.tests.cpp.o +[ 90%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringChrono.tests.cpp.o +[ 90%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringGeneral.tests.cpp.o +[ 91%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringOptional.tests.cpp.o +[ 92%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringPair.tests.cpp.o +[ 93%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringTuple.tests.cpp.o +[ 94%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVariant.tests.cpp.o +[ 95%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVector.tests.cpp.o +[ 95%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringWhich.tests.cpp.o +[ 96%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Tricky.tests.cpp.o +[ 97%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/VariadicMacros.tests.cpp.o +[ 98%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/MatchersRanges.tests.cpp.o +[ 99%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Matchers.tests.cpp.o +[100%] Linking CXX executable SelfTest +/usr/bin/ld: CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp.o: in function `CATCH2_INTERNAL_TEST_0()': +TestCaseInfoHasher.tests.cpp:(.text+0x205): undefined reference to `Catch::TestCaseInfoHasher::TestCaseInfoHasher(unsigned long)' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x28e): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x2a9): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp.o: in function `CATCH2_INTERNAL_TEST_3()': +TestCaseInfoHasher.tests.cpp:(.text+0x633): undefined reference to `Catch::TestCaseInfoHasher::TestCaseInfoHasher(unsigned long)' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x6cb): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x6e6): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x993): undefined reference to `Catch::TestCaseInfoHasher::TestCaseInfoHasher(unsigned long)' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0xa2b): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0xa46): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0xcf3): undefined reference to `Catch::TestCaseInfoHasher::TestCaseInfoHasher(unsigned long)' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0xd8b): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0xda6): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x105b): undefined reference to `Catch::TestCaseInfoHasher::TestCaseInfoHasher(unsigned long)' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x1077): undefined reference to `Catch::TestCaseInfoHasher::TestCaseInfoHasher(unsigned long)' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x1100): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: TestCaseInfoHasher.tests.cpp:(.text+0x111b): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +/usr/bin/ld: ../src/libCatch2.a(catch_test_case_registry_impl.cpp.o): in function `Catch::sortTests(Catch::IConfig const&, std::vector > const&)': +catch_test_case_registry_impl.cpp:(.text+0x1e0): undefined reference to `Catch::TestCaseInfoHasher::TestCaseInfoHasher(unsigned long)' +/usr/bin/ld: catch_test_case_registry_impl.cpp:(.text+0x27a): undefined reference to `Catch::TestCaseInfoHasher::operator()(Catch::TestCaseInfo const&) const' +collect2: error: ld returned 1 exit status +make[2]: *** [tests/CMakeFiles/SelfTest.dir/build.make:851: tests/SelfTest] Error 1 +make[1]: *** [CMakeFiles/Makefile2:927: tests/CMakeFiles/SelfTest.dir/all] Error 2 +make: *** [Makefile:166: all] Error 2 +Test project /home/Catch2/build + Start 25: ApprovalTests + 1/48 Test #25: ApprovalTests ................................................***Failed 0.03 sec + Start 1: RunTests +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 2/48 Test #1: RunTests .....................................................***Not Run 0.00 sec + Start 2: List::Tests::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest + 3/48 Test #2: List::Tests::Output ..........................................***Not Run 0.00 sec + Start 3: List::Tests::Quiet +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 4/48 Test #3: List::Tests::Quiet ...........................................***Not Run 0.00 sec + Start 4: List::Tests::ExitCode +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 5/48 Test #4: List::Tests::ExitCode ........................................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 5: List::Tests::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 6/48 Test #5: List::Tests::XmlOutput .......................................***Not Run 0.00 sec + Start 6: List::Tags::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 7/48 Test #6: List::Tags::Output ...........................................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 7: List::Tags::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 8/48 Test #7: List::Tags::ExitCode .........................................***Not Run 0.00 sec + Start 8: List::Tags::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 9/48 Test #8: List::Tags::XmlOutput ........................................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 9: List::Reporters::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +10/48 Test #9: List::Reporters::Output ......................................***Not Run 0.00 sec + Start 10: List::Reporters::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +11/48 Test #10: List::Reporters::ExitCode ....................................***Not Run 0.00 sec + Start 11: List::Reporters::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +12/48 Test #11: List::Reporters::XmlOutput ...................................***Not Run 0.00 sec + Start 12: NoAssertions +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +13/48 Test #12: NoAssertions .................................................***Not Run 0.00 sec + Start 13: TestSpecs::CombiningMatchingAndNonMatchingIsOk-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +14/48 Test #13: TestSpecs::CombiningMatchingAndNonMatchingIsOk-1 .............***Not Run 0.00 sec + Start 14: TestSpecs::CombiningMatchingAndNonMatchingIsOk-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +15/48 Test #14: TestSpecs::CombiningMatchingAndNonMatchingIsOk-2 .............***Not Run 0.00 sec + Start 15: TestSpecs::NoMatchedTestsFail +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +16/48 Test #15: TestSpecs::NoMatchedTestsFail ................................***Not Run 0.00 sec + Start 16: TestSpecs::OverrideFailureWithNoMatchedTests +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +17/48 Test #16: TestSpecs::OverrideFailureWithNoMatchedTests .................***Not Run 0.00 sec + Start 17: Warnings::UnmatchedTestSpecIsAccepted +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +18/48 Test #17: Warnings::UnmatchedTestSpecIsAccepted ........................***Not Run 0.00 sec + Start 18: Warnings::MultipleWarningsCanBeSpecified +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +19/48 Test #18: Warnings::MultipleWarningsCanBeSpecified .....................***Not Run 0.00 sec + Start 19: TestSpecs::WarnUnmatchedTestSpecFailsWithUnmatchedTestSpec +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +20/48 Test #19: TestSpecs::WarnUnmatchedTestSpecFailsWithUnmatchedTestSpec ...***Not Run 0.00 sec + Start 20: UnmatchedOutputFilter +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +21/48 Test #20: UnmatchedOutputFilter ........................................***Not Run 0.00 sec + Start 21: FilteredSection-1 +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +22/48 Test #21: FilteredSection-1 ............................................***Not Run 0.00 sec + Start 22: FilteredSection-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +23/48 Test #22: FilteredSection-2 ............................................***Not Run 0.00 sec + Start 23: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +24/48 Test #23: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 ...........***Not Run 0.00 sec + Start 24: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +25/48 Test #24: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 ...........***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 26: RegressionCheck-1670 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +26/48 Test #26: RegressionCheck-1670 .........................................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 27: VersionCheck +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +27/48 Test #27: VersionCheck .................................................***Not Run 0.00 sec + Start 28: LibIdentityTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +28/48 Test #28: LibIdentityTest ..............................................***Not Run 0.00 sec + Start 29: FilenameAsTagsTest +Could not find executable /home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +29/48 Test #29: FilenameAsTagsTest ...........................................***Not Run 0.00 sec + Start 30: FilenameAsTagsMatching +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +30/48 Test #30: FilenameAsTagsMatching .......................................***Not Run 0.00 sec + Start 31: EscapeSpecialCharactersInTestNames +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +31/48 Test #31: EscapeSpecialCharactersInTestNames ...........................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 32: NegativeSpecNoHiddenTests +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +32/48 Test #32: NegativeSpecNoHiddenTests ....................................***Not Run 0.00 sec + Start 33: TestsInFile::SimpleSpecs +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +33/48 Test #33: TestsInFile::SimpleSpecs .....................................***Not Run 0.00 sec + Start 34: TestsInFile::EscapeSpecialCharacters +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +34/48 Test #34: TestsInFile::EscapeSpecialCharacters .........................***Not Run 0.00 sec + Start 35: TestsInFile::InvalidTestNames-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +35/48 Test #35: TestsInFile::InvalidTestNames-1 ..............................***Not Run 0.00 sec + Start 36: TagAlias +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +36/48 Test #36: TagAlias .....................................................***Not Run 0.00 sec + Start 37: RandomTestOrdering +37/48 Test #37: RandomTestOrdering ...........................................***Failed 0.03 sec + Start 38: CheckConvenienceHeaders +38/48 Test #38: CheckConvenienceHeaders ......................................***Failed 0.03 sec + Start 39: Benchmarking::FailureReporting::ThrowingBenchmark +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +39/48 Test #39: Benchmarking::FailureReporting::ThrowingBenchmark ............***Not Run 0.00 sec + Start 40: Benchmarking::FailureReporting::FailedAssertion +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +40/48 Test #40: Benchmarking::FailureReporting::FailedAssertion ..............***Not Run 0.00 sec + Start 41: Benchmarking::FailureReporting::FailMacro +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +41/48 Test #41: Benchmarking::FailureReporting::FailMacro ....................***Not Run 0.00 sec + Start 42: Benchmarking::FailureReporting::ShouldFailIsRespected +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +42/48 Test #42: Benchmarking::FailureReporting::ShouldFailIsRespected ........***Not Run 0.00 sec + Start 43: ErrorHandling::InvalidTestSpecExitsEarly +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +43/48 Test #43: ErrorHandling::InvalidTestSpecExitsEarly .....................***Not Run 0.00 sec + Start 44: MultiReporter::CapturingReportersDontPropagateStdOut +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +44/48 Test #44: MultiReporter::CapturingReportersDontPropagateStdOut .........***Not Run 0.00 sec + Start 45: MultiReporter::NonCapturingReportersPropagateStdout +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Development/SelfTest +45/48 Test #45: MultiReporter::NonCapturingReportersPropagateStdout ..........***Not Run 0.00 sec + Start 46: Outputs::DashAsOutLocationSendsOutputToStdout +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +46/48 Test #46: Outputs::DashAsOutLocationSendsOutputToStdout ................***Not Run 0.00 sec + Start 47: Reporters::DashAsLocationInReporterSpecSendsOutputToStdout +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +47/48 Test #47: Reporters::DashAsLocationInReporterSpecSendsOutputToStdout ...***Not Run 0.00 sec + Start 48: Colours::ColourModeCanBeExplicitlySetToAnsi +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +48/48 Test #48: Colours::ColourModeCanBeExplicitlySetToAnsi ..................***Not Run 0.00 sec + +0% tests passed, 48 tests failed out of 48 + +Total Test time (real) = 0.10 sec + +The following tests FAILED: + 1 - RunTests (Not Run) + 2 - List::Tests::Output (Not Run) + 3 - List::Tests::Quiet (Not Run) + 4 - List::Tests::ExitCode (Not Run) + 5 - List::Tests::XmlOutput (Not Run) + 6 - List::Tags::Output (Not Run) + 7 - List::Tags::ExitCode (Not Run) + 8 - List::Tags::XmlOutput (Not Run) + 9 - List::Reporters::Output (Not Run) + 10 - List::Reporters::ExitCode (Not Run) + 11 - List::Reporters::XmlOutput (Not Run) + 12 - NoAssertions (Not Run) + 13 - TestSpecs::CombiningMatchingAndNonMatchingIsOk-1 (Not Run) + 14 - TestSpecs::CombiningMatchingAndNonMatchingIsOk-2 (Not Run) + 15 - TestSpecs::NoMatchedTestsFail (Not Run) + 16 - TestSpecs::OverrideFailureWithNoMatchedTests (Not Run) + 17 - Warnings::UnmatchedTestSpecIsAccepted (Not Run) + 18 - Warnings::MultipleWarningsCanBeSpecified (Not Run) + 19 - TestSpecs::WarnUnmatchedTestSpecFailsWithUnmatchedTestSpec (Not Run) + 20 - UnmatchedOutputFilter (Not Run) + 21 - FilteredSection-1 (Not Run) + 22 - FilteredSection-2 (Not Run) + 23 - FilteredSection::GeneratorsDontCauseInfiniteLoop-1 (Not Run) + 24 - FilteredSection::GeneratorsDontCauseInfiniteLoop-2 (Not Run) + 25 - ApprovalTests (Failed) + 26 - RegressionCheck-1670 (Not Run) + 27 - VersionCheck (Not Run) + 28 - LibIdentityTest (Not Run) + 29 - FilenameAsTagsTest (Not Run) + 30 - FilenameAsTagsMatching (Not Run) + 31 - EscapeSpecialCharactersInTestNames (Not Run) + 32 - NegativeSpecNoHiddenTests (Not Run) + 33 - TestsInFile::SimpleSpecs (Not Run) + 34 - TestsInFile::EscapeSpecialCharacters (Not Run) + 35 - TestsInFile::InvalidTestNames-1 (Not Run) + 36 - TagAlias (Not Run) + 37 - RandomTestOrdering (Failed) + 38 - CheckConvenienceHeaders (Failed) + 39 - Benchmarking::FailureReporting::ThrowingBenchmark (Not Run) + 40 - Benchmarking::FailureReporting::FailedAssertion (Not Run) + 41 - Benchmarking::FailureReporting::FailMacro (Not Run) + 42 - Benchmarking::FailureReporting::ShouldFailIsRespected (Not Run) + 43 - ErrorHandling::InvalidTestSpecExitsEarly (Not Run) + 44 - MultiReporter::CapturingReportersDontPropagateStdOut (Not Run) + 45 - MultiReporter::NonCapturingReportersPropagateStdout (Not Run) + 46 - Outputs::DashAsOutLocationSendsOutputToStdout (Not Run) + 47 - Reporters::DashAsLocationInReporterSpecSendsOutputToStdout (Not Run) + 48 - Colours::ColourModeCanBeExplicitlySetToAnsi (Not Run) +Errors while running CTest +Output from these tests are in: /home/Catch2/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/fix.patch new file mode 100644 index 000000000..984903415 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/fix.patch @@ -0,0 +1,183 @@ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 78d95956..4a6ffe44 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -135,6 +135,7 @@ set(INTERNAL_HEADERS + ${SOURCES_DIR}/catch_tag_alias_autoregistrar.hpp + ${SOURCES_DIR}/internal/catch_tag_alias_registry.hpp + ${SOURCES_DIR}/catch_test_case_info.hpp ++ ${SOURCES_DIR}/internal/catch_test_case_hasher.hpp + ${SOURCES_DIR}/internal/catch_test_case_registry_impl.hpp + ${SOURCES_DIR}/internal/catch_test_case_tracker.hpp + ${SOURCES_DIR}/catch_template_test_macros.hpp +@@ -201,6 +202,7 @@ set(IMPL_SOURCES + ${SOURCES_DIR}/internal/catch_string_manip.cpp + ${SOURCES_DIR}/internal/catch_tag_alias_registry.cpp + ${SOURCES_DIR}/catch_test_case_info.cpp ++ ${SOURCES_DIR}/internal/catch_test_case_hasher.cpp + ${SOURCES_DIR}/internal/catch_test_case_registry_impl.cpp + ${SOURCES_DIR}/internal/catch_test_case_tracker.cpp + ${SOURCES_DIR}/internal/catch_test_registry.cpp +diff --git a/src/catch2/internal/catch_test_case_hasher.cpp b/src/catch2/internal/catch_test_case_hasher.cpp +new file mode 100644 +index 00000000..caf1e7f0 +--- /dev/null ++++ b/src/catch2/internal/catch_test_case_hasher.cpp +@@ -0,0 +1,42 @@ ++ ++// Copyright Catch2 Authors ++// Distributed under the Boost Software License, Version 1.0. ++// (See accompanying file LICENSE_1_0.txt or copy at ++// https://www.boost.org/LICENSE_1_0.txt) ++ ++// SPDX-License-Identifier: BSL-1.0 ++#include ++ ++#include ++ ++namespace Catch { ++ ++ TestCaseHasher::TestCaseHasher( hash_t hashSuffix ): ++ m_hashSuffix( hashSuffix ) {} ++ ++ uint32_t TestCaseHasher::operator()( TestCaseInfo const& t ) const { ++ // FNV-1a hash with multiplication fold. ++ const hash_t prime = 1099511628211u; ++ hash_t hash = 14695981039346656037u; ++ for (const char c : t.name) { ++ hash ^= c; ++ hash *= prime; ++ } ++ for (const char c : t.className) { ++ hash ^= c; ++ hash *= prime; ++ } ++ for (const auto& tag : t.tags) { ++ for (const char c : tag.original) { ++ hash ^= c; ++ hash *= prime; ++ } ++ } ++ hash ^= m_hashSuffix; ++ hash *= prime; ++ const uint32_t low{ static_cast(hash) }; ++ const uint32_t high{ static_cast(hash >> 32) }; ++ return low * high; ++ } ++ ++} // namespace Catch +diff --git a/src/catch2/internal/catch_test_case_hasher.hpp b/src/catch2/internal/catch_test_case_hasher.hpp +new file mode 100644 +index 00000000..3d3c9fd7 +--- /dev/null ++++ b/src/catch2/internal/catch_test_case_hasher.hpp +@@ -0,0 +1,30 @@ ++ ++// Copyright Catch2 Authors ++// Distributed under the Boost Software License, Version 1.0. ++// (See accompanying file LICENSE_1_0.txt or copy at ++// https://www.boost.org/LICENSE_1_0.txt) ++ ++// SPDX-License-Identifier: BSL-1.0 ++#ifndef CATCH_TEST_CASE_HASHER_HPP_INCLUDED ++#define CATCH_TEST_CASE_HASHER_HPP_INCLUDED ++ ++#include ++ ++namespace Catch { ++ ++ struct TestCaseInfo; ++ ++ class TestCaseHasher { ++ public: ++ using hash_t = uint64_t; ++ ++ explicit TestCaseHasher( hash_t hashSuffix ); ++ uint32_t operator()( TestCaseInfo const& t ) const; ++ ++ private: ++ hash_t m_hashSuffix; ++ }; ++ ++} // namespace Catch ++ ++#endif // CATCH_TEST_CASE_HASHER_HPP_INCLUDED +diff --git a/tests/SelfTest/IntrospectiveTests/TestCaseHasher.tests.cpp b/tests/SelfTest/IntrospectiveTests/TestCaseHasher.tests.cpp +new file mode 100644 +index 00000000..54bdf71c +--- /dev/null ++++ b/tests/SelfTest/IntrospectiveTests/TestCaseHasher.tests.cpp +@@ -0,0 +1,73 @@ ++ ++// Copyright Catch2 Authors ++// Distributed under the Boost Software License, Version 1.0. ++// (See accompanying file LICENSE_1_0.txt or copy at ++// https://www.boost.org/LICENSE_1_0.txt) ++ ++// SPDX-License-Identifier: BSL-1.0 ++ ++#include ++#include ++#include ++ ++static constexpr Catch::SourceLineInfo dummySourceLineInfo = CATCH_INTERNAL_LINEINFO; ++ ++TEST_CASE("TestCaseHasher produces different hashes for different names", ++ "[test-case-hasher]") { ++ Catch::TestCaseHasher h(0); ++ Catch::TestCaseInfo tc1("", {"name1", ""}, dummySourceLineInfo); ++ Catch::TestCaseInfo tc2("", {"name2", ""}, dummySourceLineInfo); ++ REQUIRE(h(tc1) != h(tc2)); ++} ++ ++TEST_CASE("TestCaseHasher produces different hashes for different class names", ++ "[test-case-hasher]") { ++ Catch::TestCaseHasher h(0); ++ Catch::TestCaseInfo tc1("class1", {"same-name", ""}, dummySourceLineInfo); ++ Catch::TestCaseInfo tc2("class2", {"same-name", ""}, dummySourceLineInfo); ++ REQUIRE(h(tc1) != h(tc2)); ++} ++ ++TEST_CASE("TestCaseHasher produces different hashes for different tags", ++ "[test-case-hasher]") { ++ Catch::TestCaseHasher h(0); ++ Catch::TestCaseInfo tc1("", {"same-name", "[tag1]"}, dummySourceLineInfo); ++ Catch::TestCaseInfo tc2("", {"same-name", "[tag2]"}, dummySourceLineInfo); ++ REQUIRE(h(tc1) != h(tc2)); ++} ++ ++TEST_CASE("TestCaseHasher produces same hash for same test case", ++ "[test-case-hasher]") { ++ Catch::TestCaseHasher h(0); ++ Catch::TestCaseInfo tc1("MyClass", {"my-test", "[tag1][tag2]"}, dummySourceLineInfo); ++ Catch::TestCaseInfo tc2("MyClass", {"my-test", "[tag1][tag2]"}, dummySourceLineInfo); ++ REQUIRE(h(tc1) == h(tc2)); ++} ++ ++TEST_CASE("TestCaseHasher hash suffix changes the hash", ++ "[test-case-hasher]") { ++ Catch::TestCaseHasher h1(0); ++ Catch::TestCaseHasher h2(1); ++ Catch::TestCaseInfo tc("", {"some-name", ""}, dummySourceLineInfo); ++ REQUIRE(h1(tc) != h2(tc)); ++} ++ ++TEST_CASE( ++ "TestCaseHasher produces different hashes for same name, same class, " ++ "different tags", ++ "[test-case-hasher]") { ++ Catch::TestCaseHasher h(0); ++ Catch::TestCaseInfo tc1("MyClass", {"name", "[a]"}, dummySourceLineInfo); ++ Catch::TestCaseInfo tc2("MyClass", {"name", "[b]"}, dummySourceLineInfo); ++ REQUIRE(h(tc1) != h(tc2)); ++} ++ ++TEST_CASE( ++ "TestCaseHasher produces different hashes for same name, different class, " ++ "same tags", ++ "[test-case-hasher]") { ++ Catch::TestCaseHasher h(0); ++ Catch::TestCaseInfo tc1("Class1", {"name", "[a][b]"}, dummySourceLineInfo); ++ Catch::TestCaseInfo tc2("Class2", {"name", "[a][b]"}, dummySourceLineInfo); ++ REQUIRE(h(tc1) != h(tc2)); ++} diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/report.json new file mode 100644 index 000000000..1c265946e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2394/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 2394, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (68, 7, 0)\n test = (20, 7, 0)\n fix = (20, 10, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 68, "failed_count": 7, "skipped_count": 0, "passed_tests": ["have_flag_-wparentheses", "filenameastagstest", "randomtestordering", "testspecs::warnunmatchedtestspecfailswithunmatchedtestspec", "filteredsection::generatorsdontcauseinfiniteloop-2", "escapespecialcharactersintestnames", "filteredsection-2", "testspecs::overridefailurewithnomatchedtests", "list::tests::output", "negativespecnohiddentests", "list::tests::quiet", "list::reporters::exitcode", "have_flag_-wunreachable-code", "have_flag_-wstrict-aliasing", "warnings::multiplewarningscanbespecified", "have_flag_-wmissing-braces", "have_flag_-wmisleading-indentation", "testsinfile::invalidtestnames-1", "have_flag_-wvla", "have_flag_-wmissing-declarations", "have_flag_-wshadow", "testspecs::combiningmatchingandnonmatchingisok-2", "approvaltests", "versioncheck", "checkconvenienceheaders", "testsinfile::simplespecs", "benchmarking::failurereporting::throwingbenchmark", "tagalias", "list::reporters::output", "benchmarking::failurereporting::failedassertion", "unmatchedoutputfilter", "list::tests::exitcode", "list::tags::exitcode", "have_flag_-wunused-function", "have_flag_-wpedantic", "have_flag_-wsuggest-override", "noassertions", "multireporter::capturingreportersdontpropagatestdout", "multireporter::noncapturingreporterspropagatestdout", "benchmarking::failurereporting::failmacro", "have_flag_-wold-style-cast", "benchmarking::failurereporting::shouldfailisrespected", "have_flag_-wextra", "list::tests::xmloutput", "have_flag_-wdeprecated", "regressioncheck-1670", "errorhandling::invalidtestspecexitsearly", "list::tags::output", "runtests", "reporters::dashaslocationinreporterspecsendsoutputtostdout", "list::reporters::xmloutput", "list::tags::xmloutput", "testsinfile::escapespecialcharacters", "have_flag_-wmissing-noreturn", "warnings::unmatchedtestspecisaccepted", "have_flag_-wundef", "have_flag_-wunused-parameter", "testspecs::nomatchedtestsfail", "filteredsection::generatorsdontcauseinfiniteloop-1", "have_flag_-wcatch-value", "have_flag_-wextra-semi", "libidentitytest", "colours::colourmodecanbeexplicitlysettoansi", "have_flag_-wall", "filenameastagsmatching", "filteredsection-1", "testspecs::combiningmatchingandnonmatchingisok-1", "outputs::dashasoutlocationsendsoutputtostdout"], "failed_tests": ["have_flag_-wabsolute-value", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wglobal-constructors", "have_flag_-wweak-vtables", "have_flag_-wreturn-std-move"], "skipped_tests": []}, "test_patch_result": {"passed_count": 20, "failed_count": 7, "skipped_count": 0, "passed_tests": ["have_flag_-wparentheses", "have_flag_-wstrict-aliasing", "have_flag_-wunreachable-code", "have_flag_-wmissing-braces", "have_flag_-wvla", "have_flag_-wmisleading-indentation", "have_flag_-wmissing-declarations", "have_flag_-wshadow", "have_flag_-wunused-function", "have_flag_-wpedantic", "have_flag_-wsuggest-override", "have_flag_-wold-style-cast", "have_flag_-wextra", "have_flag_-wdeprecated", "have_flag_-wmissing-noreturn", "have_flag_-wundef", "have_flag_-wunused-parameter", "have_flag_-wcatch-value", "have_flag_-wextra-semi", "have_flag_-wall"], "failed_tests": ["have_flag_-wabsolute-value", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wglobal-constructors", "have_flag_-wweak-vtables", "have_flag_-wreturn-std-move"], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 10, "skipped_count": 0, "passed_tests": ["have_flag_-wparentheses", "have_flag_-wstrict-aliasing", "have_flag_-wunreachable-code", "have_flag_-wmissing-braces", "have_flag_-wvla", "have_flag_-wmisleading-indentation", "have_flag_-wmissing-declarations", "have_flag_-wshadow", "have_flag_-wunused-function", "have_flag_-wpedantic", "have_flag_-wsuggest-override", "have_flag_-wold-style-cast", "have_flag_-wextra", "have_flag_-wdeprecated", "have_flag_-wmissing-noreturn", "have_flag_-wundef", "have_flag_-wunused-parameter", "have_flag_-wcatch-value", "have_flag_-wextra-semi", "have_flag_-wall"], "failed_tests": ["approvaltests", "have_flag_-wabsolute-value", "randomtestordering", "checkconvenienceheaders", "have_flag_-wcall-to-pure-virtual-from-ctor-dtor", "have_flag_-wexit-time-destructors", "have_flag_-wdeprecated-register", "have_flag_-wweak-vtables", "have_flag_-wglobal-constructors", "have_flag_-wreturn-std-move"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/fix-patch-run.log new file mode 100644 index 000000000..71b6ff4b8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/fix-patch-run.log @@ -0,0 +1,677 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6439 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 158 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (16.9 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31854 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 158 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (18.8 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31897 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5992 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 34054 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.WvZ0XO0u +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.WvZ0XO0u/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.WvZ0XO0u/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.WvZ0XO0u/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.WvZ0XO0u/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.WvZ0XO0u/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.WvZ0XO0u +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=e116768b3525 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.9Iz7gx4xZP/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file tests/CMakeLists.txt +patching file tests/SelfTest/Baselines/automake.sw.approved.txt +patching file tests/SelfTest/Baselines/automake.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/compact.sw.approved.txt +patching file tests/SelfTest/Baselines/compact.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/console.std.approved.txt +patching file tests/SelfTest/Baselines/console.sw.approved.txt +patching file tests/SelfTest/Baselines/console.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/junit.sw.approved.txt +patching file tests/SelfTest/Baselines/junit.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/sonarqube.sw.approved.txt +patching file tests/SelfTest/Baselines/sonarqube.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/tap.sw.approved.txt +patching file tests/SelfTest/Baselines/tap.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/teamcity.sw.approved.txt +patching file tests/SelfTest/Baselines/teamcity.sw.multi.approved.txt +patching file tests/SelfTest/Baselines/xml.sw.approved.txt +patching file tests/SelfTest/Baselines/xml.sw.multi.approved.txt +patching file tests/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp +patching file tests/SelfTest/UsageTests/Misc.tests.cpp +patching file extras/catch_amalgamated.cpp +patching file src/catch2/internal/catch_run_context.cpp +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Performing Test HAVE_FLAG__ffile_prefix_map__home_Catch2__ +-- Performing Test HAVE_FLAG__ffile_prefix_map__home_Catch2__ - Success +-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.11.2", minimum required is "3") +-- Performing Test HAVE_FLAG__Wabsolute_value +-- Performing Test HAVE_FLAG__Wabsolute_value - Failed +-- Performing Test HAVE_FLAG__Wall +-- Performing Test HAVE_FLAG__Wall - Success +-- Performing Test HAVE_FLAG__Wc__20_compat +-- Performing Test HAVE_FLAG__Wc__20_compat - Success +-- Performing Test HAVE_FLAG__Wcall_to_pure_virtual_from_ctor_dtor +-- Performing Test HAVE_FLAG__Wcall_to_pure_virtual_from_ctor_dtor - Failed +-- Performing Test HAVE_FLAG__Wcast_align +-- Performing Test HAVE_FLAG__Wcast_align - Success +-- Performing Test HAVE_FLAG__Wcatch_value +-- Performing Test HAVE_FLAG__Wcatch_value - Success +-- Performing Test HAVE_FLAG__Wdangling +-- Performing Test HAVE_FLAG__Wdangling - Failed +-- Performing Test HAVE_FLAG__Wdeprecated +-- Performing Test HAVE_FLAG__Wdeprecated - Success +-- Performing Test HAVE_FLAG__Wdeprecated_register +-- Performing Test HAVE_FLAG__Wdeprecated_register - Failed +-- Performing Test HAVE_FLAG__Wexceptions +-- Performing Test HAVE_FLAG__Wexceptions - Success +-- Performing Test HAVE_FLAG__Wexit_time_destructors +-- Performing Test HAVE_FLAG__Wexit_time_destructors - Failed +-- Performing Test HAVE_FLAG__Wextra +-- Performing Test HAVE_FLAG__Wextra - Success +-- Performing Test HAVE_FLAG__Wextra_semi +-- Performing Test HAVE_FLAG__Wextra_semi - Success +-- Performing Test HAVE_FLAG__Wfloat_equal +-- Performing Test HAVE_FLAG__Wfloat_equal - Success +-- Performing Test HAVE_FLAG__Wglobal_constructors +-- Performing Test HAVE_FLAG__Wglobal_constructors - Failed +-- Performing Test HAVE_FLAG__Winit_self +-- Performing Test HAVE_FLAG__Winit_self - Success +-- Performing Test HAVE_FLAG__Wmisleading_indentation +-- Performing Test HAVE_FLAG__Wmisleading_indentation - Success +-- Performing Test HAVE_FLAG__Wmismatched_new_delete +-- Performing Test HAVE_FLAG__Wmismatched_new_delete - Success +-- Performing Test HAVE_FLAG__Wmismatched_return_types +-- Performing Test HAVE_FLAG__Wmismatched_return_types - Failed +-- Performing Test HAVE_FLAG__Wmismatched_tags +-- Performing Test HAVE_FLAG__Wmismatched_tags - Success +-- Performing Test HAVE_FLAG__Wmissing_braces +-- Performing Test HAVE_FLAG__Wmissing_braces - Success +-- Performing Test HAVE_FLAG__Wmissing_declarations +-- Performing Test HAVE_FLAG__Wmissing_declarations - Success +-- Performing Test HAVE_FLAG__Wmissing_noreturn +-- Performing Test HAVE_FLAG__Wmissing_noreturn - Success +-- Performing Test HAVE_FLAG__Wmissing_prototypes +-- Performing Test HAVE_FLAG__Wmissing_prototypes - Failed +-- Performing Test HAVE_FLAG__Wmissing_variable_declarations +-- Performing Test HAVE_FLAG__Wmissing_variable_declarations - Failed +-- Performing Test HAVE_FLAG__Wnull_dereference +-- Performing Test HAVE_FLAG__Wnull_dereference - Success +-- Performing Test HAVE_FLAG__Wold_style_cast +-- Performing Test HAVE_FLAG__Wold_style_cast - Success +-- Performing Test HAVE_FLAG__Woverloaded_virtual +-- Performing Test HAVE_FLAG__Woverloaded_virtual - Success +-- Performing Test HAVE_FLAG__Wparentheses +-- Performing Test HAVE_FLAG__Wparentheses - Success +-- Performing Test HAVE_FLAG__Wpedantic +-- Performing Test HAVE_FLAG__Wpedantic - Success +-- Performing Test HAVE_FLAG__Wredundant_decls +-- Performing Test HAVE_FLAG__Wredundant_decls - Success +-- Performing Test HAVE_FLAG__Wreorder +-- Performing Test HAVE_FLAG__Wreorder - Success +-- Performing Test HAVE_FLAG__Wreturn_std_move +-- Performing Test HAVE_FLAG__Wreturn_std_move - Failed +-- Performing Test HAVE_FLAG__Wshadow +-- Performing Test HAVE_FLAG__Wshadow - Success +-- Performing Test HAVE_FLAG__Wstrict_aliasing +-- Performing Test HAVE_FLAG__Wstrict_aliasing - Success +-- Performing Test HAVE_FLAG__Wsuggest_destructor_override +-- Performing Test HAVE_FLAG__Wsuggest_destructor_override - Failed +-- Performing Test HAVE_FLAG__Wsuggest_override +-- Performing Test HAVE_FLAG__Wsuggest_override - Success +-- Performing Test HAVE_FLAG__Wundef +-- Performing Test HAVE_FLAG__Wundef - Success +-- Performing Test HAVE_FLAG__Wuninitialized +-- Performing Test HAVE_FLAG__Wuninitialized - Success +-- Performing Test HAVE_FLAG__Wunneeded_internal_declaration +-- Performing Test HAVE_FLAG__Wunneeded_internal_declaration - Failed +-- Performing Test HAVE_FLAG__Wunreachable_code_aggressive +-- Performing Test HAVE_FLAG__Wunreachable_code_aggressive - Failed +-- Performing Test HAVE_FLAG__Wunused +-- Performing Test HAVE_FLAG__Wunused - Success +-- Performing Test HAVE_FLAG__Wunused_function +-- Performing Test HAVE_FLAG__Wunused_function - Success +-- Performing Test HAVE_FLAG__Wunused_parameter +-- Performing Test HAVE_FLAG__Wunused_parameter - Success +-- Performing Test HAVE_FLAG__Wvla +-- Performing Test HAVE_FLAG__Wvla - Success +-- Performing Test HAVE_FLAG__Wweak_vtables +-- Performing Test HAVE_FLAG__Wweak_vtables - Failed +-- Configuring done +-- Generating done +-- Build files have been written to: /home/Catch2/build +[ 0%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/catch_chronometer.cpp.o +[ 1%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_benchmark_function.cpp.o +[ 1%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_run_for_at_least.cpp.o +[ 2%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o +[ 3%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/catch_generator_exception.cpp.o +[ 3%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/catch_generators.cpp.o +[ 4%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/catch_generators_random.cpp.o +[ 4%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_automake.cpp.o +[ 5%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_common_base.cpp.o +[ 6%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_compact.cpp.o +[ 6%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_console.cpp.o +[ 7%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_cumulative_base.cpp.o +[ 7%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_event_listener.cpp.o +[ 8%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_helpers.cpp.o +[ 9%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_junit.cpp.o +[ 9%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_multi.cpp.o +[ 10%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_registrars.cpp.o +[ 11%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_sonarqube.cpp.o +[ 11%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_streaming_base.cpp.o +[ 12%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_tap.cpp.o +[ 12%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_teamcity.cpp.o +[ 13%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_xml.cpp.o +[ 14%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_capture.cpp.o +[ 14%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_config.cpp.o +[ 15%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_exception.cpp.o +[ 15%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_generatortracker.cpp.o +[ 16%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_registry_hub.cpp.o +[ 17%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter.cpp.o +[ 17%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter_factory.cpp.o +[ 18%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_testcase.cpp.o +[ 19%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_approx.cpp.o +[ 19%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_assertion_result.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_config.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_get_random_seed.cpp.o +[ 21%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_message.cpp.o +[ 22%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_registry_hub.cpp.o +[ 22%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_session.cpp.o +[ 23%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_tag_alias_autoregistrar.cpp.o +[ 23%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_case_info.cpp.o +[ 24%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_spec.cpp.o +[ 25%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_timer.cpp.o +[ 25%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_tostring.cpp.o +[ 26%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_totals.cpp.o +[ 26%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_translate_exception.cpp.o +[ 27%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_version.cpp.o +[ 28%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_assertion_handler.cpp.o +[ 28%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_case_insensitive_comparisons.cpp.o +[ 29%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_commandline.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_console_colour.cpp.o +[ 31%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_context.cpp.o +[ 31%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debug_console.cpp.o +[ 32%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debugger.cpp.o +[ 33%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_decomposer.cpp.o +[ 33%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enforce.cpp.o +[ 34%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enum_values_registry.cpp.o +[ 34%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_errno_guard.cpp.o +[ 35%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_exception_translator_registry.cpp.o +[ 36%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_fatal_condition_handler.cpp.o +[ 36%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_floating_point_helpers.cpp.o +[ 37%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_getenv.cpp.o +[ 38%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_istream.cpp.o +[ 38%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_lazy_expr.cpp.o +[ 39%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_leak_detector.cpp.o +[ 39%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_list.cpp.o +[ 40%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_message_info.cpp.o +[ 41%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_output_redirect.cpp.o +[ 41%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_parse_numbers.cpp.o +[ 42%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_polyfills.cpp.o +[ 42%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_number_generator.cpp.o +[ 43%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_seed_generation.cpp.o +[ 44%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_registry.cpp.o +[ 44%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_spec_parser.cpp.o +[ 45%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_result_type.cpp.o +[ 46%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reusable_string_stream.cpp.o +[ 46%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_run_context.cpp.o +[ 47%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_section.cpp.o +[ 47%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_singletons.cpp.o +[ 48%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_source_line_info.cpp.o +[ 49%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_startup_exception_registry.cpp.o +[ 49%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stdstreams.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_string_manip.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stringref.cpp.o +[ 51%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_tag_alias_registry.cpp.o +[ 52%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_info_hasher.cpp.o +[ 52%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_registry_impl.cpp.o +[ 53%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_tracker.cpp.o +[ 53%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_failure_exception.cpp.o +[ 54%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_registry.cpp.o +[ 55%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_spec_parser.cpp.o +[ 55%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_textflow.cpp.o +[ 56%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_uncaught_exceptions.cpp.o +[ 57%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_wildcard_pattern.cpp.o +[ 57%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_xmlwriter.cpp.o +[ 58%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers.cpp.o +[ 58%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_container_properties.cpp.o +[ 59%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_exception.cpp.o +[ 60%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_floating_point.cpp.o +[ 60%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_predicate.cpp.o +[ 61%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_quantifiers.cpp.o +[ 61%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_string.cpp.o +[ 62%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_templated.cpp.o +[ 63%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/internal/catch_matchers_impl.cpp.o +[ 63%] Linking CXX static library libCatch2.a +[ 63%] Built target Catch2 +[ 64%] Building CXX object src/CMakeFiles/Catch2WithMain.dir/catch2/internal/catch_main.cpp.o +[ 65%] Linking CXX static library libCatch2Main.a +[ 65%] Built target Catch2WithMain +[ 65%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TestRegistrations.cpp.o +[ 66%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Algorithms.tests.cpp.o +[ 66%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp.o +[ 67%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Clara.tests.cpp.o +[ 68%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 68%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLineHelpers.tests.cpp.o +[ 69%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ColourImpl.tests.cpp.o +[ 69%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Details.tests.cpp.o +[ 70%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp.o +[ 71%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 71%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp.o +[ 72%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Parse.tests.cpp.o +[ 73%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 73%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp.o +[ 74%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Reporters.tests.cpp.o +[ 74%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 75%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp.o +[ 76%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestSpec.tests.cpp.o +[ 76%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp.o +[ 77%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TextFlow.tests.cpp.o +[ 77%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Sharding.tests.cpp.o +[ 78%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Stream.tests.cpp.o +[ 79%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/String.tests.cpp.o +[ 79%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/StringManip.tests.cpp.o +[ 80%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Xml.tests.cpp.o +[ 80%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Traits.tests.cpp.o +[ 81%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ToString.tests.cpp.o +[ 82%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/UniquePtr.tests.cpp.o +[ 82%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/helpers/parse_test_spec.cpp.o +[ 83%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TimingTests/Sleep.tests.cpp.o +[ 84%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Approx.tests.cpp.o +[ 84%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/BDD.tests.cpp.o +[ 85%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Benchmark.tests.cpp.o +[ 85%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Class.tests.cpp.o +[ 86%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Compilation.tests.cpp.o +[ 87%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Condition.tests.cpp.o +[ 87%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Decomposition.tests.cpp.o +[ 88%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/EnumToString.tests.cpp.o +[ 88%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Exception.tests.cpp.o +[ 89%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Generators.tests.cpp.o +[ 90%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Message.tests.cpp.o +[ 90%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Misc.tests.cpp.o +[ 91%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Skip.tests.cpp.o +[ 92%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringByte.tests.cpp.o +[ 92%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringChrono.tests.cpp.o +[ 93%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringGeneral.tests.cpp.o +[ 93%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringOptional.tests.cpp.o +[ 94%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringPair.tests.cpp.o +[ 95%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringTuple.tests.cpp.o +[ 95%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVariant.tests.cpp.o +[ 96%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringVector.tests.cpp.o +[ 96%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/ToStringWhich.tests.cpp.o +[ 97%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Tricky.tests.cpp.o +[ 98%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/VariadicMacros.tests.cpp.o +[ 98%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/MatchersRanges.tests.cpp.o +[ 99%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/UsageTests/Matchers.tests.cpp.o +[100%] Linking CXX executable SelfTest +[100%] Built target SelfTest +Test project /home/Catch2/build + Start 30: ApprovalTests + 1/69 Test #30: ApprovalTests ................................................ Passed 3.37 sec + Start 1: RunTests + 2/69 Test #1: RunTests ..................................................... Passed 1.43 sec + Start 2: List::Tests::Output + 3/69 Test #2: List::Tests::Output .......................................... Passed 0.01 sec + Start 3: List::Tests::Quiet + 4/69 Test #3: List::Tests::Quiet ........................................... Passed 0.00 sec + Start 4: List::Tests::ExitCode + 5/69 Test #4: List::Tests::ExitCode ........................................ Passed 0.00 sec + Start 5: List::Tests::XmlOutput + 6/69 Test #5: List::Tests::XmlOutput ....................................... Passed 0.01 sec + Start 6: List::Tags::Output + 7/69 Test #6: List::Tags::Output ........................................... Passed 0.01 sec + Start 7: List::Tags::ExitCode + 8/69 Test #7: List::Tags::ExitCode ......................................... Passed 0.01 sec + Start 8: List::Tags::XmlOutput + 9/69 Test #8: List::Tags::XmlOutput ........................................ Passed 0.01 sec + Start 9: List::Reporters::Output +10/69 Test #9: List::Reporters::Output ...................................... Passed 0.00 sec + Start 10: List::Reporters::ExitCode +11/69 Test #10: List::Reporters::ExitCode .................................... Passed 0.00 sec + Start 11: List::Reporters::XmlOutput +12/69 Test #11: List::Reporters::XmlOutput ................................... Passed 0.00 sec + Start 12: List::Listeners::Output +13/69 Test #12: List::Listeners::Output ...................................... Passed 0.00 sec + Start 13: List::Listeners::ExitCode +14/69 Test #13: List::Listeners::ExitCode .................................... Passed 0.00 sec + Start 14: List::Listeners::XmlOutput +15/69 Test #14: List::Listeners::XmlOutput ................................... Passed 0.00 sec + Start 15: NoAssertions +16/69 Test #15: NoAssertions ................................................. Passed 0.00 sec + Start 16: TestSpecs::CombiningMatchingAndNonMatchingIsOk-1 +17/69 Test #16: TestSpecs::CombiningMatchingAndNonMatchingIsOk-1 ............. Passed 0.01 sec + Start 17: TestSpecs::CombiningMatchingAndNonMatchingIsOk-2 +18/69 Test #17: TestSpecs::CombiningMatchingAndNonMatchingIsOk-2 ............. Passed 0.01 sec + Start 18: TestSpecs::NoMatchedTestsFail +19/69 Test #18: TestSpecs::NoMatchedTestsFail ................................ Passed 0.00 sec + Start 19: TestSpecs::OverrideFailureWithNoMatchedTests +20/69 Test #19: TestSpecs::OverrideFailureWithNoMatchedTests ................. Passed 0.00 sec + Start 20: TestSpecs::OverrideAllSkipFailure +21/69 Test #20: TestSpecs::OverrideAllSkipFailure ............................ Passed 0.01 sec + Start 21: TestSpecs::NonMatchingTestSpecIsRoundTrippable +22/69 Test #21: TestSpecs::NonMatchingTestSpecIsRoundTrippable ............... Passed 0.01 sec + Start 22: Warnings::UnmatchedTestSpecIsAccepted +23/69 Test #22: Warnings::UnmatchedTestSpecIsAccepted ........................ Passed 0.00 sec + Start 23: Warnings::MultipleWarningsCanBeSpecified +24/69 Test #23: Warnings::MultipleWarningsCanBeSpecified ..................... Passed 0.00 sec + Start 24: TestSpecs::WarnUnmatchedTestSpecFailsWithUnmatchedTestSpec +25/69 Test #24: TestSpecs::WarnUnmatchedTestSpecFailsWithUnmatchedTestSpec ... Passed 0.01 sec + Start 25: UnmatchedOutputFilter +26/69 Test #25: UnmatchedOutputFilter ........................................ Passed 0.00 sec + Start 26: FilteredSection-1 +27/69 Test #26: FilteredSection-1 ............................................ Passed 0.00 sec + Start 27: FilteredSection-2 +28/69 Test #27: FilteredSection-2 ............................................ Passed 0.00 sec + Start 28: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 +29/69 Test #28: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 ........... Passed 0.01 sec + Start 29: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 +30/69 Test #29: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 ........... Passed 0.01 sec + Start 31: RegressionCheck-1670 +31/69 Test #31: RegressionCheck-1670 ......................................... Passed 0.00 sec + Start 32: VersionCheck +32/69 Test #32: VersionCheck ................................................. Passed 0.00 sec + Start 33: LibIdentityTest +33/69 Test #33: LibIdentityTest .............................................. Passed 0.00 sec + Start 34: FilenameAsTagsTest +34/69 Test #34: FilenameAsTagsTest ........................................... Passed 0.01 sec + Start 35: FilenameAsTagsMatching +35/69 Test #35: FilenameAsTagsMatching ....................................... Passed 0.00 sec + Start 36: EscapeSpecialCharactersInTestNames +36/69 Test #36: EscapeSpecialCharactersInTestNames ........................... Passed 0.00 sec + Start 37: NegativeSpecNoHiddenTests +37/69 Test #37: NegativeSpecNoHiddenTests .................................... Passed 0.00 sec + Start 38: TestsInFile::SimpleSpecs +38/69 Test #38: TestsInFile::SimpleSpecs ..................................... Passed 0.01 sec + Start 39: TestsInFile::EscapeSpecialCharacters +39/69 Test #39: TestsInFile::EscapeSpecialCharacters ......................... Passed 0.01 sec + Start 40: TestsInFile::InvalidTestNames-1 +40/69 Test #40: TestsInFile::InvalidTestNames-1 .............................. Passed 0.00 sec + Start 41: TagAlias +41/69 Test #41: TagAlias ..................................................... Passed 0.00 sec + Start 42: RandomTestOrdering +42/69 Test #42: RandomTestOrdering ........................................... Passed 0.05 sec + Start 43: CheckConvenienceHeaders +43/69 Test #43: CheckConvenienceHeaders ...................................... Passed 0.03 sec + Start 44: Benchmarking::SkipBenchmarkMacros +44/69 Test #44: Benchmarking::SkipBenchmarkMacros ............................ Passed 0.01 sec + Start 45: Benchmarking::FailureReporting::ThrowingBenchmark +45/69 Test #45: Benchmarking::FailureReporting::ThrowingBenchmark ............ Passed 3.10 sec + Start 46: Benchmarking::FailureReporting::FailedAssertion +46/69 Test #46: Benchmarking::FailureReporting::FailedAssertion .............. Passed 2.94 sec + Start 47: Benchmarking::FailureReporting::FailMacro +47/69 Test #47: Benchmarking::FailureReporting::FailMacro .................... Passed 3.14 sec + Start 48: Benchmarking::FailureReporting::ShouldFailIsRespected +48/69 Test #48: Benchmarking::FailureReporting::ShouldFailIsRespected ........ Passed 3.07 sec + Start 49: ErrorHandling::InvalidTestSpecExitsEarly +49/69 Test #49: ErrorHandling::InvalidTestSpecExitsEarly ..................... Passed 0.00 sec + Start 50: MultiReporter::CapturingReportersDontPropagateStdOut +50/69 Test #50: MultiReporter::CapturingReportersDontPropagateStdOut ......... Passed 0.01 sec + Start 51: MultiReporter::NonCapturingReportersPropagateStdout +51/69 Test #51: MultiReporter::NonCapturingReportersPropagateStdout .......... Passed 0.00 sec + Start 52: Outputs::DashAsOutLocationSendsOutputToStdout +52/69 Test #52: Outputs::DashAsOutLocationSendsOutputToStdout ................ Passed 0.00 sec + Start 53: Reporters::DashAsLocationInReporterSpecSendsOutputToStdout +53/69 Test #53: Reporters::DashAsLocationInReporterSpecSendsOutputToStdout ... Passed 0.00 sec + Start 54: Reporters::ReporterSpecificColourOverridesDefaultColour +54/69 Test #54: Reporters::ReporterSpecificColourOverridesDefaultColour ...... Passed 0.00 sec + Start 55: Reporters::UnrecognizedOptionInSpecCausesError +55/69 Test #55: Reporters::UnrecognizedOptionInSpecCausesError ............... Passed 0.00 sec + Start 56: Colours::ColourModeCanBeExplicitlySetToAnsi +56/69 Test #56: Colours::ColourModeCanBeExplicitlySetToAnsi .................. Passed 0.00 sec + Start 57: Reporters::JUnit::NamespacesAreNormalized +57/69 Test #57: Reporters::JUnit::NamespacesAreNormalized .................... Passed 0.00 sec + Start 58: Reporters:Filters:compact +58/69 Test #58: Reporters:Filters:compact .................................... Passed 0.00 sec + Start 59: Reporters:RngSeed:compact +59/69 Test #59: Reporters:RngSeed:compact .................................... Passed 0.00 sec + Start 60: Reporters:Filters:console +60/69 Test #60: Reporters:Filters:console .................................... Passed 0.00 sec + Start 61: Reporters:RngSeed:console +61/69 Test #61: Reporters:RngSeed:console .................................... Passed 0.00 sec + Start 62: Reporters:Filters:JUnit +62/69 Test #62: Reporters:Filters:JUnit ...................................... Passed 0.00 sec + Start 63: Reporters:RngSeed:JUnit +63/69 Test #63: Reporters:RngSeed:JUnit ...................................... Passed 0.00 sec + Start 64: Reporters:Filters:SonarQube +64/69 Test #64: Reporters:Filters:SonarQube .................................. Passed 0.00 sec + Start 65: Reporters:RngSeed:SonarQube +65/69 Test #65: Reporters:RngSeed:SonarQube .................................. Passed 0.00 sec + Start 66: Reporters:Filters:TAP +66/69 Test #66: Reporters:Filters:TAP ........................................ Passed 0.00 sec + Start 67: Reporters:RngSeed:TAP +67/69 Test #67: Reporters:RngSeed:TAP ........................................ Passed 0.00 sec + Start 68: Reporters:Filters:XML +68/69 Test #68: Reporters:Filters:XML ........................................ Passed 0.00 sec + Start 69: Reporters:RngSeed:XML +69/69 Test #69: Reporters:RngSeed:XML ........................................ Passed 0.00 sec + +100% tests passed, 0 tests failed out of 69 + +Label Time Summary: +uses-python = 3.45 sec*proc (3 tests) + +Total Test time (real) = 17.46 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/fix.patch new file mode 100644 index 000000000..fd2fef8f2 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/fix.patch @@ -0,0 +1,24 @@ +diff --git a/extras/catch_amalgamated.cpp b/extras/catch_amalgamated.cpp +index eba3f00a..4b3822a6 100644 +--- a/extras/catch_amalgamated.cpp ++++ b/extras/catch_amalgamated.cpp +@@ -5585,6 +5585,7 @@ namespace Catch { + // are reported without translation at the point of origin. + if( m_shouldReportUnexpected ) { + AssertionReaction dummyReaction; ++ m_lastAssertionInfo.resultDisposition = ResultDisposition::Normal; + handleUnexpectedInflightException( m_lastAssertionInfo, translateActiveException(), dummyReaction ); + } + } +diff --git a/src/catch2/internal/catch_run_context.cpp b/src/catch2/internal/catch_run_context.cpp +index 6f15cfb1..7a00488c 100644 +--- a/src/catch2/internal/catch_run_context.cpp ++++ b/src/catch2/internal/catch_run_context.cpp +@@ -524,6 +524,7 @@ namespace Catch { + // are reported without translation at the point of origin. + if( m_shouldReportUnexpected ) { + AssertionReaction dummyReaction; ++ m_lastAssertionInfo.resultDisposition = ResultDisposition::Normal; + handleUnexpectedInflightException( m_lastAssertionInfo, translateActiveException(), dummyReaction ); + } + } diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/report.json new file mode 100644 index 000000000..4e3244ba8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2723/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 2723, "valid": true, "error_msg": "", "fixed_tests": {"approvaltests": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "runtests": {"run": "PASS", "test": "FAIL", "fix": "PASS"}}, "p2p_tests": {"testspecs::warnunmatchedtestspecfailswithunmatchedtestspec": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__winit_self": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "escapespecialcharactersintestnames": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::reporters::exitcode": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testsinfile::invalidtestnames-1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:rngseed:console": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wnull_dereference": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::listeners::xmloutput": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testspecs::combiningmatchingandnonmatchingisok-2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wmissing_declarations": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wmismatched_tags": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testsinfile::simplespecs": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:rngseed:junit": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters::junit::namespacesarenormalized": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testspecs::overrideallskipfailure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wparentheses": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::reporters::output": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unmatchedoutputfilter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters::unrecognizedoptioninspeccauseserror": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "noassertions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "multireporter::capturingreportersdontpropagatestdout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:filters:tap": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "benchmarking::failurereporting::failmacro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wall": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::tags::output": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wuninitialized": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:filters:junit": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wredundant_decls": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "warnings::unmatchedtestspecisaccepted": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "filteredsection::generatorsdontcauseinfiniteloop-1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testspecs::nomatchedtestsfail": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testspecs::nonmatchingtestspecisroundtrippable": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters::reporterspecificcolouroverridesdefaultcolour": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "libidentitytest": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "colours::colourmodecanbeexplicitlysettoansi": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:rngseed:tap": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "filenameastagsmatching": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "filteredsection-1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testspecs::combiningmatchingandnonmatchingisok-1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "outputs::dashasoutlocationsendsoutputtostdout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "filenameastagstest": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "benchmarking::skipbenchmarkmacros": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "randomtestordering": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "filteredsection::generatorsdontcauseinfiniteloop-2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wshadow": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wmisleading_indentation": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testspecs::overridefailurewithnomatchedtests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:rngseed:compact": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "negativespecnohiddentests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::listeners::output": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::tests::quiet": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::tests::output": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:filters:sonarqube": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "warnings::multiplewarningscanbespecified": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__woverloaded_virtual": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wreorder": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wmissing_braces": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wdeprecated": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "tagalias": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wc__20_compat": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wunused_parameter": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "versioncheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "checkconvenienceheaders": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "benchmarking::failurereporting::throwingbenchmark": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:rngseed:sonarqube": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wold_style_cast": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wunused_function": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "benchmarking::failurereporting::failedassertion": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wpedantic": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wcast_align": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::tests::exitcode": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::tags::exitcode": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:filters:console": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:filters:xml": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "multireporter::noncapturingreporterspropagatestdout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wcatch_value": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wmismatched_new_delete": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wstrict_aliasing": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wmissing_noreturn": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:filters:compact": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "benchmarking::failurereporting::shouldfailisrespected": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::listeners::exitcode": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::tests::xmloutput": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wextra_semi": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "regressioncheck-1670": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "errorhandling::invalidtestspecexitsearly": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters::dashaslocationinreporterspecsendsoutputtostdout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::reporters::xmloutput": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "list::tags::xmloutput": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testsinfile::escapespecialcharacters": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "reporters:rngseed:xml": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wunused": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__ffile_prefix_map__home_catch2__": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wextra": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wsuggest_override": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wvla": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wfloat_equal": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "filteredsection-2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "have_flag__wundef": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {"approvaltests": {"run": "PASS", "test": "FAIL", "fix": "PASS"}, "runtests": {"run": "PASS", "test": "FAIL", "fix": "PASS"}}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 102, "failed_count": 14, "skipped_count": 0, "passed_tests": ["testspecs::warnunmatchedtestspecfailswithunmatchedtestspec", "have_flag__winit_self", "escapespecialcharactersintestnames", "list::listeners::xmloutput", "approvaltests", "have_flag__wparentheses", "list::reporters::output", "benchmarking::failurereporting::failmacro", "have_flag__wall", "list::tags::output", "have_flag__wuninitialized", "reporters:filters:junit", "testspecs::nomatchedtestsfail", "reporters::reporterspecificcolouroverridesdefaultcolour", "libidentitytest", "outputs::dashasoutlocationsendsoutputtostdout", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "testspecs::overridefailurewithnomatchedtests", "reporters:rngseed:compact", "negativespecnohiddentests", "list::listeners::output", "list::tests::quiet", "warnings::multiplewarningscanbespecified", "have_flag__wreorder", "have_flag__wdeprecated", "tagalias", "have_flag__wc__20_compat", "have_flag__wunused_parameter", "reporters:rngseed:sonarqube", "multireporter::noncapturingreporterspropagatestdout", "have_flag__wcatch_value", "have_flag__wstrict_aliasing", "reporters:filters:compact", "list::listeners::exitcode", "list::tests::xmloutput", "have_flag__wextra_semi", "runtests", "errorhandling::invalidtestspecexitsearly", "list::reporters::xmloutput", "list::tags::xmloutput", "reporters:rngseed:xml", "have_flag__wunused", "have_flag__ffile_prefix_map__home_catch2__", "have_flag__wextra", "have_flag__wsuggest_override", "have_flag__wfloat_equal", "filteredsection-2", "have_flag__wundef", "list::reporters::exitcode", "testsinfile::invalidtestnames-1", "reporters:rngseed:console", "have_flag__wnull_dereference", "testspecs::combiningmatchingandnonmatchingisok-2", "have_flag__wmissing_declarations", "have_flag__wmismatched_tags", "testsinfile::simplespecs", "reporters:rngseed:junit", "reporters::junit::namespacesarenormalized", "testspecs::overrideallskipfailure", "unmatchedoutputfilter", "reporters::unrecognizedoptioninspeccauseserror", "noassertions", "multireporter::capturingreportersdontpropagatestdout", "have_flag__wexceptions", "reporters:filters:tap", "have_flag__wredundant_decls", "warnings::unmatchedtestspecisaccepted", "filteredsection::generatorsdontcauseinfiniteloop-1", "testspecs::nonmatchingtestspecisroundtrippable", "colours::colourmodecanbeexplicitlysettoansi", "reporters:rngseed:tap", "filenameastagsmatching", "filteredsection-1", "testspecs::combiningmatchingandnonmatchingisok-1", "filenameastagstest", "benchmarking::skipbenchmarkmacros", "have_flag__wshadow", "have_flag__wmisleading_indentation", "list::tests::output", "reporters:filters:sonarqube", "have_flag__woverloaded_virtual", "have_flag__wmissing_braces", "versioncheck", "checkconvenienceheaders", "benchmarking::failurereporting::throwingbenchmark", "have_flag__wold_style_cast", "have_flag__wunused_function", "benchmarking::failurereporting::failedassertion", "have_flag__wpedantic", "have_flag__wcast_align", "list::tests::exitcode", "list::tags::exitcode", "reporters:filters:console", "reporters:filters:xml", "have_flag__wmismatched_new_delete", "have_flag__wmissing_noreturn", "benchmarking::failurereporting::shouldfailisrespected", "regressioncheck-1670", "reporters::dashaslocationinreporterspecsendsoutputtostdout", "testsinfile::escapespecialcharacters", "have_flag__wvla"], "failed_tests": ["have_flag__wmissing_prototypes", "have_flag__wunneeded_internal_declaration", "have_flag__wmissing_variable_declarations", "have_flag__wexit_time_destructors", "have_flag__wreturn_std_move", "have_flag__wweak_vtables", "have_flag__wglobal_constructors", "have_flag__wunreachable_code_aggressive", "have_flag__wdeprecated_register", "have_flag__wsuggest_destructor_override", "have_flag__wmismatched_return_types", "have_flag__wdangling", "have_flag__wabsolute_value", "have_flag__wcall_to_pure_virtual_from_ctor_dtor"], "skipped_tests": []}, "test_patch_result": {"passed_count": 100, "failed_count": 16, "skipped_count": 0, "passed_tests": ["testspecs::warnunmatchedtestspecfailswithunmatchedtestspec", "have_flag__winit_self", "escapespecialcharactersintestnames", "list::listeners::xmloutput", "have_flag__wparentheses", "list::reporters::output", "benchmarking::failurereporting::failmacro", "have_flag__wall", "list::tags::output", "have_flag__wuninitialized", "reporters:filters:junit", "testspecs::nomatchedtestsfail", "reporters::reporterspecificcolouroverridesdefaultcolour", "libidentitytest", "outputs::dashasoutlocationsendsoutputtostdout", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "testspecs::overridefailurewithnomatchedtests", "reporters:rngseed:compact", "negativespecnohiddentests", "list::listeners::output", "list::tests::quiet", "warnings::multiplewarningscanbespecified", "have_flag__wreorder", "have_flag__wdeprecated", "tagalias", "have_flag__wc__20_compat", "have_flag__wunused_parameter", "reporters:rngseed:sonarqube", "multireporter::noncapturingreporterspropagatestdout", "have_flag__wcatch_value", "have_flag__wstrict_aliasing", "reporters:filters:compact", "list::listeners::exitcode", "list::tests::xmloutput", "have_flag__wextra_semi", "errorhandling::invalidtestspecexitsearly", "list::reporters::xmloutput", "list::tags::xmloutput", "reporters:rngseed:xml", "have_flag__wunused", "have_flag__ffile_prefix_map__home_catch2__", "have_flag__wextra", "have_flag__wsuggest_override", "have_flag__wfloat_equal", "filteredsection-2", "have_flag__wundef", "list::reporters::exitcode", "testsinfile::invalidtestnames-1", "reporters:rngseed:console", "have_flag__wnull_dereference", "testspecs::combiningmatchingandnonmatchingisok-2", "have_flag__wmissing_declarations", "have_flag__wmismatched_tags", "testsinfile::simplespecs", "reporters:rngseed:junit", "reporters::junit::namespacesarenormalized", "testspecs::overrideallskipfailure", "unmatchedoutputfilter", "reporters::unrecognizedoptioninspeccauseserror", "noassertions", "multireporter::capturingreportersdontpropagatestdout", "have_flag__wexceptions", "reporters:filters:tap", "have_flag__wredundant_decls", "warnings::unmatchedtestspecisaccepted", "filteredsection::generatorsdontcauseinfiniteloop-1", "testspecs::nonmatchingtestspecisroundtrippable", "colours::colourmodecanbeexplicitlysettoansi", "reporters:rngseed:tap", "filenameastagsmatching", "filteredsection-1", "testspecs::combiningmatchingandnonmatchingisok-1", "filenameastagstest", "benchmarking::skipbenchmarkmacros", "have_flag__wshadow", "have_flag__wmisleading_indentation", "list::tests::output", "reporters:filters:sonarqube", "have_flag__woverloaded_virtual", "have_flag__wmissing_braces", "versioncheck", "checkconvenienceheaders", "benchmarking::failurereporting::throwingbenchmark", "have_flag__wold_style_cast", "have_flag__wunused_function", "benchmarking::failurereporting::failedassertion", "have_flag__wpedantic", "have_flag__wcast_align", "list::tests::exitcode", "list::tags::exitcode", "reporters:filters:console", "reporters:filters:xml", "have_flag__wmismatched_new_delete", "have_flag__wmissing_noreturn", "benchmarking::failurereporting::shouldfailisrespected", "regressioncheck-1670", "reporters::dashaslocationinreporterspecsendsoutputtostdout", "testsinfile::escapespecialcharacters", "have_flag__wvla"], "failed_tests": ["have_flag__wmissing_prototypes", "approvaltests", "have_flag__wunneeded_internal_declaration", "have_flag__wmissing_variable_declarations", "have_flag__wexit_time_destructors", "have_flag__wreturn_std_move", "have_flag__wweak_vtables", "have_flag__wglobal_constructors", "have_flag__wunreachable_code_aggressive", "runtests", "have_flag__wdeprecated_register", "have_flag__wsuggest_destructor_override", "have_flag__wmismatched_return_types", "have_flag__wdangling", "have_flag__wabsolute_value", "have_flag__wcall_to_pure_virtual_from_ctor_dtor"], "skipped_tests": []}, "fix_patch_result": {"passed_count": 102, "failed_count": 14, "skipped_count": 0, "passed_tests": ["testspecs::warnunmatchedtestspecfailswithunmatchedtestspec", "have_flag__winit_self", "escapespecialcharactersintestnames", "list::listeners::xmloutput", "approvaltests", "have_flag__wparentheses", "list::reporters::output", "benchmarking::failurereporting::failmacro", "have_flag__wall", "list::tags::output", "have_flag__wuninitialized", "reporters:filters:junit", "testspecs::nomatchedtestsfail", "reporters::reporterspecificcolouroverridesdefaultcolour", "libidentitytest", "outputs::dashasoutlocationsendsoutputtostdout", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "testspecs::overridefailurewithnomatchedtests", "list::tests::quiet", "negativespecnohiddentests", "list::listeners::output", "reporters:rngseed:compact", "warnings::multiplewarningscanbespecified", "have_flag__wreorder", "have_flag__wdeprecated", "tagalias", "have_flag__wc__20_compat", "have_flag__wunused_parameter", "reporters:rngseed:sonarqube", "have_flag__wcatch_value", "multireporter::noncapturingreporterspropagatestdout", "have_flag__wstrict_aliasing", "reporters:filters:compact", "list::listeners::exitcode", "list::tests::xmloutput", "have_flag__wextra_semi", "runtests", "errorhandling::invalidtestspecexitsearly", "list::reporters::xmloutput", "list::tags::xmloutput", "reporters:rngseed:xml", "have_flag__wunused", "have_flag__ffile_prefix_map__home_catch2__", "have_flag__wextra", "have_flag__wsuggest_override", "have_flag__wfloat_equal", "filteredsection-2", "have_flag__wundef", "list::reporters::exitcode", "testsinfile::invalidtestnames-1", "reporters:rngseed:console", "have_flag__wnull_dereference", "testspecs::combiningmatchingandnonmatchingisok-2", "have_flag__wmismatched_tags", "have_flag__wmissing_declarations", "testsinfile::simplespecs", "reporters:rngseed:junit", "testspecs::overrideallskipfailure", "reporters::junit::namespacesarenormalized", "unmatchedoutputfilter", "reporters::unrecognizedoptioninspeccauseserror", "noassertions", "multireporter::capturingreportersdontpropagatestdout", "have_flag__wexceptions", "reporters:filters:tap", "have_flag__wredundant_decls", "warnings::unmatchedtestspecisaccepted", "filteredsection::generatorsdontcauseinfiniteloop-1", "testspecs::nonmatchingtestspecisroundtrippable", "colours::colourmodecanbeexplicitlysettoansi", "reporters:rngseed:tap", "filenameastagsmatching", "filteredsection-1", "testspecs::combiningmatchingandnonmatchingisok-1", "filenameastagstest", "benchmarking::skipbenchmarkmacros", "have_flag__wshadow", "have_flag__wmisleading_indentation", "list::tests::output", "reporters:filters:sonarqube", "have_flag__woverloaded_virtual", "have_flag__wmissing_braces", "versioncheck", "checkconvenienceheaders", "benchmarking::failurereporting::throwingbenchmark", "have_flag__wold_style_cast", "have_flag__wunused_function", "have_flag__wpedantic", "benchmarking::failurereporting::failedassertion", "have_flag__wcast_align", "list::tests::exitcode", "list::tags::exitcode", "reporters:filters:console", "reporters:filters:xml", "have_flag__wmismatched_new_delete", "have_flag__wmissing_noreturn", "benchmarking::failurereporting::shouldfailisrespected", "regressioncheck-1670", "reporters::dashaslocationinreporterspecsendsoutputtostdout", "testsinfile::escapespecialcharacters", "have_flag__wvla"], "failed_tests": ["have_flag__wunneeded_internal_declaration", "have_flag__wdangling", "have_flag__wmissing_variable_declarations", "have_flag__wexit_time_destructors", "have_flag__wsuggest_destructor_override", "have_flag__wreturn_std_move", "have_flag__wweak_vtables", "have_flag__wglobal_constructors", "have_flag__wunreachable_code_aggressive", "have_flag__wdeprecated_register", "have_flag__wmissing_prototypes", "have_flag__wmismatched_return_types", "have_flag__wabsolute_value", "have_flag__wcall_to_pure_virtual_from_ctor_dtor"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/fix-patch-run.log new file mode 100644 index 000000000..e2c2da2b7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/fix-patch-run.log @@ -0,0 +1,2925 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6431 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 158 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (16.2 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31854 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/Catch2 +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +当前目录:/home +当前目录内容:Catch2 add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 158 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 158 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (18.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31897 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5501 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 34054 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.ta6RYaVW +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.ta6RYaVW/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.ta6RYaVW/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.ta6RYaVW/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.ta6RYaVW/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.ta6RYaVW/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.ta6RYaVW +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=7feef497dfb2 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.G4tlf3Thdy/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/Catch2 +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DCATCH_DEVELOPMENT_BUILD=ON .. +make +ctest + +========================================= +patching file tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp +patching file src/catch2/internal/catch_textflow.cpp +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Performing Test HAVE_FLAG__ffile_prefix_map__home_Catch2__ +-- Performing Test HAVE_FLAG__ffile_prefix_map__home_Catch2__ - Success +-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.11.2", minimum required is "3") +-- Performing Test HAVE_FLAG__Wabsolute_value +-- Performing Test HAVE_FLAG__Wabsolute_value - Failed +-- Performing Test HAVE_FLAG__Wall +-- Performing Test HAVE_FLAG__Wall - Success +-- Performing Test HAVE_FLAG__Wcall_to_pure_virtual_from_ctor_dtor +-- Performing Test HAVE_FLAG__Wcall_to_pure_virtual_from_ctor_dtor - Failed +-- Performing Test HAVE_FLAG__Wcast_align +-- Performing Test HAVE_FLAG__Wcast_align - Success +-- Performing Test HAVE_FLAG__Wcatch_value +-- Performing Test HAVE_FLAG__Wcatch_value - Success +-- Performing Test HAVE_FLAG__Wdangling +-- Performing Test HAVE_FLAG__Wdangling - Failed +-- Performing Test HAVE_FLAG__Wdeprecated +-- Performing Test HAVE_FLAG__Wdeprecated - Success +-- Performing Test HAVE_FLAG__Wdeprecated_register +-- Performing Test HAVE_FLAG__Wdeprecated_register - Failed +-- Performing Test HAVE_FLAG__Wexceptions +-- Performing Test HAVE_FLAG__Wexceptions - Success +-- Performing Test HAVE_FLAG__Wexit_time_destructors +-- Performing Test HAVE_FLAG__Wexit_time_destructors - Failed +-- Performing Test HAVE_FLAG__Wextra +-- Performing Test HAVE_FLAG__Wextra - Success +-- Performing Test HAVE_FLAG__Wextra_semi +-- Performing Test HAVE_FLAG__Wextra_semi - Success +-- Performing Test HAVE_FLAG__Wfloat_equal +-- Performing Test HAVE_FLAG__Wfloat_equal - Success +-- Performing Test HAVE_FLAG__Wglobal_constructors +-- Performing Test HAVE_FLAG__Wglobal_constructors - Failed +-- Performing Test HAVE_FLAG__Winit_self +-- Performing Test HAVE_FLAG__Winit_self - Success +-- Performing Test HAVE_FLAG__Wmisleading_indentation +-- Performing Test HAVE_FLAG__Wmisleading_indentation - Success +-- Performing Test HAVE_FLAG__Wmismatched_new_delete +-- Performing Test HAVE_FLAG__Wmismatched_new_delete - Success +-- Performing Test HAVE_FLAG__Wmismatched_return_types +-- Performing Test HAVE_FLAG__Wmismatched_return_types - Failed +-- Performing Test HAVE_FLAG__Wmismatched_tags +-- Performing Test HAVE_FLAG__Wmismatched_tags - Success +-- Performing Test HAVE_FLAG__Wmissing_braces +-- Performing Test HAVE_FLAG__Wmissing_braces - Success +-- Performing Test HAVE_FLAG__Wmissing_declarations +-- Performing Test HAVE_FLAG__Wmissing_declarations - Success +-- Performing Test HAVE_FLAG__Wmissing_noreturn +-- Performing Test HAVE_FLAG__Wmissing_noreturn - Success +-- Performing Test HAVE_FLAG__Wmissing_prototypes +-- Performing Test HAVE_FLAG__Wmissing_prototypes - Failed +-- Performing Test HAVE_FLAG__Wmissing_variable_declarations +-- Performing Test HAVE_FLAG__Wmissing_variable_declarations - Failed +-- Performing Test HAVE_FLAG__Wnull_dereference +-- Performing Test HAVE_FLAG__Wnull_dereference - Success +-- Performing Test HAVE_FLAG__Wold_style_cast +-- Performing Test HAVE_FLAG__Wold_style_cast - Success +-- Performing Test HAVE_FLAG__Woverloaded_virtual +-- Performing Test HAVE_FLAG__Woverloaded_virtual - Success +-- Performing Test HAVE_FLAG__Wparentheses +-- Performing Test HAVE_FLAG__Wparentheses - Success +-- Performing Test HAVE_FLAG__Wpedantic +-- Performing Test HAVE_FLAG__Wpedantic - Success +-- Performing Test HAVE_FLAG__Wredundant_decls +-- Performing Test HAVE_FLAG__Wredundant_decls - Success +-- Performing Test HAVE_FLAG__Wreorder +-- Performing Test HAVE_FLAG__Wreorder - Success +-- Performing Test HAVE_FLAG__Wreturn_std_move +-- Performing Test HAVE_FLAG__Wreturn_std_move - Failed +-- Performing Test HAVE_FLAG__Wshadow +-- Performing Test HAVE_FLAG__Wshadow - Success +-- Performing Test HAVE_FLAG__Wstrict_aliasing +-- Performing Test HAVE_FLAG__Wstrict_aliasing - Success +-- Performing Test HAVE_FLAG__Wsubobject_linkage +-- Performing Test HAVE_FLAG__Wsubobject_linkage - Success +-- Performing Test HAVE_FLAG__Wsuggest_destructor_override +-- Performing Test HAVE_FLAG__Wsuggest_destructor_override - Failed +-- Performing Test HAVE_FLAG__Wsuggest_override +-- Performing Test HAVE_FLAG__Wsuggest_override - Success +-- Performing Test HAVE_FLAG__Wundef +-- Performing Test HAVE_FLAG__Wundef - Success +-- Performing Test HAVE_FLAG__Wuninitialized +-- Performing Test HAVE_FLAG__Wuninitialized - Success +-- Performing Test HAVE_FLAG__Wunneeded_internal_declaration +-- Performing Test HAVE_FLAG__Wunneeded_internal_declaration - Failed +-- Performing Test HAVE_FLAG__Wunreachable_code_aggressive +-- Performing Test HAVE_FLAG__Wunreachable_code_aggressive - Failed +-- Performing Test HAVE_FLAG__Wunused +-- Performing Test HAVE_FLAG__Wunused - Success +-- Performing Test HAVE_FLAG__Wunused_function +-- Performing Test HAVE_FLAG__Wunused_function - Success +-- Performing Test HAVE_FLAG__Wunused_parameter +-- Performing Test HAVE_FLAG__Wunused_parameter - Success +-- Performing Test HAVE_FLAG__Wvla +-- Performing Test HAVE_FLAG__Wvla - Success +-- Performing Test HAVE_FLAG__Wweak_vtables +-- Performing Test HAVE_FLAG__Wweak_vtables - Failed +-- Configuring done +-- Generating done +-- Build files have been written to: /home/Catch2/build +[ 0%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/catch_chronometer.cpp.o +[ 1%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_analyse.cpp.o +[ 1%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_benchmark_function.cpp.o +[ 2%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_run_for_at_least.cpp.o +[ 2%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/benchmark/detail/catch_stats.cpp.o +[ 3%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/catch_generator_exception.cpp.o +[ 4%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/catch_generators.cpp.o +[ 4%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/generators/catch_generators_random.cpp.o +[ 5%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_automake.cpp.o +[ 5%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_common_base.cpp.o +[ 6%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_compact.cpp.o +[ 7%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_console.cpp.o +[ 7%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_cumulative_base.cpp.o +[ 8%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_event_listener.cpp.o +[ 8%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_helpers.cpp.o +[ 9%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_json.cpp.o +[ 10%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_junit.cpp.o +[ 10%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_multi.cpp.o +[ 11%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_registrars.cpp.o +[ 11%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_sonarqube.cpp.o +[ 12%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_streaming_base.cpp.o +[ 13%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_tap.cpp.o +[ 13%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_teamcity.cpp.o +[ 14%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/reporters/catch_reporter_xml.cpp.o +[ 14%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_capture.cpp.o +[ 15%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_config.cpp.o +[ 16%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_exception.cpp.o +[ 16%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_generatortracker.cpp.o +[ 17%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_registry_hub.cpp.o +[ 17%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter.cpp.o +[ 18%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_reporter_factory.cpp.o +[ 19%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/interfaces/catch_interfaces_testcase.cpp.o +[ 19%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_approx.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_assertion_result.cpp.o +[ 20%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_config.cpp.o +[ 21%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_get_random_seed.cpp.o +[ 22%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_message.cpp.o +[ 22%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_registry_hub.cpp.o +[ 23%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_session.cpp.o +[ 23%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_tag_alias_autoregistrar.cpp.o +[ 24%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_case_info.cpp.o +[ 25%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_test_spec.cpp.o +[ 25%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_timer.cpp.o +[ 26%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_tostring.cpp.o +[ 26%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_totals.cpp.o +[ 27%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_translate_exception.cpp.o +[ 27%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/catch_version.cpp.o +[ 28%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_assertion_handler.cpp.o +[ 29%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_case_insensitive_comparisons.cpp.o +[ 29%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_clara.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_commandline.cpp.o +[ 30%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_console_colour.cpp.o +[ 31%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_context.cpp.o +[ 32%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debug_console.cpp.o +[ 32%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_debugger.cpp.o +[ 33%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_decomposer.cpp.o +[ 33%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enforce.cpp.o +[ 34%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_enum_values_registry.cpp.o +[ 35%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_errno_guard.cpp.o +[ 35%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_exception_translator_registry.cpp.o +[ 36%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_fatal_condition_handler.cpp.o +[ 36%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_floating_point_helpers.cpp.o +[ 37%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_getenv.cpp.o +[ 38%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_istream.cpp.o +[ 38%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_jsonwriter.cpp.o +[ 39%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_lazy_expr.cpp.o +[ 39%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_leak_detector.cpp.o +[ 40%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_list.cpp.o +[ 41%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_message_info.cpp.o +[ 41%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_output_redirect.cpp.o +[ 42%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_parse_numbers.cpp.o +[ 42%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_polyfills.cpp.o +[ 43%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_number_generator.cpp.o +[ 44%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_random_seed_generation.cpp.o +[ 44%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_registry.cpp.o +[ 45%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reporter_spec_parser.cpp.o +[ 45%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_result_type.cpp.o +[ 46%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_reusable_string_stream.cpp.o +[ 47%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_run_context.cpp.o +[ 47%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_section.cpp.o +[ 48%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_singletons.cpp.o +[ 48%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_source_line_info.cpp.o +[ 49%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_startup_exception_registry.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stdstreams.cpp.o +[ 50%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_string_manip.cpp.o +[ 51%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_stringref.cpp.o +[ 51%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_tag_alias_registry.cpp.o +[ 52%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_info_hasher.cpp.o +[ 52%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_registry_impl.cpp.o +[ 53%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_case_tracker.cpp.o +[ 54%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_failure_exception.cpp.o +[ 54%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_registry.cpp.o +[ 55%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_test_spec_parser.cpp.o +[ 55%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_textflow.cpp.o +[ 56%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_uncaught_exceptions.cpp.o +[ 57%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_wildcard_pattern.cpp.o +[ 57%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/internal/catch_xmlwriter.cpp.o +[ 58%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers.cpp.o +[ 58%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_container_properties.cpp.o +[ 59%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_exception.cpp.o +[ 60%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_floating_point.cpp.o +[ 60%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_predicate.cpp.o +[ 61%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_quantifiers.cpp.o +[ 61%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_string.cpp.o +[ 62%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/catch_matchers_templated.cpp.o +[ 63%] Building CXX object src/CMakeFiles/Catch2.dir/catch2/matchers/internal/catch_matchers_impl.cpp.o +[ 63%] Linking CXX static library libCatch2.a +[ 63%] Built target Catch2 +[ 64%] Building CXX object src/CMakeFiles/Catch2WithMain.dir/catch2/internal/catch_main.cpp.o +[ 64%] Linking CXX static library libCatch2Main.a +[ 64%] Built target Catch2WithMain +[ 65%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/TestRegistrations.cpp.o +[ 66%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Algorithms.tests.cpp.o +[ 66%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/AssertionHandler.tests.cpp.o +[ 67%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Clara.tests.cpp.o +[ 67%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLine.tests.cpp.o +[ 68%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/CmdLineHelpers.tests.cpp.o +[ 69%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/ColourImpl.tests.cpp.o +[ 69%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Details.tests.cpp.o +[ 70%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/FloatingPoint.tests.cpp.o +[ 70%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/GeneratorsImpl.tests.cpp.o +[ 71%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Integer.tests.cpp.o +[ 72%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/InternalBenchmark.tests.cpp.o +[ 72%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Json.tests.cpp.o +[ 73%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Parse.tests.cpp.o +[ 73%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/PartTracker.tests.cpp.o +[ 74%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/RandomNumberGeneration.tests.cpp.o +[ 75%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Reporters.tests.cpp.o +[ 75%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/Tag.tests.cpp.o +[ 76%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestCaseInfoHasher.tests.cpp.o +[ 76%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestSpec.tests.cpp.o +[ 77%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TestSpecParser.tests.cpp.o +[ 77%] Building CXX object tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TextFlow.tests.cpp.o +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:15:24: error: 'AnsiSkippingString' has not been declared in 'Catch::TextFlow' + 15 | using Catch::TextFlow::AnsiSkippingString; + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp: In function 'void CATCH2_INTERNAL_TEST_39()': +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:208:9: error: 'AnsiSkippingString' was not declared in this scope + 208 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:211:23: error: 'str' was not declared in this scope; did you mean 'std'? + 211 | auto it = str.begin(); + | ^~~ + | std +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:225:23: error: 'str' was not declared in this scope; did you mean 'std'? + 225 | auto it = str.end(); + | ^~~ + | std +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:242:9: error: 'AnsiSkippingString' was not declared in this scope + 242 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:243:19: error: 'str' was not declared in this scope; did you mean 'std'? + 243 | auto it = str.begin(); + | ^~~ + | std +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:270:9: error: 'AnsiSkippingString' was not declared in this scope + 270 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:271:19: error: 'str' was not declared in this scope; did you mean 'std'? + 271 | auto it = str.begin(); + | ^~~ + | std +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:298:9: error: 'AnsiSkippingString' was not declared in this scope + 298 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:299:19: error: 'str' was not declared in this scope; did you mean 'std'? + 299 | auto it = str.begin(); + | ^~~ + | std +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:326:9: error: 'AnsiSkippingString' was not declared in this scope + 326 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +In file included from /home/Catch2/src/catch2/../catch2/catch_tostring.hpp:17, + from /home/Catch2/src/catch2/../catch2/internal/catch_decomposer.hpp:11, + from /home/Catch2/src/catch2/../catch2/internal/catch_assertion_handler.hpp:12, + from /home/Catch2/src/catch2/../catch2/internal/catch_test_macro_impl.hpp:12, + from /home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:11, + from /home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:9: +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:327:27: error: 'str' was not declared in this scope; did you mean 'std'? + 327 | CHECK(std::string(str.begin(), str.end()) == text); + | ^~~ +/home/Catch2/src/catch2/../catch2/internal/catch_compiler_capabilities.hpp:65:76: note: in definition of macro 'CATCH_INTERNAL_IGNORE_BUT_WARN' + 65 | # define CATCH_INTERNAL_IGNORE_BUT_WARN(...) (void)__builtin_constant_p(__VA_ARGS__) + | ^~~~~~~~~~~ +/home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:132:24: note: in expansion of macro 'INTERNAL_CATCH_TEST' + 132 | #define CHECK( ... ) INTERNAL_CATCH_TEST( "CHECK", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) + | ^~~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:327:9: note: in expansion of macro 'CHECK' + 327 | CHECK(std::string(str.begin(), str.end()) == text); + | ^~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:327:27: error: 'str' was not declared in this scope; did you mean 'std'? + 327 | CHECK(std::string(str.begin(), str.end()) == text); + | ^~~ +/home/Catch2/src/catch2/../catch2/internal/catch_test_macro_impl.hpp:56:63: note: in definition of macro 'INTERNAL_CATCH_TEST' + 56 | } while( (void)0, (false) && static_cast( !!(__VA_ARGS__) ) ) // the expression here is never evaluated at runtime but it forces the compiler to give it a look + | ^~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:327:9: note: in expansion of macro 'CHECK' + 327 | CHECK(std::string(str.begin(), str.end()) == text); + | ^~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp: In function 'void CATCH2_INTERNAL_TEST_48()': +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:334:5: error: 'AnsiSkippingString' was not declared in this scope + 334 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:335:11: error: 'str' was not declared in this scope; did you mean 'std'? + 335 | CHECK(str.size() == 5); + | ^~~ +/home/Catch2/src/catch2/../catch2/internal/catch_compiler_capabilities.hpp:65:76: note: in definition of macro 'CATCH_INTERNAL_IGNORE_BUT_WARN' + 65 | # define CATCH_INTERNAL_IGNORE_BUT_WARN(...) (void)__builtin_constant_p(__VA_ARGS__) + | ^~~~~~~~~~~ +/home/Catch2/src/catch2/../catch2/catch_test_macros.hpp:132:24: note: in expansion of macro 'INTERNAL_CATCH_TEST' + 132 | #define CHECK( ... ) INTERNAL_CATCH_TEST( "CHECK", Catch::ResultDisposition::ContinueOnFailure, __VA_ARGS__ ) + | ^~~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:335:5: note: in expansion of macro 'CHECK' + 335 | CHECK(str.size() == 5); + | ^~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:335:11: error: 'str' was not declared in this scope; did you mean 'std'? + 335 | CHECK(str.size() == 5); + | ^~~ +/home/Catch2/src/catch2/../catch2/internal/catch_test_macro_impl.hpp:56:63: note: in definition of macro 'INTERNAL_CATCH_TEST' + 56 | } while( (void)0, (false) && static_cast( !!(__VA_ARGS__) ) ) // the expression here is never evaluated at runtime but it forces the compiler to give it a look + | ^~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:335:5: note: in expansion of macro 'CHECK' + 335 | CHECK(str.size() == 5); + | ^~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp: In function 'void CATCH2_INTERNAL_TEST_50()': +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:342:9: error: 'AnsiSkippingString' was not declared in this scope + 342 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:343:18: error: 'str' was not declared in this scope; did you mean 'std'? + 343 | auto a = str.begin(); + | ^~~ + | std +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:356:9: error: 'AnsiSkippingString' was not declared in this scope + 356 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:357:18: error: 'str' was not declared in this scope; did you mean 'std'? + 357 | auto a = str.begin(); + | ^~~ + | std +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:370:9: error: 'AnsiSkippingString' was not declared in this scope + 370 | AnsiSkippingString str(text); + | ^~~~~~~~~~~~~~~~~~ +/home/Catch2/tests/SelfTest/IntrospectiveTests/TextFlow.tests.cpp:371:18: error: 'str' was not declared in this scope; did you mean 'std'? + 371 | auto a = str.begin(); + | ^~~ + | std +make[2]: *** [tests/CMakeFiles/SelfTest.dir/build.make:370: tests/CMakeFiles/SelfTest.dir/SelfTest/IntrospectiveTests/TextFlow.tests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:927: tests/CMakeFiles/SelfTest.dir/all] Error 2 +make: *** [Makefile:166: all] Error 2 +Test project /home/Catch2/build + Start 30: ApprovalTests + 1/71 Test #30: ApprovalTests ................................................***Failed 0.03 sec + Start 1: RunTests +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 2/71 Test #1: RunTests .....................................................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 2: List::Tests::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 3/71 Test #2: List::Tests::Output ..........................................***Not Run 0.00 sec + Start 3: List::Tests::Quiet +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Development/SelfTest + 4/71 Test #3: List::Tests::Quiet ...........................................***Not Run 0.00 sec + Start 4: List::Tests::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 5/71 Test #4: List::Tests::ExitCode ........................................***Not Run 0.00 sec + Start 5: List::Tests::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 6/71 Test #5: List::Tests::XmlOutput .......................................***Not Run 0.00 sec + Start 6: List::Tags::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 7/71 Test #6: List::Tags::Output ...........................................***Not Run 0.00 sec + Start 7: List::Tags::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 8/71 Test #7: List::Tags::ExitCode .........................................***Not Run 0.00 sec + Start 8: List::Tags::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest + 9/71 Test #8: List::Tags::XmlOutput ........................................***Not Run 0.00 sec + Start 9: List::Reporters::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +10/71 Test #9: List::Reporters::Output ......................................***Not Run 0.00 sec + Start 10: List::Reporters::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +11/71 Test #10: List::Reporters::ExitCode ....................................***Not Run 0.00 sec + Start 11: List::Reporters::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +12/71 Test #11: List::Reporters::XmlOutput ...................................***Not Run 0.00 sec + Start 12: List::Listeners::Output +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +13/71 Test #12: List::Listeners::Output ......................................***Not Run 0.00 sec + Start 13: List::Listeners::ExitCode +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +14/71 Test #13: List::Listeners::ExitCode ....................................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 14: List::Listeners::XmlOutput +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +15/71 Test #14: List::Listeners::XmlOutput ...................................***Not Run 0.00 sec + Start 15: NoAssertions +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +16/71 Test #15: NoAssertions .................................................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 16: TestSpecs::CombiningMatchingAndNonMatchingIsOk-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +17/71 Test #16: TestSpecs::CombiningMatchingAndNonMatchingIsOk-1 .............***Not Run 0.00 sec + Start 17: TestSpecs::CombiningMatchingAndNonMatchingIsOk-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +18/71 Test #17: TestSpecs::CombiningMatchingAndNonMatchingIsOk-2 .............***Not Run 0.00 sec + Start 18: TestSpecs::NoMatchedTestsFail +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +19/71 Test #18: TestSpecs::NoMatchedTestsFail ................................***Not Run 0.00 sec + Start 19: TestSpecs::OverrideFailureWithNoMatchedTests +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +20/71 Test #19: TestSpecs::OverrideFailureWithNoMatchedTests .................***Not Run 0.00 sec + Start 20: TestSpecs::OverrideAllSkipFailure +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +21/71 Test #20: TestSpecs::OverrideAllSkipFailure ............................***Not Run 0.00 sec + Start 21: TestSpecs::NonMatchingTestSpecIsRoundTrippable +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +22/71 Test #21: TestSpecs::NonMatchingTestSpecIsRoundTrippable ...............***Not Run 0.00 sec + Start 22: Warnings::UnmatchedTestSpecIsAccepted +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +23/71 Test #22: Warnings::UnmatchedTestSpecIsAccepted ........................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 23: Warnings::MultipleWarningsCanBeSpecified +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +24/71 Test #23: Warnings::MultipleWarningsCanBeSpecified .....................***Not Run 0.00 sec + Start 24: TestSpecs::WarnUnmatchedTestSpecFailsWithUnmatchedTestSpec +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +25/71 Test #24: TestSpecs::WarnUnmatchedTestSpecFailsWithUnmatchedTestSpec ...***Not Run 0.00 sec + Start 25: UnmatchedOutputFilter +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +26/71 Test #25: UnmatchedOutputFilter ........................................***Not Run 0.00 sec + Start 26: FilteredSection-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +27/71 Test #26: FilteredSection-1 ............................................***Not Run 0.00 sec + Start 27: FilteredSection-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +28/71 Test #27: FilteredSection-2 ............................................***Not Run 0.00 sec +Unable to find executable: /home/Catch2/build/tests/SelfTest + Start 28: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +29/71 Test #28: FilteredSection::GeneratorsDontCauseInfiniteLoop-1 ...........***Not Run 0.00 sec + Start 29: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +30/71 Test #29: FilteredSection::GeneratorsDontCauseInfiniteLoop-2 ...........***Not Run 0.00 sec + Start 31: RegressionCheck-1670 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +31/71 Test #31: RegressionCheck-1670 .........................................***Not Run 0.00 sec + Start 32: VersionCheck +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +32/71 Test #32: VersionCheck .................................................***Not Run 0.00 sec + Start 33: LibIdentityTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +33/71 Test #33: LibIdentityTest ..............................................***Not Run 0.00 sec + Start 34: FilenameAsTagsTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +34/71 Test #34: FilenameAsTagsTest ...........................................***Not Run 0.00 sec + Start 35: FilenameAsTagsMatching +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +35/71 Test #35: FilenameAsTagsMatching .......................................***Not Run 0.00 sec + Start 36: EscapeSpecialCharactersInTestNames +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +36/71 Test #36: EscapeSpecialCharactersInTestNames ...........................***Not Run 0.00 sec + Start 37: NegativeSpecNoHiddenTests +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +37/71 Test #37: NegativeSpecNoHiddenTests ....................................***Not Run 0.00 sec + Start 38: TestsInFile::SimpleSpecs +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +38/71 Test #38: TestsInFile::SimpleSpecs .....................................***Not Run 0.00 sec + Start 39: TestsInFile::EscapeSpecialCharacters +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +39/71 Test #39: TestsInFile::EscapeSpecialCharacters .........................***Not Run 0.00 sec + Start 40: TestsInFile::InvalidTestNames-1 +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +40/71 Test #40: TestsInFile::InvalidTestNames-1 ..............................***Not Run 0.00 sec + Start 41: TagAlias +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +41/71 Test #41: TagAlias .....................................................***Not Run 0.00 sec + Start 42: RandomTestOrdering +42/71 Test #42: RandomTestOrdering ...........................................***Failed 0.03 sec + Start 43: CheckConvenienceHeaders +43/71 Test #43: CheckConvenienceHeaders ...................................... Passed 0.03 sec + Start 44: Benchmarking::SkipBenchmarkMacros +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +44/71 Test #44: Benchmarking::SkipBenchmarkMacros ............................***Not Run 0.00 sec + Start 45: Benchmarking::FailureReporting::ThrowingBenchmark +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +45/71 Test #45: Benchmarking::FailureReporting::ThrowingBenchmark ............***Not Run 0.00 sec + Start 46: Benchmarking::FailureReporting::FailedAssertion +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +46/71 Test #46: Benchmarking::FailureReporting::FailedAssertion ..............***Not Run 0.00 sec + Start 47: Benchmarking::FailureReporting::FailMacro +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +47/71 Test #47: Benchmarking::FailureReporting::FailMacro ....................***Not Run 0.00 sec + Start 48: Benchmarking::FailureReporting::ShouldFailIsRespected +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +48/71 Test #48: Benchmarking::FailureReporting::ShouldFailIsRespected ........***Not Run 0.00 sec + Start 49: ErrorHandling::InvalidTestSpecExitsEarly +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +49/71 Test #49: ErrorHandling::InvalidTestSpecExitsEarly .....................***Not Run 0.00 sec + Start 50: MultiReporter::CapturingReportersDontPropagateStdOut +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +50/71 Test #50: MultiReporter::CapturingReportersDontPropagateStdOut .........***Not Run 0.00 sec + Start 51: MultiReporter::NonCapturingReportersPropagateStdout +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +51/71 Test #51: MultiReporter::NonCapturingReportersPropagateStdout ..........***Not Run 0.00 sec + Start 52: Outputs::DashAsOutLocationSendsOutputToStdout +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +52/71 Test #52: Outputs::DashAsOutLocationSendsOutputToStdout ................***Not Run 0.00 sec + Start 53: Reporters::DashAsLocationInReporterSpecSendsOutputToStdout +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +53/71 Test #53: Reporters::DashAsLocationInReporterSpecSendsOutputToStdout ...***Not Run 0.00 sec + Start 54: Reporters::ReporterSpecificColourOverridesDefaultColour +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +54/71 Test #54: Reporters::ReporterSpecificColourOverridesDefaultColour ......***Not Run 0.00 sec + Start 55: Reporters::UnrecognizedOptionInSpecCausesError +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +55/71 Test #55: Reporters::UnrecognizedOptionInSpecCausesError ...............***Not Run 0.00 sec + Start 56: Colours::ColourModeCanBeExplicitlySetToAnsi +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +56/71 Test #56: Colours::ColourModeCanBeExplicitlySetToAnsi ..................***Not Run 0.00 sec + Start 57: Reporters::JUnit::NamespacesAreNormalized +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +57/71 Test #57: Reporters::JUnit::NamespacesAreNormalized ....................***Not Run 0.00 sec + Start 58: Reporters:Filters:compact +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +58/71 Test #58: Reporters:Filters:compact ....................................***Not Run 0.00 sec + Start 59: Reporters:RngSeed:compact +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +59/71 Test #59: Reporters:RngSeed:compact ....................................***Not Run 0.00 sec + Start 60: Reporters:Filters:console +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +60/71 Test #60: Reporters:Filters:console ....................................***Not Run 0.00 sec + Start 61: Reporters:RngSeed:console +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +61/71 Test #61: Reporters:RngSeed:console ....................................***Not Run 0.00 sec + Start 62: Reporters:Filters:JUnit +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +62/71 Test #62: Reporters:Filters:JUnit ......................................***Not Run 0.00 sec + Start 63: Reporters:RngSeed:JUnit +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +63/71 Test #63: Reporters:RngSeed:JUnit ......................................***Not Run 0.00 sec + Start 64: Reporters:Filters:SonarQube +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +64/71 Test #64: Reporters:Filters:SonarQube ..................................***Not Run 0.00 sec + Start 65: Reporters:RngSeed:SonarQube +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +65/71 Test #65: Reporters:RngSeed:SonarQube ..................................***Not Run 0.00 sec + Start 66: Reporters:Filters:TAP +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +66/71 Test #66: Reporters:Filters:TAP ........................................***Not Run 0.00 sec + Start 67: Reporters:RngSeed:TAP +Unable to find executable: /home/Catch2/build/tests/SelfTest +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +67/71 Test #67: Reporters:RngSeed:TAP ........................................***Not Run 0.00 sec + Start 68: Reporters:Filters:XML +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +68/71 Test #68: Reporters:Filters:XML ........................................***Not Run 0.00 sec + Start 69: Reporters:RngSeed:XML +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +69/71 Test #69: Reporters:RngSeed:XML ........................................***Not Run 0.00 sec + Start 70: Reporters:Filters:JSON +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +70/71 Test #70: Reporters:Filters:JSON .......................................***Not Run 0.00 sec + Start 71: Reporters:RngSeed:JSON +Could not find executable /home/Catch2/build/tests/SelfTest +Looked in the following places: +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Release/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/Debug/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/MinSizeRel/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +Unable to find executable: /home/Catch2/build/tests/SelfTest +/home/Catch2/build/tests/RelWithDebInfo/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Deployment/SelfTest +/home/Catch2/build/tests/Development/SelfTest +/home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Release/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/Debug/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/MinSizeRel/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/RelWithDebInfo/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Deployment/SelfTest +home/Catch2/build/tests/Development/SelfTest +home/Catch2/build/tests/Development/SelfTest +71/71 Test #71: Reporters:RngSeed:JSON .......................................***Not Run 0.00 sec + +1% tests passed, 70 tests failed out of 71 + +Label Time Summary: +uses-python = 0.09 sec*proc (3 tests) + +Total Test time (real) = 0.11 sec + +The following tests FAILED: + 1 - RunTests (Not Run) + 2 - List::Tests::Output (Not Run) + 3 - List::Tests::Quiet (Not Run) + 4 - List::Tests::ExitCode (Not Run) + 5 - List::Tests::XmlOutput (Not Run) + 6 - List::Tags::Output (Not Run) + 7 - List::Tags::ExitCode (Not Run) + 8 - List::Tags::XmlOutput (Not Run) + 9 - List::Reporters::Output (Not Run) + 10 - List::Reporters::ExitCode (Not Run) + 11 - List::Reporters::XmlOutput (Not Run) + 12 - List::Listeners::Output (Not Run) + 13 - List::Listeners::ExitCode (Not Run) + 14 - List::Listeners::XmlOutput (Not Run) + 15 - NoAssertions (Not Run) + 16 - TestSpecs::CombiningMatchingAndNonMatchingIsOk-1 (Not Run) + 17 - TestSpecs::CombiningMatchingAndNonMatchingIsOk-2 (Not Run) + 18 - TestSpecs::NoMatchedTestsFail (Not Run) + 19 - TestSpecs::OverrideFailureWithNoMatchedTests (Not Run) + 20 - TestSpecs::OverrideAllSkipFailure (Not Run) + 21 - TestSpecs::NonMatchingTestSpecIsRoundTrippable (Not Run) + 22 - Warnings::UnmatchedTestSpecIsAccepted (Not Run) + 23 - Warnings::MultipleWarningsCanBeSpecified (Not Run) + 24 - TestSpecs::WarnUnmatchedTestSpecFailsWithUnmatchedTestSpec (Not Run) + 25 - UnmatchedOutputFilter (Not Run) + 26 - FilteredSection-1 (Not Run) + 27 - FilteredSection-2 (Not Run) + 28 - FilteredSection::GeneratorsDontCauseInfiniteLoop-1 (Not Run) + 29 - FilteredSection::GeneratorsDontCauseInfiniteLoop-2 (Not Run) + 30 - ApprovalTests (Failed) + 31 - RegressionCheck-1670 (Not Run) + 32 - VersionCheck (Not Run) + 33 - LibIdentityTest (Not Run) + 34 - FilenameAsTagsTest (Not Run) + 35 - FilenameAsTagsMatching (Not Run) + 36 - EscapeSpecialCharactersInTestNames (Not Run) + 37 - NegativeSpecNoHiddenTests (Not Run) + 38 - TestsInFile::SimpleSpecs (Not Run) + 39 - TestsInFile::EscapeSpecialCharacters (Not Run) + 40 - TestsInFile::InvalidTestNames-1 (Not Run) + 41 - TagAlias (Not Run) + 42 - RandomTestOrdering (Failed) + 44 - Benchmarking::SkipBenchmarkMacros (Not Run) + 45 - Benchmarking::FailureReporting::ThrowingBenchmark (Not Run) + 46 - Benchmarking::FailureReporting::FailedAssertion (Not Run) + 47 - Benchmarking::FailureReporting::FailMacro (Not Run) + 48 - Benchmarking::FailureReporting::ShouldFailIsRespected (Not Run) + 49 - ErrorHandling::InvalidTestSpecExitsEarly (Not Run) + 50 - MultiReporter::CapturingReportersDontPropagateStdOut (Not Run) + 51 - MultiReporter::NonCapturingReportersPropagateStdout (Not Run) + 52 - Outputs::DashAsOutLocationSendsOutputToStdout (Not Run) + 53 - Reporters::DashAsLocationInReporterSpecSendsOutputToStdout (Not Run) + 54 - Reporters::ReporterSpecificColourOverridesDefaultColour (Not Run) + 55 - Reporters::UnrecognizedOptionInSpecCausesError (Not Run) + 56 - Colours::ColourModeCanBeExplicitlySetToAnsi (Not Run) + 57 - Reporters::JUnit::NamespacesAreNormalized (Not Run) + 58 - Reporters:Filters:compact (Not Run) + 59 - Reporters:RngSeed:compact (Not Run) + 60 - Reporters:Filters:console (Not Run) + 61 - Reporters:RngSeed:console (Not Run) + 62 - Reporters:Filters:JUnit (Not Run) + 63 - Reporters:RngSeed:JUnit (Not Run) + 64 - Reporters:Filters:SonarQube (Not Run) + 65 - Reporters:RngSeed:SonarQube (Not Run) + 66 - Reporters:Filters:TAP (Not Run) + 67 - Reporters:RngSeed:TAP (Not Run) + 68 - Reporters:Filters:XML (Not Run) + 69 - Reporters:RngSeed:XML (Not Run) + 70 - Reporters:Filters:JSON (Not Run) + 71 - Reporters:RngSeed:JSON (Not Run) +Errors while running CTest +Output from these tests are in: /home/Catch2/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/fix.patch new file mode 100644 index 000000000..48b04b35c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/fix.patch @@ -0,0 +1,176 @@ +diff --git a/src/catch2/internal/catch_textflow.cpp b/src/catch2/internal/catch_textflow.cpp +index 857fd2b9..9b67bee3 100644 +--- a/src/catch2/internal/catch_textflow.cpp ++++ b/src/catch2/internal/catch_textflow.cpp +@@ -36,6 +36,106 @@ namespace { + isBreakableAfter( line[at - 1] ); + } + ++ bool isEscapeChar( char c ) { return c == '\033'; } ++ ++ // Finds the end of an ANSI escape sequence starting at `position`. ++ // Returns the index one past the final byte of the escape sequence. ++ // If the character at `position` is not an ESC, returns `position`. ++ size_t findEscapeEnd( std::string const& line, size_t position ) { ++ if ( position >= line.size() || !isEscapeChar( line[position] ) ) { ++ return position; ++ } ++ if ( position + 1 >= line.size() ) { ++ return position + 1; ++ } ++ // CSI sequence: ESC [ (params) final_byte ++ if ( line[position + 1] == '[' ) { ++ size_t j = position + 2; ++ while ( j < line.size() ) { ++ unsigned char c = static_cast( line[j] ); ++ if ( c >= 0x40 && c <= 0x7e ) { ++ return j + 1; ++ } ++ ++j; ++ } ++ } ++ // Unknown escape type, just skip ESC and next char ++ return position + 2; ++ } ++ ++ // Check if a byte position is inside an ANSI escape sequence. ++ // Returns the start of the escape sequence if inside, or npos. ++ size_t findEscapeStart( std::string const& line, size_t position ) { ++ if ( position == 0 || position >= line.size() ) return std::string::npos; ++ const size_t maxLookback = 10; ++ const size_t start = position > maxLookback ? position - maxLookback : 0; ++ for ( size_t i = start; i < position; ++i ) { ++ if ( isEscapeChar( line[i] ) ) { ++ size_t end = findEscapeEnd( line, i ); ++ if ( end > position ) { ++ return i; ++ } ++ } ++ } ++ return std::string::npos; ++ } ++ ++ // Calculates the visible (display) length of a string portion, ++ // excluding ANSI escape sequences. ++ size_t visibleLength( std::string const& line, size_t start, size_t length ) { ++ size_t visible = 0; ++ size_t end = start + length; ++ size_t i = start; ++ while ( i < end ) { ++ if ( isEscapeChar( line[i] ) ) { ++ i = findEscapeEnd( line, i ); ++ } else { ++ ++visible; ++ ++i; ++ } ++ } ++ return visible; ++ } ++ ++ // Given a desired visible length from `start`, find the actual byte offset. ++ size_t visibleToByteOffset( std::string const& line, size_t start, size_t visibleTarget ) { ++ size_t visible = 0; ++ size_t i = start; ++ while ( i < line.size() && visible < visibleTarget ) { ++ if ( isEscapeChar( line[i] ) ) { ++ i = findEscapeEnd( line, i ); ++ } else { ++ ++visible; ++ ++i; ++ } ++ } ++ return i; ++ } ++ ++ // ANSI-aware boundary check: returns true if `at` is a valid line break ++ // position, considering that positions inside escape sequences are not ++ // valid break points. ++ bool isAnsiAwareBoundary( std::string const& line, size_t at ) { ++ // If we're inside an escape sequence, this is not a valid boundary ++ if ( findEscapeStart( line, at ) != std::string::npos ) { ++ return false; ++ } ++ return isBoundary( line, at ); ++ } ++ ++ // Given a byte position (relative to lineStart), adjust it to avoid ++ // splitting an ANSI escape sequence. If the position falls inside an ++ // escape, move it back to before the escape starts. ++ // Returns the adjusted relative position. ++ size_t adjustBoundary( std::string const& line, size_t lineStart, size_t relativePos ) { ++ size_t absPos = lineStart + relativePos; ++ size_t escStart = findEscapeStart( line, absPos ); ++ if ( escStart != std::string::npos && escStart >= lineStart ) { ++ return escStart - lineStart; ++ } ++ return relativePos; ++ } ++ + } // namespace + + namespace Catch { +@@ -51,7 +151,8 @@ namespace Catch { + } + + const auto maxLineLength = m_column.m_width - indentSize(); +- const auto maxParseTo = std::min(current_line.size(), m_lineStart + maxLineLength); ++ // Find the byte offset that corresponds to maxLineLength visible chars ++ const auto maxParseTo = std::min(current_line.size(), visibleToByteOffset( current_line, m_lineStart, maxLineLength )); + while ( m_parsedTo < maxParseTo && + current_line[m_parsedTo] != '\n' ) { + ++m_parsedTo; +@@ -60,14 +161,14 @@ namespace Catch { + // If we encountered a newline before the column is filled, + // then we linebreak at the newline and consider this line + // finished. +- if ( m_parsedTo < m_lineStart + maxLineLength ) { ++ if ( visibleLength( current_line, m_lineStart, m_parsedTo - m_lineStart ) < maxLineLength ) { + m_lineLength = m_parsedTo - m_lineStart; + } else { + // Look for a natural linebreak boundary in the column + // (We look from the end, so that the first found boundary is + // the right one) + size_t newLineLength = maxLineLength; +- while ( newLineLength > 0 && !isBoundary( current_line, m_lineStart + newLineLength ) ) { ++ while ( newLineLength > 0 && !isAnsiAwareBoundary( current_line, m_lineStart + newLineLength ) ) { + --newLineLength; + } + while ( newLineLength > 0 && +@@ -82,6 +183,16 @@ namespace Catch { + // Otherwise we have to split text with a hyphen + m_addHyphen = true; + m_lineLength = maxLineLength - 1; ++ // Adjust hyphen break to avoid splitting an escape sequence ++ m_lineLength = adjustBoundary( current_line, m_lineStart, m_lineLength ); ++ if ( m_lineLength == 0 ) { ++ // The line starts with an escape sequence that won't fit. ++ // Include the whole escape sequence in this line anyway ++ // (it takes zero visible width), and then continue. ++ size_t escEnd = findEscapeEnd( current_line, m_lineStart ); ++ m_lineLength = escEnd - m_lineStart; ++ m_addHyphen = false; ++ } + } + } + } +@@ -111,6 +222,7 @@ namespace Catch { + assert( m_column.m_width > m_column.m_indent ); + assert( m_column.m_initialIndent == std::string::npos || + m_column.m_width > m_column.m_initialIndent ); ++ m_parsedTo = 0; + calcLength(); + if ( m_lineLength == 0 ) { + m_lineStart = m_column.m_string.size(); +@@ -195,8 +307,10 @@ namespace Catch { + row += col; + + padding.clear(); +- if ( col.size() < width ) { +- padding.append( width - col.size(), ' ' ); ++ // Use visible length for padding, not raw string size ++ size_t col_visible = visibleLength( col, 0, col.size() ); ++ if ( col_visible < width ) { ++ padding.append( width - col_visible, ' ' ); + } + } else { + padding.append( width, ' ' ); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/report.json new file mode 100644 index 000000000..b1db86491 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/catchorg/Catch2/evals/pr-2849/report.json @@ -0,0 +1 @@ +{"org": "catchorg", "repo": "Catch2", "number": 2849, "valid": false, "error_msg": "By comparing the test results before and after applying the fix patch, an anomalous pattern was detected. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (104, 14, 0)\n test = (33, 14, 0)\n fix = (34, 16, 0). `approvaltests`: Test(run=, test=, fix=)", "fixed_tests": {"checkconvenienceheaders": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 104, "failed_count": 14, "skipped_count": 0, "passed_tests": ["testspecs::warnunmatchedtestspecfailswithunmatchedtestspec", "have_flag__winit_self", "escapespecialcharactersintestnames", "list::listeners::xmloutput", "approvaltests", "reporters:rngseed:json", "have_flag__wparentheses", "list::reporters::output", "benchmarking::failurereporting::failmacro", "have_flag__wall", "list::tags::output", "have_flag__wuninitialized", "reporters:filters:junit", "testspecs::nomatchedtestsfail", "reporters::reporterspecificcolouroverridesdefaultcolour", "libidentitytest", "outputs::dashasoutlocationsendsoutputtostdout", "randomtestordering", "filteredsection::generatorsdontcauseinfiniteloop-2", "testspecs::overridefailurewithnomatchedtests", "reporters:rngseed:compact", "negativespecnohiddentests", "list::listeners::output", "list::tests::quiet", "warnings::multiplewarningscanbespecified", "have_flag__wreorder", "have_flag__wdeprecated", "tagalias", "have_flag__wunused_parameter", "reporters:rngseed:sonarqube", "multireporter::noncapturingreporterspropagatestdout", "have_flag__wcatch_value", "have_flag__wstrict_aliasing", "reporters:filters:compact", "list::listeners::exitcode", "list::tests::xmloutput", "have_flag__wextra_semi", "runtests", "errorhandling::invalidtestspecexitsearly", "list::reporters::xmloutput", "list::tags::xmloutput", "reporters:rngseed:xml", "have_flag__wunused", "have_flag__ffile_prefix_map__home_catch2__", "have_flag__wextra", "have_flag__wsuggest_override", "reporters:filters:json", "have_flag__wfloat_equal", "filteredsection-2", "have_flag__wundef", "list::reporters::exitcode", "testsinfile::invalidtestnames-1", "reporters:rngseed:console", "have_flag__wnull_dereference", "testspecs::combiningmatchingandnonmatchingisok-2", "have_flag__wmissing_declarations", "have_flag__wmismatched_tags", "testsinfile::simplespecs", "reporters:rngseed:junit", "reporters::junit::namespacesarenormalized", "testspecs::overrideallskipfailure", "unmatchedoutputfilter", "reporters::unrecognizedoptioninspeccauseserror", "noassertions", "multireporter::capturingreportersdontpropagatestdout", "have_flag__wexceptions", "reporters:filters:tap", "have_flag__wredundant_decls", "warnings::unmatchedtestspecisaccepted", "filteredsection::generatorsdontcauseinfiniteloop-1", "testspecs::nonmatchingtestspecisroundtrippable", "colours::colourmodecanbeexplicitlysettoansi", "reporters:rngseed:tap", "filenameastagsmatching", "filteredsection-1", "testspecs::combiningmatchingandnonmatchingisok-1", "filenameastagstest", "benchmarking::skipbenchmarkmacros", "have_flag__wshadow", "have_flag__wmisleading_indentation", "list::tests::output", "reporters:filters:sonarqube", "have_flag__woverloaded_virtual", "have_flag__wmissing_braces", "versioncheck", "checkconvenienceheaders", "benchmarking::failurereporting::throwingbenchmark", "have_flag__wold_style_cast", "have_flag__wunused_function", "benchmarking::failurereporting::failedassertion", "have_flag__wpedantic", "have_flag__wcast_align", "list::tests::exitcode", "list::tags::exitcode", "reporters:filters:console", "reporters:filters:xml", "have_flag__wmismatched_new_delete", "have_flag__wmissing_noreturn", "benchmarking::failurereporting::shouldfailisrespected", "regressioncheck-1670", "reporters::dashaslocationinreporterspecsendsoutputtostdout", "testsinfile::escapespecialcharacters", "have_flag__wsubobject_linkage", "have_flag__wvla"], "failed_tests": ["have_flag__wmissing_prototypes", "have_flag__wunneeded_internal_declaration", "have_flag__wmissing_variable_declarations", "have_flag__wexit_time_destructors", "have_flag__wreturn_std_move", "have_flag__wweak_vtables", "have_flag__wglobal_constructors", "have_flag__wunreachable_code_aggressive", "have_flag__wdeprecated_register", "have_flag__wsuggest_destructor_override", "have_flag__wmismatched_return_types", "have_flag__wdangling", "have_flag__wabsolute_value", "have_flag__wcall_to_pure_virtual_from_ctor_dtor"], "skipped_tests": []}, "test_patch_result": {"passed_count": 33, "failed_count": 14, "skipped_count": 0, "passed_tests": ["have_flag__winit_self", "have_flag__wshadow", "have_flag__wmisleading_indentation", "have_flag__woverloaded_virtual", "have_flag__wnull_dereference", "have_flag__wmissing_braces", "have_flag__wmissing_declarations", "have_flag__wmismatched_tags", "have_flag__wdeprecated", "have_flag__wreorder", "have_flag__wunused_parameter", "have_flag__wparentheses", "have_flag__wunused_function", "have_flag__wold_style_cast", "have_flag__wpedantic", "have_flag__wcast_align", "have_flag__wmismatched_new_delete", "have_flag__wexceptions", "have_flag__wcatch_value", "have_flag__wstrict_aliasing", "have_flag__wmissing_noreturn", "have_flag__wextra_semi", "have_flag__wall", "have_flag__wuninitialized", "have_flag__wredundant_decls", "have_flag__wunused", "have_flag__wsubobject_linkage", "have_flag__ffile_prefix_map__home_catch2__", "have_flag__wextra", "have_flag__wsuggest_override", "have_flag__wvla", "have_flag__wfloat_equal", "have_flag__wundef"], "failed_tests": ["have_flag__wmissing_prototypes", "have_flag__wunneeded_internal_declaration", "have_flag__wmissing_variable_declarations", "have_flag__wexit_time_destructors", "have_flag__wreturn_std_move", "have_flag__wweak_vtables", "have_flag__wglobal_constructors", "have_flag__wunreachable_code_aggressive", "have_flag__wdeprecated_register", "have_flag__wsuggest_destructor_override", "have_flag__wmismatched_return_types", "have_flag__wdangling", "have_flag__wabsolute_value", "have_flag__wcall_to_pure_virtual_from_ctor_dtor"], "skipped_tests": []}, "fix_patch_result": {"passed_count": 34, "failed_count": 16, "skipped_count": 0, "passed_tests": ["have_flag__winit_self", "have_flag__wshadow", "have_flag__wmisleading_indentation", "have_flag__woverloaded_virtual", "have_flag__wnull_dereference", "have_flag__wmissing_braces", "have_flag__wmismatched_tags", "have_flag__wdeprecated", "have_flag__wmissing_declarations", "have_flag__wreorder", "have_flag__wunused_parameter", "checkconvenienceheaders", "have_flag__wparentheses", "have_flag__wold_style_cast", "have_flag__wunused_function", "have_flag__wpedantic", "have_flag__wcast_align", "have_flag__wcatch_value", "have_flag__wexceptions", "have_flag__wmismatched_new_delete", "have_flag__wstrict_aliasing", "have_flag__wmissing_noreturn", "have_flag__wextra_semi", "have_flag__wall", "have_flag__wuninitialized", "have_flag__wredundant_decls", "have_flag__wunused", "have_flag__wsubobject_linkage", "have_flag__ffile_prefix_map__home_catch2__", "have_flag__wextra", "have_flag__wsuggest_override", "have_flag__wvla", "have_flag__wfloat_equal", "have_flag__wundef"], "failed_tests": ["have_flag__wunneeded_internal_declaration", "approvaltests", "randomtestordering", "have_flag__wdangling", "have_flag__wmissing_variable_declarations", "have_flag__wexit_time_destructors", "have_flag__wsuggest_destructor_override", "have_flag__wreturn_std_move", "have_flag__wweak_vtables", "have_flag__wglobal_constructors", "have_flag__wunreachable_code_aggressive", "have_flag__wdeprecated_register", "have_flag__wmissing_prototypes", "have_flag__wmismatched_return_types", "have_flag__wabsolute_value", "have_flag__wcall_to_pure_virtual_from_ctor_dtor"], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/fix-patch-run.log new file mode 100644 index 000000000..a6bfe46b3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/fix-patch-run.log @@ -0,0 +1,387 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6759 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.7 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.0 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5662 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.DxpBJkaY +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.DxpBJkaY/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.DxpBJkaY/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.DxpBJkaY/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.DxpBJkaY/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.DxpBJkaY/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.DxpBJkaY +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=7048b4e4281e +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.y4a8Znrpdh/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/prepare-test.cc +patching file include/fmt/prepare.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 5.3.1 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Looking for open +-- Looking for open - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/posix.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 7%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 9%] Linking CXX static library libgmock.a +[ 9%] Built target gmock +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 15%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 17%] Linking CXX static library libtest-main.a +[ 17%] Built target test-main +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 23%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 25%] Linking CXX executable ../bin/chrono-test +[ 25%] Built target chrono-test +[ 27%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 29%] Linking CXX executable ../bin/color-test +[ 29%] Built target color-test +[ 31%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 33%] Linking CXX executable ../bin/core-test +[ 33%] Built target core-test +[ 35%] Building CXX object test/CMakeFiles/grisu-test.dir/grisu-test.cc.o +[ 37%] Linking CXX executable ../bin/grisu-test +[ 37%] Built target grisu-test +[ 39%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 41%] Linking CXX executable ../bin/gtest-extra-test +[ 41%] Built target gtest-extra-test +[ 43%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 45%] Linking CXX executable ../bin/format-test +[ 45%] Built target format-test +[ 47%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 49%] Linking CXX executable ../bin/format-impl-test +[ 49%] Built target format-impl-test +[ 50%] Building CXX object test/CMakeFiles/locale-test.dir/locale-test.cc.o +[ 52%] Linking CXX executable ../bin/locale-test +[ 52%] Built target locale-test +[ 54%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 56%] Linking CXX executable ../bin/ostream-test +[ 56%] Built target ostream-test +[ 58%] Building CXX object test/CMakeFiles/prepare-test.dir/prepare-test.cc.o +[ 60%] Linking CXX executable ../bin/prepare-test +[ 60%] Built target prepare-test +[ 62%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 64%] Linking CXX executable ../bin/printf-test +[ 64%] Built target printf-test +[ 66%] Building CXX object test/CMakeFiles/custom-formatter-test.dir/custom-formatter-test.cc.o +[ 68%] Linking CXX executable ../bin/custom-formatter-test +[ 68%] Built target custom-formatter-test +[ 70%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 72%] Linking CXX executable ../bin/ranges-test +[ 72%] Built target ranges-test +[ 74%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 76%] Linking CXX executable ../bin/scan-test +[ 76%] Built target scan-test +[ 78%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 80%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 82%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 84%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 86%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 88%] Linking CXX executable ../bin/posix-mock-test +[ 88%] Built target posix-mock-test +[ 90%] Building CXX object test/CMakeFiles/posix-test.dir/posix-test.cc.o +[ 92%] Linking CXX executable ../bin/posix-test +[ 92%] Built target posix-test +[ 94%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test.cc.o +[ 96%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test2.cc.o +[ 98%] Building CXX object test/CMakeFiles/header-only-test.dir/test-main.cc.o +[100%] Linking CXX executable ../bin/header-only-test +[100%] Built target header-only-test +Test project /home/fmt/build + Start 1: assert-test + 1/17 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/17 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: color-test + 3/17 Test #3: color-test ....................... Passed 0.00 sec + Start 4: core-test + 4/17 Test #4: core-test ........................ Passed 0.00 sec + Start 5: grisu-test + 5/17 Test #5: grisu-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/17 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/17 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/17 Test #8: format-impl-test ................. Passed 0.00 sec + Start 9: locale-test + 9/17 Test #9: locale-test ...................... Passed 0.00 sec + Start 10: ostream-test +10/17 Test #10: ostream-test ..................... Passed 0.00 sec + Start 11: prepare-test +11/17 Test #11: prepare-test ..................... Passed 0.00 sec + Start 12: printf-test +12/17 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: custom-formatter-test +13/17 Test #13: custom-formatter-test ............ Passed 0.00 sec + Start 14: ranges-test +14/17 Test #14: ranges-test ...................... Passed 0.00 sec + Start 15: scan-test +15/17 Test #15: scan-test ........................ Passed 0.00 sec + Start 16: posix-mock-test +16/17 Test #16: posix-mock-test .................. Passed 0.00 sec + Start 17: posix-test +17/17 Test #17: posix-test ....................... Passed 0.11 sec + +100% tests passed, 0 tests failed out of 17 + +Total Test time (real) = 0.15 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/fix.patch new file mode 100644 index 000000000..1ceda39e7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/fix.patch @@ -0,0 +1,52 @@ +diff --git a/include/fmt/prepare.h b/include/fmt/prepare.h +index 0ac92188..db8ee2ec 100644 +--- a/include/fmt/prepare.h ++++ b/include/fmt/prepare.h +@@ -217,7 +217,9 @@ class prepared_format { + std::basic_string format(const Args&... args) const { + basic_memory_buffer buffer; + typedef back_insert_range> range; +- this->vformat_to(range(buffer), make_args_checked(format_, args...)); ++ typedef buffer_context context; ++ this->vformat_to(range(buffer), ++ basic_format_args(make_args_checked(format_, args...))); + return to_string(buffer); + } + +@@ -226,7 +228,9 @@ class prepared_format { + std::back_insert_iterator out, const Args&... args) const { + internal::container_buffer buffer(internal::get_container(out)); + typedef back_insert_range> range; +- this->vformat_to(range(buffer), make_args_checked(format_, args...)); ++ typedef buffer_context context; ++ this->vformat_to(range(buffer), ++ basic_format_args(make_args_checked(format_, args...))); + return out; + } + +@@ -242,18 +246,18 @@ class prepared_format { + inline typename buffer_context::iterator format_to( + basic_memory_buffer& buf, const Args&... args) const { + typedef back_insert_range> range; +- return this->vformat_to(range(buf), make_args_checked(format_, args...)); ++ typedef buffer_context context; ++ return this->vformat_to(range(buf), ++ basic_format_args(make_args_checked(format_, args...))); + } + + private: +- typedef buffer_context context; +- +- template +- typename context::iterator vformat_to(Range out, +- basic_format_args args) const { ++ template ++ typename Context::iterator vformat_to(Range out, ++ basic_format_args args) const { + const auto format_view = internal::to_string_view(format_); + basic_parse_context parse_ctx(format_view); +- context ctx(out.begin(), args); ++ Context ctx(out.begin(), args); + + const auto& parts = parts_provider_.parts(); + for (auto part_it = parts.begin(); part_it != parts.end(); ++part_it) { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/report.json new file mode 100644 index 000000000..ffccc52bb --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1171/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 1171, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "custom-formatter-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "grisu-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prepare-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "custom-formatter-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "grisu-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prepare-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "posix-test", "format-test", "posix-mock-test", "core-test", "ranges-test", "scan-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "format-impl-test", "prepare-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "posix-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "format-impl-test", "prepare-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/fix-patch-run.log new file mode 100644 index 000000000..9b930ead0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/fix-patch-run.log @@ -0,0 +1,397 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7038 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.0 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.4 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4929 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.LY2zB4RT +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.LY2zB4RT/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.LY2zB4RT/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.LY2zB4RT/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.LY2zB4RT/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.LY2zB4RT/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.LY2zB4RT +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=bb8c12c2e155 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.Kq4cRIb7c2/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-impl-test.cc +patching file test/grisu-test.cc +patching file include/fmt/format-inl.h +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 6.0.0 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Looking for open +-- Looking for open - found +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Looking for a CUDA compiler +-- Looking for a CUDA compiler - NOTFOUND +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/posix.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 7%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 9%] Linking CXX static library libgmock.a +[ 9%] Built target gmock +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 15%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 17%] Linking CXX static library libtest-main.a +[ 17%] Built target test-main +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 23%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 25%] Linking CXX executable ../bin/chrono-test +[ 25%] Built target chrono-test +[ 27%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 29%] Linking CXX executable ../bin/color-test +[ 29%] Built target color-test +[ 31%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 33%] Linking CXX executable ../bin/core-test +[ 33%] Built target core-test +[ 35%] Building CXX object test/CMakeFiles/grisu-test.dir/grisu-test.cc.o +[ 37%] Linking CXX executable ../bin/grisu-test +[ 37%] Built target grisu-test +[ 39%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 41%] Linking CXX executable ../bin/gtest-extra-test +[ 41%] Built target gtest-extra-test +[ 43%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 45%] Linking CXX executable ../bin/format-test +[ 45%] Built target format-test +[ 47%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 49%] Linking CXX executable ../bin/format-impl-test +[ 49%] Built target format-impl-test +[ 50%] Building CXX object test/CMakeFiles/locale-test.dir/locale-test.cc.o +[ 52%] Linking CXX executable ../bin/locale-test +[ 52%] Built target locale-test +[ 54%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 56%] Linking CXX executable ../bin/ostream-test +[ 56%] Built target ostream-test +[ 58%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 60%] Linking CXX executable ../bin/compile-test +[ 60%] Built target compile-test +[ 62%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 64%] Linking CXX executable ../bin/printf-test +[ 64%] Built target printf-test +[ 66%] Building CXX object test/CMakeFiles/custom-formatter-test.dir/custom-formatter-test.cc.o +[ 68%] Linking CXX executable ../bin/custom-formatter-test +[ 68%] Built target custom-formatter-test +[ 70%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 72%] Linking CXX executable ../bin/ranges-test +[ 72%] Built target ranges-test +[ 74%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 76%] Linking CXX executable ../bin/scan-test +[ 76%] Built target scan-test +[ 78%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 80%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 82%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 84%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 86%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 88%] Linking CXX executable ../bin/posix-mock-test +[ 88%] Built target posix-mock-test +[ 90%] Building CXX object test/CMakeFiles/posix-test.dir/posix-test.cc.o +[ 92%] Linking CXX executable ../bin/posix-test +[ 92%] Built target posix-test +[ 94%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test.cc.o +[ 96%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test2.cc.o +[ 98%] Building CXX object test/CMakeFiles/header-only-test.dir/test-main.cc.o +[100%] Linking CXX executable ../bin/header-only-test +[100%] Built target header-only-test +Test project /home/fmt/build + Start 1: assert-test + 1/17 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/17 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: color-test + 3/17 Test #3: color-test ....................... Passed 0.00 sec + Start 4: core-test + 4/17 Test #4: core-test ........................ Passed 0.00 sec + Start 5: grisu-test + 5/17 Test #5: grisu-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/17 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/17 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/17 Test #8: format-impl-test .................***Failed 0.00 sec + Start 9: locale-test + 9/17 Test #9: locale-test ...................... Passed 0.00 sec + Start 10: ostream-test +10/17 Test #10: ostream-test ..................... Passed 0.00 sec + Start 11: compile-test +11/17 Test #11: compile-test ..................... Passed 0.00 sec + Start 12: printf-test +12/17 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: custom-formatter-test +13/17 Test #13: custom-formatter-test ............ Passed 0.00 sec + Start 14: ranges-test +14/17 Test #14: ranges-test ...................... Passed 0.00 sec + Start 15: scan-test +15/17 Test #15: scan-test ........................ Passed 0.00 sec + Start 16: posix-mock-test +16/17 Test #16: posix-mock-test .................. Passed 0.00 sec + Start 17: posix-test +17/17 Test #17: posix-test ....................... Passed 0.11 sec + +94% tests passed, 1 tests failed out of 17 + +Total Test time (real) = 0.15 sec + +The following tests FAILED: + 8 - format-impl-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/fix.patch new file mode 100644 index 000000000..a32a6f807 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/fix.patch @@ -0,0 +1,161 @@ +diff --git a/include/fmt/format-inl.h b/include/fmt/format-inl.h +index 30de39b2..7095f454 100644 +--- a/include/fmt/format-inl.h ++++ b/include/fmt/format-inl.h +@@ -364,6 +364,10 @@ class fp { + std::numeric_limits::digits - 1; + static FMT_CONSTEXPR_DECL const uint64_t implicit_bit = + 1ull << double_significand_size; ++ static FMT_CONSTEXPR_DECL const int float_significand_size = ++ std::numeric_limits::digits - 1; ++ static FMT_CONSTEXPR_DECL const uint64_t float_implicit_bit = ++ 1ull << float_significand_size; + + public: + significand_type f; +@@ -395,6 +399,24 @@ class fp { + e = static_cast(biased_e - exponent_bias - double_significand_size); + } + ++ // Constructs fp from an IEEE754 single-precision float. ++ explicit fp(float f32) { ++ using limits = std::numeric_limits; ++ const int exponent_size = bits::value - float_significand_size - 1; ++ const uint32_t significand_mask = ++ static_cast(float_implicit_bit - 1); ++ const uint32_t exponent_mask = (~0u >> 1) & ~significand_mask; ++ const int exponent_bias = (1 << exponent_size) - limits::max_exponent - 1; ++ auto u = bit_cast(f32); ++ auto biased_e = (u & exponent_mask) >> float_significand_size; ++ f = u & significand_mask; ++ if (biased_e != 0) ++ f += float_implicit_bit; ++ else ++ biased_e = 1; // Subnormals use biased exponent 1 (min exponent). ++ e = static_cast(biased_e - exponent_bias - float_significand_size); ++ } ++ + // Normalizes the value converted from double and multiplied by (1 << SHIFT). + template friend fp normalize(fp value) { + // Handle subnormals. +@@ -423,6 +445,16 @@ class fp { + lower.f <<= lower.e - upper.e; + lower.e = upper.e; + } ++ ++ // Computes lower and upper boundaries for a single-precision float. ++ void compute_float_boundaries(fp& lower, fp& upper) const { ++ lower = f == float_implicit_bit ++ ? fp((f << 2) - 1, e - 2) ++ : fp((f << 1) - 1, e - 1); ++ upper = normalize<1>(fp((f << 1) + 1, e - 1)); ++ lower.f <<= lower.e - upper.e; ++ lower.e = upper.e; ++ } + }; + + // Returns an fp number representing x - y. Result may not be normalized. +@@ -1083,6 +1115,74 @@ bool grisu_format(Double value, buffer& buf, int precision, + return true; + } + ++template > ++bool grisu_format(Float value, buffer& buf, int precision, ++ unsigned options, int& exp) { ++ FMT_ASSERT(value >= 0, "value is negative"); ++ const bool fixed = (options & grisu_options::fixed) != 0; ++ if (value <= 0) { // <= instead of == to silence a warning. ++ if (precision <= 0 || !fixed) { ++ exp = 0; ++ buf.push_back('0'); ++ } else { ++ exp = -precision; ++ buf.resize(to_unsigned(precision)); ++ std::uninitialized_fill_n(buf.data(), precision, '0'); ++ } ++ return true; ++ } ++ ++ const fp fp_value(value); ++ const int min_exp = -60; // alpha in Grisu. ++ int cached_exp10 = 0; // K in Grisu. ++ if (precision != -1) { ++ if (precision > 17) return false; ++ fp normalized = normalize(fp_value); ++ const auto cached_pow = get_cached_power( ++ min_exp - (normalized.e + fp::significand_size), cached_exp10); ++ normalized = normalized * cached_pow; ++ fixed_handler handler{buf.data(), 0, precision, -cached_exp10, fixed}; ++ if (grisu_gen_digits(normalized, 1, exp, handler) == digits::error) ++ return false; ++ buf.resize(to_unsigned(handler.size)); ++ } else { ++ fp lower, upper; // w^- and w^+ in the Grisu paper. ++ fp_value.compute_float_boundaries(lower, upper); ++ const auto cached_pow = get_cached_power( ++ min_exp - (upper.e + fp::significand_size), cached_exp10); ++ fp normalized = normalize(fp_value); ++ normalized = normalized * cached_pow; ++ lower = lower * cached_pow; ++ upper = upper * cached_pow; ++ assert(min_exp <= upper.e && upper.e <= -32); ++ auto result = digits::result(); ++ int size = 0; ++ if ((options & grisu_options::grisu2) != 0) { ++ ++lower.f; ++ --upper.f; ++ grisu_shortest_handler<2> handler{buf.data(), 0, (upper - normalized).f}; ++ result = grisu_gen_digits(upper, upper.f - lower.f, exp, handler); ++ size = handler.size; ++ assert(result != digits::error); ++ } else { ++ --lower.f; ++ ++upper.f; ++ grisu_shortest_handler<3> handler{buf.data(), 0, (upper - normalized).f}; ++ result = grisu_gen_digits(upper, upper.f - lower.f, exp, handler); ++ size = handler.size; ++ if (result == digits::error) { ++ exp = exp + size - cached_exp10 - 1; ++ fallback_format(static_cast(value), buf, exp); ++ return true; ++ } ++ } ++ buf.resize(to_unsigned(size)); ++ } ++ exp -= cached_exp10; ++ return true; ++} ++ + template + char* sprintf_format(Double value, internal::buffer& buf, + sprintf_specs specs) { +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 007fe8f2..e6f2cf51 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -1118,7 +1118,10 @@ enum { fixed = 1, grisu2 = 2 }; + // https://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/printf.pdf + template + FMT_API bool grisu_format(Double, buffer&, int, unsigned, int&); +-template ++template ++FMT_API bool grisu_format(Float, buffer&, int, unsigned, int&); ++template + inline bool grisu_format(Double, buffer&, int, unsigned, int&) { + return false; + } +@@ -2812,9 +2815,9 @@ void internal::basic_writer::write_fp(T value, + bool use_grisu = USE_GRISU && + (specs.type != 'a' && specs.type != 'A' && + specs.type != 'e' && specs.type != 'E') && +- internal::grisu_format( +- static_cast(value), buffer, precision, +- handler.fixed ? internal::grisu_options::fixed : 0, exp); ++ internal::grisu_format( ++ value, buffer, precision, ++ handler.fixed ? internal::grisu_options::fixed : 0, exp); + char* decimal_point_pos = nullptr; + if (!use_grisu) + decimal_point_pos = internal::sprintf_format(value, buffer, specs); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/report.json new file mode 100644 index 000000000..d615bb131 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1361/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 1361, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "custom-formatter-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "grisu-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "custom-formatter-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "grisu-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "posix-test", "format-test", "posix-mock-test", "core-test", "ranges-test", "scan-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 16, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "posix-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/fix-patch-run.log new file mode 100644 index 000000000..490f691b8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/fix-patch-run.log @@ -0,0 +1,391 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6621 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.5 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5151 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.6qaNImhQ +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.6qaNImhQ/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.6qaNImhQ/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.6qaNImhQ/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.6qaNImhQ/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.6qaNImhQ/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.6qaNImhQ +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d4ea73ac0d95 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.5ihmakRp6m/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 6.0.0 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Looking for open +-- Looking for open - found +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Looking for a CUDA compiler +-- Looking for a CUDA compiler - NOTFOUND +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/posix.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 7%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 9%] Linking CXX static library libgmock.a +[ 9%] Built target gmock +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 15%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 17%] Linking CXX static library libtest-main.a +[ 17%] Built target test-main +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 23%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 25%] Linking CXX executable ../bin/chrono-test +[ 25%] Built target chrono-test +[ 27%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 29%] Linking CXX executable ../bin/color-test +[ 29%] Built target color-test +[ 31%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 33%] Linking CXX executable ../bin/core-test +[ 33%] Built target core-test +[ 35%] Building CXX object test/CMakeFiles/grisu-test.dir/grisu-test.cc.o +[ 37%] Linking CXX executable ../bin/grisu-test +[ 37%] Built target grisu-test +[ 39%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 41%] Linking CXX executable ../bin/gtest-extra-test +[ 41%] Built target gtest-extra-test +[ 43%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 45%] Linking CXX executable ../bin/format-test +[ 45%] Built target format-test +[ 47%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 49%] Linking CXX executable ../bin/format-impl-test +[ 49%] Built target format-impl-test +[ 50%] Building CXX object test/CMakeFiles/locale-test.dir/locale-test.cc.o +[ 52%] Linking CXX executable ../bin/locale-test +[ 52%] Built target locale-test +[ 54%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 56%] Linking CXX executable ../bin/ostream-test +[ 56%] Built target ostream-test +[ 58%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 60%] Linking CXX executable ../bin/compile-test +[ 60%] Built target compile-test +[ 62%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 64%] Linking CXX executable ../bin/printf-test +[ 64%] Built target printf-test +[ 66%] Building CXX object test/CMakeFiles/custom-formatter-test.dir/custom-formatter-test.cc.o +[ 68%] Linking CXX executable ../bin/custom-formatter-test +[ 68%] Built target custom-formatter-test +[ 70%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 72%] Linking CXX executable ../bin/ranges-test +[ 72%] Built target ranges-test +[ 74%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 76%] Linking CXX executable ../bin/scan-test +[ 76%] Built target scan-test +[ 78%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 80%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 82%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 84%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 86%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 88%] Linking CXX executable ../bin/posix-mock-test +[ 88%] Built target posix-mock-test +[ 90%] Building CXX object test/CMakeFiles/posix-test.dir/posix-test.cc.o +[ 92%] Linking CXX executable ../bin/posix-test +[ 92%] Built target posix-test +[ 94%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test.cc.o +[ 96%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test2.cc.o +[ 98%] Building CXX object test/CMakeFiles/header-only-test.dir/test-main.cc.o +[100%] Linking CXX executable ../bin/header-only-test +[100%] Built target header-only-test +Test project /home/fmt/build + Start 1: assert-test + 1/17 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/17 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: color-test + 3/17 Test #3: color-test ....................... Passed 0.00 sec + Start 4: core-test + 4/17 Test #4: core-test ........................ Passed 0.00 sec + Start 5: grisu-test + 5/17 Test #5: grisu-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/17 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/17 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/17 Test #8: format-impl-test ................. Passed 0.00 sec + Start 9: locale-test + 9/17 Test #9: locale-test ...................... Passed 0.00 sec + Start 10: ostream-test +10/17 Test #10: ostream-test ..................... Passed 0.00 sec + Start 11: compile-test +11/17 Test #11: compile-test ..................... Passed 0.00 sec + Start 12: printf-test +12/17 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: custom-formatter-test +13/17 Test #13: custom-formatter-test ............ Passed 0.00 sec + Start 14: ranges-test +14/17 Test #14: ranges-test ...................... Passed 0.00 sec + Start 15: scan-test +15/17 Test #15: scan-test ........................ Passed 0.00 sec + Start 16: posix-mock-test +16/17 Test #16: posix-mock-test .................. Passed 0.00 sec + Start 17: posix-test +17/17 Test #17: posix-test ....................... Passed 0.11 sec + +100% tests passed, 0 tests failed out of 17 + +Total Test time (real) = 0.15 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/fix.patch new file mode 100644 index 000000000..b5717ccb9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/fix.patch @@ -0,0 +1,67 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 6ed7fc43..5ab70136 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -427,6 +427,15 @@ inline size_t count_code_points(basic_string_view s) { + } + + // Counts the number of code points in a UTF-8 string. ++inline size_t count_code_points(basic_string_view s) { ++ const char* data = s.data(); ++ size_t num_code_points = 0; ++ for (size_t i = 0, size = s.size(); i != size; ++i) { ++ if ((data[i] & 0xc0) != 0x80) ++num_code_points; ++ } ++ return num_code_points; ++} ++ + inline size_t count_code_points(basic_string_view s) { + const char8_t* data = s.data(); + size_t num_code_points = 0; +@@ -436,6 +445,34 @@ inline size_t count_code_points(basic_string_view s) { + return num_code_points; + } + ++template ++inline size_t code_point_length(basic_string_view s, size_t num_code_points) { ++ return num_code_points < s.size() ? num_code_points : s.size(); ++} ++ ++inline size_t code_point_length(basic_string_view s, size_t num_code_points) { ++ const char* data = s.data(); ++ size_t i = 0, count = 0, size = s.size(); ++ while (i != size && count != num_code_points) { ++ if ((data[i] & 0xc0) != 0x80) ++count; ++ ++i; ++ } ++ // Skip trailing continuation bytes to include the full last code point. ++ while (i != size && (data[i] & 0xc0) == 0x80) ++i; ++ return i; ++} ++ ++inline size_t code_point_length(basic_string_view s, size_t num_code_points) { ++ const char8_t* data = s.data(); ++ size_t i = 0, count = 0, size = s.size(); ++ while (i != size && count != num_code_points) { ++ if ((data[i] & 0xc0) != 0x80) ++count; ++ ++i; ++ } ++ while (i != size && (data[i] & 0xc0) == 0x80) ++i; ++ return i; ++} ++ + inline char8_t to_char8_t(char c) { return static_cast(c); } + + template +@@ -1728,8 +1765,9 @@ template class basic_writer { + const format_specs& specs = format_specs()) { + const Char* data = s.data(); + std::size_t size = s.size(); +- if (specs.precision >= 0 && internal::to_unsigned(specs.precision) < size) +- size = internal::to_unsigned(specs.precision); ++ if (specs.precision >= 0 && ++ internal::to_unsigned(specs.precision) < internal::count_code_points(s)) ++ size = internal::code_point_length(s, internal::to_unsigned(specs.precision)); + write(data, size, specs); + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/report.json new file mode 100644 index 000000000..698e94c5e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1390/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 1390, "valid": true, "error_msg": "", "fixed_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "custom-formatter-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "grisu-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "posix-test", "format-test", "posix-mock-test", "core-test", "ranges-test", "scan-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 16, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "posix-test", "core-test", "posix-mock-test", "scan-test", "ranges-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "locale-test", "gtest-extra-test", "ostream-test", "chrono-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "posix-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/fix-patch-run.log new file mode 100644 index 000000000..15a1ec463 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/fix-patch-run.log @@ -0,0 +1,853 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6863 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.3 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5419 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.iPcitQ2E +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.iPcitQ2E/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.iPcitQ2E/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.iPcitQ2E/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.iPcitQ2E/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.iPcitQ2E/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.iPcitQ2E +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=3c781997fccc +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.hxjsEZ09Mw/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/core-test.cc +patching file test/format-test.cc +patching file include/fmt/core.h +patching file test/core-test.cc +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 6.0.0 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Looking for open +-- Looking for open - found +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Looking for a CUDA compiler +-- Looking for a CUDA compiler - NOTFOUND +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/posix.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 7%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 9%] Linking CXX static library libgmock.a +[ 9%] Built target gmock +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 15%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 17%] Linking CXX static library libtest-main.a +[ 17%] Built target test-main +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 23%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 25%] Linking CXX executable ../bin/chrono-test +[ 25%] Built target chrono-test +[ 27%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 29%] Linking CXX executable ../bin/color-test +[ 29%] Built target color-test +[ 31%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +/home/fmt/test/core-test.cc: In member function ‘virtual void CoreTest_HasFormatter_Test::TestBody()’: +/home/fmt/test/core-test.cc:456:14: error: ‘has_formatter’ has not been declared in ‘fmt’ + 456 | using fmt::has_formatter; + | ^~~~~~~~~~~~~ +/home/fmt/test/core-test.cc:458:17: error: ‘has_formatter’ was not declared in this scope; did you mean ‘enabled_formatter’? + 458 | static_assert(has_formatter::value, ""); + | ^~~~~~~~~~~~~ + | enabled_formatter +/home/fmt/test/core-test.cc:458:48: error: expected primary-expression before ‘,’ token + 458 | static_assert(has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:458:50: warning: ‘static_assert’ with non-string message only available with ‘-std=c++2c’ or ‘-std=gnu++2c’ [-Wc++26-extensions] + 458 | static_assert(has_formatter::value, ""); + | ^~~~~~~ +/home/fmt/test/core-test.cc:458:57: error: expected primary-expression before ‘>’ token + 458 | static_assert(has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:458:65: error: missing template arguments before ‘,’ token + 458 | static_assert(has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:458:65: error: expected ‘)’ before ‘,’ token + 458 | static_assert(has_formatter::value, ""); + | ~ ^ + | ) +/home/fmt/test/core-test.cc:459:50: error: expected primary-expression before ‘,’ token + 459 | static_assert(!has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:459:52: warning: ‘static_assert’ with non-string message only available with ‘-std=c++2c’ or ‘-std=gnu++2c’ [-Wc++26-extensions] + 459 | static_assert(!has_formatter::value, ""); + | ^~~~~~~ +/home/fmt/test/core-test.cc:459:59: error: expected primary-expression before ‘>’ token + 459 | static_assert(!has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:459:67: error: missing template arguments before ‘,’ token + 459 | static_assert(!has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:459:67: error: expected ‘)’ before ‘,’ token + 459 | static_assert(!has_formatter::value, ""); + | ~ ^ + | ) +/home/fmt/test/core-test.cc:460:62: error: expected primary-expression before ‘,’ token + 460 | static_assert(!has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:460:64: warning: ‘static_assert’ with non-string message only available with ‘-std=c++2c’ or ‘-std=gnu++2c’ [-Wc++26-extensions] + 460 | static_assert(!has_formatter::value, ""); + | ^~~~~~~ +/home/fmt/test/core-test.cc:460:71: error: expected primary-expression before ‘>’ token + 460 | static_assert(!has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:460:79: error: missing template arguments before ‘,’ token + 460 | static_assert(!has_formatter::value, ""); + | ^ +/home/fmt/test/core-test.cc:460:79: error: expected ‘)’ before ‘,’ token + 460 | static_assert(!has_formatter::value, ""); + | ~ ^ + | ) +gmake[2]: *** [test/CMakeFiles/core-test.dir/build.make:76: test/CMakeFiles/core-test.dir/core-test.cc.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:321: test/CMakeFiles/core-test.dir/all] Error 2 +gmake: *** [Makefile:166: all] Error 2 +Test project /home/fmt/build + Start 1: assert-test + 1/17 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/17 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: color-test + 3/17 Test #3: color-test ....................... Passed 0.00 sec + Start 4: core-test +Could not find executable /home/fmt/build/bin/core-test +Unable to find executable: /home/fmt/build/bin/core-test +Looked in the following places: +/home/fmt/build/bin/core-test +/home/fmt/build/bin/core-test +/home/fmt/build/bin/Release/core-test +/home/fmt/build/bin/Release/core-test +/home/fmt/build/bin/Debug/core-test +/home/fmt/build/bin/Debug/core-test +/home/fmt/build/bin/MinSizeRel/core-test +/home/fmt/build/bin/MinSizeRel/core-test +/home/fmt/build/bin/RelWithDebInfo/core-test +/home/fmt/build/bin/RelWithDebInfo/core-test +/home/fmt/build/bin/Deployment/core-test +/home/fmt/build/bin/Deployment/core-test +/home/fmt/build/bin/Development/core-test +/home/fmt/build/bin/Development/core-test +home/fmt/build/bin/core-test +home/fmt/build/bin/core-test +home/fmt/build/bin/Release/core-test +home/fmt/build/bin/Release/core-test +home/fmt/build/bin/Debug/core-test +home/fmt/build/bin/Debug/core-test +home/fmt/build/bin/MinSizeRel/core-test +home/fmt/build/bin/MinSizeRel/core-test +home/fmt/build/bin/RelWithDebInfo/core-test +home/fmt/build/bin/RelWithDebInfo/core-test +home/fmt/build/bin/Deployment/core-test +home/fmt/build/bin/Deployment/core-test +home/fmt/build/bin/Development/core-test +home/fmt/build/bin/Development/core-test + 4/17 Test #4: core-test ........................***Not Run 0.00 sec + Start 5: grisu-test +Could not find executable /home/fmt/build/bin/grisu-test +Looked in the following places: +/home/fmt/build/bin/grisu-test +/home/fmt/build/bin/grisu-test +/home/fmt/build/bin/Release/grisu-test +/home/fmt/build/bin/Release/grisu-test +/home/fmt/build/bin/Debug/grisu-test +/home/fmt/build/bin/Debug/grisu-test +/home/fmt/build/bin/MinSizeRel/grisu-test +/home/fmt/build/bin/MinSizeRel/grisu-test +/home/fmt/build/bin/RelWithDebInfo/grisu-test +/home/fmt/build/bin/RelWithDebInfo/grisu-test +/home/fmt/build/bin/Deployment/grisu-test +/home/fmt/build/bin/Deployment/grisu-test +/home/fmt/build/bin/Development/grisu-test +/home/fmt/build/bin/Development/grisu-test +home/fmt/build/bin/grisu-test +home/fmt/build/bin/grisu-test +home/fmt/build/bin/Release/grisu-test +home/fmt/build/bin/Release/grisu-test +home/fmt/build/bin/Debug/grisu-test +home/fmt/build/bin/Debug/grisu-test +home/fmt/build/bin/MinSizeRel/grisu-test +home/fmt/build/bin/MinSizeRel/grisu-test +home/fmt/build/bin/RelWithDebInfo/grisu-test +home/fmt/build/bin/RelWithDebInfo/grisu-test +home/fmt/build/bin/Deployment/grisu-test +home/fmt/build/bin/Deployment/grisu-test +home/fmt/build/bin/Development/grisu-test +home/fmt/build/bin/Development/grisu-test + 5/17 Test #5: grisu-test .......................***Not Run 0.00 sec + Start 6: gtest-extra-test +Could not find executable /home/fmt/build/bin/gtest-extra-test +Looked in the following places: +/home/fmt/build/bin/gtest-extra-test +/home/fmt/build/bin/gtest-extra-test +/home/fmt/build/bin/Release/gtest-extra-test +/home/fmt/build/bin/Release/gtest-extra-test +/home/fmt/build/bin/Debug/gtest-extra-test +/home/fmt/build/bin/Debug/gtest-extra-test +Unable to find executable: /home/fmt/build/bin/grisu-test +Unable to find executable: /home/fmt/build/bin/gtest-extra-test +/home/fmt/build/bin/MinSizeRel/gtest-extra-test +/home/fmt/build/bin/MinSizeRel/gtest-extra-test +/home/fmt/build/bin/RelWithDebInfo/gtest-extra-test +/home/fmt/build/bin/RelWithDebInfo/gtest-extra-test +/home/fmt/build/bin/Deployment/gtest-extra-test +/home/fmt/build/bin/Deployment/gtest-extra-test +/home/fmt/build/bin/Development/gtest-extra-test +/home/fmt/build/bin/Development/gtest-extra-test +home/fmt/build/bin/gtest-extra-test +home/fmt/build/bin/gtest-extra-test +home/fmt/build/bin/Release/gtest-extra-test +home/fmt/build/bin/Release/gtest-extra-test +home/fmt/build/bin/Debug/gtest-extra-test +home/fmt/build/bin/Debug/gtest-extra-test +home/fmt/build/bin/MinSizeRel/gtest-extra-test +home/fmt/build/bin/MinSizeRel/gtest-extra-test +home/fmt/build/bin/RelWithDebInfo/gtest-extra-test +home/fmt/build/bin/RelWithDebInfo/gtest-extra-test +home/fmt/build/bin/Deployment/gtest-extra-test +home/fmt/build/bin/Deployment/gtest-extra-test +home/fmt/build/bin/Development/gtest-extra-test +home/fmt/build/bin/Development/gtest-extra-test + 6/17 Test #6: gtest-extra-test .................***Not Run 0.00 sec + Start 7: format-test +Could not find executable /home/fmt/build/bin/format-test +Looked in the following places: +/home/fmt/build/bin/format-test +/home/fmt/build/bin/format-test +/home/fmt/build/bin/Release/format-test +/home/fmt/build/bin/Release/format-test +/home/fmt/build/bin/Debug/format-test +/home/fmt/build/bin/Debug/format-test +Unable to find executable: /home/fmt/build/bin/format-test +/home/fmt/build/bin/MinSizeRel/format-test +/home/fmt/build/bin/MinSizeRel/format-test +/home/fmt/build/bin/RelWithDebInfo/format-test +/home/fmt/build/bin/RelWithDebInfo/format-test +/home/fmt/build/bin/Deployment/format-test +/home/fmt/build/bin/Deployment/format-test +/home/fmt/build/bin/Development/format-test +/home/fmt/build/bin/Development/format-test +home/fmt/build/bin/format-test +home/fmt/build/bin/format-test +home/fmt/build/bin/Release/format-test +home/fmt/build/bin/Release/format-test +home/fmt/build/bin/Debug/format-test +home/fmt/build/bin/Debug/format-test +home/fmt/build/bin/MinSizeRel/format-test +home/fmt/build/bin/MinSizeRel/format-test +home/fmt/build/bin/RelWithDebInfo/format-test +home/fmt/build/bin/RelWithDebInfo/format-test +home/fmt/build/bin/Deployment/format-test +home/fmt/build/bin/Deployment/format-test +home/fmt/build/bin/Development/format-test +home/fmt/build/bin/Development/format-test + 7/17 Test #7: format-test ......................***Not Run 0.00 sec + Start 8: format-impl-test +Unable to find executable: /home/fmt/build/bin/format-impl-test +Could not find executable /home/fmt/build/bin/format-impl-test +Looked in the following places: +/home/fmt/build/bin/format-impl-test +/home/fmt/build/bin/format-impl-test +/home/fmt/build/bin/Release/format-impl-test +/home/fmt/build/bin/Release/format-impl-test +/home/fmt/build/bin/Debug/format-impl-test +/home/fmt/build/bin/Debug/format-impl-test +/home/fmt/build/bin/MinSizeRel/format-impl-test +/home/fmt/build/bin/MinSizeRel/format-impl-test +/home/fmt/build/bin/RelWithDebInfo/format-impl-test +/home/fmt/build/bin/RelWithDebInfo/format-impl-test +/home/fmt/build/bin/Deployment/format-impl-test +/home/fmt/build/bin/Deployment/format-impl-test +/home/fmt/build/bin/Development/format-impl-test +/home/fmt/build/bin/Development/format-impl-test +home/fmt/build/bin/format-impl-test +home/fmt/build/bin/format-impl-test +home/fmt/build/bin/Release/format-impl-test +home/fmt/build/bin/Release/format-impl-test +home/fmt/build/bin/Debug/format-impl-test +home/fmt/build/bin/Debug/format-impl-test +home/fmt/build/bin/MinSizeRel/format-impl-test +home/fmt/build/bin/MinSizeRel/format-impl-test +home/fmt/build/bin/RelWithDebInfo/format-impl-test +home/fmt/build/bin/RelWithDebInfo/format-impl-test +home/fmt/build/bin/Deployment/format-impl-test +home/fmt/build/bin/Deployment/format-impl-test +home/fmt/build/bin/Development/format-impl-test +home/fmt/build/bin/Development/format-impl-test + 8/17 Test #8: format-impl-test .................***Not Run 0.00 sec + Start 9: locale-test +Could not find executable /home/fmt/build/bin/locale-test +Looked in the following places: +/home/fmt/build/bin/locale-test +/home/fmt/build/bin/locale-test +/home/fmt/build/bin/Release/locale-test +/home/fmt/build/bin/Release/locale-test +/home/fmt/build/bin/Debug/locale-test +/home/fmt/build/bin/Debug/locale-test +/home/fmt/build/bin/MinSizeRel/locale-test +/home/fmt/build/bin/MinSizeRel/locale-test +/home/fmt/build/bin/RelWithDebInfo/locale-test +/home/fmt/build/bin/RelWithDebInfo/locale-test +Unable to find executable: /home/fmt/build/bin/locale-test +/home/fmt/build/bin/Deployment/locale-test +/home/fmt/build/bin/Deployment/locale-test +/home/fmt/build/bin/Development/locale-test +/home/fmt/build/bin/Development/locale-test +home/fmt/build/bin/locale-test +home/fmt/build/bin/locale-test +home/fmt/build/bin/Release/locale-test +home/fmt/build/bin/Release/locale-test +home/fmt/build/bin/Debug/locale-test +home/fmt/build/bin/Debug/locale-test +home/fmt/build/bin/MinSizeRel/locale-test +home/fmt/build/bin/MinSizeRel/locale-test +home/fmt/build/bin/RelWithDebInfo/locale-test +home/fmt/build/bin/RelWithDebInfo/locale-test +home/fmt/build/bin/Deployment/locale-test +home/fmt/build/bin/Deployment/locale-test +home/fmt/build/bin/Development/locale-test +home/fmt/build/bin/Development/locale-test + 9/17 Test #9: locale-test ......................***Not Run 0.00 sec + Start 10: ostream-test +Could not find executable /home/fmt/build/bin/ostream-test +Looked in the following places: +/home/fmt/build/bin/ostream-test +/home/fmt/build/bin/ostream-test +/home/fmt/build/bin/Release/ostream-test +/home/fmt/build/bin/Release/ostream-test +/home/fmt/build/bin/Debug/ostream-test +/home/fmt/build/bin/Debug/ostream-test +/home/fmt/build/bin/MinSizeRel/ostream-test +/home/fmt/build/bin/MinSizeRel/ostream-test +/home/fmt/build/bin/RelWithDebInfo/ostream-test +/home/fmt/build/bin/RelWithDebInfo/ostream-test +/home/fmt/build/bin/Deployment/ostream-test +/home/fmt/build/bin/Deployment/ostream-test +/home/fmt/build/bin/Development/ostream-test +/home/fmt/build/bin/Development/ostream-test +home/fmt/build/bin/ostream-test +home/fmt/build/bin/ostream-test +home/fmt/build/bin/Release/ostream-test +home/fmt/build/bin/Release/ostream-test +home/fmt/build/bin/Debug/ostream-test +home/fmt/build/bin/Debug/ostream-test +home/fmt/build/bin/MinSizeRel/ostream-test +home/fmt/build/bin/MinSizeRel/ostream-test +home/fmt/build/bin/RelWithDebInfo/ostream-test +Unable to find executable: /home/fmt/build/bin/ostream-test +home/fmt/build/bin/RelWithDebInfo/ostream-test +home/fmt/build/bin/Deployment/ostream-test +home/fmt/build/bin/Deployment/ostream-test +home/fmt/build/bin/Development/ostream-test +home/fmt/build/bin/Development/ostream-test +10/17 Test #10: ostream-test .....................***Not Run 0.00 sec + Start 11: compile-test +Could not find executable /home/fmt/build/bin/compile-test +Looked in the following places: +/home/fmt/build/bin/compile-test +/home/fmt/build/bin/compile-test +/home/fmt/build/bin/Release/compile-test +/home/fmt/build/bin/Release/compile-test +/home/fmt/build/bin/Debug/compile-test +/home/fmt/build/bin/Debug/compile-test +/home/fmt/build/bin/MinSizeRel/compile-test +/home/fmt/build/bin/MinSizeRel/compile-test +/home/fmt/build/bin/RelWithDebInfo/compile-test +/home/fmt/build/bin/RelWithDebInfo/compile-test +/home/fmt/build/bin/Deployment/compile-test +/home/fmt/build/bin/Deployment/compile-test +/home/fmt/build/bin/Development/compile-test +/home/fmt/build/bin/Development/compile-test +home/fmt/build/bin/compile-test +home/fmt/build/bin/compile-test +home/fmt/build/bin/Release/compile-test +Unable to find executable: /home/fmt/build/bin/compile-test +home/fmt/build/bin/Release/compile-test +home/fmt/build/bin/Debug/compile-test +home/fmt/build/bin/Debug/compile-test +home/fmt/build/bin/MinSizeRel/compile-test +home/fmt/build/bin/MinSizeRel/compile-test +home/fmt/build/bin/RelWithDebInfo/compile-test +home/fmt/build/bin/RelWithDebInfo/compile-test +home/fmt/build/bin/Deployment/compile-test +home/fmt/build/bin/Deployment/compile-test +home/fmt/build/bin/Development/compile-test +home/fmt/build/bin/Development/compile-test +11/17 Test #11: compile-test .....................***Not Run 0.00 sec + Start 12: printf-test +Could not find executable /home/fmt/build/bin/printf-test +Looked in the following places: +/home/fmt/build/bin/printf-test +/home/fmt/build/bin/printf-test +/home/fmt/build/bin/Release/printf-test +/home/fmt/build/bin/Release/printf-test +/home/fmt/build/bin/Debug/printf-test +/home/fmt/build/bin/Debug/printf-test +/home/fmt/build/bin/MinSizeRel/printf-test +/home/fmt/build/bin/MinSizeRel/printf-test +/home/fmt/build/bin/RelWithDebInfo/printf-test +/home/fmt/build/bin/RelWithDebInfo/printf-test +/home/fmt/build/bin/Deployment/printf-test +/home/fmt/build/bin/Deployment/printf-test +/home/fmt/build/bin/Development/printf-test +/home/fmt/build/bin/Development/printf-test +home/fmt/build/bin/printf-test +home/fmt/build/bin/printf-test +home/fmt/build/bin/Release/printf-test +home/fmt/build/bin/Release/printf-test +Unable to find executable: /home/fmt/build/bin/printf-test +home/fmt/build/bin/Debug/printf-test +home/fmt/build/bin/Debug/printf-test +home/fmt/build/bin/MinSizeRel/printf-test +home/fmt/build/bin/MinSizeRel/printf-test +home/fmt/build/bin/RelWithDebInfo/printf-test +home/fmt/build/bin/RelWithDebInfo/printf-test +home/fmt/build/bin/Deployment/printf-test +home/fmt/build/bin/Deployment/printf-test +home/fmt/build/bin/Development/printf-test +home/fmt/build/bin/Development/printf-test +12/17 Test #12: printf-test ......................***Not Run 0.00 sec + Start 13: custom-formatter-test +Could not find executable /home/fmt/build/bin/custom-formatter-test +Looked in the following places: +/home/fmt/build/bin/custom-formatter-test +/home/fmt/build/bin/custom-formatter-test +/home/fmt/build/bin/Release/custom-formatter-test +/home/fmt/build/bin/Release/custom-formatter-test +/home/fmt/build/bin/Debug/custom-formatter-test +/home/fmt/build/bin/Debug/custom-formatter-test +/home/fmt/build/bin/MinSizeRel/custom-formatter-test +/home/fmt/build/bin/MinSizeRel/custom-formatter-test +/home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +/home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +/home/fmt/build/bin/Deployment/custom-formatter-test +/home/fmt/build/bin/Deployment/custom-formatter-test +/home/fmt/build/bin/Development/custom-formatter-test +/home/fmt/build/bin/Development/custom-formatter-test +home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/Release/custom-formatter-test +home/fmt/build/bin/Release/custom-formatter-test +home/fmt/build/bin/Debug/custom-formatter-test +Unable to find executable: /home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/Debug/custom-formatter-test +home/fmt/build/bin/MinSizeRel/custom-formatter-test +home/fmt/build/bin/MinSizeRel/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +home/fmt/build/bin/Deployment/custom-formatter-test +home/fmt/build/bin/Deployment/custom-formatter-test +home/fmt/build/bin/Development/custom-formatter-test +home/fmt/build/bin/Development/custom-formatter-test +13/17 Test #13: custom-formatter-test ............***Not Run 0.00 sec + Start 14: ranges-test +Could not find executable /home/fmt/build/bin/ranges-test +Looked in the following places: +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Development/ranges-test +/home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/Development/ranges-test +14/17 Test #14: ranges-test ......................***Not Run 0.00 sec +Unable to find executable: /home/fmt/build/bin/ranges-test + Start 15: scan-test +Could not find executable /home/fmt/build/bin/scan-test +Looked in the following places: +/home/fmt/build/bin/scan-test +/home/fmt/build/bin/scan-test +/home/fmt/build/bin/Release/scan-test +/home/fmt/build/bin/Release/scan-test +/home/fmt/build/bin/Debug/scan-test +/home/fmt/build/bin/Debug/scan-test +/home/fmt/build/bin/MinSizeRel/scan-test +/home/fmt/build/bin/MinSizeRel/scan-test +/home/fmt/build/bin/RelWithDebInfo/scan-test +/home/fmt/build/bin/RelWithDebInfo/scan-test +/home/fmt/build/bin/Deployment/scan-test +/home/fmt/build/bin/Deployment/scan-test +/home/fmt/build/bin/Development/scan-test +/home/fmt/build/bin/Development/scan-test +home/fmt/build/bin/scan-test +Unable to find executable: /home/fmt/build/bin/scan-test +home/fmt/build/bin/scan-test +home/fmt/build/bin/Release/scan-test +home/fmt/build/bin/Release/scan-test +home/fmt/build/bin/Debug/scan-test +home/fmt/build/bin/Debug/scan-test +home/fmt/build/bin/MinSizeRel/scan-test +home/fmt/build/bin/MinSizeRel/scan-test +home/fmt/build/bin/RelWithDebInfo/scan-test +home/fmt/build/bin/RelWithDebInfo/scan-test +home/fmt/build/bin/Deployment/scan-test +home/fmt/build/bin/Deployment/scan-test +home/fmt/build/bin/Development/scan-test +home/fmt/build/bin/Development/scan-test +15/17 Test #15: scan-test ........................***Not Run 0.00 sec + Start 16: posix-mock-test +Could not find executable /home/fmt/build/bin/posix-mock-test +Looked in the following places: +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +Unable to find executable: /home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +16/17 Test #16: posix-mock-test ..................***Not Run 0.00 sec + Start 17: posix-test +Could not find executable /home/fmt/build/bin/posix-test +Looked in the following places: +/home/fmt/build/bin/posix-test +/home/fmt/build/bin/posix-test +/home/fmt/build/bin/Release/posix-test +/home/fmt/build/bin/Release/posix-test +/home/fmt/build/bin/Debug/posix-test +/home/fmt/build/bin/Debug/posix-test +/home/fmt/build/bin/MinSizeRel/posix-test +/home/fmt/build/bin/MinSizeRel/posix-test +/home/fmt/build/bin/RelWithDebInfo/posix-test +/home/fmt/build/bin/RelWithDebInfo/posix-test +/home/fmt/build/bin/Deployment/posix-test +/home/fmt/build/bin/Deployment/posix-test +/home/fmt/build/bin/Development/posix-test +/home/fmt/build/bin/Development/posix-test +home/fmt/build/bin/posix-test +home/fmt/build/bin/posix-test +Unable to find executable: /home/fmt/build/bin/posix-test +home/fmt/build/bin/Release/posix-test +home/fmt/build/bin/Release/posix-test +home/fmt/build/bin/Debug/posix-test +home/fmt/build/bin/Debug/posix-test +home/fmt/build/bin/MinSizeRel/posix-test +home/fmt/build/bin/MinSizeRel/posix-test +home/fmt/build/bin/RelWithDebInfo/posix-test +home/fmt/build/bin/RelWithDebInfo/posix-test +home/fmt/build/bin/Deployment/posix-test +home/fmt/build/bin/Deployment/posix-test +home/fmt/build/bin/Development/posix-test +home/fmt/build/bin/Development/posix-test +17/17 Test #17: posix-test .......................***Not Run 0.00 sec + +18% tests passed, 14 tests failed out of 17 + +Total Test time (real) = 0.01 sec + +The following tests FAILED: + 4 - core-test (Not Run) + 5 - grisu-test (Not Run) + 6 - gtest-extra-test (Not Run) + 7 - format-test (Not Run) + 8 - format-impl-test (Not Run) + 9 - locale-test (Not Run) + 10 - ostream-test (Not Run) + 11 - compile-test (Not Run) + 12 - printf-test (Not Run) + 13 - custom-formatter-test (Not Run) + 14 - ranges-test (Not Run) + 15 - scan-test (Not Run) + 16 - posix-mock-test (Not Run) + 17 - posix-test (Not Run) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/fix.patch new file mode 100644 index 000000000..03f83f4c5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/fix.patch @@ -0,0 +1,72 @@ +diff --git a/include/fmt/core.h b/include/fmt/core.h +index 02a389fa..49f5bab7 100644 +--- a/include/fmt/core.h ++++ b/include/fmt/core.h +@@ -916,6 +916,17 @@ using mapped_type_constant = + type_constant().map(std::declval())), + typename Context::char_type>; + ++template ++struct is_formattable_impl : std::false_type {}; ++ ++template ++struct is_formattable_impl< ++ T, Context, ++ enable_if_t< ++ (mapped_type_constant::value != custom_type) || ++ has_formatter::value || ++ has_fallback_formatter::value>> : std::true_type {}; ++ + enum { packed_arg_bits = 5 }; + // Maximum number of arguments with packed types. + enum { max_packed_args = 63 / packed_arg_bits }; +@@ -1160,6 +1171,10 @@ using buffer_context = + using format_context = buffer_context; + using wformat_context = buffer_context; + ++/** Specifies if ``T`` is a formattable type. */ ++template ++using is_formattable = internal::is_formattable_impl; ++ + /** + \rst + An array of references to arguments. It can be implicitly converted into +diff --git a/test/core-test.cc b/test/core-test.cc +index acfd2cd0..a7dc7780 100644 +--- a/test/core-test.cc ++++ b/test/core-test.cc +@@ -649,3 +649,34 @@ TEST(FormatterTest, FormatExplicitlyConvertibleToStringLike) { + EXPECT_EQ("foo", fmt::format("{}", explicitly_convertible_to_string_like())); + } + #endif ++ ++struct not_formattable {}; ++ ++TEST(IsFormattableTest, BasicTypes) { ++ EXPECT_TRUE(fmt::is_formattable::value); ++ EXPECT_TRUE(fmt::is_formattable::value); ++ EXPECT_TRUE(fmt::is_formattable::value); ++ EXPECT_TRUE(fmt::is_formattable::value); ++ EXPECT_TRUE(fmt::is_formattable::value); ++ EXPECT_TRUE(fmt::is_formattable::value); ++ EXPECT_TRUE(fmt::is_formattable::value); ++ EXPECT_TRUE(fmt::is_formattable::value); ++ EXPECT_TRUE(fmt::is_formattable::value); ++} ++ ++TEST(IsFormattableTest, CustomFormattableType) { ++ EXPECT_TRUE(fmt::is_formattable::value); ++} ++ ++TEST(IsFormattableTest, NonFormattableType) { ++ EXPECT_FALSE(fmt::is_formattable::value); ++} ++ ++#if FMT_USE_CONSTEXPR ++TEST(IsFormattableTest, ConstexprContext) { ++ constexpr bool is_int_formattable = fmt::is_formattable::value; ++ EXPECT_TRUE(is_int_formattable); ++ constexpr bool is_not_formattable = !fmt::is_formattable::value; ++ EXPECT_TRUE(is_not_formattable); ++} ++#endif diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/report.json new file mode 100644 index 000000000..f89974032 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1407/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 1407, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "posix-test", "format-test", "posix-mock-test", "core-test", "ranges-test", "scan-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 3, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "chrono-test", "color-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/fix-patch-run.log new file mode 100644 index 000000000..fc704adc5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/fix-patch-run.log @@ -0,0 +1,820 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7061 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.9 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (23.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5117 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.tGhEzd6u +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.tGhEzd6u/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.tGhEzd6u/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.tGhEzd6u/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.tGhEzd6u/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.tGhEzd6u/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.tGhEzd6u +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=c47bbabe5b53 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.dWigT3RqFu/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/core-test.cc +patching file include/fmt/core.h +patching file test-file +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 6.2.1 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 7%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 9%] Linking CXX static library libgmock.a +[ 9%] Built target gmock +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 15%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 17%] Linking CXX static library libtest-main.a +[ 17%] Built target test-main +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 23%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 25%] Linking CXX executable ../bin/chrono-test +[ 25%] Built target chrono-test +[ 27%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 29%] Linking CXX executable ../bin/color-test +[ 29%] Built target color-test +[ 31%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +In file included from /home/fmt/test/core-test.cc:26: +/home/fmt/include/fmt/core.h: In instantiation of ‘void fmt::v6::dynamic_format_arg_store::push_back(std::reference_wrapper<_Functor>) [with T = const fmt::v6::internal::named_arg; Context = fmt::v6::basic_format_context >, char>]’: +/home/fmt/test/core-test.cc:496:18: required from here + 496 | store.push_back(std::cref(a1)); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1534:23: error: static assertion failed: objects of built-in types and string views are always copied + 1534 | need_copy::value, + | ^~~~~ +/home/fmt/include/fmt/core.h:1534:23: note: ‘fmt::v6::dynamic_format_arg_store >, char> >::need_copy >::value’ evaluates to false +/home/fmt/include/fmt/core.h: In instantiation of ‘int fmt::v6::internal::arg_mapper::map(...) [with Context = fmt::v6::basic_format_context >, char>]’: +/home/fmt/include/fmt/core.h:1257:41: required from ‘fmt::v6::basic_format_arg fmt::v6::internal::make_arg(const T&) [with Context = fmt::v6::basic_format_context >, char>; T = std::reference_wrapper]’ + 1257 | arg.value_ = arg_mapper().map(value); + | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ +/home/fmt/include/fmt/core.h:1481:51: required from ‘void fmt::v6::dynamic_format_arg_store::emplace_arg(const T&) [with T = std::reference_wrapper; Context = fmt::v6::basic_format_context >, char>]’ + 1481 | data_.emplace_back(internal::make_arg(arg)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ +/home/fmt/include/fmt/core.h:1491:18: required from ‘void fmt::v6::dynamic_format_arg_store::push_back_named_arg(const fmt::v6::internal::named_arg&) [with T = std::reference_wrapper; Context = fmt::v6::basic_format_context >, char>; typename Context::char_type = char]’ + 1491 | emplace_arg(dynamic_args_.push>(arg.value)); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1525:24: required from ‘void fmt::v6::dynamic_format_arg_store::push_back(const fmt::v6::internal::named_arg&) [with T = std::reference_wrapper; Context = fmt::v6::basic_format_context >, char>; typename Context::char_type = char]’ + 1525 | push_back_named_arg(arg); + | ~~~~~~~~~~~~~~~~~~~^~~~~ +/home/fmt/test/core-test.cc:512:18: required from here + 512 | store.push_back(fmt::arg("c_ref", std::cref(c))); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1094:9: error: static assertion failed: Cannot format argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#formatting-user-defined-types + 1094 | formattable, + | ^~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1094:9: note: ‘formattable’ evaluates to false +gmake[2]: *** [test/CMakeFiles/core-test.dir/build.make:76: test/CMakeFiles/core-test.dir/core-test.cc.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:321: test/CMakeFiles/core-test.dir/all] Error 2 +gmake: *** [Makefile:166: all] Error 2 +Test project /home/fmt/build + Start 1: assert-test + 1/17 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/17 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: color-test + 3/17 Test #3: color-test ....................... Passed 0.00 sec + Start 4: core-test +Could not find executable /home/fmt/build/bin/core-test +Looked in the following places: +/home/fmt/build/bin/core-test +/home/fmt/build/bin/core-test +/home/fmt/build/bin/Release/core-test +/home/fmt/build/bin/Release/core-test +/home/fmt/build/bin/Debug/core-test +/home/fmt/build/bin/Debug/core-test +/home/fmt/build/bin/MinSizeRel/core-test +/home/fmt/build/bin/MinSizeRel/core-test +/home/fmt/build/bin/RelWithDebInfo/core-test +/home/fmt/build/bin/RelWithDebInfo/core-test +/home/fmt/build/bin/Deployment/core-test +/home/fmt/build/bin/Deployment/core-test +/home/fmt/build/bin/Development/core-test +/home/fmt/build/bin/Development/core-test +home/fmt/build/bin/core-test +home/fmt/build/bin/core-test +home/fmt/build/bin/Release/core-test +home/fmt/build/bin/Release/core-test +home/fmt/build/bin/Debug/core-test +home/fmt/build/bin/Debug/core-test +home/fmt/build/bin/MinSizeRel/core-test +home/fmt/build/bin/MinSizeRel/core-test +home/fmt/build/bin/RelWithDebInfo/core-test +home/fmt/build/bin/RelWithDebInfo/core-test +home/fmt/build/bin/Deployment/core-test +home/fmt/build/bin/Deployment/core-test +home/fmt/build/bin/Development/core-test +home/fmt/build/bin/Development/core-test + 4/17 Test #4: core-test ........................***Not Run 0.00 sec +Unable to find executable: /home/fmt/build/bin/core-test + Start 5: grisu-test +Could not find executable /home/fmt/build/bin/grisu-test +Looked in the following places: +/home/fmt/build/bin/grisu-test +/home/fmt/build/bin/grisu-test +/home/fmt/build/bin/Release/grisu-test +/home/fmt/build/bin/Release/grisu-test +/home/fmt/build/bin/Debug/grisu-test +/home/fmt/build/bin/Debug/grisu-test +/home/fmt/build/bin/MinSizeRel/grisu-test +/home/fmt/build/bin/MinSizeRel/grisu-test +/home/fmt/build/bin/RelWithDebInfo/grisu-test +/home/fmt/build/bin/RelWithDebInfo/grisu-test +/home/fmt/build/bin/Deployment/grisu-test +/home/fmt/build/bin/Deployment/grisu-test +Unable to find executable: /home/fmt/build/bin/grisu-test +/home/fmt/build/bin/Development/grisu-test +/home/fmt/build/bin/Development/grisu-test +home/fmt/build/bin/grisu-test +home/fmt/build/bin/grisu-test +home/fmt/build/bin/Release/grisu-test +home/fmt/build/bin/Release/grisu-test +home/fmt/build/bin/Debug/grisu-test +home/fmt/build/bin/Debug/grisu-test +home/fmt/build/bin/MinSizeRel/grisu-test +home/fmt/build/bin/MinSizeRel/grisu-test +home/fmt/build/bin/RelWithDebInfo/grisu-test +home/fmt/build/bin/RelWithDebInfo/grisu-test +home/fmt/build/bin/Deployment/grisu-test +home/fmt/build/bin/Deployment/grisu-test +home/fmt/build/bin/Development/grisu-test +home/fmt/build/bin/Development/grisu-test + 5/17 Test #5: grisu-test .......................***Not Run 0.00 sec + Start 6: gtest-extra-test +Could not find executable /home/fmt/build/bin/gtest-extra-test +Looked in the following places: +/home/fmt/build/bin/gtest-extra-test +/home/fmt/build/bin/gtest-extra-test +/home/fmt/build/bin/Release/gtest-extra-test +/home/fmt/build/bin/Release/gtest-extra-test +/home/fmt/build/bin/Debug/gtest-extra-test +/home/fmt/build/bin/Debug/gtest-extra-test +/home/fmt/build/bin/MinSizeRel/gtest-extra-test +/home/fmt/build/bin/MinSizeRel/gtest-extra-test +Unable to find executable: /home/fmt/build/bin/gtest-extra-test +/home/fmt/build/bin/RelWithDebInfo/gtest-extra-test +/home/fmt/build/bin/RelWithDebInfo/gtest-extra-test +/home/fmt/build/bin/Deployment/gtest-extra-test +/home/fmt/build/bin/Deployment/gtest-extra-test +/home/fmt/build/bin/Development/gtest-extra-test +/home/fmt/build/bin/Development/gtest-extra-test +home/fmt/build/bin/gtest-extra-test +home/fmt/build/bin/gtest-extra-test +home/fmt/build/bin/Release/gtest-extra-test +home/fmt/build/bin/Release/gtest-extra-test +home/fmt/build/bin/Debug/gtest-extra-test +home/fmt/build/bin/Debug/gtest-extra-test +home/fmt/build/bin/MinSizeRel/gtest-extra-test +home/fmt/build/bin/MinSizeRel/gtest-extra-test +home/fmt/build/bin/RelWithDebInfo/gtest-extra-test +home/fmt/build/bin/RelWithDebInfo/gtest-extra-test +home/fmt/build/bin/Deployment/gtest-extra-test +home/fmt/build/bin/Deployment/gtest-extra-test +home/fmt/build/bin/Development/gtest-extra-test +home/fmt/build/bin/Development/gtest-extra-test + 6/17 Test #6: gtest-extra-test .................***Not Run 0.00 sec + Start 7: format-test +Could not find executable /home/fmt/build/bin/format-test +Looked in the following places: +/home/fmt/build/bin/format-test +/home/fmt/build/bin/format-test +/home/fmt/build/bin/Release/format-test +/home/fmt/build/bin/Release/format-test +/home/fmt/build/bin/Debug/format-test +/home/fmt/build/bin/Debug/format-test +/home/fmt/build/bin/MinSizeRel/format-test +/home/fmt/build/bin/MinSizeRel/format-test +/home/fmt/build/bin/RelWithDebInfo/format-test +/home/fmt/build/bin/RelWithDebInfo/format-test +/home/fmt/build/bin/Deployment/format-test +/home/fmt/build/bin/Deployment/format-test +/home/fmt/build/bin/Development/format-test +/home/fmt/build/bin/Development/format-test +home/fmt/build/bin/format-test +home/fmt/build/bin/format-test +home/fmt/build/bin/Release/format-test +home/fmt/build/bin/Release/format-test +home/fmt/build/bin/Debug/format-test +home/fmt/build/bin/Debug/format-test +home/fmt/build/bin/MinSizeRel/format-test +home/fmt/build/bin/MinSizeRel/format-test +home/fmt/build/bin/RelWithDebInfo/format-test +Unable to find executable: /home/fmt/build/bin/format-test +home/fmt/build/bin/RelWithDebInfo/format-test +home/fmt/build/bin/Deployment/format-test +home/fmt/build/bin/Deployment/format-test +home/fmt/build/bin/Development/format-test +home/fmt/build/bin/Development/format-test + 7/17 Test #7: format-test ......................***Not Run 0.00 sec + Start 8: format-impl-test +Unable to find executable: /home/fmt/build/bin/format-impl-test +Could not find executable /home/fmt/build/bin/format-impl-test +Looked in the following places: +/home/fmt/build/bin/format-impl-test +/home/fmt/build/bin/format-impl-test +/home/fmt/build/bin/Release/format-impl-test +/home/fmt/build/bin/Release/format-impl-test +/home/fmt/build/bin/Debug/format-impl-test +/home/fmt/build/bin/Debug/format-impl-test +/home/fmt/build/bin/MinSizeRel/format-impl-test +/home/fmt/build/bin/MinSizeRel/format-impl-test +/home/fmt/build/bin/RelWithDebInfo/format-impl-test +/home/fmt/build/bin/RelWithDebInfo/format-impl-test +/home/fmt/build/bin/Deployment/format-impl-test +/home/fmt/build/bin/Deployment/format-impl-test +/home/fmt/build/bin/Development/format-impl-test +/home/fmt/build/bin/Development/format-impl-test +home/fmt/build/bin/format-impl-test +home/fmt/build/bin/format-impl-test +home/fmt/build/bin/Release/format-impl-test +home/fmt/build/bin/Release/format-impl-test +home/fmt/build/bin/Debug/format-impl-test +home/fmt/build/bin/Debug/format-impl-test +home/fmt/build/bin/MinSizeRel/format-impl-test +home/fmt/build/bin/MinSizeRel/format-impl-test +home/fmt/build/bin/RelWithDebInfo/format-impl-test +home/fmt/build/bin/RelWithDebInfo/format-impl-test +home/fmt/build/bin/Deployment/format-impl-test +home/fmt/build/bin/Deployment/format-impl-test +home/fmt/build/bin/Development/format-impl-test +home/fmt/build/bin/Development/format-impl-test + 8/17 Test #8: format-impl-test .................***Not Run 0.00 sec +Unable to find executable: /home/fmt/build/bin/locale-test + Start 9: locale-test +Could not find executable /home/fmt/build/bin/locale-test +Looked in the following places: +/home/fmt/build/bin/locale-test +/home/fmt/build/bin/locale-test +/home/fmt/build/bin/Release/locale-test +/home/fmt/build/bin/Release/locale-test +/home/fmt/build/bin/Debug/locale-test +/home/fmt/build/bin/Debug/locale-test +/home/fmt/build/bin/MinSizeRel/locale-test +/home/fmt/build/bin/MinSizeRel/locale-test +/home/fmt/build/bin/RelWithDebInfo/locale-test +/home/fmt/build/bin/RelWithDebInfo/locale-test +/home/fmt/build/bin/Deployment/locale-test +/home/fmt/build/bin/Deployment/locale-test +/home/fmt/build/bin/Development/locale-test +/home/fmt/build/bin/Development/locale-test +home/fmt/build/bin/locale-test +home/fmt/build/bin/locale-test +home/fmt/build/bin/Release/locale-test +home/fmt/build/bin/Release/locale-test +home/fmt/build/bin/Debug/locale-test +home/fmt/build/bin/Debug/locale-test +home/fmt/build/bin/MinSizeRel/locale-test +home/fmt/build/bin/MinSizeRel/locale-test +home/fmt/build/bin/RelWithDebInfo/locale-test +home/fmt/build/bin/RelWithDebInfo/locale-test +home/fmt/build/bin/Deployment/locale-test +home/fmt/build/bin/Deployment/locale-test +home/fmt/build/bin/Development/locale-test +home/fmt/build/bin/Development/locale-test + 9/17 Test #9: locale-test ......................***Not Run 0.00 sec + Start 10: ostream-test +Could not find executable /home/fmt/build/bin/ostream-test +Looked in the following places: +/home/fmt/build/bin/ostream-test +/home/fmt/build/bin/ostream-test +/home/fmt/build/bin/Release/ostream-test +/home/fmt/build/bin/Release/ostream-test +/home/fmt/build/bin/Debug/ostream-test +/home/fmt/build/bin/Debug/ostream-test +/home/fmt/build/bin/MinSizeRel/ostream-test +/home/fmt/build/bin/MinSizeRel/ostream-test +/home/fmt/build/bin/RelWithDebInfo/ostream-test +/home/fmt/build/bin/RelWithDebInfo/ostream-test +/home/fmt/build/bin/Deployment/ostream-test +/home/fmt/build/bin/Deployment/ostream-test +/home/fmt/build/bin/Development/ostream-test +/home/fmt/build/bin/Development/ostream-test +home/fmt/build/bin/ostream-test +home/fmt/build/bin/ostream-test +home/fmt/build/bin/Release/ostream-test +home/fmt/build/bin/Release/ostream-test +home/fmt/build/bin/Debug/ostream-test +home/fmt/build/bin/Debug/ostream-test +home/fmt/build/bin/MinSizeRel/ostream-test +home/fmt/build/bin/MinSizeRel/ostream-test +home/fmt/build/bin/RelWithDebInfo/ostream-test +home/fmt/build/bin/RelWithDebInfo/ostream-test +home/fmt/build/bin/Deployment/ostream-test +home/fmt/build/bin/Deployment/ostream-test +home/fmt/build/bin/Development/ostream-test +home/fmt/build/bin/Development/ostream-test +Unable to find executable: /home/fmt/build/bin/ostream-test +10/17 Test #10: ostream-test .....................***Not Run 0.00 sec + Start 11: compile-test +Could not find executable /home/fmt/build/bin/compile-test +Looked in the following places: +/home/fmt/build/bin/compile-test +/home/fmt/build/bin/compile-test +/home/fmt/build/bin/Release/compile-test +/home/fmt/build/bin/Release/compile-test +/home/fmt/build/bin/Debug/compile-test +/home/fmt/build/bin/Debug/compile-test +/home/fmt/build/bin/MinSizeRel/compile-test +/home/fmt/build/bin/MinSizeRel/compile-test +/home/fmt/build/bin/RelWithDebInfo/compile-test +/home/fmt/build/bin/RelWithDebInfo/compile-test +/home/fmt/build/bin/Deployment/compile-test +/home/fmt/build/bin/Deployment/compile-test +/home/fmt/build/bin/Development/compile-test +/home/fmt/build/bin/Development/compile-test +home/fmt/build/bin/compile-test +home/fmt/build/bin/compile-test +home/fmt/build/bin/Release/compile-test +home/fmt/build/bin/Release/compile-test +Unable to find executable: /home/fmt/build/bin/compile-test +home/fmt/build/bin/Debug/compile-test +home/fmt/build/bin/Debug/compile-test +home/fmt/build/bin/MinSizeRel/compile-test +home/fmt/build/bin/MinSizeRel/compile-test +home/fmt/build/bin/RelWithDebInfo/compile-test +home/fmt/build/bin/RelWithDebInfo/compile-test +home/fmt/build/bin/Deployment/compile-test +home/fmt/build/bin/Deployment/compile-test +home/fmt/build/bin/Development/compile-test +home/fmt/build/bin/Development/compile-test +11/17 Test #11: compile-test .....................***Not Run 0.00 sec + Start 12: printf-test +Could not find executable /home/fmt/build/bin/printf-test +Looked in the following places: +/home/fmt/build/bin/printf-test +/home/fmt/build/bin/printf-test +/home/fmt/build/bin/Release/printf-test +/home/fmt/build/bin/Release/printf-test +/home/fmt/build/bin/Debug/printf-test +/home/fmt/build/bin/Debug/printf-test +Unable to find executable: /home/fmt/build/bin/printf-test +/home/fmt/build/bin/MinSizeRel/printf-test +/home/fmt/build/bin/MinSizeRel/printf-test +/home/fmt/build/bin/RelWithDebInfo/printf-test +/home/fmt/build/bin/RelWithDebInfo/printf-test +/home/fmt/build/bin/Deployment/printf-test +/home/fmt/build/bin/Deployment/printf-test +/home/fmt/build/bin/Development/printf-test +/home/fmt/build/bin/Development/printf-test +home/fmt/build/bin/printf-test +home/fmt/build/bin/printf-test +home/fmt/build/bin/Release/printf-test +home/fmt/build/bin/Release/printf-test +home/fmt/build/bin/Debug/printf-test +home/fmt/build/bin/Debug/printf-test +home/fmt/build/bin/MinSizeRel/printf-test +home/fmt/build/bin/MinSizeRel/printf-test +home/fmt/build/bin/RelWithDebInfo/printf-test +home/fmt/build/bin/RelWithDebInfo/printf-test +home/fmt/build/bin/Deployment/printf-test +home/fmt/build/bin/Deployment/printf-test +home/fmt/build/bin/Development/printf-test +home/fmt/build/bin/Development/printf-test +12/17 Test #12: printf-test ......................***Not Run 0.00 sec + Start 13: custom-formatter-test +Could not find executable /home/fmt/build/bin/custom-formatter-test +Looked in the following places: +/home/fmt/build/bin/custom-formatter-test +/home/fmt/build/bin/custom-formatter-test +/home/fmt/build/bin/Release/custom-formatter-test +/home/fmt/build/bin/Release/custom-formatter-test +/home/fmt/build/bin/Debug/custom-formatter-test +/home/fmt/build/bin/Debug/custom-formatter-test +/home/fmt/build/bin/MinSizeRel/custom-formatter-test +/home/fmt/build/bin/MinSizeRel/custom-formatter-test +/home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +/home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +/home/fmt/build/bin/Deployment/custom-formatter-test +/home/fmt/build/bin/Deployment/custom-formatter-test +/home/fmt/build/bin/Development/custom-formatter-test +/home/fmt/build/bin/Development/custom-formatter-test +home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/Release/custom-formatter-test +home/fmt/build/bin/Release/custom-formatter-test +home/fmt/build/bin/Debug/custom-formatter-test +home/fmt/build/bin/Debug/custom-formatter-test +Unable to find executable: /home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/MinSizeRel/custom-formatter-test +home/fmt/build/bin/MinSizeRel/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +home/fmt/build/bin/Deployment/custom-formatter-test +home/fmt/build/bin/Deployment/custom-formatter-test +home/fmt/build/bin/Development/custom-formatter-test +home/fmt/build/bin/Development/custom-formatter-test +13/17 Test #13: custom-formatter-test ............***Not Run 0.00 sec + Start 14: ranges-test +Could not find executable /home/fmt/build/bin/ranges-test +Looked in the following places: +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Development/ranges-test +/home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/Deployment/ranges-test +Unable to find executable: /home/fmt/build/bin/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/Development/ranges-test +14/17 Test #14: ranges-test ......................***Not Run 0.00 sec + Start 15: scan-test +Could not find executable /home/fmt/build/bin/scan-test +Looked in the following places: +/home/fmt/build/bin/scan-test +/home/fmt/build/bin/scan-test +/home/fmt/build/bin/Release/scan-test +/home/fmt/build/bin/Release/scan-test +/home/fmt/build/bin/Debug/scan-test +/home/fmt/build/bin/Debug/scan-test +/home/fmt/build/bin/MinSizeRel/scan-test +/home/fmt/build/bin/MinSizeRel/scan-test +/home/fmt/build/bin/RelWithDebInfo/scan-test +/home/fmt/build/bin/RelWithDebInfo/scan-test +/home/fmt/build/bin/Deployment/scan-test +/home/fmt/build/bin/Deployment/scan-test +/home/fmt/build/bin/Development/scan-test +/home/fmt/build/bin/Development/scan-test +home/fmt/build/bin/scan-test +home/fmt/build/bin/scan-test +home/fmt/build/bin/Release/scan-test +home/fmt/build/bin/Release/scan-test +home/fmt/build/bin/Debug/scan-test +home/fmt/build/bin/Debug/scan-test +home/fmt/build/bin/MinSizeRel/scan-test +home/fmt/build/bin/MinSizeRel/scan-test +home/fmt/build/bin/RelWithDebInfo/scan-test +home/fmt/build/bin/RelWithDebInfo/scan-test +home/fmt/build/bin/Deployment/scan-test +home/fmt/build/bin/Deployment/scan-test +home/fmt/build/bin/Development/scan-test +home/fmt/build/bin/Development/scan-test +15/17 Test #15: scan-test ........................***Not Run 0.00 sec + Start 16: posix-mock-test +Could not find executable /home/fmt/build/bin/posix-mock-test +Looked in the following places: +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +Unable to find executable: /home/fmt/build/bin/scan-test +Unable to find executable: /home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +16/17 Test #16: posix-mock-test ..................***Not Run 0.00 sec + Start 17: os-test +Could not find executable /home/fmt/build/bin/os-test +Looked in the following places: +Unable to find executable: /home/fmt/build/bin/os-test +/home/fmt/build/bin/os-test +/home/fmt/build/bin/os-test +/home/fmt/build/bin/Release/os-test +/home/fmt/build/bin/Release/os-test +/home/fmt/build/bin/Debug/os-test +/home/fmt/build/bin/Debug/os-test +/home/fmt/build/bin/MinSizeRel/os-test +/home/fmt/build/bin/MinSizeRel/os-test +/home/fmt/build/bin/RelWithDebInfo/os-test +/home/fmt/build/bin/RelWithDebInfo/os-test +/home/fmt/build/bin/Deployment/os-test +/home/fmt/build/bin/Deployment/os-test +/home/fmt/build/bin/Development/os-test +/home/fmt/build/bin/Development/os-test +home/fmt/build/bin/os-test +home/fmt/build/bin/os-test +home/fmt/build/bin/Release/os-test +home/fmt/build/bin/Release/os-test +home/fmt/build/bin/Debug/os-test +home/fmt/build/bin/Debug/os-test +home/fmt/build/bin/MinSizeRel/os-test +home/fmt/build/bin/MinSizeRel/os-test +home/fmt/build/bin/RelWithDebInfo/os-test +home/fmt/build/bin/RelWithDebInfo/os-test +home/fmt/build/bin/Deployment/os-test +home/fmt/build/bin/Deployment/os-test +home/fmt/build/bin/Development/os-test +home/fmt/build/bin/Development/os-test +17/17 Test #17: os-test ..........................***Not Run 0.00 sec + +18% tests passed, 14 tests failed out of 17 + +Total Test time (real) = 0.01 sec + +The following tests FAILED: + 4 - core-test (Not Run) + 5 - grisu-test (Not Run) + 6 - gtest-extra-test (Not Run) + 7 - format-test (Not Run) + 8 - format-impl-test (Not Run) + 9 - locale-test (Not Run) + 10 - ostream-test (Not Run) + 11 - compile-test (Not Run) + 12 - printf-test (Not Run) + 13 - custom-formatter-test (Not Run) + 14 - ranges-test (Not Run) + 15 - scan-test (Not Run) + 16 - posix-mock-test (Not Run) + 17 - os-test (Not Run) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/fix.patch new file mode 100644 index 000000000..56fc27433 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/fix.patch @@ -0,0 +1,101 @@ +diff --git a/include/fmt/core.h b/include/fmt/core.h +index 2e5a51fe..9f99e691 100644 +--- a/include/fmt/core.h ++++ b/include/fmt/core.h +@@ -629,6 +629,7 @@ using wparse_context FMT_DEPRECATED_ALIAS = basic_format_parse_context; + + template class basic_format_arg; + template class basic_format_args; ++template class dynamic_format_arg_store; + + // A formatter for objects of type T. + template +@@ -1130,6 +1131,7 @@ template class basic_format_arg { + -> decltype(vis(0)); + + friend class basic_format_args; ++ friend class dynamic_format_arg_store; + friend class internal::arg_map; + + using char_type = typename Context::char_type; +@@ -1460,6 +1462,8 @@ class dynamic_format_arg_store + + // Storage of basic_format_arg must be contiguous. + std::vector> data_; ++ // Storage of named argument info, if any named arguments are present. ++ std::vector> named_info_; + + // Storage of arguments not fitting into basic_format_arg must grow + // without relocation because items in data_ refer to it. +@@ -1468,13 +1472,29 @@ class dynamic_format_arg_store + friend class basic_format_args; + + unsigned long long get_types() const { +- return internal::is_unpacked_bit | data_.size(); ++ return internal::is_unpacked_bit | ++ (named_info_.empty() ? 0 : internal::has_named_args_bit) | ++ (data_.size() - (named_info_.empty() ? 0 : 1)); + } + + template void emplace_arg(const T& arg) { + data_.emplace_back(internal::make_arg(arg)); + } + ++ template ++ void push_back_named_arg(const internal::named_arg& arg) { ++ if (named_info_.empty()) { ++ data_.insert(data_.begin(), basic_format_arg()); ++ } ++ int arg_index = static_cast(data_.size() - 1); ++ if (internal::const_check(need_copy::value)) ++ emplace_arg(dynamic_args_.push>(arg.value)); ++ else ++ emplace_arg(arg.value); ++ named_info_.push_back({arg.name, arg_index}); ++ data_[0] = basic_format_arg(named_info_.data(), named_info_.size()); ++ } ++ + public: + /** + \rst +@@ -1494,15 +1514,17 @@ class dynamic_format_arg_store + \endrst + */ + template void push_back(const T& arg) { +- static_assert( +- !std::is_base_of, T>::value, +- "named arguments are not supported yet"); + if (internal::const_check(need_copy::value)) + emplace_arg(dynamic_args_.push>(arg)); + else + emplace_arg(arg); + } + ++ template ++ void push_back(const internal::named_arg& arg) { ++ push_back_named_arg(arg); ++ } ++ + /** + Adds a reference to the argument into the dynamic store for later passing to + a formating function. +@@ -1597,7 +1619,10 @@ template class basic_format_args { + \endrst + */ + FMT_INLINE basic_format_args(const dynamic_format_arg_store& store) +- : basic_format_args(store.get_types(), store.data_.data()) {} ++ : basic_format_args( ++ store.get_types(), ++ store.named_info_.empty() ? store.data_.data() ++ : store.data_.data() + 1) {} + + /** + \rst +diff --git a/test-file b/test-file +new file mode 100644 +index 00000000..2810a093 +--- /dev/null ++++ b/test-file +@@ -0,0 +1 @@ ++Don't panic! +\ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/report.json new file mode 100644 index 000000000..d2ca04eab --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1663/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 1663, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "ostream-test", "locale-test", "chrono-test", "os-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 3, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "chrono-test", "color-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/fix-patch-run.log new file mode 100644 index 000000000..7f58bc8df --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/fix-patch-run.log @@ -0,0 +1,386 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7129 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.7 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.0 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4716 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.p0cl8G6t +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.p0cl8G6t/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.p0cl8G6t/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.p0cl8G6t/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.p0cl8G6t/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.p0cl8G6t/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.p0cl8G6t +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=505024205f2e +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.RSlZcLxlPs/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/chrono-test.cc +patching file include/fmt/chrono.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 7.0.3 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 7%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 9%] Linking CXX static library libgmock.a +[ 9%] Built target gmock +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 15%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 17%] Linking CXX static library libtest-main.a +[ 17%] Built target test-main +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 23%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 25%] Linking CXX executable ../bin/chrono-test +[ 25%] Built target chrono-test +[ 27%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 29%] Linking CXX executable ../bin/color-test +[ 29%] Built target color-test +[ 31%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 33%] Linking CXX executable ../bin/core-test +[ 33%] Built target core-test +[ 35%] Building CXX object test/CMakeFiles/grisu-test.dir/grisu-test.cc.o +[ 37%] Linking CXX executable ../bin/grisu-test +[ 37%] Built target grisu-test +[ 39%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 41%] Linking CXX executable ../bin/gtest-extra-test +[ 41%] Built target gtest-extra-test +[ 43%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 45%] Linking CXX executable ../bin/format-test +[ 45%] Built target format-test +[ 47%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 49%] Linking CXX executable ../bin/format-impl-test +[ 49%] Built target format-impl-test +[ 50%] Building CXX object test/CMakeFiles/locale-test.dir/locale-test.cc.o +[ 52%] Linking CXX executable ../bin/locale-test +[ 52%] Built target locale-test +[ 54%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 56%] Linking CXX executable ../bin/ostream-test +[ 56%] Built target ostream-test +[ 58%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 60%] Linking CXX executable ../bin/compile-test +[ 60%] Built target compile-test +[ 62%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 64%] Linking CXX executable ../bin/printf-test +[ 64%] Built target printf-test +[ 66%] Building CXX object test/CMakeFiles/custom-formatter-test.dir/custom-formatter-test.cc.o +[ 68%] Linking CXX executable ../bin/custom-formatter-test +[ 68%] Built target custom-formatter-test +[ 70%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 72%] Linking CXX executable ../bin/ranges-test +[ 72%] Built target ranges-test +[ 74%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 76%] Linking CXX executable ../bin/scan-test +[ 76%] Built target scan-test +[ 78%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 80%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 82%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 84%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 86%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 88%] Linking CXX executable ../bin/posix-mock-test +[ 88%] Built target posix-mock-test +[ 90%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[ 92%] Linking CXX executable ../bin/os-test +[ 92%] Built target os-test +[ 94%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test.cc.o +[ 96%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test2.cc.o +[ 98%] Building CXX object test/CMakeFiles/header-only-test.dir/test-main.cc.o +[100%] Linking CXX executable ../bin/header-only-test +[100%] Built target header-only-test +Test project /home/fmt/build + Start 1: assert-test + 1/17 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/17 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: color-test + 3/17 Test #3: color-test ....................... Passed 0.00 sec + Start 4: core-test + 4/17 Test #4: core-test ........................ Passed 0.00 sec + Start 5: grisu-test + 5/17 Test #5: grisu-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/17 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/17 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/17 Test #8: format-impl-test ................. Passed 0.00 sec + Start 9: locale-test + 9/17 Test #9: locale-test ...................... Passed 0.00 sec + Start 10: ostream-test +10/17 Test #10: ostream-test ..................... Passed 0.00 sec + Start 11: compile-test +11/17 Test #11: compile-test ..................... Passed 0.00 sec + Start 12: printf-test +12/17 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: custom-formatter-test +13/17 Test #13: custom-formatter-test ............ Passed 0.00 sec + Start 14: ranges-test +14/17 Test #14: ranges-test ...................... Passed 0.00 sec + Start 15: scan-test +15/17 Test #15: scan-test ........................ Passed 0.00 sec + Start 16: posix-mock-test +16/17 Test #16: posix-mock-test .................. Passed 0.00 sec + Start 17: os-test +17/17 Test #17: os-test .......................... Passed 0.11 sec + +100% tests passed, 0 tests failed out of 17 + +Total Test time (real) = 0.15 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/fix.patch new file mode 100644 index 000000000..12006ca89 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/fix.patch @@ -0,0 +1,144 @@ +diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h +index e70b8053..e89fb4dd 100644 +--- a/include/fmt/chrono.h ++++ b/include/fmt/chrono.h +@@ -1118,6 +1118,139 @@ struct formatter, Char> { + } + }; + ++namespace detail { ++template ++struct is_system_clock : std::is_same {}; ++ ++template ++auto format_system_time_point(std::time_t time, FormatContext& ctx, ++ basic_memory_buffer& tm_format, ++ const basic_format_specs& specs) -> ++ typename FormatContext::iterator { ++ auto tm = fmt::localtime(time); ++ basic_memory_buffer buf; ++ size_t start = buf.size(); ++ for (;;) { ++ size_t size = buf.capacity() - start; ++ size_t count = detail::strftime(&buf[start], size, &tm_format[0], &tm); ++ if (count != 0) { ++ buf.resize(start + count); ++ break; ++ } ++ if (size >= tm_format.size() * 256) break; ++ const size_t MIN_GROWTH = 10; ++ buf.reserve(buf.capacity() + (size > MIN_GROWTH ? size : MIN_GROWTH)); ++ } ++ return detail::write( ++ ctx.out(), basic_string_view(buf.data(), buf.size()), specs); ++} ++ ++template ::value)> ++auto format_time_point(const std::chrono::time_point& tp, ++ FormatContext& ctx, basic_memory_buffer& tm_format, ++ const basic_format_specs& specs) -> ++ typename FormatContext::iterator { ++ auto time = std::chrono::system_clock::to_time_t( ++ std::chrono::time_point_cast(tp)); ++ return format_system_time_point(time, ctx, tm_format, specs); ++} ++ ++template ::value)> ++auto format_time_point(const std::chrono::time_point& tp, ++ FormatContext& ctx, basic_memory_buffer&, ++ const basic_format_specs&) -> ++ typename FormatContext::iterator { ++ auto d = tp.time_since_epoch(); ++ basic_memory_buffer buf; ++ auto out = std::back_inserter(buf); ++ out = detail::format_duration_value(out, d.count(), -1); ++ detail::format_duration_unit(out); ++ return std::copy(buf.begin(), buf.end(), ctx.out()); ++} ++} // namespace detail ++ ++template ++struct formatter, Char> { ++ private: ++ basic_format_specs specs; ++ using arg_ref_type = detail::arg_ref; ++ arg_ref_type width_ref; ++ mutable basic_memory_buffer tm_format; ++ ++ struct spec_handler { ++ formatter& f; ++ basic_format_parse_context& context; ++ ++ template FMT_CONSTEXPR arg_ref_type make_arg_ref(Id arg_id) { ++ context.check_arg_id(arg_id); ++ return arg_ref_type(arg_id); ++ } ++ ++ FMT_CONSTEXPR arg_ref_type make_arg_ref(basic_string_view arg_id) { ++ context.check_arg_id(arg_id); ++ return arg_ref_type(arg_id); ++ } ++ ++ FMT_CONSTEXPR arg_ref_type make_arg_ref(detail::auto_id) { ++ return arg_ref_type(context.next_arg_id()); ++ } ++ ++ void on_error(const char* msg) { FMT_THROW(format_error(msg)); } ++ void on_fill(basic_string_view fill) { f.specs.fill = fill; } ++ void on_align(align_t align) { f.specs.align = align; } ++ void on_width(int width) { f.specs.width = width; } ++ ++ template void on_dynamic_width(Id arg_id) { ++ f.width_ref = make_arg_ref(arg_id); ++ } ++ }; ++ ++ public: ++ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) ++ -> decltype(ctx.begin()) { ++ auto begin = ctx.begin(), end = ctx.end(); ++ if (begin == end || *begin == '}') { ++ tm_format.push_back('\0'); ++ return begin; ++ } ++ spec_handler handler{*this, ctx}; ++ begin = detail::parse_align(begin, end, handler); ++ if (begin == end) { ++ tm_format.push_back('\0'); ++ return begin; ++ } ++ begin = detail::parse_width(begin, end, handler); ++ if (begin == end || *begin == '}') { ++ tm_format.push_back('\0'); ++ return begin; ++ } ++ // Collect the chrono format string (everything until }). ++ auto fmt_end = begin; ++ while (fmt_end != end && *fmt_end != '}') ++fmt_end; ++ tm_format.reserve(detail::to_unsigned(fmt_end - begin + 1)); ++ tm_format.append(begin, fmt_end); ++ tm_format.push_back('\0'); ++ return fmt_end; ++ } ++ ++ template ++ auto format(const std::chrono::time_point& tp, ++ FormatContext& ctx) -> decltype(ctx.out()) { ++ detail::handle_dynamic_spec(specs.width, width_ref, ++ ctx); ++ if (detail::is_system_clock::value && ++ tm_format.size() == 1 && tm_format[0] == '\0') { ++ tm_format.resize(0); ++ tm_format.push_back('%'); ++ tm_format.push_back('c'); ++ tm_format.push_back('\0'); ++ } ++ return detail::format_time_point(tp, ctx, tm_format, specs); ++ } ++}; ++ + FMT_END_NAMESPACE + + #endif // FMT_CHRONO_H_ diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/report.json new file mode 100644 index 000000000..c30146639 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-1837/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 1837, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "custom-formatter-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "grisu-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "custom-formatter-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "grisu-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "ostream-test", "locale-test", "chrono-test", "os-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "compile-test", "printf-test", "custom-formatter-test", "grisu-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "os-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/fix-patch-run.log new file mode 100644 index 000000000..f6dfa03f7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/fix-patch-run.log @@ -0,0 +1,377 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7178 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.3 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 1s (17.0 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4882 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.GAiQ3t7K +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.GAiQ3t7K/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.GAiQ3t7K/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.GAiQ3t7K/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.GAiQ3t7K/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.GAiQ3t7K/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.GAiQ3t7K +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=8d5178025d8a +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.5CR95YhrYU/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/color-test.cc +patching file include/fmt/color.h +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 7.1.3 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 4%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 6%] Linking CXX static library libfmt.a +[ 6%] Built target fmt +[ 8%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 10%] Linking CXX static library libgmock.a +[ 10%] Built target gmock +[ 12%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 14%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 17%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 19%] Linking CXX static library libtest-main.a +[ 19%] Built target test-main +[ 21%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 23%] Linking CXX executable ../bin/assert-test +[ 23%] Built target assert-test +[ 25%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 27%] Linking CXX executable ../bin/chrono-test +[ 27%] Built target chrono-test +[ 29%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 31%] Linking CXX executable ../bin/color-test +[ 31%] Built target color-test +[ 34%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 36%] Linking CXX executable ../bin/core-test +[ 36%] Built target core-test +[ 38%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 40%] Linking CXX executable ../bin/gtest-extra-test +[ 40%] Built target gtest-extra-test +[ 42%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 44%] Linking CXX executable ../bin/format-test +[ 44%] Built target format-test +[ 46%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 48%] Linking CXX executable ../bin/format-impl-test +[ 48%] Built target format-impl-test +[ 51%] Building CXX object test/CMakeFiles/locale-test.dir/locale-test.cc.o +[ 53%] Linking CXX executable ../bin/locale-test +[ 53%] Built target locale-test +[ 55%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 57%] Linking CXX executable ../bin/ostream-test +[ 57%] Built target ostream-test +[ 59%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 61%] Linking CXX executable ../bin/compile-test +[ 61%] Built target compile-test +[ 63%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 65%] Linking CXX executable ../bin/printf-test +[ 65%] Built target printf-test +[ 68%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 70%] Linking CXX executable ../bin/ranges-test +[ 70%] Built target ranges-test +[ 72%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 74%] Linking CXX executable ../bin/scan-test +[ 74%] Built target scan-test +[ 76%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 78%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 80%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 82%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 85%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 87%] Linking CXX executable ../bin/posix-mock-test +[ 87%] Built target posix-mock-test +[ 89%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[ 91%] Linking CXX executable ../bin/os-test +[ 91%] Built target os-test +[ 93%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test.cc.o +[ 95%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test2.cc.o +[ 97%] Building CXX object test/CMakeFiles/header-only-test.dir/test-main.cc.o +[100%] Linking CXX executable ../bin/header-only-test +[100%] Built target header-only-test +Test project /home/fmt/build + Start 1: assert-test + 1/15 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/15 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: color-test + 3/15 Test #3: color-test ....................... Passed 0.00 sec + Start 4: core-test + 4/15 Test #4: core-test ........................ Passed 0.00 sec + Start 5: gtest-extra-test + 5/15 Test #5: gtest-extra-test ................. Passed 0.00 sec + Start 6: format-test + 6/15 Test #6: format-test ...................... Passed 0.01 sec + Start 7: format-impl-test + 7/15 Test #7: format-impl-test ................. Passed 0.01 sec + Start 8: locale-test + 8/15 Test #8: locale-test ...................... Passed 0.00 sec + Start 9: ostream-test + 9/15 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/15 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: printf-test +11/15 Test #11: printf-test ...................... Passed 0.00 sec + Start 12: ranges-test +12/15 Test #12: ranges-test ...................... Passed 0.00 sec + Start 13: scan-test +13/15 Test #13: scan-test ........................ Passed 0.00 sec + Start 14: posix-mock-test +14/15 Test #14: posix-mock-test .................. Passed 0.00 sec + Start 15: os-test +15/15 Test #15: os-test .......................... Passed 0.12 sec + +100% tests passed, 0 tests failed out of 15 + +Total Test time (real) = 0.16 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/fix.patch new file mode 100644 index 000000000..cdeb590cd --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/fix.patch @@ -0,0 +1,43 @@ +diff --git a/include/fmt/color.h b/include/fmt/color.h +index 42008f51..ff837dca 100644 +--- a/include/fmt/color.h ++++ b/include/fmt/color.h +@@ -618,6 +618,24 @@ inline auto format_to(OutputIt out, const text_style& ts, const S& format_str, + fmt::make_args_checked(format_str, args...)); + } + ++template , ++ FMT_ENABLE_IF(detail::is_string::value)> ++inline void vformat_to( ++ detail::buffer& buf, const text_style& ts, const S& format_str, ++ basic_format_args>> args) { ++ detail::vformat_to(buf, ts, to_string_view(format_str), args); ++} ++ ++template ::value, char_t>> ++inline typename buffer_context::iterator format_to( ++ basic_memory_buffer& buf, const text_style& ts, ++ const S& format_str, Args&&... args) { ++ detail::vformat_to(buf, ts, to_string_view(format_str), ++ fmt::make_args_checked(format_str, args...)); ++ return detail::buffer_appender(buf); ++} ++ + FMT_END_NAMESPACE + + #endif // FMT_COLOR_H_ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index e8fe34c1..7e83e500 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -3894,7 +3894,8 @@ inline void vformat_to( + } + + template ::value, char_t>> ++ typename Char = char_t, ++ FMT_ENABLE_IF(detail::is_string::value)> + inline typename buffer_context::iterator format_to( + basic_memory_buffer& buf, const S& format_str, Args&&... args) { + const auto& vargs = fmt::make_args_checked(format_str, args...); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/report.json new file mode 100644 index 000000000..ae59e3ec9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2070/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 2070, "valid": true, "error_msg": "", "fixed_tests": {"assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 15, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "compile-test", "printf-test", "gtest-extra-test", "ostream-test", "locale-test", "chrono-test", "os-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 15, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "compile-test", "printf-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "os-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/fix-patch-run.log new file mode 100644 index 000000000..83e346dcb --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/fix-patch-run.log @@ -0,0 +1,381 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6925 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (18.1 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.4 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4689 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.ktisEbVj +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.ktisEbVj/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.ktisEbVj/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.ktisEbVj/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.ktisEbVj/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.ktisEbVj/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.ktisEbVj +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=5070efa5b2ef +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.q8aRJVVCNf/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 7.1.3 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 4%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 6%] Linking CXX static library libfmt.a +[ 6%] Built target fmt +[ 8%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 10%] Linking CXX static library libgmock.a +[ 10%] Built target gmock +[ 12%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 14%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 16%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 18%] Linking CXX static library libtest-main.a +[ 18%] Built target test-main +[ 20%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 22%] Linking CXX executable ../bin/assert-test +[ 22%] Built target assert-test +[ 24%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 26%] Linking CXX executable ../bin/chrono-test +[ 26%] Built target chrono-test +[ 28%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 30%] Linking CXX executable ../bin/color-test +[ 30%] Built target color-test +[ 32%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 34%] Linking CXX executable ../bin/core-test +[ 34%] Built target core-test +[ 36%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 38%] Linking CXX executable ../bin/gtest-extra-test +[ 38%] Built target gtest-extra-test +[ 40%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 42%] Linking CXX executable ../bin/format-test +[ 42%] Built target format-test +[ 44%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 46%] Linking CXX executable ../bin/format-impl-test +[ 46%] Built target format-impl-test +[ 48%] Building CXX object test/CMakeFiles/locale-test.dir/locale-test.cc.o +[ 51%] Linking CXX executable ../bin/locale-test +[ 51%] Built target locale-test +[ 53%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 55%] Linking CXX executable ../bin/ostream-test +[ 55%] Built target ostream-test +[ 57%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 59%] Linking CXX executable ../bin/compile-test +[ 59%] Built target compile-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 63%] Linking CXX executable ../bin/printf-test +[ 63%] Built target printf-test +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 71%] Linking CXX executable ../bin/scan-test +[ 71%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/enforce-compile-string-test.dir/enforce-compile-string-test.cc.o +[ 75%] Linking CXX executable ../bin/enforce-compile-string-test +[ 75%] Built target enforce-compile-string-test +[ 77%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 79%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 81%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 83%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 85%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 87%] Linking CXX executable ../bin/posix-mock-test +[ 87%] Built target posix-mock-test +[ 89%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[ 91%] Linking CXX executable ../bin/os-test +[ 91%] Built target os-test +[ 93%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test.cc.o +[ 95%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test2.cc.o +[ 97%] Building CXX object test/CMakeFiles/header-only-test.dir/test-main.cc.o +[100%] Linking CXX executable ../bin/header-only-test +[100%] Built target header-only-test +Test project /home/fmt/build + Start 1: assert-test + 1/16 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/16 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: color-test + 3/16 Test #3: color-test ....................... Passed 0.00 sec + Start 4: core-test + 4/16 Test #4: core-test ........................ Passed 0.00 sec + Start 5: gtest-extra-test + 5/16 Test #5: gtest-extra-test ................. Passed 0.00 sec + Start 6: format-test + 6/16 Test #6: format-test ...................... Passed 0.01 sec + Start 7: format-impl-test + 7/16 Test #7: format-impl-test ................. Passed 0.01 sec + Start 8: locale-test + 8/16 Test #8: locale-test ...................... Passed 0.00 sec + Start 9: ostream-test + 9/16 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/16 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: printf-test +11/16 Test #11: printf-test ...................... Passed 0.00 sec + Start 12: ranges-test +12/16 Test #12: ranges-test ...................... Passed 0.00 sec + Start 13: scan-test +13/16 Test #13: scan-test ........................ Passed 0.00 sec + Start 14: enforce-compile-string-test +14/16 Test #14: enforce-compile-string-test ...... Passed 0.00 sec + Start 15: posix-mock-test +15/16 Test #15: posix-mock-test .................. Passed 0.00 sec + Start 16: os-test +16/16 Test #16: os-test .......................... Passed 0.12 sec + +100% tests passed, 0 tests failed out of 16 + +Total Test time (real) = 0.17 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/fix.patch new file mode 100644 index 000000000..8f103ffca --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/fix.patch @@ -0,0 +1,39 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 44c2a3b4..5457332d 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -471,13 +471,15 @@ template class truncating_iterator_base { + size_t limit_; + size_t count_; + ++ truncating_iterator_base() : out_(), limit_(0), count_(0) {} ++ + truncating_iterator_base(OutputIt out, size_t limit) + : out_(out), limit_(limit), count_(0) {} + + public: + using iterator_category = std::output_iterator_tag; + using value_type = typename std::iterator_traits::value_type; +- using difference_type = void; ++ using difference_type = std::ptrdiff_t; + using pointer = void; + using reference = void; + using _Unchecked_type = +@@ -502,6 +504,8 @@ class truncating_iterator + public: + using value_type = typename truncating_iterator_base::value_type; + ++ truncating_iterator() : truncating_iterator_base(), blackhole_() {} ++ + truncating_iterator(OutputIt out, size_t limit) + : truncating_iterator_base(out, limit) {} + +@@ -525,6 +529,8 @@ template + class truncating_iterator + : public truncating_iterator_base { + public: ++ truncating_iterator() : truncating_iterator_base() {} ++ + truncating_iterator(OutputIt out, size_t limit) + : truncating_iterator_base(out, limit) {} + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/report.json new file mode 100644 index 000000000..f5cc44fd1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2158/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 2158, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-compile-string-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-compile-string-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 16, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "compile-test", "printf-test", "enforce-compile-string-test", "gtest-extra-test", "ostream-test", "locale-test", "chrono-test", "os-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 16, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "compile-test", "printf-test", "enforce-compile-string-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "os-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/fix-patch-run.log new file mode 100644 index 000000000..ef561dc08 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/fix-patch-run.log @@ -0,0 +1,391 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6378 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.9 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.8 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5419 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.Y0olayjw +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.Y0olayjw/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.Y0olayjw/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.Y0olayjw/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.Y0olayjw/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.Y0olayjw/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.Y0olayjw +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=168e42790806 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.HddvvpEQeY/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/chrono-test.cc +patching file include/fmt/chrono.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 7.1.4 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 7%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 9%] Linking CXX static library libgtest.a +[ 9%] Built target gtest +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 12%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 14%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 16%] Linking CXX static library libtest-main.a +[ 16%] Built target test-main +[ 18%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 20%] Linking CXX executable ../bin/args-test +[ 20%] Built target args-test +[ 22%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 24%] Linking CXX executable ../bin/assert-test +[ 24%] Built target assert-test +[ 25%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 27%] Linking CXX executable ../bin/chrono-test +[ 27%] Built target chrono-test +[ 29%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 31%] Linking CXX executable ../bin/color-test +[ 31%] Built target color-test +[ 33%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 35%] Linking CXX executable ../bin/core-test +[ 35%] Built target core-test +[ 37%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 38%] Linking CXX executable ../bin/gtest-extra-test +[ 38%] Built target gtest-extra-test +[ 40%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 42%] Linking CXX executable ../bin/format-test +[ 42%] Built target format-test +[ 44%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 46%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 48%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 50%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 51%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 53%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 55%] Linking CXX executable ../bin/format-impl-test +[ 55%] Built target format-impl-test +[ 57%] Building CXX object test/CMakeFiles/locale-test.dir/locale-test.cc.o +[ 59%] Linking CXX executable ../bin/locale-test +[ 59%] Built target locale-test +[ 61%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 62%] Linking CXX executable ../bin/ostream-test +[ 62%] Built target ostream-test +[ 64%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 66%] Linking CXX executable ../bin/compile-test +[ 66%] Built target compile-test +[ 68%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 70%] Linking CXX executable ../bin/printf-test +[ 70%] Built target printf-test +[ 72%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 74%] Linking CXX executable ../bin/ranges-test +[ 74%] Built target ranges-test +[ 75%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 77%] Linking CXX executable ../bin/scan-test +[ 77%] Built target scan-test +[ 79%] Building CXX object test/CMakeFiles/wchar-test.dir/wchar-test.cc.o +[ 81%] Linking CXX executable ../bin/wchar-test +[ 81%] Built target wchar-test +[ 83%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 85%] Linking CXX executable ../bin/enforce-checks-test +[ 85%] Built target enforce-checks-test +[ 87%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 88%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 96%] Linking CXX executable ../bin/posix-mock-test +[ 96%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/18 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/18 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/18 Test #3: chrono-test ...................... Passed 0.00 sec + Start 4: color-test + 4/18 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/18 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/18 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/18 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/18 Test #8: format-impl-test ................. Passed 0.01 sec + Start 9: locale-test + 9/18 Test #9: locale-test ...................... Passed 0.00 sec + Start 10: ostream-test +10/18 Test #10: ostream-test ..................... Passed 0.00 sec + Start 11: compile-test +11/18 Test #11: compile-test ..................... Passed 0.00 sec + Start 12: printf-test +12/18 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/18 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/18 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: wchar-test +15/18 Test #15: wchar-test ....................... Passed 0.00 sec + Start 16: enforce-checks-test +16/18 Test #16: enforce-checks-test .............. Passed 0.00 sec + Start 17: posix-mock-test +17/18 Test #17: posix-mock-test .................. Passed 0.00 sec + Start 18: os-test +18/18 Test #18: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 18 + +Total Test time (real) = 0.06 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/fix.patch new file mode 100644 index 000000000..c566a0c74 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/fix.patch @@ -0,0 +1,399 @@ +diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h +index e26e5190..d8e80a6e 100644 +--- a/include/fmt/chrono.h ++++ b/include/fmt/chrono.h +@@ -407,14 +407,7 @@ FMT_END_DETAIL_NAMESPACE + + template + struct formatter, +- Char> : formatter { +- template +- auto format(std::chrono::time_point val, +- FormatContext& ctx) -> decltype(ctx.out()) { +- std::tm time = localtime(val); +- return formatter::format(time, ctx); +- } +-}; ++ Char>; + + template struct formatter { + template +@@ -576,6 +569,39 @@ FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin, + case 'B': + handler.on_full_month(); + break; ++ case 'm': ++ handler.on_month(numeric_system::standard); ++ break; ++ // Day of the month/year: ++ case 'd': ++ handler.on_day_of_month(numeric_system::standard); ++ break; ++ case 'e': ++ handler.on_day_of_month_space(numeric_system::standard); ++ break; ++ case 'j': ++ handler.on_day_of_year(); ++ break; ++ // Year: ++ case 'Y': ++ handler.on_year(numeric_system::standard); ++ break; ++ case 'y': ++ handler.on_short_year(numeric_system::standard); ++ break; ++ case 'C': ++ handler.on_century(numeric_system::standard); ++ break; ++ // Week of the year: ++ case 'U': ++ handler.on_dec0_week_of_year(numeric_system::standard); ++ break; ++ case 'V': ++ handler.on_iso_week_of_year(numeric_system::standard); ++ break; ++ case 'W': ++ handler.on_dec1_week_of_year(numeric_system::standard); ++ break; + // Hour, minute, second: + case 'H': + handler.on_24_hour(numeric_system::standard); +@@ -643,6 +669,15 @@ FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin, + case 'X': + handler.on_loc_time(numeric_system::alternative); + break; ++ case 'Y': ++ handler.on_year(numeric_system::alternative); ++ break; ++ case 'y': ++ handler.on_short_year(numeric_system::alternative); ++ break; ++ case 'C': ++ handler.on_century(numeric_system::alternative); ++ break; + default: + FMT_THROW(format_error("invalid format")); + } +@@ -670,6 +705,33 @@ FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin, + case 'S': + handler.on_second(numeric_system::alternative); + break; ++ case 'm': ++ handler.on_month(numeric_system::alternative); ++ break; ++ case 'd': ++ handler.on_day_of_month(numeric_system::alternative); ++ break; ++ case 'e': ++ handler.on_day_of_month_space(numeric_system::alternative); ++ break; ++ case 'Y': ++ handler.on_year(numeric_system::alternative); ++ break; ++ case 'y': ++ handler.on_short_year(numeric_system::alternative); ++ break; ++ case 'C': ++ handler.on_century(numeric_system::alternative); ++ break; ++ case 'U': ++ handler.on_dec0_week_of_year(numeric_system::alternative); ++ break; ++ case 'V': ++ handler.on_iso_week_of_year(numeric_system::alternative); ++ break; ++ case 'W': ++ handler.on_dec1_week_of_year(numeric_system::alternative); ++ break; + default: + FMT_THROW(format_error("invalid format")); + } +@@ -694,6 +756,16 @@ struct chrono_format_checker { + FMT_NORETURN void on_dec1_weekday(numeric_system) { report_no_date(); } + FMT_NORETURN void on_abbr_month() { report_no_date(); } + FMT_NORETURN void on_full_month() { report_no_date(); } ++ FMT_NORETURN void on_month(numeric_system) { report_no_date(); } ++ FMT_NORETURN void on_day_of_month(numeric_system) { report_no_date(); } ++ FMT_NORETURN void on_day_of_month_space(numeric_system) { report_no_date(); } ++ FMT_NORETURN void on_day_of_year() { report_no_date(); } ++ FMT_NORETURN void on_year(numeric_system) { report_no_date(); } ++ FMT_NORETURN void on_short_year(numeric_system) { report_no_date(); } ++ FMT_NORETURN void on_century(numeric_system) { report_no_date(); } ++ FMT_NORETURN void on_dec0_week_of_year(numeric_system) { report_no_date(); } ++ FMT_NORETURN void on_iso_week_of_year(numeric_system) { report_no_date(); } ++ FMT_NORETURN void on_dec1_week_of_year(numeric_system) { report_no_date(); } + FMT_CONSTEXPR void on_24_hour(numeric_system) {} + FMT_CONSTEXPR void on_12_hour(numeric_system) {} + FMT_CONSTEXPR void on_minute(numeric_system) {} +@@ -978,6 +1050,16 @@ struct chrono_formatter { + void on_dec1_weekday(numeric_system) {} + void on_abbr_month() {} + void on_full_month() {} ++ void on_month(numeric_system) {} ++ void on_day_of_month(numeric_system) {} ++ void on_day_of_month_space(numeric_system) {} ++ void on_day_of_year() {} ++ void on_year(numeric_system) {} ++ void on_short_year(numeric_system) {} ++ void on_century(numeric_system) {} ++ void on_dec0_week_of_year(numeric_system) {} ++ void on_iso_week_of_year(numeric_system) {} ++ void on_dec1_week_of_year(numeric_system) {} + void on_datetime(numeric_system) {} + void on_loc_date(numeric_system) {} + void on_loc_time(numeric_system) {} +@@ -1058,8 +1140,7 @@ struct chrono_formatter { + void on_iso_time() { + on_24_hour_time(); + *out++ = ':'; +- if (handle_nan_inf()) return; +- write(second(), 2); ++ on_second(numeric_system::standard); + } + + void on_am_pm() { +@@ -1078,8 +1159,244 @@ struct chrono_formatter { + } + }; + ++template ++struct time_point_formatter { ++ FormatContext& context; ++ OutputIt out; ++ std::tm tm_; ++ Duration subsec_; ++ ++ using char_type = typename FormatContext::char_type; ++ ++ time_point_formatter(FormatContext& ctx, OutputIt o, std::tm time, ++ Duration subsec) ++ : context(ctx), out(o), tm_(time), subsec_(subsec) {} ++ ++ void write(int value, int width) { ++ uint32_or_64_or_128_t n = to_unsigned(value); ++ int num_digits = detail::count_digits(n); ++ if (width > num_digits) out = std::fill_n(out, width - num_digits, '0'); ++ out = format_decimal(out, n, num_digits).end; ++ } ++ ++ void format_localized(char format, char modifier = 0) { ++ auto locale = std::locale::classic(); ++ auto& facet = std::use_facet>(locale); ++ std::basic_ostringstream os; ++ os.imbue(locale); ++ facet.put(os, os, ' ', &tm_, format, modifier); ++ auto str = os.str(); ++ std::copy(str.begin(), str.end(), out); ++ } ++ ++ void on_text(const char_type* begin, const char_type* end) { ++ std::copy(begin, end, out); ++ } ++ ++ void on_abbr_weekday() { format_localized('a'); } ++ void on_full_weekday() { format_localized('A'); } ++ void on_dec0_weekday(numeric_system ns) { ++ if (ns == numeric_system::standard) return write(tm_.tm_wday, 1); ++ format_localized('w', 'O'); ++ } ++ void on_dec1_weekday(numeric_system ns) { ++ if (ns == numeric_system::standard) { ++ write(tm_.tm_wday == 0 ? 7 : tm_.tm_wday, 1); ++ return; ++ } ++ format_localized('u', 'O'); ++ } ++ void on_abbr_month() { format_localized('b'); } ++ void on_full_month() { format_localized('B'); } ++ void on_month(numeric_system ns) { ++ if (ns == numeric_system::standard) return write(tm_.tm_mon + 1, 2); ++ format_localized('m', 'O'); ++ } ++ void on_day_of_month(numeric_system ns) { ++ if (ns == numeric_system::standard) return write(tm_.tm_mday, 2); ++ format_localized('d', 'O'); ++ } ++ void on_day_of_month_space(numeric_system ns) { ++ if (ns == numeric_system::standard) { ++ if (tm_.tm_mday < 10) *out++ = ' '; ++ write(tm_.tm_mday, 1); ++ return; ++ } ++ format_localized('e', 'O'); ++ } ++ void on_day_of_year() { write(tm_.tm_yday + 1, 3); } ++ void on_year(numeric_system ns) { ++ if (ns == numeric_system::standard) return write(tm_.tm_year + 1900, 4); ++ format_localized('Y', 'E'); ++ } ++ void on_short_year(numeric_system ns) { ++ if (ns == numeric_system::standard) return write(tm_.tm_year % 100, 2); ++ format_localized('y', 'O'); ++ } ++ void on_century(numeric_system ns) { ++ if (ns == numeric_system::standard) return write((tm_.tm_year + 1900) / 100, 2); ++ format_localized('C', 'E'); ++ } ++ void on_dec0_week_of_year(numeric_system ns) { ++ if (ns == numeric_system::standard) return write((tm_.tm_yday - tm_.tm_wday + 7) / 7, 2); ++ format_localized('U', 'O'); ++ } ++ void on_iso_week_of_year(numeric_system ns) { ++ if (ns == numeric_system::standard) { ++ // ISO week calculation ++ int doy = tm_.tm_yday + 1; ++ int wday = tm_.tm_wday == 0 ? 7 : tm_.tm_wday; ++ int week = (doy - wday + 10) / 7; ++ if (week < 1) week = 1; ++ if (week > 52) { ++ int next_year_doy = 365 + ((tm_.tm_year + 1900) % 4 == 0 ? 1 : 0); ++ int next_wday = wday + (next_year_doy - doy) % 7; ++ if (next_wday > 7) next_wday -= 7; ++ if (next_wday <= 4) week = 1; ++ } ++ write(week, 2); ++ return; ++ } ++ format_localized('V', 'O'); ++ } ++ void on_dec1_week_of_year(numeric_system ns) { ++ if (ns == numeric_system::standard) { ++ int wday = tm_.tm_wday == 0 ? 6 : tm_.tm_wday - 1; ++ write((tm_.tm_yday - wday + 7) / 7, 2); ++ return; ++ } ++ format_localized('W', 'O'); ++ } ++ void on_24_hour(numeric_system ns) { ++ if (ns == numeric_system::standard) return write(tm_.tm_hour, 2); ++ format_localized('H', 'O'); ++ } ++ void on_12_hour(numeric_system ns) { ++ if (ns == numeric_system::standard) return write(tm_.tm_hour % 12 ? tm_.tm_hour % 12 : 12, 2); ++ format_localized('I', 'O'); ++ } ++ void on_minute(numeric_system ns) { ++ if (ns == numeric_system::standard) return write(tm_.tm_min, 2); ++ format_localized('M', 'O'); ++ } ++ void on_second(numeric_system ns) { ++ if (ns == numeric_system::standard) { ++ write(tm_.tm_sec, 2); ++ if (subsec_ != Duration::zero()) { ++ *out++ = '.'; ++ using period = typename Duration::period; ++ constexpr int num_fractional_digits = ++ period::den == 1 ? 0 ++ : period::den == 10 ? 1 ++ : period::den == 100 ? 2 ++ : period::den == 1000 ? 3 ++ : period::den == 10000 ? 4 ++ : period::den == 100000 ? 5 ++ : period::den == 1000000 ? 6 ++ : period::den == 10000000 ? 7 ++ : period::den == 100000000 ? 8 ++ : period::den == 1000000000 ? 9 ++ : -1; ++ if (num_fractional_digits > 0) { ++ auto subsec_count = subsec_.count(); ++ if (subsec_count < 0) subsec_count = -subsec_count; ++ write(static_cast(subsec_count), num_fractional_digits); ++ } else { ++ auto ms = get_milliseconds(subsec_); ++ if (ms != std::chrono::milliseconds(0)) { ++ write(static_cast(ms.count()), 3); ++ } ++ } ++ } ++ return; ++ } ++ format_localized('S', 'O'); ++ } ++ void on_datetime(numeric_system ns) { ++ if (ns == numeric_system::standard) return format_localized('c'); ++ format_localized('c', 'E'); ++ } ++ void on_loc_date(numeric_system ns) { ++ if (ns == numeric_system::standard) return format_localized('x'); ++ format_localized('x', 'E'); ++ } ++ void on_loc_time(numeric_system ns) { ++ if (ns == numeric_system::standard) return format_localized('X'); ++ format_localized('X', 'E'); ++ } ++ void on_us_date() { ++ write(tm_.tm_mon + 1, 2); ++ *out++ = '/'; ++ write(tm_.tm_mday, 2); ++ *out++ = '/'; ++ write(tm_.tm_year % 100, 2); ++ } ++ void on_iso_date() { ++ write(tm_.tm_year + 1900, 4); ++ *out++ = '-'; ++ write(tm_.tm_mon + 1, 2); ++ *out++ = '-'; ++ write(tm_.tm_mday, 2); ++ } ++ void on_12_hour_time() { format_localized('r'); } ++ void on_24_hour_time() { ++ write(tm_.tm_hour, 2); ++ *out++ = ':'; ++ write(tm_.tm_min, 2); ++ } ++ void on_iso_time() { ++ on_24_hour_time(); ++ *out++ = ':'; ++ on_second(numeric_system::standard); ++ } ++ void on_am_pm() { format_localized('p'); } ++ void on_utc_offset() { format_localized('z'); } ++ void on_tz_name() { format_localized('Z'); } ++ void on_duration_value() {} ++ void on_duration_unit() {} ++}; ++ + FMT_END_DETAIL_NAMESPACE + ++template ++struct formatter, ++ Char> { ++ basic_format_specs specs; ++ basic_string_view format_str; ++ ++ template ++ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { ++ auto it = ctx.begin(); ++ if (it != ctx.end() && *it == ':') ++it; ++ auto end = it; ++ while (end != ctx.end() && *end != '}') ++end; ++ format_str = {it, detail::to_unsigned(end - it)}; ++ return end; ++ } ++ ++ template ++ auto format(std::chrono::time_point val, ++ FormatContext& ctx) const -> decltype(ctx.out()) { ++ auto specs_copy = specs; ++ std::tm time = localtime(val); ++ using period = typename Duration::period; ++ auto subsec = std::chrono::duration_cast< ++ std::chrono::duration>( ++ val.time_since_epoch()) - ++ std::chrono::duration_cast( ++ val.time_since_epoch()); ++ basic_memory_buffer buf; ++ auto out = std::back_inserter(buf); ++ detail::time_point_formatter f( ++ ctx, out, time, subsec); ++ detail::parse_chrono_format(format_str.begin(), format_str.end(), f); ++ return detail::write(ctx.out(), ++ basic_string_view(buf.data(), buf.size()), ++ specs_copy); ++ } ++}; ++ + template + struct formatter, Char> { + private: diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/report.json new file mode 100644 index 000000000..8e4ca3de0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2292/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 2292, "valid": true, "error_msg": "", "fixed_tests": {"chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "wchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "locale-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 18, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "wchar-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "wchar-test", "gtest-extra-test", "locale-test", "ostream-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 18, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "assert-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "wchar-test", "gtest-extra-test", "locale-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/fix-patch-run.log new file mode 100644 index 000000000..15aefdba3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/fix-patch-run.log @@ -0,0 +1,391 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6434 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.6 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.7 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4740 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.0uMaoRee +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.0uMaoRee/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.0uMaoRee/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.0uMaoRee/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.0uMaoRee/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.0uMaoRee/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.0uMaoRee +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=831fc4152e3a +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.WkZ1y1dLoZ/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 7.1.4 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 7%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 9%] Linking CXX static library libgtest.a +[ 9%] Built target gtest +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 15%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 17%] Linking CXX static library libtest-main.a +[ 17%] Built target test-main +[ 19%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 21%] Linking CXX executable ../bin/args-test +[ 21%] Built target args-test +[ 23%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 25%] Linking CXX executable ../bin/assert-test +[ 25%] Built target assert-test +[ 26%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 28%] Linking CXX executable ../bin/chrono-test +[ 28%] Built target chrono-test +[ 30%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 32%] Linking CXX executable ../bin/color-test +[ 32%] Built target color-test +[ 34%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 36%] Linking CXX executable ../bin/core-test +[ 36%] Built target core-test +[ 38%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 40%] Linking CXX executable ../bin/gtest-extra-test +[ 40%] Built target gtest-extra-test +[ 42%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 44%] Linking CXX executable ../bin/format-test +[ 44%] Built target format-test +[ 46%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 48%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 50%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 51%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 53%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 55%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 57%] Linking CXX executable ../bin/format-impl-test +[ 57%] Built target format-impl-test +[ 59%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 61%] Linking CXX executable ../bin/ostream-test +[ 61%] Built target ostream-test +[ 63%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 65%] Linking CXX executable ../bin/compile-test +[ 65%] Built target compile-test +[ 67%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 69%] Linking CXX executable ../bin/printf-test +[ 69%] Built target printf-test +[ 71%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 73%] Linking CXX executable ../bin/ranges-test +[ 73%] Built target ranges-test +[ 75%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 76%] Linking CXX executable ../bin/scan-test +[ 76%] Built target scan-test +[ 78%] Building CXX object test/CMakeFiles/wchar-test.dir/wchar-test.cc.o +[ 80%] Linking CXX executable ../bin/wchar-test +[ 80%] Built target wchar-test +[ 82%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 84%] Linking CXX executable ../bin/enforce-checks-test +[ 84%] Built target enforce-checks-test +[ 86%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 88%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 96%] Linking CXX executable ../bin/posix-mock-test +[ 96%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/17 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/17 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/17 Test #3: chrono-test ...................... Passed 0.00 sec + Start 4: color-test + 4/17 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/17 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/17 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/17 Test #7: format-test ......................***Failed 0.01 sec + Start 8: format-impl-test + 8/17 Test #8: format-impl-test ................. Passed 0.01 sec + Start 9: ostream-test + 9/17 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/17 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: printf-test +11/17 Test #11: printf-test ...................... Passed 0.00 sec + Start 12: ranges-test +12/17 Test #12: ranges-test ...................... Passed 0.00 sec + Start 13: scan-test +13/17 Test #13: scan-test ........................ Passed 0.00 sec + Start 14: wchar-test +14/17 Test #14: wchar-test ....................... Passed 0.00 sec + Start 15: enforce-checks-test +15/17 Test #15: enforce-checks-test .............. Passed 0.00 sec + Start 16: posix-mock-test +16/17 Test #16: posix-mock-test .................. Passed 0.00 sec + Start 17: os-test +17/17 Test #17: os-test .......................... Passed 0.01 sec + +94% tests passed, 1 tests failed out of 17 + +Total Test time (real) = 0.06 sec + +The following tests FAILED: + 7 - format-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/fix.patch new file mode 100644 index 000000000..c5296eceb --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/fix.patch @@ -0,0 +1,20 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 6df5d849..4556e6d3 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -1591,7 +1591,14 @@ OutputIt write_nonfinite(OutputIt out, bool isinf, + constexpr size_t str_size = 3; + auto sign = fspecs.sign; + auto size = str_size + (sign ? 1 : 0); +- return write_padded(out, specs, size, [=](reserve_iterator it) { ++ auto s = specs; ++ // Zero-padding has no effect on inf/nan; use right-aligned space padding. ++ if (s.align == align::numeric) { ++ s.align = align::right; ++ auto fill_c = static_cast(' '); ++ s.fill = basic_string_view(&fill_c, 1); ++ } ++ return write_padded(out, s, size, [=](reserve_iterator it) { + if (sign) *it++ = static_cast(data::signs[sign]); + return copy_str(str, str + str_size, it); + }); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/report.json new file mode 100644 index 000000000..7110f0a39 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2310/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 2310, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (17, 0, 0)\n test = (16, 0, 0)\n fix = (16, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "wchar-test", "gtest-extra-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 16, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "wchar-test", "gtest-extra-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 16, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "assert-test", "core-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "wchar-test", "gtest-extra-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/fix-patch-run.log new file mode 100644 index 000000000..717279728 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/fix-patch-run.log @@ -0,0 +1,396 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6965 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.5 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.3 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4440 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.wrIyqQev +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.wrIyqQev/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.wrIyqQev/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.wrIyqQev/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.wrIyqQev/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.wrIyqQev/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.wrIyqQev +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=de6820c49272 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.MjIFXLt9MA/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 7.1.4 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 6%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 8%] Linking CXX static library libgtest.a +[ 8%] Built target gtest +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 12%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 15%] Linking CXX static library libtest-main.a +[ 15%] Built target test-main +[ 17%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 18%] Linking CXX executable ../bin/args-test +[ 18%] Built target args-test +[ 20%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 22%] Linking CXX executable ../bin/assert-test +[ 22%] Built target assert-test +[ 24%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 25%] Linking CXX executable ../bin/chrono-test +[ 25%] Built target chrono-test +[ 27%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 29%] Linking CXX executable ../bin/color-test +[ 29%] Built target color-test +[ 31%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 32%] Linking CXX executable ../bin/core-test +[ 32%] Built target core-test +[ 34%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 36%] Linking CXX executable ../bin/gtest-extra-test +[ 36%] Built target gtest-extra-test +[ 37%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 39%] Linking CXX executable ../bin/format-test +[ 39%] Built target format-test +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 44%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 46%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 48%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 50%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 51%] Linking CXX executable ../bin/format-impl-test +[ 51%] Built target format-impl-test +[ 53%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 55%] Linking CXX executable ../bin/ostream-test +[ 55%] Built target ostream-test +[ 56%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 58%] Linking CXX executable ../bin/compile-test +[ 58%] Built target compile-test +[ 60%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 63%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Linking CXX executable ../bin/ranges-test +[ 65%] Built target ranges-test +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 68%] Linking CXX executable ../bin/scan-test +[ 68%] Built target scan-test +[ 70%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 72%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 75%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 79%] Linking CXX executable ../bin/unicode-test +[ 79%] Built target unicode-test +[ 81%] Building CXX object test/CMakeFiles/wchar-test.dir/wchar-test.cc.o +[ 82%] Linking CXX executable ../bin/wchar-test +[ 82%] Built target wchar-test +[ 84%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 86%] Linking CXX executable ../bin/enforce-checks-test +[ 86%] Built target enforce-checks-test +[ 87%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 93%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 96%] Linking CXX executable ../bin/posix-mock-test +[ 96%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/18 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/18 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/18 Test #3: chrono-test ...................... Passed 0.00 sec + Start 4: color-test + 4/18 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/18 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/18 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/18 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/18 Test #8: format-impl-test ................. Passed 0.01 sec + Start 9: ostream-test + 9/18 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/18 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: printf-test +11/18 Test #11: printf-test ...................... Passed 0.00 sec + Start 12: ranges-test +12/18 Test #12: ranges-test ...................... Passed 0.00 sec + Start 13: scan-test +13/18 Test #13: scan-test ........................ Passed 0.00 sec + Start 14: unicode-test +14/18 Test #14: unicode-test ..................... Passed 0.00 sec + Start 15: wchar-test +15/18 Test #15: wchar-test ....................... Passed 0.00 sec + Start 16: enforce-checks-test +16/18 Test #16: enforce-checks-test .............. Passed 0.00 sec + Start 17: posix-mock-test +17/18 Test #17: posix-mock-test .................. Passed 0.00 sec + Start 18: os-test +18/18 Test #18: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 18 + +Total Test time (real) = 0.06 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/fix.patch new file mode 100644 index 000000000..bd18326b9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/fix.patch @@ -0,0 +1,17 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 4dc9e097..811c479c 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -1797,7 +1797,11 @@ OutputIt write(OutputIt out, T value, basic_format_specs specs, + if (fspecs.format == float_format::hex) { + if (fspecs.sign) buffer.push_back(data::signs[fspecs.sign]); + snprintf_float(promote_float(value), specs.precision, fspecs, buffer); +- return write_bytes(out, {buffer.data(), buffer.size()}, specs); ++ return write_padded(out, specs, buffer.size(), ++ [&](reserve_iterator it) { ++ return copy_str(buffer.data(), ++ buffer.data() + buffer.size(), it); ++ }); + } + int precision = specs.precision >= 0 || !specs.type ? specs.precision : 6; + if (fspecs.format == float_format::exp) { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/report.json new file mode 100644 index 000000000..bbb0d463d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2317/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 2317, "valid": true, "error_msg": "", "fixed_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "wchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 18, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "unicode-test", "wchar-test", "gtest-extra-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 17, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "unicode-test", "wchar-test", "gtest-extra-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 18, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "assert-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "unicode-test", "wchar-test", "gtest-extra-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/fix-patch-run.log new file mode 100644 index 000000000..cf989b107 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/fix-patch-run.log @@ -0,0 +1,396 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6857 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.1 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4665 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.l0ju00vy +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.l0ju00vy/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.l0ju00vy/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.l0ju00vy/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.l0ju00vy/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.l0ju00vy/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.l0ju00vy +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=8306602558d9 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.43OJwj5M08/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/color-test.cc +patching file include/fmt/color.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 8.0.1 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 5%] Linking CXX static library libfmt.a +[ 5%] Built target fmt +[ 6%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 8%] Linking CXX static library libgtest.a +[ 8%] Built target gtest +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 12%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 15%] Linking CXX static library libtest-main.a +[ 15%] Built target test-main +[ 17%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 18%] Linking CXX executable ../bin/args-test +[ 18%] Built target args-test +[ 20%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 22%] Linking CXX executable ../bin/assert-test +[ 22%] Built target assert-test +[ 24%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 25%] Linking CXX executable ../bin/chrono-test +[ 25%] Built target chrono-test +[ 27%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 29%] Linking CXX executable ../bin/color-test +[ 29%] Built target color-test +[ 31%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 32%] Linking CXX executable ../bin/core-test +[ 32%] Built target core-test +[ 34%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 36%] Linking CXX executable ../bin/gtest-extra-test +[ 36%] Built target gtest-extra-test +[ 37%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 39%] Linking CXX executable ../bin/format-test +[ 39%] Built target format-test +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 44%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 46%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 48%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 50%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 51%] Linking CXX executable ../bin/format-impl-test +[ 51%] Built target format-impl-test +[ 53%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 55%] Linking CXX executable ../bin/ostream-test +[ 55%] Built target ostream-test +[ 56%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 58%] Linking CXX executable ../bin/compile-test +[ 58%] Built target compile-test +[ 60%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 63%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Linking CXX executable ../bin/ranges-test +[ 65%] Built target ranges-test +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 68%] Linking CXX executable ../bin/scan-test +[ 68%] Built target scan-test +[ 70%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 72%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 75%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 79%] Linking CXX executable ../bin/unicode-test +[ 79%] Built target unicode-test +[ 81%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 82%] Linking CXX executable ../bin/xchar-test +[ 82%] Built target xchar-test +[ 84%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 86%] Linking CXX executable ../bin/enforce-checks-test +[ 86%] Built target enforce-checks-test +[ 87%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 93%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 96%] Linking CXX executable ../bin/posix-mock-test +[ 96%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/18 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/18 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/18 Test #3: chrono-test ...................... Passed 0.00 sec + Start 4: color-test + 4/18 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/18 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/18 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/18 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/18 Test #8: format-impl-test ................. Passed 0.01 sec + Start 9: ostream-test + 9/18 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/18 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: printf-test +11/18 Test #11: printf-test ...................... Passed 0.00 sec + Start 12: ranges-test +12/18 Test #12: ranges-test ...................... Passed 0.00 sec + Start 13: scan-test +13/18 Test #13: scan-test ........................ Passed 0.00 sec + Start 14: unicode-test +14/18 Test #14: unicode-test ..................... Passed 0.00 sec + Start 15: xchar-test +15/18 Test #15: xchar-test ....................... Passed 0.00 sec + Start 16: enforce-checks-test +16/18 Test #16: enforce-checks-test .............. Passed 0.00 sec + Start 17: posix-mock-test +17/18 Test #17: posix-mock-test .................. Passed 0.01 sec + Start 18: os-test +18/18 Test #18: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 18 + +Total Test time (real) = 0.06 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/fix.patch new file mode 100644 index 000000000..941b4868d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/fix.patch @@ -0,0 +1,60 @@ +diff --git a/include/fmt/color.h b/include/fmt/color.h +index 3d5490e8..a7c08ae3 100644 +--- a/include/fmt/color.h ++++ b/include/fmt/color.h +@@ -185,9 +185,17 @@ enum class terminal_color : uint8_t { + + enum class emphasis : uint8_t { + bold = 1, +- italic = 1 << 1, +- underline = 1 << 2, +- strikethrough = 1 << 3 ++ faint = 1 << 1, ++ dim = faint, ++ italic = 1 << 2, ++ underline = 1 << 3, ++ blink = 1 << 4, ++ slow_blink = blink, ++ reverse = 1 << 5, ++ invert = reverse, ++ conceal = 1 << 6, ++ hide = conceal, ++ strikethrough = 1 << 7 + }; + + // rgb is a struct for red, green and blue colors. +@@ -409,16 +417,19 @@ template struct ansi_color_escape { + buffer[19] = static_cast(0); + } + FMT_CONSTEXPR ansi_color_escape(emphasis em) FMT_NOEXCEPT { +- uint8_t em_codes[4] = {}; ++ uint8_t em_codes[8] = {}; + uint8_t em_bits = static_cast(em); + if (em_bits & static_cast(emphasis::bold)) em_codes[0] = 1; +- if (em_bits & static_cast(emphasis::italic)) em_codes[1] = 3; +- if (em_bits & static_cast(emphasis::underline)) em_codes[2] = 4; +- if (em_bits & static_cast(emphasis::strikethrough)) +- em_codes[3] = 9; ++ if (em_bits & static_cast(emphasis::faint)) em_codes[1] = 2; ++ if (em_bits & static_cast(emphasis::italic)) em_codes[2] = 3; ++ if (em_bits & static_cast(emphasis::underline)) em_codes[3] = 4; ++ if (em_bits & static_cast(emphasis::blink)) em_codes[4] = 5; ++ if (em_bits & static_cast(emphasis::reverse)) em_codes[5] = 7; ++ if (em_bits & static_cast(emphasis::conceal)) em_codes[6] = 8; ++ if (em_bits & static_cast(emphasis::strikethrough)) em_codes[7] = 9; + + size_t index = 0; +- for (int i = 0; i < 4; ++i) { ++ for (int i = 0; i < 8; ++i) { + if (!em_codes[i]) continue; + buffer[index++] = static_cast('\x1b'); + buffer[index++] = static_cast('['); +@@ -435,7 +446,7 @@ template struct ansi_color_escape { + } + + private: +- Char buffer[7u + 3u * 4u + 1u]; ++ Char buffer[7u + 3u * 8u + 1u]; + + static FMT_CONSTEXPR void to_esc(uint8_t c, Char* out, + char delimiter) FMT_NOEXCEPT { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/report.json new file mode 100644 index 000000000..3c5b94752 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2394/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 2394, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 18, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "color-test", "core-test", "format-test", "posix-mock-test", "scan-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "unicode-test", "gtest-extra-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test", "xchar-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 18, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "assert-test", "core-test", "format-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "printf-test", "unicode-test", "gtest-extra-test", "ostream-test", "chrono-test", "os-test", "args-test", "format-impl-test", "xchar-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/fix-patch-run.log new file mode 100644 index 000000000..f78465537 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/fix-patch-run.log @@ -0,0 +1,407 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6957 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.6 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.8 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4832 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.OQcxdOBA +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.OQcxdOBA/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.OQcxdOBA/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.OQcxdOBA/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.OQcxdOBA/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.OQcxdOBA/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.OQcxdOBA +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=3adc0ccf05a2 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.NPVPUC2nXF/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/compile-error-test/CMakeLists.txt +patching file test/core-test.cc +patching file include/fmt/core.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 8.0.1 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Performing Test FMT_HAS_VARIANT +-- Performing Test FMT_HAS_VARIANT - Success +-- Required features: cxx_variadic_templates +-- Looking for strtod_l +-- Looking for strtod_l - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 3%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 6%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 12%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 15%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 18%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 20%] Linking CXX executable ../bin/assert-test +[ 20%] Built target assert-test +[ 21%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 23%] Linking CXX executable ../bin/chrono-test +[ 23%] Built target chrono-test +[ 24%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 26%] Linking CXX executable ../bin/color-test +[ 26%] Built target color-test +[ 27%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 29%] Linking CXX executable ../bin/core-test +[ 29%] Built target core-test +[ 30%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 32%] Linking CXX executable ../bin/gtest-extra-test +[ 32%] Built target gtest-extra-test +[ 33%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 35%] Linking CXX executable ../bin/format-test +[ 35%] Built target format-test +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 44%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 46%] Linking CXX executable ../bin/format-impl-test +[ 46%] Built target format-impl-test +[ 47%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 49%] Linking CXX executable ../bin/ostream-test +[ 49%] Built target ostream-test +[ 50%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 52%] Linking CXX executable ../bin/compile-test +[ 52%] Built target compile-test +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 60%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 61%] Linking CXX executable ../bin/compile-fp-test +[ 61%] Built target compile-fp-test +[ 63%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 64%] Linking CXX executable ../bin/printf-test +[ 64%] Built target printf-test +[ 66%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 67%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 69%] Linking CXX executable ../bin/ranges-test +[ 69%] Built target ranges-test +[ 70%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 72%] Linking CXX executable ../bin/scan-test +[ 72%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 75%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 81%] Linking CXX executable ../bin/unicode-test +[ 81%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 84%] Linking CXX executable ../bin/xchar-test +[ 84%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 87%] Linking CXX executable ../bin/enforce-checks-test +[ 87%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 93%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 96%] Linking CXX executable ../bin/posix-mock-test +[ 96%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/19 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/19 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/19 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/19 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/19 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/19 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/19 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/19 Test #8: format-impl-test ................. Passed 0.01 sec + Start 9: ostream-test + 9/19 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/19 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/19 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/19 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/19 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/19 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: unicode-test +15/19 Test #15: unicode-test ..................... Passed 0.00 sec + Start 16: xchar-test +16/19 Test #16: xchar-test ....................... Passed 0.00 sec + Start 17: enforce-checks-test +17/19 Test #17: enforce-checks-test .............. Passed 0.00 sec + Start 18: posix-mock-test +18/19 Test #18: posix-mock-test .................. Passed 0.00 sec + Start 19: os-test +19/19 Test #19: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 19 + +Total Test time (real) = 0.12 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/fix.patch new file mode 100644 index 000000000..b7d0a9080 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/fix.patch @@ -0,0 +1,21 @@ +diff --git a/include/fmt/core.h b/include/fmt/core.h +index bb56da7f..99f3fab8 100644 +--- a/include/fmt/core.h ++++ b/include/fmt/core.h +@@ -1368,6 +1368,16 @@ template struct arg_mapper { + return val; + } + ++ template ::value || ++ (std::is_pointer::value && ++ std::is_function::type>::value) || ++ std::is_member_pointer::value)> ++ FMT_CONSTEXPR auto map(const T&) -> unformattable_pointer { ++ return {}; ++ } ++ + // We use SFINAE instead of a const T* parameter to avoid conflicting with + // the C array overload. + template < diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/report.json new file mode 100644 index 000000000..ba8c90a58 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2610/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 2610, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/fix-patch-run.log new file mode 100644 index 000000000..6a39f18ee --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/fix-patch-run.log @@ -0,0 +1,405 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7062 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (17.1 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5092 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.d7yJWtL9 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.d7yJWtL9/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.d7yJWtL9/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.d7yJWtL9/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.d7yJWtL9/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.d7yJWtL9/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.d7yJWtL9 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=229fb95ba90b +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.0itYUrHg8o/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/ranges-test.cc +patching file include/fmt/ranges.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 8.1.2 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Required features: cxx_variadic_templates +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.01 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.12 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/fix.patch new file mode 100644 index 000000000..e1460568b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/fix.patch @@ -0,0 +1,50 @@ +diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h +index a1fc80d2..9383040a 100644 +--- a/include/fmt/ranges.h ++++ b/include/fmt/ranges.h +@@ -202,6 +202,30 @@ template + using make_index_sequence = make_integer_sequence; + #endif + ++template ++struct is_tuple_formattable_impl_; ++ ++template ++struct is_tuple_formattable_impl_<0, Tuple, Char> : std::true_type {}; ++ ++template ++struct is_tuple_formattable_impl_ ++ : std::integral_constant< ++ bool, ++ is_formattable< ++ typename std::tuple_element::type, ++ Char>::value && ++ is_tuple_formattable_impl_::value> {}; ++ ++template ++struct is_tuple_formattable_ : std::false_type {}; ++ ++template ++struct is_tuple_formattable_< ++ T, Char, ++ void_t::value)>> ++ : is_tuple_formattable_impl_::value, T, Char> {}; ++ + template + void for_each(index_sequence, Tuple&& tup, F&& f) noexcept { + using std::get; +@@ -284,7 +308,13 @@ template struct is_tuple_like { + }; + + template +-struct formatter::value>> { ++struct formatter< ++ TupleT, Char, ++ enable_if_t::value ++#if !FMT_MSC_VERSION ++ && detail::is_tuple_formattable_::value ++#endif ++ >> { + private: + // C++11 generic lambda for format(). + template struct format_each { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/report.json new file mode 100644 index 000000000..98918434a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-2940/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 2940, "valid": true, "error_msg": "", "fixed_tests": {"ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/fix-patch-run.log new file mode 100644 index 000000000..ef3bd890b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/fix-patch-run.log @@ -0,0 +1,406 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6617 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (17.0 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.6 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4790 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.aJdE8WQH +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.aJdE8WQH/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.aJdE8WQH/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.aJdE8WQH/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.aJdE8WQH/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.aJdE8WQH/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.aJdE8WQH +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=1cf39a059321 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.MywZ0wNBkj/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/ranges-test.cc +patching file include/fmt/core.h +patching file include/fmt/ranges.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 9.1.1 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Required features: cxx_variadic_templates +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.13 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/fix.patch new file mode 100644 index 000000000..e7ac11fb1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/fix.patch @@ -0,0 +1,164 @@ +diff --git a/include/fmt/core.h b/include/fmt/core.h +index 5f44a974..3dffc7f1 100644 +--- a/include/fmt/core.h ++++ b/include/fmt/core.h +@@ -1360,6 +1360,14 @@ template struct has_format_as { + enum { value = decltype(check(static_cast(nullptr)))::value }; + }; + ++template struct is_range_like_ { ++ template ++ static auto check(U*) -> decltype(std::declval().begin(), ++ std::declval().end(), std::true_type()); ++ static auto check(...) -> std::false_type; ++ enum { value = decltype(check(static_cast(nullptr)))::value }; ++}; ++ + // Maps formatting arguments to core types. + // arg_mapper reports errors by returning unformattable instead of using + // static_assert because it's used in the is_formattable trait. +@@ -1448,7 +1456,8 @@ template struct arg_mapper { + FMT_ENABLE_IF( + std::is_convertible>::value && + !std::is_convertible>::value && +- !is_string::value && !has_formatter::value && ++ !is_string::value && !is_range_like_::value && ++ !has_formatter::value && + !has_fallback_formatter::value)> + FMT_CONSTEXPR FMT_INLINE auto map(const T& val) + -> basic_string_view { +diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h +index 2105a668..2e2befe7 100644 +--- a/include/fmt/ranges.h ++++ b/include/fmt/ranges.h +@@ -47,49 +47,6 @@ OutputIterator copy(wchar_t ch, OutputIterator out) { + return out; + } + +-// Returns true if T has a std::string-like interface, like std::string_view. +-template class is_std_string_like { +- template +- static auto check(U* p) +- -> decltype((void)p->find('a'), p->length(), (void)p->data(), int()); +- template static void check(...); +- +- public: +- static constexpr const bool value = +- is_string::value || +- std::is_convertible>::value || +- !std::is_void(nullptr))>::value; +-}; +- +-template +-struct is_std_string_like> : std::true_type {}; +- +-template class is_map { +- template static auto check(U*) -> typename U::mapped_type; +- template static void check(...); +- +- public: +-#ifdef FMT_FORMAT_MAP_AS_LIST +- static constexpr const bool value = false; +-#else +- static constexpr const bool value = +- !std::is_void(nullptr))>::value; +-#endif +-}; +- +-template class is_set { +- template static auto check(U*) -> typename U::key_type; +- template static void check(...); +- +- public: +-#ifdef FMT_FORMAT_SET_AS_LIST +- static constexpr const bool value = false; +-#else +- static constexpr const bool value = +- !std::is_void(nullptr))>::value && !is_map::value; +-#endif +-}; +- + template struct conditional_helper {}; + + template struct is_range_ : std::false_type {}; +@@ -167,6 +124,50 @@ struct is_range_ + # undef FMT_DECLTYPE_RETURN + #endif + ++// Returns true if T has a std::string-like interface, like std::string_view. ++template class is_std_string_like { ++ template ++ static auto check(U* p) ++ -> decltype((void)p->find('a'), p->length(), (void)p->data(), int()); ++ template static void check(...); ++ ++ public: ++ static constexpr const bool value = ++ is_string::value || ++ (std::is_convertible>::value && ++ !is_range_::value) || ++ !std::is_void(nullptr))>::value; ++}; ++ ++template ++struct is_std_string_like> : std::true_type {}; ++ ++template class is_map { ++ template static auto check(U*) -> typename U::mapped_type; ++ template static void check(...); ++ ++ public: ++#ifdef FMT_FORMAT_MAP_AS_LIST ++ static constexpr const bool value = false; ++#else ++ static constexpr const bool value = ++ !std::is_void(nullptr))>::value; ++#endif ++}; ++ ++template class is_set { ++ template static auto check(U*) -> typename U::key_type; ++ template static void check(...); ++ ++ public: ++#ifdef FMT_FORMAT_SET_AS_LIST ++ static constexpr const bool value = false; ++#else ++ static constexpr const bool value = ++ !std::is_void(nullptr))>::value && !is_map::value; ++#endif ++}; ++ + // tuple_size and tuple_element check. + template class is_tuple_like_ { + template +@@ -289,7 +290,8 @@ auto write_range_entry(OutputIt out, basic_string_view str) -> OutputIt { + } + + template >::value)> ++ FMT_ENABLE_IF(std::is_convertible>::value && ++ !is_range_::value)> + inline auto write_range_entry(OutputIt out, const T& str) -> OutputIt { + auto sv = std_string_view(str); + return write_range_entry(out, basic_string_view(sv)); +@@ -469,6 +471,10 @@ struct range_formatter< + closing_bracket_ = close; + } + ++ FMT_CONSTEXPR void set_debug_format() { ++ maybe_set_debug_format(underlying_, 0); ++ } ++ + template + FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { + auto it = ctx.begin(); +@@ -559,6 +565,8 @@ struct range_default_formatter< + + FMT_CONSTEXPR void init(range_format_constant) {} + ++ FMT_CONSTEXPR void set_debug_format() { underlying_.set_debug_format(); } ++ + template + FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { + return underlying_.parse(ctx); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/report.json new file mode 100644 index 000000000..00795ad31 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3158/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3158, "valid": true, "error_msg": "", "fixed_tests": {"ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/fix-patch-run.log new file mode 100644 index 000000000..0295b04cf --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/fix-patch-run.log @@ -0,0 +1,399 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 2s (6112 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.6 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (23.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5611 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.xyzx4EX6 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.xyzx4EX6/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.xyzx4EX6/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.xyzx4EX6/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.xyzx4EX6/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.xyzx4EX6/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.xyzx4EX6 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=c6aef5d4a16d +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.ie2FtzqwkA/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/core.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 9.1.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.14 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/fix.patch new file mode 100644 index 000000000..5d3e623bd --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/fix.patch @@ -0,0 +1,17 @@ +diff --git a/include/fmt/core.h b/include/fmt/core.h +index 5d13cc6f..90a5bbda 100644 +--- a/include/fmt/core.h ++++ b/include/fmt/core.h +@@ -2226,8 +2226,10 @@ template class specs_setter { + FMT_CONSTEXPR void on_localized() { specs_.localized = true; } + + FMT_CONSTEXPR void on_zero() { +- if (specs_.align == align::none) specs_.align = align::numeric; +- specs_.fill[0] = Char('0'); ++ if (specs_.align == align::none) { ++ specs_.align = align::numeric; ++ specs_.fill[0] = Char('0'); ++ } + } + + FMT_CONSTEXPR void on_width(int width) { specs_.width = width; } diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/report.json new file mode 100644 index 000000000..fc7bd1fe8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3248/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3248, "valid": true, "error_msg": "", "fixed_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/fix-patch-run.log new file mode 100644 index 000000000..4c3865403 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/fix-patch-run.log @@ -0,0 +1,399 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 2s (5625 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.0 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5462 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.2aPVEp4y +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.2aPVEp4y/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.2aPVEp4y/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.2aPVEp4y/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.2aPVEp4y/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.2aPVEp4y/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.2aPVEp4y +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=65827d4bfd5a +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.oQLoYYQpBe/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/chrono-test.cc +patching file include/fmt/chrono.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 9.1.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.14 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/fix.patch new file mode 100644 index 000000000..c3432bc91 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/fix.patch @@ -0,0 +1,67 @@ +diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h +index 64ebdabe..ad293e6b 100644 +--- a/include/fmt/chrono.h ++++ b/include/fmt/chrono.h +@@ -2197,6 +2197,9 @@ template struct formatter { + }; + spec spec_ = spec::unknown; + basic_string_view specs; ++ format_specs parsed_specs_; ++ using arg_ref_type = detail::arg_ref; ++ arg_ref_type width_ref_; + + protected: + template FMT_CONSTEXPR auto do_parse(It begin, It end) -> It { +@@ -2212,21 +2215,39 @@ template struct formatter { + const Duration* subsecs) const -> decltype(ctx.out()) { + const auto loc_ref = ctx.locale(); + detail::get_locale loc(static_cast(loc_ref), loc_ref); +- auto w = detail::tm_writer( +- loc, ctx.out(), tm, subsecs); ++ auto specs_copy = parsed_specs_; ++ detail::handle_dynamic_spec(specs_copy.width, ++ width_ref_, ctx); ++ basic_memory_buffer buf; ++ auto out = std::back_inserter(buf); ++ auto w = detail::tm_writer(loc, out, tm, ++ subsecs); + if (spec_ == spec::year_month_day) + w.on_iso_date(); + else if (spec_ == spec::hh_mm_ss) + w.on_iso_time(); + else + detail::parse_chrono_format(specs.begin(), specs.end(), w); +- return w.out(); ++ return detail::write( ++ ctx.out(), basic_string_view(buf.data(), buf.size()), specs_copy); + } + + public: + FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) + -> decltype(ctx.begin()) { +- auto end = this->do_parse(ctx.begin(), ctx.end()); ++ auto begin = ctx.begin(), end = ctx.end(); ++ if (begin != end && *begin == ':') ++begin; ++ if (begin != end) { ++ begin = detail::parse_align(begin, end, parsed_specs_); ++ if (begin != end) { ++ begin = detail::parse_dynamic_spec(begin, end, parsed_specs_.width, ++ width_ref_, ctx); ++ } ++ } ++ auto chrono_end = ++ detail::parse_chrono_format(begin, end, detail::tm_format_checker()); ++ if (chrono_end != begin) ++ specs = {begin, detail::to_unsigned(chrono_end - begin)}; + // basic_string_view<>::compare isn't constexpr before C++17. + if (specs.size() == 2 && specs[0] == Char('%')) { + if (specs[1] == Char('F')) +@@ -2234,7 +2255,7 @@ template struct formatter { + else if (specs[1] == Char('T')) + spec_ = spec::hh_mm_ss; + } +- return end; ++ return chrono_end; + } + + template diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/report.json new file mode 100644 index 000000000..bdb48b26b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3260/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3260, "valid": true, "error_msg": "", "fixed_tests": {"chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/fix-patch-run.log new file mode 100644 index 000000000..f9efb6a48 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/fix-patch-run.log @@ -0,0 +1,403 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 2s (5670 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.1 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.6 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5045 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.Nd7kQU2K +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.Nd7kQU2K/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.Nd7kQU2K/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.Nd7kQU2K/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.Nd7kQU2K/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.Nd7kQU2K/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.Nd7kQU2K +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=a547a236e07f +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.1Mq3nCJteS/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/chrono-test.cc +patching file include/fmt/chrono.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 9.1.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ......................***Failed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +95% tests passed, 1 tests failed out of 20 + +Total Test time (real) = 0.14 sec + +The following tests FAILED: +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. + 3 - chrono-test (Failed) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/fix.patch new file mode 100644 index 000000000..66596b65e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/fix.patch @@ -0,0 +1,643 @@ +diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h +index b48b0d98..f3e84629 100644 +--- a/include/fmt/chrono.h ++++ b/include/fmt/chrono.h +@@ -664,6 +664,13 @@ enum class numeric_system { + alternative + }; + ++enum class pad_type { ++ // Pad with zeros (default). ++ zero, ++ // No padding. ++ none ++}; ++ + // Parses a put_time-like format string and invokes handler actions. + template + FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin, +@@ -890,6 +897,62 @@ FMT_CONSTEXPR const Char* parse_chrono_format(const Char* begin, + FMT_THROW(format_error("invalid format")); + } + break; ++ case '-': ++ if (ptr == end) FMT_THROW(format_error("invalid format")); ++ c = *ptr++; ++ switch (c) { ++ case 'd': ++ handler.on_day_of_month(numeric_system::standard, pad_type::none); ++ break; ++ case 'e': ++ handler.on_day_of_month_space(numeric_system::standard, pad_type::none); ++ break; ++ case 'H': ++ handler.on_24_hour(numeric_system::standard, pad_type::none); ++ break; ++ case 'I': ++ handler.on_12_hour(numeric_system::standard, pad_type::none); ++ break; ++ case 'm': ++ handler.on_dec_month(numeric_system::standard, pad_type::none); ++ break; ++ case 'M': ++ handler.on_minute(numeric_system::standard, pad_type::none); ++ break; ++ case 'S': ++ handler.on_second(numeric_system::standard, pad_type::none); ++ break; ++ case 'U': ++ handler.on_dec0_week_of_year(numeric_system::standard, pad_type::none); ++ break; ++ case 'W': ++ handler.on_dec1_week_of_year(numeric_system::standard, pad_type::none); ++ break; ++ case 'V': ++ handler.on_iso_week_of_year(numeric_system::standard, pad_type::none); ++ break; ++ case 'y': ++ handler.on_short_year(numeric_system::standard, pad_type::none); ++ break; ++ case 'C': ++ handler.on_century(numeric_system::standard, pad_type::none); ++ break; ++ case 'j': ++ handler.on_day_of_year(pad_type::none); ++ break; ++ case 'w': ++ handler.on_dec0_weekday(numeric_system::standard, pad_type::none); ++ break; ++ case 'u': ++ handler.on_dec1_weekday(numeric_system::standard, pad_type::none); ++ break; ++ case 'z': ++ handler.on_utc_offset(numeric_system::standard, pad_type::none); ++ break; ++ default: ++ FMT_THROW(format_error("invalid format")); ++ } ++ break; + default: + FMT_THROW(format_error("invalid format")); + } +@@ -904,28 +967,61 @@ template struct null_chrono_spec_handler { + static_cast(this)->unsupported(); + } + FMT_CONSTEXPR void on_year(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_short_year(numeric_system) { unsupported(); } ++ FMT_CONSTEXPR void on_short_year(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } + FMT_CONSTEXPR void on_offset_year() { unsupported(); } +- FMT_CONSTEXPR void on_century(numeric_system) { unsupported(); } ++ FMT_CONSTEXPR void on_century(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } + FMT_CONSTEXPR void on_iso_week_based_year() { unsupported(); } + FMT_CONSTEXPR void on_iso_week_based_short_year() { unsupported(); } + FMT_CONSTEXPR void on_abbr_weekday() { unsupported(); } + FMT_CONSTEXPR void on_full_weekday() { unsupported(); } +- FMT_CONSTEXPR void on_dec0_weekday(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_dec1_weekday(numeric_system) { unsupported(); } ++ FMT_CONSTEXPR void on_dec0_weekday(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_dec1_weekday(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } + FMT_CONSTEXPR void on_abbr_month() { unsupported(); } + FMT_CONSTEXPR void on_full_month() { unsupported(); } +- FMT_CONSTEXPR void on_dec_month(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_iso_week_of_year(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_day_of_year() { unsupported(); } +- FMT_CONSTEXPR void on_day_of_month(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_day_of_month_space(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_24_hour(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_12_hour(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_minute(numeric_system) { unsupported(); } +- FMT_CONSTEXPR void on_second(numeric_system) { unsupported(); } ++ FMT_CONSTEXPR void on_dec_month(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system, ++ pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system, ++ pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_iso_week_of_year(numeric_system, ++ pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_day_of_year(pad_type = pad_type::zero) { unsupported(); } ++ FMT_CONSTEXPR void on_day_of_month(numeric_system, ++ pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_day_of_month_space(numeric_system, ++ pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_minute(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } ++ FMT_CONSTEXPR void on_second(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } + FMT_CONSTEXPR void on_datetime(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_loc_date(numeric_system) { unsupported(); } + FMT_CONSTEXPR void on_loc_time(numeric_system) { unsupported(); } +@@ -937,7 +1033,9 @@ template struct null_chrono_spec_handler { + FMT_CONSTEXPR void on_am_pm() { unsupported(); } + FMT_CONSTEXPR void on_duration_value() { unsupported(); } + FMT_CONSTEXPR void on_duration_unit() { unsupported(); } +- FMT_CONSTEXPR void on_utc_offset(numeric_system) { unsupported(); } ++ FMT_CONSTEXPR void on_utc_offset(numeric_system, pad_type = pad_type::zero) { ++ unsupported(); ++ } + FMT_CONSTEXPR void on_tz_name() { unsupported(); } + }; + +@@ -947,28 +1045,35 @@ struct tm_format_checker : null_chrono_spec_handler { + template + FMT_CONSTEXPR void on_text(const Char*, const Char*) {} + FMT_CONSTEXPR void on_year(numeric_system) {} +- FMT_CONSTEXPR void on_short_year(numeric_system) {} ++ FMT_CONSTEXPR void on_short_year(numeric_system, pad_type = pad_type::zero) {} + FMT_CONSTEXPR void on_offset_year() {} +- FMT_CONSTEXPR void on_century(numeric_system) {} ++ FMT_CONSTEXPR void on_century(numeric_system, pad_type = pad_type::zero) {} + FMT_CONSTEXPR void on_iso_week_based_year() {} + FMT_CONSTEXPR void on_iso_week_based_short_year() {} + FMT_CONSTEXPR void on_abbr_weekday() {} + FMT_CONSTEXPR void on_full_weekday() {} +- FMT_CONSTEXPR void on_dec0_weekday(numeric_system) {} +- FMT_CONSTEXPR void on_dec1_weekday(numeric_system) {} ++ FMT_CONSTEXPR void on_dec0_weekday(numeric_system, ++ pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_dec1_weekday(numeric_system, ++ pad_type = pad_type::zero) {} + FMT_CONSTEXPR void on_abbr_month() {} + FMT_CONSTEXPR void on_full_month() {} +- FMT_CONSTEXPR void on_dec_month(numeric_system) {} +- FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system) {} +- FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system) {} +- FMT_CONSTEXPR void on_iso_week_of_year(numeric_system) {} +- FMT_CONSTEXPR void on_day_of_year() {} +- FMT_CONSTEXPR void on_day_of_month(numeric_system) {} +- FMT_CONSTEXPR void on_day_of_month_space(numeric_system) {} +- FMT_CONSTEXPR void on_24_hour(numeric_system) {} +- FMT_CONSTEXPR void on_12_hour(numeric_system) {} +- FMT_CONSTEXPR void on_minute(numeric_system) {} +- FMT_CONSTEXPR void on_second(numeric_system) {} ++ FMT_CONSTEXPR void on_dec_month(numeric_system, pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_dec0_week_of_year(numeric_system, ++ pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_dec1_week_of_year(numeric_system, ++ pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_iso_week_of_year(numeric_system, ++ pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_day_of_year(pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_day_of_month(numeric_system, ++ pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_day_of_month_space(numeric_system, ++ pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_minute(numeric_system, pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_second(numeric_system, pad_type = pad_type::zero) {} + FMT_CONSTEXPR void on_datetime(numeric_system) {} + FMT_CONSTEXPR void on_loc_date(numeric_system) {} + FMT_CONSTEXPR void on_loc_time(numeric_system) {} +@@ -978,7 +1083,7 @@ struct tm_format_checker : null_chrono_spec_handler { + FMT_CONSTEXPR void on_24_hour_time() {} + FMT_CONSTEXPR void on_iso_time() {} + FMT_CONSTEXPR void on_am_pm() {} +- FMT_CONSTEXPR void on_utc_offset(numeric_system) {} ++ FMT_CONSTEXPR void on_utc_offset(numeric_system, pad_type = pad_type::zero) {} + FMT_CONSTEXPR void on_tz_name() {} + }; + +@@ -1238,6 +1343,16 @@ class tm_writer { + *out_++ = *d++; + *out_++ = *d; + } ++ void write2_no_pad(int value) { ++ value = to_unsigned(value) % 100; ++ if (value >= 10) { ++ const char* d = digits2(to_unsigned(value)); ++ *out_++ = *d++; ++ *out_++ = *d; ++ } else { ++ write1(value); ++ } ++ } + + void write_year_extended(long long year) { + // At least 4 characters. +@@ -1261,7 +1376,7 @@ class tm_writer { + } + } + +- void write_utc_offset(long offset, numeric_system ns) { ++ void write_utc_offset(long offset, numeric_system ns, pad_type pad = pad_type::zero) { + if (offset < 0) { + *out_++ = '-'; + offset = -offset; +@@ -1269,16 +1384,24 @@ class tm_writer { + *out_++ = '+'; + } + offset /= 60; +- write2(static_cast(offset / 60)); ++ if (pad == pad_type::none) { ++ write2_no_pad(static_cast(offset / 60)); ++ } else { ++ write2(static_cast(offset / 60)); ++ } + if (ns != numeric_system::standard) *out_++ = ':'; +- write2(static_cast(offset % 60)); ++ if (pad == pad_type::none) { ++ write2_no_pad(static_cast(offset % 60)); ++ } else { ++ write2(static_cast(offset % 60)); ++ } + } + template ::value)> +- void format_utc_offset_impl(const T& tm, numeric_system ns) { +- write_utc_offset(tm.tm_gmtoff, ns); ++ void format_utc_offset_impl(const T& tm, numeric_system ns, pad_type pad = pad_type::zero) { ++ write_utc_offset(tm.tm_gmtoff, ns, pad); + } + template ::value)> +- void format_utc_offset_impl(const T& tm, numeric_system ns) { ++ void format_utc_offset_impl(const T& tm, numeric_system ns, pad_type pad = pad_type::zero) { + #if defined(_WIN32) && defined(_UCRT) + # if FMT_USE_TZSET + tzset_once(); +@@ -1290,9 +1413,9 @@ class tm_writer { + _get_dstbias(&dstbias); + offset += dstbias; + } +- write_utc_offset(-offset, ns); ++ write_utc_offset(-offset, ns, pad); + #else +- if (ns == numeric_system::standard) return format_localized('z'); ++ if (ns == numeric_system::standard && pad == pad_type::zero) return format_localized('z'); + + // Extract timezone offset from timezone conversion functions. + std::tm gtm = tm; +@@ -1300,7 +1423,7 @@ class tm_writer { + std::tm ltm = gmtime(gt); + std::time_t lt = std::mktime(<m); + long offset = gt - lt; +- write_utc_offset(offset, ns); ++ write_utc_offset(offset, ns, pad); + #endif + } + +@@ -1349,11 +1472,11 @@ class tm_writer { + else + format_localized('A'); + } +- void on_dec0_weekday(numeric_system ns) { ++ void on_dec0_weekday(numeric_system ns, pad_type = pad_type::zero) { + if (is_classic_ || ns == numeric_system::standard) return write1(tm_wday()); + format_localized('w', 'O'); + } +- void on_dec1_weekday(numeric_system ns) { ++ void on_dec1_weekday(numeric_system ns, pad_type = pad_type::zero) { + if (is_classic_ || ns == numeric_system::standard) { + auto wday = tm_wday(); + write1(wday == 0 ? days_per_week : wday); +@@ -1426,7 +1549,7 @@ class tm_writer { + out_ = copy_str(std::begin(buf) + offset, std::end(buf), out_); + } + +- void on_utc_offset(numeric_system ns) { format_utc_offset_impl(tm_, ns); } ++ void on_utc_offset(numeric_system ns, pad_type pad = pad_type::zero) { format_utc_offset_impl(tm_, ns, pad); } + void on_tz_name() { format_tz_name_impl(tm_); } + + void on_year(numeric_system ns) { +@@ -1434,9 +1557,12 @@ class tm_writer { + return write_year(tm_year()); + format_localized('Y', 'E'); + } +- void on_short_year(numeric_system ns) { +- if (is_classic_ || ns == numeric_system::standard) ++ void on_short_year(numeric_system ns, pad_type pad = pad_type::zero) { ++ if (is_classic_ || ns == numeric_system::standard) { ++ if (pad == pad_type::none) ++ return write2_no_pad(split_year_lower(tm_year())); + return write2(split_year_lower(tm_year())); ++ } + format_localized('y', 'O'); + } + void on_offset_year() { +@@ -1444,7 +1570,7 @@ class tm_writer { + format_localized('y', 'E'); + } + +- void on_century(numeric_system ns) { ++ void on_century(numeric_system ns, pad_type pad = pad_type::zero) { + if (is_classic_ || ns == numeric_system::standard) { + auto year = tm_year(); + auto upper = year / 100; +@@ -1453,7 +1579,10 @@ class tm_writer { + *out_++ = '-'; + *out_++ = '0'; + } else if (upper >= 0 && upper < 100) { +- write2(static_cast(upper)); ++ if (pad == pad_type::none) ++ write2_no_pad(static_cast(upper)); ++ else ++ write2(static_cast(upper)); + } else { + out_ = write(out_, upper); + } +@@ -1462,30 +1591,43 @@ class tm_writer { + } + } + +- void on_dec_month(numeric_system ns) { +- if (is_classic_ || ns == numeric_system::standard) ++ void on_dec_month(numeric_system ns, pad_type pad = pad_type::zero) { ++ if (is_classic_ || ns == numeric_system::standard) { ++ if (pad == pad_type::none) ++ return write2_no_pad(tm_mon() + 1); + return write2(tm_mon() + 1); ++ } + format_localized('m', 'O'); + } + +- void on_dec0_week_of_year(numeric_system ns) { +- if (is_classic_ || ns == numeric_system::standard) +- return write2((tm_yday() + days_per_week - tm_wday()) / days_per_week); ++ void on_dec0_week_of_year(numeric_system ns, pad_type pad = pad_type::zero) { ++ if (is_classic_ || ns == numeric_system::standard) { ++ auto val = (tm_yday() + days_per_week - tm_wday()) / days_per_week; ++ if (pad == pad_type::none) ++ return write2_no_pad(val); ++ return write2(val); ++ } + format_localized('U', 'O'); + } +- void on_dec1_week_of_year(numeric_system ns) { ++ void on_dec1_week_of_year(numeric_system ns, pad_type pad = pad_type::zero) { + if (is_classic_ || ns == numeric_system::standard) { + auto wday = tm_wday(); +- write2((tm_yday() + days_per_week - ++ auto val = (tm_yday() + days_per_week - + (wday == 0 ? (days_per_week - 1) : (wday - 1))) / +- days_per_week); ++ days_per_week; ++ if (pad == pad_type::none) ++ return write2_no_pad(val); ++ return write2(val); + } else { + format_localized('W', 'O'); + } + } +- void on_iso_week_of_year(numeric_system ns) { +- if (is_classic_ || ns == numeric_system::standard) ++ void on_iso_week_of_year(numeric_system ns, pad_type pad = pad_type::zero) { ++ if (is_classic_ || ns == numeric_system::standard) { ++ if (pad == pad_type::none) ++ return write2_no_pad(tm_iso_week_of_year()); + return write2(tm_iso_week_of_year()); ++ } + format_localized('V', 'O'); + } + +@@ -1494,43 +1636,74 @@ class tm_writer { + write2(split_year_lower(tm_iso_week_year())); + } + +- void on_day_of_year() { ++ void on_day_of_year(pad_type pad = pad_type::zero) { + auto yday = tm_yday() + 1; +- write1(yday / 100); +- write2(yday % 100); ++ if (pad == pad_type::none) { ++ out_ = write(out_, yday); ++ } else { ++ write1(yday / 100); ++ write2(yday % 100); ++ } + } +- void on_day_of_month(numeric_system ns) { +- if (is_classic_ || ns == numeric_system::standard) return write2(tm_mday()); ++ void on_day_of_month(numeric_system ns, pad_type pad = pad_type::zero) { ++ if (is_classic_ || ns == numeric_system::standard) { ++ if (pad == pad_type::none) ++ return write2_no_pad(tm_mday()); ++ return write2(tm_mday()); ++ } + format_localized('d', 'O'); + } +- void on_day_of_month_space(numeric_system ns) { ++ void on_day_of_month_space(numeric_system ns, pad_type pad = pad_type::zero) { + if (is_classic_ || ns == numeric_system::standard) { + auto mday = to_unsigned(tm_mday()) % 100; + const char* d2 = digits2(mday); +- *out_++ = mday < 10 ? ' ' : d2[0]; +- *out_++ = d2[1]; ++ if (pad == pad_type::none) { ++ if (mday < 10) ++ write1(mday); ++ else { ++ *out_++ = d2[0]; ++ *out_++ = d2[1]; ++ } ++ } else { ++ *out_++ = mday < 10 ? ' ' : d2[0]; ++ *out_++ = d2[1]; ++ } + } else { + format_localized('e', 'O'); + } + } + +- void on_24_hour(numeric_system ns) { +- if (is_classic_ || ns == numeric_system::standard) return write2(tm_hour()); ++ void on_24_hour(numeric_system ns, pad_type pad = pad_type::zero) { ++ if (is_classic_ || ns == numeric_system::standard) { ++ if (pad == pad_type::none) ++ return write2_no_pad(tm_hour()); ++ return write2(tm_hour()); ++ } + format_localized('H', 'O'); + } +- void on_12_hour(numeric_system ns) { +- if (is_classic_ || ns == numeric_system::standard) ++ void on_12_hour(numeric_system ns, pad_type pad = pad_type::zero) { ++ if (is_classic_ || ns == numeric_system::standard) { ++ if (pad == pad_type::none) ++ return write2_no_pad(tm_hour12()); + return write2(tm_hour12()); ++ } + format_localized('I', 'O'); + } +- void on_minute(numeric_system ns) { +- if (is_classic_ || ns == numeric_system::standard) return write2(tm_min()); ++ void on_minute(numeric_system ns, pad_type pad = pad_type::zero) { ++ if (is_classic_ || ns == numeric_system::standard) { ++ if (pad == pad_type::none) ++ return write2_no_pad(tm_min()); ++ return write2(tm_min()); ++ } + format_localized('M', 'O'); + } + +- void on_second(numeric_system ns) { ++ void on_second(numeric_system ns, pad_type pad = pad_type::zero) { + if (is_classic_ || ns == numeric_system::standard) { +- write2(tm_sec()); ++ if (pad == pad_type::none) ++ write2_no_pad(tm_sec()); ++ else ++ write2(tm_sec()); + if (subsecs_) { + if (std::is_floating_point::value) { + auto buf = memory_buffer(); +@@ -1594,10 +1767,10 @@ struct chrono_format_checker : null_chrono_spec_handler { + + template + FMT_CONSTEXPR void on_text(const Char*, const Char*) {} +- FMT_CONSTEXPR void on_24_hour(numeric_system) {} +- FMT_CONSTEXPR void on_12_hour(numeric_system) {} +- FMT_CONSTEXPR void on_minute(numeric_system) {} +- FMT_CONSTEXPR void on_second(numeric_system) {} ++ FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_minute(numeric_system, pad_type = pad_type::zero) {} ++ FMT_CONSTEXPR void on_second(numeric_system, pad_type = pad_type::zero) {} + FMT_CONSTEXPR void on_12_hour_time() {} + FMT_CONSTEXPR void on_24_hour_time() {} + FMT_CONSTEXPR void on_iso_time() {} +@@ -1849,8 +2022,8 @@ struct chrono_formatter { + // These are not implemented because durations don't have date information. + void on_abbr_weekday() {} + void on_full_weekday() {} +- void on_dec0_weekday(numeric_system) {} +- void on_dec1_weekday(numeric_system) {} ++ void on_dec0_weekday(numeric_system, pad_type = pad_type::zero) {} ++ void on_dec1_weekday(numeric_system, pad_type = pad_type::zero) {} + void on_abbr_month() {} + void on_full_month() {} + void on_datetime(numeric_system) {} +@@ -1858,50 +2031,59 @@ struct chrono_formatter { + void on_loc_time(numeric_system) {} + void on_us_date() {} + void on_iso_date() {} +- void on_utc_offset(numeric_system) {} ++ void on_utc_offset(numeric_system, pad_type = pad_type::zero) {} + void on_tz_name() {} + void on_year(numeric_system) {} +- void on_short_year(numeric_system) {} ++ void on_short_year(numeric_system, pad_type = pad_type::zero) {} + void on_offset_year() {} +- void on_century(numeric_system) {} ++ void on_century(numeric_system, pad_type = pad_type::zero) {} + void on_iso_week_based_year() {} + void on_iso_week_based_short_year() {} +- void on_dec_month(numeric_system) {} +- void on_dec0_week_of_year(numeric_system) {} +- void on_dec1_week_of_year(numeric_system) {} +- void on_iso_week_of_year(numeric_system) {} +- void on_day_of_year() {} +- void on_day_of_month(numeric_system) {} +- void on_day_of_month_space(numeric_system) {} +- +- void on_24_hour(numeric_system ns) { ++ void on_dec_month(numeric_system, pad_type = pad_type::zero) {} ++ void on_dec0_week_of_year(numeric_system, pad_type = pad_type::zero) {} ++ void on_dec1_week_of_year(numeric_system, pad_type = pad_type::zero) {} ++ void on_iso_week_of_year(numeric_system, pad_type = pad_type::zero) {} ++ void on_day_of_year(pad_type = pad_type::zero) {} ++ void on_day_of_month(numeric_system, pad_type = pad_type::zero) {} ++ void on_day_of_month_space(numeric_system, pad_type = pad_type::zero) {} ++ ++ void on_24_hour(numeric_system ns, pad_type pad = pad_type::zero) { + if (handle_nan_inf()) return; + +- if (ns == numeric_system::standard) return write(hour(), 2); ++ if (ns == numeric_system::standard) { ++ if (pad == pad_type::none) return write(hour(), 1); ++ return write(hour(), 2); ++ } + auto time = tm(); + time.tm_hour = to_nonnegative_int(hour(), 24); +- format_tm(time, &tm_writer_type::on_24_hour, ns); ++ format_tm(time, &tm_writer_type::on_24_hour, ns, pad); + } + +- void on_12_hour(numeric_system ns) { ++ void on_12_hour(numeric_system ns, pad_type pad = pad_type::zero) { + if (handle_nan_inf()) return; + +- if (ns == numeric_system::standard) return write(hour12(), 2); ++ if (ns == numeric_system::standard) { ++ if (pad == pad_type::none) return write(hour12(), 1); ++ return write(hour12(), 2); ++ } + auto time = tm(); + time.tm_hour = to_nonnegative_int(hour12(), 12); +- format_tm(time, &tm_writer_type::on_12_hour, ns); ++ format_tm(time, &tm_writer_type::on_12_hour, ns, pad); + } + +- void on_minute(numeric_system ns) { ++ void on_minute(numeric_system ns, pad_type pad = pad_type::zero) { + if (handle_nan_inf()) return; + +- if (ns == numeric_system::standard) return write(minute(), 2); ++ if (ns == numeric_system::standard) { ++ if (pad == pad_type::none) return write(minute(), 1); ++ return write(minute(), 2); ++ } + auto time = tm(); + time.tm_min = to_nonnegative_int(minute(), 60); +- format_tm(time, &tm_writer_type::on_minute, ns); ++ format_tm(time, &tm_writer_type::on_minute, ns, pad); + } + +- void on_second(numeric_system ns) { ++ void on_second(numeric_system ns, pad_type pad = pad_type::zero) { + if (handle_nan_inf()) return; + + if (ns == numeric_system::standard) { +@@ -1910,10 +2092,14 @@ struct chrono_formatter { + write_floating_seconds(buf, std::chrono::duration(val), + precision); + if (negative) *out++ = '-'; +- if (buf.size() < 2 || buf[1] == '.') *out++ = '0'; ++ if (pad != pad_type::none && (buf.size() < 2 || buf[1] == '.')) ++ *out++ = '0'; + out = std::copy(buf.begin(), buf.end(), out); + } else { +- write(second(), 2); ++ if (pad == pad_type::none) ++ write(second(), 1); ++ else ++ write(second(), 2); + write_fractional_seconds( + out, std::chrono::duration(val), precision); + } +@@ -1921,7 +2107,7 @@ struct chrono_formatter { + } + auto time = tm(); + time.tm_sec = to_nonnegative_int(second(), 60); +- format_tm(time, &tm_writer_type::on_second, ns); ++ format_tm(time, &tm_writer_type::on_second, ns, pad); + } + + void on_12_hour_time() { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/report.json new file mode 100644 index 000000000..b5ccbb054 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3271/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3271, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (20, 0, 0)\n test = (19, 0, 0)\n fix = (19, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/fix-patch-run.log new file mode 100644 index 000000000..287673d8b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/fix-patch-run.log @@ -0,0 +1,399 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6895 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.3 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.4 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4904 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.69cqfWMh +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.69cqfWMh/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.69cqfWMh/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.69cqfWMh/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.69cqfWMh/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.69cqfWMh/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.69cqfWMh +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=e85e5a269e54 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.TwsDHvREck/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/xchar-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 9.1.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.14 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/fix.patch new file mode 100644 index 000000000..a65a2eb09 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/fix.patch @@ -0,0 +1,13 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 8f05c7d9..6df7acdb 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -2547,7 +2547,7 @@ FMT_CONSTEXPR20 auto do_write_float(OutputIt out, const DecimalFP& f, + int num_zeros = fspecs.showpoint ? fspecs.precision - significand_size : 0; + size += 1 + to_unsigned(num_zeros > 0 ? num_zeros : 0); + auto grouping = Grouping(loc, fspecs.locale); +- size += to_unsigned(grouping.count_separators(significand_size)); ++ size += to_unsigned(grouping.count_separators(exp)); + return write_padded(out, specs, size, [&](iterator it) { + if (sign) *it++ = detail::sign(sign); + it = write_significand(it, significand, significand_size, exp, diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/report.json new file mode 100644 index 000000000..c78d988e3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3272/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3272, "valid": true, "error_msg": "", "fixed_tests": {"xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/fix-patch-run.log new file mode 100644 index 000000000..bbc39f48d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/fix-patch-run.log @@ -0,0 +1,807 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7064 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.9 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5065 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.gd39sQqK +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.gd39sQqK/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.gd39sQqK/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.gd39sQqK/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.gd39sQqK/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.gd39sQqK/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.gd39sQqK +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=fa36628ad769 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.fRVmv1XjDd/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/ranges-test.cc +patching file include/fmt/std.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Module support is disabled. +-- Version: 9.1.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +/home/fmt/test/ranges-test.cc: In member function ‘virtual void ranges_test_container_adaptor_Test::TestBody()’: +/home/fmt/test/ranges-test.cc:414:24: error: ‘is_container_adaptor_like’ has not been declared in ‘fmt::v9::detail’ + 414 | using fmt::detail::is_container_adaptor_like; + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/test/ranges-test.cc:416:19: error: ‘is_container_adaptor_like’ was not declared in this scope + 416 | static_assert(is_container_adaptor_like>::value, ""); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/test/ranges-test.cc:416:57: error: expected primary-expression before ‘>’ token + 416 | static_assert(is_container_adaptor_like>::value, ""); + | ^~ +/home/fmt/test/ranges-test.cc:416:61: error: ‘::value’ has not been declared + 416 | static_assert(is_container_adaptor_like>::value, ""); + | ^~~~~ +/home/fmt/test/ranges-test.cc:417:57: error: expected primary-expression before ‘>’ token + 417 | static_assert(is_container_adaptor_like>::value, ""); + | ^~ +/home/fmt/test/ranges-test.cc:417:61: error: ‘::value’ has not been declared + 417 | static_assert(is_container_adaptor_like>::value, ""); + | ^~~~~ +/home/fmt/test/ranges-test.cc:418:66: error: expected primary-expression before ‘>’ token + 418 | static_assert(is_container_adaptor_like>::value, ""); + | ^~ +/home/fmt/test/ranges-test.cc:418:70: error: ‘::value’ has not been declared + 418 | static_assert(is_container_adaptor_like>::value, ""); + | ^~~~~ +/home/fmt/test/ranges-test.cc:419:59: error: expected primary-expression before ‘>’ token + 419 | static_assert(!is_container_adaptor_like>::value, ""); + | ^~ +/home/fmt/test/ranges-test.cc:419:63: error: ‘::value’ has not been declared + 419 | static_assert(!is_container_adaptor_like>::value, ""); + | ^~~~~ +In file included from /home/fmt/include/fmt/format.h:49, + from /home/fmt/include/fmt/ranges.h:19, + from /home/fmt/test/ranges-test.cc:12: +/home/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::stack&]’: +/home/fmt/include/fmt/core.h:1775:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::stack&; typename std::enable_if::type = 0]’ + 1775 | return make_value(val); + | ~~~~~~~~~~~~~~~~~~~^~~~~ +/home/fmt/include/fmt/core.h:1892:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::stack > >&}; Context = fmt::v9::basic_format_context; Args = {std::stack > >}]’ + 1890 | data_{detail::make_arg< + | ~~~~~~~~~~~~~~~~~ + 1891 | is_packed, Context, + | ~~~~~~~~~~~~~~~~~~~ + 1892 | detail::mapped_type_constant, Context>::value>( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 1893 | FMT_FORWARD(args))...} { + | ~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1909:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::stack > >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string > >&>]’ + 1909 | return {FMT_FORWARD(args)...}; + | ^ +/home/fmt/test/ranges-test.cc:426:5: required from here + 426 | EXPECT_EQ(fmt::format("{}", s), "[1, 2]"); + | ~~~~~~~~~~~^~~~~~~~~ +/home/fmt/include/fmt/core.h:2895:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ +/home/fmt/include/fmt/core.h:1755:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt + 1755 | formattable, + | ^~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1755:7: note: ‘formattable’ evaluates to false +/home/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::stack&]’: +/home/fmt/include/fmt/core.h:1775:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = const std::stack&; typename std::enable_if::type = 0]’ + 1775 | return make_value(val); + | ~~~~~~~~~~~~~~~~~~~^~~~~ +/home/fmt/include/fmt/core.h:1892:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::stack > >&}; Context = fmt::v9::basic_format_context; Args = {std::stack > >}]’ + 1890 | data_{detail::make_arg< + | ~~~~~~~~~~~~~~~~~ + 1891 | is_packed, Context, + | ~~~~~~~~~~~~~~~~~~~ + 1892 | detail::mapped_type_constant, Context>::value>( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 1893 | FMT_FORWARD(args))...} { + | ~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1909:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const std::stack > >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string > >&>]’ + 1909 | return {FMT_FORWARD(args)...}; + | ^ +/home/fmt/test/ranges-test.cc:427:5: required from here + 427 | EXPECT_EQ(fmt::format("{}", const_cast(s)), "[1, 2]"); + | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:2895:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ +/home/fmt/include/fmt/core.h:1755:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt + 1755 | formattable, + | ^~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1755:7: note: ‘formattable’ evaluates to false +/home/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::queue&]’: +/home/fmt/include/fmt/core.h:1775:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::queue&; typename std::enable_if::type = 0]’ + 1775 | return make_value(val); + | ~~~~~~~~~~~~~~~~~~~^~~~~ +/home/fmt/include/fmt/core.h:1892:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::queue > >&}; Context = fmt::v9::basic_format_context; Args = {std::queue > >}]’ + 1890 | data_{detail::make_arg< + | ~~~~~~~~~~~~~~~~~ + 1891 | is_packed, Context, + | ~~~~~~~~~~~~~~~~~~~ + 1892 | detail::mapped_type_constant, Context>::value>( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 1893 | FMT_FORWARD(args))...} { + | ~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1909:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::queue > >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string > >&>]’ + 1909 | return {FMT_FORWARD(args)...}; + | ^ +/home/fmt/test/ranges-test.cc:434:5: required from here + 434 | EXPECT_EQ(fmt::format("{}", q), "[1, 2]"); + | ~~~~~~~~~~~^~~~~~~~~ +/home/fmt/include/fmt/core.h:2895:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ +/home/fmt/include/fmt/core.h:1755:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt + 1755 | formattable, + | ^~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1755:7: note: ‘formattable’ evaluates to false +/home/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::priority_queue&]’: +/home/fmt/include/fmt/core.h:1775:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::priority_queue&; typename std::enable_if::type = 0]’ + 1775 | return make_value(val); + | ~~~~~~~~~~~~~~~~~~~^~~~~ +/home/fmt/include/fmt/core.h:1892:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::priority_queue >, std::less >&}; Context = fmt::v9::basic_format_context; Args = {std::priority_queue >, std::less >}]’ + 1890 | data_{detail::make_arg< + | ~~~~~~~~~~~~~~~~~ + 1891 | is_packed, Context, + | ~~~~~~~~~~~~~~~~~~~ + 1892 | detail::mapped_type_constant, Context>::value>( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 1893 | FMT_FORWARD(args))...} { + | ~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1909:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::priority_queue >, std::less >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string >, std::less >&>]’ + 1909 | return {FMT_FORWARD(args)...}; + | ^ +/home/fmt/test/ranges-test.cc:443:5: required from here + 443 | EXPECT_EQ(fmt::format("{}", q), "[4, 3, 2, 1]"); + | ~~~~~~~~~~~^~~~~~~~~ +/home/fmt/include/fmt/core.h:2895:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ +/home/fmt/include/fmt/core.h:1755:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt + 1755 | formattable, + | ^~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1755:7: note: ‘formattable’ evaluates to false +/home/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::stack >&]’: +/home/fmt/include/fmt/core.h:1775:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::stack >&; typename std::enable_if::type = 0]’ + 1775 | return make_value(val); + | ~~~~~~~~~~~~~~~~~~~^~~~~ +/home/fmt/include/fmt/core.h:1892:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::stack, std::allocator > >&}; Context = fmt::v9::basic_format_context; Args = {std::stack, std::allocator > >}]’ + 1890 | data_{detail::make_arg< + | ~~~~~~~~~~~~~~~~~ + 1891 | is_packed, Context, + | ~~~~~~~~~~~~~~~~~~~ + 1892 | detail::mapped_type_constant, Context>::value>( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 1893 | FMT_FORWARD(args))...} { + | ~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1909:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::stack, std::allocator > >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator > >&>]’ + 1909 | return {FMT_FORWARD(args)...}; + | ^ +/home/fmt/test/ranges-test.cc:453:5: required from here + 453 | EXPECT_EQ(fmt::format("{}", s), "ab"); + | ~~~~~~~~~~~^~~~~~~~~ +/home/fmt/include/fmt/core.h:2895:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ +/home/fmt/include/fmt/core.h:1755:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt + 1755 | formattable, + | ^~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1755:7: note: ‘formattable’ evaluates to false +/home/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = ranges_test_container_adaptor_Test::TestBody()::my_container_adaptor&]’: +/home/fmt/include/fmt/core.h:1775:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = ranges_test_container_adaptor_Test::TestBody()::my_container_adaptor&; typename std::enable_if::type = 0]’ + 1775 | return make_value(val); + | ~~~~~~~~~~~~~~~~~~~^~~~~ +/home/fmt/include/fmt/core.h:1892:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {ranges_test_container_adaptor_Test::TestBody()::my_container_adaptor&}; Context = fmt::v9::basic_format_context; Args = {ranges_test_container_adaptor_Test::TestBody()::my_container_adaptor}]’ + 1890 | data_{detail::make_arg< + | ~~~~~~~~~~~~~~~~~ + 1891 | is_packed, Context, + | ~~~~~~~~~~~~~~~~~~~ + 1892 | detail::mapped_type_constant, Context>::value>( + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ + 1893 | FMT_FORWARD(args))...} { + | ~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1909:31: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {ranges_test_container_adaptor_Test::TestBody()::my_container_adaptor&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ + 1909 | return {FMT_FORWARD(args)...}; + | ^ +/home/fmt/test/ranges-test.cc:469:5: required from here + 469 | EXPECT_EQ(fmt::format("{}", m), "[1, 2]"); + | ~~~~~~~~~~~^~~~~~~~~ +/home/fmt/include/fmt/core.h:2895:44: in ‘constexpr’ expansion of ‘fmt::v9::make_format_args<>(args#0)’ +/home/fmt/include/fmt/core.h:1755:7: error: static assertion failed: Cannot format an argument. To make type T formattable provide a formatter specialization: https://fmt.dev/latest/api.html#udt + 1755 | formattable, + | ^~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1755:7: note: ‘formattable’ evaluates to false +gmake[2]: *** [test/CMakeFiles/ranges-test.dir/build.make:76: test/CMakeFiles/ranges-test.dir/ranges-test.cc.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:562: test/CMakeFiles/ranges-test.dir/all] Error 2 +gmake: *** [Makefile:166: all] Error 2 +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +Could not find executable /home/fmt/build/bin/ranges-test +Looked in the following places: +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Development/ranges-test +/home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/Release/ranges-test +Unable to find executable: /home/fmt/build/bin/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/Development/ranges-test +13/20 Test #13: ranges-test ......................***Not Run 0.00 sec + Start 14: scan-test +Could not find executable /home/fmt/build/bin/scan-test +Looked in the following places: +/home/fmt/build/bin/scan-test +/home/fmt/build/bin/scan-test +/home/fmt/build/bin/Release/scan-test +/home/fmt/build/bin/Release/scan-test +/home/fmt/build/bin/Debug/scan-test +/home/fmt/build/bin/Debug/scan-test +/home/fmt/build/bin/MinSizeRel/scan-test +/home/fmt/build/bin/MinSizeRel/scan-test +/home/fmt/build/bin/RelWithDebInfo/scan-test +Unable to find executable: /home/fmt/build/bin/scan-test +/home/fmt/build/bin/RelWithDebInfo/scan-test +/home/fmt/build/bin/Deployment/scan-test +/home/fmt/build/bin/Deployment/scan-test +/home/fmt/build/bin/Development/scan-test +/home/fmt/build/bin/Development/scan-test +home/fmt/build/bin/scan-test +home/fmt/build/bin/scan-test +home/fmt/build/bin/Release/scan-test +home/fmt/build/bin/Release/scan-test +home/fmt/build/bin/Debug/scan-test +home/fmt/build/bin/Debug/scan-test +home/fmt/build/bin/MinSizeRel/scan-test +home/fmt/build/bin/MinSizeRel/scan-test +home/fmt/build/bin/RelWithDebInfo/scan-test +home/fmt/build/bin/RelWithDebInfo/scan-test +home/fmt/build/bin/Deployment/scan-test +home/fmt/build/bin/Deployment/scan-test +home/fmt/build/bin/Development/scan-test +home/fmt/build/bin/Development/scan-test +14/20 Test #14: scan-test ........................***Not Run 0.00 sec + Start 15: std-test +Could not find executable /home/fmt/build/bin/std-test +Looked in the following places: +Unable to find executable: /home/fmt/build/bin/std-test +/home/fmt/build/bin/std-test +/home/fmt/build/bin/std-test +/home/fmt/build/bin/Release/std-test +/home/fmt/build/bin/Release/std-test +/home/fmt/build/bin/Debug/std-test +/home/fmt/build/bin/Debug/std-test +/home/fmt/build/bin/MinSizeRel/std-test +/home/fmt/build/bin/MinSizeRel/std-test +/home/fmt/build/bin/RelWithDebInfo/std-test +/home/fmt/build/bin/RelWithDebInfo/std-test +/home/fmt/build/bin/Deployment/std-test +/home/fmt/build/bin/Deployment/std-test +/home/fmt/build/bin/Development/std-test +/home/fmt/build/bin/Development/std-test +home/fmt/build/bin/std-test +home/fmt/build/bin/std-test +home/fmt/build/bin/Release/std-test +home/fmt/build/bin/Release/std-test +home/fmt/build/bin/Debug/std-test +home/fmt/build/bin/Debug/std-test +Unable to find executable: /home/fmt/build/bin/unicode-test +home/fmt/build/bin/MinSizeRel/std-test +home/fmt/build/bin/MinSizeRel/std-test +home/fmt/build/bin/RelWithDebInfo/std-test +home/fmt/build/bin/RelWithDebInfo/std-test +home/fmt/build/bin/Deployment/std-test +home/fmt/build/bin/Deployment/std-test +home/fmt/build/bin/Development/std-test +home/fmt/build/bin/Development/std-test +15/20 Test #15: std-test .........................***Not Run 0.00 sec + Start 16: unicode-test +Could not find executable /home/fmt/build/bin/unicode-test +Looked in the following places: +/home/fmt/build/bin/unicode-test +/home/fmt/build/bin/unicode-test +/home/fmt/build/bin/Release/unicode-test +/home/fmt/build/bin/Release/unicode-test +/home/fmt/build/bin/Debug/unicode-test +/home/fmt/build/bin/Debug/unicode-test +/home/fmt/build/bin/MinSizeRel/unicode-test +Unable to find executable: /home/fmt/build/bin/xchar-test +/home/fmt/build/bin/MinSizeRel/unicode-test +/home/fmt/build/bin/RelWithDebInfo/unicode-test +/home/fmt/build/bin/RelWithDebInfo/unicode-test +/home/fmt/build/bin/Deployment/unicode-test +/home/fmt/build/bin/Deployment/unicode-test +/home/fmt/build/bin/Development/unicode-test +/home/fmt/build/bin/Development/unicode-test +home/fmt/build/bin/unicode-test +home/fmt/build/bin/unicode-test +home/fmt/build/bin/Release/unicode-test +home/fmt/build/bin/Release/unicode-test +home/fmt/build/bin/Debug/unicode-test +home/fmt/build/bin/Debug/unicode-test +home/fmt/build/bin/MinSizeRel/unicode-test +home/fmt/build/bin/MinSizeRel/unicode-test +home/fmt/build/bin/RelWithDebInfo/unicode-test +home/fmt/build/bin/RelWithDebInfo/unicode-test +home/fmt/build/bin/Deployment/unicode-test +home/fmt/build/bin/Deployment/unicode-test +home/fmt/build/bin/Development/unicode-test +home/fmt/build/bin/Development/unicode-test +16/20 Test #16: unicode-test .....................***Not Run 0.00 sec + Start 17: xchar-test +Could not find executable /home/fmt/build/bin/xchar-test +Looked in the following places: +/home/fmt/build/bin/xchar-test +/home/fmt/build/bin/xchar-test +/home/fmt/build/bin/Release/xchar-test +/home/fmt/build/bin/Release/xchar-test +/home/fmt/build/bin/Debug/xchar-test +/home/fmt/build/bin/Debug/xchar-test +/home/fmt/build/bin/MinSizeRel/xchar-test +/home/fmt/build/bin/MinSizeRel/xchar-test +/home/fmt/build/bin/RelWithDebInfo/xchar-test +/home/fmt/build/bin/RelWithDebInfo/xchar-test +/home/fmt/build/bin/Deployment/xchar-test +/home/fmt/build/bin/Deployment/xchar-test +/home/fmt/build/bin/Development/xchar-test +/home/fmt/build/bin/Development/xchar-test +home/fmt/build/bin/xchar-test +home/fmt/build/bin/xchar-test +home/fmt/build/bin/Release/xchar-test +home/fmt/build/bin/Release/xchar-test +home/fmt/build/bin/Debug/xchar-test +home/fmt/build/bin/Debug/xchar-test +home/fmt/build/bin/MinSizeRel/xchar-test +home/fmt/build/bin/MinSizeRel/xchar-test +home/fmt/build/bin/RelWithDebInfo/xchar-test +home/fmt/build/bin/RelWithDebInfo/xchar-test +home/fmt/build/bin/Deployment/xchar-test +home/fmt/build/bin/Deployment/xchar-test +home/fmt/build/bin/Development/xchar-test +home/fmt/build/bin/Development/xchar-test +17/20 Test #17: xchar-test .......................***Not Run 0.00 sec +Unable to find executable: /home/fmt/build/bin/enforce-checks-test + Start 18: enforce-checks-test +Unable to find executable: /home/fmt/build/bin/posix-mock-test +Could not find executable /home/fmt/build/bin/enforce-checks-test +Looked in the following places: +/home/fmt/build/bin/enforce-checks-test +/home/fmt/build/bin/enforce-checks-test +/home/fmt/build/bin/Release/enforce-checks-test +/home/fmt/build/bin/Release/enforce-checks-test +/home/fmt/build/bin/Debug/enforce-checks-test +/home/fmt/build/bin/Debug/enforce-checks-test +/home/fmt/build/bin/MinSizeRel/enforce-checks-test +Unable to find executable: /home/fmt/build/bin/os-test +/home/fmt/build/bin/MinSizeRel/enforce-checks-test +/home/fmt/build/bin/RelWithDebInfo/enforce-checks-test +/home/fmt/build/bin/RelWithDebInfo/enforce-checks-test +/home/fmt/build/bin/Deployment/enforce-checks-test +/home/fmt/build/bin/Deployment/enforce-checks-test +/home/fmt/build/bin/Development/enforce-checks-test +/home/fmt/build/bin/Development/enforce-checks-test +home/fmt/build/bin/enforce-checks-test +home/fmt/build/bin/enforce-checks-test +home/fmt/build/bin/Release/enforce-checks-test +home/fmt/build/bin/Release/enforce-checks-test +home/fmt/build/bin/Debug/enforce-checks-test +home/fmt/build/bin/Debug/enforce-checks-test +home/fmt/build/bin/MinSizeRel/enforce-checks-test +home/fmt/build/bin/MinSizeRel/enforce-checks-test +home/fmt/build/bin/RelWithDebInfo/enforce-checks-test +home/fmt/build/bin/RelWithDebInfo/enforce-checks-test +home/fmt/build/bin/Deployment/enforce-checks-test +home/fmt/build/bin/Deployment/enforce-checks-test +home/fmt/build/bin/Development/enforce-checks-test +home/fmt/build/bin/Development/enforce-checks-test +18/20 Test #18: enforce-checks-test ..............***Not Run 0.00 sec + Start 19: posix-mock-test +Could not find executable /home/fmt/build/bin/posix-mock-test +Looked in the following places: +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +19/20 Test #19: posix-mock-test ..................***Not Run 0.00 sec + Start 20: os-test +Could not find executable /home/fmt/build/bin/os-test +Looked in the following places: +/home/fmt/build/bin/os-test +/home/fmt/build/bin/os-test +/home/fmt/build/bin/Release/os-test +/home/fmt/build/bin/Release/os-test +/home/fmt/build/bin/Debug/os-test +/home/fmt/build/bin/Debug/os-test +/home/fmt/build/bin/MinSizeRel/os-test +/home/fmt/build/bin/MinSizeRel/os-test +/home/fmt/build/bin/RelWithDebInfo/os-test +/home/fmt/build/bin/RelWithDebInfo/os-test +/home/fmt/build/bin/Deployment/os-test +/home/fmt/build/bin/Deployment/os-test +/home/fmt/build/bin/Development/os-test +/home/fmt/build/bin/Development/os-test +home/fmt/build/bin/os-test +home/fmt/build/bin/os-test +home/fmt/build/bin/Release/os-test +home/fmt/build/bin/Release/os-test +home/fmt/build/bin/Debug/os-test +home/fmt/build/bin/Debug/os-test +home/fmt/build/bin/MinSizeRel/os-test +home/fmt/build/bin/MinSizeRel/os-test +home/fmt/build/bin/RelWithDebInfo/os-test +home/fmt/build/bin/RelWithDebInfo/os-test +home/fmt/build/bin/Deployment/os-test +home/fmt/build/bin/Deployment/os-test +home/fmt/build/bin/Development/os-test +home/fmt/build/bin/Development/os-test +20/20 Test #20: os-test ..........................***Not Run 0.00 sec + +60% tests passed, 8 tests failed out of 20 + +Total Test time (real) = 0.11 sec + +The following tests FAILED: + 13 - ranges-test (Not Run) + 14 - scan-test (Not Run) + 15 - std-test (Not Run) + 16 - unicode-test (Not Run) + 17 - xchar-test (Not Run) + 18 - enforce-checks-test (Not Run) + 19 - posix-mock-test (Not Run) + 20 - os-test (Not Run) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/fix.patch new file mode 100644 index 000000000..1a51f3ee3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/fix.patch @@ -0,0 +1,95 @@ +diff --git a/include/fmt/std.h b/include/fmt/std.h +index 32c3e454..3d62dc5b 100644 +--- a/include/fmt/std.h ++++ b/include/fmt/std.h +@@ -11,12 +11,15 @@ + #include + #include + #include ++#include ++#include + #include + #include + #include + #include + + #include "ostream.h" ++#include "ranges.h" + + #if FMT_HAS_INCLUDE() + # include +@@ -285,4 +288,74 @@ struct formatter< + }; + FMT_END_NAMESPACE + ++FMT_BEGIN_NAMESPACE ++ ++namespace detail { ++template ++struct is_formattable_container_adapter : std::true_type {}; ++ ++template ++auto get_underlying_container(const Adapter& adapter) -> const typename Adapter::container_type& { ++ struct accessor : Adapter { ++ static auto get(const Adapter& a) -> const typename Adapter::container_type& { ++ return a.*(&accessor::c); ++ } ++ }; ++ return accessor::get(adapter); ++} ++} // namespace detail ++ ++template ++struct formatter, Char, ++ enable_if_t::container_type::value_type, Char>::value>> { ++ template ++ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { ++ return underlying_.parse(ctx); ++ } ++ ++ template ++ auto format(const std::queue& q, FormatContext& ctx) const -> decltype(ctx.out()) { ++ return underlying_.format(detail::get_underlying_container(q), ctx); ++ } ++ ++ private: ++ range_formatter underlying_; ++}; ++ ++template ++struct formatter, Char, ++ enable_if_t::container_type::value_type, Char>::value>> { ++ template ++ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { ++ return underlying_.parse(ctx); ++ } ++ ++ template ++ auto format(const std::stack& s, FormatContext& ctx) const -> decltype(ctx.out()) { ++ return underlying_.format(detail::get_underlying_container(s), ctx); ++ } ++ ++ private: ++ range_formatter underlying_; ++}; ++ ++template ++struct formatter, Char, ++ enable_if_t::container_type::value_type, Char>::value>> { ++ template ++ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { ++ return underlying_.parse(ctx); ++ } ++ ++ template ++ auto format(const std::priority_queue& pq, FormatContext& ctx) const -> decltype(ctx.out()) { ++ return underlying_.format(detail::get_underlying_container(pq), ctx); ++ } ++ ++ private: ++ range_formatter underlying_; ++}; ++ ++FMT_END_NAMESPACE ++ + #endif // FMT_STD_H_ diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/report.json new file mode 100644 index 000000000..af31e2001 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3279/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3279, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 12, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "assert-test", "core-test", "format-test", "compile-test", "printf-test", "gtest-extra-test", "ostream-test", "compile-fp-test", "chrono-test", "args-test", "format-impl-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/fix-patch-run.log new file mode 100644 index 000000000..c0697e45f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/fix-patch-run.log @@ -0,0 +1,398 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6931 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.7 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5355 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.3qCDRb0B +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.3qCDRb0B/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.3qCDRb0B/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.3qCDRb0B/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.3qCDRb0B/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.3qCDRb0B/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.3qCDRb0B +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=962e7902bab5 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.xx78iHz6Rd/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/color-test.cc +patching file include/fmt/core.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.0.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.14 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/fix.patch new file mode 100644 index 000000000..d38f931b8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/fix.patch @@ -0,0 +1,36 @@ +diff --git a/include/fmt/core.h b/include/fmt/core.h +index 370b2f1e..f37793b9 100644 +--- a/include/fmt/core.h ++++ b/include/fmt/core.h +@@ -504,6 +504,8 @@ FMT_EXPORT + template struct is_char : std::false_type {}; + template <> struct is_char : std::true_type {}; + ++template class basic_format_string; ++ + namespace detail { + + // A base class for compile-time strings. +@@ -512,6 +514,12 @@ struct compile_string {}; + template + struct is_compile_string : std::is_base_of {}; + ++template ++FMT_INLINE auto to_string_view(const basic_format_string& s) ++ -> basic_string_view { ++ return s.get(); ++} ++ + template ::value)> + FMT_INLINE auto to_string_view(const Char* s) -> basic_string_view { + return s; +@@ -2748,6 +2756,9 @@ template class basic_format_string { + FMT_INLINE auto get() const -> basic_string_view { return str_; } + }; + ++template ++struct detail::is_string> : std::true_type {}; ++ + #if FMT_GCC_VERSION && FMT_GCC_VERSION < 409 + // Workaround broken conversion on older gcc. + template using format_string = string_view; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/report.json new file mode 100644 index 000000000..50a05a197 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3537/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3537, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/fix-patch-run.log new file mode 100644 index 000000000..a746fbe59 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/fix-patch-run.log @@ -0,0 +1,398 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7135 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.1 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.7 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4484 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.bBlKI1Uk +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.bBlKI1Uk/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.bBlKI1Uk/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.bBlKI1Uk/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.bBlKI1Uk/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.bBlKI1Uk/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.bBlKI1Uk +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=51ebacb21894 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.jvkAO7FA8i/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.0.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.13 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/fix.patch new file mode 100644 index 000000000..78f66cb17 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/fix.patch @@ -0,0 +1,25 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index dfd5d78a..52630956 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -4286,13 +4286,19 @@ auto join(Range&& range, string_view sep) + std::string answer = fmt::to_string(42); + \endrst + */ +-template ::value)> ++template ::value && ++ !detail::has_format_as::value)> + inline auto to_string(const T& value) -> std::string { + auto buffer = memory_buffer(); + detail::write(appender(buffer), value); + return {buffer.data(), buffer.size()}; + } + ++template ::value)> ++FMT_NODISCARD inline auto to_string(const T& value) -> std::string { ++ return vformat("{}", fmt::make_format_args(value)); ++} ++ + template ::value)> + FMT_NODISCARD inline auto to_string(T value) -> std::string { + // The buffer should be large enough to store the number including the sign diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/report.json new file mode 100644 index 000000000..c210504bd --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3555/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3555, "valid": true, "error_msg": "", "fixed_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/fix-patch-run.log new file mode 100644 index 000000000..b2690f499 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/fix-patch-run.log @@ -0,0 +1,398 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6850 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.2 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4792 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.F2IpNyaw +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.F2IpNyaw/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.F2IpNyaw/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.F2IpNyaw/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.F2IpNyaw/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.F2IpNyaw/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.F2IpNyaw +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=418bf1e7b276 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.XPsUCDhg73/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/std-test.cc +patching file include/fmt/core.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.0.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.14 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/fix.patch new file mode 100644 index 000000000..3ddf1cf83 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/fix.patch @@ -0,0 +1,24 @@ +diff --git a/include/fmt/core.h b/include/fmt/core.h +index f6886cf4..aa7cd33d 100644 +--- a/include/fmt/core.h ++++ b/include/fmt/core.h +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + + // The fmt library version in the form major * 10000 + minor * 100 + patch. + #define FMT_VERSION 100001 +@@ -294,6 +295,11 @@ inline auto format_as(T b) -> unsigned char { + } + #endif + ++template ::reference>::value)> ++inline auto format_as(T ref) -> bool { ++ return static_cast(ref); ++} ++ + namespace detail { + // Suppresses "unused variable" warnings with the method described in + // https://herbsutter.com/2009/10/18/mailbag-shutting-up-compiler-warnings/. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/report.json new file mode 100644 index 000000000..952b84d31 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3569/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3569, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/fix-patch-run.log new file mode 100644 index 000000000..baeb51d8a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/fix-patch-run.log @@ -0,0 +1,398 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6783 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.7 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5178 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.Eg6Y4dGk +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.Eg6Y4dGk/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.Eg6Y4dGk/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.Eg6Y4dGk/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.Eg6Y4dGk/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.Eg6Y4dGk/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.Eg6Y4dGk +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d0d50a3d56db +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.9Su5w19DFa/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/std-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.1.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.13 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/fix.patch new file mode 100644 index 000000000..d79609ec5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/fix.patch @@ -0,0 +1,12 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index b84b6a5c..60595b2f 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -4054,6 +4054,7 @@ struct formatter::value>> + : private formatter, Char> { + using base = formatter, Char>; + using base::parse; ++ using base::set_debug_format; + + template + auto format(const T& value, FormatContext& ctx) const -> decltype(ctx.out()) { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/report.json new file mode 100644 index 000000000..b44fbdc2e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3713/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3713, "valid": true, "error_msg": "", "fixed_tests": {"std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/fix-patch-run.log new file mode 100644 index 000000000..6e0eebe1b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/fix-patch-run.log @@ -0,0 +1,402 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7059 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (17.8 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (18.7 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4679 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.lSg7fzRJ +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.lSg7fzRJ/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.lSg7fzRJ/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.lSg7fzRJ/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.lSg7fzRJ/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.lSg7fzRJ/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.lSg7fzRJ +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=f4942313612d +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.M63NGtbuaS/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/chrono-test.cc +patching file include/fmt/chrono.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.1.1 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ......................***Failed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.01 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +95% tests passed, 1 tests failed out of 20 + +Total Test time (real) = 0.14 sec + +The following tests FAILED: + 3 - chrono-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/fix.patch new file mode 100644 index 000000000..5483db79b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/fix.patch @@ -0,0 +1,46 @@ +diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h +index 7bd4206d..7c5b985e 100644 +--- a/include/fmt/chrono.h ++++ b/include/fmt/chrono.h +@@ -2095,12 +2095,17 @@ struct formatter, + } + + return formatter::do_format( +- gmtime(std::chrono::time_point_cast(val)), ctx, +- &subsecs); ++ gmtime(static_cast( ++ std::chrono::duration_cast(val.time_since_epoch()) ++ .count())), ++ ctx, &subsecs); + } + + return formatter::format( +- gmtime(std::chrono::time_point_cast(val)), ctx); ++ gmtime(static_cast( ++ std::chrono::duration_cast(val.time_since_epoch()) ++ .count())), ++ ctx); + } + }; + +@@ -2123,12 +2128,18 @@ struct formatter, Char> + epoch - std::chrono::duration_cast(epoch)); + + return formatter::do_format( +- localtime(std::chrono::time_point_cast(val)), ++ localtime(static_cast( ++ std::chrono::duration_cast( ++ std::chrono::current_zone()->to_sys(val).time_since_epoch()) ++ .count())), + ctx, &subsecs); + } + + return formatter::format( +- localtime(std::chrono::time_point_cast(val)), ++ localtime(static_cast( ++ std::chrono::duration_cast( ++ std::chrono::current_zone()->to_sys(val).time_since_epoch()) ++ .count())), + ctx); + } + }; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/report.json new file mode 100644 index 000000000..2ed64ff9e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3727/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3727, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (20, 0, 0)\n test = (19, 0, 0)\n fix = (19, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/fix-patch-run.log new file mode 100644 index 000000000..73896cb1f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/fix-patch-run.log @@ -0,0 +1,398 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7151 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.0 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (18.4 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4613 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.uae07Bq6 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.uae07Bq6/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.uae07Bq6/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.uae07Bq6/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.uae07Bq6/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.uae07Bq6/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.uae07Bq6 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=087a7d6656d9 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.e5y2baIYdJ/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/std-test.cc +patching file include/fmt/std.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.1.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.02 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.15 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/fix.patch new file mode 100644 index 000000000..1ef6c3eed --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/fix.patch @@ -0,0 +1,103 @@ +diff --git a/include/fmt/std.h b/include/fmt/std.h +index 4799df1a..bf47eb9f 100644 +--- a/include/fmt/std.h ++++ b/include/fmt/std.h +@@ -89,6 +89,18 @@ template auto get_path_string( + return p.string(); + } + ++template ++auto get_path_string(const std::filesystem::path& p, ++ const std::basic_string& native, bool generic) { ++ if (!generic) return get_path_string(p, native); ++ if constexpr (std::is_same_v && ++ std::is_same_v) { ++ return to_utf8(p.generic_wstring(), to_utf8_error_policy::replace); ++ } else { ++ return p.generic_string(); ++ } ++} ++ + template + void write_escaped_path(basic_memory_buffer& quoted, + const std::filesystem::path& p, +@@ -106,6 +118,31 @@ void write_escaped_path(basic_memory_buffer& quoted, + } + } + ++template ++void write_escaped_path(basic_memory_buffer& quoted, ++ const std::filesystem::path& p, bool generic) { ++ // On Windows, path::value_type is wchar_t and Char is char; we need UTF-8 ++ // conversion. On POSIX, path::value_type is char and Char is char; direct. ++ if constexpr (std::is_same_v) { ++ if (generic) ++ write_escaped_string(std::back_inserter(quoted), ++ p.generic_wstring()); ++ else ++ write_escaped_string(std::back_inserter(quoted), p.wstring()); ++ } else { ++ // path::value_type may be char (POSIX) or wchar_t (Windows). Use the ++ // existing write_escaped_path overload that takes the native string. ++ if (generic) { ++ auto s = p.generic_string(); ++ write_escaped_string(std::back_inserter(quoted), s); ++ } else { ++ detail::write_escaped_path(quoted, p, p.native()); ++ } ++ } ++} ++ ++enum class path_format { native, generic }; ++ + } // namespace detail + + FMT_EXPORT +@@ -114,6 +151,7 @@ template struct formatter { + format_specs specs_; + detail::arg_ref width_ref_; + bool debug_ = false; ++ detail::path_format path_format_ = detail::path_format::native; + + public: + FMT_CONSTEXPR void set_debug_format(bool set = true) { debug_ = set; } +@@ -126,9 +164,20 @@ template struct formatter { + if (it == end) return it; + + it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx); +- if (it != end && *it == '?') { +- debug_ = true; +- ++it; ++ if (it != end) { ++ if (*it == '?') { ++ debug_ = true; ++ ++it; ++ } ++ if (it != end) { ++ if (*it == 'g') { ++ path_format_ = detail::path_format::generic; ++ ++it; ++ } else if (*it == 'n') { ++ path_format_ = detail::path_format::native; ++ ++it; ++ } ++ } + } + return it; + } +@@ -138,12 +187,13 @@ template struct formatter { + auto specs = specs_; + detail::handle_dynamic_spec(specs.width, width_ref_, + ctx); ++ bool generic = path_format_ == detail::path_format::generic; + if (!debug_) { +- auto s = detail::get_path_string(p, p.native()); ++ auto s = detail::get_path_string(p, p.native(), generic); + return detail::write(ctx.out(), basic_string_view(s), specs); + } + auto quoted = basic_memory_buffer(); +- detail::write_escaped_path(quoted, p, p.native()); ++ detail::write_escaped_path(quoted, p, generic); + return detail::write(ctx.out(), + basic_string_view(quoted.data(), quoted.size()), + specs); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/report.json new file mode 100644 index 000000000..ebc234c3e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3729/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3729, "valid": true, "error_msg": "", "fixed_tests": {"std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/fix-patch-run.log new file mode 100644 index 000000000..a5ab446e7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/fix-patch-run.log @@ -0,0 +1,398 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6382 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.5 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5107 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.AeVK6WX3 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.AeVK6WX3/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.AeVK6WX3/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.AeVK6WX3/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.AeVK6WX3/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.AeVK6WX3/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.AeVK6WX3 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=4062dc3f67d2 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.sLUC7ZtFMI/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/chrono-test.cc +patching file include/fmt/chrono.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.1.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.15 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/fix.patch new file mode 100644 index 000000000..232a2d3cb --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/fix.patch @@ -0,0 +1,32 @@ +diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h +index 9b4f9d4e..92ad0b7b 100644 +--- a/include/fmt/chrono.h ++++ b/include/fmt/chrono.h +@@ -1622,6 +1622,7 @@ struct chrono_format_checker : null_chrono_spec_handler { + + template + FMT_CONSTEXPR void on_text(const Char*, const Char*) {} ++ FMT_CONSTEXPR void on_day_of_year() {} + FMT_CONSTEXPR void on_24_hour(numeric_system, pad_type) {} + FMT_CONSTEXPR void on_12_hour(numeric_system, pad_type) {} + FMT_CONSTEXPR void on_minute(numeric_system, pad_type) {} +@@ -1807,6 +1808,7 @@ struct chrono_formatter { + } + + Rep hour() const { return static_cast(mod((s.count() / 3600), 24)); } ++ Rep day() const { return static_cast(s.count() / 86400); } + + Rep hour12() const { + Rep hour = static_cast(mod((s.count() / 3600), 12)); +@@ -1884,7 +1886,10 @@ struct chrono_formatter { + void on_dec0_week_of_year(numeric_system) {} + void on_dec1_week_of_year(numeric_system) {} + void on_iso_week_of_year(numeric_system) {} +- void on_day_of_year() {} ++ void on_day_of_year() { ++ if (handle_nan_inf()) return; ++ write(day(), 0); ++ } + void on_day_of_month(numeric_system) {} + void on_day_of_month_space(numeric_system) {} + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/report.json new file mode 100644 index 000000000..2383d90a6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3732/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3732, "valid": true, "error_msg": "", "fixed_tests": {"chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/fix-patch-run.log new file mode 100644 index 000000000..7fb1bf2bc --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/fix-patch-run.log @@ -0,0 +1,398 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6250 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.1 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (18.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5467 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.Y9yMjkPs +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.Y9yMjkPs/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.Y9yMjkPs/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.Y9yMjkPs/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.Y9yMjkPs/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.Y9yMjkPs/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.Y9yMjkPs +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=13b959daa623 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.JFnOmQYIc1/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/core.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.1.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.07 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.15 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/fix.patch new file mode 100644 index 000000000..b070e5d0e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/fix.patch @@ -0,0 +1,14 @@ +diff --git a/include/fmt/core.h b/include/fmt/core.h +index 2fcaf845..c0706dcf 100644 +--- a/include/fmt/core.h ++++ b/include/fmt/core.h +@@ -2429,7 +2429,8 @@ FMT_CONSTEXPR FMT_INLINE auto parse_format_specs( + case 'G': + return parse_presentation_type(pres::general_upper, float_set); + case 'c': +- return parse_presentation_type(pres::chr, integral_set); ++ return parse_presentation_type(pres::chr, ++ sint_set | uint_set | char_set); + case 's': + return parse_presentation_type(pres::string, + bool_set | string_set | cstring_set); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/report.json new file mode 100644 index 000000000..eb15e876f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3734/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3734, "valid": true, "error_msg": "", "fixed_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/fix-patch-run.log new file mode 100644 index 000000000..934e3abbc --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/fix-patch-run.log @@ -0,0 +1,398 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6500 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.7 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.6 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4170 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.KNB7HwSc +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.KNB7HwSc/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.KNB7HwSc/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.KNB7HwSc/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.KNB7HwSc/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.KNB7HwSc/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.KNB7HwSc +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d45446cc3796 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.qnnxSUTgQ9/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.1.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 13%] Linking CXX static library libtest-main.a +[ 13%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 16%] Linking CXX executable ../bin/args-test +[ 16%] Built target args-test +[ 17%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 19%] Linking CXX executable ../bin/assert-test +[ 19%] Built target assert-test +[ 20%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 23%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 29%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 31%] Linking CXX executable ../bin/gtest-extra-test +[ 31%] Built target gtest-extra-test +[ 32%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 34%] Linking CXX executable ../bin/format-test +[ 34%] Built target format-test +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 41%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 43%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 44%] Linking CXX executable ../bin/format-impl-test +[ 44%] Built target format-impl-test +[ 46%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 47%] Linking CXX executable ../bin/ostream-test +[ 47%] Built target ostream-test +[ 49%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 50%] Linking CXX executable ../bin/compile-test +[ 50%] Built target compile-test +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 55%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 56%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 58%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 59%] Linking CXX executable ../bin/compile-fp-test +[ 59%] Built target compile-fp-test +[ 61%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 62%] Linking CXX executable ../bin/printf-test +[ 62%] Built target printf-test +[ 64%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 67%] Linking CXX executable ../bin/ranges-test +[ 67%] Built target ranges-test +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 71%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 79%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 82%] Linking CXX executable ../bin/unicode-test +[ 82%] Built target unicode-test +[ 83%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 86%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 89%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: assert-test + 2/20 Test #2: assert-test ...................... Passed 0.00 sec + Start 3: chrono-test + 3/20 Test #3: chrono-test ...................... Passed 0.06 sec + Start 4: color-test + 4/20 Test #4: color-test ....................... Passed 0.00 sec + Start 5: core-test + 5/20 Test #5: core-test ........................ Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.14 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/fix.patch new file mode 100644 index 000000000..38f3eda18 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/fix.patch @@ -0,0 +1,90 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 79bf5256..ba3fc7c9 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -2179,8 +2179,83 @@ template struct loc_writer { + template ::value)> + auto operator()(T value) -> bool { + auto arg = make_write_int_arg(value, specs.sign); +- write_int(out, static_cast>(arg.abs_value), arg.prefix, +- specs, digit_grouping(grouping, sep)); ++ auto abs_value = arg.abs_value; ++ auto prefix = arg.prefix; ++ auto dg = digit_grouping(grouping, sep); ++ switch (specs.type) { ++ case presentation_type::none: ++ case presentation_type::dec: { ++ int num_digits = count_digits(abs_value); ++ char digits[40]; ++ format_decimal(digits, abs_value, num_digits); ++ unsigned size = to_unsigned((prefix >> 24) + num_digits + ++ dg.count_separators(num_digits)); ++ write_padded( ++ out, specs, size, size, [&](reserve_iterator> it) { ++ for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8) ++ *it++ = static_cast(p & 0xff); ++ return dg.apply(it, string_view(digits, to_unsigned(num_digits))); ++ }); ++ break; ++ } ++ case presentation_type::hex_lower: ++ case presentation_type::hex_upper: { ++ bool upper = specs.type == presentation_type::hex_upper; ++ if (specs.alt) ++ prefix_append(prefix, unsigned(upper ? 'X' : 'x') << 8 | '0'); ++ int num_digits = count_digits<4>(abs_value); ++ char digits[40]; ++ format_uint<4>(digits, abs_value, num_digits, upper); ++ unsigned size = to_unsigned((prefix >> 24) + num_digits + ++ dg.count_separators(num_digits)); ++ write_padded( ++ out, specs, size, size, [&](reserve_iterator> it) { ++ for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8) ++ *it++ = static_cast(p & 0xff); ++ return dg.apply(it, string_view(digits, to_unsigned(num_digits))); ++ }); ++ break; ++ } ++ case presentation_type::oct: { ++ int num_digits = count_digits<3>(abs_value); ++ if (specs.alt && specs.precision <= num_digits && abs_value != 0) ++ prefix_append(prefix, '0'); ++ char digits[40]; ++ format_uint<3>(digits, abs_value, num_digits); ++ unsigned size = to_unsigned((prefix >> 24) + num_digits + ++ dg.count_separators(num_digits)); ++ write_padded( ++ out, specs, size, size, [&](reserve_iterator> it) { ++ for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8) ++ *it++ = static_cast(p & 0xff); ++ return dg.apply(it, string_view(digits, to_unsigned(num_digits))); ++ }); ++ break; ++ } ++ case presentation_type::bin_lower: ++ case presentation_type::bin_upper: { ++ bool upper = specs.type == presentation_type::bin_upper; ++ if (specs.alt) ++ prefix_append(prefix, unsigned(upper ? 'B' : 'b') << 8 | '0'); ++ int num_digits = count_digits<1>(abs_value); ++ char digits[40]; ++ format_uint<1>(digits, abs_value, num_digits); ++ unsigned size = to_unsigned((prefix >> 24) + num_digits + ++ dg.count_separators(num_digits)); ++ write_padded( ++ out, specs, size, size, [&](reserve_iterator> it) { ++ for (unsigned p = prefix & 0xffffff; p != 0; p >>= 8) ++ *it++ = static_cast(p & 0xff); ++ return dg.apply(it, string_view(digits, to_unsigned(num_digits))); ++ }); ++ break; ++ } ++ case presentation_type::chr: ++ write_char(out, static_cast(abs_value), specs); ++ break; ++ default: ++ break; ++ } + return true; + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/report.json new file mode 100644 index 000000000..2d27f42e0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3750/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3750, "valid": true, "error_msg": "", "fixed_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"color-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "core-test", "format-test", "printf-test", "ostream-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/fix-patch-run.log new file mode 100644 index 000000000..bcdfccb67 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/fix-patch-run.log @@ -0,0 +1,406 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6645 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.6 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4852 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.dX7RKL3M +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.dX7RKL3M/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.dX7RKL3M/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.dX7RKL3M/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.dX7RKL3M/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.dX7RKL3M/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.dX7RKL3M +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=baafb8e18c8a +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.XvJ0PhKzyt/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/args-test.cc +patching file include/fmt/args.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.2.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 15%] Linking CXX executable ../bin/args-test +[ 15%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 18%] Linking CXX executable ../bin/base-test +[ 18%] Built target base-test +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 22%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 23%] Linking CXX executable ../bin/chrono-test +[ 23%] Built target chrono-test +[ 25%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 26%] Linking CXX executable ../bin/color-test +[ 26%] Built target color-test +[ 28%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 29%] Linking CXX executable ../bin/gtest-extra-test +[ 29%] Built target gtest-extra-test +[ 30%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 32%] Linking CXX executable ../bin/format-test +[ 32%] Built target format-test +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 39%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 42%] Linking CXX executable ../bin/format-impl-test +[ 42%] Built target format-impl-test +[ 43%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 45%] Linking CXX executable ../bin/ostream-test +[ 45%] Built target ostream-test +[ 46%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 47%] Linking CXX executable ../bin/compile-test +[ 47%] Built target compile-test +[ 49%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 50%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 54%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 56%] Linking CXX executable ../bin/compile-fp-test +[ 56%] Built target compile-fp-test +[ 57%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 59%] Linking CXX executable ../bin/printf-test +[ 59%] Built target printf-test +[ 60%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 61%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 63%] Linking CXX executable ../bin/ranges-test +[ 63%] Built target ranges-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 70%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 71%] Linking CXX executable ../bin/scan-test +[ 71%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 74%] Linking CXX executable ../bin/std-test +[ 74%] Built target std-test +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 81%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 83%] Linking CXX executable ../bin/unicode-test +[ 83%] Built target unicode-test +[ 84%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 87%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................***Failed 0.00 sec + Start 2: base-test + 2/20 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/20 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/20 Test #4: chrono-test ...................... Passed 0.06 sec + Start 5: color-test + 5/20 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +95% tests passed, 1 tests failed out of 20 + +Total Test time (real) = 0.13 sec + +The following tests FAILED: + 1 - args-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/fix.patch new file mode 100644 index 000000000..f3cc0fce2 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/fix.patch @@ -0,0 +1,54 @@ +diff --git a/include/fmt/args.h b/include/fmt/args.h +index b77a2d06..24618cc9 100644 +--- a/include/fmt/args.h ++++ b/include/fmt/args.h +@@ -109,6 +109,12 @@ class dynamic_format_arg_store + // without relocation because items in data_ refer to it. + detail::dynamic_arg_list dynamic_args_; + ++ // Tracks the number of positional (non-named) arguments to keep them ++ // contiguous at the beginning of the args array (after the sentinel), ++ // so that positional indexing via next_arg_id() works correctly when ++ // mixed with named arguments. ++ int num_positional_args_ = 0; ++ + friend class basic_format_args; + + auto get_types() const -> unsigned long long { +@@ -123,7 +129,17 @@ class dynamic_format_arg_store + } + + template void emplace_arg(const T& arg) { +- data_.emplace_back(detail::make_arg(arg)); ++ if (named_info_.empty()) { ++ data_.emplace_back(detail::make_arg(arg)); ++ } else { ++ // Insert positional args before named args so that positional ++ // indexing (next_arg_id) doesn't hit named arg slots. ++ data_.insert(data_.begin() + 1 + num_positional_args_, ++ detail::make_arg(arg)); ++ // Shift all named arg indices since we inserted before them. ++ for (auto& info : named_info_) ++info.id; ++ } ++ ++num_positional_args_; + } + + template +@@ -138,7 +154,8 @@ class dynamic_format_arg_store + }; + std::unique_ptr>, decltype(pop_one)> + guard{&data_, pop_one}; +- named_info_.push_back({arg.name, static_cast(data_.size() - 2u)}); ++ named_info_.push_back( ++ {arg.name, num_positional_args_ + static_cast(named_info_.size())}); + data_[0].value_.named_args = {named_info_.data(), named_info_.size()}; + guard.release(); + } +@@ -214,6 +231,7 @@ class dynamic_format_arg_store + data_.clear(); + named_info_.clear(); + dynamic_args_ = detail::dynamic_arg_list(); ++ num_positional_args_ = 0; + } + + /** diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/report.json new file mode 100644 index 000000000..c7524edb0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3819/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3819, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (20, 0, 0)\n test = (19, 0, 0)\n fix = (19, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/fix-patch-run.log new file mode 100644 index 000000000..2097dca6c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/fix-patch-run.log @@ -0,0 +1,407 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6895 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.6 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.3 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4537 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.44jcbkhM +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.44jcbkhM/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.44jcbkhM/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.44jcbkhM/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.44jcbkhM/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.44jcbkhM/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.44jcbkhM +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=3ad5274c246e +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.naqVi8zfFY/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/ranges-test.cc +patching file include/fmt/ranges.h +patching file include/fmt/xchar.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.2.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 15%] Linking CXX executable ../bin/args-test +[ 15%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 18%] Linking CXX executable ../bin/base-test +[ 18%] Built target base-test +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 22%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 23%] Linking CXX executable ../bin/chrono-test +[ 23%] Built target chrono-test +[ 25%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 26%] Linking CXX executable ../bin/color-test +[ 26%] Built target color-test +[ 28%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 29%] Linking CXX executable ../bin/gtest-extra-test +[ 29%] Built target gtest-extra-test +[ 30%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 32%] Linking CXX executable ../bin/format-test +[ 32%] Built target format-test +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 39%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 42%] Linking CXX executable ../bin/format-impl-test +[ 42%] Built target format-impl-test +[ 43%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 45%] Linking CXX executable ../bin/ostream-test +[ 45%] Built target ostream-test +[ 46%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 47%] Linking CXX executable ../bin/compile-test +[ 47%] Built target compile-test +[ 49%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 50%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 54%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 56%] Linking CXX executable ../bin/compile-fp-test +[ 56%] Built target compile-fp-test +[ 57%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 59%] Linking CXX executable ../bin/printf-test +[ 59%] Built target printf-test +[ 60%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 61%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 63%] Linking CXX executable ../bin/ranges-test +[ 63%] Built target ranges-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 70%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 71%] Linking CXX executable ../bin/scan-test +[ 71%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 74%] Linking CXX executable ../bin/std-test +[ 74%] Built target std-test +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 81%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 83%] Linking CXX executable ../bin/unicode-test +[ 83%] Built target unicode-test +[ 84%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 87%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: base-test + 2/20 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/20 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/20 Test #4: chrono-test ...................... Passed 0.08 sec + Start 5: color-test + 5/20 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ......................***Failed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.01 sec + +95% tests passed, 1 tests failed out of 20 + +Total Test time (real) = 0.16 sec + +The following tests FAILED: + 13 - ranges-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/fix.patch new file mode 100644 index 000000000..a0ecda695 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/fix.patch @@ -0,0 +1,33 @@ +diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h +index 9499fa14..fc0719dd 100644 +--- a/include/fmt/ranges.h ++++ b/include/fmt/ranges.h +@@ -596,8 +596,9 @@ auto join(It begin, Sentinel end, string_view sep) -> join_view { + */ + template + auto join(Range&& range, string_view sep) +- -> join_view { +- return join(std::begin(range), std::end(range), sep); ++ -> join_view { ++ return join(detail::range_begin(range), detail::range_end(range), sep); + } + + template struct tuple_join_view : detail::view { +diff --git a/include/fmt/xchar.h b/include/fmt/xchar.h +index eed501c7..e924a5bb 100644 +--- a/include/fmt/xchar.h ++++ b/include/fmt/xchar.h +@@ -108,9 +108,9 @@ auto join(It begin, Sentinel end, wstring_view sep) + + template + auto join(Range&& range, wstring_view sep) +- -> join_view, detail::sentinel_t, +- wchar_t> { +- return join(std::begin(range), std::end(range), sep); ++ -> join_view { ++ return join(detail::range_begin(range), detail::range_end(range), sep); + } + + template diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/report.json new file mode 100644 index 000000000..4d9d15f30 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3824/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3824, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (20, 0, 0)\n test = (19, 0, 0)\n fix = (19, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/fix-patch-run.log new file mode 100644 index 000000000..232506c9c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/fix-patch-run.log @@ -0,0 +1,406 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6885 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (17.4 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.1 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4211 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.7gsBLNJq +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.7gsBLNJq/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.7gsBLNJq/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.7gsBLNJq/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.7gsBLNJq/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.7gsBLNJq/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.7gsBLNJq +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=fcea8aa0f09f +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.mnstqsT8sa/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/ranges-test.cc +patching file include/fmt/ranges.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 10.2.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 15%] Linking CXX executable ../bin/args-test +[ 15%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 18%] Linking CXX executable ../bin/base-test +[ 18%] Built target base-test +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 22%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 23%] Linking CXX executable ../bin/chrono-test +[ 23%] Built target chrono-test +[ 25%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 26%] Linking CXX executable ../bin/color-test +[ 26%] Built target color-test +[ 28%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 29%] Linking CXX executable ../bin/gtest-extra-test +[ 29%] Built target gtest-extra-test +[ 30%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 32%] Linking CXX executable ../bin/format-test +[ 32%] Built target format-test +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 39%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 42%] Linking CXX executable ../bin/format-impl-test +[ 42%] Built target format-impl-test +[ 43%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 45%] Linking CXX executable ../bin/ostream-test +[ 45%] Built target ostream-test +[ 46%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 47%] Linking CXX executable ../bin/compile-test +[ 47%] Built target compile-test +[ 49%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 50%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 54%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 56%] Linking CXX executable ../bin/compile-fp-test +[ 56%] Built target compile-fp-test +[ 57%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 59%] Linking CXX executable ../bin/printf-test +[ 59%] Built target printf-test +[ 60%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 61%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 63%] Linking CXX executable ../bin/ranges-test +[ 63%] Built target ranges-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 70%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 71%] Linking CXX executable ../bin/scan-test +[ 71%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 74%] Linking CXX executable ../bin/std-test +[ 74%] Built target std-test +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 81%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 83%] Linking CXX executable ../bin/unicode-test +[ 83%] Built target unicode-test +[ 84%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 87%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: base-test + 2/20 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/20 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/20 Test #4: chrono-test ...................... Passed 0.06 sec + Start 5: color-test + 5/20 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ......................***Failed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.02 sec + +95% tests passed, 1 tests failed out of 20 + +Total Test time (real) = 0.14 sec + +The following tests FAILED: + 13 - ranges-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/fix.patch new file mode 100644 index 000000000..7e7ee64cb --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/fix.patch @@ -0,0 +1,161 @@ +diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h +index 03eb5184..92d387dc 100644 +--- a/include/fmt/ranges.h ++++ b/include/fmt/ranges.h +@@ -246,6 +246,45 @@ FMT_CONSTEXPR auto maybe_set_debug_format(Formatter& f, bool set) + template + FMT_CONSTEXPR void maybe_set_debug_format(Formatter&, ...) {} + ++template ++auto write_char_direct(OutputIt out, Char value) -> OutputIt { ++ *out++ = value; ++ return out; ++} ++ ++template ++auto write_range_as_debug_string(OutputIt out, R&& range) -> OutputIt { ++ *out++ = static_cast('"'); ++ auto it = range_begin(range); ++ auto end = range_end(range); ++ for (; it != end; ++it) { ++ auto c = static_cast(*it); ++ if (c == static_cast('"') || c == static_cast('\\')) { ++ *out++ = static_cast('\\'); ++ *out++ = c; ++ } else if (c == static_cast('\n')) { ++ *out++ = static_cast('\\'); ++ *out++ = static_cast('n'); ++ } else if (c == static_cast('\r')) { ++ *out++ = static_cast('\\'); ++ *out++ = static_cast('r'); ++ } else if (c == static_cast('\t')) { ++ *out++ = static_cast('\\'); ++ *out++ = static_cast('t'); ++ } else if (0 < c && c < 0x20) { ++ *out++ = static_cast('\\'); ++ *out++ = static_cast('x'); ++ auto v = static_cast(c); ++ *out++ = static_cast("0123456789abcdef"[v >> 4]); ++ *out++ = static_cast("0123456789abcdef"[v & 0xf]); ++ } else { ++ *out++ = c; ++ } ++ } ++ *out++ = static_cast('"'); ++ return out; ++} ++ + // These are not generic lambdas for compatibility with C++11. + template struct parse_empty_specs { + template FMT_CONSTEXPR void operator()(Formatter& f) { +@@ -388,6 +427,8 @@ struct range_formatter< + detail::string_literal{}; + basic_string_view closing_bracket_ = + detail::string_literal{}; ++ bool is_string_ = false; ++ bool is_debug_string_ = false; + + public: + FMT_CONSTEXPR range_formatter() {} +@@ -406,6 +447,15 @@ struct range_formatter< + closing_bracket_ = close; + } + ++ FMT_CONSTEXPR void set_string_mode(bool debug) { ++ if (debug) ++ is_debug_string_ = true; ++ else ++ is_string_ = true; ++ set_brackets({}, {}); ++ set_separator({}); ++ } ++ + template + FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { + auto it = ctx.begin(); +@@ -416,6 +466,27 @@ struct range_formatter< + ++it; + } + ++ if (it != end && *it == 's' && std::is_same::value) { ++ is_string_ = true; ++ set_brackets({}, {}); ++ set_separator({}); ++ ++it; ++ ctx.advance_to(it); ++ return underlying_.parse(ctx); ++ } ++ ++ if (it != end && *it == '?') { ++ if (!std::is_same::value) report_error("invalid format specifier"); ++ is_debug_string_ = true; ++ set_brackets({}, {}); ++ set_separator({}); ++ ++it; ++ if (it == end || *it != 's') report_error("invalid format specifier"); ++ ++it; ++ ctx.advance_to(it); ++ return it; ++ } ++ + if (it != end && *it != '}') { + if (*it != ':') report_error("invalid format specifier"); + ++it; +@@ -429,8 +500,20 @@ struct range_formatter< + + template + auto format(R&& range, FormatContext& ctx) const -> decltype(ctx.out()) { +- detail::range_mapper> mapper; + auto out = ctx.out(); ++ if constexpr (std::is_same::value) { ++ if (is_debug_string_) { ++ out = detail::write_range_as_debug_string(out, range); ++ return out; ++ } ++ if (is_string_) { ++ auto it = detail::range_begin(range); ++ auto end = detail::range_end(range); ++ for (; it != end; ++it) out = detail::write_char_direct(out, *it); ++ return out; ++ } ++ } ++ detail::range_mapper> mapper; + out = detail::copy(opening_bracket_, out); + int i = 0; + auto it = detail::range_begin(range); +@@ -501,6 +584,35 @@ struct range_default_formatter< + return underlying_.format(range, ctx); + } + }; ++ ++template ++struct range_default_formatter< ++ K, R, Char, ++ enable_if_t<(K == range_format::string || K == range_format::debug_string)>> { ++ using range_type = detail::maybe_const_range; ++ range_formatter, Char> underlying_; ++ ++ FMT_CONSTEXPR range_default_formatter() { init(range_format_constant()); } ++ ++ FMT_CONSTEXPR void init(range_format_constant) { ++ underlying_.set_string_mode(false); ++ } ++ ++ FMT_CONSTEXPR void init(range_format_constant) { ++ underlying_.set_string_mode(true); ++ } ++ ++ template ++ FMT_CONSTEXPR auto parse(ParseContext& ctx) -> decltype(ctx.begin()) { ++ return underlying_.parse(ctx); ++ } ++ ++ template ++ auto format(range_type& range, FormatContext& ctx) const ++ -> decltype(ctx.out()) { ++ return underlying_.format(range, ctx); ++ } ++}; + } // namespace detail + + template diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/report.json new file mode 100644 index 000000000..67c87942e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3863/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3863, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (20, 0, 0)\n test = (19, 0, 0)\n fix = (19, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/fix-patch-run.log new file mode 100644 index 000000000..53f70a897 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/fix-patch-run.log @@ -0,0 +1,406 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6919 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.3 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.6 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (3872 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.GM39iAyh +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.GM39iAyh/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.GM39iAyh/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.GM39iAyh/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.GM39iAyh/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.GM39iAyh/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.GM39iAyh +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=ebdd690e8f88 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.ZksOQjGbLH/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/chrono-test.cc +patching file include/fmt/chrono.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- {fmt} version: 10.2.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 15%] Linking CXX executable ../bin/args-test +[ 15%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 18%] Linking CXX executable ../bin/base-test +[ 18%] Built target base-test +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 22%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 23%] Linking CXX executable ../bin/chrono-test +[ 23%] Built target chrono-test +[ 25%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 26%] Linking CXX executable ../bin/color-test +[ 26%] Built target color-test +[ 28%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 29%] Linking CXX executable ../bin/gtest-extra-test +[ 29%] Built target gtest-extra-test +[ 30%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 32%] Linking CXX executable ../bin/format-test +[ 32%] Built target format-test +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 39%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 42%] Linking CXX executable ../bin/format-impl-test +[ 42%] Built target format-impl-test +[ 43%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 45%] Linking CXX executable ../bin/ostream-test +[ 45%] Built target ostream-test +[ 46%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 47%] Linking CXX executable ../bin/compile-test +[ 47%] Built target compile-test +[ 49%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 50%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 54%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 56%] Linking CXX executable ../bin/compile-fp-test +[ 56%] Built target compile-fp-test +[ 57%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 59%] Linking CXX executable ../bin/printf-test +[ 59%] Built target printf-test +[ 60%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 61%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 63%] Linking CXX executable ../bin/ranges-test +[ 63%] Built target ranges-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 70%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 71%] Linking CXX executable ../bin/scan-test +[ 71%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 74%] Linking CXX executable ../bin/std-test +[ 74%] Built target std-test +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 81%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 83%] Linking CXX executable ../bin/unicode-test +[ 83%] Built target unicode-test +[ 84%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 87%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: base-test + 2/20 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/20 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/20 Test #4: chrono-test ......................***Failed 0.06 sec + Start 5: color-test + 5/20 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.00 sec + +95% tests passed, 1 tests failed out of 20 + +Total Test time (real) = 0.14 sec + +The following tests FAILED: + 4 - chrono-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/fix.patch new file mode 100644 index 000000000..a2f11cfe5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/fix.patch @@ -0,0 +1,233 @@ +diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h +index 65e6c7e0..3fd83599 100644 +--- a/include/fmt/chrono.h ++++ b/include/fmt/chrono.h +@@ -2040,6 +2040,9 @@ using weekday = std::chrono::weekday; + using day = std::chrono::day; + using month = std::chrono::month; + using year = std::chrono::year; ++using year_month = std::chrono::year_month; ++using year_month_day = std::chrono::year_month_day; ++using year_month_day_last = std::chrono::year_month_day_last; + #else + // A fallback version of weekday. + class weekday { +@@ -2085,7 +2088,46 @@ class year { + constexpr explicit operator int() const noexcept { return value_; } + }; + +-class year_month_day {}; ++class year_month { ++ private: ++ fmt::year year_; ++ fmt::month month_; ++ ++ public: ++ year_month() = default; ++ constexpr year_month(fmt::year y, fmt::month m) noexcept ++ : year_(y), month_(m) {} ++ constexpr auto year() const noexcept -> fmt::year { return year_; } ++ constexpr auto month() const noexcept -> fmt::month { return month_; } ++}; ++ ++class year_month_day { ++ private: ++ fmt::year year_; ++ fmt::month month_; ++ fmt::day day_; ++ ++ public: ++ year_month_day() = default; ++ constexpr year_month_day(fmt::year y, fmt::month m, fmt::day d) noexcept ++ : year_(y), month_(m), day_(d) {} ++ constexpr auto year() const noexcept -> fmt::year { return year_; } ++ constexpr auto month() const noexcept -> fmt::month { return month_; } ++ constexpr auto day() const noexcept -> fmt::day { return day_; } ++}; ++ ++class year_month_day_last { ++ private: ++ fmt::year year_; ++ fmt::month month_; ++ ++ public: ++ year_month_day_last() = default; ++ constexpr year_month_day_last(fmt::year y, fmt::month m) noexcept ++ : year_(y), month_(m) {} ++ constexpr auto year() const noexcept -> fmt::year { return year_; } ++ constexpr auto month() const noexcept -> fmt::month { return month_; } ++}; + #endif + + // A rudimentary weekday formatter. +@@ -2177,6 +2219,170 @@ template struct formatter { + } + }; + ++template struct formatter { ++ private: ++ format_specs specs_; ++ detail::arg_ref width_ref_; ++ bool localized_ = false; ++ basic_string_view format_str_; ++ ++ public: ++ FMT_CONSTEXPR formatter() { ++ format_str_ = detail::string_literal{}; ++ } ++ ++ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) ++ -> decltype(ctx.begin()) { ++ auto it = ctx.begin(), end = ctx.end(); ++ if (it == end || *it == '}') return it; ++ ++ it = detail::parse_align(it, end, specs_); ++ if (it == end) return it; ++ ++ it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx); ++ if (it == end) return it; ++ ++ if (it != end && *it == 'L') { ++ localized_ = true; ++ ++it; ++ } ++ end = detail::parse_chrono_format(it, end, detail::tm_format_checker()); ++ // Replace the default format_str only if the new spec is not empty. ++ if (end != it) format_str_ = {it, detail::to_unsigned(end - it)}; ++ return end; ++ } ++ ++ template ++ auto format(year_month_day ymd, FormatContext& ctx) const ++ -> decltype(ctx.out()) { ++ auto specs = specs_; ++ auto buf = basic_memory_buffer(); ++ auto out = std::back_inserter(buf); ++ detail::handle_dynamic_spec(specs.width, width_ref_, ++ ctx); ++ ++ auto time = std::tm(); ++ time.tm_year = static_cast(ymd.year()) - 1900; ++ time.tm_mon = static_cast(static_cast(ymd.month())) - 1; ++ time.tm_mday = static_cast(static_cast(ymd.day())); ++ ++ detail::get_locale loc(localized_, ctx.locale()); ++ auto w = detail::tm_writer(loc, out, time); ++ detail::parse_chrono_format(format_str_.begin(), format_str_.end(), w); ++ return detail::write( ++ ctx.out(), basic_string_view(buf.data(), buf.size()), specs); ++ } ++}; ++ ++template struct formatter { ++ private: ++ format_specs specs_; ++ detail::arg_ref width_ref_; ++ bool localized_ = false; ++ basic_string_view format_str_; ++ ++ public: ++ FMT_CONSTEXPR formatter() { ++ format_str_ = detail::string_literal{}; ++ } ++ ++ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) ++ -> decltype(ctx.begin()) { ++ auto it = ctx.begin(), end = ctx.end(); ++ if (it == end || *it == '}') return it; ++ ++ it = detail::parse_align(it, end, specs_); ++ if (it == end) return it; ++ ++ it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx); ++ if (it == end) return it; ++ ++ if (it != end && *it == 'L') { ++ localized_ = true; ++ ++it; ++ } ++ end = detail::parse_chrono_format(it, end, detail::tm_format_checker()); ++ if (end != it) format_str_ = {it, detail::to_unsigned(end - it)}; ++ return end; ++ } ++ ++ template ++ auto format(year_month ym, FormatContext& ctx) const -> decltype(ctx.out()) { ++ auto specs = specs_; ++ auto buf = basic_memory_buffer(); ++ auto out = std::back_inserter(buf); ++ detail::handle_dynamic_spec(specs.width, width_ref_, ++ ctx); ++ ++ auto time = std::tm(); ++ time.tm_year = static_cast(ym.year()) - 1900; ++ time.tm_mon = static_cast(static_cast(ym.month())) - 1; ++ time.tm_mday = 1; ++ ++ detail::get_locale loc(localized_, ctx.locale()); ++ auto w = detail::tm_writer(loc, out, time); ++ detail::parse_chrono_format(format_str_.begin(), format_str_.end(), w); ++ return detail::write( ++ ctx.out(), basic_string_view(buf.data(), buf.size()), specs); ++ } ++}; ++ ++template struct formatter { ++ private: ++ format_specs specs_; ++ detail::arg_ref width_ref_; ++ bool localized_ = false; ++ basic_string_view format_str_; ++ ++ public: ++ FMT_CONSTEXPR formatter() { ++ format_str_ = ++ detail::string_literal{}; ++ } ++ ++ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) ++ -> decltype(ctx.begin()) { ++ auto it = ctx.begin(), end = ctx.end(); ++ if (it == end || *it == '}') return it; ++ ++ it = detail::parse_align(it, end, specs_); ++ if (it == end) return it; ++ ++ it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx); ++ if (it == end) return it; ++ ++ if (it != end && *it == 'L') { ++ localized_ = true; ++ ++it; ++ } ++ end = detail::parse_chrono_format(it, end, detail::tm_format_checker()); ++ if (end != it) format_str_ = {it, detail::to_unsigned(end - it)}; ++ return end; ++ } ++ ++ template ++ auto format(year_month_day_last ymdl, FormatContext& ctx) const ++ -> decltype(ctx.out()) { ++ auto specs = specs_; ++ auto buf = basic_memory_buffer(); ++ auto out = std::back_inserter(buf); ++ detail::handle_dynamic_spec(specs.width, width_ref_, ++ ctx); ++ ++ auto time = std::tm(); ++ time.tm_year = static_cast(ymdl.year()) - 1900; ++ time.tm_mon = static_cast(static_cast(ymdl.month())) - 1; ++ time.tm_mday = 1; ++ ++ detail::get_locale loc(localized_, ctx.locale()); ++ auto w = detail::tm_writer(loc, out, time); ++ detail::parse_chrono_format(format_str_.begin(), format_str_.end(), w); ++ return detail::write( ++ ctx.out(), basic_string_view(buf.data(), buf.size()), specs); ++ } ++}; ++ + template + struct formatter, Char> { + private: diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/report.json new file mode 100644 index 000000000..fe9a4f559 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3912/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3912, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/fix-patch-run.log new file mode 100644 index 000000000..188f43521 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/fix-patch-run.log @@ -0,0 +1,406 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6492 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (14.0 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5663 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.mKGMz7z2 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.mKGMz7z2/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.mKGMz7z2/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.mKGMz7z2/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.mKGMz7z2/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.mKGMz7z2/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.mKGMz7z2 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=6cc552e4cd93 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.fQovfwzgSt/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/chrono-test.cc +patching file include/fmt/chrono.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- {fmt} version: 10.2.2 +-- Build type: Release +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 15%] Linking CXX executable ../bin/args-test +[ 15%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 18%] Linking CXX executable ../bin/base-test +[ 18%] Built target base-test +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 22%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 23%] Linking CXX executable ../bin/chrono-test +[ 23%] Built target chrono-test +[ 25%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 26%] Linking CXX executable ../bin/color-test +[ 26%] Built target color-test +[ 28%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 29%] Linking CXX executable ../bin/gtest-extra-test +[ 29%] Built target gtest-extra-test +[ 30%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 32%] Linking CXX executable ../bin/format-test +[ 32%] Built target format-test +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 39%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 42%] Linking CXX executable ../bin/format-impl-test +[ 42%] Built target format-impl-test +[ 43%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 45%] Linking CXX executable ../bin/ostream-test +[ 45%] Built target ostream-test +[ 46%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 47%] Linking CXX executable ../bin/compile-test +[ 47%] Built target compile-test +[ 49%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 50%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 54%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 56%] Linking CXX executable ../bin/compile-fp-test +[ 56%] Built target compile-fp-test +[ 57%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 59%] Linking CXX executable ../bin/printf-test +[ 59%] Built target printf-test +[ 60%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 61%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 63%] Linking CXX executable ../bin/ranges-test +[ 63%] Built target ranges-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 70%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 71%] Linking CXX executable ../bin/scan-test +[ 71%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 74%] Linking CXX executable ../bin/std-test +[ 74%] Built target std-test +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 81%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 83%] Linking CXX executable ../bin/unicode-test +[ 83%] Built target unicode-test +[ 84%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 87%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: base-test + 2/20 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/20 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/20 Test #4: chrono-test ......................***Failed 0.06 sec + Start 5: color-test + 5/20 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.00 sec + +95% tests passed, 1 tests failed out of 20 + +Total Test time (real) = 0.13 sec + +The following tests FAILED: + 4 - chrono-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/fix.patch new file mode 100644 index 000000000..762fcf75a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/fix.patch @@ -0,0 +1,248 @@ +diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h +index 65e6c7e0..4c00e2c5 100644 +--- a/include/fmt/chrono.h ++++ b/include/fmt/chrono.h +@@ -2040,10 +2040,12 @@ using weekday = std::chrono::weekday; + using day = std::chrono::day; + using month = std::chrono::month; + using year = std::chrono::year; ++using year_month_day = std::chrono::year_month_day; ++using year_month = std::chrono::year_month; ++using month_day = std::chrono::month_day; ++using month_day_last = std::chrono::month_day_last; + #else +-// A fallback version of weekday. + class weekday { +- private: + unsigned char value_; + + public: +@@ -2054,7 +2056,6 @@ class weekday { + }; + + class day { +- private: + unsigned char value_; + + public: +@@ -2062,10 +2063,12 @@ class day { + constexpr explicit day(unsigned d) noexcept + : value_(static_cast(d)) {} + constexpr explicit operator unsigned() const noexcept { return value_; } ++ friend constexpr auto operator==(const day& a, const day& b) noexcept { ++ return a.value_ == b.value_; ++ } + }; + + class month { +- private: + unsigned char value_; + + public: +@@ -2073,19 +2076,70 @@ class month { + constexpr explicit month(unsigned m) noexcept + : value_(static_cast(m)) {} + constexpr explicit operator unsigned() const noexcept { return value_; } ++ friend constexpr auto operator==(const month& a, const month& b) noexcept { ++ return a.value_ == b.value_; ++ } + }; + + class year { +- private: + int value_; + + public: + year() = default; + constexpr explicit year(int y) noexcept : value_(y) {} + constexpr explicit operator int() const noexcept { return value_; } ++ friend constexpr auto operator==(const year& a, const year& b) noexcept { ++ return a.value_ == b.value_; ++ } + }; + +-class year_month_day {}; ++class year_month_day { ++ fmt::year y_; ++ fmt::month m_; ++ fmt::day d_; ++ ++ public: ++ year_month_day() = default; ++ constexpr year_month_day(const fmt::year& y, const fmt::month& m, ++ const fmt::day& d) noexcept ++ : y_(y), m_(m), d_(d) {} ++ constexpr auto year() const noexcept -> fmt::year { return y_; } ++ constexpr auto month() const noexcept -> fmt::month { return m_; } ++ constexpr auto day() const noexcept -> fmt::day { return d_; } ++}; ++ ++class year_month { ++ fmt::year y_; ++ fmt::month m_; ++ ++ public: ++ year_month() = default; ++ constexpr year_month(const fmt::year& y, const fmt::month& m) noexcept ++ : y_(y), m_(m) {} ++ constexpr auto year() const noexcept -> fmt::year { return y_; } ++ constexpr auto month() const noexcept -> fmt::month { return m_; } ++}; ++ ++class month_day { ++ fmt::month m_; ++ fmt::day d_; ++ ++ public: ++ month_day() = default; ++ constexpr month_day(const fmt::month& m, const fmt::day& d) noexcept ++ : m_(m), d_(d) {} ++ constexpr auto month() const noexcept -> fmt::month { return m_; } ++ constexpr auto day() const noexcept -> fmt::day { return d_; } ++}; ++ ++class month_day_last { ++ fmt::month m_; ++ ++ public: ++ month_day_last() = default; ++ constexpr explicit month_day_last(const fmt::month& m) noexcept : m_(m) {} ++ constexpr auto month() const noexcept -> fmt::month { return m_; } ++}; + #endif + + // A rudimentary weekday formatter. +@@ -2168,7 +2222,6 @@ template struct formatter { + template + auto format(year y, FormatContext& ctx) const -> decltype(ctx.out()) { + auto time = std::tm(); +- // std::tm::tm_year is years since 1900 + time.tm_year = static_cast(y) - 1900; + detail::get_locale loc(true, ctx.locale()); + auto w = detail::tm_writer(loc, ctx.out(), time); +@@ -2177,6 +2230,125 @@ template struct formatter { + } + }; + ++template struct formatter { ++ private: ++ format_specs specs_; ++ detail::arg_ref width_ref_; ++ bool localized_ = false; ++ basic_string_view format_str_; ++ ++ public: ++ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) ++ -> decltype(ctx.begin()) { ++ auto it = ctx.begin(), end = ctx.end(); ++ if (it == end || *it == '}') return it; ++ ++ it = detail::parse_align(it, end, specs_); ++ if (it == end) return it; ++ ++ it = detail::parse_dynamic_spec(it, end, specs_.width, width_ref_, ctx); ++ if (it == end) return it; ++ ++ if (it != end && *it == 'L') { ++ localized_ = true; ++ ++it; ++ } ++ ++ end = detail::parse_chrono_format(it, end, detail::tm_format_checker()); ++ if (end != it) format_str_ = {it, detail::to_unsigned(end - it)}; ++ return end; ++ } ++ ++ template ++ auto format(year_month_day ymd, FormatContext& ctx) const -> decltype(ctx.out()) { ++ auto specs = specs_; ++ auto buf = basic_memory_buffer(); ++ auto out = std::back_inserter(buf); ++ detail::handle_dynamic_spec(specs.width, width_ref_, ++ ctx); ++ ++ auto time = std::tm(); ++ time.tm_year = static_cast(ymd.year()) - 1900; ++ time.tm_mon = static_cast(static_cast(ymd.month())) - 1; ++ time.tm_mday = static_cast(static_cast(ymd.day())); ++ ++ auto loc_ref = ctx.locale(); ++ detail::get_locale loc(localized_ || static_cast(loc_ref), loc_ref); ++ auto w = detail::tm_writer(loc, out, time); ++ if (format_str_.begin() == format_str_.end()) ++ w.on_iso_date(); ++ else ++ detail::parse_chrono_format(format_str_.begin(), format_str_.end(), w); ++ return detail::write( ++ ctx.out(), basic_string_view(buf.data(), buf.size()), specs); ++ } ++}; ++ ++template struct formatter { ++ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) ++ -> decltype(ctx.begin()) { ++ return ctx.begin(); ++ } ++ ++ template ++ auto format(year_month ym, FormatContext& ctx) const -> decltype(ctx.out()) { ++ auto time = std::tm(); ++ time.tm_year = static_cast(ym.year()) - 1900; ++ time.tm_mon = static_cast(static_cast(ym.month())) - 1; ++ detail::get_locale loc(true, ctx.locale()); ++ auto w = detail::tm_writer(loc, ctx.out(), time); ++ w.on_year(detail::numeric_system::standard); ++ *w.out() = '/'; ++ auto w2 = detail::tm_writer(loc, w.out(), time); ++ w2.on_abbr_month(); ++ return w2.out(); ++ } ++}; ++ ++template struct formatter { ++ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) ++ -> decltype(ctx.begin()) { ++ return ctx.begin(); ++ } ++ ++ template ++ auto format(month_day md, FormatContext& ctx) const -> decltype(ctx.out()) { ++ auto time = std::tm(); ++ time.tm_mon = static_cast(static_cast(md.month())) - 1; ++ time.tm_mday = static_cast(static_cast(md.day())); ++ detail::get_locale loc(true, ctx.locale()); ++ auto w = detail::tm_writer(loc, ctx.out(), time); ++ w.on_abbr_month(); ++ *w.out() = '/'; ++ auto w2 = detail::tm_writer(loc, w.out(), time); ++ w2.on_day_of_month(detail::numeric_system::standard); ++ return w2.out(); ++ } ++}; ++ ++template struct formatter { ++ FMT_CONSTEXPR auto parse(basic_format_parse_context& ctx) ++ -> decltype(ctx.begin()) { ++ return ctx.begin(); ++ } ++ ++ template ++ auto format(month_day_last mdl, FormatContext& ctx) const -> decltype(ctx.out()) { ++ auto time = std::tm(); ++ time.tm_mon = static_cast(static_cast(mdl.month())) - 1; ++ detail::get_locale loc(true, ctx.locale()); ++ auto w = detail::tm_writer(loc, ctx.out(), time); ++ w.on_abbr_month(); ++ auto out = w.out(); ++ *out++ = '/'; ++ *out++ = 'l'; ++ *out++ = 'a'; ++ *out++ = 's'; ++ *out++ = 't'; ++ return out; ++ } ++}; ++ + template + struct formatter, Char> { + private: diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/report.json new file mode 100644 index 000000000..e7b0438e3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-3913/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 3913, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/fix-patch-run.log new file mode 100644 index 000000000..a0ae3ea7e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/fix-patch-run.log @@ -0,0 +1,402 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6937 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (15.5 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5276 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.CA8RFbE5 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.CA8RFbE5/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.CA8RFbE5/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.CA8RFbE5/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.CA8RFbE5/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.CA8RFbE5/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.CA8RFbE5 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=9b4949777d97 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.X6bfbL03FR/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-test.cc +patching file include/fmt/format.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- {fmt} version: 11.0.1 +-- Build type: Release +-- Target 'doc' disabled because doxygen not found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 15%] Linking CXX executable ../bin/args-test +[ 15%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 18%] Linking CXX executable ../bin/base-test +[ 18%] Built target base-test +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 22%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 23%] Linking CXX executable ../bin/chrono-test +[ 23%] Built target chrono-test +[ 25%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 26%] Linking CXX executable ../bin/color-test +[ 26%] Built target color-test +[ 28%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 29%] Linking CXX executable ../bin/gtest-extra-test +[ 29%] Built target gtest-extra-test +[ 30%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 32%] Linking CXX executable ../bin/format-test +[ 32%] Built target format-test +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 39%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 42%] Linking CXX executable ../bin/format-impl-test +[ 42%] Built target format-impl-test +[ 43%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 45%] Linking CXX executable ../bin/ostream-test +[ 45%] Built target ostream-test +[ 46%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 47%] Linking CXX executable ../bin/compile-test +[ 47%] Built target compile-test +[ 49%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 50%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 54%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 56%] Linking CXX executable ../bin/compile-fp-test +[ 56%] Built target compile-fp-test +[ 57%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 59%] Linking CXX executable ../bin/printf-test +[ 59%] Built target printf-test +[ 60%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 61%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 63%] Linking CXX executable ../bin/ranges-test +[ 63%] Built target ranges-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 70%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 71%] Linking CXX executable ../bin/scan-test +[ 71%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 74%] Linking CXX executable ../bin/std-test +[ 74%] Built target std-test +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 81%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 83%] Linking CXX executable ../bin/unicode-test +[ 83%] Built target unicode-test +[ 84%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 87%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: base-test + 2/20 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/20 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/20 Test #4: chrono-test ...................... Passed 0.06 sec + Start 5: color-test + 5/20 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.00 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.13 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/fix.patch new file mode 100644 index 000000000..3907f95ed --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/fix.patch @@ -0,0 +1,35 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 7c2a19b4..a148ca0a 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -3990,12 +3990,28 @@ FMT_FORMAT_AS(long, detail::long_type); + FMT_FORMAT_AS(unsigned long, detail::ulong_type); + FMT_FORMAT_AS(Char*, const Char*); + FMT_FORMAT_AS(std::nullptr_t, const void*); +-FMT_FORMAT_AS(detail::std_string_view, basic_string_view); + FMT_FORMAT_AS(void*, const void*); + ++template ++struct formatter, Char> ++ : formatter, Char> { ++ template ++ auto format(const detail::std_string_view& val, FormatContext& ctx) const ++ -> decltype(ctx.out()) { ++ return formatter, Char>::format(val, ctx); ++ } ++}; ++ + template + class formatter, Char> +- : public formatter, Char> {}; ++ : public formatter, Char> { ++ public: ++ template ++ auto format(const std::basic_string& val, ++ FormatContext& ctx) const -> decltype(ctx.out()) { ++ return formatter, Char>::format(val, ctx); ++ } ++}; + + template + struct formatter : formatter, Char> {}; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/report.json new file mode 100644 index 000000000..2fdd5356e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4055/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 4055, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/fix-patch-run.log new file mode 100644 index 000000000..ad9e42f0e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/fix-patch-run.log @@ -0,0 +1,402 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6904 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (13.2 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5616 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.qABhFuhx +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.qABhFuhx/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.qABhFuhx/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.qABhFuhx/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.qABhFuhx/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.qABhFuhx/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.qABhFuhx +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=008cdceb4c96 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.6OC9s9r7mE/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/ranges-test.cc +patching file include/fmt/ranges.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- {fmt} version: 11.0.1 +-- Build type: Release +-- Target 'doc' disabled because doxygen not found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 7%] Linking CXX static library libgtest.a +[ 7%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 11%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 14%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 15%] Linking CXX executable ../bin/args-test +[ 15%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 18%] Linking CXX executable ../bin/base-test +[ 18%] Built target base-test +[ 19%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 21%] Linking CXX executable ../bin/assert-test +[ 21%] Built target assert-test +[ 22%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 23%] Linking CXX executable ../bin/chrono-test +[ 23%] Built target chrono-test +[ 25%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 26%] Linking CXX executable ../bin/color-test +[ 26%] Built target color-test +[ 28%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 29%] Linking CXX executable ../bin/gtest-extra-test +[ 29%] Built target gtest-extra-test +[ 30%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 32%] Linking CXX executable ../bin/format-test +[ 32%] Built target format-test +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 35%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 39%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 42%] Linking CXX executable ../bin/format-impl-test +[ 42%] Built target format-impl-test +[ 43%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 45%] Linking CXX executable ../bin/ostream-test +[ 45%] Built target ostream-test +[ 46%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 47%] Linking CXX executable ../bin/compile-test +[ 47%] Built target compile-test +[ 49%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 50%] Building CXX object test/CMakeFiles/compile-fp-test.dir/test-main.cc.o +[ 52%] Building CXX object test/CMakeFiles/compile-fp-test.dir/gtest-extra.cc.o +[ 53%] Building CXX object test/CMakeFiles/compile-fp-test.dir/util.cc.o +[ 54%] Building CXX object test/CMakeFiles/compile-fp-test.dir/__/src/os.cc.o +[ 56%] Linking CXX executable ../bin/compile-fp-test +[ 56%] Built target compile-fp-test +[ 57%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 59%] Linking CXX executable ../bin/printf-test +[ 59%] Built target printf-test +[ 60%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 61%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 63%] Linking CXX executable ../bin/ranges-test +[ 63%] Built target ranges-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 67%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 70%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 71%] Linking CXX executable ../bin/scan-test +[ 71%] Built target scan-test +[ 73%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 74%] Linking CXX executable ../bin/std-test +[ 74%] Built target std-test +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 81%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 83%] Linking CXX executable ../bin/unicode-test +[ 83%] Built target unicode-test +[ 84%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 85%] Linking CXX executable ../bin/xchar-test +[ 85%] Built target xchar-test +[ 87%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 88%] Linking CXX executable ../bin/enforce-checks-test +[ 88%] Built target enforce-checks-test +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 91%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 95%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/20 Test #1: args-test ........................ Passed 0.00 sec + Start 2: base-test + 2/20 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/20 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/20 Test #4: chrono-test ...................... Passed 0.06 sec + Start 5: color-test + 5/20 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/20 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/20 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/20 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/20 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/20 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/20 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/20 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/20 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: scan-test +14/20 Test #14: scan-test ........................ Passed 0.00 sec + Start 15: std-test +15/20 Test #15: std-test ......................... Passed 0.00 sec + Start 16: unicode-test +16/20 Test #16: unicode-test ..................... Passed 0.00 sec + Start 17: xchar-test +17/20 Test #17: xchar-test ....................... Passed 0.00 sec + Start 18: enforce-checks-test +18/20 Test #18: enforce-checks-test .............. Passed 0.00 sec + Start 19: posix-mock-test +19/20 Test #19: posix-mock-test .................. Passed 0.00 sec + Start 20: os-test +20/20 Test #20: os-test .......................... Passed 0.00 sec + +100% tests passed, 0 tests failed out of 20 + +Total Test time (real) = 0.13 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/fix.patch new file mode 100644 index 000000000..0c15ccc74 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/fix.patch @@ -0,0 +1,13 @@ +diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h +index f387903c..98a778d4 100644 +--- a/include/fmt/ranges.h ++++ b/include/fmt/ranges.h +@@ -490,7 +490,7 @@ struct range_formatter< + auto out = ctx.out(); + auto it = detail::range_begin(range); + auto end = detail::range_end(range); +- if (is_debug) return write_debug_string(out, it, end); ++ if (is_debug) return write_debug_string(out, std::move(it), std::move(end)); + + out = detail::copy(opening_bracket_, out); + int i = 0; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/report.json new file mode 100644 index 000000000..6833e497e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4057/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 4057, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/fix-patch-run.log new file mode 100644 index 000000000..0b2aecdba --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/fix-patch-run.log @@ -0,0 +1,416 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6520 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.9 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.7 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (4315 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.4wjf91Sp +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.4wjf91Sp/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.4wjf91Sp/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.4wjf91Sp/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.4wjf91Sp/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.4wjf91Sp/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.4wjf91Sp +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=77fb8ee9773f +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.jN3JjB8RPU/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/std-test.cc +patching file test/xchar-test.cc +patching file include/fmt/format.h +patching file include/fmt/std.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- {fmt} version: 11.1.1 +-- Build type: Release +-- Target 'doc' disabled because doxygen not found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 6%] Linking CXX static library libgtest.a +[ 6%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 13%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 14%] Linking CXX executable ../bin/args-test +[ 14%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 17%] Linking CXX executable ../bin/base-test +[ 17%] Built target base-test +[ 18%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 20%] Linking CXX executable ../bin/assert-test +[ 20%] Built target assert-test +[ 21%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 24%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 28%] Linking CXX executable ../bin/gtest-extra-test +[ 28%] Built target gtest-extra-test +[ 29%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 30%] Linking CXX executable ../bin/format-test +[ 30%] Built target format-test +[ 32%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 34%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 40%] Linking CXX executable ../bin/format-impl-test +[ 40%] Built target format-impl-test +[ 41%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 42%] Linking CXX executable ../bin/ostream-test +[ 42%] Built target ostream-test +[ 44%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 45%] Linking CXX executable ../bin/compile-test +[ 45%] Built target compile-test +[ 46%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 48%] Linking CXX executable ../bin/compile-fp-test +[ 48%] Built target compile-fp-test +[ 49%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 50%] Linking CXX executable ../bin/printf-test +[ 50%] Built target printf-test +[ 52%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 54%] Linking CXX executable ../bin/ranges-test +[ 54%] Built target ranges-test +[ 56%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/no-builtin-types-test.cc.o +[ 57%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/test-main.cc.o +[ 58%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/gtest-extra.cc.o +[ 60%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/util.cc.o +[ 61%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/__/src/os.cc.o +[ 62%] Linking CXX executable ../bin/no-builtin-types-test +[ 62%] Built target no-builtin-types-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 72%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 81%] Linking CXX executable ../bin/unicode-test +[ 81%] Built target unicode-test +[ 82%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 84%] Linking CXX executable ../bin/xchar-test +[ 84%] Built target xchar-test +[ 85%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 86%] Linking CXX executable ../bin/enforce-checks-test +[ 86%] Built target enforce-checks-test +[ 88%] Building CXX object test/CMakeFiles/perf-sanity.dir/perf-sanity.cc.o +[ 89%] Linking CXX executable ../bin/perf-sanity +[ 89%] Built target perf-sanity +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 93%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 96%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/21 Test #1: args-test ........................ Passed 0.00 sec + Start 2: base-test + 2/21 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/21 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/21 Test #4: chrono-test ...................... Passed 0.06 sec + Start 5: color-test + 5/21 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/21 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/21 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/21 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/21 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/21 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/21 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/21 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/21 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: no-builtin-types-test +14/21 Test #14: no-builtin-types-test ............ Passed 0.00 sec + Start 15: scan-test +15/21 Test #15: scan-test ........................ Passed 0.00 sec + Start 16: std-test +16/21 Test #16: std-test ......................... Passed 0.00 sec + Start 17: unicode-test +17/21 Test #17: unicode-test ..................... Passed 0.00 sec + Start 18: xchar-test +18/21 Test #18: xchar-test .......................***Failed 0.00 sec + Start 19: enforce-checks-test +19/21 Test #19: enforce-checks-test .............. Passed 0.00 sec + Start 20: posix-mock-test +20/21 Test #20: posix-mock-test .................. Passed 0.00 sec + Start 21: os-test +21/21 Test #21: os-test .......................... Passed 0.00 sec + +95% tests passed, 1 tests failed out of 21 + +Total Test time (real) = 0.13 sec + +The following tests FAILED: + 18 - xchar-test (Failed) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/fix.patch new file mode 100644 index 000000000..5f77c077e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/fix.patch @@ -0,0 +1,41 @@ +diff --git a/include/fmt/format.h b/include/fmt/format.h +index d1b83d18..7b92c380 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -3960,8 +3960,12 @@ template struct nested_formatter { + write(basic_appender(buf)); + auto specs = format_specs(); + specs.width = width_; +- specs.set_fill( +- basic_string_view(specs_.fill(), specs_.fill_size())); ++ if (specs_.fill_size() == 1) { ++ specs.set_fill(specs_.fill_unit()); ++ } else { ++ specs.set_fill( ++ basic_string_view(specs_.fill(), specs_.fill_size())); ++ } + specs.set_align(specs_.align()); + return detail::write( + ctx.out(), basic_string_view(buf.data(), buf.size()), specs); +diff --git a/include/fmt/std.h b/include/fmt/std.h +index b00e4022..72acaa4e 100644 +--- a/include/fmt/std.h ++++ b/include/fmt/std.h +@@ -184,7 +184,7 @@ FMT_END_NAMESPACE + FMT_BEGIN_NAMESPACE + FMT_EXPORT + template +-struct formatter, Char> : nested_formatter { ++struct formatter, Char> : nested_formatter, Char> { + private: + // Functor because C++11 doesn't support generic lambdas. + struct writer { +@@ -204,7 +204,7 @@ struct formatter, Char> : nested_formatter { + template + auto format(const std::bitset& bs, FormatContext& ctx) const + -> decltype(ctx.out()) { +- return write_padded(ctx, writer{bs}); ++ return this->write_padded(ctx, writer{bs}); + } + }; + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/report.json new file mode 100644 index 000000000..e47eb8726 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4286/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 4286, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "no-builtin-types-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "no-builtin-types-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 21, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "no-builtin-types-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 20, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "no-builtin-types-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/fix-patch-run.log new file mode 100644 index 000000000..0b6e86330 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/fix-patch-run.log @@ -0,0 +1,412 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6649 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.3 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.1 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5116 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.QLKtJUtM +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.QLKtJUtM/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.QLKtJUtM/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.QLKtJUtM/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.QLKtJUtM/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.QLKtJUtM/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.QLKtJUtM +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=79b145313617 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.xmzGDMIbQ0/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/base-test.cc +patching file include/fmt/base.h +patching file include/fmt/format.h +patching file include/fmt/printf.h +-- CMake version: 3.25.1 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- {fmt} version: 11.1.2 +-- Build type: Release +-- Target 'doc' disabled because doxygen not found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Looking for strptime +-- Looking for strptime - found +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 1%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o +[ 4%] Linking CXX static library libfmt.a +[ 4%] Built target fmt +[ 5%] Building CXX object test/gtest/CMakeFiles/gtest.dir/gmock-gtest-all.cc.o +[ 6%] Linking CXX static library libgtest.a +[ 6%] Built target gtest +[ 8%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 9%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 10%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 12%] Linking CXX static library libtest-main.a +[ 12%] Built target test-main +[ 13%] Building CXX object test/CMakeFiles/args-test.dir/args-test.cc.o +[ 14%] Linking CXX executable ../bin/args-test +[ 14%] Built target args-test +[ 16%] Building CXX object test/CMakeFiles/base-test.dir/base-test.cc.o +[ 17%] Linking CXX executable ../bin/base-test +[ 17%] Built target base-test +[ 18%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 20%] Linking CXX executable ../bin/assert-test +[ 20%] Built target assert-test +[ 21%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 22%] Linking CXX executable ../bin/chrono-test +[ 22%] Built target chrono-test +[ 24%] Building CXX object test/CMakeFiles/color-test.dir/color-test.cc.o +[ 25%] Linking CXX executable ../bin/color-test +[ 25%] Built target color-test +[ 26%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 28%] Linking CXX executable ../bin/gtest-extra-test +[ 28%] Built target gtest-extra-test +[ 29%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 30%] Linking CXX executable ../bin/format-test +[ 30%] Built target format-test +[ 32%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 33%] Building CXX object test/CMakeFiles/format-impl-test.dir/header-only-test.cc.o +[ 34%] Building CXX object test/CMakeFiles/format-impl-test.dir/test-main.cc.o +[ 36%] Building CXX object test/CMakeFiles/format-impl-test.dir/gtest-extra.cc.o +[ 37%] Building CXX object test/CMakeFiles/format-impl-test.dir/util.cc.o +[ 38%] Building CXX object test/CMakeFiles/format-impl-test.dir/__/src/os.cc.o +[ 40%] Linking CXX executable ../bin/format-impl-test +[ 40%] Built target format-impl-test +[ 41%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 42%] Linking CXX executable ../bin/ostream-test +[ 42%] Built target ostream-test +[ 44%] Building CXX object test/CMakeFiles/compile-test.dir/compile-test.cc.o +[ 45%] Linking CXX executable ../bin/compile-test +[ 45%] Built target compile-test +[ 46%] Building CXX object test/CMakeFiles/compile-fp-test.dir/compile-fp-test.cc.o +[ 48%] Linking CXX executable ../bin/compile-fp-test +[ 48%] Built target compile-fp-test +[ 49%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 50%] Linking CXX executable ../bin/printf-test +[ 50%] Built target printf-test +[ 52%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-test.cc.o +[ 53%] Building CXX object test/CMakeFiles/ranges-test.dir/ranges-odr-test.cc.o +[ 54%] Linking CXX executable ../bin/ranges-test +[ 54%] Built target ranges-test +[ 56%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/no-builtin-types-test.cc.o +[ 57%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/test-main.cc.o +[ 58%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/gtest-extra.cc.o +[ 60%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/util.cc.o +[ 61%] Building CXX object test/CMakeFiles/no-builtin-types-test.dir/__/src/os.cc.o +[ 62%] Linking CXX executable ../bin/no-builtin-types-test +[ 62%] Built target no-builtin-types-test +[ 64%] Building CXX object test/CMakeFiles/scan-test.dir/scan-test.cc.o +[ 65%] Building CXX object test/CMakeFiles/scan-test.dir/test-main.cc.o +[ 66%] Building CXX object test/CMakeFiles/scan-test.dir/gtest-extra.cc.o +[ 68%] Building CXX object test/CMakeFiles/scan-test.dir/util.cc.o +[ 69%] Building CXX object test/CMakeFiles/scan-test.dir/__/src/os.cc.o +[ 70%] Linking CXX executable ../bin/scan-test +[ 70%] Built target scan-test +[ 72%] Building CXX object test/CMakeFiles/std-test.dir/std-test.cc.o +[ 73%] Linking CXX executable ../bin/std-test +[ 73%] Built target std-test +[ 74%] Building CXX object test/CMakeFiles/unicode-test.dir/unicode-test.cc.o +[ 76%] Building CXX object test/CMakeFiles/unicode-test.dir/test-main.cc.o +[ 77%] Building CXX object test/CMakeFiles/unicode-test.dir/gtest-extra.cc.o +[ 78%] Building CXX object test/CMakeFiles/unicode-test.dir/util.cc.o +[ 80%] Building CXX object test/CMakeFiles/unicode-test.dir/__/src/os.cc.o +[ 81%] Linking CXX executable ../bin/unicode-test +[ 81%] Built target unicode-test +[ 82%] Building CXX object test/CMakeFiles/xchar-test.dir/xchar-test.cc.o +[ 84%] Linking CXX executable ../bin/xchar-test +[ 84%] Built target xchar-test +[ 85%] Building CXX object test/CMakeFiles/enforce-checks-test.dir/enforce-checks-test.cc.o +[ 86%] Linking CXX executable ../bin/enforce-checks-test +[ 86%] Built target enforce-checks-test +[ 88%] Building CXX object test/CMakeFiles/perf-sanity.dir/perf-sanity.cc.o +[ 89%] Linking CXX executable ../bin/perf-sanity +[ 89%] Built target perf-sanity +[ 90%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 92%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/src/format.cc.o +[ 93%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 94%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 96%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 97%] Linking CXX executable ../bin/posix-mock-test +[ 97%] Built target posix-mock-test +[ 98%] Building CXX object test/CMakeFiles/os-test.dir/os-test.cc.o +[100%] Linking CXX executable ../bin/os-test +[100%] Built target os-test +Test project /home/fmt/build + Start 1: args-test + 1/21 Test #1: args-test ........................ Passed 0.00 sec + Start 2: base-test + 2/21 Test #2: base-test ........................ Passed 0.00 sec + Start 3: assert-test + 3/21 Test #3: assert-test ...................... Passed 0.00 sec + Start 4: chrono-test + 4/21 Test #4: chrono-test ...................... Passed 0.06 sec + Start 5: color-test + 5/21 Test #5: color-test ....................... Passed 0.00 sec + Start 6: gtest-extra-test + 6/21 Test #6: gtest-extra-test ................. Passed 0.00 sec + Start 7: format-test + 7/21 Test #7: format-test ...................... Passed 0.01 sec + Start 8: format-impl-test + 8/21 Test #8: format-impl-test ................. Passed 0.02 sec + Start 9: ostream-test + 9/21 Test #9: ostream-test ..................... Passed 0.00 sec + Start 10: compile-test +10/21 Test #10: compile-test ..................... Passed 0.00 sec + Start 11: compile-fp-test +11/21 Test #11: compile-fp-test .................. Passed 0.00 sec + Start 12: printf-test +12/21 Test #12: printf-test ...................... Passed 0.00 sec + Start 13: ranges-test +13/21 Test #13: ranges-test ...................... Passed 0.00 sec + Start 14: no-builtin-types-test +14/21 Test #14: no-builtin-types-test ............ Passed 0.00 sec + Start 15: scan-test +15/21 Test #15: scan-test ........................ Passed 0.00 sec + Start 16: std-test +16/21 Test #16: std-test ......................... Passed 0.00 sec + Start 17: unicode-test +17/21 Test #17: unicode-test ..................... Passed 0.00 sec + Start 18: xchar-test +18/21 Test #18: xchar-test ....................... Passed 0.00 sec + Start 19: enforce-checks-test +19/21 Test #19: enforce-checks-test .............. Passed 0.00 sec + Start 20: posix-mock-test +20/21 Test #20: posix-mock-test .................. Passed 0.00 sec + Start 21: os-test +21/21 Test #21: os-test .......................... Passed 0.00 sec + +100% tests passed, 0 tests failed out of 21 + +Total Test time (real) = 0.13 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/fix.patch new file mode 100644 index 000000000..9e17f5176 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/fix.patch @@ -0,0 +1,38 @@ +diff --git a/include/fmt/base.h b/include/fmt/base.h +index 8c0411bf..638f1af9 100644 +--- a/include/fmt/base.h ++++ b/include/fmt/base.h +@@ -2656,6 +2656,7 @@ class context { + FMT_CONSTEXPR auto arg_id(string_view name) const -> int { + return args_.get_id(name); + } ++ FMT_CONSTEXPR auto args() const -> format_args { return args_; } + + // Returns an iterator to the beginning of the output range. + FMT_CONSTEXPR auto out() const -> iterator { return out_; } +diff --git a/include/fmt/format.h b/include/fmt/format.h +index 92a1d5b7..681ae2f1 100644 +--- a/include/fmt/format.h ++++ b/include/fmt/format.h +@@ -3701,6 +3701,9 @@ template class generic_context { + constexpr auto arg_id(basic_string_view name) const -> int { + return args_.get_id(name); + } ++ constexpr auto args() const -> basic_format_args { ++ return args_; ++ } + + constexpr auto out() const -> iterator { return out_; } + +diff --git a/include/fmt/printf.h b/include/fmt/printf.h +index e7268401..e2cb8a6e 100644 +--- a/include/fmt/printf.h ++++ b/include/fmt/printf.h +@@ -47,6 +47,7 @@ template class basic_printf_context { + void advance_to(basic_appender) {} + + auto locale() -> detail::locale_ref { return {}; } ++ auto args() const -> basic_format_args { return args_; } + + auto arg(int id) const -> basic_format_arg { + return args_.get(id); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/report.json new file mode 100644 index 000000000..94c9fde7a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-4310/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 4310, "valid": true, "error_msg": "", "fixed_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "no-builtin-types-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"color-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "base-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "no-builtin-types-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "xchar-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "std-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "scan-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "enforce-checks-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ranges-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "compile-fp-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "os-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "args-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 21, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "no-builtin-types-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "enforce-checks-test", "ranges-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 21, "failed_count": 0, "skipped_count": 0, "passed_tests": ["color-test", "format-impl-test", "std-test", "unicode-test", "gtest-extra-test", "os-test", "args-test", "format-test", "printf-test", "ostream-test", "base-test", "no-builtin-types-test", "xchar-test", "assert-test", "scan-test", "posix-mock-test", "ranges-test", "enforce-checks-test", "compile-test", "compile-fp-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/fix-patch-run.log new file mode 100644 index 000000000..eb13ed5f1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/fix-patch-run.log @@ -0,0 +1,394 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7367 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (13.1 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5507 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.Y8aVQqbT +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.Y8aVQqbT/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.Y8aVQqbT/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.Y8aVQqbT/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.Y8aVQqbT/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.Y8aVQqbT/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.Y8aVQqbT +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=0b9872794bed +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.Yxmz8W3zty/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/ostream-test.cc +patching file build/test/test +patching file build/test/test-file +patching file fmt/ostream.h +-- CMake version: 3.25.1 +-- The C compiler identification is GNU 14.2.0 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/bin/cc - 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: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 3.0.2 +-- Build type: Release +-- Performing Test HAVE_STD_CPP11_FLAG +-- Performing Test HAVE_STD_CPP11_FLAG - Success +-- Performing Test FMT_CPP11_CMATH +-- Performing Test FMT_CPP11_CMATH - Success +-- Performing Test FMT_CPP11_UNISTD_H +-- Performing Test FMT_CPP11_UNISTD_H - Success +-- Performing Test FMT_CPP11_SNPRINTF +-- Performing Test FMT_CPP11_SNPRINTF - Success +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success +-- Performing Test SUPPORTS_INITIALIZER_LIST +-- Performing Test SUPPORTS_INITIALIZER_LIST - Success +-- Performing Test SUPPORTS_ENUM_BASE +-- Performing Test SUPPORTS_ENUM_BASE - Success +-- Performing Test SUPPORTS_TYPE_TRAITS +-- Performing Test SUPPORTS_TYPE_TRAITS - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Looking for open +-- Looking for open - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- Performing Test HAVE_FNO_EXCEPTIONS_FLAG +-- Performing Test HAVE_FNO_EXCEPTIONS_FLAG - Success +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 2%] Building CXX object fmt/CMakeFiles/fmt.dir/posix.cc.o +[ 4%] Building CXX object fmt/CMakeFiles/fmt.dir/format.cc.o +[ 6%] Building CXX object fmt/CMakeFiles/fmt.dir/ostream.cc.o +[ 8%] Building CXX object fmt/CMakeFiles/fmt.dir/printf.cc.o +[ 10%] Linking CXX static library libfmt.a +[ 10%] Built target fmt +[ 12%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 14%] Linking CXX static library libgmock.a +[ 14%] Built target gmock +[ 16%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 18%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 20%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 22%] Linking CXX static library libtest-main.a +[ 22%] Built target test-main +[ 24%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 26%] Linking CXX executable ../bin/assert-test +[ 26%] Built target assert-test +[ 28%] Building CXX object test/CMakeFiles/container-test.dir/container-test.cc.o +[ 30%] Linking CXX executable ../bin/container-test +[ 30%] Built target container-test +[ 32%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 34%] Linking CXX executable ../bin/gtest-extra-test +[ 34%] Built target gtest-extra-test +[ 36%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 38%] Linking CXX executable ../bin/format-test +[ 38%] Built target format-test +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +[ 42%] Linking CXX executable ../bin/format-impl-test +[ 42%] Built target format-impl-test +[ 44%] Building CXX object test/CMakeFiles/ostream-test.dir/ostream-test.cc.o +[ 46%] Linking CXX executable ../bin/ostream-test +[ 46%] Built target ostream-test +[ 48%] Building CXX object test/CMakeFiles/printf-test.dir/printf-test.cc.o +[ 50%] Linking CXX executable ../bin/printf-test +[ 50%] Built target printf-test +[ 52%] Building CXX object test/CMakeFiles/string-test.dir/string-test.cc.o +[ 54%] Linking CXX executable ../bin/string-test +[ 54%] Built target string-test +[ 56%] Building CXX object test/CMakeFiles/time-test.dir/time-test.cc.o +[ 58%] Linking CXX executable ../bin/time-test +[ 58%] Built target time-test +[ 60%] Building CXX object test/CMakeFiles/util-test.dir/util-test.cc.o +[ 62%] Linking CXX executable ../bin/util-test +[ 62%] Built target util-test +[ 64%] Building CXX object test/CMakeFiles/macro-test.dir/macro-test.cc.o +[ 66%] Linking CXX executable ../bin/macro-test +[ 66%] Built target macro-test +[ 68%] Building CXX object test/CMakeFiles/custom-formatter-test.dir/custom-formatter-test.cc.o +[ 70%] Linking CXX executable ../bin/custom-formatter-test +[ 70%] Built target custom-formatter-test +[ 72%] Building CXX object test/CMakeFiles/posix-mock-test.dir/posix-mock-test.cc.o +[ 74%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/fmt/format.cc.o +[ 76%] Building CXX object test/CMakeFiles/posix-mock-test.dir/__/fmt/printf.cc.o +[ 78%] Building CXX object test/CMakeFiles/posix-mock-test.dir/test-main.cc.o +[ 80%] Building CXX object test/CMakeFiles/posix-mock-test.dir/gtest-extra.cc.o +[ 82%] Building CXX object test/CMakeFiles/posix-mock-test.dir/util.cc.o +[ 84%] Linking CXX executable ../bin/posix-mock-test +[ 84%] Built target posix-mock-test +[ 86%] Building CXX object test/CMakeFiles/posix-test.dir/posix-test.cc.o +[ 88%] Linking CXX executable ../bin/posix-test +[ 88%] Built target posix-test +[ 90%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test.cc.o +[ 92%] Building CXX object test/CMakeFiles/header-only-test.dir/header-only-test2.cc.o +[ 94%] Building CXX object test/CMakeFiles/header-only-test.dir/test-main.cc.o +[ 96%] Linking CXX executable ../bin/header-only-test +[ 96%] Built target header-only-test +[ 98%] Building CXX object test/CMakeFiles/noexception-test.dir/__/fmt/format.cc.o +[100%] Linking CXX static library libnoexception-test.a +[100%] Built target noexception-test +Test project /home/fmt/build + Start 1: assert-test + 1/14 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: container-test + 2/14 Test #2: container-test ................... Passed 0.00 sec + Start 3: gtest-extra-test + 3/14 Test #3: gtest-extra-test ................. Passed 0.00 sec + Start 4: format-test + 4/14 Test #4: format-test ...................... Passed 0.01 sec + Start 5: format-impl-test + 5/14 Test #5: format-impl-test ................. Passed 0.00 sec + Start 6: ostream-test + 6/14 Test #6: ostream-test ..................... Passed 0.00 sec + Start 7: printf-test + 7/14 Test #7: printf-test ...................... Passed 0.00 sec + Start 8: string-test + 8/14 Test #8: string-test ...................... Passed 0.00 sec + Start 9: time-test + 9/14 Test #9: time-test ........................ Passed 0.00 sec + Start 10: util-test +10/14 Test #10: util-test ........................ Passed 0.00 sec + Start 11: macro-test +11/14 Test #11: macro-test ....................... Passed 0.00 sec + Start 12: custom-formatter-test +12/14 Test #12: custom-formatter-test ............ Passed 0.00 sec + Start 13: posix-mock-test +13/14 Test #13: posix-mock-test .................. Passed 0.00 sec + Start 14: posix-test +14/14 Test #14: posix-test ....................... Passed 0.11 sec + +100% tests passed, 0 tests failed out of 14 + +Total Test time (real) = 0.15 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/fix.patch new file mode 100644 index 000000000..58cd278a2 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/fix.patch @@ -0,0 +1,74 @@ +diff --git a/build/test/test b/build/test/test +new file mode 100644 +index 00000000..50a6f636 +--- /dev/null ++++ b/build/test/test +@@ -0,0 +1 @@ ++there must be something here +\ No newline at end of file +diff --git a/build/test/test-file b/build/test/test-file +new file mode 100644 +index 00000000..2810a093 +--- /dev/null ++++ b/build/test/test-file +@@ -0,0 +1 @@ ++Don't panic! +\ No newline at end of file +diff --git a/fmt/ostream.h b/fmt/ostream.h +index 7e13a5a7..b5833a5f 100644 +--- a/fmt/ostream.h ++++ b/fmt/ostream.h +@@ -25,25 +25,29 @@ class FormatBuf : public std::basic_streambuf { + + Buffer &buffer_; + Char *start_; ++ std::size_t initial_size_; + + public: +- FormatBuf(Buffer &buffer) : buffer_(buffer), start_(&buffer[0]) { ++ FormatBuf(Buffer &buffer) : buffer_(buffer), initial_size_(0) { ++ start_ = &buffer_[0]; + this->setp(start_, start_ + buffer_.capacity()); + } + +- FormatBuf(Buffer &buffer, Char *start) : buffer_(buffer) , start_(start) { +- this->setp(start_, start_ + buffer_.capacity()); ++ FormatBuf(Buffer &buffer, Char *start) ++ : buffer_(buffer), initial_size_(buffer.size()) { ++ start_ = start; ++ this->setp(start_, &buffer_[0] + buffer_.capacity()); + } + + int_type overflow(int_type ch = traits_type::eof()) FMT_OVERRIDE { + if (!traits_type::eq_int_type(ch, traits_type::eof())) { + size_t buf_size = size(); +- buffer_.resize(buf_size); +- buffer_.reserve(buf_size * 2); ++ buffer_.resize(initial_size_ + buf_size + 1); ++ buffer_.reserve(initial_size_ + (buf_size + 1) * 2); + +- start_ = &buffer_[0]; ++ start_ = &buffer_[0] + initial_size_; + start_[buf_size] = traits_type::to_char_type(ch); +- this->setp(start_+ buf_size + 1, start_ + buf_size * 2); ++ this->setp(start_ + buf_size + 1, &buffer_[0] + buffer_.capacity()); + } + return ch; + } +@@ -129,13 +133,14 @@ operator<<(BasicWriter &writer, const T &value) { + FMT_STATIC_ASSERT(internal::is_streamable::value, "T must be Streamable"); + + auto &buffer = writer.buffer(); +- Char *start = &buffer[0] + buffer.size(); ++ std::size_t initial_size = buffer.size(); ++ Char *start = &buffer[0] + initial_size; + + internal::FormatBuf format_buf(buffer, start); + std::basic_ostream output(&format_buf); + output << value; + +- buffer.resize(buffer.size() + format_buf.size()); ++ buffer.resize(initial_size + format_buf.size()); + return writer; + } + #endif diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/report.json new file mode 100644 index 000000000..1007439b1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-493/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 493, "valid": true, "error_msg": "", "fixed_tests": {"ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"assert-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "posix-mock-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "printf-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "custom-formatter-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "macro-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "string-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "container-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "format-impl-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "util-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "time-test": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"ostream-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 14, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "posix-test", "format-test", "posix-mock-test", "printf-test", "custom-formatter-test", "gtest-extra-test", "ostream-test", "macro-test", "string-test", "container-test", "format-impl-test", "util-test", "time-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 13, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "posix-test", "format-test", "posix-mock-test", "printf-test", "custom-formatter-test", "gtest-extra-test", "macro-test", "string-test", "container-test", "format-impl-test", "util-test", "time-test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 14, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "posix-test", "format-test", "posix-mock-test", "printf-test", "custom-formatter-test", "gtest-extra-test", "ostream-test", "macro-test", "string-test", "container-test", "format-impl-test", "util-test", "time-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/fix-patch-run.log new file mode 100644 index 000000000..4fe4e6c19 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/fix-patch-run.log @@ -0,0 +1,856 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7402 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (16.0 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 1s (15.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5295 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.LgRhsPx8 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.LgRhsPx8/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.LgRhsPx8/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.LgRhsPx8/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.LgRhsPx8/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.LgRhsPx8/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.LgRhsPx8 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=cec70e82a449 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.Xz60JX2Hvq/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-impl-test.cc +patching file include/fmt/color.h +-- CMake version: 3.25.1 +-- The C compiler identification is GNU 14.2.0 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/bin/cc - 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: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 5.2.2 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success +-- Performing Test SUPPORTS_INITIALIZER_LIST +-- Performing Test SUPPORTS_INITIALIZER_LIST - Success +-- Performing Test SUPPORTS_ENUM_BASE +-- Performing Test SUPPORTS_ENUM_BASE - Success +-- Performing Test SUPPORTS_TYPE_TRAITS +-- Performing Test SUPPORTS_TYPE_TRAITS - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Looking for open +-- Looking for open - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- Performing Test HAVE_FNO_EXCEPTIONS_FLAG +-- Performing Test HAVE_FNO_EXCEPTIONS_FLAG - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 4%] Building CXX object CMakeFiles/fmt.dir/src/posix.cc.o +[ 6%] Linking CXX static library libfmt.a +[ 6%] Built target fmt +[ 8%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 11%] Linking CXX static library libgmock.a +[ 11%] Built target gmock +[ 13%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 15%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 17%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 20%] Linking CXX static library libtest-main.a +[ 20%] Built target test-main +[ 22%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 24%] Linking CXX executable ../bin/assert-test +[ 24%] Built target assert-test +[ 26%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 28%] Linking CXX executable ../bin/core-test +[ 28%] Built target core-test +[ 31%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 33%] Linking CXX executable ../bin/gtest-extra-test +[ 33%] Built target gtest-extra-test +[ 35%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 37%] Linking CXX executable ../bin/format-test +[ 37%] Built target format-test +[ 40%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +In file included from /home/fmt/include/fmt/format.h:60, + from /home/fmt/include/fmt/format-inl.h:11, + from /home/fmt/test/../src/format.cc:8, + from /home/fmt/test/format-impl-test.cc:13: +/home/fmt/include/fmt/core.h: In instantiation of ‘fmt::v5::enable_if_string_t fmt::v5::print(const S&, const Args& ...) [with S = _IO_FILE*; Args = {emphasis, char [11]}; enable_if_string_t = void]’: +/home/fmt/test/format-impl-test.cc:231:3: required from here + 231 | EXPECT_WRITE(stderr, fmt::print(stderr, fmt::emphasis::bold, "bold error"), + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1502:9: error: no matching function for call to ‘vprint(fmt::v5::basic_string_view<_IO_FILE>, fmt::v5::internal::checked_args<_IO_FILE*, fmt::v5::emphasis, char [11]>)’ + 1502 | vprint(to_string_view(format_str), + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1503 | internal::checked_args(format_str, args...)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /home/fmt/include/fmt/printf.h:14, + from /home/fmt/test/format-impl-test.cc:15: +/home/fmt/include/fmt/ostream.h:128:13: note: candidate: ‘template void fmt::v5::vprint(std::basic_ostream&, basic_string_view, basic_format_args::type>)’ + 128 | inline void vprint(std::basic_ostream &os, + | ^~~~~~ +/home/fmt/include/fmt/ostream.h:128:13: note: candidate expects 3 arguments, 2 provided +In file included from /home/fmt/test/format-impl-test.cc:14: +/home/fmt/include/fmt/color.h:430:6: note: candidate: ‘template void fmt::v5::vprint(const text_style&, FILE*, const S&, basic_format_args::type>)’ + 430 | void vprint(const text_style &tf, std::FILE *f, const S &format, + | ^~~~~~ +/home/fmt/include/fmt/color.h:430:6: note: candidate expects 4 arguments, 2 provided +/home/fmt/include/fmt/format-inl.h:945:15: note: candidate: ‘void fmt::v5::vprint(FILE*, string_view, format_args)’ + 945 | FMT_FUNC void vprint(std::FILE *f, string_view format_str, format_args args) { + | ^~~~~~ +/home/fmt/include/fmt/format-inl.h:945:15: note: candidate expects 3 arguments, 2 provided +/home/fmt/include/fmt/format-inl.h:952:15: note: candidate: ‘void fmt::v5::vprint(FILE*, wstring_view, wformat_args)’ + 952 | FMT_FUNC void vprint(std::FILE *f, wstring_view format_str, wformat_args args) { + | ^~~~~~ +/home/fmt/include/fmt/format-inl.h:952:15: note: candidate expects 3 arguments, 2 provided +/home/fmt/include/fmt/format-inl.h:958:15: note: candidate: ‘void fmt::v5::vprint(string_view, format_args)’ + 958 | FMT_FUNC void vprint(string_view format_str, format_args args) { + | ^~~~~~ +/home/fmt/include/fmt/format-inl.h:958:34: note: no known conversion for argument 1 from ‘basic_string_view<_IO_FILE>’ to ‘basic_string_view’ + 958 | FMT_FUNC void vprint(string_view format_str, format_args args) { + | ~~~~~~~~~~~~^~~~~~~~~~ +/home/fmt/include/fmt/format-inl.h:962:15: note: candidate: ‘void fmt::v5::vprint(wstring_view, wformat_args)’ + 962 | FMT_FUNC void vprint(wstring_view format_str, wformat_args args) { + | ^~~~~~ +/home/fmt/include/fmt/format-inl.h:962:35: note: no known conversion for argument 1 from ‘basic_string_view<_IO_FILE>’ to ‘basic_string_view’ + 962 | FMT_FUNC void vprint(wstring_view format_str, wformat_args args) { + | ~~~~~~~~~~~~~^~~~~~~~~~ +/home/fmt/include/fmt/core.h: In instantiation of ‘fmt::v5::enable_if_string_t fmt::v5::print(const S&, const Args& ...) [with S = _IO_FILE*; Args = {text_style, char [9]}; enable_if_string_t = void]’: +/home/fmt/test/format-impl-test.cc:233:3: required from here + 233 | EXPECT_WRITE(stderr, fmt::print(stderr, fg(fmt::color::blue), "blue log"), + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1502:9: error: no matching function for call to ‘vprint(fmt::v5::basic_string_view<_IO_FILE>, fmt::v5::internal::checked_args<_IO_FILE*, fmt::v5::text_style, char [9]>)’ + 1502 | vprint(to_string_view(format_str), + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 1503 | internal::checked_args(format_str, args...)); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/ostream.h:128:13: note: candidate: ‘template void fmt::v5::vprint(std::basic_ostream&, basic_string_view, basic_format_args::type>)’ + 128 | inline void vprint(std::basic_ostream &os, + | ^~~~~~ +/home/fmt/include/fmt/ostream.h:128:13: note: candidate expects 3 arguments, 2 provided +/home/fmt/include/fmt/color.h:430:6: note: candidate: ‘template void fmt::v5::vprint(const text_style&, FILE*, const S&, basic_format_args::type>)’ + 430 | void vprint(const text_style &tf, std::FILE *f, const S &format, + | ^~~~~~ +/home/fmt/include/fmt/color.h:430:6: note: candidate expects 4 arguments, 2 provided +/home/fmt/include/fmt/format-inl.h:945:15: note: candidate: ‘void fmt::v5::vprint(FILE*, string_view, format_args)’ + 945 | FMT_FUNC void vprint(std::FILE *f, string_view format_str, format_args args) { + | ^~~~~~ +/home/fmt/include/fmt/format-inl.h:945:15: note: candidate expects 3 arguments, 2 provided +/home/fmt/include/fmt/format-inl.h:952:15: note: candidate: ‘void fmt::v5::vprint(FILE*, wstring_view, wformat_args)’ + 952 | FMT_FUNC void vprint(std::FILE *f, wstring_view format_str, wformat_args args) { + | ^~~~~~ +/home/fmt/include/fmt/format-inl.h:952:15: note: candidate expects 3 arguments, 2 provided +/home/fmt/include/fmt/format-inl.h:958:15: note: candidate: ‘void fmt::v5::vprint(string_view, format_args)’ + 958 | FMT_FUNC void vprint(string_view format_str, format_args args) { + | ^~~~~~ +/home/fmt/include/fmt/format-inl.h:958:34: note: no known conversion for argument 1 from ‘basic_string_view<_IO_FILE>’ to ‘basic_string_view’ + 958 | FMT_FUNC void vprint(string_view format_str, format_args args) { + | ~~~~~~~~~~~~^~~~~~~~~~ +/home/fmt/include/fmt/format-inl.h:962:15: note: candidate: ‘void fmt::v5::vprint(wstring_view, wformat_args)’ + 962 | FMT_FUNC void vprint(wstring_view format_str, wformat_args args) { + | ^~~~~~ +/home/fmt/include/fmt/format-inl.h:962:35: note: no known conversion for argument 1 from ‘basic_string_view<_IO_FILE>’ to ‘basic_string_view’ + 962 | FMT_FUNC void vprint(wstring_view format_str, wformat_args args) { + | ~~~~~~~~~~~~~^~~~~~~~~~ +/home/fmt/include/fmt/core.h: In instantiation of ‘typename std::enable_if >::type fmt::v5::internal::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v5::basic_format_context >, _IO_FILE>; T = char [11]; typename std::enable_if >::type = value >, _IO_FILE> >]’: +/home/fmt/include/fmt/core.h:1179:51: required from ‘fmt::v5::format_arg_store::format_arg_store(const Args& ...) [with Context = fmt::v5::basic_format_context >, _IO_FILE>; Args = {fmt::v5::emphasis, char [11]}]’ + 1179 | : data_{internal::make_arg(args)...} {} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/home/fmt/include/fmt/core.h:1368:47: required from ‘fmt::v5::internal::checked_args::checked_args(const S&, const Args& ...) [with S = _IO_FILE*; Args = {fmt::v5::emphasis, char [11]}]’ + 1368 | format_arg_store(args...) { + | ^ +/home/fmt/include/fmt/core.h:1503:20: required from ‘fmt::v5::enable_if_string_t fmt::v5::print(const S&, const Args& ...) [with S = _IO_FILE*; Args = {emphasis, char [11]}; enable_if_string_t = void]’ + 1503 | internal::checked_args(format_str, args...)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:231:3: required from here + 231 | EXPECT_WRITE(stderr, fmt::print(stderr, fmt::emphasis::bold, "bold error"), + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1068:29: error: could not convert ‘fmt::v5::internal::make_value >, _IO_FILE>, char>(((const char*)value))’ from ‘std::enable_if::type’ {aka ‘void’} to ‘std::enable_if >, _IO_FILE> > >::type’ {aka ‘fmt::v5::internal::value >, _IO_FILE> >’} + 1068 | return make_value(value); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~ + | | + | std::enable_if::type {aka void} +/home/fmt/include/fmt/core.h: In instantiation of ‘typename std::enable_if >::type fmt::v5::internal::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v5::basic_format_context >, _IO_FILE>; T = char [9]; typename std::enable_if >::type = value >, _IO_FILE> >]’: +/home/fmt/include/fmt/core.h:1179:51: required from ‘fmt::v5::format_arg_store::format_arg_store(const Args& ...) [with Context = fmt::v5::basic_format_context >, _IO_FILE>; Args = {fmt::v5::text_style, char [9]}]’ + 1179 | : data_{internal::make_arg(args)...} {} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/home/fmt/include/fmt/core.h:1368:47: required from ‘fmt::v5::internal::checked_args::checked_args(const S&, const Args& ...) [with S = _IO_FILE*; Args = {fmt::v5::text_style, char [9]}]’ + 1368 | format_arg_store(args...) { + | ^ +/home/fmt/include/fmt/core.h:1503:20: required from ‘fmt::v5::enable_if_string_t fmt::v5::print(const S&, const Args& ...) [with S = _IO_FILE*; Args = {text_style, char [9]}; enable_if_string_t = void]’ + 1503 | internal::checked_args(format_str, args...)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:233:3: required from here + 233 | EXPECT_WRITE(stderr, fmt::print(stderr, fg(fmt::color::blue), "blue log"), + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1068:29: error: could not convert ‘fmt::v5::internal::make_value >, _IO_FILE>, char>(((const char*)value))’ from ‘std::enable_if::type’ {aka ‘void’} to ‘std::enable_if >, _IO_FILE> > >::type’ {aka ‘fmt::v5::internal::value >, _IO_FILE> >’} + 1068 | return make_value(value); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~ + | | + | std::enable_if::type {aka void} +In file included from /usr/local/include/c++/14.2.0/string:42, + from /usr/local/include/c++/14.2.0/stdexcept:39, + from /home/fmt/test/test-assert.h:11, + from /home/fmt/test/format-impl-test.cc:10: +/usr/local/include/c++/14.2.0/bits/char_traits.h: In instantiation of ‘static constexpr bool __gnu_cxx::char_traits<_CharT>::eq(const char_type&, const char_type&) [with _CharT = _IO_FILE; char_type = __gnu_cxx::char_traits<_IO_FILE>::char_type]’: +/usr/local/include/c++/14.2.0/bits/char_traits.h:203:17: required from ‘static std::size_t __gnu_cxx::char_traits<_CharT>::length(const char_type*) [with _CharT = _IO_FILE; std::size_t = long unsigned int; char_type = __gnu_cxx::char_traits<_IO_FILE>::char_type]’ + 203 | while (!eq(__p[__i], char_type())) + | ~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:372:53: required from ‘fmt::v5::basic_string_view::basic_string_view(const Char*) [with Char = _IO_FILE]’ + 372 | : data_(s), size_(std::char_traits::length(s)) {} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ +/home/fmt/include/fmt/core.h:462:71: required from ‘fmt::v5::basic_string_view fmt::v5::to_string_view(const Char*) [with Char = _IO_FILE]’ + 462 | inline basic_string_view to_string_view(const Char *s) { return s; } + | ^ +/home/fmt/include/fmt/core.h:1502:24: required from ‘fmt::v5::enable_if_string_t fmt::v5::print(const S&, const Args& ...) [with S = _IO_FILE*; Args = {emphasis, char [11]}; enable_if_string_t = void]’ + 1502 | vprint(to_string_view(format_str), + | ~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:231:3: required from here + 231 | EXPECT_WRITE(stderr, fmt::print(stderr, fmt::emphasis::bold, "bold error"), + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/local/include/c++/14.2.0/bits/char_traits.h:137:21: error: no match for ‘operator==’ (operand types are ‘const __gnu_cxx::char_traits<_IO_FILE>::char_type’ and ‘const __gnu_cxx::char_traits<_IO_FILE>::char_type’) + 137 | { return __c1 == __c2; } + | ~~~~~^~~~~~~ +/home/fmt/include/fmt/core.h: In instantiation of ‘typename std::enable_if<(! std::is_same::value)>::type fmt::v5::internal::make_value(const T*) [with C = fmt::v5::basic_format_context >, _IO_FILE>; T = char; typename std::enable_if<(! std::is_same::value)>::type = void; typename C::char_type = _IO_FILE]’: +/home/fmt/include/fmt/core.h:1068:29: required from ‘typename std::enable_if >::type fmt::v5::internal::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v5::basic_format_context >, _IO_FILE>; T = char [11]; typename std::enable_if >::type = value >, _IO_FILE> >]’ + 1068 | return make_value(value); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~ +/home/fmt/include/fmt/core.h:1179:51: required from ‘fmt::v5::format_arg_store::format_arg_store(const Args& ...) [with Context = fmt::v5::basic_format_context >, _IO_FILE>; Args = {fmt::v5::emphasis, char [11]}]’ + 1179 | : data_{internal::make_arg(args)...} {} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/home/fmt/include/fmt/core.h:1368:47: required from ‘fmt::v5::internal::checked_args::checked_args(const S&, const Args& ...) [with S = _IO_FILE*; Args = {fmt::v5::emphasis, char [11]}]’ + 1368 | format_arg_store(args...) { + | ^ +/home/fmt/include/fmt/core.h:1503:20: required from ‘fmt::v5::enable_if_string_t fmt::v5::print(const S&, const Args& ...) [with S = _IO_FILE*; Args = {emphasis, char [11]}; enable_if_string_t = void]’ + 1503 | internal::checked_args(format_str, args...)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:231:3: required from here + 231 | EXPECT_WRITE(stderr, fmt::print(stderr, fmt::emphasis::bold, "bold error"), + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:721:18: error: static assertion failed: formatting of non-void pointers is disallowed + 721 | static_assert(!sizeof(T), "formatting of non-void pointers is disallowed"); + | ^~~~~~~~~ +/home/fmt/include/fmt/core.h:721:18: note: the comparison reduces to ‘(1 == 0)’ +/home/fmt/include/fmt/core.h: In instantiation of ‘struct fmt::v5::formatter’: +/home/fmt/include/fmt/core.h:622:56: required from ‘static void fmt::v5::internal::value::format_custom_arg(const void*, Context&) [with T = fmt::v5::emphasis; Context = fmt::v5::basic_format_context >, _IO_FILE>]’ + 622 | typename Context::template formatter_type::type f; + | ^ +/home/fmt/include/fmt/core.h:608:21: required from ‘fmt::v5::internal::value::value(const T&) [with T = fmt::v5::emphasis; Context = fmt::v5::basic_format_context >, _IO_FILE>]’ + 608 | custom.format = &format_custom_arg; + | ^~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:636:58: required from ‘fmt::v5::internal::init::operator fmt::v5::internal::value() const [with Context = fmt::v5::basic_format_context >, _IO_FILE>; T = const fmt::v5::emphasis&; fmt::v5::internal::type TYPE = fmt::v5::internal::custom_type]’ + 636 | FMT_CONSTEXPR operator value() const { return value(val); } + | ^~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1068:29: required from ‘typename std::enable_if >::type fmt::v5::internal::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v5::basic_format_context >, _IO_FILE>; T = fmt::v5::emphasis; typename std::enable_if >::type = value >, _IO_FILE> >]’ + 1068 | return make_value(value); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~ +/home/fmt/include/fmt/core.h:1179:51: required from ‘fmt::v5::format_arg_store::format_arg_store(const Args& ...) [with Context = fmt::v5::basic_format_context >, _IO_FILE>; Args = {fmt::v5::emphasis, char [11]}]’ + 1179 | : data_{internal::make_arg(args)...} {} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/home/fmt/include/fmt/core.h:1368:47: required from ‘fmt::v5::internal::checked_args::checked_args(const S&, const Args& ...) [with S = _IO_FILE*; Args = {fmt::v5::emphasis, char [11]}]’ + 1368 | format_arg_store(args...) { + | ^ +/home/fmt/include/fmt/core.h:1503:20: required from ‘fmt::v5::enable_if_string_t fmt::v5::print(const S&, const Args& ...) [with S = _IO_FILE*; Args = {emphasis, char [11]}; enable_if_string_t = void]’ + 1503 | internal::checked_args(format_str, args...)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:231:3: required from here + 231 | EXPECT_WRITE(stderr, fmt::print(stderr, fmt::emphasis::bold, "bold error"), + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:492:50: error: static assertion failed: don't know how to format the type, include fmt/ostream.h if it provides an operator<< that should be used + 492 | static_assert(internal::no_formatter_error::value, + | ^~~~~ +/home/fmt/include/fmt/core.h:492:50: note: ‘std::integral_constant::value’ evaluates to false +/home/fmt/include/fmt/core.h: In instantiation of ‘struct fmt::v5::formatter’: +/home/fmt/include/fmt/core.h:622:56: required from ‘static void fmt::v5::internal::value::format_custom_arg(const void*, Context&) [with T = fmt::v5::text_style; Context = fmt::v5::basic_format_context >, _IO_FILE>]’ + 622 | typename Context::template formatter_type::type f; + | ^ +/home/fmt/include/fmt/core.h:608:21: required from ‘fmt::v5::internal::value::value(const T&) [with T = fmt::v5::text_style; Context = fmt::v5::basic_format_context >, _IO_FILE>]’ + 608 | custom.format = &format_custom_arg; + | ^~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:636:58: required from ‘fmt::v5::internal::init::operator fmt::v5::internal::value() const [with Context = fmt::v5::basic_format_context >, _IO_FILE>; T = const fmt::v5::text_style&; fmt::v5::internal::type TYPE = fmt::v5::internal::custom_type]’ + 636 | FMT_CONSTEXPR operator value() const { return value(val); } + | ^~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:1068:29: required from ‘typename std::enable_if >::type fmt::v5::internal::make_arg(const T&) [with bool IS_PACKED = true; Context = fmt::v5::basic_format_context >, _IO_FILE>; T = fmt::v5::text_style; typename std::enable_if >::type = value >, _IO_FILE> >]’ + 1068 | return make_value(value); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~ +/home/fmt/include/fmt/core.h:1179:51: required from ‘fmt::v5::format_arg_store::format_arg_store(const Args& ...) [with Context = fmt::v5::basic_format_context >, _IO_FILE>; Args = {fmt::v5::text_style, char [9]}]’ + 1179 | : data_{internal::make_arg(args)...} {} + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ +/home/fmt/include/fmt/core.h:1368:47: required from ‘fmt::v5::internal::checked_args::checked_args(const S&, const Args& ...) [with S = _IO_FILE*; Args = {fmt::v5::text_style, char [9]}]’ + 1368 | format_arg_store(args...) { + | ^ +/home/fmt/include/fmt/core.h:1503:20: required from ‘fmt::v5::enable_if_string_t fmt::v5::print(const S&, const Args& ...) [with S = _IO_FILE*; Args = {text_style, char [9]}; enable_if_string_t = void]’ + 1503 | internal::checked_args(format_str, args...)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:233:3: required from here + 233 | EXPECT_WRITE(stderr, fmt::print(stderr, fg(fmt::color::blue), "blue log"), + | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/fmt/include/fmt/core.h:492:50: error: static assertion failed: don't know how to format the type, include fmt/ostream.h if it provides an operator<< that should be used + 492 | static_assert(internal::no_formatter_error::value, + | ^~~~~ +/home/fmt/include/fmt/core.h:492:50: note: ‘std::integral_constant::value’ evaluates to false +gmake[2]: *** [test/CMakeFiles/format-impl-test.dir/build.make:76: test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:343: test/CMakeFiles/format-impl-test.dir/all] Error 2 +gmake: *** [Makefile:166: all] Error 2 +Test project /home/fmt/build + Start 1: assert-test + 1/13 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: core-test + 2/13 Test #2: core-test ........................ Passed 0.00 sec + Start 3: gtest-extra-test + 3/13 Test #3: gtest-extra-test ................. Passed 0.00 sec + Start 4: format-test + 4/13 Test #4: format-test ...................... Passed 0.01 sec + Start 5: format-impl-test +Unable to find executable: /home/fmt/build/bin/format-impl-test +Could not find executable /home/fmt/build/bin/format-impl-test +Looked in the following places: +/home/fmt/build/bin/format-impl-test +/home/fmt/build/bin/format-impl-test +/home/fmt/build/bin/Release/format-impl-test +/home/fmt/build/bin/Release/format-impl-test +/home/fmt/build/bin/Debug/format-impl-test +/home/fmt/build/bin/Debug/format-impl-test +/home/fmt/build/bin/MinSizeRel/format-impl-test +/home/fmt/build/bin/MinSizeRel/format-impl-test +/home/fmt/build/bin/RelWithDebInfo/format-impl-test +/home/fmt/build/bin/RelWithDebInfo/format-impl-test +/home/fmt/build/bin/Deployment/format-impl-test +/home/fmt/build/bin/Deployment/format-impl-test +/home/fmt/build/bin/Development/format-impl-test +/home/fmt/build/bin/Development/format-impl-test +home/fmt/build/bin/format-impl-test +home/fmt/build/bin/format-impl-test +home/fmt/build/bin/Release/format-impl-test +home/fmt/build/bin/Release/format-impl-test +home/fmt/build/bin/Debug/format-impl-test +home/fmt/build/bin/Debug/format-impl-test +home/fmt/build/bin/MinSizeRel/format-impl-test +home/fmt/build/bin/MinSizeRel/format-impl-test +home/fmt/build/bin/RelWithDebInfo/format-impl-test +home/fmt/build/bin/RelWithDebInfo/format-impl-test +home/fmt/build/bin/Deployment/format-impl-test +home/fmt/build/bin/Deployment/format-impl-test +home/fmt/build/bin/Development/format-impl-test +home/fmt/build/bin/Development/format-impl-test + 5/13 Test #5: format-impl-test .................***Not Run 0.00 sec + Start 6: locale-test +Unable to find executable: /home/fmt/build/bin/locale-test +Could not find executable /home/fmt/build/bin/locale-test +Looked in the following places: +/home/fmt/build/bin/locale-test +/home/fmt/build/bin/locale-test +/home/fmt/build/bin/Release/locale-test +/home/fmt/build/bin/Release/locale-test +/home/fmt/build/bin/Debug/locale-test +/home/fmt/build/bin/Debug/locale-test +/home/fmt/build/bin/MinSizeRel/locale-test +/home/fmt/build/bin/MinSizeRel/locale-test +/home/fmt/build/bin/RelWithDebInfo/locale-test +/home/fmt/build/bin/RelWithDebInfo/locale-test +/home/fmt/build/bin/Deployment/locale-test +/home/fmt/build/bin/Deployment/locale-test +/home/fmt/build/bin/Development/locale-test +/home/fmt/build/bin/Development/locale-test +home/fmt/build/bin/locale-test +home/fmt/build/bin/locale-test +home/fmt/build/bin/Release/locale-test +home/fmt/build/bin/Release/locale-test +home/fmt/build/bin/Debug/locale-test +home/fmt/build/bin/Debug/locale-test +home/fmt/build/bin/MinSizeRel/locale-test +home/fmt/build/bin/MinSizeRel/locale-test +home/fmt/build/bin/RelWithDebInfo/locale-test +home/fmt/build/bin/RelWithDebInfo/locale-test +home/fmt/build/bin/Deployment/locale-test +home/fmt/build/bin/Deployment/locale-test +home/fmt/build/bin/Development/locale-test +home/fmt/build/bin/Development/locale-test + 6/13 Test #6: locale-test ......................***Not Run 0.00 sec + Start 7: ostream-test +Could not find executable /home/fmt/build/bin/ostream-test +Looked in the following places: +Unable to find executable: /home/fmt/build/bin/ostream-test +/home/fmt/build/bin/ostream-test +/home/fmt/build/bin/ostream-test +/home/fmt/build/bin/Release/ostream-test +/home/fmt/build/bin/Release/ostream-test +/home/fmt/build/bin/Debug/ostream-test +/home/fmt/build/bin/Debug/ostream-test +/home/fmt/build/bin/MinSizeRel/ostream-test +/home/fmt/build/bin/MinSizeRel/ostream-test +/home/fmt/build/bin/RelWithDebInfo/ostream-test +/home/fmt/build/bin/RelWithDebInfo/ostream-test +/home/fmt/build/bin/Deployment/ostream-test +/home/fmt/build/bin/Deployment/ostream-test +/home/fmt/build/bin/Development/ostream-test +/home/fmt/build/bin/Development/ostream-test +home/fmt/build/bin/ostream-test +home/fmt/build/bin/ostream-test +home/fmt/build/bin/Release/ostream-test +home/fmt/build/bin/Release/ostream-test +home/fmt/build/bin/Debug/ostream-test +home/fmt/build/bin/Debug/ostream-test +home/fmt/build/bin/MinSizeRel/ostream-test +home/fmt/build/bin/MinSizeRel/ostream-test +home/fmt/build/bin/RelWithDebInfo/ostream-test +home/fmt/build/bin/RelWithDebInfo/ostream-test +home/fmt/build/bin/Deployment/ostream-test +home/fmt/build/bin/Deployment/ostream-test +home/fmt/build/bin/Development/ostream-test +home/fmt/build/bin/Development/ostream-test + 7/13 Test #7: ostream-test .....................***Not Run 0.00 sec + Start 8: printf-test +Could not find executable /home/fmt/build/bin/printf-test +Looked in the following places: +/home/fmt/build/bin/printf-test +/home/fmt/build/bin/printf-test +/home/fmt/build/bin/Release/printf-test +/home/fmt/build/bin/Release/printf-test +/home/fmt/build/bin/Debug/printf-test +/home/fmt/build/bin/Debug/printf-test +/home/fmt/build/bin/MinSizeRel/printf-test +/home/fmt/build/bin/MinSizeRel/printf-test +/home/fmt/build/bin/RelWithDebInfo/printf-test +/home/fmt/build/bin/RelWithDebInfo/printf-test +/home/fmt/build/bin/Deployment/printf-test +/home/fmt/build/bin/Deployment/printf-test +/home/fmt/build/bin/Development/printf-test +/home/fmt/build/bin/Development/printf-test +home/fmt/build/bin/printf-test +home/fmt/build/bin/printf-test +home/fmt/build/bin/Release/printf-test +home/fmt/build/bin/Release/printf-test +home/fmt/build/bin/Debug/printf-test +home/fmt/build/bin/Debug/printf-test +home/fmt/build/bin/MinSizeRel/printf-test +home/fmt/build/bin/MinSizeRel/printf-test +home/fmt/build/bin/RelWithDebInfo/printf-test +home/fmt/build/bin/RelWithDebInfo/printf-test +home/fmt/build/bin/Deployment/printf-test +home/fmt/build/bin/Deployment/printf-test +home/fmt/build/bin/Development/printf-test +home/fmt/build/bin/Development/printf-test + 8/13 Test #8: printf-test ......................***Not Run 0.00 sec + Start 9: time-test +Could not find executable /home/fmt/build/bin/time-test +Looked in the following places: +/home/fmt/build/bin/time-test +/home/fmt/build/bin/time-test +/home/fmt/build/bin/Release/time-test +/home/fmt/build/bin/Release/time-test +/home/fmt/build/bin/Debug/time-test +/home/fmt/build/bin/Debug/time-test +/home/fmt/build/bin/MinSizeRel/time-test +/home/fmt/build/bin/MinSizeRel/time-test +/home/fmt/build/bin/RelWithDebInfo/time-test +/home/fmt/build/bin/RelWithDebInfo/time-test +/home/fmt/build/bin/Deployment/time-test +/home/fmt/build/bin/Deployment/time-test +/home/fmt/build/bin/Development/time-test +/home/fmt/build/bin/Development/time-test +home/fmt/build/bin/time-test +home/fmt/build/bin/time-test +home/fmt/build/bin/Release/time-test +home/fmt/build/bin/Release/time-test +home/fmt/build/bin/Debug/time-test +Unable to find executable: /home/fmt/build/bin/printf-test +home/fmt/build/bin/Debug/time-test +home/fmt/build/bin/MinSizeRel/time-test +home/fmt/build/bin/MinSizeRel/time-test +Unable to find executable: /home/fmt/build/bin/time-test +Unable to find executable: /home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/time-test +home/fmt/build/bin/RelWithDebInfo/time-test +home/fmt/build/bin/Deployment/time-test +home/fmt/build/bin/Deployment/time-test +home/fmt/build/bin/Development/time-test +home/fmt/build/bin/Development/time-test + 9/13 Test #9: time-test ........................***Not Run 0.00 sec + Start 10: custom-formatter-test +Could not find executable /home/fmt/build/bin/custom-formatter-test +Looked in the following places: +/home/fmt/build/bin/custom-formatter-test +/home/fmt/build/bin/custom-formatter-test +/home/fmt/build/bin/Release/custom-formatter-test +/home/fmt/build/bin/Release/custom-formatter-test +/home/fmt/build/bin/Debug/custom-formatter-test +/home/fmt/build/bin/Debug/custom-formatter-test +/home/fmt/build/bin/MinSizeRel/custom-formatter-test +/home/fmt/build/bin/MinSizeRel/custom-formatter-test +/home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +/home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +/home/fmt/build/bin/Deployment/custom-formatter-test +/home/fmt/build/bin/Deployment/custom-formatter-test +/home/fmt/build/bin/Development/custom-formatter-test +/home/fmt/build/bin/Development/custom-formatter-test +home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/Release/custom-formatter-test +home/fmt/build/bin/Release/custom-formatter-test +home/fmt/build/bin/Debug/custom-formatter-test +home/fmt/build/bin/Debug/custom-formatter-test +home/fmt/build/bin/MinSizeRel/custom-formatter-test +home/fmt/build/bin/MinSizeRel/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +home/fmt/build/bin/Deployment/custom-formatter-test +home/fmt/build/bin/Deployment/custom-formatter-test +home/fmt/build/bin/Development/custom-formatter-test +home/fmt/build/bin/Development/custom-formatter-test +10/13 Test #10: custom-formatter-test ............***Not Run 0.00 sec + Start 11: ranges-test +Unable to find executable: /home/fmt/build/bin/ranges-test +Could not find executable /home/fmt/build/bin/ranges-test +Looked in the following places: +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Development/ranges-test +/home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/Development/ranges-test +11/13 Test #11: ranges-test ......................***Not Run 0.00 sec + Start 12: posix-mock-test +Could not find executable /home/fmt/build/bin/posix-mock-test +Looked in the following places: +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +Unable to find executable: /home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +12/13 Test #12: posix-mock-test ..................***Not Run 0.00 sec + Start 13: posix-test +Could not find executable /home/fmt/build/bin/posix-test +Looked in the following places: +/home/fmt/build/bin/posix-test +/home/fmt/build/bin/posix-test +/home/fmt/build/bin/Release/posix-test +/home/fmt/build/bin/Release/posix-test +/home/fmt/build/bin/Debug/posix-test +/home/fmt/build/bin/Debug/posix-test +/home/fmt/build/bin/MinSizeRel/posix-test +/home/fmt/build/bin/MinSizeRel/posix-test +/home/fmt/build/bin/RelWithDebInfo/posix-test +/home/fmt/build/bin/RelWithDebInfo/posix-test +/home/fmt/build/bin/Deployment/posix-test +/home/fmt/build/bin/Deployment/posix-test +/home/fmt/build/bin/Development/posix-test +/home/fmt/build/bin/Development/posix-test +home/fmt/build/bin/posix-test +Unable to find executable: /home/fmt/build/bin/posix-test +home/fmt/build/bin/posix-test +home/fmt/build/bin/Release/posix-test +home/fmt/build/bin/Release/posix-test +home/fmt/build/bin/Debug/posix-test +home/fmt/build/bin/Debug/posix-test +home/fmt/build/bin/MinSizeRel/posix-test +home/fmt/build/bin/MinSizeRel/posix-test +home/fmt/build/bin/RelWithDebInfo/posix-test +home/fmt/build/bin/RelWithDebInfo/posix-test +home/fmt/build/bin/Deployment/posix-test +home/fmt/build/bin/Deployment/posix-test +home/fmt/build/bin/Development/posix-test +home/fmt/build/bin/Development/posix-test +13/13 Test #13: posix-test .......................***Not Run 0.00 sec + +31% tests passed, 9 tests failed out of 13 + +Total Test time (real) = 0.02 sec + +The following tests FAILED: + 5 - format-impl-test (Not Run) + 6 - locale-test (Not Run) + 7 - ostream-test (Not Run) + 8 - printf-test (Not Run) + 9 - time-test (Not Run) + 10 - custom-formatter-test (Not Run) + 11 - ranges-test (Not Run) + 12 - posix-mock-test (Not Run) + 13 - posix-test (Not Run) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/fix.patch new file mode 100644 index 000000000..eb91fc5b5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/fix.patch @@ -0,0 +1,73 @@ +diff --git a/include/fmt/color.h b/include/fmt/color.h +index 20399210..85ffb30f 100644 +--- a/include/fmt/color.h ++++ b/include/fmt/color.h +@@ -427,39 +427,57 @@ inline void reset_color(FILE *stream) FMT_NOEXCEPT { + + template < + typename S, typename Char = typename internal::char_t::type> +-void vprint(const text_style &tf, const S &format, ++void vprint(const text_style &tf, std::FILE *f, const S &format, + basic_format_args::type> args) { + if (tf.has_emphasis()) { + internal::fputs( +- internal::make_emphasis(tf.get_emphasis()), stdout); ++ internal::make_emphasis(tf.get_emphasis()), f); + } + if (tf.has_foreground()) { + internal::fputs( +- internal::make_foreground_color(tf.get_foreground()), stdout); ++ internal::make_foreground_color(tf.get_foreground()), f); + } + if (tf.has_background()) { + internal::fputs( +- internal::make_background_color(tf.get_background()), stdout); ++ internal::make_background_color(tf.get_background()), f); + } +- vprint(format, args); +- internal::reset_color(stdout); ++ vprint(f, format, args); ++ internal::reset_color(f); + } + + /** +- Formats a string and prints it to stdout using ANSI escape sequences to +- specify text formatting. ++ \rst ++ Formats a string and prints it to the file *f* using ANSI escape sequences ++ to specify text formatting. + Example: +- fmt::print(fmt::emphasis::bold | fg(fmt::color::red), ++ fmt::print(fmt::emphasis::bold | fg(fmt::color::red), stderr, + "Elapsed time: {0:.2f} seconds", 1.23); ++ \endrst + */ + template + typename std::enable_if::value>::type +-print(const text_style &tf, const String &format_str, const Args & ... args) { ++print(const text_style &tf, std::FILE *f, const String &format_str, ++ const Args & ... args) { + internal::check_format_string(format_str); + typedef typename internal::char_t::type char_t; + typedef typename buffer_context::type context_t; + format_arg_store as{args...}; +- vprint(tf, format_str, basic_format_args(as)); ++ vprint(tf, f, format_str, basic_format_args(as)); ++} ++ ++/** ++ \rst ++ Formats a string and prints it to stdout using ANSI escape sequences to ++ specify text formatting. ++ Example: ++ fmt::print(fmt::emphasis::bold | fg(fmt::color::red), ++ "Elapsed time: {0:.2f} seconds", 1.23); ++ \endrst ++ */ ++template ++typename std::enable_if::value>::type ++print(const text_style &tf, const String &format_str, const Args & ... args) { ++ print(tf, stdout, format_str, args...); + } + + #endif diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/report.json new file mode 100644 index 000000000..b36656709 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-967/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 967, "valid": true, "error_msg": "", "fixed_tests": {"assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 13, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "posix-test", "format-test", "posix-mock-test", "core-test", "ranges-test", "printf-test", "custom-formatter-test", "gtest-extra-test", "ostream-test", "locale-test", "format-impl-test", "time-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 4, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "core-test", "format-test", "gtest-extra-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/fix-patch-run.log new file mode 100644 index 000000000..b2a0114b6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/fix-patch-run.log @@ -0,0 +1,689 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7041 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + build-essential libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 3 newly installed, 0 to remove and 148 not upgraded. +Need to get 6210 kB of archives. +After this operation, 801 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 build-essential amd64 12.9 [7704 B] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6210 kB in 0s (17.1 MB/s) +Selecting previously unselected package build-essential. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26550 files and directories currently installed.) +Preparing to unpack .../0-build-essential_12.9_amd64.deb ... +Unpacking build-essential (12.9) ... +Selecting previously unselected package libonig5:amd64. +Preparing to unpack .../1-libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../2-libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../3-libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../4-libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../5-openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up build-essential (12.9) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/fmt +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch fmt prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 148 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 148 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26602 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl4 libcurl4-openssl-dev +4 upgraded, 0 newly installed, 0 to remove and 144 not upgraded. +Need to get 1587 kB of archives. +After this operation, 1024 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1587 kB in 0s (5459 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28760 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.KsuvzfS7 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.KsuvzfS7/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.KsuvzfS7/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.KsuvzfS7/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.KsuvzfS7/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.KsuvzfS7/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.KsuvzfS7 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=1d9c690020ec +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +LANG=C.UTF-8 +DEBIAN_FRONTEND=noninteractive +LC_ALL=C.UTF-8 +PWD=/tmp/tmp.DuAGdJWkVI/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/fmt +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/format-impl-test.cc +patching file include/fmt/color.h +-- CMake version: 3.25.1 +-- The C compiler identification is GNU 14.2.0 +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/bin/cc - 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: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Version: 5.2.2 +-- Build type: Release +-- CXX_STANDARD: 11 +-- Performing Test has_std_11_flag +-- Performing Test has_std_11_flag - Success +-- Performing Test has_std_0x_flag +-- Performing Test has_std_0x_flag - Success +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES +-- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success +-- Performing Test SUPPORTS_INITIALIZER_LIST +-- Performing Test SUPPORTS_INITIALIZER_LIST - Success +-- Performing Test SUPPORTS_ENUM_BASE +-- Performing Test SUPPORTS_ENUM_BASE - Success +-- Performing Test SUPPORTS_TYPE_TRAITS +-- Performing Test SUPPORTS_TYPE_TRAITS - Success +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS +-- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success +-- Looking for open +-- Looking for open - found +-- Target 'doc' disabled (requires doxygen) +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success +-- Found Threads: TRUE +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS +-- Performing Test HAVE_FNO_DELETE_NULL_POINTER_CHECKS - Success +-- Performing Test HAVE_FNO_EXCEPTIONS_FLAG +-- Performing Test HAVE_FNO_EXCEPTIONS_FLAG - Success +-- FMT_PEDANTIC: OFF +-- Configuring done +-- Generating done +-- Build files have been written to: /home/fmt/build +[ 2%] Building CXX object CMakeFiles/fmt.dir/src/format.cc.o +[ 4%] Building CXX object CMakeFiles/fmt.dir/src/posix.cc.o +[ 6%] Linking CXX static library libfmt.a +[ 6%] Built target fmt +[ 8%] Building CXX object test/CMakeFiles/gmock.dir/gmock-gtest-all.cc.o +[ 10%] Linking CXX static library libgmock.a +[ 10%] Built target gmock +[ 12%] Building CXX object test/CMakeFiles/test-main.dir/test-main.cc.o +[ 14%] Building CXX object test/CMakeFiles/test-main.dir/gtest-extra.cc.o +[ 17%] Building CXX object test/CMakeFiles/test-main.dir/util.cc.o +[ 19%] Linking CXX static library libtest-main.a +[ 19%] Built target test-main +[ 21%] Building CXX object test/CMakeFiles/assert-test.dir/assert-test.cc.o +[ 23%] Linking CXX executable ../bin/assert-test +[ 23%] Built target assert-test +[ 25%] Building CXX object test/CMakeFiles/chrono-test.dir/chrono-test.cc.o +[ 27%] Linking CXX executable ../bin/chrono-test +[ 27%] Built target chrono-test +[ 29%] Building CXX object test/CMakeFiles/core-test.dir/core-test.cc.o +[ 31%] Linking CXX executable ../bin/core-test +[ 31%] Built target core-test +[ 34%] Building CXX object test/CMakeFiles/gtest-extra-test.dir/gtest-extra-test.cc.o +[ 36%] Linking CXX executable ../bin/gtest-extra-test +[ 36%] Built target gtest-extra-test +[ 38%] Building CXX object test/CMakeFiles/format-test.dir/format-test.cc.o +[ 40%] Linking CXX executable ../bin/format-test +[ 40%] Built target format-test +[ 42%] Building CXX object test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o +In file included from /home/fmt/test/test-assert.h:12, + from /home/fmt/test/format-impl-test.cc:10: +/home/fmt/test/format-impl-test.cc: In member function ‘virtual void ColorsTest_Colors_Test::TestBody()’: +/home/fmt/test/format-impl-test.cc:241:51: error: ‘bright_green’ is not a member of ‘fmt::v5::terminal_color’ + 241 | fmt::print(fg(fmt::terminal_color::bright_green), "tbgreen"), + | ^~~~~~~~~~~~ +/home/fmt/test/gtest-extra.h:114:5: note: in expansion of macro ‘FMT_TEST_WRITE_’ + 114 | FMT_TEST_WRITE_(statement, expected_output, file, GTEST_NONFATAL_FAILURE_) + | ^~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:240:3: note: in expansion of macro ‘EXPECT_WRITE’ + 240 | EXPECT_WRITE(stdout, + | ^~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:241:27: error: ‘fg’ was not declared in this scope; did you mean ‘fmt::v5::fg’? + 241 | fmt::print(fg(fmt::terminal_color::bright_green), "tbgreen"), + | ^~ +/home/fmt/test/gtest-extra.h:114:5: note: in expansion of macro ‘FMT_TEST_WRITE_’ + 114 | FMT_TEST_WRITE_(statement, expected_output, file, GTEST_NONFATAL_FAILURE_) + | ^~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:240:3: note: in expansion of macro ‘EXPECT_WRITE’ + 240 | EXPECT_WRITE(stdout, + | ^~~~~~~~~~~~ +In file included from /home/fmt/test/format-impl-test.cc:14: +/home/fmt/include/fmt/color.h:393:26: note: ‘fmt::v5::fg’ declared here + 393 | FMT_CONSTEXPR text_style fg(terminal_color foreground) FMT_NOEXCEPT { + | ^~ +/home/fmt/test/format-impl-test.cc:244:51: error: ‘bright_magenta’ is not a member of ‘fmt::v5::terminal_color’ + 244 | fmt::print(bg(fmt::terminal_color::bright_magenta), "tbmagenta"), + | ^~~~~~~~~~~~~~ +/home/fmt/test/gtest-extra.h:114:5: note: in expansion of macro ‘FMT_TEST_WRITE_’ + 114 | FMT_TEST_WRITE_(statement, expected_output, file, GTEST_NONFATAL_FAILURE_) + | ^~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:243:3: note: in expansion of macro ‘EXPECT_WRITE’ + 243 | EXPECT_WRITE(stdout, + | ^~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:244:27: error: ‘bg’ was not declared in this scope; did you mean ‘fmt::v5::bg’? + 244 | fmt::print(bg(fmt::terminal_color::bright_magenta), "tbmagenta"), + | ^~ +/home/fmt/test/gtest-extra.h:114:5: note: in expansion of macro ‘FMT_TEST_WRITE_’ + 114 | FMT_TEST_WRITE_(statement, expected_output, file, GTEST_NONFATAL_FAILURE_) + | ^~~~~~~~~~~~~~~ +/home/fmt/test/format-impl-test.cc:243:3: note: in expansion of macro ‘EXPECT_WRITE’ + 243 | EXPECT_WRITE(stdout, + | ^~~~~~~~~~~~ +/home/fmt/include/fmt/color.h:397:26: note: ‘fmt::v5::bg’ declared here + 397 | FMT_CONSTEXPR text_style bg(terminal_color background) FMT_NOEXCEPT { + | ^~ +gmake[2]: *** [test/CMakeFiles/format-impl-test.dir/build.make:76: test/CMakeFiles/format-impl-test.dir/format-impl-test.cc.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:373: test/CMakeFiles/format-impl-test.dir/all] Error 2 +gmake: *** [Makefile:166: all] Error 2 +Test project /home/fmt/build + Start 1: assert-test + 1/14 Test #1: assert-test ...................... Passed 0.00 sec + Start 2: chrono-test + 2/14 Test #2: chrono-test ...................... Passed 0.00 sec + Start 3: core-test + 3/14 Test #3: core-test ........................ Passed 0.00 sec + Start 4: gtest-extra-test + 4/14 Test #4: gtest-extra-test ................. Passed 0.00 sec + Start 5: format-test + 5/14 Test #5: format-test ...................... Passed 0.01 sec + Start 6: format-impl-test +Could not find executable /home/fmt/build/bin/format-impl-test +Looked in the following places: +/home/fmt/build/bin/format-impl-test +/home/fmt/build/bin/format-impl-test +/home/fmt/build/bin/Release/format-impl-test +/home/fmt/build/bin/Release/format-impl-test +/home/fmt/build/bin/Debug/format-impl-test +/home/fmt/build/bin/Debug/format-impl-test +/home/fmt/build/bin/MinSizeRel/format-impl-test +/home/fmt/build/bin/MinSizeRel/format-impl-test +/home/fmt/build/bin/RelWithDebInfo/format-impl-test +/home/fmt/build/bin/RelWithDebInfo/format-impl-test +/home/fmt/build/bin/Deployment/format-impl-test +/home/fmt/build/bin/Deployment/format-impl-test +/home/fmt/build/bin/Development/format-impl-test +/home/fmt/build/bin/Development/format-impl-test +home/fmt/build/bin/format-impl-test +home/fmt/build/bin/format-impl-test +home/fmt/build/bin/Release/format-impl-test +home/fmt/build/bin/Release/format-impl-test +home/fmt/build/bin/Debug/format-impl-test +home/fmt/build/bin/Debug/format-impl-test +home/fmt/build/bin/MinSizeRel/format-impl-test +home/fmt/build/bin/MinSizeRel/format-impl-test +home/fmt/build/bin/RelWithDebInfo/format-impl-test +home/fmt/build/bin/RelWithDebInfo/format-impl-test +home/fmt/build/bin/Deployment/format-impl-test +home/fmt/build/bin/Deployment/format-impl-test +home/fmt/build/bin/Development/format-impl-test +home/fmt/build/bin/Development/format-impl-test + 6/14 Test #6: format-impl-test .................***Not Run 0.00 sec + Start 7: locale-test +Could not find executable /home/fmt/build/bin/locale-test +Looked in the following places: +/home/fmt/build/bin/locale-test +/home/fmt/build/bin/locale-test +/home/fmt/build/bin/Release/locale-test +/home/fmt/build/bin/Release/locale-test +Unable to find executable: /home/fmt/build/bin/format-impl-test +Unable to find executable: /home/fmt/build/bin/locale-test +/home/fmt/build/bin/Debug/locale-test +/home/fmt/build/bin/Debug/locale-test +/home/fmt/build/bin/MinSizeRel/locale-test +/home/fmt/build/bin/MinSizeRel/locale-test +/home/fmt/build/bin/RelWithDebInfo/locale-test +/home/fmt/build/bin/RelWithDebInfo/locale-test +/home/fmt/build/bin/Deployment/locale-test +Unable to find executable: /home/fmt/build/bin/ostream-test +/home/fmt/build/bin/Deployment/locale-test +/home/fmt/build/bin/Development/locale-test +/home/fmt/build/bin/Development/locale-test +home/fmt/build/bin/locale-test +home/fmt/build/bin/locale-test +home/fmt/build/bin/Release/locale-test +home/fmt/build/bin/Release/locale-test +home/fmt/build/bin/Debug/locale-test +home/fmt/build/bin/Debug/locale-test +home/fmt/build/bin/MinSizeRel/locale-test +home/fmt/build/bin/MinSizeRel/locale-test +home/fmt/build/bin/RelWithDebInfo/locale-test +home/fmt/build/bin/RelWithDebInfo/locale-test +home/fmt/build/bin/Deployment/locale-test +home/fmt/build/bin/Deployment/locale-test +home/fmt/build/bin/Development/locale-test +home/fmt/build/bin/Development/locale-test + 7/14 Test #7: locale-test ......................***Not Run 0.00 sec + Start 8: ostream-test +Could not find executable /home/fmt/build/bin/ostream-test +Looked in the following places: +/home/fmt/build/bin/ostream-test +/home/fmt/build/bin/ostream-test +/home/fmt/build/bin/Release/ostream-test +/home/fmt/build/bin/Release/ostream-test +/home/fmt/build/bin/Debug/ostream-test +/home/fmt/build/bin/Debug/ostream-test +/home/fmt/build/bin/MinSizeRel/ostream-test +/home/fmt/build/bin/MinSizeRel/ostream-test +/home/fmt/build/bin/RelWithDebInfo/ostream-test +/home/fmt/build/bin/RelWithDebInfo/ostream-test +/home/fmt/build/bin/Deployment/ostream-test +/home/fmt/build/bin/Deployment/ostream-test +/home/fmt/build/bin/Development/ostream-test +/home/fmt/build/bin/Development/ostream-test +home/fmt/build/bin/ostream-test +home/fmt/build/bin/ostream-test +home/fmt/build/bin/Release/ostream-test +home/fmt/build/bin/Release/ostream-test +home/fmt/build/bin/Debug/ostream-test +home/fmt/build/bin/Debug/ostream-test +home/fmt/build/bin/MinSizeRel/ostream-test +home/fmt/build/bin/MinSizeRel/ostream-test +home/fmt/build/bin/RelWithDebInfo/ostream-test +home/fmt/build/bin/RelWithDebInfo/ostream-test +home/fmt/build/bin/Deployment/ostream-test +home/fmt/build/bin/Deployment/ostream-test +home/fmt/build/bin/Development/ostream-test +home/fmt/build/bin/Development/ostream-test + 8/14 Test #8: ostream-test .....................***Not Run 0.00 sec + Start 9: printf-test +Could not find executable /home/fmt/build/bin/printf-test +Looked in the following places: +/home/fmt/build/bin/printf-test +/home/fmt/build/bin/printf-test +/home/fmt/build/bin/Release/printf-test +/home/fmt/build/bin/Release/printf-test +/home/fmt/build/bin/Debug/printf-test +/home/fmt/build/bin/Debug/printf-test +/home/fmt/build/bin/MinSizeRel/printf-test +/home/fmt/build/bin/MinSizeRel/printf-test +/home/fmt/build/bin/RelWithDebInfo/printf-test +/home/fmt/build/bin/RelWithDebInfo/printf-test +/home/fmt/build/bin/Deployment/printf-test +/home/fmt/build/bin/Deployment/printf-test +/home/fmt/build/bin/Development/printf-test +/home/fmt/build/bin/Development/printf-test +home/fmt/build/bin/printf-test +home/fmt/build/bin/printf-test +home/fmt/build/bin/Release/printf-test +home/fmt/build/bin/Release/printf-test +home/fmt/build/bin/Debug/printf-test +home/fmt/build/bin/Debug/printf-test +home/fmt/build/bin/MinSizeRel/printf-test +home/fmt/build/bin/MinSizeRel/printf-test +home/fmt/build/bin/RelWithDebInfo/printf-test +home/fmt/build/bin/RelWithDebInfo/printf-test +home/fmt/build/bin/Deployment/printf-test +home/fmt/build/bin/Deployment/printf-test +home/fmt/build/bin/Development/printf-test +home/fmt/build/bin/Development/printf-test +Unable to find executable: /home/fmt/build/bin/printf-test + 9/14 Test #9: printf-test ......................***Not Run 0.00 sec + Start 10: time-test +Could not find executable /home/fmt/build/bin/time-test +Looked in the following places: +/home/fmt/build/bin/time-test +/home/fmt/build/bin/time-test +/home/fmt/build/bin/Release/time-test +/home/fmt/build/bin/Release/time-test +/home/fmt/build/bin/Debug/time-test +/home/fmt/build/bin/Debug/time-test +/home/fmt/build/bin/MinSizeRel/time-test +/home/fmt/build/bin/MinSizeRel/time-test +/home/fmt/build/bin/RelWithDebInfo/time-test +/home/fmt/build/bin/RelWithDebInfo/time-test +/home/fmt/build/bin/Deployment/time-test +/home/fmt/build/bin/Deployment/time-test +/home/fmt/build/bin/Development/time-test +/home/fmt/build/bin/Development/time-test +home/fmt/build/bin/time-test +home/fmt/build/bin/time-test +home/fmt/build/bin/Release/time-test +Unable to find executable: /home/fmt/build/bin/time-test +home/fmt/build/bin/Release/time-test +home/fmt/build/bin/Debug/time-test +home/fmt/build/bin/Debug/time-test +home/fmt/build/bin/MinSizeRel/time-test +home/fmt/build/bin/MinSizeRel/time-test +home/fmt/build/bin/RelWithDebInfo/time-test +home/fmt/build/bin/RelWithDebInfo/time-test +home/fmt/build/bin/Deployment/time-test +home/fmt/build/bin/Deployment/time-test +home/fmt/build/bin/Development/time-test +home/fmt/build/bin/Development/time-test +10/14 Test #10: time-test ........................***Not Run 0.00 sec + Start 11: custom-formatter-test +Could not find executable /home/fmt/build/bin/custom-formatter-test +Looked in the following places: +/home/fmt/build/bin/custom-formatter-test +/home/fmt/build/bin/custom-formatter-test +/home/fmt/build/bin/Release/custom-formatter-test +/home/fmt/build/bin/Release/custom-formatter-test +/home/fmt/build/bin/Debug/custom-formatter-test +/home/fmt/build/bin/Debug/custom-formatter-test +/home/fmt/build/bin/MinSizeRel/custom-formatter-test +/home/fmt/build/bin/MinSizeRel/custom-formatter-test +/home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +/home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +/home/fmt/build/bin/Deployment/custom-formatter-test +/home/fmt/build/bin/Deployment/custom-formatter-test +/home/fmt/build/bin/Development/custom-formatter-test +/home/fmt/build/bin/Development/custom-formatter-test +home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/Release/custom-formatter-test +home/fmt/build/bin/Release/custom-formatter-test +Unable to find executable: /home/fmt/build/bin/custom-formatter-test +home/fmt/build/bin/Debug/custom-formatter-test +home/fmt/build/bin/Debug/custom-formatter-test +home/fmt/build/bin/MinSizeRel/custom-formatter-test +home/fmt/build/bin/MinSizeRel/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +home/fmt/build/bin/RelWithDebInfo/custom-formatter-test +home/fmt/build/bin/Deployment/custom-formatter-test +home/fmt/build/bin/Deployment/custom-formatter-test +home/fmt/build/bin/Development/custom-formatter-test +home/fmt/build/bin/Development/custom-formatter-test +11/14 Test #11: custom-formatter-test ............***Not Run 0.00 sec + Start 12: ranges-test +Could not find executable /home/fmt/build/bin/ranges-test +Looked in the following places: +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Release/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/Debug/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +/home/fmt/build/bin/MinSizeRel/ranges-test +Unable to find executable: /home/fmt/build/bin/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/RelWithDebInfo/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Deployment/ranges-test +/home/fmt/build/bin/Development/ranges-test +/home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Release/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/Debug/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/MinSizeRel/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/RelWithDebInfo/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Deployment/ranges-test +home/fmt/build/bin/Development/ranges-test +home/fmt/build/bin/Development/ranges-test +12/14 Test #12: ranges-test ......................***Not Run 0.00 sec + Start 13: posix-mock-test +Could not find executable /home/fmt/build/bin/posix-mock-test +Looked in the following places: +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Release/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +Unable to find executable: /home/fmt/build/bin/posix-mock-test +/home/fmt/build/bin/Debug/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/MinSizeRel/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/RelWithDebInfo/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Deployment/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +/home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Release/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/Debug/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/MinSizeRel/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/RelWithDebInfo/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Deployment/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +home/fmt/build/bin/Development/posix-mock-test +13/14 Test #13: posix-mock-test ..................***Not Run 0.00 sec + Start 14: posix-test +Could not find executable /home/fmt/build/bin/posix-test +Looked in the following places: +Unable to find executable: /home/fmt/build/bin/posix-test +/home/fmt/build/bin/posix-test +/home/fmt/build/bin/posix-test +/home/fmt/build/bin/Release/posix-test +/home/fmt/build/bin/Release/posix-test +/home/fmt/build/bin/Debug/posix-test +/home/fmt/build/bin/Debug/posix-test +/home/fmt/build/bin/MinSizeRel/posix-test +/home/fmt/build/bin/MinSizeRel/posix-test +/home/fmt/build/bin/RelWithDebInfo/posix-test +/home/fmt/build/bin/RelWithDebInfo/posix-test +/home/fmt/build/bin/Deployment/posix-test +/home/fmt/build/bin/Deployment/posix-test +/home/fmt/build/bin/Development/posix-test +/home/fmt/build/bin/Development/posix-test +home/fmt/build/bin/posix-test +home/fmt/build/bin/posix-test +home/fmt/build/bin/Release/posix-test +home/fmt/build/bin/Release/posix-test +home/fmt/build/bin/Debug/posix-test +home/fmt/build/bin/Debug/posix-test +home/fmt/build/bin/MinSizeRel/posix-test +home/fmt/build/bin/MinSizeRel/posix-test +home/fmt/build/bin/RelWithDebInfo/posix-test +home/fmt/build/bin/RelWithDebInfo/posix-test +home/fmt/build/bin/Deployment/posix-test +home/fmt/build/bin/Deployment/posix-test +home/fmt/build/bin/Development/posix-test +home/fmt/build/bin/Development/posix-test +14/14 Test #14: posix-test .......................***Not Run 0.00 sec + +36% tests passed, 9 tests failed out of 14 + +Total Test time (real) = 0.02 sec + +The following tests FAILED: + 6 - format-impl-test (Not Run) + 7 - locale-test (Not Run) + 8 - ostream-test (Not Run) + 9 - printf-test (Not Run) + 10 - time-test (Not Run) + 11 - custom-formatter-test (Not Run) + 12 - ranges-test (Not Run) + 13 - posix-mock-test (Not Run) + 14 - posix-test (Not Run) +Errors while running CTest +Output from these tests are in: /home/fmt/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/fix.patch new file mode 100644 index 000000000..196d884e9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/fix.patch @@ -0,0 +1,216 @@ +diff --git a/include/fmt/color.h b/include/fmt/color.h +index 78b78956..c0b4b4e5 100644 +--- a/include/fmt/color.h ++++ b/include/fmt/color.h +@@ -191,6 +191,17 @@ enum class color : uint32_t { + yellow_green = 0x9ACD32 // rgb(154,205,50) + }; // enum class color + ++enum class terminal_color : uint8_t { ++ black = 0, ++ red = 1, ++ green = 2, ++ yellow = 3, ++ blue = 4, ++ magenta = 5, ++ cyan = 6, ++ white = 7 ++}; ++ + enum class emphasis : uint8_t { + bold = 1, + italic = 1 << 1, +@@ -219,14 +230,19 @@ struct rgb { + class text_style { + public: + FMT_CONSTEXPR text_style(emphasis em = emphasis()) FMT_NOEXCEPT +- : set_foreground_color(), set_background_color(), ems(em) {} ++ : set_foreground_color(), set_background_color(), ++ foreground_type(color_type::rgb), background_type(color_type::rgb), ++ ems(em) {} + + FMT_CONSTEXPR_DECL + text_style &operator|=(const text_style &rhs) FMT_NOEXCEPT { + if (!set_foreground_color) { + set_foreground_color = rhs.set_foreground_color; + foreground_color = rhs.foreground_color; +- } else if (rhs.set_foreground_color) { ++ foreground_type = rhs.foreground_type; ++ } else if (rhs.set_foreground_color && ++ foreground_type == color_type::rgb && ++ rhs.foreground_type == color_type::rgb) { + foreground_color.r |= rhs.foreground_color.r; + foreground_color.g |= rhs.foreground_color.g; + foreground_color.b |= rhs.foreground_color.b; +@@ -235,7 +251,10 @@ class text_style { + if (!set_background_color) { + set_background_color = rhs.set_background_color; + background_color = rhs.background_color; +- } else if (rhs.set_background_color) { ++ background_type = rhs.background_type; ++ } else if (rhs.set_background_color && ++ background_type == color_type::rgb && ++ rhs.background_type == color_type::rgb) { + background_color.r |= rhs.background_color.r; + background_color.g |= rhs.background_color.g; + background_color.b |= rhs.background_color.b; +@@ -255,7 +274,10 @@ class text_style { + if (!set_foreground_color) { + set_foreground_color = rhs.set_foreground_color; + foreground_color = rhs.foreground_color; +- } else if (rhs.set_foreground_color) { ++ foreground_type = rhs.foreground_type; ++ } else if (rhs.set_foreground_color && ++ foreground_type == color_type::rgb && ++ rhs.foreground_type == color_type::rgb) { + foreground_color.r &= rhs.foreground_color.r; + foreground_color.g &= rhs.foreground_color.g; + foreground_color.b &= rhs.foreground_color.b; +@@ -264,7 +286,10 @@ class text_style { + if (!set_background_color) { + set_background_color = rhs.set_background_color; + background_color = rhs.background_color; +- } else if (rhs.set_background_color) { ++ background_type = rhs.background_type; ++ } else if (rhs.set_background_color && ++ background_type == color_type::rgb && ++ rhs.background_type == color_type::rgb) { + background_color.r &= rhs.background_color.r; + background_color.g &= rhs.background_color.g; + background_color.b &= rhs.background_color.b; +@@ -302,23 +327,56 @@ class text_style { + return ems; + } + ++ enum class color_type { rgb, terminal }; ++ FMT_CONSTEXPR color_type get_foreground_type() const FMT_NOEXCEPT { ++ return foreground_type; ++ } ++ FMT_CONSTEXPR color_type get_background_type() const FMT_NOEXCEPT { ++ return background_type; ++ } ++ + private: ++ + FMT_CONSTEXPR text_style(bool is_foreground, rgb text_color) FMT_NOEXCEPT +- : set_foreground_color(), set_background_color(), ems() { ++ : set_foreground_color(), set_background_color(), ++ foreground_type(color_type::rgb), background_type(color_type::rgb), ++ ems() { + if (is_foreground) { + foreground_color = text_color; + set_foreground_color = true; ++ foreground_type = color_type::rgb; + } else { + background_color = text_color; + set_background_color = true; ++ background_type = color_type::rgb; ++ } ++ } ++ ++ FMT_CONSTEXPR text_style(bool is_foreground, ++ terminal_color text_color) FMT_NOEXCEPT ++ : set_foreground_color(), set_background_color(), ++ foreground_type(color_type::rgb), background_type(color_type::rgb), ++ ems() { ++ if (is_foreground) { ++ foreground_color = rgb(static_cast(text_color), 0, 0); ++ set_foreground_color = true; ++ foreground_type = color_type::terminal; ++ } else { ++ background_color = rgb(static_cast(text_color), 0, 0); ++ set_background_color = true; ++ background_type = color_type::terminal; + } + } + + friend FMT_CONSTEXPR_DECL text_style fg(rgb foreground) FMT_NOEXCEPT; + friend FMT_CONSTEXPR_DECL text_style bg(rgb background) FMT_NOEXCEPT; ++ friend FMT_CONSTEXPR_DECL text_style fg(terminal_color foreground) FMT_NOEXCEPT; ++ friend FMT_CONSTEXPR_DECL text_style bg(terminal_color background) FMT_NOEXCEPT; + + rgb foreground_color; + rgb background_color; ++ color_type foreground_type; ++ color_type background_type; + bool set_foreground_color; + bool set_background_color; + emphasis ems; +@@ -332,6 +390,14 @@ FMT_CONSTEXPR text_style bg(rgb background) FMT_NOEXCEPT { + return text_style(/*is_foreground=*/false, background); + } + ++FMT_CONSTEXPR text_style fg(terminal_color foreground) FMT_NOEXCEPT { ++ return text_style(/*is_foreground=*/true, foreground); ++} ++ ++FMT_CONSTEXPR text_style bg(terminal_color background) FMT_NOEXCEPT { ++ return text_style(/*is_foreground=*/false, background); ++} ++ + FMT_CONSTEXPR text_style operator|(emphasis lhs, emphasis rhs) FMT_NOEXCEPT { + return text_style(lhs) | rhs; + } +@@ -349,6 +415,15 @@ struct ansi_color_escape { + to_esc(color.b, buffer + 15, 'm'); + buffer[19] = static_cast(0); + } ++ FMT_CONSTEXPR ansi_color_escape(terminal_color c, ++ const char *esc) FMT_NOEXCEPT { ++ buffer[0] = static_cast('\x1b'); ++ buffer[1] = static_cast('['); ++ buffer[2] = static_cast(esc[0]); ++ buffer[3] = static_cast('0' + static_cast(c)); ++ buffer[4] = static_cast('m'); ++ buffer[5] = static_cast(0); ++ } + FMT_CONSTEXPR ansi_color_escape(emphasis em) FMT_NOEXCEPT { + uint8_t em_codes[4] = {}; + uint8_t em_bits = static_cast(em); +@@ -398,6 +473,18 @@ make_background_color(rgb color) FMT_NOEXCEPT { + return ansi_color_escape(color, internal::data::BACKGROUND_COLOR); + } + ++template ++FMT_CONSTEXPR ansi_color_escape ++make_foreground_color(terminal_color c) FMT_NOEXCEPT { ++ return ansi_color_escape(c, "3"); ++} ++ ++template ++FMT_CONSTEXPR ansi_color_escape ++make_background_color(terminal_color c) FMT_NOEXCEPT { ++ return ansi_color_escape(c, "4"); ++} ++ + template + FMT_CONSTEXPR ansi_color_escape + make_emphasis(emphasis em) FMT_NOEXCEPT { +@@ -446,13 +533,23 @@ void vprint(std::FILE *f, const text_style &ts, const S &format, + } + if (ts.has_foreground()) { + has_style = true; +- internal::fputs( +- internal::make_foreground_color(ts.get_foreground()), f); ++ if (ts.get_foreground_type() == text_style::color_type::terminal) ++ internal::fputs( ++ internal::make_foreground_color( ++ static_cast(ts.get_foreground().r)), f); ++ else ++ internal::fputs( ++ internal::make_foreground_color(ts.get_foreground()), f); + } + if (ts.has_background()) { + has_style = true; +- internal::fputs( +- internal::make_background_color(ts.get_background()), f); ++ if (ts.get_background_type() == text_style::color_type::terminal) ++ internal::fputs( ++ internal::make_background_color( ++ static_cast(ts.get_background().r)), f); ++ else ++ internal::fputs( ++ internal::make_background_color(ts.get_background()), f); + } + vprint(f, format, args); + if (has_style) { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/report.json new file mode 100644 index 000000000..7006ec536 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/fmtlib/fmt/evals/pr-974/report.json @@ -0,0 +1 @@ +{"org": "fmtlib", "repo": "fmt", "number": 974, "valid": true, "error_msg": "", "fixed_tests": {"assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"assert-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "format-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "core-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "gtest-extra-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "chrono-test": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 14, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "posix-test", "format-test", "posix-mock-test", "core-test", "ranges-test", "printf-test", "custom-formatter-test", "gtest-extra-test", "ostream-test", "locale-test", "chrono-test", "format-impl-test", "time-test"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 5, "failed_count": 0, "skipped_count": 0, "passed_tests": ["assert-test", "core-test", "format-test", "gtest-extra-test", "chrono-test"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/fix-patch-run.log new file mode 100644 index 000000000..f6cd429bd --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/fix-patch-run.log @@ -0,0 +1,802 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5595 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.1 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (18.3 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.1A2zeg1x +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.1A2zeg1x/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.1A2zeg1x/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.1A2zeg1x/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.1A2zeg1x/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.1A2zeg1x/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.1A2zeg1x +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=7a5e44bbabde +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.mWq1eRi8B1/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-conversions.cpp +patching file include/nlohmann/detail/conversions/from_json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 11%] Linking CXX executable test-ubjson +[ 11%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-conversions +[ 14%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 16%] Linking CXX executable test-conversions +[ 16%] Built target test-conversions +Scanning dependencies of target test-convenience +[ 17%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 18%] Linking CXX executable test-convenience +[ 18%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 20%] Linking CXX executable test-class_iterator +[ 20%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 23%] Linking CXX executable test-class_parser +[ 23%] Built target test-class_parser +Scanning dependencies of target test-class_const_iterator +[ 24%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 25%] Linking CXX executable test-class_const_iterator +[ 25%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 27%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 28%] Linking CXX executable test-json_patch +[ 28%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 29%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 30%] Linking CXX executable test-noexcept +[ 30%] Built target test-noexcept +Scanning dependencies of target test-class_lexer +[ 32%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 33%] Linking CXX executable test-class_lexer +[ 33%] Built target test-class_lexer +Scanning dependencies of target test-concepts +[ 34%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 35%] Linking CXX executable test-concepts +[ 35%] Built target test-concepts +Scanning dependencies of target test-testsuites +[ 37%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 38%] Linking CXX executable test-testsuites +[ 38%] Built target test-testsuites +Scanning dependencies of target test-element_access2 +[ 39%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2 +[ 40%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 41%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 43%] Linking CXX executable test-comparison +[ 43%] Built target test-comparison +Scanning dependencies of target test-regression +[ 44%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 45%] Linking CXX executable test-regression +[ 45%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 46%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer +[ 48%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 49%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 50%] Linking CXX executable test-modifiers +[ 50%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 51%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 53%] Linking CXX executable test-allocator +[ 53%] Built target test-allocator +Scanning dependencies of target test-items +[ 54%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +/home/json/test/src/unit-items.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-items.cpp:44:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:77:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:121:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:154:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:190:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:223:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:256:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:289:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:325:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:358:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:402:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:435:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:471:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:504:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:537:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:570:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:606:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:621:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:642:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:657:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15069:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:675:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:690:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:705:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:720:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15078:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +[ 55%] Linking CXX executable test-items +[ 55%] Built target test-items +Scanning dependencies of target test-algorithms +[ 56%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 58%] Linking CXX executable test-algorithms +[ 58%] Built target test-algorithms +Scanning dependencies of target test-cbor +[ 59%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 60%] Linking CXX executable test-cbor +[ 60%] Built target test-cbor +Scanning dependencies of target test-pointer_access +[ 61%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 62%] Linking CXX executable test-pointer_access +[ 62%] Built target test-pointer_access +Scanning dependencies of target test-constructor2 +[ 64%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 65%] Linking CXX executable test-constructor2 +[ 65%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 66%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 67%] Linking CXX executable test-alt-string +[ 67%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 69%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 70%] Linking CXX executable test-iterators2 +[ 70%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 71%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 72%] Linking CXX executable test-capacity +[ 72%] Built target test-capacity +Scanning dependencies of target test-constructor1 +[ 74%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 75%] Linking CXX executable test-constructor1 +[ 75%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 76%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +/home/json/test/src/unit-deserialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-deserialization.cpp:239:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << ss; + ^~ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:16915:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:30:0: +/home/json/test/src/unit-deserialization.cpp:319:34: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_AS(j << ss1, json::parse_error&); + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:16915:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:30:0: +/home/json/test/src/unit-deserialization.cpp:320:36: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_WITH(j << ss2, + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:16915:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:962:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:16915:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:964:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:16915:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +[ 77%] Linking CXX executable test-deserialization +[ 77%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 79%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 80%] Linking CXX executable test-reference_access +[ 80%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 81%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 82%] Linking CXX executable test-element_access1 +[ 82%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 83%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 85%] Linking CXX executable test-meta +[ 85%] Built target test-meta +Scanning dependencies of target test-inspection +[ 86%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 87%] Linking CXX executable test-inspection +[ 87%] Built target test-inspection +Scanning dependencies of target test-readme +[ 88%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 90%] Linking CXX executable test-readme +[ 90%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 91%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 92%] Linking CXX executable test-iterators1 +[ 92%] Built target test-iterators1 +Scanning dependencies of target test-merge_patch +[ 93%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 95%] Linking CXX executable test-merge_patch +[ 95%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 96%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 97%] Linking CXX executable test-msgpack +[ 97%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 98%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +/home/json/test/src/unit-serialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-serialization.cpp:72:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:16723:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:81:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:16723:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:92:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:16723:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +[100%] Linking CXX executable test-serialization +[100%] Built target test-serialization +Test project /home/json/build + Start 1: test-algorithms_default + 1/80 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/80 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/80 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/80 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/80 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/80 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-capacity_default + 7/80 Test #7: test-capacity_default ............... Passed 0.00 sec + Start 8: test-capacity_all + 8/80 Test #8: test-capacity_all ................... Passed 0.00 sec + Start 9: test-cbor_default + 9/80 Test #9: test-cbor_default ................... Passed 2.13 sec + Start 10: test-cbor_all +10/80 Test #10: test-cbor_all ....................... Passed 24.08 sec + Start 11: test-class_const_iterator_default +11/80 Test #11: test-class_const_iterator_default ... Passed 0.00 sec + Start 12: test-class_const_iterator_all +12/80 Test #12: test-class_const_iterator_all ....... Passed 0.00 sec + Start 13: test-class_iterator_default +13/80 Test #13: test-class_iterator_default ......... Passed 0.00 sec + Start 14: test-class_iterator_all +14/80 Test #14: test-class_iterator_all ............. Passed 0.00 sec + Start 15: test-class_lexer_default +15/80 Test #15: test-class_lexer_default ............ Passed 0.00 sec + Start 16: test-class_lexer_all +16/80 Test #16: test-class_lexer_all ................ Passed 0.00 sec + Start 17: test-class_parser_default +17/80 Test #17: test-class_parser_default ........... Passed 0.09 sec + Start 18: test-class_parser_all +18/80 Test #18: test-class_parser_all ............... Passed 0.09 sec + Start 19: test-comparison_default +19/80 Test #19: test-comparison_default ............. Passed 0.01 sec + Start 20: test-comparison_all +20/80 Test #20: test-comparison_all ................. Passed 0.01 sec + Start 21: test-concepts_default +21/80 Test #21: test-concepts_default ............... Passed 0.00 sec + Start 22: test-concepts_all +22/80 Test #22: test-concepts_all ................... Passed 0.00 sec + Start 23: test-constructor1_default +23/80 Test #23: test-constructor1_default ........... Passed 0.01 sec + Start 24: test-constructor1_all +24/80 Test #24: test-constructor1_all ............... Passed 0.01 sec + Start 25: test-constructor2_default +25/80 Test #25: test-constructor2_default ........... Passed 0.00 sec + Start 26: test-constructor2_all +26/80 Test #26: test-constructor2_all ............... Passed 0.00 sec + Start 27: test-convenience_default +27/80 Test #27: test-convenience_default ............ Passed 0.00 sec + Start 28: test-convenience_all +28/80 Test #28: test-convenience_all ................ Passed 0.00 sec + Start 29: test-conversions_default +29/80 Test #29: test-conversions_default ............ Passed 0.01 sec + Start 30: test-conversions_all +30/80 Test #30: test-conversions_all ................ Passed 0.01 sec + Start 31: test-deserialization_default +31/80 Test #31: test-deserialization_default ........ Passed 0.01 sec + Start 32: test-deserialization_all +32/80 Test #32: test-deserialization_all ............ Passed 0.01 sec + Start 33: test-element_access1_default +33/80 Test #33: test-element_access1_default ........ Passed 0.01 sec + Start 34: test-element_access1_all +34/80 Test #34: test-element_access1_all ............ Passed 0.01 sec + Start 35: test-element_access2_default +35/80 Test #35: test-element_access2_default ........ Passed 0.01 sec + Start 36: test-element_access2_all +36/80 Test #36: test-element_access2_all ............ Passed 0.01 sec + Start 37: test-inspection_default +37/80 Test #37: test-inspection_default ............. Passed 4.61 sec + Start 38: test-inspection_all +38/80 Test #38: test-inspection_all ................. Passed 4.63 sec + Start 39: test-items_default +39/80 Test #39: test-items_default .................. Passed 0.00 sec + Start 40: test-items_all +40/80 Test #40: test-items_all ...................... Passed 0.00 sec + Start 41: test-iterators1_default +41/80 Test #41: test-iterators1_default ............. Passed 0.01 sec + Start 42: test-iterators1_all +42/80 Test #42: test-iterators1_all ................. Passed 0.01 sec + Start 43: test-iterators2_default +43/80 Test #43: test-iterators2_default ............. Passed 0.03 sec + Start 44: test-iterators2_all +44/80 Test #44: test-iterators2_all ................. Passed 0.03 sec + Start 45: test-json_patch_default +45/80 Test #45: test-json_patch_default ............. Passed 0.01 sec + Start 46: test-json_patch_all +46/80 Test #46: test-json_patch_all ................. Passed 0.01 sec + Start 47: test-json_pointer_default +47/80 Test #47: test-json_pointer_default ........... Passed 0.00 sec + Start 48: test-json_pointer_all +48/80 Test #48: test-json_pointer_all ............... Passed 0.00 sec + Start 49: test-merge_patch_default +49/80 Test #49: test-merge_patch_default ............ Passed 0.00 sec + Start 50: test-merge_patch_all +50/80 Test #50: test-merge_patch_all ................ Passed 0.00 sec + Start 51: test-meta_default +51/80 Test #51: test-meta_default ................... Passed 0.00 sec + Start 52: test-meta_all +52/80 Test #52: test-meta_all ....................... Passed 0.00 sec + Start 53: test-modifiers_default +53/80 Test #53: test-modifiers_default .............. Passed 0.01 sec + Start 54: test-modifiers_all +54/80 Test #54: test-modifiers_all .................. Passed 0.01 sec + Start 55: test-msgpack_default +55/80 Test #55: test-msgpack_default ................ Passed 1.79 sec + Start 56: test-msgpack_all +56/80 Test #56: test-msgpack_all .................... Passed 24.09 sec + Start 57: test-noexcept_default +57/80 Test #57: test-noexcept_default ............... Passed 0.00 sec + Start 58: test-noexcept_all +58/80 Test #58: test-noexcept_all ................... Passed 0.00 sec + Start 59: test-pointer_access_default +59/80 Test #59: test-pointer_access_default ......... Passed 0.00 sec + Start 60: test-pointer_access_all +60/80 Test #60: test-pointer_access_all ............. Passed 0.00 sec + Start 61: test-readme_default +61/80 Test #61: test-readme_default ................. Passed 0.00 sec + Start 62: test-readme_all +62/80 Test #62: test-readme_all ..................... Passed 0.00 sec + Start 63: test-reference_access_default +63/80 Test #63: test-reference_access_default ....... Passed 0.00 sec + Start 64: test-reference_access_all +64/80 Test #64: test-reference_access_all ........... Passed 0.00 sec + Start 65: test-regression_default +65/80 Test #65: test-regression_default ............. Passed 4.44 sec + Start 66: test-regression_all +66/80 Test #66: test-regression_all ................. Passed 4.46 sec + Start 67: test-serialization_default +67/80 Test #67: test-serialization_default .......... Passed 0.00 sec + Start 68: test-serialization_all +68/80 Test #68: test-serialization_all .............. Passed 0.00 sec + Start 69: test-testsuites_default +69/80 Test #69: test-testsuites_default ............. Passed 0.21 sec + Start 70: test-testsuites_all +70/80 Test #70: test-testsuites_all ................. Passed 0.07 sec + Start 71: test-to_chars_default +71/80 Test #71: test-to_chars_default ............... Passed 0.00 sec + Start 72: test-to_chars_all +72/80 Test #72: test-to_chars_all ................... Passed 0.00 sec + Start 73: test-ubjson_default +73/80 Test #73: test-ubjson_default ................. Passed 0.90 sec + Start 74: test-ubjson_all +74/80 Test #74: test-ubjson_all ..................... Passed 9.82 sec + Start 75: test-udt_default +75/80 Test #75: test-udt_default .................... Passed 0.00 sec + Start 76: test-udt_all +76/80 Test #76: test-udt_all ........................ Passed 0.00 sec + Start 77: test-unicode_default +77/80 Test #77: test-unicode_default ................ Passed 0.00 sec + Start 78: test-unicode_all +78/80 Test #78: test-unicode_all .................... Passed 138.57 sec + Start 79: test-wstring_default +79/80 Test #79: test-wstring_default ................ Passed 0.00 sec + Start 80: test-wstring_all +80/80 Test #80: test-wstring_all .................... Passed 0.00 sec + +100% tests passed, 0 tests failed out of 80 + +Label Time Summary: +all = 205.96 sec*proc (40 tests) +default = 14.33 sec*proc (40 tests) + +Total Test time (real) = 220.30 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/fix.patch new file mode 100644 index 000000000..11d4c24f3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/fix.patch @@ -0,0 +1,188 @@ +diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp +index ac4cea5f..cb0021df 100644 +--- a/include/nlohmann/detail/conversions/from_json.hpp ++++ b/include/nlohmann/detail/conversions/from_json.hpp +@@ -9,6 +9,7 @@ + #include // string + #include // tuple, make_tuple + #include // is_arithmetic, is_same, is_enum, underlying_type, is_convertible ++#include // unordered_map + #include // pair, declval + #include // valarray + +@@ -208,14 +209,10 @@ void from_json(const BasicJsonType& j, CompatibleObjectType& obj) + } + + auto inner_object = j.template get_ptr(); +- using value_type = typename CompatibleObjectType::value_type; +- std::transform( +- inner_object->begin(), inner_object->end(), +- std::inserter(obj, obj.begin()), +- [](typename BasicJsonType::object_t::value_type const & p) ++ for (const auto& p : *inner_object) + { +- return value_type(p.first, p.second.template get()); +- }); ++ obj.emplace(p.first, p.second.template get()); ++ } + } + + // overload for arithmetic types, not chosen for basic_json template arguments +@@ -297,6 +294,63 @@ void from_json(const BasicJsonType& j, std::map& m) + } + } + ++template ::value>> ++void from_json(const BasicJsonType& j, std::unordered_map& m) ++{ ++ if (JSON_UNLIKELY(not j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); ++ } ++ for (const auto& p : j) ++ { ++ if (JSON_UNLIKELY(not p.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(p.type_name()))); ++ } ++ m.emplace(p.at(0).template get(), p.at(1).template get()); ++ } ++} ++ ++template ::value>> ++void from_json(const BasicJsonType& j, std::multimap& m) ++{ ++ if (JSON_UNLIKELY(not j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); ++ } ++ for (const auto& p : j) ++ { ++ if (JSON_UNLIKELY(not p.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(p.type_name()))); ++ } ++ m.emplace(p.at(0).template get(), p.at(1).template get()); ++ } ++} ++ ++template ::value>> ++void from_json(const BasicJsonType& j, std::unordered_multimap& m) ++{ ++ if (JSON_UNLIKELY(not j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); ++ } ++ for (const auto& p : j) ++ { ++ if (JSON_UNLIKELY(not p.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(p.type_name()))); ++ } ++ m.emplace(p.at(0).template get(), p.at(1).template get()); ++ } ++} ++ + struct from_json_fn + { + private: +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 2b387a8b..f38d42bb 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -913,6 +913,7 @@ inline bool operator<(const value_t lhs, const value_t rhs) noexcept + #include // string + #include // tuple, make_tuple + #include // is_arithmetic, is_same, is_enum, underlying_type, is_convertible ++#include // unordered_map + #include // pair, declval + #include // valarray + +@@ -1116,14 +1117,10 @@ void from_json(const BasicJsonType& j, CompatibleObjectType& obj) + } + + auto inner_object = j.template get_ptr(); +- using value_type = typename CompatibleObjectType::value_type; +- std::transform( +- inner_object->begin(), inner_object->end(), +- std::inserter(obj, obj.begin()), +- [](typename BasicJsonType::object_t::value_type const & p) ++ for (const auto& p : *inner_object) + { +- return value_type(p.first, p.second.template get()); +- }); ++ obj.emplace(p.first, p.second.template get()); ++ } + } + + // overload for arithmetic types, not chosen for basic_json template arguments +@@ -1205,6 +1202,63 @@ void from_json(const BasicJsonType& j, std::map& m) + } + } + ++template ::value>> ++void from_json(const BasicJsonType& j, std::unordered_map& m) ++{ ++ if (JSON_UNLIKELY(not j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); ++ } ++ for (const auto& p : j) ++ { ++ if (JSON_UNLIKELY(not p.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(p.type_name()))); ++ } ++ m.emplace(p.at(0).template get(), p.at(1).template get()); ++ } ++} ++ ++template ::value>> ++void from_json(const BasicJsonType& j, std::multimap& m) ++{ ++ if (JSON_UNLIKELY(not j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); ++ } ++ for (const auto& p : j) ++ { ++ if (JSON_UNLIKELY(not p.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(p.type_name()))); ++ } ++ m.emplace(p.at(0).template get(), p.at(1).template get()); ++ } ++} ++ ++template ::value>> ++void from_json(const BasicJsonType& j, std::unordered_multimap& m) ++{ ++ if (JSON_UNLIKELY(not j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); ++ } ++ for (const auto& p : j) ++ { ++ if (JSON_UNLIKELY(not p.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(p.type_name()))); ++ } ++ m.emplace(p.at(0).template get(), p.at(1).template get()); ++ } ++} ++ + struct from_json_fn + { + private: diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/report.json new file mode 100644 index 000000000..5378c9872 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1138/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1138, "valid": true, "error_msg": "", "fixed_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 80, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "test-regression_all", "test-udt_default", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 80, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "test-regression_all", "test-udt_default", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-class_iterator_default", "test-conversions_all", "test-iterators1_default", "test-noexcept_default", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-capacity_default", "test-items_all", "test-ubjson_all", "test-class_lexer_default", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "test-alt-string_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-element_access2_default", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-iterators2_all", "test-wstring_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/fix-patch-run.log new file mode 100644 index 000000000..121662695 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/fix-patch-run.log @@ -0,0 +1,809 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5725 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.8 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.7 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.w2AM8ygQ +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.w2AM8ygQ/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.w2AM8ygQ/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.w2AM8ygQ/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.w2AM8ygQ/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.w2AM8ygQ/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.w2AM8ygQ +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=8c61df42aacc +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.xvqrBCcl7a/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-element_access1.cpp +patching file test/src/unit-element_access2.cpp +patching file include/nlohmann/detail/exceptions.hpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 11%] Linking CXX executable test-ubjson +[ 11%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-conversions +[ 14%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 16%] Linking CXX executable test-conversions +[ 16%] Built target test-conversions +Scanning dependencies of target test-convenience +[ 17%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 18%] Linking CXX executable test-convenience +[ 18%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 20%] Linking CXX executable test-class_iterator +[ 20%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 23%] Linking CXX executable test-class_parser +[ 23%] Built target test-class_parser +Scanning dependencies of target test-class_const_iterator +[ 24%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 25%] Linking CXX executable test-class_const_iterator +[ 25%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 27%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 28%] Linking CXX executable test-json_patch +[ 28%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 29%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 30%] Linking CXX executable test-noexcept +[ 30%] Built target test-noexcept +Scanning dependencies of target test-class_lexer +[ 32%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 33%] Linking CXX executable test-class_lexer +[ 33%] Built target test-class_lexer +Scanning dependencies of target test-concepts +[ 34%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 35%] Linking CXX executable test-concepts +[ 35%] Built target test-concepts +Scanning dependencies of target test-testsuites +[ 37%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 38%] Linking CXX executable test-testsuites +[ 38%] Built target test-testsuites +Scanning dependencies of target test-element_access2 +[ 39%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2 +[ 40%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 41%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 43%] Linking CXX executable test-comparison +[ 43%] Built target test-comparison +Scanning dependencies of target test-regression +[ 44%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 45%] Linking CXX executable test-regression +[ 45%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 46%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer +[ 48%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 49%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 50%] Linking CXX executable test-modifiers +[ 50%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 51%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 53%] Linking CXX executable test-allocator +[ 53%] Built target test-allocator +Scanning dependencies of target test-items +[ 54%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +/home/json/test/src/unit-items.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-items.cpp:44:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:77:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:121:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:154:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:190:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:223:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:256:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:289:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:325:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:358:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:402:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:435:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:471:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:504:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:537:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:570:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:606:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:621:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:642:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:657:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15379:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:675:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:690:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:705:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:720:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:15388:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +[ 55%] Linking CXX executable test-items +[ 55%] Built target test-items +Scanning dependencies of target test-algorithms +[ 56%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 58%] Linking CXX executable test-algorithms +[ 58%] Built target test-algorithms +Scanning dependencies of target test-cbor +[ 59%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 60%] Linking CXX executable test-cbor +[ 60%] Built target test-cbor +Scanning dependencies of target test-pointer_access +[ 61%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 62%] Linking CXX executable test-pointer_access +[ 62%] Built target test-pointer_access +Scanning dependencies of target test-constructor2 +[ 64%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 65%] Linking CXX executable test-constructor2 +[ 65%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 66%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 67%] Linking CXX executable test-alt-string +[ 67%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 69%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 70%] Linking CXX executable test-iterators2 +[ 70%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 71%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 72%] Linking CXX executable test-capacity +[ 72%] Built target test-capacity +Scanning dependencies of target test-constructor1 +[ 74%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 75%] Linking CXX executable test-constructor1 +[ 75%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 76%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +/home/json/test/src/unit-deserialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-deserialization.cpp:239:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << ss; + ^~ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17282:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:30:0: +/home/json/test/src/unit-deserialization.cpp:319:34: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_AS(j << ss1, json::parse_error&); + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17282:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:30:0: +/home/json/test/src/unit-deserialization.cpp:320:36: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_WITH(j << ss2, + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17282:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:962:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17282:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:964:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17282:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +[ 77%] Linking CXX executable test-deserialization +[ 77%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 79%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 80%] Linking CXX executable test-reference_access +[ 80%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 81%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 82%] Linking CXX executable test-element_access1 +[ 82%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 83%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 85%] Linking CXX executable test-meta +[ 85%] Built target test-meta +Scanning dependencies of target test-inspection +[ 86%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 87%] Linking CXX executable test-inspection +[ 87%] Built target test-inspection +Scanning dependencies of target test-readme +[ 88%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 90%] Linking CXX executable test-readme +[ 90%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 91%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 92%] Linking CXX executable test-iterators1 +[ 92%] Built target test-iterators1 +Scanning dependencies of target test-merge_patch +[ 93%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 95%] Linking CXX executable test-merge_patch +[ 95%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 96%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 97%] Linking CXX executable test-msgpack +[ 97%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 98%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +/home/json/test/src/unit-serialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-serialization.cpp:72:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17033:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:81:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17033:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:92:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17033:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +[100%] Linking CXX executable test-serialization +[100%] Built target test-serialization +Test project /home/json/build + Start 1: test-algorithms_default + 1/80 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/80 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/80 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/80 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/80 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/80 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-capacity_default + 7/80 Test #7: test-capacity_default ............... Passed 0.00 sec + Start 8: test-capacity_all + 8/80 Test #8: test-capacity_all ................... Passed 0.00 sec + Start 9: test-cbor_default + 9/80 Test #9: test-cbor_default ................... Passed 2.09 sec + Start 10: test-cbor_all +10/80 Test #10: test-cbor_all ....................... Passed 34.51 sec + Start 11: test-class_const_iterator_default +11/80 Test #11: test-class_const_iterator_default ... Passed 0.00 sec + Start 12: test-class_const_iterator_all +12/80 Test #12: test-class_const_iterator_all ....... Passed 0.00 sec + Start 13: test-class_iterator_default +13/80 Test #13: test-class_iterator_default ......... Passed 0.00 sec + Start 14: test-class_iterator_all +14/80 Test #14: test-class_iterator_all ............. Passed 0.00 sec + Start 15: test-class_lexer_default +15/80 Test #15: test-class_lexer_default ............ Passed 0.00 sec + Start 16: test-class_lexer_all +16/80 Test #16: test-class_lexer_all ................ Passed 0.00 sec + Start 17: test-class_parser_default +17/80 Test #17: test-class_parser_default ........... Passed 0.09 sec + Start 18: test-class_parser_all +18/80 Test #18: test-class_parser_all ............... Passed 0.09 sec + Start 19: test-comparison_default +19/80 Test #19: test-comparison_default ............. Passed 0.01 sec + Start 20: test-comparison_all +20/80 Test #20: test-comparison_all ................. Passed 0.01 sec + Start 21: test-concepts_default +21/80 Test #21: test-concepts_default ............... Passed 0.00 sec + Start 22: test-concepts_all +22/80 Test #22: test-concepts_all ................... Passed 0.00 sec + Start 23: test-constructor1_default +23/80 Test #23: test-constructor1_default ........... Passed 0.01 sec + Start 24: test-constructor1_all +24/80 Test #24: test-constructor1_all ............... Passed 0.01 sec + Start 25: test-constructor2_default +25/80 Test #25: test-constructor2_default ........... Passed 0.00 sec + Start 26: test-constructor2_all +26/80 Test #26: test-constructor2_all ............... Passed 0.00 sec + Start 27: test-convenience_default +27/80 Test #27: test-convenience_default ............ Passed 0.00 sec + Start 28: test-convenience_all +28/80 Test #28: test-convenience_all ................ Passed 0.00 sec + Start 29: test-conversions_default +29/80 Test #29: test-conversions_default ............ Passed 0.01 sec + Start 30: test-conversions_all +30/80 Test #30: test-conversions_all ................ Passed 0.01 sec + Start 31: test-deserialization_default +31/80 Test #31: test-deserialization_default ........ Passed 0.01 sec + Start 32: test-deserialization_all +32/80 Test #32: test-deserialization_all ............ Passed 0.01 sec + Start 33: test-element_access1_default +33/80 Test #33: test-element_access1_default ........***Failed 0.01 sec + Start 34: test-element_access1_all +34/80 Test #34: test-element_access1_all ............***Failed 0.01 sec + Start 35: test-element_access2_default +35/80 Test #35: test-element_access2_default ........***Failed 0.01 sec + Start 36: test-element_access2_all +36/80 Test #36: test-element_access2_all ............***Failed 0.01 sec + Start 37: test-inspection_default +37/80 Test #37: test-inspection_default ............. Passed 4.50 sec + Start 38: test-inspection_all +38/80 Test #38: test-inspection_all ................. Passed 4.43 sec + Start 39: test-items_default +39/80 Test #39: test-items_default .................. Passed 0.00 sec + Start 40: test-items_all +40/80 Test #40: test-items_all ...................... Passed 0.00 sec + Start 41: test-iterators1_default +41/80 Test #41: test-iterators1_default ............. Passed 0.01 sec + Start 42: test-iterators1_all +42/80 Test #42: test-iterators1_all ................. Passed 0.01 sec + Start 43: test-iterators2_default +43/80 Test #43: test-iterators2_default ............. Passed 0.03 sec + Start 44: test-iterators2_all +44/80 Test #44: test-iterators2_all ................. Passed 0.03 sec + Start 45: test-json_patch_default +45/80 Test #45: test-json_patch_default ............. Passed 0.01 sec + Start 46: test-json_patch_all +46/80 Test #46: test-json_patch_all ................. Passed 0.01 sec + Start 47: test-json_pointer_default +47/80 Test #47: test-json_pointer_default ........... Passed 0.00 sec + Start 48: test-json_pointer_all +48/80 Test #48: test-json_pointer_all ............... Passed 0.00 sec + Start 49: test-merge_patch_default +49/80 Test #49: test-merge_patch_default ............ Passed 0.00 sec + Start 50: test-merge_patch_all +50/80 Test #50: test-merge_patch_all ................ Passed 0.00 sec + Start 51: test-meta_default +51/80 Test #51: test-meta_default ................... Passed 0.00 sec + Start 52: test-meta_all +52/80 Test #52: test-meta_all ....................... Passed 0.00 sec + Start 53: test-modifiers_default +53/80 Test #53: test-modifiers_default .............. Passed 0.01 sec + Start 54: test-modifiers_all +54/80 Test #54: test-modifiers_all .................. Passed 0.01 sec + Start 55: test-msgpack_default +55/80 Test #55: test-msgpack_default ................ Passed 1.77 sec + Start 56: test-msgpack_all +56/80 Test #56: test-msgpack_all .................... Passed 33.43 sec + Start 57: test-noexcept_default +57/80 Test #57: test-noexcept_default ............... Passed 0.00 sec + Start 58: test-noexcept_all +58/80 Test #58: test-noexcept_all ................... Passed 0.00 sec + Start 59: test-pointer_access_default +59/80 Test #59: test-pointer_access_default ......... Passed 0.00 sec + Start 60: test-pointer_access_all +60/80 Test #60: test-pointer_access_all ............. Passed 0.00 sec + Start 61: test-readme_default +61/80 Test #61: test-readme_default ................. Passed 0.00 sec + Start 62: test-readme_all +62/80 Test #62: test-readme_all ..................... Passed 0.00 sec + Start 63: test-reference_access_default +63/80 Test #63: test-reference_access_default ....... Passed 0.00 sec + Start 64: test-reference_access_all +64/80 Test #64: test-reference_access_all ........... Passed 0.00 sec + Start 65: test-regression_default +65/80 Test #65: test-regression_default ............. Passed 4.41 sec + Start 66: test-regression_all +66/80 Test #66: test-regression_all ................. Passed 4.40 sec + Start 67: test-serialization_default +67/80 Test #67: test-serialization_default .......... Passed 0.00 sec + Start 68: test-serialization_all +68/80 Test #68: test-serialization_all .............. Passed 0.00 sec + Start 69: test-testsuites_default +69/80 Test #69: test-testsuites_default ............. Passed 0.07 sec + Start 70: test-testsuites_all +70/80 Test #70: test-testsuites_all ................. Passed 0.07 sec + Start 71: test-to_chars_default +71/80 Test #71: test-to_chars_default ............... Passed 0.00 sec + Start 72: test-to_chars_all +72/80 Test #72: test-to_chars_all ................... Passed 0.00 sec + Start 73: test-ubjson_default +73/80 Test #73: test-ubjson_default ................. Passed 0.90 sec + Start 74: test-ubjson_all +74/80 Test #74: test-ubjson_all ..................... Passed 9.93 sec + Start 75: test-udt_default +75/80 Test #75: test-udt_default .................... Passed 0.00 sec + Start 76: test-udt_all +76/80 Test #76: test-udt_all ........................ Passed 0.00 sec + Start 77: test-unicode_default +77/80 Test #77: test-unicode_default ................ Passed 0.00 sec + Start 78: test-unicode_all +78/80 Test #78: test-unicode_all .................... Passed 133.16 sec + Start 79: test-wstring_default +79/80 Test #79: test-wstring_default ................ Passed 0.00 sec + Start 80: test-wstring_all +80/80 Test #80: test-wstring_all .................... Passed 0.00 sec + +95% tests passed, 4 tests failed out of 80 + +Label Time Summary: +all = 220.16 sec*proc (40 tests) +default = 13.99 sec*proc (40 tests) + +Total Test time (real) = 234.17 sec + +The following tests FAILED: + 33 - test-element_access1_default (Failed) + 34 - test-element_access1_all (Failed) + 35 - test-element_access2_default (Failed) + 36 - test-element_access2_all (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/fix.patch new file mode 100644 index 000000000..8e5d04b5c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/fix.patch @@ -0,0 +1,138 @@ +diff --git a/include/nlohmann/detail/exceptions.hpp b/include/nlohmann/detail/exceptions.hpp +index b73d7b1f..fb21288e 100644 +--- a/include/nlohmann/detail/exceptions.hpp ++++ b/include/nlohmann/detail/exceptions.hpp +@@ -208,7 +208,7 @@ json.exception.type_error.301 | cannot create object from initializer list | To + json.exception.type_error.302 | type must be object, but is array | During implicit or explicit value conversion, the JSON type must be compatible to the target type. For instance, a JSON string can only be converted into string types, but not into numbers or boolean types. + json.exception.type_error.303 | incompatible ReferenceType for get_ref, actual type is object | To retrieve a reference to a value stored in a @ref basic_json object with @ref get_ref, the type of the reference must match the value type. For instance, for a JSON array, the @a ReferenceType must be @ref array_t&. + json.exception.type_error.304 | cannot use at() with string | The @ref at() member functions can only be executed for certain JSON types. +-json.exception.type_error.305 | cannot use operator[] with string | The @ref operator[] member functions can only be executed for certain JSON types. ++json.exception.type_error.305 | cannot use operator[] with a string argument on object | The @ref operator[] member functions can only be executed for certain JSON types. + json.exception.type_error.306 | cannot use value() with string | The @ref value() member functions can only be executed for certain JSON types. + json.exception.type_error.307 | cannot use erase() with string | The @ref erase() member functions can only be executed for certain JSON types. + json.exception.type_error.308 | cannot use push_back() with string | The @ref push_back() and @ref operator+= member functions can only be executed for certain JSON types. +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 1f39e3ec..c96768af 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -3097,7 +3097,7 @@ class basic_json + return m_value.array->operator[](idx); + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with an integer argument on " + std::string(type_name()))); + } + + /*! +@@ -3127,7 +3127,7 @@ class basic_json + return m_value.array->operator[](idx); + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with an integer argument on " + std::string(type_name()))); + } + + /*! +@@ -3173,7 +3173,7 @@ class basic_json + return m_value.object->operator[](key); + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument on " + std::string(type_name()))); + } + + /*! +@@ -3215,7 +3215,7 @@ class basic_json + return m_value.object->find(key)->second; + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument on " + std::string(type_name()))); + } + + /*! +@@ -3262,7 +3262,7 @@ class basic_json + return m_value.object->operator[](key); + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument on " + std::string(type_name()))); + } + + /*! +@@ -3305,7 +3305,7 @@ class basic_json + return m_value.object->find(key)->second; + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument on " + std::string(type_name()))); + } + + /*! +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index ac27d3d4..0ccd32b0 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -746,7 +746,7 @@ json.exception.type_error.301 | cannot create object from initializer list | To + json.exception.type_error.302 | type must be object, but is array | During implicit or explicit value conversion, the JSON type must be compatible to the target type. For instance, a JSON string can only be converted into string types, but not into numbers or boolean types. + json.exception.type_error.303 | incompatible ReferenceType for get_ref, actual type is object | To retrieve a reference to a value stored in a @ref basic_json object with @ref get_ref, the type of the reference must match the value type. For instance, for a JSON array, the @a ReferenceType must be @ref array_t&. + json.exception.type_error.304 | cannot use at() with string | The @ref at() member functions can only be executed for certain JSON types. +-json.exception.type_error.305 | cannot use operator[] with string | The @ref operator[] member functions can only be executed for certain JSON types. ++json.exception.type_error.305 | cannot use operator[] with a string argument on object | The @ref operator[] member functions can only be executed for certain JSON types. + json.exception.type_error.306 | cannot use value() with string | The @ref value() member functions can only be executed for certain JSON types. + json.exception.type_error.307 | cannot use erase() with string | The @ref erase() member functions can only be executed for certain JSON types. + json.exception.type_error.308 | cannot use push_back() with string | The @ref push_back() and @ref operator+= member functions can only be executed for certain JSON types. +@@ -14204,7 +14204,7 @@ class basic_json + return m_value.array->operator[](idx); + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with an integer argument on " + std::string(type_name()))); + } + + /*! +@@ -14234,7 +14234,7 @@ class basic_json + return m_value.array->operator[](idx); + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with an integer argument on " + std::string(type_name()))); + } + + /*! +@@ -14280,7 +14280,7 @@ class basic_json + return m_value.object->operator[](key); + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument on " + std::string(type_name()))); + } + + /*! +@@ -14322,7 +14322,7 @@ class basic_json + return m_value.object->find(key)->second; + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument on " + std::string(type_name()))); + } + + /*! +@@ -14369,7 +14369,7 @@ class basic_json + return m_value.object->operator[](key); + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument on " + std::string(type_name()))); + } + + /*! +@@ -14412,7 +14412,7 @@ class basic_json + return m_value.object->find(key)->second; + } + +- JSON_THROW(type_error::create(305, "cannot use operator[] with " + std::string(type_name()))); ++ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument on " + std::string(type_name()))); + } + + /*! diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/report.json new file mode 100644 index 000000000..3395f6498 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1221/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1221, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (80, 0, 0)\n test = (76, 0, 0)\n fix = (76, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 80, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "test-regression_all", "test-udt_default", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 76, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-alt-string_default", "test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-reference_access_default", "test-noexcept_default", "test-class_iterator_default", "test-conversions_all", "test-allocator_all", "test-iterators1_default", "test-reference_access_all", "test-class_lexer_all", "test-pointer_access_default", "test-json_patch_default", "test-modifiers_all", "test-meta_all", "test-deserialization_default", "test-json_pointer_all", "test-comparison_default", "test-cbor_all", "test-readme_default", "test-iterators1_all", "test-capacity_all", "test-serialization_all", "test-concepts_default", "test-to_chars_all", "test-merge_patch_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-wstring_default", "test-comparison_all", "test-convenience_default", "test-algorithms_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-alt-string_all", "test-items_all", "test-cbor_default", "test-capacity_default", "test-modifiers_default", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-merge_patch_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-wstring_all", "test-udt_all", "test-iterators2_all", "test-json_patch_all", "test-allocator_default", "test-unicode_all", "test-constructor2_default", "test-items_default", "test-class_parser_all", "test-conversions_default", "test-inspection_all", "test-udt_default", "test-readme_all", "test-ubjson_default", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-meta_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 76, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-alt-string_default", "test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-class_lexer_all", "test-class_iterator_default", "test-allocator_all", "test-conversions_all", "test-iterators1_default", "test-noexcept_default", "test-pointer_access_default", "test-reference_access_default", "test-reference_access_all", "test-json_patch_default", "test-modifiers_all", "test-deserialization_default", "test-meta_all", "test-json_pointer_all", "test-comparison_default", "test-capacity_all", "test-cbor_all", "test-iterators1_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-to_chars_all", "test-merge_patch_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-wstring_default", "test-algorithms_default", "test-alt-string_all", "test-cbor_default", "test-class_const_iterator_all", "test-capacity_default", "test-items_all", "test-json_pointer_default", "test-modifiers_default", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-merge_patch_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-json_patch_all", "test-udt_all", "test-wstring_all", "test-allocator_default", "test-unicode_all", "test-class_parser_all", "test-constructor2_default", "test-items_default", "test-conversions_default", "test-inspection_all", "test-meta_default", "test-readme_all", "test-regression_default", "test-ubjson_default", "test-serialization_default", "test-msgpack_default", "test-udt_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/fix-patch-run.log new file mode 100644 index 000000000..76afe9498 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/fix-patch-run.log @@ -0,0 +1,586 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5793 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.5 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.3 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.kNjJfBlQ +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.kNjJfBlQ/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.kNjJfBlQ/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.kNjJfBlQ/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.kNjJfBlQ/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.kNjJfBlQ/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.kNjJfBlQ +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=5adf51a8042e +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.IAxwtwwho7/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-regression.cpp +patching file include/nlohmann/detail/conversions/from_json.hpp +patching file include/nlohmann/detail/meta/type_traits.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 11%] Linking CXX executable test-ubjson +[ 11%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-conversions +[ 14%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 16%] Linking CXX executable test-conversions +[ 16%] Built target test-conversions +Scanning dependencies of target test-convenience +[ 17%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 18%] Linking CXX executable test-convenience +[ 18%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 20%] Linking CXX executable test-class_iterator +[ 20%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 23%] Linking CXX executable test-class_parser +[ 23%] Built target test-class_parser +Scanning dependencies of target test-class_const_iterator +[ 24%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 25%] Linking CXX executable test-class_const_iterator +[ 25%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 27%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 28%] Linking CXX executable test-json_patch +[ 28%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 29%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 30%] Linking CXX executable test-noexcept +[ 30%] Built target test-noexcept +Scanning dependencies of target test-class_lexer +[ 32%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 33%] Linking CXX executable test-class_lexer +[ 33%] Built target test-class_lexer +Scanning dependencies of target test-concepts +[ 34%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 35%] Linking CXX executable test-concepts +[ 35%] Built target test-concepts +Scanning dependencies of target test-testsuites +[ 37%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 38%] Linking CXX executable test-testsuites +[ 38%] Built target test-testsuites +Scanning dependencies of target test-element_access2 +[ 39%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2 +[ 40%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 41%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 43%] Linking CXX executable test-comparison +[ 43%] Built target test-comparison +Scanning dependencies of target test-regression +[ 44%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 45%] Linking CXX executable test-regression +[ 45%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 46%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer +[ 48%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 49%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 50%] Linking CXX executable test-modifiers +[ 50%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 51%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 53%] Linking CXX executable test-allocator +[ 53%] Built target test-allocator +Scanning dependencies of target test-items +[ 54%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 55%] Linking CXX executable test-items +[ 55%] Built target test-items +Scanning dependencies of target test-algorithms +[ 56%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 58%] Linking CXX executable test-algorithms +[ 58%] Built target test-algorithms +Scanning dependencies of target test-cbor +[ 59%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 60%] Linking CXX executable test-cbor +[ 60%] Built target test-cbor +Scanning dependencies of target test-pointer_access +[ 61%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 62%] Linking CXX executable test-pointer_access +[ 62%] Built target test-pointer_access +Scanning dependencies of target test-constructor2 +[ 64%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 65%] Linking CXX executable test-constructor2 +[ 65%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 66%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 67%] Linking CXX executable test-alt-string +[ 67%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 69%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 70%] Linking CXX executable test-iterators2 +[ 70%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 71%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 72%] Linking CXX executable test-capacity +[ 72%] Built target test-capacity +Scanning dependencies of target test-constructor1 +[ 74%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 75%] Linking CXX executable test-constructor1 +[ 75%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 76%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 77%] Linking CXX executable test-deserialization +[ 77%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 79%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 80%] Linking CXX executable test-reference_access +[ 80%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 81%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 82%] Linking CXX executable test-element_access1 +[ 82%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 83%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 85%] Linking CXX executable test-meta +[ 85%] Built target test-meta +Scanning dependencies of target test-inspection +[ 86%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 87%] Linking CXX executable test-inspection +[ 87%] Built target test-inspection +Scanning dependencies of target test-readme +[ 88%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 90%] Linking CXX executable test-readme +[ 90%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 91%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 92%] Linking CXX executable test-iterators1 +[ 92%] Built target test-iterators1 +Scanning dependencies of target test-merge_patch +[ 93%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 95%] Linking CXX executable test-merge_patch +[ 95%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 96%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 97%] Linking CXX executable test-msgpack +[ 97%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 98%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[100%] Linking CXX executable test-serialization +[100%] Built target test-serialization +Test project /home/json/build + Start 1: test-algorithms_default + 1/86 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/86 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/86 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/86 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/86 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/86 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-capacity_default + 7/86 Test #7: test-capacity_default ............... Passed 0.00 sec + Start 8: test-capacity_all + 8/86 Test #8: test-capacity_all ................... Passed 0.00 sec + Start 9: test-cbor_default + 9/86 Test #9: test-cbor_default ................... Passed 2.14 sec + Start 10: test-cbor_all +10/86 Test #10: test-cbor_all ....................... Passed 34.18 sec + Start 11: test-class_const_iterator_default +11/86 Test #11: test-class_const_iterator_default ... Passed 0.00 sec + Start 12: test-class_const_iterator_all +12/86 Test #12: test-class_const_iterator_all ....... Passed 0.00 sec + Start 13: test-class_iterator_default +13/86 Test #13: test-class_iterator_default ......... Passed 0.00 sec + Start 14: test-class_iterator_all +14/86 Test #14: test-class_iterator_all ............. Passed 0.00 sec + Start 15: test-class_lexer_default +15/86 Test #15: test-class_lexer_default ............ Passed 0.00 sec + Start 16: test-class_lexer_all +16/86 Test #16: test-class_lexer_all ................ Passed 0.00 sec + Start 17: test-class_parser_default +17/86 Test #17: test-class_parser_default ........... Passed 0.09 sec + Start 18: test-class_parser_all +18/86 Test #18: test-class_parser_all ............... Passed 0.09 sec + Start 19: test-comparison_default +19/86 Test #19: test-comparison_default ............. Passed 0.01 sec + Start 20: test-comparison_all +20/86 Test #20: test-comparison_all ................. Passed 0.01 sec + Start 21: test-concepts_default +21/86 Test #21: test-concepts_default ............... Passed 0.00 sec + Start 22: test-concepts_all +22/86 Test #22: test-concepts_all ................... Passed 0.00 sec + Start 23: test-constructor1_default +23/86 Test #23: test-constructor1_default ........... Passed 0.01 sec + Start 24: test-constructor1_all +24/86 Test #24: test-constructor1_all ............... Passed 0.01 sec + Start 25: test-constructor2_default +25/86 Test #25: test-constructor2_default ........... Passed 0.00 sec + Start 26: test-constructor2_all +26/86 Test #26: test-constructor2_all ............... Passed 0.00 sec + Start 27: test-convenience_default +27/86 Test #27: test-convenience_default ............ Passed 0.00 sec + Start 28: test-convenience_all +28/86 Test #28: test-convenience_all ................ Passed 0.00 sec + Start 29: test-conversions_default +29/86 Test #29: test-conversions_default ............ Passed 0.01 sec + Start 30: test-conversions_all +30/86 Test #30: test-conversions_all ................ Passed 0.01 sec + Start 31: test-deserialization_default +31/86 Test #31: test-deserialization_default ........ Passed 0.01 sec + Start 32: test-deserialization_all +32/86 Test #32: test-deserialization_all ............ Passed 0.01 sec + Start 33: test-element_access1_default +33/86 Test #33: test-element_access1_default ........ Passed 0.01 sec + Start 34: test-element_access1_all +34/86 Test #34: test-element_access1_all ............ Passed 0.01 sec + Start 35: test-element_access2_default +35/86 Test #35: test-element_access2_default ........ Passed 0.01 sec + Start 36: test-element_access2_all +36/86 Test #36: test-element_access2_all ............ Passed 0.01 sec + Start 37: test-inspection_default +37/86 Test #37: test-inspection_default ............. Passed 4.46 sec + Start 38: test-inspection_all +38/86 Test #38: test-inspection_all ................. Passed 4.45 sec + Start 39: test-items_default +39/86 Test #39: test-items_default .................. Passed 0.01 sec + Start 40: test-items_all +40/86 Test #40: test-items_all ...................... Passed 0.00 sec + Start 41: test-iterators1_default +41/86 Test #41: test-iterators1_default ............. Passed 0.01 sec + Start 42: test-iterators1_all +42/86 Test #42: test-iterators1_all ................. Passed 0.01 sec + Start 43: test-iterators2_default +43/86 Test #43: test-iterators2_default ............. Passed 0.03 sec + Start 44: test-iterators2_all +44/86 Test #44: test-iterators2_all ................. Passed 0.03 sec + Start 45: test-json_patch_default +45/86 Test #45: test-json_patch_default ............. Passed 0.01 sec + Start 46: test-json_patch_all +46/86 Test #46: test-json_patch_all ................. Passed 0.01 sec + Start 47: test-json_pointer_default +47/86 Test #47: test-json_pointer_default ........... Passed 0.00 sec + Start 48: test-json_pointer_all +48/86 Test #48: test-json_pointer_all ............... Passed 0.00 sec + Start 49: test-merge_patch_default +49/86 Test #49: test-merge_patch_default ............ Passed 0.00 sec + Start 50: test-merge_patch_all +50/86 Test #50: test-merge_patch_all ................ Passed 0.00 sec + Start 51: test-meta_default +51/86 Test #51: test-meta_default ................... Passed 0.00 sec + Start 52: test-meta_all +52/86 Test #52: test-meta_all ....................... Passed 0.00 sec + Start 53: test-modifiers_default +53/86 Test #53: test-modifiers_default .............. Passed 0.01 sec + Start 54: test-modifiers_all +54/86 Test #54: test-modifiers_all .................. Passed 0.01 sec + Start 55: test-msgpack_default +55/86 Test #55: test-msgpack_default ................ Passed 1.82 sec + Start 56: test-msgpack_all +56/86 Test #56: test-msgpack_all .................... Passed 34.00 sec + Start 57: test-noexcept_default +57/86 Test #57: test-noexcept_default ............... Passed 0.00 sec + Start 58: test-noexcept_all +58/86 Test #58: test-noexcept_all ................... Passed 0.00 sec + Start 59: test-pointer_access_default +59/86 Test #59: test-pointer_access_default ......... Passed 0.00 sec + Start 60: test-pointer_access_all +60/86 Test #60: test-pointer_access_all ............. Passed 0.00 sec + Start 61: test-readme_default +61/86 Test #61: test-readme_default ................. Passed 0.00 sec + Start 62: test-readme_all +62/86 Test #62: test-readme_all ..................... Passed 0.00 sec + Start 63: test-reference_access_default +63/86 Test #63: test-reference_access_default ....... Passed 0.00 sec + Start 64: test-reference_access_all +64/86 Test #64: test-reference_access_all ........... Passed 0.00 sec + Start 65: test-regression_default +65/86 Test #65: test-regression_default ............. Passed 4.51 sec + Start 66: test-regression_all +66/86 Test #66: test-regression_all ................. Passed 4.52 sec + Start 67: test-serialization_default +67/86 Test #67: test-serialization_default .......... Passed 0.00 sec + Start 68: test-serialization_all +68/86 Test #68: test-serialization_all .............. Passed 0.00 sec + Start 69: test-testsuites_default +69/86 Test #69: test-testsuites_default ............. Passed 0.07 sec + Start 70: test-testsuites_all +70/86 Test #70: test-testsuites_all ................. Passed 0.07 sec + Start 71: test-to_chars_default +71/86 Test #71: test-to_chars_default ............... Passed 0.00 sec + Start 72: test-to_chars_all +72/86 Test #72: test-to_chars_all ................... Passed 0.00 sec + Start 73: test-ubjson_default +73/86 Test #73: test-ubjson_default ................. Passed 0.91 sec + Start 74: test-ubjson_all +74/86 Test #74: test-ubjson_all ..................... Passed 9.65 sec + Start 75: test-udt_default +75/86 Test #75: test-udt_default .................... Passed 0.00 sec + Start 76: test-udt_all +76/86 Test #76: test-udt_all ........................ Passed 0.00 sec + Start 77: test-unicode_default +77/86 Test #77: test-unicode_default ................ Passed 0.00 sec + Start 78: test-unicode_all +78/86 Test #78: test-unicode_all .................... Passed 141.58 sec + Start 79: test-wstring_default +79/86 Test #79: test-wstring_default ................ Passed 0.00 sec + Start 80: test-wstring_all +80/86 Test #80: test-wstring_all .................... Passed 0.00 sec + Start 81: cmake_import_configure +81/86 Test #81: cmake_import_configure .............. Passed 0.62 sec + Start 82: cmake_import_build +82/86 Test #82: cmake_import_build .................. Passed 1.80 sec + Start 83: cmake_import_minver_configure +83/86 Test #83: cmake_import_minver_configure ....... Passed 0.61 sec + Start 84: cmake_import_minver_build +84/86 Test #84: cmake_import_minver_build ........... Passed 0.92 sec + Start 85: cmake_add_subdirectory_configure +85/86 Test #85: cmake_add_subdirectory_configure .... Passed 0.66 sec + Start 86: cmake_add_subdirectory_build +86/86 Test #86: cmake_add_subdirectory_build ........ Passed 1.82 sec + +100% tests passed, 0 tests failed out of 86 + +Label Time Summary: +all = 228.69 sec*proc (40 tests) +default = 14.16 sec*proc (40 tests) + +Total Test time (real) = 249.30 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/fix.patch new file mode 100644 index 000000000..f6b867b0f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/fix.patch @@ -0,0 +1,111 @@ +diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp +index 358b1c65..4c28792b 100644 +--- a/include/nlohmann/detail/conversions/from_json.hpp ++++ b/include/nlohmann/detail/conversions/from_json.hpp +@@ -211,7 +211,7 @@ void from_json_array_impl(const BasicJsonType& j, CompatibleArrayType& arr, + template ::value and +- not is_compatible_object_type::value and ++ not is_constructible_object_type::value and + not is_compatible_string_type::value and + not is_basic_json::value, + int > = 0 > +@@ -231,7 +231,7 @@ void()) + } + + template::value, int> = 0> ++ enable_if_t::value, int> = 0> + void from_json(const BasicJsonType& j, CompatibleObjectType& obj) + { + if (JSON_UNLIKELY(not j.is_object())) +diff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp +index 1a1a1744..12f91714 100644 +--- a/include/nlohmann/detail/meta/type_traits.hpp ++++ b/include/nlohmann/detail/meta/type_traits.hpp +@@ -247,5 +247,30 @@ struct is_compatible_type_impl < + template + struct is_compatible_type + : is_compatible_type_impl {}; ++ ++template ++struct is_constructible_object_type_impl : std::false_type {}; ++ ++template ++struct is_constructible_object_type_impl < ++ BasicJsonType, CompatibleObjectType, ++ enable_if_t::value and ++ is_detected::value >> ++{ ++ using object_t = typename BasicJsonType::object_t; ++ ++ static constexpr bool value = ++ std::is_constructible::value and ++ (std::is_constructible::value or ++ has_from_json::value); ++}; ++ ++template ++struct is_constructible_object_type ++ : is_constructible_object_type_impl {}; + } // namespace detail + } // namespace nlohmann +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index dc206d30..f492edcf 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -607,6 +607,31 @@ struct is_compatible_type_impl < + template + struct is_compatible_type + : is_compatible_type_impl {}; ++ ++template ++struct is_constructible_object_type_impl : std::false_type {}; ++ ++template ++struct is_constructible_object_type_impl < ++ BasicJsonType, CompatibleObjectType, ++ enable_if_t::value and ++ is_detected::value >> ++{ ++ using object_t = typename BasicJsonType::object_t; ++ ++ static constexpr bool value = ++ std::is_constructible::value and ++ (std::is_constructible::value or ++ has_from_json::value); ++}; ++ ++template ++struct is_constructible_object_type ++ : is_constructible_object_type_impl {}; + } // namespace detail + } // namespace nlohmann + +@@ -1283,7 +1308,7 @@ void from_json_array_impl(const BasicJsonType& j, CompatibleArrayType& arr, + template ::value and +- not is_compatible_object_type::value and ++ not is_constructible_object_type::value and + not is_compatible_string_type::value and + not is_basic_json::value, + int > = 0 > +@@ -1303,7 +1328,7 @@ void()) + } + + template::value, int> = 0> ++ enable_if_t::value, int> = 0> + void from_json(const BasicJsonType& j, CompatibleObjectType& obj) + { + if (JSON_UNLIKELY(not j.is_object())) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/report.json new file mode 100644 index 000000000..c2940d5d9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1301/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1301, "valid": true, "error_msg": "", "fixed_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 86, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 86, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-class_iterator_default", "test-conversions_all", "test-iterators1_default", "test-noexcept_default", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-capacity_default", "test-items_all", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "cmake_import_build", "test-alt-string_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-iterators2_all", "test-wstring_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/fix-patch-run.log new file mode 100644 index 000000000..fd12543e6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/fix-patch-run.log @@ -0,0 +1,597 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5598 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.7 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.6 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.acmMaNwS +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.acmMaNwS/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.acmMaNwS/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.acmMaNwS/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.acmMaNwS/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.acmMaNwS/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.acmMaNwS +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=ec713a3ad811 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.AvyS7LHsFN/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-cbor.cpp +patching file test/src/unit-msgpack.cpp +patching file test/src/unit-regression.cpp +patching file test/src/unit-ubjson.cpp +patching file include/nlohmann/detail/output/binary_writer.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 11%] Linking CXX executable test-ubjson +[ 11%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-conversions +[ 14%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 16%] Linking CXX executable test-conversions +[ 16%] Built target test-conversions +Scanning dependencies of target test-convenience +[ 17%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 18%] Linking CXX executable test-convenience +[ 18%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 20%] Linking CXX executable test-class_iterator +[ 20%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 23%] Linking CXX executable test-class_parser +[ 23%] Built target test-class_parser +Scanning dependencies of target test-class_const_iterator +[ 24%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 25%] Linking CXX executable test-class_const_iterator +[ 25%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 27%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 28%] Linking CXX executable test-json_patch +[ 28%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 29%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 30%] Linking CXX executable test-noexcept +[ 30%] Built target test-noexcept +Scanning dependencies of target test-class_lexer +[ 32%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 33%] Linking CXX executable test-class_lexer +[ 33%] Built target test-class_lexer +Scanning dependencies of target test-concepts +[ 34%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 35%] Linking CXX executable test-concepts +[ 35%] Built target test-concepts +Scanning dependencies of target test-testsuites +[ 37%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 38%] Linking CXX executable test-testsuites +[ 38%] Built target test-testsuites +Scanning dependencies of target test-element_access2 +[ 39%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2 +[ 40%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 41%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 43%] Linking CXX executable test-comparison +[ 43%] Built target test-comparison +Scanning dependencies of target test-regression +[ 44%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 45%] Linking CXX executable test-regression +[ 45%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 46%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer +[ 48%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 49%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 50%] Linking CXX executable test-modifiers +[ 50%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 51%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 53%] Linking CXX executable test-allocator +[ 53%] Built target test-allocator +Scanning dependencies of target test-items +[ 54%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 55%] Linking CXX executable test-items +[ 55%] Built target test-items +Scanning dependencies of target test-algorithms +[ 56%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 58%] Linking CXX executable test-algorithms +[ 58%] Built target test-algorithms +Scanning dependencies of target test-cbor +[ 59%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 60%] Linking CXX executable test-cbor +[ 60%] Built target test-cbor +Scanning dependencies of target test-pointer_access +[ 61%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 62%] Linking CXX executable test-pointer_access +[ 62%] Built target test-pointer_access +Scanning dependencies of target test-constructor2 +[ 64%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 65%] Linking CXX executable test-constructor2 +[ 65%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 66%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 67%] Linking CXX executable test-alt-string +[ 67%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 69%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 70%] Linking CXX executable test-iterators2 +[ 70%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 71%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 72%] Linking CXX executable test-capacity +[ 72%] Built target test-capacity +Scanning dependencies of target test-constructor1 +[ 74%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 75%] Linking CXX executable test-constructor1 +[ 75%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 76%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 77%] Linking CXX executable test-deserialization +[ 77%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 79%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 80%] Linking CXX executable test-reference_access +[ 80%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 81%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 82%] Linking CXX executable test-element_access1 +[ 82%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 83%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 85%] Linking CXX executable test-meta +[ 85%] Built target test-meta +Scanning dependencies of target test-inspection +[ 86%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 87%] Linking CXX executable test-inspection +[ 87%] Built target test-inspection +Scanning dependencies of target test-readme +[ 88%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 90%] Linking CXX executable test-readme +[ 90%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 91%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 92%] Linking CXX executable test-iterators1 +[ 92%] Built target test-iterators1 +Scanning dependencies of target test-merge_patch +[ 93%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 95%] Linking CXX executable test-merge_patch +[ 95%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 96%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 97%] Linking CXX executable test-msgpack +[ 97%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 98%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[100%] Linking CXX executable test-serialization +[100%] Built target test-serialization +Test project /home/json/build + Start 1: test-algorithms_default + 1/86 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/86 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/86 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/86 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/86 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/86 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-capacity_default + 7/86 Test #7: test-capacity_default ............... Passed 0.00 sec + Start 8: test-capacity_all + 8/86 Test #8: test-capacity_all ................... Passed 0.00 sec + Start 9: test-cbor_default + 9/86 Test #9: test-cbor_default ...................***Failed 2.09 sec + Start 10: test-cbor_all +10/86 Test #10: test-cbor_all .......................***Failed 34.03 sec + Start 11: test-class_const_iterator_default +11/86 Test #11: test-class_const_iterator_default ... Passed 0.00 sec + Start 12: test-class_const_iterator_all +12/86 Test #12: test-class_const_iterator_all ....... Passed 0.00 sec + Start 13: test-class_iterator_default +13/86 Test #13: test-class_iterator_default ......... Passed 0.00 sec + Start 14: test-class_iterator_all +14/86 Test #14: test-class_iterator_all ............. Passed 0.00 sec + Start 15: test-class_lexer_default +15/86 Test #15: test-class_lexer_default ............ Passed 0.00 sec + Start 16: test-class_lexer_all +16/86 Test #16: test-class_lexer_all ................ Passed 0.00 sec + Start 17: test-class_parser_default +17/86 Test #17: test-class_parser_default ........... Passed 0.09 sec + Start 18: test-class_parser_all +18/86 Test #18: test-class_parser_all ............... Passed 0.09 sec + Start 19: test-comparison_default +19/86 Test #19: test-comparison_default ............. Passed 0.01 sec + Start 20: test-comparison_all +20/86 Test #20: test-comparison_all ................. Passed 0.01 sec + Start 21: test-concepts_default +21/86 Test #21: test-concepts_default ............... Passed 0.00 sec + Start 22: test-concepts_all +22/86 Test #22: test-concepts_all ................... Passed 0.00 sec + Start 23: test-constructor1_default +23/86 Test #23: test-constructor1_default ........... Passed 0.01 sec + Start 24: test-constructor1_all +24/86 Test #24: test-constructor1_all ............... Passed 0.01 sec + Start 25: test-constructor2_default +25/86 Test #25: test-constructor2_default ........... Passed 0.00 sec + Start 26: test-constructor2_all +26/86 Test #26: test-constructor2_all ............... Passed 0.00 sec + Start 27: test-convenience_default +27/86 Test #27: test-convenience_default ............ Passed 0.00 sec + Start 28: test-convenience_all +28/86 Test #28: test-convenience_all ................ Passed 0.00 sec + Start 29: test-conversions_default +29/86 Test #29: test-conversions_default ............ Passed 0.01 sec + Start 30: test-conversions_all +30/86 Test #30: test-conversions_all ................ Passed 0.01 sec + Start 31: test-deserialization_default +31/86 Test #31: test-deserialization_default ........ Passed 0.01 sec + Start 32: test-deserialization_all +32/86 Test #32: test-deserialization_all ............ Passed 0.01 sec + Start 33: test-element_access1_default +33/86 Test #33: test-element_access1_default ........ Passed 0.01 sec + Start 34: test-element_access1_all +34/86 Test #34: test-element_access1_all ............ Passed 0.01 sec + Start 35: test-element_access2_default +35/86 Test #35: test-element_access2_default ........ Passed 0.01 sec + Start 36: test-element_access2_all +36/86 Test #36: test-element_access2_all ............ Passed 0.01 sec + Start 37: test-inspection_default +37/86 Test #37: test-inspection_default ............. Passed 4.45 sec + Start 38: test-inspection_all +38/86 Test #38: test-inspection_all ................. Passed 4.45 sec + Start 39: test-items_default +39/86 Test #39: test-items_default .................. Passed 0.00 sec + Start 40: test-items_all +40/86 Test #40: test-items_all ...................... Passed 0.00 sec + Start 41: test-iterators1_default +41/86 Test #41: test-iterators1_default ............. Passed 0.01 sec + Start 42: test-iterators1_all +42/86 Test #42: test-iterators1_all ................. Passed 0.01 sec + Start 43: test-iterators2_default +43/86 Test #43: test-iterators2_default ............. Passed 0.03 sec + Start 44: test-iterators2_all +44/86 Test #44: test-iterators2_all ................. Passed 0.03 sec + Start 45: test-json_patch_default +45/86 Test #45: test-json_patch_default ............. Passed 0.01 sec + Start 46: test-json_patch_all +46/86 Test #46: test-json_patch_all ................. Passed 0.01 sec + Start 47: test-json_pointer_default +47/86 Test #47: test-json_pointer_default ........... Passed 0.00 sec + Start 48: test-json_pointer_all +48/86 Test #48: test-json_pointer_all ............... Passed 0.00 sec + Start 49: test-merge_patch_default +49/86 Test #49: test-merge_patch_default ............ Passed 0.00 sec + Start 50: test-merge_patch_all +50/86 Test #50: test-merge_patch_all ................ Passed 0.00 sec + Start 51: test-meta_default +51/86 Test #51: test-meta_default ................... Passed 0.00 sec + Start 52: test-meta_all +52/86 Test #52: test-meta_all ....................... Passed 0.00 sec + Start 53: test-modifiers_default +53/86 Test #53: test-modifiers_default .............. Passed 0.01 sec + Start 54: test-modifiers_all +54/86 Test #54: test-modifiers_all .................. Passed 0.01 sec + Start 55: test-msgpack_default +55/86 Test #55: test-msgpack_default ................***Failed 1.77 sec + Start 56: test-msgpack_all +56/86 Test #56: test-msgpack_all ....................***Failed 33.86 sec + Start 57: test-noexcept_default +57/86 Test #57: test-noexcept_default ............... Passed 0.00 sec + Start 58: test-noexcept_all +58/86 Test #58: test-noexcept_all ................... Passed 0.00 sec + Start 59: test-pointer_access_default +59/86 Test #59: test-pointer_access_default ......... Passed 0.00 sec + Start 60: test-pointer_access_all +60/86 Test #60: test-pointer_access_all ............. Passed 0.00 sec + Start 61: test-readme_default +61/86 Test #61: test-readme_default ................. Passed 0.00 sec + Start 62: test-readme_all +62/86 Test #62: test-readme_all ..................... Passed 0.00 sec + Start 63: test-reference_access_default +63/86 Test #63: test-reference_access_default ....... Passed 0.00 sec + Start 64: test-reference_access_all +64/86 Test #64: test-reference_access_all ........... Passed 0.00 sec + Start 65: test-regression_default +65/86 Test #65: test-regression_default .............***Failed 4.43 sec + Start 66: test-regression_all +66/86 Test #66: test-regression_all .................***Failed 4.43 sec + Start 67: test-serialization_default +67/86 Test #67: test-serialization_default .......... Passed 0.00 sec + Start 68: test-serialization_all +68/86 Test #68: test-serialization_all .............. Passed 0.00 sec + Start 69: test-testsuites_default +69/86 Test #69: test-testsuites_default ............. Passed 0.07 sec + Start 70: test-testsuites_all +70/86 Test #70: test-testsuites_all ................. Passed 0.07 sec + Start 71: test-to_chars_default +71/86 Test #71: test-to_chars_default ............... Passed 0.00 sec + Start 72: test-to_chars_all +72/86 Test #72: test-to_chars_all ................... Passed 0.00 sec + Start 73: test-ubjson_default +73/86 Test #73: test-ubjson_default .................***Failed 0.90 sec + Start 74: test-ubjson_all +74/86 Test #74: test-ubjson_all .....................***Failed 9.63 sec + Start 75: test-udt_default +75/86 Test #75: test-udt_default .................... Passed 0.00 sec + Start 76: test-udt_all +76/86 Test #76: test-udt_all ........................ Passed 0.00 sec + Start 77: test-unicode_default +77/86 Test #77: test-unicode_default ................ Passed 0.00 sec + Start 78: test-unicode_all +78/86 Test #78: test-unicode_all .................... Passed 141.35 sec + Start 79: test-wstring_default +79/86 Test #79: test-wstring_default ................ Passed 0.00 sec + Start 80: test-wstring_all +80/86 Test #80: test-wstring_all .................... Passed 0.00 sec + Start 81: cmake_import_configure +81/86 Test #81: cmake_import_configure .............. Passed 0.61 sec + Start 82: cmake_import_build +82/86 Test #82: cmake_import_build .................. Passed 1.79 sec + Start 83: cmake_import_minver_configure +83/86 Test #83: cmake_import_minver_configure ....... Passed 0.61 sec + Start 84: cmake_import_minver_build +84/86 Test #84: cmake_import_minver_build ........... Passed 0.91 sec + Start 85: cmake_add_subdirectory_configure +85/86 Test #85: cmake_add_subdirectory_configure .... Passed 0.64 sec + Start 86: cmake_add_subdirectory_build +86/86 Test #86: cmake_add_subdirectory_build ........ Passed 1.82 sec + +91% tests passed, 8 tests failed out of 86 + +Label Time Summary: +all = 228.06 sec*proc (40 tests) +default = 13.96 sec*proc (40 tests) + +Total Test time (real) = 248.43 sec + +The following tests FAILED: + 9 - test-cbor_default (Failed) + 10 - test-cbor_all (Failed) + 55 - test-msgpack_default (Failed) + 56 - test-msgpack_all (Failed) + 65 - test-regression_default (Failed) + 66 - test-regression_all (Failed) + 73 - test-ubjson_default (Failed) + 74 - test-ubjson_all (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/fix.patch new file mode 100644 index 000000000..f85b5363c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/fix.patch @@ -0,0 +1,90 @@ +diff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp +index b93dc6a3..ab1d9244 100644 +--- a/include/nlohmann/detail/output/binary_writer.hpp ++++ b/include/nlohmann/detail/output/binary_writer.hpp +@@ -767,7 +767,7 @@ class binary_writer + } + else + { +- JSON_THROW(out_of_range::create(407, "number overflow serializing " + std::to_string(n))); ++ JSON_THROW(out_of_range::create(407, "number overflow serializing " + std::to_string(n) + "; UBJSON does not support unsigned integers beyond int64_t")); + } + } + +@@ -821,7 +821,7 @@ class binary_writer + // LCOV_EXCL_START + else + { +- JSON_THROW(out_of_range::create(407, "number overflow serializing " + std::to_string(n))); ++ JSON_THROW(out_of_range::create(407, "number overflow serializing " + std::to_string(n) + "; UBJSON does not support integers beyond int64_t")); + } + // LCOV_EXCL_STOP + } +@@ -833,7 +833,8 @@ class binary_writer + integer limits. In case a number exceeds the limits of int64_t, + this will be detected by a later call to function + write_number_with_ubjson_prefix. Therefore, we return 'L' for any +- value that does not fit the previous limits. ++ value that does not fit the previous limits. For unsigned integers, ++ this may lead to a later exception when the value exceeds int64_t. + */ + CharType ubjson_prefix(const BasicJsonType& j) const noexcept + { +@@ -885,7 +886,11 @@ class binary_writer + { + return 'l'; + } +- // no check and assume int64_t (see note above) ++ if (j.m_value.number_unsigned <= static_cast((std::numeric_limits::max)())) ++ { ++ return 'L'; ++ } ++ // overflow - value cannot be represented in UBJSON + return 'L'; + } + +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index dc206d30..e6e8038f 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -8670,7 +8670,7 @@ class binary_writer + } + else + { +- JSON_THROW(out_of_range::create(407, "number overflow serializing " + std::to_string(n))); ++ JSON_THROW(out_of_range::create(407, "number overflow serializing " + std::to_string(n) + "; UBJSON does not support unsigned integers beyond int64_t")); + } + } + +@@ -8724,7 +8724,7 @@ class binary_writer + // LCOV_EXCL_START + else + { +- JSON_THROW(out_of_range::create(407, "number overflow serializing " + std::to_string(n))); ++ JSON_THROW(out_of_range::create(407, "number overflow serializing " + std::to_string(n) + "; UBJSON does not support integers beyond int64_t")); + } + // LCOV_EXCL_STOP + } +@@ -8736,7 +8736,8 @@ class binary_writer + integer limits. In case a number exceeds the limits of int64_t, + this will be detected by a later call to function + write_number_with_ubjson_prefix. Therefore, we return 'L' for any +- value that does not fit the previous limits. ++ value that does not fit the previous limits. For unsigned integers, ++ this may lead to a later exception when the value exceeds int64_t. + */ + CharType ubjson_prefix(const BasicJsonType& j) const noexcept + { +@@ -8788,7 +8789,11 @@ class binary_writer + { + return 'l'; + } +- // no check and assume int64_t (see note above) ++ if (j.m_value.number_unsigned <= static_cast((std::numeric_limits::max)())) ++ { ++ return 'L'; ++ } ++ // overflow - value cannot be represented in UBJSON + return 'L'; + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/report.json new file mode 100644 index 000000000..d6c659ac9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1303/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1303, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (86, 0, 0)\n test = (78, 0, 0)\n fix = (78, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 86, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 78, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-readme_all", "test-serialization_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 78, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-class_iterator_default", "test-conversions_all", "test-iterators1_default", "test-noexcept_default", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-capacity_default", "test-items_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-readme_all", "test-serialization_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "cmake_import_build", "test-alt-string_all", "test-class_const_iterator_all", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-iterators2_all", "test-wstring_all", "test-unicode_all", "test-class_parser_all", "test-meta_default"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/fix-patch-run.log new file mode 100644 index 000000000..75b06a503 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/fix-patch-run.log @@ -0,0 +1,2961 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5670 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.4 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.5 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.nMkwnQu3 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.nMkwnQu3/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.nMkwnQu3/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.nMkwnQu3/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.nMkwnQu3/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.nMkwnQu3/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.nMkwnQu3 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=02d8b739bf33 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.iDPQD48YQx/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-serialization.cpp +patching file test/src/unit-unicode.cpp +patching file doc/examples/dump.cpp +patching file doc/examples/dump.output +patching file include/nlohmann/detail/exceptions.hpp +patching file include/nlohmann/detail/output/serializer.hpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +/home/json/test/src/unit-unicode.cpp: In function 'void check_utf8dump(bool, int, int, int, int)': +/home/json/test/src/unit-unicode.cpp:77:51: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>::error_handler_t' has not been declared + auto s_ignored = j.dump(-1, ' ', false, json::error_handler_t::ignore); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-unicode.cpp:78:53: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>::error_handler_t' has not been declared + auto s_ignored2 = j2.dump(-1, ' ', false, json::error_handler_t::ignore); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-unicode.cpp:79:56: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>::error_handler_t' has not been declared + auto s_ignored_ascii = j.dump(-1, ' ', true, json::error_handler_t::ignore); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-unicode.cpp:80:58: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>::error_handler_t' has not been declared + auto s_ignored2_ascii = j2.dump(-1, ' ', true, json::error_handler_t::ignore); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-unicode.cpp:81:52: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>::error_handler_t' has not been declared + auto s_replaced = j.dump(-1, ' ', false, json::error_handler_t::replace); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-unicode.cpp:82:54: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>::error_handler_t' has not been declared + auto s_replaced2 = j2.dump(-1, ' ', false, json::error_handler_t::replace); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-unicode.cpp:83:57: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>::error_handler_t' has not been declared + auto s_replaced_ascii = j.dump(-1, ' ', true, json::error_handler_t::replace); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-unicode.cpp:84:59: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>::error_handler_t' has not been declared + auto s_replaced2_ascii = j2.dump(-1, ' ', true, json::error_handler_t::replace); + ^~~~~~~~~~~~~~~ +make[2]: *** [test/CMakeFiles/test-unicode.dir/build.make:63: test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:1112: test/CMakeFiles/test-unicode.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: test-algorithms_default +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms + 1/86 Test #1: test-algorithms_default .............***Not Run 0.00 sec + Start 2: test-algorithms_all +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms + 2/86 Test #2: test-algorithms_all .................***Not Run 0.00 sec + Start 3: test-allocator_default +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator + 3/86 Test #3: test-allocator_default ..............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-allocator + Start 4: test-allocator_all +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +Unable to find executable: /home/json/build/test/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator + 4/86 Test #4: test-allocator_all ..................***Not Run 0.00 sec + Start 5: test-alt-string_default +Could not find executable /home/json/build/test/test-alt-string +Looked in the following places: +/home/json/build/test/test-alt-string +/home/json/build/test/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Development/test-alt-string +/home/json/build/test/Development/test-alt-string +home/json/build/test/test-alt-string +Unable to find executable: /home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Development/test-alt-string +home/json/build/test/Development/test-alt-string + 5/86 Test #5: test-alt-string_default .............***Not Run 0.00 sec + Start 6: test-alt-string_all +Could not find executable /home/json/build/test/test-alt-string +Looked in the following places: +/home/json/build/test/test-alt-string +/home/json/build/test/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Development/test-alt-string +/home/json/build/test/Development/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Development/test-alt-string +home/json/build/test/Development/test-alt-string + 6/86 Test #6: test-alt-string_all .................***Not Run 0.00 sec + Start 7: test-capacity_default +Unable to find executable: /home/json/build/test/test-alt-string +Could not find executable /home/json/build/test/test-capacity +Looked in the following places: +/home/json/build/test/test-capacity +/home/json/build/test/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Development/test-capacity +/home/json/build/test/Development/test-capacity +home/json/build/test/test-capacity +home/json/build/test/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Development/test-capacity +Unable to find executable: /home/json/build/test/test-capacity +home/json/build/test/Development/test-capacity + 7/86 Test #7: test-capacity_default ...............***Not Run 0.00 sec + Start 8: test-capacity_all +Could not find executable /home/json/build/test/test-capacity +Looked in the following places: +/home/json/build/test/test-capacity +/home/json/build/test/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Development/test-capacity +/home/json/build/test/Development/test-capacity +home/json/build/test/test-capacity +home/json/build/test/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Development/test-capacity +home/json/build/test/Development/test-capacity +Unable to find executable: /home/json/build/test/test-capacity + 8/86 Test #8: test-capacity_all ...................***Not Run 0.00 sec + Start 9: test-cbor_default +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +Unable to find executable: /home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor + 9/86 Test #9: test-cbor_default ...................***Not Run 0.00 sec + Start 10: test-cbor_all +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor +10/86 Test #10: test-cbor_all .......................***Not Run 0.00 sec + Start 11: test-class_const_iterator_default +Could not find executable /home/json/build/test/test-class_const_iterator +Looked in the following places: +/home/json/build/test/test-class_const_iterator +/home/json/build/test/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-cbor +/home/json/build/test/Release/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +11/86 Test #11: test-class_const_iterator_default ...***Not Run 0.00 sec + Start 12: test-class_const_iterator_all +Could not find executable /home/json/build/test/test-class_const_iterator +Looked in the following places: +/home/json/build/test/test-class_const_iterator +/home/json/build/test/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +12/86 Test #12: test-class_const_iterator_all .......***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-class_iterator + Start 13: test-class_iterator_default +Could not find executable /home/json/build/test/test-class_iterator +Looked in the following places: +/home/json/build/test/test-class_iterator +/home/json/build/test/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Development/test-class_iterator +/home/json/build/test/Development/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Development/test-class_iterator +home/json/build/test/Development/test-class_iterator +13/86 Test #13: test-class_iterator_default .........***Not Run 0.00 sec + Start 14: test-class_iterator_all +Could not find executable /home/json/build/test/test-class_iterator +Looked in the following places: +/home/json/build/test/test-class_iterator +/home/json/build/test/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Development/test-class_iterator +/home/json/build/test/Development/test-class_iterator +home/json/build/test/test-class_iterator +Unable to find executable: /home/json/build/test/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Development/test-class_iterator +home/json/build/test/Development/test-class_iterator +14/86 Test #14: test-class_iterator_all .............***Not Run 0.00 sec + Start 15: test-class_lexer_default +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +15/86 Test #15: test-class_lexer_default ............***Not Run 0.00 sec + Start 16: test-class_lexer_all +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Debug/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +16/86 Test #16: test-class_lexer_all ................***Not Run 0.00 sec + Start 17: test-class_parser_default +Could not find executable /home/json/build/test/test-class_parser +Looked in the following places: +/home/json/build/test/test-class_parser +/home/json/build/test/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Development/test-class_parser +/home/json/build/test/Development/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +Unable to find executable: /home/json/build/test/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Development/test-class_parser +home/json/build/test/Development/test-class_parser +17/86 Test #17: test-class_parser_default ...........***Not Run 0.00 sec + Start 18: test-class_parser_all +Could not find executable /home/json/build/test/test-class_parser +Unable to find executable: /home/json/build/test/test-class_parser +Looked in the following places: +/home/json/build/test/test-class_parser +/home/json/build/test/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Development/test-class_parser +/home/json/build/test/Development/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Development/test-class_parser +home/json/build/test/Development/test-class_parser +18/86 Test #18: test-class_parser_all ...............***Not Run 0.00 sec + Start 19: test-comparison_default +Could not find executable /home/json/build/test/test-comparison +Looked in the following places: +/home/json/build/test/test-comparison +/home/json/build/test/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Development/test-comparison +/home/json/build/test/Development/test-comparison +home/json/build/test/test-comparison +home/json/build/test/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +Unable to find executable: /home/json/build/test/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Development/test-comparison +home/json/build/test/Development/test-comparison +19/86 Test #19: test-comparison_default .............***Not Run 0.00 sec + Start 20: test-comparison_all +Could not find executable /home/json/build/test/test-comparison +Looked in the following places: +/home/json/build/test/test-comparison +/home/json/build/test/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Development/test-comparison +/home/json/build/test/Development/test-comparison +home/json/build/test/test-comparison +home/json/build/test/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Development/test-comparison +home/json/build/test/Development/test-comparison +Unable to find executable: /home/json/build/test/test-comparison +20/86 Test #20: test-comparison_all .................***Not Run 0.00 sec + Start 21: test-concepts_default +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +Unable to find executable: /home/json/build/test/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +21/86 Test #21: test-concepts_default ...............***Not Run 0.00 sec + Start 22: test-concepts_all +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +Unable to find executable: /home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +22/86 Test #22: test-concepts_all ...................***Not Run 0.00 sec + Start 23: test-constructor1_default +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +23/86 Test #23: test-constructor1_default ...........***Not Run 0.00 sec + Start 24: test-constructor1_all +Unable to find executable: /home/json/build/test/test-constructor1 +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +24/86 Test #24: test-constructor1_all ...............***Not Run 0.00 sec + Start 25: test-constructor2_default +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +25/86 Test #25: test-constructor2_default ...........***Not Run 0.00 sec + Start 26: test-constructor2_all +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +26/86 Test #26: test-constructor2_all ...............***Not Run 0.00 sec + Start 27: test-convenience_default +Could not find executable /home/json/build/test/test-convenience +Looked in the following places: +/home/json/build/test/test-convenience +/home/json/build/test/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Development/test-convenience +/home/json/build/test/Development/test-convenience +home/json/build/test/test-convenience +home/json/build/test/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Development/test-convenience +home/json/build/test/Development/test-convenience +27/86 Test #27: test-convenience_default ............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-convenience + Start 28: test-convenience_all +Could not find executable /home/json/build/test/test-convenience +Looked in the following places: +/home/json/build/test/test-convenience +/home/json/build/test/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Development/test-convenience +/home/json/build/test/Development/test-convenience +home/json/build/test/test-convenience +home/json/build/test/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Deployment/test-convenience +Unable to find executable: /home/json/build/test/test-convenience +home/json/build/test/Development/test-convenience +home/json/build/test/Development/test-convenience +28/86 Test #28: test-convenience_all ................***Not Run 0.00 sec + Start 29: test-conversions_default +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +29/86 Test #29: test-conversions_default ............***Not Run 0.00 sec + Start 30: test-conversions_all +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +30/86 Test #30: test-conversions_all ................***Not Run 0.00 sec + Start 31: test-deserialization_default +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +31/86 Test #31: test-deserialization_default ........***Not Run 0.00 sec + Start 32: test-deserialization_all +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +32/86 Test #32: test-deserialization_all ............***Not Run 0.00 sec + Start 33: test-element_access1_default +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +33/86 Test #33: test-element_access1_default ........***Not Run 0.00 sec + Start 34: test-element_access1_all +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +34/86 Test #34: test-element_access1_all ............***Not Run 0.00 sec + Start 35: test-element_access2_default +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +35/86 Test #35: test-element_access2_default ........***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-element_access2 + Start 36: test-element_access2_all +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access2 +36/86 Test #36: test-element_access2_all ............***Not Run 0.00 sec + Start 37: test-inspection_default +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +37/86 Test #37: test-inspection_default .............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-inspection + Start 38: test-inspection_all +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +38/86 Test #38: test-inspection_all .................***Not Run 0.00 sec + Start 39: test-items_default +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +Unable to find executable: /home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +39/86 Test #39: test-items_default ..................***Not Run 0.00 sec + Start 40: test-items_all +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +Unable to find executable: /home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +40/86 Test #40: test-items_all ......................***Not Run 0.00 sec + Start 41: test-iterators1_default +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +home/json/build/test/Development/test-iterators1 +41/86 Test #41: test-iterators1_default .............***Not Run 0.00 sec + Start 42: test-iterators1_all +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +42/86 Test #42: test-iterators1_all .................***Not Run 0.00 sec + Start 43: test-iterators2_default +Could not find executable /home/json/build/test/test-iterators2 +Looked in the following places: +/home/json/build/test/test-iterators2 +/home/json/build/test/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +Unable to find executable: /home/json/build/test/test-iterators2 +/home/json/build/test/Development/test-iterators2 +/home/json/build/test/Development/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Development/test-iterators2 +home/json/build/test/Development/test-iterators2 +43/86 Test #43: test-iterators2_default .............***Not Run 0.00 sec + Start 44: test-iterators2_all +Could not find executable /home/json/build/test/test-iterators2 +Looked in the following places: +/home/json/build/test/test-iterators2 +/home/json/build/test/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Development/test-iterators2 +/home/json/build/test/Development/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Debug/test-iterators2 +Unable to find executable: /home/json/build/test/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Development/test-iterators2 +home/json/build/test/Development/test-iterators2 +44/86 Test #44: test-iterators2_all .................***Not Run 0.00 sec + Start 45: test-json_patch_default +Could not find executable /home/json/build/test/test-json_patch +Looked in the following places: +/home/json/build/test/test-json_patch +/home/json/build/test/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Development/test-json_patch +/home/json/build/test/Development/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Development/test-json_patch +home/json/build/test/Development/test-json_patch +45/86 Test #45: test-json_patch_default .............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-json_patch + Start 46: test-json_patch_all +Could not find executable /home/json/build/test/test-json_patch +Looked in the following places: +/home/json/build/test/test-json_patch +/home/json/build/test/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Development/test-json_patch +/home/json/build/test/Development/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Development/test-json_patch +home/json/build/test/Development/test-json_patch +Unable to find executable: /home/json/build/test/test-json_patch +46/86 Test #46: test-json_patch_all .................***Not Run 0.00 sec + Start 47: test-json_pointer_default +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +47/86 Test #47: test-json_pointer_default ...........***Not Run 0.00 sec + Start 48: test-json_pointer_all +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +48/86 Test #48: test-json_pointer_all ...............***Not Run 0.00 sec + Start 49: test-merge_patch_default +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +49/86 Test #49: test-merge_patch_default ............***Not Run 0.00 sec + Start 50: test-merge_patch_all +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +50/86 Test #50: test-merge_patch_all ................***Not Run 0.00 sec + Start 51: test-meta_default +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +Unable to find executable: /home/json/build/test/test-meta +home/json/build/test/Development/test-meta +51/86 Test #51: test-meta_default ...................***Not Run 0.00 sec + Start 52: test-meta_all +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +Unable to find executable: /home/json/build/test/test-meta +52/86 Test #52: test-meta_all .......................***Not Run 0.00 sec + Start 53: test-modifiers_default +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +53/86 Test #53: test-modifiers_default ..............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-modifiers + Start 54: test-modifiers_all +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +Unable to find executable: /home/json/build/test/test-modifiers +54/86 Test #54: test-modifiers_all ..................***Not Run 0.00 sec + Start 55: test-msgpack_default +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +55/86 Test #55: test-msgpack_default ................***Not Run 0.00 sec + Start 56: test-msgpack_all +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +56/86 Test #56: test-msgpack_all ....................***Not Run 0.00 sec + Start 57: test-noexcept_default +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +Unable to find executable: /home/json/build/test/test-noexcept +/home/json/build/test/Development/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +57/86 Test #57: test-noexcept_default ...............***Not Run 0.00 sec + Start 58: test-noexcept_all +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +Unable to find executable: /home/json/build/test/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Development/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +58/86 Test #58: test-noexcept_all ...................***Not Run 0.00 sec + Start 59: test-pointer_access_default +Could not find executable /home/json/build/test/test-pointer_access +Looked in the following places: +/home/json/build/test/test-pointer_access +/home/json/build/test/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +Unable to find executable: /home/json/build/test/test-pointer_access +/home/json/build/test/Development/test-pointer_access +/home/json/build/test/Development/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Development/test-pointer_access +home/json/build/test/Development/test-pointer_access +59/86 Test #59: test-pointer_access_default .........***Not Run 0.00 sec + Start 60: test-pointer_access_all +Could not find executable /home/json/build/test/test-pointer_access +Looked in the following places: +/home/json/build/test/test-pointer_access +/home/json/build/test/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Development/test-pointer_access +Unable to find executable: /home/json/build/test/test-pointer_access +/home/json/build/test/Development/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Development/test-pointer_access +home/json/build/test/Development/test-pointer_access +60/86 Test #60: test-pointer_access_all .............***Not Run 0.00 sec + Start 61: test-readme_default +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +Unable to find executable: /home/json/build/test/test-readme +61/86 Test #61: test-readme_default .................***Not Run 0.00 sec + Start 62: test-readme_all +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +Unable to find executable: /home/json/build/test/test-readme +62/86 Test #62: test-readme_all .....................***Not Run 0.00 sec + Start 63: test-reference_access_default +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +Unable to find executable: /home/json/build/test/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +63/86 Test #63: test-reference_access_default .......***Not Run 0.00 sec + Start 64: test-reference_access_all +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +64/86 Test #64: test-reference_access_all ...........***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-reference_access + Start 65: test-regression_default +Could not find executable /home/json/build/test/test-regression +Looked in the following places: +/home/json/build/test/test-regression +/home/json/build/test/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Development/test-regression +/home/json/build/test/Development/test-regression +home/json/build/test/test-regression +home/json/build/test/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Development/test-regression +home/json/build/test/Development/test-regression +Unable to find executable: /home/json/build/test/test-regression +65/86 Test #65: test-regression_default .............***Not Run 0.00 sec + Start 66: test-regression_all +Could not find executable /home/json/build/test/test-regression +Looked in the following places: +/home/json/build/test/test-regression +/home/json/build/test/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Development/test-regression +/home/json/build/test/Development/test-regression +home/json/build/test/test-regression +home/json/build/test/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Development/test-regression +home/json/build/test/Development/test-regression +Unable to find executable: /home/json/build/test/test-regression +66/86 Test #66: test-regression_all .................***Not Run 0.00 sec + Start 67: test-serialization_default +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +67/86 Test #67: test-serialization_default ..........***Not Run 0.00 sec + Start 68: test-serialization_all +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +68/86 Test #68: test-serialization_all ..............***Not Run 0.00 sec + Start 69: test-testsuites_default +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +69/86 Test #69: test-testsuites_default .............***Not Run 0.00 sec + Start 70: test-testsuites_all +Unable to find executable: /home/json/build/test/test-testsuites +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +Unable to find executable: /home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +70/86 Test #70: test-testsuites_all .................***Not Run 0.00 sec + Start 71: test-to_chars_default +Could not find executable /home/json/build/test/test-to_chars +Looked in the following places: +/home/json/build/test/test-to_chars +/home/json/build/test/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Development/test-to_chars +/home/json/build/test/Development/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Development/test-to_chars +home/json/build/test/Development/test-to_chars +71/86 Test #71: test-to_chars_default ...............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-to_chars + Start 72: test-to_chars_all +Could not find executable /home/json/build/test/test-to_chars +Looked in the following places: +/home/json/build/test/test-to_chars +/home/json/build/test/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Deployment/test-to_chars +Unable to find executable: /home/json/build/test/test-to_chars +/home/json/build/test/Development/test-to_chars +/home/json/build/test/Development/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Development/test-to_chars +home/json/build/test/Development/test-to_chars +72/86 Test #72: test-to_chars_all ...................***Not Run 0.00 sec + Start 73: test-ubjson_default +Could not find executable /home/json/build/test/test-ubjson +Looked in the following places: +/home/json/build/test/test-ubjson +/home/json/build/test/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Development/test-ubjson +/home/json/build/test/Development/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Development/test-ubjson +home/json/build/test/Development/test-ubjson +73/86 Test #73: test-ubjson_default .................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-ubjson + Start 74: test-ubjson_all +Could not find executable /home/json/build/test/test-ubjson +Looked in the following places: +/home/json/build/test/test-ubjson +/home/json/build/test/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Development/test-ubjson +/home/json/build/test/Development/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/test-ubjson +Unable to find executable: /home/json/build/test/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Development/test-ubjson +home/json/build/test/Development/test-ubjson +74/86 Test #74: test-ubjson_all .....................***Not Run 0.00 sec + Start 75: test-udt_default +Could not find executable /home/json/build/test/test-udt +Looked in the following places: +/home/json/build/test/test-udt +/home/json/build/test/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Development/test-udt +/home/json/build/test/Development/test-udt +home/json/build/test/test-udt +home/json/build/test/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/Debug/test-udt +Unable to find executable: /home/json/build/test/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Development/test-udt +home/json/build/test/Development/test-udt +75/86 Test #75: test-udt_default ....................***Not Run 0.00 sec + Start 76: test-udt_all +Could not find executable /home/json/build/test/test-udt +Looked in the following places: +/home/json/build/test/test-udt +/home/json/build/test/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Development/test-udt +/home/json/build/test/Development/test-udt +home/json/build/test/test-udt +home/json/build/test/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Development/test-udt +Unable to find executable: /home/json/build/test/test-udt +home/json/build/test/Development/test-udt +76/86 Test #76: test-udt_all ........................***Not Run 0.00 sec + Start 77: test-unicode_default +Could not find executable /home/json/build/test/test-unicode +Looked in the following places: +/home/json/build/test/test-unicode +/home/json/build/test/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Development/test-unicode +/home/json/build/test/Development/test-unicode +home/json/build/test/test-unicode +home/json/build/test/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Development/test-unicode +home/json/build/test/Development/test-unicode +Unable to find executable: /home/json/build/test/test-unicode +77/86 Test #77: test-unicode_default ................***Not Run 0.00 sec + Start 78: test-unicode_all +Could not find executable /home/json/build/test/test-unicode +Looked in the following places: +/home/json/build/test/test-unicode +/home/json/build/test/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Development/test-unicode +/home/json/build/test/Development/test-unicode +home/json/build/test/test-unicode +home/json/build/test/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Release/test-unicode +Unable to find executable: /home/json/build/test/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Development/test-unicode +home/json/build/test/Development/test-unicode +78/86 Test #78: test-unicode_all ....................***Not Run 0.00 sec + Start 79: test-wstring_default +79/86 Test #79: test-wstring_default ................ Passed 0.00 sec + Start 80: test-wstring_all +80/86 Test #80: test-wstring_all .................... Passed 0.00 sec + Start 81: cmake_import_configure +81/86 Test #81: cmake_import_configure .............. Passed 0.61 sec + Start 82: cmake_import_build +82/86 Test #82: cmake_import_build .................. Passed 1.84 sec + Start 83: cmake_import_minver_configure +83/86 Test #83: cmake_import_minver_configure ....... Passed 0.61 sec + Start 84: cmake_import_minver_build +84/86 Test #84: cmake_import_minver_build ........... Passed 0.94 sec + Start 85: cmake_add_subdirectory_configure +85/86 Test #85: cmake_add_subdirectory_configure .... Passed 0.64 sec + Start 86: cmake_add_subdirectory_build +86/86 Test #86: cmake_add_subdirectory_build ........ Passed 1.83 sec + +9% tests passed, 78 tests failed out of 86 + +Label Time Summary: +all = 0.00 sec*proc (40 tests) +default = 0.00 sec*proc (40 tests) + +Total Test time (real) = 6.50 sec + +The following tests FAILED: + 1 - test-algorithms_default (Not Run) + 2 - test-algorithms_all (Not Run) + 3 - test-allocator_default (Not Run) + 4 - test-allocator_all (Not Run) + 5 - test-alt-string_default (Not Run) + 6 - test-alt-string_all (Not Run) + 7 - test-capacity_default (Not Run) + 8 - test-capacity_all (Not Run) + 9 - test-cbor_default (Not Run) + 10 - test-cbor_all (Not Run) + 11 - test-class_const_iterator_default (Not Run) + 12 - test-class_const_iterator_all (Not Run) + 13 - test-class_iterator_default (Not Run) + 14 - test-class_iterator_all (Not Run) + 15 - test-class_lexer_default (Not Run) + 16 - test-class_lexer_all (Not Run) + 17 - test-class_parser_default (Not Run) + 18 - test-class_parser_all (Not Run) + 19 - test-comparison_default (Not Run) + 20 - test-comparison_all (Not Run) + 21 - test-concepts_default (Not Run) + 22 - test-concepts_all (Not Run) + 23 - test-constructor1_default (Not Run) + 24 - test-constructor1_all (Not Run) + 25 - test-constructor2_default (Not Run) + 26 - test-constructor2_all (Not Run) + 27 - test-convenience_default (Not Run) + 28 - test-convenience_all (Not Run) + 29 - test-conversions_default (Not Run) + 30 - test-conversions_all (Not Run) + 31 - test-deserialization_default (Not Run) + 32 - test-deserialization_all (Not Run) + 33 - test-element_access1_default (Not Run) + 34 - test-element_access1_all (Not Run) + 35 - test-element_access2_default (Not Run) + 36 - test-element_access2_all (Not Run) + 37 - test-inspection_default (Not Run) + 38 - test-inspection_all (Not Run) + 39 - test-items_default (Not Run) + 40 - test-items_all (Not Run) + 41 - test-iterators1_default (Not Run) + 42 - test-iterators1_all (Not Run) + 43 - test-iterators2_default (Not Run) + 44 - test-iterators2_all (Not Run) + 45 - test-json_patch_default (Not Run) + 46 - test-json_patch_all (Not Run) + 47 - test-json_pointer_default (Not Run) + 48 - test-json_pointer_all (Not Run) + 49 - test-merge_patch_default (Not Run) + 50 - test-merge_patch_all (Not Run) + 51 - test-meta_default (Not Run) + 52 - test-meta_all (Not Run) + 53 - test-modifiers_default (Not Run) + 54 - test-modifiers_all (Not Run) + 55 - test-msgpack_default (Not Run) + 56 - test-msgpack_all (Not Run) + 57 - test-noexcept_default (Not Run) + 58 - test-noexcept_all (Not Run) + 59 - test-pointer_access_default (Not Run) + 60 - test-pointer_access_all (Not Run) + 61 - test-readme_default (Not Run) + 62 - test-readme_all (Not Run) + 63 - test-reference_access_default (Not Run) + 64 - test-reference_access_all (Not Run) + 65 - test-regression_default (Not Run) + 66 - test-regression_all (Not Run) + 67 - test-serialization_default (Not Run) + 68 - test-serialization_all (Not Run) + 69 - test-testsuites_default (Not Run) + 70 - test-testsuites_all (Not Run) + 71 - test-to_chars_default (Not Run) + 72 - test-to_chars_all (Not Run) + 73 - test-ubjson_default (Not Run) + 74 - test-ubjson_all (Not Run) + 75 - test-udt_default (Not Run) + 76 - test-udt_all (Not Run) + 77 - test-unicode_default (Not Run) + 78 - test-unicode_all (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/fix.patch new file mode 100644 index 000000000..dbe1ff05e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/fix.patch @@ -0,0 +1,266 @@ +diff --git a/doc/examples/dump.cpp b/doc/examples/dump.cpp +index 4deb64a1..8ad6beb6 100644 +--- a/doc/examples/dump.cpp ++++ b/doc/examples/dump.cpp +@@ -31,12 +31,5 @@ int main() + + // create JSON value with invalid UTF-8 byte sequence + json j_invalid = "\xF0\xA4\xAD\xC0"; +- try +- { +- std::cout << j_invalid.dump() << std::endl; +- } +- catch (json::type_error& e) +- { +- std::cout << e.what() << std::endl; +- } ++ std::cout << j_invalid.dump() << std::endl; + } +diff --git a/doc/examples/dump.output b/doc/examples/dump.output +index c94eeb02..331062dd 100644 +--- a/doc/examples/dump.output ++++ b/doc/examples/dump.output +@@ -50,4 +50,4 @@ arrays: + strings: + "Hellö 😀!" + "Hell\u00f6 \ud83d\ude00!" +-[json.exception.type_error.316] invalid UTF-8 byte at index 3: 0xC0 ++"\uFFFD\uFFFD" +diff --git a/include/nlohmann/detail/exceptions.hpp b/include/nlohmann/detail/exceptions.hpp +index dd046804..83ac236b 100644 +--- a/include/nlohmann/detail/exceptions.hpp ++++ b/include/nlohmann/detail/exceptions.hpp +@@ -235,7 +235,7 @@ json.exception.type_error.312 | cannot use update() with string | The @ref updat + json.exception.type_error.313 | invalid value to unflatten | The @ref unflatten function converts an object whose keys are JSON Pointers back into an arbitrary nested JSON value. The JSON Pointers must not overlap, because then the resulting value would not be well defined. + json.exception.type_error.314 | only objects can be unflattened | The @ref unflatten function only works for an object whose keys are JSON Pointers. + json.exception.type_error.315 | values in object must be primitive | The @ref unflatten function only works for an object whose keys are JSON Pointers and whose values are primitive. +-json.exception.type_error.316 | invalid UTF-8 byte at index 10: 0x7E | The @ref dump function only works with UTF-8 encoded strings; that is, if you assign a `std::string` to a JSON value, make sure it is UTF-8 encoded. | ++json.exception.type_error.316 | invalid UTF-8 byte at index 10: 0x7E | The @ref dump function replaces invalid UTF-8 bytes with the Unicode replacement character `\uFFFD`. This exception is no longer thrown. | + + @liveexample{The following code shows how a `type_error` exception can be + caught.,type_error} +diff --git a/include/nlohmann/detail/output/serializer.hpp b/include/nlohmann/detail/output/serializer.hpp +index bb74a86e..c8f601be 100644 +--- a/include/nlohmann/detail/output/serializer.hpp ++++ b/include/nlohmann/detail/output/serializer.hpp +@@ -286,6 +286,7 @@ class serializer + uint32_t codepoint; + uint8_t state = UTF8_ACCEPT; + std::size_t bytes = 0; // number of bytes written to string_buffer ++ std::size_t bytes_after_last_accept = 0; // number of bytes written after last accepted code point + + for (std::size_t i = 0; i < s.size(); ++i) + { +@@ -383,15 +384,50 @@ class serializer + { + o->write_characters(string_buffer.data(), bytes); + bytes = 0; ++ bytes_after_last_accept = 0; ++ } ++ else ++ { ++ bytes_after_last_accept = bytes; + } + break; + } + + case UTF8_REJECT: // decode found invalid UTF-8 byte + { +- std::string sn(3, '\0'); +- snprintf(&sn[0], sn.size(), "%.2X", byte); +- JSON_THROW(type_error::create(316, "invalid UTF-8 byte at index " + std::to_string(i) + ": 0x" + sn)); ++ // undo bytes that were part of the incomplete sequence ++ bytes = bytes_after_last_accept; ++ // write replacement character for invalid UTF-8 byte ++ string_buffer[bytes++] = '\\'; ++ string_buffer[bytes++] = 'u'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'D'; ++ // resync at the rejected byte: reset state and re-decode ++ state = UTF8_ACCEPT; ++ decode(state, codepoint, byte); ++ // if the byte itself is also rejected (e.g., a bare continuation byte), ++ // write another replacement character and skip it ++ if (state == UTF8_REJECT) ++ { ++ string_buffer[bytes++] = '\\'; ++ string_buffer[bytes++] = 'u'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'D'; ++ state = UTF8_ACCEPT; ++ } ++ bytes_after_last_accept = bytes; ++ // write buffer if needed ++ if (string_buffer.size() - bytes < 13) ++ { ++ o->write_characters(string_buffer.data(), bytes); ++ bytes = 0; ++ bytes_after_last_accept = 0; ++ } ++ break; + } + + default: // decode found yet incomplete multi-byte code point +@@ -417,9 +453,14 @@ class serializer + else + { + // we finish reading, but do not accept: string was incomplete +- std::string sn(3, '\0'); +- snprintf(&sn[0], sn.size(), "%.2X", static_cast(s.back())); +- JSON_THROW(type_error::create(316, "incomplete UTF-8 string; last byte: 0x" + sn)); ++ // undo bytes that were part of the incomplete sequence ++ bytes = bytes_after_last_accept; ++ // write buffer and replacement character for incomplete UTF-8 sequence ++ if (bytes > 0) ++ { ++ o->write_characters(string_buffer.data(), bytes); ++ } ++ o->write_characters("\\uFFFD", 6); + } + } + +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 619fd9e6..08983001 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -1935,8 +1935,8 @@ class basic_json + + @return string containing the serialization of the JSON value + +- @throw type_error.316 if a string stored inside the JSON value is not +- UTF-8 encoded ++ @note Invalid UTF-8 bytes in strings are replaced with the Unicode ++ replacement character `\uFFFD`. + + @complexity Linear. + +@@ -5916,8 +5916,8 @@ class basic_json + + @return the stream @a o + +- @throw type_error.316 if a string stored inside the JSON value is not +- UTF-8 encoded ++ @note Invalid UTF-8 bytes in strings are replaced with the Unicode ++ replacement character `\uFFFD`. + + @complexity Linear. + +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 1de78dfc..dbe18d36 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -977,7 +977,7 @@ json.exception.type_error.312 | cannot use update() with string | The @ref updat + json.exception.type_error.313 | invalid value to unflatten | The @ref unflatten function converts an object whose keys are JSON Pointers back into an arbitrary nested JSON value. The JSON Pointers must not overlap, because then the resulting value would not be well defined. + json.exception.type_error.314 | only objects can be unflattened | The @ref unflatten function only works for an object whose keys are JSON Pointers. + json.exception.type_error.315 | values in object must be primitive | The @ref unflatten function only works for an object whose keys are JSON Pointers and whose values are primitive. +-json.exception.type_error.316 | invalid UTF-8 byte at index 10: 0x7E | The @ref dump function only works with UTF-8 encoded strings; that is, if you assign a `std::string` to a JSON value, make sure it is UTF-8 encoded. | ++json.exception.type_error.316 | invalid UTF-8 byte at index 10: 0x7E | The @ref dump function replaces invalid UTF-8 bytes with the Unicode replacement character `\uFFFD`. This exception is no longer thrown. | + + @liveexample{The following code shows how a `type_error` exception can be + caught.,type_error} +@@ -10380,6 +10380,7 @@ class serializer + uint32_t codepoint; + uint8_t state = UTF8_ACCEPT; + std::size_t bytes = 0; // number of bytes written to string_buffer ++ std::size_t bytes_after_last_accept = 0; // number of bytes written after last accepted code point + + for (std::size_t i = 0; i < s.size(); ++i) + { +@@ -10477,15 +10478,50 @@ class serializer + { + o->write_characters(string_buffer.data(), bytes); + bytes = 0; ++ bytes_after_last_accept = 0; ++ } ++ else ++ { ++ bytes_after_last_accept = bytes; + } + break; + } + + case UTF8_REJECT: // decode found invalid UTF-8 byte + { +- std::string sn(3, '\0'); +- snprintf(&sn[0], sn.size(), "%.2X", byte); +- JSON_THROW(type_error::create(316, "invalid UTF-8 byte at index " + std::to_string(i) + ": 0x" + sn)); ++ // undo bytes that were part of the incomplete sequence ++ bytes = bytes_after_last_accept; ++ // write replacement character for invalid UTF-8 byte ++ string_buffer[bytes++] = '\\'; ++ string_buffer[bytes++] = 'u'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'D'; ++ // resync at the rejected byte: reset state and re-decode ++ state = UTF8_ACCEPT; ++ decode(state, codepoint, byte); ++ // if the byte itself is also rejected (e.g., a bare continuation byte), ++ // write another replacement character and skip it ++ if (state == UTF8_REJECT) ++ { ++ string_buffer[bytes++] = '\\'; ++ string_buffer[bytes++] = 'u'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'F'; ++ string_buffer[bytes++] = 'D'; ++ state = UTF8_ACCEPT; ++ } ++ bytes_after_last_accept = bytes; ++ // write buffer if needed ++ if (string_buffer.size() - bytes < 13) ++ { ++ o->write_characters(string_buffer.data(), bytes); ++ bytes = 0; ++ bytes_after_last_accept = 0; ++ } ++ break; + } + + default: // decode found yet incomplete multi-byte code point +@@ -10511,9 +10547,14 @@ class serializer + else + { + // we finish reading, but do not accept: string was incomplete +- std::string sn(3, '\0'); +- snprintf(&sn[0], sn.size(), "%.2X", static_cast(s.back())); +- JSON_THROW(type_error::create(316, "incomplete UTF-8 string; last byte: 0x" + sn)); ++ // undo bytes that were part of the incomplete sequence ++ bytes = bytes_after_last_accept; ++ // write buffer and replacement character for incomplete UTF-8 sequence ++ if (bytes > 0) ++ { ++ o->write_characters(string_buffer.data(), bytes); ++ } ++ o->write_characters("\\uFFFD", 6); + } + } + +@@ -13419,8 +13460,8 @@ class basic_json + + @return string containing the serialization of the JSON value + +- @throw type_error.316 if a string stored inside the JSON value is not +- UTF-8 encoded ++ @note Invalid UTF-8 bytes in strings are replaced with the Unicode ++ replacement character `\uFFFD`. + + @complexity Linear. + +@@ -17400,8 +17441,8 @@ class basic_json + + @return the stream @a o + +- @throw type_error.316 if a string stored inside the JSON value is not +- UTF-8 encoded ++ @note Invalid UTF-8 bytes in strings are replaced with the Unicode ++ replacement character `\uFFFD`. + + @complexity Linear. + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/report.json new file mode 100644 index 000000000..3f4a05a01 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1314/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1314, "valid": true, "error_msg": "", "fixed_tests": {"cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 86, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 8, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-wstring_all", "cmake_import_build", "test-wstring_default", "cmake_import_configure", "cmake_import_minver_build", "cmake_import_minver_configure", "cmake_add_subdirectory_configure", "cmake_add_subdirectory_build"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/fix-patch-run.log new file mode 100644 index 000000000..8b0fc9923 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/fix-patch-run.log @@ -0,0 +1,1396 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5817 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.7 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.3 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.feY0gqdi +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.feY0gqdi/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.feY0gqdi/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.feY0gqdi/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.feY0gqdi/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.feY0gqdi/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.feY0gqdi +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=12061bd0c01d +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.rBWnpH7BNo/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-conversions.cpp +patching file include/nlohmann/detail/macro_scope.hpp +patching file include/nlohmann/json.hpp +patching file include/nlohmann/multi_bimap.hpp +patching file single_include/nlohmann/json.hpp +patching file test_enum2.cpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 10%] Linking CXX executable test-ubjson +[ 10%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-convenience +[ 14%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 15%] Linking CXX executable test-convenience +[ 15%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 19%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 20%] Linking CXX executable test-class_parser +[ 20%] Built target test-class_parser +Scanning dependencies of target test-testsuites +[ 21%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 22%] Linking CXX executable test-testsuites +[ 22%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +Scanning dependencies of target test-class_const_iterator +[ 26%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 27%] Linking CXX executable test-class_const_iterator +[ 27%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 28%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 30%] Linking CXX executable test-json_patch +[ 30%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 31%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 32%] Linking CXX executable test-noexcept +[ 32%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 33%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 34%] Linking CXX executable test-pointer_access +[ 34%] Built target test-pointer_access +Scanning dependencies of target test-class_lexer +[ 36%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 37%] Linking CXX executable test-class_lexer +[ 37%] Built target test-class_lexer +Scanning dependencies of target test-bson +[ 38%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 39%] Linking CXX executable test-bson +[ 39%] Built target test-bson +Scanning dependencies of target test-cbor +[ 40%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 42%] Linking CXX executable test-cbor +[ 42%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 43%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 44%] Linking CXX executable test-algorithms +[ 44%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 45%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 46%] Linking CXX executable test-element_access2 +[ 46%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 48%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 49%] Linking CXX executable test-comparison +[ 49%] Built target test-comparison +Scanning dependencies of target test-regression +[ 50%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 51%] Linking CXX executable test-regression +[ 51%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 53%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 54%] Linking CXX executable test-json_pointer +[ 54%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 55%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 56%] Linking CXX executable test-modifiers +[ 56%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 57%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 59%] Linking CXX executable test-allocator +[ 59%] Built target test-allocator +Scanning dependencies of target test-items +[ 60%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 61%] Linking CXX executable test-items +[ 61%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 62%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 63%] Linking CXX executable test-constructor2 +[ 63%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 65%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 66%] Linking CXX executable test-alt-string +[ 66%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 67%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 68%] Linking CXX executable test-iterators2 +[ 68%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 69%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 71%] Linking CXX executable test-capacity +[ 71%] Built target test-capacity +Scanning dependencies of target test-conversions +[ 72%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +/home/json/test/src/unit-conversions.cpp:1375:1: error: expected identifier before '{' token + { + ^ +/home/json/test/src/unit-conversions.cpp:1375:1: error: expected ')' before '{' token +/home/json/test/src/unit-conversions.cpp:1375:1: error: ISO C++ forbids declaration of 'NLOHMANN_JSON_SERIALIZE_ENUM' with no type [-fpermissive] +/home/json/test/src/unit-conversions.cpp: In function 'int NLOHMANN_JSON_SERIALIZE_ENUM(cards, int)': +/home/json/test/src/unit-conversions.cpp:1376:27: error: expected ';' before '}' token + {cards::kreuz, "kreuz"}, + ^ +/home/json/test/src/unit-conversions.cpp:1376:28: error: expected primary-expression before ',' token + {cards::kreuz, "kreuz"}, + ^ +/home/json/test/src/unit-conversions.cpp:1377:5: error: expected primary-expression before '{' token + {cards::pik, "pik"}, + ^ +/home/json/test/src/unit-conversions.cpp:1377:24: error: expected primary-expression before ',' token + {cards::pik, "pik"}, + ^ +/home/json/test/src/unit-conversions.cpp:1378:5: error: expected primary-expression before '{' token + {cards::pik, "puk"}, // second entry for cards::puk; will not be used + ^ +/home/json/test/src/unit-conversions.cpp:1378:24: error: expected primary-expression before ',' token + {cards::pik, "puk"}, // second entry for cards::puk; will not be used + ^ +/home/json/test/src/unit-conversions.cpp:1379:5: error: expected primary-expression before '{' token + {cards::herz, "herz"}, + ^ +/home/json/test/src/unit-conversions.cpp:1379:26: error: expected primary-expression before ',' token + {cards::herz, "herz"}, + ^ +/home/json/test/src/unit-conversions.cpp:1380:5: error: expected primary-expression before '{' token + {cards::karo, "karo"} + ^ +/home/json/test/src/unit-conversions.cpp: At global scope: +/home/json/test/src/unit-conversions.cpp:1381:2: error: expected unqualified-id before ')' token + }); + ^ +/home/json/test/src/unit-conversions.cpp:1392:1: error: expected identifier before '{' token + { + ^ +/home/json/test/src/unit-conversions.cpp:1392:1: error: expected ')' before '{' token +/home/json/test/src/unit-conversions.cpp:1392:1: error: ISO C++ forbids declaration of 'NLOHMANN_JSON_SERIALIZE_ENUM' with no type [-fpermissive] +/home/json/test/src/unit-conversions.cpp: In function 'int NLOHMANN_JSON_SERIALIZE_ENUM(TaskState, int)': +/home/json/test/src/unit-conversions.cpp:1393:25: error: expected ';' before '}' token + {TS_INVALID, nullptr}, + ^ +/home/json/test/src/unit-conversions.cpp:1393:26: error: expected primary-expression before ',' token + {TS_INVALID, nullptr}, + ^ +/home/json/test/src/unit-conversions.cpp:1394:5: error: expected primary-expression before '{' token + {TS_STOPPED, "stopped"}, + ^ +/home/json/test/src/unit-conversions.cpp:1394:28: error: expected primary-expression before ',' token + {TS_STOPPED, "stopped"}, + ^ +/home/json/test/src/unit-conversions.cpp:1395:5: error: expected primary-expression before '{' token + {TS_RUNNING, "running"}, + ^ +/home/json/test/src/unit-conversions.cpp:1395:28: error: expected primary-expression before ',' token + {TS_RUNNING, "running"}, + ^ +/home/json/test/src/unit-conversions.cpp:1396:5: error: expected primary-expression before '{' token + {TS_COMPLETED, "completed"}, + ^ +/home/json/test/src/unit-conversions.cpp:1396:32: error: expected primary-expression before ',' token + {TS_COMPLETED, "completed"}, + ^ +/home/json/test/src/unit-conversions.cpp:1397:1: error: expected primary-expression before '}' token + }); + ^ +/home/json/test/src/unit-conversions.cpp: At global scope: +/home/json/test/src/unit-conversions.cpp:1397:2: error: expected unqualified-id before ')' token + }); + ^ +make[2]: *** [test/CMakeFiles/test-conversions.dir/build.make:63: test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:2187: test/CMakeFiles/test-conversions.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: test-algorithms_default + 1/88 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/88 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/88 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/88 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/88 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/88 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-bson_default + 7/88 Test #7: test-bson_default ................... Passed 0.00 sec + Start 8: test-bson_all + 8/88 Test #8: test-bson_all ....................... Passed 0.01 sec + Start 9: test-capacity_default + 9/88 Test #9: test-capacity_default ............... Passed 0.00 sec + Start 10: test-capacity_all +10/88 Test #10: test-capacity_all ................... Passed 0.00 sec + Start 11: test-cbor_default +11/88 Test #11: test-cbor_default ................... Passed 2.07 sec + Start 12: test-cbor_all +12/88 Test #12: test-cbor_all ....................... Passed 34.36 sec + Start 13: test-class_const_iterator_default +13/88 Test #13: test-class_const_iterator_default ... Passed 0.00 sec + Start 14: test-class_const_iterator_all +14/88 Test #14: test-class_const_iterator_all ....... Passed 0.00 sec + Start 15: test-class_iterator_default +15/88 Test #15: test-class_iterator_default ......... Passed 0.00 sec + Start 16: test-class_iterator_all +16/88 Test #16: test-class_iterator_all ............. Passed 0.00 sec + Start 17: test-class_lexer_default +17/88 Test #17: test-class_lexer_default ............ Passed 0.00 sec + Start 18: test-class_lexer_all +18/88 Test #18: test-class_lexer_all ................ Passed 0.00 sec + Start 19: test-class_parser_default +19/88 Test #19: test-class_parser_default ........... Passed 0.09 sec + Start 20: test-class_parser_all +20/88 Test #20: test-class_parser_all ............... Passed 0.09 sec + Start 21: test-comparison_default +21/88 Test #21: test-comparison_default ............. Passed 0.01 sec + Start 22: test-comparison_all +22/88 Test #22: test-comparison_all ................. Passed 0.01 sec + Start 23: test-concepts_default +23/88 Test #23: test-concepts_default ............... Passed 0.00 sec + Start 24: test-concepts_all +24/88 Test #24: test-concepts_all ................... Passed 0.00 sec + Start 25: test-constructor1_default +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +25/88 Test #25: test-constructor1_default ...........***Not Run 0.00 sec + Start 26: test-constructor1_all +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +26/88 Test #26: test-constructor1_all ...............***Not Run 0.00 sec + Start 27: test-constructor2_default +27/88 Test #27: test-constructor2_default ........... Passed 0.00 sec + Start 28: test-constructor2_all +28/88 Test #28: test-constructor2_all ............... Passed 0.00 sec + Start 29: test-convenience_default +29/88 Test #29: test-convenience_default ............ Passed 0.00 sec + Start 30: test-convenience_all +30/88 Test #30: test-convenience_all ................ Passed 0.00 sec + Start 31: test-conversions_default +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +31/88 Test #31: test-conversions_default ............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-conversions + Start 32: test-conversions_all +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +32/88 Test #32: test-conversions_all ................***Not Run 0.00 sec + Start 33: test-deserialization_default +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +33/88 Test #33: test-deserialization_default ........***Not Run 0.00 sec + Start 34: test-deserialization_all +Unable to find executable: /home/json/build/test/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +34/88 Test #34: test-deserialization_all ............***Not Run 0.00 sec + Start 35: test-element_access1_default +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +35/88 Test #35: test-element_access1_default ........***Not Run 0.00 sec + Start 36: test-element_access1_all +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +36/88 Test #36: test-element_access1_all ............***Not Run 0.00 sec + Start 37: test-element_access2_default +37/88 Test #37: test-element_access2_default ........ Passed 0.01 sec + Start 38: test-element_access2_all +38/88 Test #38: test-element_access2_all ............ Passed 0.01 sec + Start 39: test-inspection_default +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +39/88 Test #39: test-inspection_default .............***Not Run 0.00 sec + Start 40: test-inspection_all +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +40/88 Test #40: test-inspection_all .................***Not Run 0.00 sec + Start 41: test-items_default +41/88 Test #41: test-items_default .................. Passed 0.00 sec + Start 42: test-items_all +42/88 Test #42: test-items_all ...................... Passed 0.00 sec + Start 43: test-iterators1_default +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +43/88 Test #43: test-iterators1_default .............***Not Run 0.00 sec + Start 44: test-iterators1_all +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +44/88 Test #44: test-iterators1_all .................***Not Run 0.00 sec + Start 45: test-iterators2_default +45/88 Test #45: test-iterators2_default ............. Passed 0.03 sec + Start 46: test-iterators2_all +46/88 Test #46: test-iterators2_all ................. Passed 0.03 sec + Start 47: test-json_patch_default +47/88 Test #47: test-json_patch_default ............. Passed 0.01 sec + Start 48: test-json_patch_all +48/88 Test #48: test-json_patch_all ................. Passed 0.01 sec + Start 49: test-json_pointer_default +49/88 Test #49: test-json_pointer_default ........... Passed 0.00 sec + Start 50: test-json_pointer_all +50/88 Test #50: test-json_pointer_all ............... Passed 0.00 sec + Start 51: test-merge_patch_default +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +51/88 Test #51: test-merge_patch_default ............***Not Run 0.00 sec + Start 52: test-merge_patch_all +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +52/88 Test #52: test-merge_patch_all ................***Not Run 0.00 sec + Start 53: test-meta_default +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +Unable to find executable: /home/json/build/test/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +53/88 Test #53: test-meta_default ...................***Not Run 0.00 sec + Start 54: test-meta_all +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +Unable to find executable: /home/json/build/test/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +54/88 Test #54: test-meta_all .......................***Not Run 0.00 sec + Start 55: test-modifiers_default +55/88 Test #55: test-modifiers_default .............. Passed 0.01 sec + Start 56: test-modifiers_all +56/88 Test #56: test-modifiers_all .................. Passed 0.01 sec + Start 57: test-msgpack_default +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +57/88 Test #57: test-msgpack_default ................***Not Run 0.00 sec + Start 58: test-msgpack_all +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +58/88 Test #58: test-msgpack_all ....................***Not Run 0.00 sec + Start 59: test-noexcept_default +59/88 Test #59: test-noexcept_default ............... Passed 0.00 sec + Start 60: test-noexcept_all +60/88 Test #60: test-noexcept_all ................... Passed 0.00 sec + Start 61: test-pointer_access_default +61/88 Test #61: test-pointer_access_default ......... Passed 0.00 sec + Start 62: test-pointer_access_all +62/88 Test #62: test-pointer_access_all ............. Passed 0.00 sec + Start 63: test-readme_default +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +63/88 Test #63: test-readme_default .................***Not Run 0.00 sec + Start 64: test-readme_all +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +Unable to find executable: /home/json/build/test/test-readme +Unable to find executable: /home/json/build/test/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +64/88 Test #64: test-readme_all .....................***Not Run 0.00 sec + Start 65: test-reference_access_default +Unable to find executable: /home/json/build/test/test-reference_access +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +65/88 Test #65: test-reference_access_default .......***Not Run 0.00 sec + Start 66: test-reference_access_all +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +Unable to find executable: /home/json/build/test/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +66/88 Test #66: test-reference_access_all ...........***Not Run 0.00 sec + Start 67: test-regression_default +67/88 Test #67: test-regression_default ............. Passed 4.53 sec + Start 68: test-regression_all +68/88 Test #68: test-regression_all ................. Passed 4.54 sec + Start 69: test-serialization_default +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +69/88 Test #69: test-serialization_default ..........***Not Run 0.00 sec + Start 70: test-serialization_all +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +70/88 Test #70: test-serialization_all ..............***Not Run 0.00 sec + Start 71: test-testsuites_default +71/88 Test #71: test-testsuites_default ............. Passed 0.07 sec + Start 72: test-testsuites_all +72/88 Test #72: test-testsuites_all ................. Passed 0.07 sec + Start 73: test-to_chars_default +73/88 Test #73: test-to_chars_default ............... Passed 0.00 sec + Start 74: test-to_chars_all +74/88 Test #74: test-to_chars_all ................... Passed 0.00 sec + Start 75: test-ubjson_default +75/88 Test #75: test-ubjson_default ................. Passed 0.92 sec + Start 76: test-ubjson_all +76/88 Test #76: test-ubjson_all ..................... Passed 9.69 sec + Start 77: test-udt_default +77/88 Test #77: test-udt_default .................... Passed 0.00 sec + Start 78: test-udt_all +78/88 Test #78: test-udt_all ........................ Passed 0.00 sec + Start 79: test-unicode_default +79/88 Test #79: test-unicode_default ................ Passed 0.00 sec + Start 80: test-unicode_all +80/88 Test #80: test-unicode_all .................... Passed 326.26 sec + Start 81: test-wstring_default +81/88 Test #81: test-wstring_default ................ Passed 0.00 sec + Start 82: test-wstring_all +82/88 Test #82: test-wstring_all .................... Passed 0.00 sec + Start 83: cmake_import_configure +83/88 Test #83: cmake_import_configure .............. Passed 0.63 sec + Start 84: cmake_import_build +84/88 Test #84: cmake_import_build .................. Passed 1.90 sec + Start 85: cmake_import_minver_configure +85/88 Test #85: cmake_import_minver_configure ....... Passed 0.63 sec + Start 86: cmake_import_minver_build +86/88 Test #86: cmake_import_minver_build ........... Passed 0.96 sec + Start 87: cmake_add_subdirectory_configure +87/88 Test #87: cmake_add_subdirectory_configure .... Passed 0.65 sec + Start 88: cmake_add_subdirectory_build +88/88 Test #88: cmake_add_subdirectory_build ........ Passed 1.90 sec + +73% tests passed, 24 tests failed out of 88 + +Label Time Summary: +all = 375.12 sec*proc (41 tests) +default = 7.80 sec*proc (41 tests) + +Total Test time (real) = 389.61 sec + +The following tests FAILED: + 25 - test-constructor1_default (Not Run) + 26 - test-constructor1_all (Not Run) + 31 - test-conversions_default (Not Run) + 32 - test-conversions_all (Not Run) + 33 - test-deserialization_default (Not Run) + 34 - test-deserialization_all (Not Run) + 35 - test-element_access1_default (Not Run) + 36 - test-element_access1_all (Not Run) + 39 - test-inspection_default (Not Run) + 40 - test-inspection_all (Not Run) + 43 - test-iterators1_default (Not Run) + 44 - test-iterators1_all (Not Run) + 51 - test-merge_patch_default (Not Run) + 52 - test-merge_patch_all (Not Run) + 53 - test-meta_default (Not Run) + 54 - test-meta_all (Not Run) + 57 - test-msgpack_default (Not Run) + 58 - test-msgpack_all (Not Run) + 63 - test-readme_default (Not Run) + 64 - test-readme_all (Not Run) + 65 - test-reference_access_default (Not Run) + 66 - test-reference_access_all (Not Run) + 69 - test-serialization_default (Not Run) + 70 - test-serialization_all (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/fix.patch new file mode 100644 index 000000000..a2acdac74 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/fix.patch @@ -0,0 +1,199 @@ +diff --git a/include/nlohmann/detail/macro_scope.hpp b/include/nlohmann/detail/macro_scope.hpp +index 06805b1a..d65abcd5 100644 +--- a/include/nlohmann/detail/macro_scope.hpp ++++ b/include/nlohmann/detail/macro_scope.hpp +@@ -102,3 +102,17 @@ + basic_json ++ ++#define JSON_SERIALIZE_ENUM(ENUM_TYPE, ...) \ ++ inline void to_json(nlohmann::json& j, const ENUM_TYPE& e) \ ++ { \ ++ static const nlohmann::multi_bimap m = \ ++ __VA_ARGS__; \ ++ j = m.at_right(e); \ ++ } \ ++ inline void from_json(const nlohmann::json& j, ENUM_TYPE& e) \ ++ { \ ++ static const nlohmann::multi_bimap m = \ ++ __VA_ARGS__; \ ++ e = m.at_left(j); \ ++ } +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 0a46d0c2..f36e3436 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -69,6 +69,7 @@ SOFTWARE. + #include + #include + #include ++#include + + /*! + @brief namespace for Niels Lohmann +diff --git a/include/nlohmann/multi_bimap.hpp b/include/nlohmann/multi_bimap.hpp +new file mode 100644 +index 00000000..613e7335 +--- /dev/null ++++ b/include/nlohmann/multi_bimap.hpp +@@ -0,0 +1,48 @@ ++#pragma once ++ ++#include ++#include ++ ++namespace nlohmann ++{ ++template ++class multi_bimap ++{ ++ public: ++ using left_type = TL; ++ using right_type = TR; ++ using value_type = std::pair; ++ using container_type = std::vector; ++ ++ multi_bimap(std::initializer_list init) ++ : m_pairs(init) ++ {} ++ ++ right_type at_right(const left_type& key) const ++ { ++ for (const auto& p : m_pairs) ++ { ++ if (p.first == key) ++ { ++ return p.second; ++ } ++ } ++ return m_pairs.empty() ? right_type{} : m_pairs.front().second; ++ } ++ ++ left_type at_left(const right_type& key) const ++ { ++ for (const auto& p : m_pairs) ++ { ++ if (p.second == key) ++ { ++ return p.first; ++ } ++ } ++ return m_pairs.empty() ? left_type{} : m_pairs.front().first; ++ } ++ ++ private: ++ container_type m_pairs; ++}; ++} +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 79f74e4c..94e7c38e 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -218,6 +218,20 @@ using json = basic_json<>; + NumberIntegerType, NumberUnsignedType, NumberFloatType, \ + AllocatorType, JSONSerializer> + ++#define JSON_SERIALIZE_ENUM(ENUM_TYPE, ...) \ ++ inline void to_json(nlohmann::json& j, const ENUM_TYPE& e) \ ++ { \ ++ static const nlohmann::multi_bimap m = \ ++ __VA_ARGS__; \ ++ j = m.at_right(e); \ ++ } \ ++ inline void from_json(const nlohmann::json& j, ENUM_TYPE& e) \ ++ { \ ++ static const nlohmann::multi_bimap m = \ ++ __VA_ARGS__; \ ++ e = m.at_left(j); \ ++ } ++ + // #include + + +@@ -12262,6 +12276,56 @@ struct adl_serializer + }; + } // namespace nlohmann + ++// #include ++ ++ ++#include ++#include ++ ++namespace nlohmann ++{ ++template ++class multi_bimap ++{ ++ public: ++ using left_type = TL; ++ using right_type = TR; ++ using value_type = std::pair; ++ using container_type = std::vector; ++ ++ multi_bimap(std::initializer_list init) ++ : m_pairs(init) ++ {} ++ ++ right_type at_right(const left_type& key) const ++ { ++ for (const auto& p : m_pairs) ++ { ++ if (p.first == key) ++ { ++ return p.second; ++ } ++ } ++ return m_pairs.empty() ? right_type{} : m_pairs.front().second; ++ } ++ ++ left_type at_left(const right_type& key) const ++ { ++ for (const auto& p : m_pairs) ++ { ++ if (p.second == key) ++ { ++ return p.first; ++ } ++ } ++ return m_pairs.empty() ? left_type{} : m_pairs.front().first; ++ } ++ ++ private: ++ container_type m_pairs; ++}; ++} ++ + + /*! + @brief namespace for Niels Lohmann +diff --git a/test_enum2.cpp b/test_enum2.cpp +new file mode 100644 +index 00000000..2bb6d64c +--- /dev/null ++++ b/test_enum2.cpp +@@ -0,0 +1,23 @@ ++#include ++#include ++ ++enum TaskState { ++ TS_STOPPED, ++ TS_RUNNING, ++ TS_COMPLETED, ++ TS_INVALID=-1, ++}; ++ ++JSON_SERIALIZE_ENUM( TaskState, ({ ++ {TS_INVALID, nullptr}, ++ {TS_STOPPED, "stopped"}, ++ {TS_RUNNING, "running"}, ++ {TS_COMPLETED, "completed"}, ++})) ++ ++int main() ++{ ++ nlohmann::json j = TS_STOPPED; ++ std::cout << j << std::endl; ++ return 0; ++} diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/report.json new file mode 100644 index 000000000..97657819e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1323/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1323, "valid": true, "error_msg": "", "fixed_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 64, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-alt-string_default", "test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-class_lexer_all", "test-class_iterator_default", "test-allocator_all", "test-element_access2_all", "test-noexcept_default", "test-pointer_access_default", "test-json_patch_default", "test-modifiers_all", "test-json_pointer_all", "test-cbor_all", "test-capacity_all", "test-bson_all", "test-comparison_default", "test-concepts_default", "test-to_chars_all", "test-noexcept_all", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-algorithms_default", "test-alt-string_all", "test-cbor_default", "test-class_const_iterator_all", "test-capacity_default", "test-items_all", "test-json_pointer_default", "test-modifiers_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-bson_default", "test-convenience_all", "test-constructor2_all", "cmake_import_configure", "test-unicode_default", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-json_patch_all", "test-udt_all", "test-wstring_all", "test-allocator_default", "test-unicode_all", "test-class_parser_all", "test-constructor2_default", "test-items_default", "test-ubjson_default", "test-udt_default", "test-regression_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/fix-patch-run.log new file mode 100644 index 000000000..a58b3fb69 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/fix-patch-run.log @@ -0,0 +1,593 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5602 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.5 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.3 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.bynCiHqp +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.bynCiHqp/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.bynCiHqp/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.bynCiHqp/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.bynCiHqp/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.bynCiHqp/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.bynCiHqp +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=e054439a6ece +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.V0GU6bH726/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-regression.cpp +patching file include/nlohmann/detail/input/input_adapters.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 10%] Linking CXX executable test-ubjson +[ 10%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-convenience +[ 14%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 15%] Linking CXX executable test-convenience +[ 15%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 19%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 20%] Linking CXX executable test-class_parser +[ 20%] Built target test-class_parser +Scanning dependencies of target test-testsuites +[ 21%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 22%] Linking CXX executable test-testsuites +[ 22%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +Scanning dependencies of target test-class_const_iterator +[ 26%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 27%] Linking CXX executable test-class_const_iterator +[ 27%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 28%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 30%] Linking CXX executable test-json_patch +[ 30%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 31%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 32%] Linking CXX executable test-noexcept +[ 32%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 33%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 34%] Linking CXX executable test-pointer_access +[ 34%] Built target test-pointer_access +Scanning dependencies of target test-class_lexer +[ 36%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 37%] Linking CXX executable test-class_lexer +[ 37%] Built target test-class_lexer +Scanning dependencies of target test-bson +[ 38%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 39%] Linking CXX executable test-bson +[ 39%] Built target test-bson +Scanning dependencies of target test-cbor +[ 40%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 42%] Linking CXX executable test-cbor +[ 42%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 43%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 44%] Linking CXX executable test-algorithms +[ 44%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 45%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 46%] Linking CXX executable test-element_access2 +[ 46%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 48%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 49%] Linking CXX executable test-comparison +[ 49%] Built target test-comparison +Scanning dependencies of target test-regression +[ 50%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 51%] Linking CXX executable test-regression +[ 51%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 53%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 54%] Linking CXX executable test-json_pointer +[ 54%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 55%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 56%] Linking CXX executable test-modifiers +[ 56%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 57%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 59%] Linking CXX executable test-allocator +[ 59%] Built target test-allocator +Scanning dependencies of target test-items +[ 60%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 61%] Linking CXX executable test-items +[ 61%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 62%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 63%] Linking CXX executable test-constructor2 +[ 63%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 65%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 66%] Linking CXX executable test-alt-string +[ 66%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 67%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 68%] Linking CXX executable test-iterators2 +[ 68%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 69%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 71%] Linking CXX executable test-capacity +[ 71%] Built target test-capacity +Scanning dependencies of target test-conversions +[ 72%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 73%] Linking CXX executable test-conversions +[ 73%] Built target test-conversions +Scanning dependencies of target test-constructor1 +[ 74%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 75%] Linking CXX executable test-constructor1 +[ 75%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 77%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 78%] Linking CXX executable test-deserialization +[ 78%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 79%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 80%] Linking CXX executable test-reference_access +[ 80%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 81%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 83%] Linking CXX executable test-element_access1 +[ 83%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 84%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 85%] Linking CXX executable test-meta +[ 85%] Built target test-meta +Scanning dependencies of target test-inspection +[ 86%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 87%] Linking CXX executable test-inspection +[ 87%] Built target test-inspection +Scanning dependencies of target test-readme +[ 89%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 90%] Linking CXX executable test-readme +[ 90%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 91%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 92%] Linking CXX executable test-iterators1 +[ 92%] Built target test-iterators1 +Scanning dependencies of target test-merge_patch +[ 93%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 95%] Linking CXX executable test-merge_patch +[ 95%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 96%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 97%] Linking CXX executable test-msgpack +[ 97%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 98%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[100%] Linking CXX executable test-serialization +[100%] Built target test-serialization +Test project /home/json/build + Start 1: test-algorithms_default + 1/88 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/88 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/88 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/88 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/88 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/88 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-bson_default + 7/88 Test #7: test-bson_default ................... Passed 0.00 sec + Start 8: test-bson_all + 8/88 Test #8: test-bson_all ....................... Passed 0.01 sec + Start 9: test-capacity_default + 9/88 Test #9: test-capacity_default ............... Passed 0.00 sec + Start 10: test-capacity_all +10/88 Test #10: test-capacity_all ................... Passed 0.00 sec + Start 11: test-cbor_default +11/88 Test #11: test-cbor_default ................... Passed 2.08 sec + Start 12: test-cbor_all +12/88 Test #12: test-cbor_all ....................... Passed 33.96 sec + Start 13: test-class_const_iterator_default +13/88 Test #13: test-class_const_iterator_default ... Passed 0.00 sec + Start 14: test-class_const_iterator_all +14/88 Test #14: test-class_const_iterator_all ....... Passed 0.00 sec + Start 15: test-class_iterator_default +15/88 Test #15: test-class_iterator_default ......... Passed 0.00 sec + Start 16: test-class_iterator_all +16/88 Test #16: test-class_iterator_all ............. Passed 0.00 sec + Start 17: test-class_lexer_default +17/88 Test #17: test-class_lexer_default ............ Passed 0.00 sec + Start 18: test-class_lexer_all +18/88 Test #18: test-class_lexer_all ................ Passed 0.00 sec + Start 19: test-class_parser_default +19/88 Test #19: test-class_parser_default ........... Passed 0.09 sec + Start 20: test-class_parser_all +20/88 Test #20: test-class_parser_all ............... Passed 0.09 sec + Start 21: test-comparison_default +21/88 Test #21: test-comparison_default ............. Passed 0.01 sec + Start 22: test-comparison_all +22/88 Test #22: test-comparison_all ................. Passed 0.01 sec + Start 23: test-concepts_default +23/88 Test #23: test-concepts_default ............... Passed 0.00 sec + Start 24: test-concepts_all +24/88 Test #24: test-concepts_all ................... Passed 0.00 sec + Start 25: test-constructor1_default +25/88 Test #25: test-constructor1_default ........... Passed 0.01 sec + Start 26: test-constructor1_all +26/88 Test #26: test-constructor1_all ............... Passed 0.01 sec + Start 27: test-constructor2_default +27/88 Test #27: test-constructor2_default ........... Passed 0.00 sec + Start 28: test-constructor2_all +28/88 Test #28: test-constructor2_all ............... Passed 0.00 sec + Start 29: test-convenience_default +29/88 Test #29: test-convenience_default ............ Passed 0.00 sec + Start 30: test-convenience_all +30/88 Test #30: test-convenience_all ................ Passed 0.00 sec + Start 31: test-conversions_default +31/88 Test #31: test-conversions_default ............ Passed 0.01 sec + Start 32: test-conversions_all +32/88 Test #32: test-conversions_all ................ Passed 0.01 sec + Start 33: test-deserialization_default +33/88 Test #33: test-deserialization_default ........ Passed 0.01 sec + Start 34: test-deserialization_all +34/88 Test #34: test-deserialization_all ............ Passed 0.01 sec + Start 35: test-element_access1_default +35/88 Test #35: test-element_access1_default ........ Passed 0.01 sec + Start 36: test-element_access1_all +36/88 Test #36: test-element_access1_all ............ Passed 0.01 sec + Start 37: test-element_access2_default +37/88 Test #37: test-element_access2_default ........ Passed 0.01 sec + Start 38: test-element_access2_all +38/88 Test #38: test-element_access2_all ............ Passed 0.01 sec + Start 39: test-inspection_default +39/88 Test #39: test-inspection_default ............. Passed 4.38 sec + Start 40: test-inspection_all +40/88 Test #40: test-inspection_all ................. Passed 4.38 sec + Start 41: test-items_default +41/88 Test #41: test-items_default .................. Passed 0.00 sec + Start 42: test-items_all +42/88 Test #42: test-items_all ...................... Passed 0.00 sec + Start 43: test-iterators1_default +43/88 Test #43: test-iterators1_default ............. Passed 0.01 sec + Start 44: test-iterators1_all +44/88 Test #44: test-iterators1_all ................. Passed 0.01 sec + Start 45: test-iterators2_default +45/88 Test #45: test-iterators2_default ............. Passed 0.03 sec + Start 46: test-iterators2_all +46/88 Test #46: test-iterators2_all ................. Passed 0.03 sec + Start 47: test-json_patch_default +47/88 Test #47: test-json_patch_default ............. Passed 0.01 sec + Start 48: test-json_patch_all +48/88 Test #48: test-json_patch_all ................. Passed 0.01 sec + Start 49: test-json_pointer_default +49/88 Test #49: test-json_pointer_default ........... Passed 0.00 sec + Start 50: test-json_pointer_all +50/88 Test #50: test-json_pointer_all ............... Passed 0.00 sec + Start 51: test-merge_patch_default +51/88 Test #51: test-merge_patch_default ............ Passed 0.00 sec + Start 52: test-merge_patch_all +52/88 Test #52: test-merge_patch_all ................ Passed 0.00 sec + Start 53: test-meta_default +53/88 Test #53: test-meta_default ................... Passed 0.00 sec + Start 54: test-meta_all +54/88 Test #54: test-meta_all ....................... Passed 0.00 sec + Start 55: test-modifiers_default +55/88 Test #55: test-modifiers_default .............. Passed 0.01 sec + Start 56: test-modifiers_all +56/88 Test #56: test-modifiers_all .................. Passed 0.01 sec + Start 57: test-msgpack_default +57/88 Test #57: test-msgpack_default ................ Passed 1.78 sec + Start 58: test-msgpack_all +58/88 Test #58: test-msgpack_all .................... Passed 33.79 sec + Start 59: test-noexcept_default +59/88 Test #59: test-noexcept_default ............... Passed 0.00 sec + Start 60: test-noexcept_all +60/88 Test #60: test-noexcept_all ................... Passed 0.00 sec + Start 61: test-pointer_access_default +61/88 Test #61: test-pointer_access_default ......... Passed 0.00 sec + Start 62: test-pointer_access_all +62/88 Test #62: test-pointer_access_all ............. Passed 0.00 sec + Start 63: test-readme_default +63/88 Test #63: test-readme_default ................. Passed 0.00 sec + Start 64: test-readme_all +64/88 Test #64: test-readme_all ..................... Passed 0.00 sec + Start 65: test-reference_access_default +65/88 Test #65: test-reference_access_default ....... Passed 0.00 sec + Start 66: test-reference_access_all +66/88 Test #66: test-reference_access_all ........... Passed 0.00 sec + Start 67: test-regression_default +67/88 Test #67: test-regression_default ............. Passed 4.48 sec + Start 68: test-regression_all +68/88 Test #68: test-regression_all ................. Passed 4.48 sec + Start 69: test-serialization_default +69/88 Test #69: test-serialization_default .......... Passed 0.00 sec + Start 70: test-serialization_all +70/88 Test #70: test-serialization_all .............. Passed 0.00 sec + Start 71: test-testsuites_default +71/88 Test #71: test-testsuites_default ............. Passed 0.07 sec + Start 72: test-testsuites_all +72/88 Test #72: test-testsuites_all ................. Passed 0.07 sec + Start 73: test-to_chars_default +73/88 Test #73: test-to_chars_default ............... Passed 0.00 sec + Start 74: test-to_chars_all +74/88 Test #74: test-to_chars_all ................... Passed 0.00 sec + Start 75: test-ubjson_default +75/88 Test #75: test-ubjson_default ................. Passed 0.89 sec + Start 76: test-ubjson_all +76/88 Test #76: test-ubjson_all ..................... Passed 9.71 sec + Start 77: test-udt_default +77/88 Test #77: test-udt_default .................... Passed 0.00 sec + Start 78: test-udt_all +78/88 Test #78: test-udt_all ........................ Passed 0.00 sec + Start 79: test-unicode_default +79/88 Test #79: test-unicode_default ................ Passed 0.00 sec + Start 80: test-unicode_all +80/88 Test #80: test-unicode_all .................... Passed 324.10 sec + Start 81: test-wstring_default +81/88 Test #81: test-wstring_default ................ Passed 0.00 sec + Start 82: test-wstring_all +82/88 Test #82: test-wstring_all .................... Passed 0.00 sec + Start 83: cmake_import_configure +83/88 Test #83: cmake_import_configure .............. Passed 0.64 sec + Start 84: cmake_import_build +84/88 Test #84: cmake_import_build .................. Passed 1.87 sec + Start 85: cmake_import_minver_configure +85/88 Test #85: cmake_import_minver_configure ....... Passed 0.64 sec + Start 86: cmake_import_minver_build +86/88 Test #86: cmake_import_minver_build ........... Passed 0.95 sec + Start 87: cmake_add_subdirectory_configure +87/88 Test #87: cmake_add_subdirectory_configure .... Passed 0.66 sec + Start 88: cmake_add_subdirectory_build +88/88 Test #88: cmake_add_subdirectory_build ........ Passed 1.89 sec + +100% tests passed, 0 tests failed out of 88 + +Label Time Summary: +all = 410.74 sec*proc (41 tests) +default = 13.95 sec*proc (41 tests) + +Total Test time (real) = 431.35 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/fix.patch new file mode 100644 index 000000000..83905796f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/fix.patch @@ -0,0 +1,46 @@ +diff --git a/include/nlohmann/detail/input/input_adapters.hpp b/include/nlohmann/detail/input/input_adapters.hpp +index 79a19c17..6ab5efca 100644 +--- a/include/nlohmann/detail/input/input_adapters.hpp ++++ b/include/nlohmann/detail/input/input_adapters.hpp +@@ -60,8 +60,16 @@ class input_stream_adapter : public input_adapter_protocol + ~input_stream_adapter() override + { + // clear stream flags; we use underlying streambuf I/O, do not +- // maintain ifstream flags +- is.clear(); ++ // maintain ifstream flags, but set eofbit if the streambuf ++ // was exhausted, so callers can detect end-of-input ++ if (sb.sgetc() == std::char_traits::eof()) ++ { ++ is.clear(std::ios::eofbit); ++ } ++ else ++ { ++ is.clear(); ++ } + } + + explicit input_stream_adapter(std::istream& i) +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 931e7b36..0bf765c3 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -2109,8 +2109,16 @@ class input_stream_adapter : public input_adapter_protocol + ~input_stream_adapter() override + { + // clear stream flags; we use underlying streambuf I/O, do not +- // maintain ifstream flags +- is.clear(); ++ // maintain ifstream flags, but set eofbit if the streambuf ++ // was exhausted, so callers can detect end-of-input ++ if (sb.sgetc() == std::char_traits::eof()) ++ { ++ is.clear(std::ios::eofbit); ++ } ++ else ++ { ++ is.clear(); ++ } + } + + explicit input_stream_adapter(std::istream& i) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/report.json new file mode 100644 index 000000000..d75886b22 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1343/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1343, "valid": true, "error_msg": "", "fixed_tests": {"test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 86, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-class_iterator_default", "test-conversions_all", "test-iterators1_default", "test-noexcept_default", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-capacity_default", "test-items_all", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "cmake_import_build", "test-alt-string_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-iterators2_all", "test-wstring_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/fix-patch-run.log new file mode 100644 index 000000000..3584817dc --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/fix-patch-run.log @@ -0,0 +1,593 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5978 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.2 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (18.3 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.SCLU9JEW +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.SCLU9JEW/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.SCLU9JEW/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.SCLU9JEW/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.SCLU9JEW/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.SCLU9JEW/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.SCLU9JEW +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=37f13aca638b +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.y0yLmYyK2W/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-regression.cpp +patching file include/nlohmann/detail/output/serializer.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 10%] Linking CXX executable test-ubjson +[ 10%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-convenience +[ 14%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 15%] Linking CXX executable test-convenience +[ 15%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 19%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 20%] Linking CXX executable test-class_parser +[ 20%] Built target test-class_parser +Scanning dependencies of target test-testsuites +[ 21%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 22%] Linking CXX executable test-testsuites +[ 22%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +Scanning dependencies of target test-class_const_iterator +[ 26%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 27%] Linking CXX executable test-class_const_iterator +[ 27%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 28%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 30%] Linking CXX executable test-json_patch +[ 30%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 31%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 32%] Linking CXX executable test-noexcept +[ 32%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 33%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 34%] Linking CXX executable test-pointer_access +[ 34%] Built target test-pointer_access +Scanning dependencies of target test-class_lexer +[ 36%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 37%] Linking CXX executable test-class_lexer +[ 37%] Built target test-class_lexer +Scanning dependencies of target test-bson +[ 38%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 39%] Linking CXX executable test-bson +[ 39%] Built target test-bson +Scanning dependencies of target test-cbor +[ 40%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 42%] Linking CXX executable test-cbor +[ 42%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 43%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 44%] Linking CXX executable test-algorithms +[ 44%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 45%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 46%] Linking CXX executable test-element_access2 +[ 46%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 48%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 49%] Linking CXX executable test-comparison +[ 49%] Built target test-comparison +Scanning dependencies of target test-regression +[ 50%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 51%] Linking CXX executable test-regression +[ 51%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 53%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 54%] Linking CXX executable test-json_pointer +[ 54%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 55%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 56%] Linking CXX executable test-modifiers +[ 56%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 57%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 59%] Linking CXX executable test-allocator +[ 59%] Built target test-allocator +Scanning dependencies of target test-items +[ 60%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 61%] Linking CXX executable test-items +[ 61%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 62%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 63%] Linking CXX executable test-constructor2 +[ 63%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 65%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 66%] Linking CXX executable test-alt-string +[ 66%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 67%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 68%] Linking CXX executable test-iterators2 +[ 68%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 69%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 71%] Linking CXX executable test-capacity +[ 71%] Built target test-capacity +Scanning dependencies of target test-conversions +[ 72%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 73%] Linking CXX executable test-conversions +[ 73%] Built target test-conversions +Scanning dependencies of target test-constructor1 +[ 74%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 75%] Linking CXX executable test-constructor1 +[ 75%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 77%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 78%] Linking CXX executable test-deserialization +[ 78%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 79%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 80%] Linking CXX executable test-reference_access +[ 80%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 81%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 83%] Linking CXX executable test-element_access1 +[ 83%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 84%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 85%] Linking CXX executable test-meta +[ 85%] Built target test-meta +Scanning dependencies of target test-inspection +[ 86%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 87%] Linking CXX executable test-inspection +[ 87%] Built target test-inspection +Scanning dependencies of target test-readme +[ 89%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 90%] Linking CXX executable test-readme +[ 90%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 91%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 92%] Linking CXX executable test-iterators1 +[ 92%] Built target test-iterators1 +Scanning dependencies of target test-merge_patch +[ 93%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 95%] Linking CXX executable test-merge_patch +[ 95%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 96%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 97%] Linking CXX executable test-msgpack +[ 97%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 98%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[100%] Linking CXX executable test-serialization +[100%] Built target test-serialization +Test project /home/json/build + Start 1: test-algorithms_default + 1/88 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/88 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/88 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/88 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/88 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/88 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-bson_default + 7/88 Test #7: test-bson_default ................... Passed 0.00 sec + Start 8: test-bson_all + 8/88 Test #8: test-bson_all ....................... Passed 0.01 sec + Start 9: test-capacity_default + 9/88 Test #9: test-capacity_default ............... Passed 0.00 sec + Start 10: test-capacity_all +10/88 Test #10: test-capacity_all ................... Passed 0.00 sec + Start 11: test-cbor_default +11/88 Test #11: test-cbor_default ................... Passed 2.11 sec + Start 12: test-cbor_all +12/88 Test #12: test-cbor_all ....................... Passed 34.24 sec + Start 13: test-class_const_iterator_default +13/88 Test #13: test-class_const_iterator_default ... Passed 0.00 sec + Start 14: test-class_const_iterator_all +14/88 Test #14: test-class_const_iterator_all ....... Passed 0.00 sec + Start 15: test-class_iterator_default +15/88 Test #15: test-class_iterator_default ......... Passed 0.00 sec + Start 16: test-class_iterator_all +16/88 Test #16: test-class_iterator_all ............. Passed 0.00 sec + Start 17: test-class_lexer_default +17/88 Test #17: test-class_lexer_default ............ Passed 0.00 sec + Start 18: test-class_lexer_all +18/88 Test #18: test-class_lexer_all ................ Passed 0.00 sec + Start 19: test-class_parser_default +19/88 Test #19: test-class_parser_default ........... Passed 0.09 sec + Start 20: test-class_parser_all +20/88 Test #20: test-class_parser_all ............... Passed 0.09 sec + Start 21: test-comparison_default +21/88 Test #21: test-comparison_default ............. Passed 0.01 sec + Start 22: test-comparison_all +22/88 Test #22: test-comparison_all ................. Passed 0.01 sec + Start 23: test-concepts_default +23/88 Test #23: test-concepts_default ............... Passed 0.00 sec + Start 24: test-concepts_all +24/88 Test #24: test-concepts_all ................... Passed 0.00 sec + Start 25: test-constructor1_default +25/88 Test #25: test-constructor1_default ........... Passed 0.01 sec + Start 26: test-constructor1_all +26/88 Test #26: test-constructor1_all ............... Passed 0.01 sec + Start 27: test-constructor2_default +27/88 Test #27: test-constructor2_default ........... Passed 0.00 sec + Start 28: test-constructor2_all +28/88 Test #28: test-constructor2_all ............... Passed 0.00 sec + Start 29: test-convenience_default +29/88 Test #29: test-convenience_default ............ Passed 0.00 sec + Start 30: test-convenience_all +30/88 Test #30: test-convenience_all ................ Passed 0.00 sec + Start 31: test-conversions_default +31/88 Test #31: test-conversions_default ............ Passed 0.01 sec + Start 32: test-conversions_all +32/88 Test #32: test-conversions_all ................ Passed 0.01 sec + Start 33: test-deserialization_default +33/88 Test #33: test-deserialization_default ........ Passed 0.01 sec + Start 34: test-deserialization_all +34/88 Test #34: test-deserialization_all ............ Passed 0.01 sec + Start 35: test-element_access1_default +35/88 Test #35: test-element_access1_default ........ Passed 0.01 sec + Start 36: test-element_access1_all +36/88 Test #36: test-element_access1_all ............ Passed 0.01 sec + Start 37: test-element_access2_default +37/88 Test #37: test-element_access2_default ........ Passed 0.01 sec + Start 38: test-element_access2_all +38/88 Test #38: test-element_access2_all ............ Passed 0.01 sec + Start 39: test-inspection_default +39/88 Test #39: test-inspection_default ............. Passed 4.59 sec + Start 40: test-inspection_all +40/88 Test #40: test-inspection_all ................. Passed 4.47 sec + Start 41: test-items_default +41/88 Test #41: test-items_default .................. Passed 0.00 sec + Start 42: test-items_all +42/88 Test #42: test-items_all ...................... Passed 0.00 sec + Start 43: test-iterators1_default +43/88 Test #43: test-iterators1_default ............. Passed 0.01 sec + Start 44: test-iterators1_all +44/88 Test #44: test-iterators1_all ................. Passed 0.01 sec + Start 45: test-iterators2_default +45/88 Test #45: test-iterators2_default ............. Passed 0.03 sec + Start 46: test-iterators2_all +46/88 Test #46: test-iterators2_all ................. Passed 0.03 sec + Start 47: test-json_patch_default +47/88 Test #47: test-json_patch_default ............. Passed 0.01 sec + Start 48: test-json_patch_all +48/88 Test #48: test-json_patch_all ................. Passed 0.01 sec + Start 49: test-json_pointer_default +49/88 Test #49: test-json_pointer_default ........... Passed 0.00 sec + Start 50: test-json_pointer_all +50/88 Test #50: test-json_pointer_all ............... Passed 0.00 sec + Start 51: test-merge_patch_default +51/88 Test #51: test-merge_patch_default ............ Passed 0.00 sec + Start 52: test-merge_patch_all +52/88 Test #52: test-merge_patch_all ................ Passed 0.00 sec + Start 53: test-meta_default +53/88 Test #53: test-meta_default ................... Passed 0.00 sec + Start 54: test-meta_all +54/88 Test #54: test-meta_all ....................... Passed 0.00 sec + Start 55: test-modifiers_default +55/88 Test #55: test-modifiers_default .............. Passed 0.01 sec + Start 56: test-modifiers_all +56/88 Test #56: test-modifiers_all .................. Passed 0.01 sec + Start 57: test-msgpack_default +57/88 Test #57: test-msgpack_default ................ Passed 1.79 sec + Start 58: test-msgpack_all +58/88 Test #58: test-msgpack_all .................... Passed 34.14 sec + Start 59: test-noexcept_default +59/88 Test #59: test-noexcept_default ............... Passed 0.00 sec + Start 60: test-noexcept_all +60/88 Test #60: test-noexcept_all ................... Passed 0.00 sec + Start 61: test-pointer_access_default +61/88 Test #61: test-pointer_access_default ......... Passed 0.00 sec + Start 62: test-pointer_access_all +62/88 Test #62: test-pointer_access_all ............. Passed 0.00 sec + Start 63: test-readme_default +63/88 Test #63: test-readme_default ................. Passed 0.00 sec + Start 64: test-readme_all +64/88 Test #64: test-readme_all ..................... Passed 0.00 sec + Start 65: test-reference_access_default +65/88 Test #65: test-reference_access_default ....... Passed 0.00 sec + Start 66: test-reference_access_all +66/88 Test #66: test-reference_access_all ........... Passed 0.00 sec + Start 67: test-regression_default +67/88 Test #67: test-regression_default ............. Passed 5.19 sec + Start 68: test-regression_all +68/88 Test #68: test-regression_all ................. Passed 5.15 sec + Start 69: test-serialization_default +69/88 Test #69: test-serialization_default .......... Passed 0.00 sec + Start 70: test-serialization_all +70/88 Test #70: test-serialization_all .............. Passed 0.00 sec + Start 71: test-testsuites_default +71/88 Test #71: test-testsuites_default ............. Passed 0.07 sec + Start 72: test-testsuites_all +72/88 Test #72: test-testsuites_all ................. Passed 0.07 sec + Start 73: test-to_chars_default +73/88 Test #73: test-to_chars_default ............... Passed 0.00 sec + Start 74: test-to_chars_all +74/88 Test #74: test-to_chars_all ................... Passed 0.00 sec + Start 75: test-ubjson_default +75/88 Test #75: test-ubjson_default ................. Passed 0.92 sec + Start 76: test-ubjson_all +76/88 Test #76: test-ubjson_all ..................... Passed 9.97 sec + Start 77: test-udt_default +77/88 Test #77: test-udt_default .................... Passed 0.00 sec + Start 78: test-udt_all +78/88 Test #78: test-udt_all ........................ Passed 0.00 sec + Start 79: test-unicode_default +79/88 Test #79: test-unicode_default ................ Passed 0.00 sec + Start 80: test-unicode_all +80/88 Test #80: test-unicode_all .................... Passed 323.81 sec + Start 81: test-wstring_default +81/88 Test #81: test-wstring_default ................ Passed 0.00 sec + Start 82: test-wstring_all +82/88 Test #82: test-wstring_all .................... Passed 0.00 sec + Start 83: cmake_import_configure +83/88 Test #83: cmake_import_configure .............. Passed 0.63 sec + Start 84: cmake_import_build +84/88 Test #84: cmake_import_build .................. Passed 1.90 sec + Start 85: cmake_import_minver_configure +85/88 Test #85: cmake_import_minver_configure ....... Passed 0.64 sec + Start 86: cmake_import_minver_build +86/88 Test #86: cmake_import_minver_build ........... Passed 1.02 sec + Start 87: cmake_add_subdirectory_configure +87/88 Test #87: cmake_add_subdirectory_configure .... Passed 0.66 sec + Start 88: cmake_add_subdirectory_build +88/88 Test #88: cmake_add_subdirectory_build ........ Passed 1.92 sec + +100% tests passed, 0 tests failed out of 88 + +Label Time Summary: +all = 412.09 sec*proc (41 tests) +default = 14.93 sec*proc (41 tests) + +Total Test time (real) = 433.81 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/fix.patch new file mode 100644 index 000000000..e865edcd1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/fix.patch @@ -0,0 +1,64 @@ +diff --git a/include/nlohmann/detail/output/serializer.hpp b/include/nlohmann/detail/output/serializer.hpp +index 4f7e1ede..23cc8266 100644 +--- a/include/nlohmann/detail/output/serializer.hpp ++++ b/include/nlohmann/detail/output/serializer.hpp +@@ -441,6 +441,13 @@ class serializer + // add a replacement character + if (ensure_ascii) + { ++ // there must be 6 bytes left, as the ++ // replacement character is "\ufffd" ++ if (string_buffer.size() - bytes < 6) ++ { ++ o->write_characters(string_buffer.data(), bytes); ++ bytes = 0; ++ } + string_buffer[bytes++] = '\\'; + string_buffer[bytes++] = 'u'; + string_buffer[bytes++] = 'f'; +@@ -450,6 +457,13 @@ class serializer + } + else + { ++ // there must be 3 bytes left, as the ++ // replacement character is "\xEF\xBF\xBD" ++ if (string_buffer.size() - bytes < 3) ++ { ++ o->write_characters(string_buffer.data(), bytes); ++ bytes = 0; ++ } + string_buffer[bytes++] = detail::binary_writer::to_char_type('\xEF'); + string_buffer[bytes++] = detail::binary_writer::to_char_type('\xBF'); + string_buffer[bytes++] = detail::binary_writer::to_char_type('\xBD'); +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index ef4b0cd0..476acc05 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -11331,6 +11331,13 @@ class serializer + // add a replacement character + if (ensure_ascii) + { ++ // there must be 6 bytes left, as the ++ // replacement character is "\ufffd" ++ if (string_buffer.size() - bytes < 6) ++ { ++ o->write_characters(string_buffer.data(), bytes); ++ bytes = 0; ++ } + string_buffer[bytes++] = '\\'; + string_buffer[bytes++] = 'u'; + string_buffer[bytes++] = 'f'; +@@ -11340,6 +11347,13 @@ class serializer + } + else + { ++ // there must be 3 bytes left, as the ++ // replacement character is "\xEF\xBF\xBD" ++ if (string_buffer.size() - bytes < 3) ++ { ++ o->write_characters(string_buffer.data(), bytes); ++ bytes = 0; ++ } + string_buffer[bytes++] = detail::binary_writer::to_char_type('\xEF'); + string_buffer[bytes++] = detail::binary_writer::to_char_type('\xBF'); + string_buffer[bytes++] = detail::binary_writer::to_char_type('\xBD'); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/report.json new file mode 100644 index 000000000..d1f8825ed --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1446/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1446, "valid": true, "error_msg": "", "fixed_tests": {"test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 86, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-class_iterator_default", "test-conversions_all", "test-iterators1_default", "test-noexcept_default", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-capacity_default", "test-items_all", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "cmake_import_build", "test-alt-string_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-iterators2_all", "test-wstring_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1555/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1555/fix-patch-run.log new file mode 100644 index 000000000..4a336a2ee --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1555/fix-patch-run.log @@ -0,0 +1,1332 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5525 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.1 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.5 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.B2JvThQQ +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.B2JvThQQ/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.B2JvThQQ/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.B2JvThQQ/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.B2JvThQQ/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.B2JvThQQ/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.B2JvThQQ +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=c00b56cb6339 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.w9uLJOxNWN/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-conversions.cpp +patching file include/nlohmann/detail/conversions/from_json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 10%] Linking CXX executable test-ubjson +[ 10%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-convenience +[ 14%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 15%] Linking CXX executable test-convenience +[ 15%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 19%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 20%] Linking CXX executable test-class_parser +[ 20%] Built target test-class_parser +Scanning dependencies of target test-testsuites +[ 21%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 22%] Linking CXX executable test-testsuites +[ 22%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +Scanning dependencies of target test-class_const_iterator +[ 26%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 27%] Linking CXX executable test-class_const_iterator +[ 27%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 28%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 30%] Linking CXX executable test-json_patch +[ 30%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 31%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 32%] Linking CXX executable test-noexcept +[ 32%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 33%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 34%] Linking CXX executable test-pointer_access +[ 34%] Built target test-pointer_access +Scanning dependencies of target test-class_lexer +[ 36%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 37%] Linking CXX executable test-class_lexer +[ 37%] Built target test-class_lexer +Scanning dependencies of target test-bson +[ 38%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 39%] Linking CXX executable test-bson +[ 39%] Built target test-bson +Scanning dependencies of target test-cbor +[ 40%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 42%] Linking CXX executable test-cbor +[ 42%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 43%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 44%] Linking CXX executable test-algorithms +[ 44%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 45%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 46%] Linking CXX executable test-element_access2 +[ 46%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 48%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 49%] Linking CXX executable test-comparison +[ 49%] Built target test-comparison +Scanning dependencies of target test-regression +[ 50%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 51%] Linking CXX executable test-regression +[ 51%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 53%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 54%] Linking CXX executable test-json_pointer +[ 54%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 55%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 56%] Linking CXX executable test-modifiers +[ 56%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 57%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 59%] Linking CXX executable test-allocator +[ 59%] Built target test-allocator +Scanning dependencies of target test-items +[ 60%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 61%] Linking CXX executable test-items +[ 61%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 62%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 63%] Linking CXX executable test-constructor2 +[ 63%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 65%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 66%] Linking CXX executable test-alt-string +[ 66%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 67%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 68%] Linking CXX executable test-iterators2 +[ 68%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 69%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 71%] Linking CXX executable test-capacity +[ 71%] Built target test-capacity +Scanning dependencies of target test-conversions +[ 72%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +/home/json/test/src/unit-conversions.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-conversions.cpp:395:27: error: no matching function for call to 'nlohmann::basic_json<>::get_to(int [3])' + j2.get_to(nbs2); + ^ +In file included from /home/json/test/src/unit-conversions.cpp:33:0: +/home/json/single_include/nlohmann/json.hpp:15455:17: note: candidate: template::value) && nlohmann::detail::has_from_json, ValueType, void>::value), int>::type > ValueType& nlohmann::basic_json::get_to(ValueType&) const [with ValueType = ValueType; typename std::enable_if<((! nlohmann::detail::is_basic_json::value) && nlohmann::detail::has_from_json, ValueType>::value), int>::type = ; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer] + ValueType & get_to(ValueType& v) const noexcept(noexcept( + ^~~~~~ +/home/json/single_include/nlohmann/json.hpp:15455:17: note: template argument deduction/substitution failed: +/home/json/single_include/nlohmann/json.hpp:15454:25: error: no type named 'type' in 'struct std::enable_if' + int> = 0> + ^ +/home/json/single_include/nlohmann/json.hpp:15454:25: note: invalid template non-type parameter +make[2]: *** [test/CMakeFiles/test-conversions.dir/build.make:63: test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:2187: test/CMakeFiles/test-conversions.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: test-algorithms_default + 1/88 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/88 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/88 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/88 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/88 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/88 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-bson_default + 7/88 Test #7: test-bson_default ................... Passed 0.00 sec + Start 8: test-bson_all + 8/88 Test #8: test-bson_all ....................... Passed 0.01 sec + Start 9: test-capacity_default + 9/88 Test #9: test-capacity_default ............... Passed 0.00 sec + Start 10: test-capacity_all +10/88 Test #10: test-capacity_all ................... Passed 0.00 sec + Start 11: test-cbor_default +11/88 Test #11: test-cbor_default ................... Passed 2.13 sec + Start 12: test-cbor_all +12/88 Test #12: test-cbor_all ....................... Passed 34.63 sec + Start 13: test-class_const_iterator_default +13/88 Test #13: test-class_const_iterator_default ... Passed 0.00 sec + Start 14: test-class_const_iterator_all +14/88 Test #14: test-class_const_iterator_all ....... Passed 0.00 sec + Start 15: test-class_iterator_default +15/88 Test #15: test-class_iterator_default ......... Passed 0.00 sec + Start 16: test-class_iterator_all +16/88 Test #16: test-class_iterator_all ............. Passed 0.00 sec + Start 17: test-class_lexer_default +17/88 Test #17: test-class_lexer_default ............ Passed 0.00 sec + Start 18: test-class_lexer_all +18/88 Test #18: test-class_lexer_all ................ Passed 0.00 sec + Start 19: test-class_parser_default +19/88 Test #19: test-class_parser_default ........... Passed 0.09 sec + Start 20: test-class_parser_all +20/88 Test #20: test-class_parser_all ............... Passed 0.09 sec + Start 21: test-comparison_default +21/88 Test #21: test-comparison_default ............. Passed 0.01 sec + Start 22: test-comparison_all +22/88 Test #22: test-comparison_all ................. Passed 0.01 sec + Start 23: test-concepts_default +23/88 Test #23: test-concepts_default ............... Passed 0.00 sec + Start 24: test-concepts_all +24/88 Test #24: test-concepts_all ................... Passed 0.00 sec + Start 25: test-constructor1_default +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +25/88 Test #25: test-constructor1_default ...........***Not Run 0.00 sec + Start 26: test-constructor1_all +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +26/88 Test #26: test-constructor1_all ...............***Not Run 0.00 sec + Start 27: test-constructor2_default +27/88 Test #27: test-constructor2_default ........... Passed 0.00 sec + Start 28: test-constructor2_all +28/88 Test #28: test-constructor2_all ............... Passed 0.00 sec + Start 29: test-convenience_default +29/88 Test #29: test-convenience_default ............ Passed 0.00 sec + Start 30: test-convenience_all +30/88 Test #30: test-convenience_all ................ Passed 0.00 sec + Start 31: test-conversions_default +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +31/88 Test #31: test-conversions_default ............***Not Run 0.00 sec + Start 32: test-conversions_all +Unable to find executable: /home/json/build/test/test-conversions +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +32/88 Test #32: test-conversions_all ................***Not Run 0.00 sec + Start 33: test-deserialization_default +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +33/88 Test #33: test-deserialization_default ........***Not Run 0.00 sec + Start 34: test-deserialization_all +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +34/88 Test #34: test-deserialization_all ............***Not Run 0.00 sec + Start 35: test-element_access1_default +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +35/88 Test #35: test-element_access1_default ........***Not Run 0.00 sec + Start 36: test-element_access1_all +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +36/88 Test #36: test-element_access1_all ............***Not Run 0.00 sec + Start 37: test-element_access2_default +37/88 Test #37: test-element_access2_default ........ Passed 0.01 sec + Start 38: test-element_access2_all +38/88 Test #38: test-element_access2_all ............ Passed 0.01 sec + Start 39: test-inspection_default +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +39/88 Test #39: test-inspection_default .............***Not Run 0.00 sec + Start 40: test-inspection_all +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +40/88 Test #40: test-inspection_all .................***Not Run 0.00 sec + Start 41: test-items_default +41/88 Test #41: test-items_default .................. Passed 0.00 sec + Start 42: test-items_all +42/88 Test #42: test-items_all ...................... Passed 0.00 sec + Start 43: test-iterators1_default +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +43/88 Test #43: test-iterators1_default .............***Not Run 0.00 sec + Start 44: test-iterators1_all +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +Unable to find executable: /home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +44/88 Test #44: test-iterators1_all .................***Not Run 0.00 sec + Start 45: test-iterators2_default +45/88 Test #45: test-iterators2_default ............. Passed 0.03 sec + Start 46: test-iterators2_all +46/88 Test #46: test-iterators2_all ................. Passed 0.03 sec + Start 47: test-json_patch_default +47/88 Test #47: test-json_patch_default ............. Passed 0.01 sec + Start 48: test-json_patch_all +48/88 Test #48: test-json_patch_all ................. Passed 0.01 sec + Start 49: test-json_pointer_default +49/88 Test #49: test-json_pointer_default ........... Passed 0.00 sec + Start 50: test-json_pointer_all +50/88 Test #50: test-json_pointer_all ............... Passed 0.00 sec + Start 51: test-merge_patch_default +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +51/88 Test #51: test-merge_patch_default ............***Not Run 0.00 sec + Start 52: test-merge_patch_all +Could not find executable /home/json/build/test/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +52/88 Test #52: test-merge_patch_all ................***Not Run 0.00 sec + Start 53: test-meta_default +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +Unable to find executable: /home/json/build/test/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +53/88 Test #53: test-meta_default ...................***Not Run 0.00 sec + Start 54: test-meta_all +Could not find executable /home/json/build/test/test-meta +Unable to find executable: /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +54/88 Test #54: test-meta_all .......................***Not Run 0.00 sec + Start 55: test-modifiers_default +55/88 Test #55: test-modifiers_default .............. Passed 0.01 sec + Start 56: test-modifiers_all +56/88 Test #56: test-modifiers_all .................. Passed 0.01 sec + Start 57: test-msgpack_default +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +57/88 Test #57: test-msgpack_default ................***Not Run 0.00 sec + Start 58: test-msgpack_all +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +58/88 Test #58: test-msgpack_all ....................***Not Run 0.00 sec + Start 59: test-noexcept_default +59/88 Test #59: test-noexcept_default ............... Passed 0.00 sec + Start 60: test-noexcept_all +60/88 Test #60: test-noexcept_all ................... Passed 0.00 sec + Start 61: test-pointer_access_default +61/88 Test #61: test-pointer_access_default ......... Passed 0.00 sec + Start 62: test-pointer_access_all +62/88 Test #62: test-pointer_access_all ............. Passed 0.00 sec + Start 63: test-readme_default +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +Unable to find executable: /home/json/build/test/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +63/88 Test #63: test-readme_default .................***Not Run 0.00 sec + Start 64: test-readme_all +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +Unable to find executable: /home/json/build/test/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +64/88 Test #64: test-readme_all .....................***Not Run 0.00 sec + Start 65: test-reference_access_default +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +Unable to find executable: /home/json/build/test/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +65/88 Test #65: test-reference_access_default .......***Not Run 0.00 sec + Start 66: test-reference_access_all +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +66/88 Test #66: test-reference_access_all ...........***Not Run 0.00 sec + Start 67: test-regression_default +Unable to find executable: /home/json/build/test/test-reference_access +67/88 Test #67: test-regression_default ............. Passed 5.31 sec + Start 68: test-regression_all +68/88 Test #68: test-regression_all ................. Passed 5.35 sec + Start 69: test-serialization_default +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +69/88 Test #69: test-serialization_default ..........***Not Run 0.00 sec + Start 70: test-serialization_all +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +70/88 Test #70: test-serialization_all ..............***Not Run 0.00 sec + Start 71: test-testsuites_default +71/88 Test #71: test-testsuites_default ............. Passed 0.07 sec + Start 72: test-testsuites_all +72/88 Test #72: test-testsuites_all ................. Passed 0.07 sec + Start 73: test-to_chars_default +73/88 Test #73: test-to_chars_default ............... Passed 0.00 sec + Start 74: test-to_chars_all +74/88 Test #74: test-to_chars_all ................... Passed 0.00 sec + Start 75: test-ubjson_default +75/88 Test #75: test-ubjson_default ................. Passed 0.94 sec + Start 76: test-ubjson_all +76/88 Test #76: test-ubjson_all ..................... Passed 10.01 sec + Start 77: test-udt_default +77/88 Test #77: test-udt_default .................... Passed 0.00 sec + Start 78: test-udt_all +78/88 Test #78: test-udt_all ........................ Passed 0.00 sec + Start 79: test-unicode_default +79/88 Test #79: test-unicode_default ................ Passed 0.00 sec + Start 80: test-unicode_all +80/88 Test #80: test-unicode_all .................... Passed 322.15 sec + Start 81: test-wstring_default +81/88 Test #81: test-wstring_default ................ Passed 0.00 sec + Start 82: test-wstring_all +82/88 Test #82: test-wstring_all .................... Passed 0.00 sec + Start 83: cmake_import_configure +83/88 Test #83: cmake_import_configure .............. Passed 0.64 sec + Start 84: cmake_import_build +84/88 Test #84: cmake_import_build .................. Passed 1.91 sec + Start 85: cmake_import_minver_configure +85/88 Test #85: cmake_import_minver_configure ....... Passed 0.66 sec + Start 86: cmake_import_minver_build +86/88 Test #86: cmake_import_minver_build ........... Passed 0.97 sec + Start 87: cmake_add_subdirectory_configure +87/88 Test #87: cmake_add_subdirectory_configure .... Passed 0.66 sec + Start 88: cmake_add_subdirectory_build +88/88 Test #88: cmake_add_subdirectory_build ........ Passed 1.91 sec + +73% tests passed, 24 tests failed out of 88 + +Label Time Summary: +all = 372.40 sec*proc (41 tests) +default = 8.66 sec*proc (41 tests) + +Total Test time (real) = 387.82 sec + +The following tests FAILED: + 25 - test-constructor1_default (Not Run) + 26 - test-constructor1_all (Not Run) + 31 - test-conversions_default (Not Run) + 32 - test-conversions_all (Not Run) + 33 - test-deserialization_default (Not Run) + 34 - test-deserialization_all (Not Run) + 35 - test-element_access1_default (Not Run) + 36 - test-element_access1_all (Not Run) + 39 - test-inspection_default (Not Run) + 40 - test-inspection_all (Not Run) + 43 - test-iterators1_default (Not Run) + 44 - test-iterators1_all (Not Run) + 51 - test-merge_patch_default (Not Run) + 52 - test-merge_patch_all (Not Run) + 53 - test-meta_default (Not Run) + 54 - test-meta_all (Not Run) + 57 - test-msgpack_default (Not Run) + 58 - test-msgpack_all (Not Run) + 63 - test-readme_default (Not Run) + 64 - test-readme_all (Not Run) + 65 - test-reference_access_default (Not Run) + 66 - test-reference_access_all (Not Run) + 69 - test-serialization_default (Not Run) + 70 - test-serialization_all (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1555/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1555/fix.patch new file mode 100644 index 000000000..7e90c8658 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1555/fix.patch @@ -0,0 +1,112 @@ +diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp +index 8f8162ff..b6f8cdd2 100644 +--- a/include/nlohmann/detail/conversions/from_json.hpp ++++ b/include/nlohmann/detail/conversions/from_json.hpp +@@ -136,6 +136,7 @@ void from_json(const BasicJsonType& j, std::forward_list& l) + { + JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); + } ++ l.clear(); + std::transform(j.rbegin(), j.rend(), + std::front_inserter(l), [](const BasicJsonType & i) + { +@@ -182,6 +183,7 @@ auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, p + { + using std::end; + ++ arr.clear(); + arr.reserve(j.size()); + std::transform(j.begin(), j.end(), + std::inserter(arr, end(arr)), [](const BasicJsonType & i) +@@ -198,6 +200,7 @@ void from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, + { + using std::end; + ++ arr.clear(); + std::transform( + j.begin(), j.end(), std::inserter(arr, end(arr)), + [](const BasicJsonType & i) +@@ -241,9 +244,10 @@ void from_json(const BasicJsonType& j, ConstructibleObjectType& obj) + + auto inner_object = j.template get_ptr(); + using value_type = typename ConstructibleObjectType::value_type; ++ obj.clear(); + std::transform( + inner_object->begin(), inner_object->end(), +- std::inserter(obj, obj.begin()), ++ std::inserter(obj, obj.end()), + [](typename BasicJsonType::object_t::value_type const & p) + { + return value_type(p.first, p.second.template get()); +@@ -319,6 +323,7 @@ void from_json(const BasicJsonType& j, std::map& + { + JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); + } ++ m.clear(); + for (const auto& p : j) + { + if (JSON_UNLIKELY(not p.is_array())) +@@ -338,6 +343,7 @@ void from_json(const BasicJsonType& j, std::unordered_map& l) + { + JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); + } ++ l.clear(); + std::transform(j.rbegin(), j.rend(), + std::front_inserter(l), [](const BasicJsonType & i) + { +@@ -1457,6 +1458,7 @@ auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, p + { + using std::end; + ++ arr.clear(); + arr.reserve(j.size()); + std::transform(j.begin(), j.end(), + std::inserter(arr, end(arr)), [](const BasicJsonType & i) +@@ -1473,6 +1475,7 @@ void from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, + { + using std::end; + ++ arr.clear(); + std::transform( + j.begin(), j.end(), std::inserter(arr, end(arr)), + [](const BasicJsonType & i) +@@ -1516,9 +1519,10 @@ void from_json(const BasicJsonType& j, ConstructibleObjectType& obj) + + auto inner_object = j.template get_ptr(); + using value_type = typename ConstructibleObjectType::value_type; ++ obj.clear(); + std::transform( + inner_object->begin(), inner_object->end(), +- std::inserter(obj, obj.begin()), ++ std::inserter(obj, obj.end()), + [](typename BasicJsonType::object_t::value_type const & p) + { + return value_type(p.first, p.second.template get()); +@@ -1594,6 +1598,7 @@ void from_json(const BasicJsonType& j, std::map& + { + JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()))); + } ++ m.clear(); + for (const auto& p : j) + { + if (JSON_UNLIKELY(not p.is_array())) +@@ -1613,6 +1618,7 @@ void from_json(const BasicJsonType& j, std::unordered_map> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (18.9 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.D91QSsEL +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.D91QSsEL/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.D91QSsEL/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.D91QSsEL/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.D91QSsEL/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.D91QSsEL/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.D91QSsEL +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=cf143752458c +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.Wx46sJDTbm/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-json_pointer.cpp +patching file include/nlohmann/detail/json_pointer.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 1%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 1%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 10%] Linking CXX executable test-ubjson +[ 10%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-convenience +[ 14%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 15%] Linking CXX executable test-convenience +[ 15%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +Scanning dependencies of target test-testsuites +[ 19%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 20%] Linking CXX executable test-testsuites +[ 20%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 21%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 22%] Linking CXX executable test-concepts +[ 22%] Built target test-concepts +Scanning dependencies of target test-class_parser +[ 24%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 25%] Linking CXX executable test-class_parser +[ 25%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 26%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 27%] Linking CXX executable test-comparison +[ 27%] Built target test-comparison +Scanning dependencies of target test-regression +[ 28%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 30%] Linking CXX executable test-regression +[ 30%] Built target test-regression +Scanning dependencies of target test-class_const_iterator +[ 31%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 32%] Linking CXX executable test-class_const_iterator +[ 32%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 33%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 34%] Linking CXX executable test-json_patch +[ 34%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 36%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 37%] Linking CXX executable test-noexcept +[ 37%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 38%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 39%] Linking CXX executable test-pointer_access +[ 39%] Built target test-pointer_access +Scanning dependencies of target test-class_lexer +[ 40%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 42%] Linking CXX executable test-class_lexer +[ 42%] Built target test-class_lexer +Scanning dependencies of target test-bson +[ 43%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 44%] Linking CXX executable test-bson +[ 44%] Built target test-bson +Scanning dependencies of target test-cbor +[ 45%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 46%] Linking CXX executable test-cbor +[ 46%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 48%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 49%] Linking CXX executable test-algorithms +[ 49%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 50%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 51%] Linking CXX executable test-element_access2 +[ 51%] Built target test-element_access2 +Scanning dependencies of target test-allocator +[ 53%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 54%] Linking CXX executable test-allocator +[ 54%] Built target test-allocator +Scanning dependencies of target test-items +[ 55%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 56%] Linking CXX executable test-items +[ 56%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 57%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 59%] Linking CXX executable test-constructor2 +[ 59%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 60%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 61%] Linking CXX executable test-alt-string +[ 61%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 62%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 63%] Linking CXX executable test-iterators2 +[ 63%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 65%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 66%] Linking CXX executable test-capacity +[ 66%] Built target test-capacity +Scanning dependencies of target test-conversions +[ 67%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 68%] Linking CXX executable test-conversions +[ 68%] Built target test-conversions +Scanning dependencies of target test-constructor1 +[ 69%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 71%] Linking CXX executable test-constructor1 +[ 71%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 72%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 73%] Linking CXX executable test-deserialization +[ 73%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 74%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 75%] Linking CXX executable test-reference_access +[ 75%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 77%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 78%] Linking CXX executable test-element_access1 +[ 78%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 79%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 80%] Linking CXX executable test-meta +[ 80%] Built target test-meta +Scanning dependencies of target test-inspection +[ 81%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 83%] Linking CXX executable test-inspection +[ 83%] Built target test-inspection +Scanning dependencies of target test-readme +[ 84%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 85%] Linking CXX executable test-readme +[ 85%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 86%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 87%] Linking CXX executable test-iterators1 +[ 87%] Built target test-iterators1 +Scanning dependencies of target test-json_pointer +[ 89%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 90%] Linking CXX executable test-json_pointer +[ 90%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 91%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 92%] Linking CXX executable test-modifiers +[ 92%] Built target test-modifiers +Scanning dependencies of target test-merge_patch +[ 93%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 95%] Linking CXX executable test-merge_patch +[ 95%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 96%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 97%] Linking CXX executable test-msgpack +[ 97%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 98%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[100%] Linking CXX executable test-serialization +[100%] Built target test-serialization +Test project /home/json/build + Start 1: test-algorithms_default + 1/88 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/88 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/88 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/88 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/88 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/88 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-bson_default + 7/88 Test #7: test-bson_default ................... Passed 0.00 sec + Start 8: test-bson_all + 8/88 Test #8: test-bson_all ....................... Passed 0.01 sec + Start 9: test-capacity_default + 9/88 Test #9: test-capacity_default ............... Passed 0.00 sec + Start 10: test-capacity_all +10/88 Test #10: test-capacity_all ................... Passed 0.00 sec + Start 11: test-cbor_default +11/88 Test #11: test-cbor_default ................... Passed 1.72 sec + Start 12: test-cbor_all +12/88 Test #12: test-cbor_all ....................... Passed 33.26 sec + Start 13: test-class_const_iterator_default +13/88 Test #13: test-class_const_iterator_default ... Passed 0.00 sec + Start 14: test-class_const_iterator_all +14/88 Test #14: test-class_const_iterator_all ....... Passed 0.00 sec + Start 15: test-class_iterator_default +15/88 Test #15: test-class_iterator_default ......... Passed 0.00 sec + Start 16: test-class_iterator_all +16/88 Test #16: test-class_iterator_all ............. Passed 0.00 sec + Start 17: test-class_lexer_default +17/88 Test #17: test-class_lexer_default ............ Passed 0.00 sec + Start 18: test-class_lexer_all +18/88 Test #18: test-class_lexer_all ................ Passed 0.00 sec + Start 19: test-class_parser_default +19/88 Test #19: test-class_parser_default ........... Passed 0.07 sec + Start 20: test-class_parser_all +20/88 Test #20: test-class_parser_all ............... Passed 0.07 sec + Start 21: test-comparison_default +21/88 Test #21: test-comparison_default ............. Passed 0.00 sec + Start 22: test-comparison_all +22/88 Test #22: test-comparison_all ................. Passed 0.00 sec + Start 23: test-concepts_default +23/88 Test #23: test-concepts_default ............... Passed 0.00 sec + Start 24: test-concepts_all +24/88 Test #24: test-concepts_all ................... Passed 0.00 sec + Start 25: test-constructor1_default +25/88 Test #25: test-constructor1_default ........... Passed 0.01 sec + Start 26: test-constructor1_all +26/88 Test #26: test-constructor1_all ............... Passed 0.01 sec + Start 27: test-constructor2_default +27/88 Test #27: test-constructor2_default ........... Passed 0.00 sec + Start 28: test-constructor2_all +28/88 Test #28: test-constructor2_all ............... Passed 0.00 sec + Start 29: test-convenience_default +29/88 Test #29: test-convenience_default ............ Passed 0.00 sec + Start 30: test-convenience_all +30/88 Test #30: test-convenience_all ................ Passed 0.00 sec + Start 31: test-conversions_default +31/88 Test #31: test-conversions_default ............ Passed 0.01 sec + Start 32: test-conversions_all +32/88 Test #32: test-conversions_all ................ Passed 0.01 sec + Start 33: test-deserialization_default +33/88 Test #33: test-deserialization_default ........ Passed 0.01 sec + Start 34: test-deserialization_all +34/88 Test #34: test-deserialization_all ............ Passed 0.01 sec + Start 35: test-element_access1_default +35/88 Test #35: test-element_access1_default ........ Passed 0.01 sec + Start 36: test-element_access1_all +36/88 Test #36: test-element_access1_all ............ Passed 0.01 sec + Start 37: test-element_access2_default +37/88 Test #37: test-element_access2_default ........ Passed 0.01 sec + Start 38: test-element_access2_all +38/88 Test #38: test-element_access2_all ............ Passed 0.01 sec + Start 39: test-inspection_default +39/88 Test #39: test-inspection_default ............. Passed 4.53 sec + Start 40: test-inspection_all +40/88 Test #40: test-inspection_all ................. Passed 4.54 sec + Start 41: test-items_default +41/88 Test #41: test-items_default .................. Passed 0.00 sec + Start 42: test-items_all +42/88 Test #42: test-items_all ...................... Passed 0.00 sec + Start 43: test-iterators1_default +43/88 Test #43: test-iterators1_default ............. Passed 0.01 sec + Start 44: test-iterators1_all +44/88 Test #44: test-iterators1_all ................. Passed 0.01 sec + Start 45: test-iterators2_default +45/88 Test #45: test-iterators2_default ............. Passed 0.02 sec + Start 46: test-iterators2_all +46/88 Test #46: test-iterators2_all ................. Passed 0.02 sec + Start 47: test-json_patch_default +47/88 Test #47: test-json_patch_default ............. Passed 0.01 sec + Start 48: test-json_patch_all +48/88 Test #48: test-json_patch_all ................. Passed 0.01 sec + Start 49: test-json_pointer_default +49/88 Test #49: test-json_pointer_default ........... Passed 0.00 sec + Start 50: test-json_pointer_all +50/88 Test #50: test-json_pointer_all ............... Passed 0.00 sec + Start 51: test-merge_patch_default +51/88 Test #51: test-merge_patch_default ............ Passed 0.00 sec + Start 52: test-merge_patch_all +52/88 Test #52: test-merge_patch_all ................ Passed 0.00 sec + Start 53: test-meta_default +53/88 Test #53: test-meta_default ................... Passed 0.00 sec + Start 54: test-meta_all +54/88 Test #54: test-meta_all ....................... Passed 0.00 sec + Start 55: test-modifiers_default +55/88 Test #55: test-modifiers_default .............. Passed 0.00 sec + Start 56: test-modifiers_all +56/88 Test #56: test-modifiers_all .................. Passed 0.00 sec + Start 57: test-msgpack_default +57/88 Test #57: test-msgpack_default ................ Passed 1.45 sec + Start 58: test-msgpack_all +58/88 Test #58: test-msgpack_all .................... Passed 32.99 sec + Start 59: test-noexcept_default +59/88 Test #59: test-noexcept_default ............... Passed 0.00 sec + Start 60: test-noexcept_all +60/88 Test #60: test-noexcept_all ................... Passed 0.00 sec + Start 61: test-pointer_access_default +61/88 Test #61: test-pointer_access_default ......... Passed 0.00 sec + Start 62: test-pointer_access_all +62/88 Test #62: test-pointer_access_all ............. Passed 0.00 sec + Start 63: test-readme_default +63/88 Test #63: test-readme_default ................. Passed 0.00 sec + Start 64: test-readme_all +64/88 Test #64: test-readme_all ..................... Passed 0.00 sec + Start 65: test-reference_access_default +65/88 Test #65: test-reference_access_default ....... Passed 0.00 sec + Start 66: test-reference_access_all +66/88 Test #66: test-reference_access_all ........... Passed 0.00 sec + Start 67: test-regression_default +67/88 Test #67: test-regression_default ............. Passed 5.26 sec + Start 68: test-regression_all +68/88 Test #68: test-regression_all ................. Passed 5.26 sec + Start 69: test-serialization_default +69/88 Test #69: test-serialization_default .......... Passed 0.00 sec + Start 70: test-serialization_all +70/88 Test #70: test-serialization_all .............. Passed 0.00 sec + Start 71: test-testsuites_default +71/88 Test #71: test-testsuites_default ............. Passed 0.07 sec + Start 72: test-testsuites_all +72/88 Test #72: test-testsuites_all ................. Passed 0.07 sec + Start 73: test-to_chars_default +73/88 Test #73: test-to_chars_default ............... Passed 0.00 sec + Start 74: test-to_chars_all +74/88 Test #74: test-to_chars_all ................... Passed 0.00 sec + Start 75: test-ubjson_default +75/88 Test #75: test-ubjson_default ................. Passed 0.77 sec + Start 76: test-ubjson_all +76/88 Test #76: test-ubjson_all ..................... Passed 9.63 sec + Start 77: test-udt_default +77/88 Test #77: test-udt_default .................... Passed 0.00 sec + Start 78: test-udt_all +78/88 Test #78: test-udt_all ........................ Passed 0.00 sec + Start 79: test-unicode_default +79/88 Test #79: test-unicode_default ................ Passed 0.00 sec + Start 80: test-unicode_all +80/88 Test #80: test-unicode_all .................... Passed 255.00 sec + Start 81: test-wstring_default +81/88 Test #81: test-wstring_default ................ Passed 0.00 sec + Start 82: test-wstring_all +82/88 Test #82: test-wstring_all .................... Passed 0.00 sec + Start 83: cmake_import_configure +83/88 Test #83: cmake_import_configure .............. Passed 0.63 sec + Start 84: cmake_import_build +84/88 Test #84: cmake_import_build .................. Passed 1.93 sec + Start 85: cmake_import_minver_configure +85/88 Test #85: cmake_import_minver_configure ....... Passed 0.63 sec + Start 86: cmake_import_minver_build +86/88 Test #86: cmake_import_minver_build ........... Passed 1.03 sec + Start 87: cmake_add_subdirectory_configure +87/88 Test #87: cmake_add_subdirectory_configure .... Passed 0.68 sec + Start 88: cmake_add_subdirectory_build +88/88 Test #88: cmake_add_subdirectory_build ........ Passed 1.91 sec + +100% tests passed, 0 tests failed out of 88 + +Label Time Summary: +all = 340.95 sec*proc (41 tests) +default = 14.01 sec*proc (41 tests) + +Total Test time (real) = 361.78 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1769/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1769/fix.patch new file mode 100644 index 000000000..a1d6fd4c4 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1769/fix.patch @@ -0,0 +1,26 @@ +diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp +index 9076441c..041408a8 100644 +--- a/include/nlohmann/detail/json_pointer.hpp ++++ b/include/nlohmann/detail/json_pointer.hpp +@@ -267,7 +267,7 @@ class json_pointer + + @since version 3.6.0 + */ +- const std::string& back() ++ const std::string& back() const + { + if (JSON_HEDLEY_UNLIKELY(empty())) + { +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index d27940b8..f7aedd10 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -10232,7 +10232,7 @@ class json_pointer + + @since version 3.6.0 + */ +- const std::string& back() ++ const std::string& back() const + { + if (JSON_HEDLEY_UNLIKELY(empty())) + { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1769/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1769/report.json new file mode 100644 index 000000000..b967293a4 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1769/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1769, "valid": true, "error_msg": "", "fixed_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-class_iterator_default", "test-conversions_all", "test-iterators1_default", "test-noexcept_default", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-capacity_default", "test-items_all", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "cmake_import_build", "test-alt-string_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-iterators2_all", "test-wstring_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/fix-patch-run.log new file mode 100644 index 000000000..0bc5d6678 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/fix-patch-run.log @@ -0,0 +1,264 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5706 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.3 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.3 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.VHmaVNvy +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.VHmaVNvy/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.VHmaVNvy/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.VHmaVNvy/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.VHmaVNvy/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.VHmaVNvy/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.VHmaVNvy +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=37964cfb8c79 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.E8keZJMjnI/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +mv: cannot move 'build/json_test_data/' to a subdirectory of itself, 'build/json_test_data/.bak' +patching file test/json_unit.cc +patching file src/json.cc +-- The C compiler identification is GNU 7.5.0 +-- The CXX compiler identification is Clang 7.0.1 +-- Check for working C compiler: /usr/bin/cc +-- Check for working C compiler: /usr/bin/cc -- works +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Detecting C compile features +-- Detecting C compile features - done +-- Check for working CXX compiler: /usr/bin/c++ +-- Check for working CXX compiler: /usr/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target json +[ 25%] Building CXX object CMakeFiles/json.dir/src/json.cc.o +clang: warning: argument unused during compilation: '--coverage' [-Wunused-command-line-argument] +[ 50%] Linking CXX static library libjson.a +[ 50%] Built target json +Scanning dependencies of target json_unit +[ 75%] Building CXX object CMakeFiles/json_unit.dir/test/json_unit.cc.o +clang: warning: argument unused during compilation: '--coverage' [-Wunused-command-line-argument] +[100%] Linking CXX executable json_unit +[100%] Built target json_unit +Test project /home/json/build + Start 1: json_unit +1/1 Test #1: json_unit ........................ Passed 0.03 sec + +100% tests passed, 0 tests failed out of 1 + +Total Test time (real) = 0.03 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/fix.patch new file mode 100644 index 000000000..85073579f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/fix.patch @@ -0,0 +1,36 @@ +diff --git a/src/json.cc b/src/json.cc +index e548366a..e4016f9c 100644 +--- a/src/json.cc ++++ b/src/json.cc +@@ -2045,10 +2045,28 @@ std::string json::parser::parseString() + // get position of closing quotes + auto quotepos_ = buffer_.find_first_of("\"", pos_); + +- // if the closing quotes are escaped (character before the quotes is a +- // backslash), we continue looking for the final quotes +- while (quotepos_ != std::string::npos and buffer_[quotepos_ - 1] == '\\') ++ // if the closing quotes are escaped, we continue looking for the final ++ // quotes; to check this, we count the number of consecutive backslashes ++ // preceding the quote - if it's odd, the quote is escaped ++ while (quotepos_ != std::string::npos) + { ++ std::size_t backslashCount = 0; ++ std::size_t idx = quotepos_ - 1; ++ while (idx >= pos_ && buffer_[idx] == '\\') ++ { ++ ++backslashCount; ++ if (idx == 0) ++ { ++ break; ++ } ++ --idx; ++ } ++ ++ if (backslashCount % 2 == 0) ++ { ++ break; ++ } ++ + quotepos_ = buffer_.find_first_of("\"", quotepos_ + 1); + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/report.json new file mode 100644 index 000000000..5b8cb1a71 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-18/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 18, "valid": true, "error_msg": "", "fixed_tests": {"json_unit": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"json_unit": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 1, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 1, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/fix-patch-run.log new file mode 100644 index 000000000..cd36c6f33 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/fix-patch-run.log @@ -0,0 +1,2435 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5848 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.8 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (18.1 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.lhSvHHjc +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.lhSvHHjc/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.lhSvHHjc/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.lhSvHHjc/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.lhSvHHjc/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.lhSvHHjc/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.lhSvHHjc +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=2f56009af26d +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.mmyLr4rchL/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-regression.cpp +patching file include/nlohmann/detail/macro_scope.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 1%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 1%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 10%] Linking CXX executable test-ubjson +[ 10%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 13%] Linking CXX executable test-to_chars +[ 13%] Built target test-to_chars +Scanning dependencies of target test-convenience +[ 14%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 15%] Linking CXX executable test-convenience +[ 15%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +Scanning dependencies of target test-testsuites +[ 19%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 20%] Linking CXX executable test-testsuites +[ 20%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 21%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 22%] Linking CXX executable test-concepts +[ 22%] Built target test-concepts +Scanning dependencies of target test-class_parser +[ 24%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 25%] Linking CXX executable test-class_parser +[ 25%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 26%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 27%] Linking CXX executable test-comparison +[ 27%] Built target test-comparison +Scanning dependencies of target test-regression +[ 28%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +In file included from /home/json/test/src/unit-regression.cpp:37:0: +/home/json/single_include/nlohmann/json.hpp: In instantiation of 'ValueType nlohmann::basic_json::get() const [with ValueTypeCV = const {anonymous}::NonDefaultFromJsonStruct; ValueType = {anonymous}::NonDefaultFromJsonStruct; typename std::enable_if<((! std::is_same, ValueType>::value) && nlohmann::detail::has_non_default_from_json, ValueType>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]': +/home/json/single_include/nlohmann/json.hpp:17426:20: recursively required by substitution of 'template class Op, class ... Args> struct nlohmann::detail::detector >::type, Op, Args ...> [with Default = nlohmann::detail::nonesuch; Op = nlohmann::detail::get_template_function; Args = {const nlohmann::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&, const {anonymous}::NonDefaultFromJsonStruct}]' +/home/json/single_include/nlohmann/json.hpp:17426:20: required by substitution of 'template::value) && (! std::is_same > >::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)) && (! std::is_same >::value)) && typename nlohmann::detail::detector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&, ValueType>::value_t:: value), int>::type > nlohmann::basic_json<>::operator ValueType >() const [with ValueType = const {anonymous}::NonDefaultFromJsonStruct; typename std::enable_if<((((((! std::is_pointer<_Tp>::value) && (! std::is_same > >::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)) && (! std::is_same >::value)) && typename nlohmann::detail::detector, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer>&, ValueType>::value_t:: value), int>::type = ]' +/home/json/test/src/unit-regression.cpp:1174:9: required from here +/home/json/single_include/nlohmann/json.hpp:17178:78: error: no matching function for call to 'nlohmann::adl_serializer::from_json(const nlohmann::basic_json<>&)' + JSONSerializer::from_json(std::declval()))) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /home/json/test/src/unit-regression.cpp:37:0: +/home/json/single_include/nlohmann/json.hpp:3809:17: note: candidate: template static decltype ((nlohmann::{anonymous}::from_json(forward(j), val), void())) nlohmann::adl_serializer::from_json(BasicJsonType&&, ValueType&) [with BasicJsonType = BasicJsonType; ValueType = ValueType; = const {anonymous}::NonDefaultFromJsonStruct; = void] + static auto from_json(BasicJsonType&& j, ValueType& val) noexcept( + ^~~~~~~~~ +/home/json/single_include/nlohmann/json.hpp:3809:17: note: template argument deduction/substitution failed: +In file included from /home/json/test/src/unit-regression.cpp:37:0: +/home/json/single_include/nlohmann/json.hpp:17178:78: note: candidate expects 2 arguments, 1 provided + JSONSerializer::from_json(std::declval()))) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/single_include/nlohmann/json.hpp: In instantiation of 'ValueType nlohmann::basic_json::get() const [with ValueTypeCV = const {anonymous}::NonDefaultFromJsonStruct; ValueType = {anonymous}::NonDefaultFromJsonStruct; typename std::enable_if<((! std::is_same, ValueType>::value) && nlohmann::detail::has_non_default_from_json, ValueType>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = int; NumberUnsignedType = unsigned int; NumberFloatType = float; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]': +/home/json/single_include/nlohmann/json.hpp:17426:20: recursively required by substitution of 'template class Op, class ... Args> struct nlohmann::detail::detector >::type, Op, Args ...> [with Default = nlohmann::detail::nonesuch; Op = nlohmann::detail::get_template_function; Args = {const nlohmann::basic_json, std::allocator >, bool, int, unsigned int, float, std::allocator, nlohmann::adl_serializer>&, const {anonymous}::NonDefaultFromJsonStruct}]' +/home/json/single_include/nlohmann/json.hpp:17426:20: required by substitution of 'template::value) && (! std::is_same, bool, int, unsigned int, float> > >::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)) && (! std::is_same >::value)) && typename nlohmann::detail::detector, std::allocator >, bool, int, unsigned int, float, std::allocator, nlohmann::adl_serializer>&, ValueType>::value_t:: value), int>::type > nlohmann::basic_json, bool, int, unsigned int, float>::operator ValueType >() const [with ValueType = const {anonymous}::NonDefaultFromJsonStruct; typename std::enable_if<((((((! std::is_pointer<_Tp>::value) && (! std::is_same, bool, int, unsigned int, float> > >::value)) && (! std::is_same::value)) && (! nlohmann::detail::is_basic_json::value)) && (! std::is_same >::value)) && typename nlohmann::detail::detector, std::allocator >, bool, int, unsigned int, float, std::allocator, nlohmann::adl_serializer>&, ValueType>::value_t:: value), int>::type = ]' +/home/json/single_include/nlohmann/json.hpp:20239:20: required from 'bool nlohmann::operator==(nlohmann::basic_json::const_reference, ScalarType) [with ScalarType = int; typename std::enable_if::value, int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = int; NumberUnsignedType = unsigned int; NumberFloatType = float; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::const_reference = const nlohmann::basic_json, bool, int, unsigned int, float>&; nlohmann::basic_json::value_type = nlohmann::basic_json, bool, int, unsigned int, float>]' +/home/json/test/thirdparty/doctest/doctest.h:1171:9: required from 'doctest::detail::Result doctest::detail::Expression_lhs::operator==(const R&) [with R = int; L = const nlohmann::basic_json, bool, int, unsigned int, float>&]' +/home/json/test/src/unit-regression.cpp:349:9: required from here +/home/json/single_include/nlohmann/json.hpp:17178:78: error: no matching function for call to 'nlohmann::adl_serializer::from_json(const nlohmann::basic_json, bool, int, unsigned int, float>&)' +In file included from /home/json/test/src/unit-regression.cpp:37:0: +/home/json/single_include/nlohmann/json.hpp:3809:17: note: candidate: template static decltype ((nlohmann::{anonymous}::from_json(forward(j), val), void())) nlohmann::adl_serializer::from_json(BasicJsonType&&, ValueType&) [with BasicJsonType = BasicJsonType; ValueType = ValueType; = const {anonymous}::NonDefaultFromJsonStruct; = void] + static auto from_json(BasicJsonType&& j, ValueType& val) noexcept( + ^~~~~~~~~ +/home/json/single_include/nlohmann/json.hpp:3809:17: note: template argument deduction/substitution failed: +In file included from /home/json/test/src/unit-regression.cpp:37:0: +/home/json/single_include/nlohmann/json.hpp:17178:78: note: candidate expects 2 arguments, 1 provided + JSONSerializer::from_json(std::declval()))) + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/single_include/nlohmann/json.hpp:20166:17: warning: inline function 'bool nlohmann::operator==(nlohmann::basic_json, bool, int, unsigned int, float>::const_reference, nlohmann::basic_json, bool, int, unsigned int, float>::const_reference)' used but never defined + friend bool operator==(const_reference lhs, const_reference rhs) noexcept + ^~~~~~~~ +make[2]: *** [test/CMakeFiles/test-regression.dir/build.make:63: test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:1484: test/CMakeFiles/test-regression.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: test-algorithms_default +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms + 1/88 Test #1: test-algorithms_default .............***Not Run 0.00 sec + Start 2: test-algorithms_all +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms + 2/88 Test #2: test-algorithms_all .................***Not Run 0.00 sec + Start 3: test-allocator_default +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +Unable to find executable: /home/json/build/test/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator + 3/88 Test #3: test-allocator_default ..............***Not Run 0.00 sec + Start 4: test-allocator_all +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator +Unable to find executable: /home/json/build/test/test-allocator + 4/88 Test #4: test-allocator_all ..................***Not Run 0.00 sec + Start 5: test-alt-string_default +Could not find executable /home/json/build/test/test-alt-string +Looked in the following places: +/home/json/build/test/test-alt-string +/home/json/build/test/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Development/test-alt-string +/home/json/build/test/Development/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +Unable to find executable: /home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Development/test-alt-string +home/json/build/test/Development/test-alt-string + 5/88 Test #5: test-alt-string_default .............***Not Run 0.00 sec + Start 6: test-alt-string_all +Could not find executable /home/json/build/test/test-alt-string +Looked in the following places: +/home/json/build/test/test-alt-string +/home/json/build/test/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Development/test-alt-string +/home/json/build/test/Development/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Development/test-alt-string +home/json/build/test/Development/test-alt-string +Unable to find executable: /home/json/build/test/test-alt-string + 6/88 Test #6: test-alt-string_all .................***Not Run 0.00 sec + Start 7: test-bson_default +Could not find executable /home/json/build/test/test-bson +Looked in the following places: +/home/json/build/test/test-bson +/home/json/build/test/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/MinSizeRel/test-bson +Unable to find executable: /home/json/build/test/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Development/test-bson +/home/json/build/test/Development/test-bson +home/json/build/test/test-bson +home/json/build/test/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Development/test-bson +home/json/build/test/Development/test-bson + 7/88 Test #7: test-bson_default ...................***Not Run 0.00 sec + Start 8: test-bson_all +Could not find executable /home/json/build/test/test-bson +Looked in the following places: +/home/json/build/test/test-bson +/home/json/build/test/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Development/test-bson +/home/json/build/test/Development/test-bson +home/json/build/test/test-bson +home/json/build/test/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Development/test-bson +home/json/build/test/Development/test-bson +Unable to find executable: /home/json/build/test/test-bson + 8/88 Test #8: test-bson_all .......................***Not Run 0.00 sec + Start 9: test-capacity_default +Could not find executable /home/json/build/test/test-capacity +Looked in the following places: +/home/json/build/test/test-capacity +/home/json/build/test/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Development/test-capacity +/home/json/build/test/Development/test-capacity +home/json/build/test/test-capacity +home/json/build/test/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Debug/test-capacity +Unable to find executable: /home/json/build/test/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Development/test-capacity +home/json/build/test/Development/test-capacity + 9/88 Test #9: test-capacity_default ...............***Not Run 0.00 sec + Start 10: test-capacity_all +Could not find executable /home/json/build/test/test-capacity +Looked in the following places: +/home/json/build/test/test-capacity +/home/json/build/test/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Development/test-capacity +/home/json/build/test/Development/test-capacity +home/json/build/test/test-capacity +home/json/build/test/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/MinSizeRel/test-capacity +Unable to find executable: /home/json/build/test/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Development/test-capacity +home/json/build/test/Development/test-capacity +10/88 Test #10: test-capacity_all ...................***Not Run 0.00 sec + Start 11: test-cbor_default +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor +Unable to find executable: /home/json/build/test/test-cbor +11/88 Test #11: test-cbor_default ...................***Not Run 0.00 sec + Start 12: test-cbor_all +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor +Unable to find executable: /home/json/build/test/test-cbor +12/88 Test #12: test-cbor_all .......................***Not Run 0.00 sec + Start 13: test-class_const_iterator_default +Could not find executable /home/json/build/test/test-class_const_iterator +Looked in the following places: +/home/json/build/test/test-class_const_iterator +/home/json/build/test/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +13/88 Test #13: test-class_const_iterator_default ...***Not Run 0.00 sec + Start 14: test-class_const_iterator_all +Could not find executable /home/json/build/test/test-class_const_iterator +Looked in the following places: +/home/json/build/test/test-class_const_iterator +/home/json/build/test/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +14/88 Test #14: test-class_const_iterator_all .......***Not Run 0.00 sec + Start 15: test-class_iterator_default +15/88 Test #15: test-class_iterator_default ......... Passed 0.00 sec + Start 16: test-class_iterator_all +16/88 Test #16: test-class_iterator_all ............. Passed 0.00 sec + Start 17: test-class_lexer_default +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +17/88 Test #17: test-class_lexer_default ............***Not Run 0.00 sec + Start 18: test-class_lexer_all +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +18/88 Test #18: test-class_lexer_all ................***Not Run 0.00 sec + Start 19: test-class_parser_default +19/88 Test #19: test-class_parser_default ........... Passed 0.07 sec + Start 20: test-class_parser_all +20/88 Test #20: test-class_parser_all ............... Passed 0.07 sec + Start 21: test-comparison_default +21/88 Test #21: test-comparison_default ............. Passed 0.00 sec + Start 22: test-comparison_all +22/88 Test #22: test-comparison_all ................. Passed 0.00 sec + Start 23: test-concepts_default +23/88 Test #23: test-concepts_default ............... Passed 0.00 sec + Start 24: test-concepts_all +24/88 Test #24: test-concepts_all ................... Passed 0.00 sec + Start 25: test-constructor1_default +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +25/88 Test #25: test-constructor1_default ...........***Not Run 0.00 sec + Start 26: test-constructor1_all +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +26/88 Test #26: test-constructor1_all ...............***Not Run 0.00 sec + Start 27: test-constructor2_default +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +27/88 Test #27: test-constructor2_default ...........***Not Run 0.00 sec + Start 28: test-constructor2_all +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +28/88 Test #28: test-constructor2_all ...............***Not Run 0.00 sec + Start 29: test-convenience_default +29/88 Test #29: test-convenience_default ............ Passed 0.00 sec + Start 30: test-convenience_all +30/88 Test #30: test-convenience_all ................ Passed 0.00 sec + Start 31: test-conversions_default +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +31/88 Test #31: test-conversions_default ............***Not Run 0.00 sec + Start 32: test-conversions_all +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +32/88 Test #32: test-conversions_all ................***Not Run 0.00 sec + Start 33: test-deserialization_default +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +33/88 Test #33: test-deserialization_default ........***Not Run 0.00 sec + Start 34: test-deserialization_all +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +34/88 Test #34: test-deserialization_all ............***Not Run 0.00 sec + Start 35: test-element_access1_default +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +35/88 Test #35: test-element_access1_default ........***Not Run 0.00 sec + Start 36: test-element_access1_all +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +36/88 Test #36: test-element_access1_all ............***Not Run 0.00 sec + Start 37: test-element_access2_default +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +37/88 Test #37: test-element_access2_default ........***Not Run 0.00 sec + Start 38: test-element_access2_all +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access2 +38/88 Test #38: test-element_access2_all ............***Not Run 0.00 sec + Start 39: test-inspection_default +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +39/88 Test #39: test-inspection_default .............***Not Run 0.00 sec + Start 40: test-inspection_all +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +Unable to find executable: /home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +40/88 Test #40: test-inspection_all .................***Not Run 0.00 sec + Start 41: test-items_default +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +Unable to find executable: /home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +41/88 Test #41: test-items_default ..................***Not Run 0.00 sec + Start 42: test-items_all +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +Unable to find executable: /home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +42/88 Test #42: test-items_all ......................***Not Run 0.00 sec + Start 43: test-iterators1_default +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +43/88 Test #43: test-iterators1_default .............***Not Run 0.00 sec + Start 44: test-iterators1_all +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +44/88 Test #44: test-iterators1_all .................***Not Run 0.00 sec + Start 45: test-iterators2_default +Could not find executable /home/json/build/test/test-iterators2 +Looked in the following places: +/home/json/build/test/test-iterators2 +/home/json/build/test/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Development/test-iterators2 +/home/json/build/test/Development/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Release/test-iterators2 +Unable to find executable: /home/json/build/test/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Development/test-iterators2 +home/json/build/test/Development/test-iterators2 +45/88 Test #45: test-iterators2_default .............***Not Run 0.00 sec + Start 46: test-iterators2_all +Could not find executable /home/json/build/test/test-iterators2 +Looked in the following places: +/home/json/build/test/test-iterators2 +/home/json/build/test/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Development/test-iterators2 +/home/json/build/test/Development/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +Unable to find executable: /home/json/build/test/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Development/test-iterators2 +home/json/build/test/Development/test-iterators2 +46/88 Test #46: test-iterators2_all .................***Not Run 0.00 sec + Start 47: test-json_patch_default +Could not find executable /home/json/build/test/test-json_patch +Looked in the following places: +/home/json/build/test/test-json_patch +/home/json/build/test/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Development/test-json_patch +/home/json/build/test/Development/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +Unable to find executable: /home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Development/test-json_patch +home/json/build/test/Development/test-json_patch +47/88 Test #47: test-json_patch_default .............***Not Run 0.00 sec + Start 48: test-json_patch_all +Could not find executable /home/json/build/test/test-json_patch +Looked in the following places: +/home/json/build/test/test-json_patch +/home/json/build/test/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Development/test-json_patch +/home/json/build/test/Development/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Debug/test-json_patch +Unable to find executable: /home/json/build/test/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Development/test-json_patch +home/json/build/test/Development/test-json_patch +48/88 Test #48: test-json_patch_all .................***Not Run 0.00 sec + Start 49: test-json_pointer_default +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +49/88 Test #49: test-json_pointer_default ...........***Not Run 0.00 sec + Start 50: test-json_pointer_all +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +50/88 Test #50: test-json_pointer_all ...............***Not Run 0.00 sec + Start 51: test-merge_patch_default +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +home/json/build/test/Development/test-merge_patch +51/88 Test #51: test-merge_patch_default ............***Not Run 0.00 sec + Start 52: test-merge_patch_all +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +52/88 Test #52: test-merge_patch_all ................***Not Run 0.00 sec + Start 53: test-meta_default +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +Unable to find executable: /home/json/build/test/test-meta +53/88 Test #53: test-meta_default ...................***Not Run 0.00 sec + Start 54: test-meta_all +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +54/88 Test #54: test-meta_all .......................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-meta + Start 55: test-modifiers_default +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +55/88 Test #55: test-modifiers_default ..............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-modifiers + Start 56: test-modifiers_all +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +56/88 Test #56: test-modifiers_all ..................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-modifiers + Start 57: test-msgpack_default +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +57/88 Test #57: test-msgpack_default ................***Not Run 0.00 sec + Start 58: test-msgpack_all +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +58/88 Test #58: test-msgpack_all ....................***Not Run 0.00 sec + Start 59: test-noexcept_default +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Development/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +Unable to find executable: /home/json/build/test/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +59/88 Test #59: test-noexcept_default ...............***Not Run 0.00 sec + Start 60: test-noexcept_all +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Development/test-noexcept +Unable to find executable: /home/json/build/test/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +60/88 Test #60: test-noexcept_all ...................***Not Run 0.00 sec + Start 61: test-pointer_access_default +Could not find executable /home/json/build/test/test-pointer_access +Looked in the following places: +/home/json/build/test/test-pointer_access +/home/json/build/test/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Development/test-pointer_access +/home/json/build/test/Development/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +Unable to find executable: /home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Development/test-pointer_access +home/json/build/test/Development/test-pointer_access +61/88 Test #61: test-pointer_access_default .........***Not Run 0.00 sec + Start 62: test-pointer_access_all +Could not find executable /home/json/build/test/test-pointer_access +Looked in the following places: +/home/json/build/test/test-pointer_access +/home/json/build/test/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Development/test-pointer_access +/home/json/build/test/Development/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Development/test-pointer_access +home/json/build/test/Development/test-pointer_access +Unable to find executable: /home/json/build/test/test-pointer_access +62/88 Test #62: test-pointer_access_all .............***Not Run 0.00 sec + Start 63: test-readme_default +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +Unable to find executable: /home/json/build/test/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +63/88 Test #63: test-readme_default .................***Not Run 0.00 sec + Start 64: test-readme_all +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +Unable to find executable: /home/json/build/test/test-readme +64/88 Test #64: test-readme_all .....................***Not Run 0.00 sec + Start 65: test-reference_access_default +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +Unable to find executable: /home/json/build/test/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +65/88 Test #65: test-reference_access_default .......***Not Run 0.00 sec + Start 66: test-reference_access_all +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +Unable to find executable: /home/json/build/test/test-reference_access +66/88 Test #66: test-reference_access_all ...........***Not Run 0.00 sec + Start 67: test-regression_default +Could not find executable /home/json/build/test/test-regression +Looked in the following places: +/home/json/build/test/test-regression +/home/json/build/test/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Development/test-regression +/home/json/build/test/Development/test-regression +home/json/build/test/test-regression +home/json/build/test/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Debug/test-regression +Unable to find executable: /home/json/build/test/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Development/test-regression +home/json/build/test/Development/test-regression +67/88 Test #67: test-regression_default .............***Not Run 0.00 sec + Start 68: test-regression_all +Could not find executable /home/json/build/test/test-regression +Looked in the following places: +/home/json/build/test/test-regression +/home/json/build/test/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Development/test-regression +/home/json/build/test/Development/test-regression +home/json/build/test/test-regression +home/json/build/test/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Development/test-regression +home/json/build/test/Development/test-regression +Unable to find executable: /home/json/build/test/test-regression +68/88 Test #68: test-regression_all .................***Not Run 0.00 sec + Start 69: test-serialization_default +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +69/88 Test #69: test-serialization_default ..........***Not Run 0.00 sec + Start 70: test-serialization_all +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +70/88 Test #70: test-serialization_all ..............***Not Run 0.00 sec + Start 71: test-testsuites_default +71/88 Test #71: test-testsuites_default ............. Passed 0.07 sec + Start 72: test-testsuites_all +72/88 Test #72: test-testsuites_all ................. Passed 0.07 sec + Start 73: test-to_chars_default +73/88 Test #73: test-to_chars_default ............... Passed 0.00 sec + Start 74: test-to_chars_all +74/88 Test #74: test-to_chars_all ................... Passed 0.00 sec + Start 75: test-ubjson_default +75/88 Test #75: test-ubjson_default ................. Passed 0.77 sec + Start 76: test-ubjson_all +76/88 Test #76: test-ubjson_all ..................... Passed 9.61 sec + Start 77: test-udt_default +77/88 Test #77: test-udt_default .................... Passed 0.00 sec + Start 78: test-udt_all +78/88 Test #78: test-udt_all ........................ Passed 0.00 sec + Start 79: test-unicode_default +79/88 Test #79: test-unicode_default ................ Passed 0.00 sec + Start 80: test-unicode_all +80/88 Test #80: test-unicode_all .................... Passed 254.14 sec + Start 81: test-wstring_default +81/88 Test #81: test-wstring_default ................ Passed 0.00 sec + Start 82: test-wstring_all +82/88 Test #82: test-wstring_all .................... Passed 0.00 sec + Start 83: cmake_import_configure +83/88 Test #83: cmake_import_configure .............. Passed 0.61 sec + Start 84: cmake_import_build +84/88 Test #84: cmake_import_build .................. Passed 1.87 sec + Start 85: cmake_import_minver_configure +85/88 Test #85: cmake_import_minver_configure ....... Passed 0.62 sec + Start 86: cmake_import_minver_build +86/88 Test #86: cmake_import_minver_build ........... Passed 0.95 sec + Start 87: cmake_add_subdirectory_configure +87/88 Test #87: cmake_add_subdirectory_configure .... Passed 0.64 sec + Start 88: cmake_add_subdirectory_build +88/88 Test #88: cmake_add_subdirectory_build ........ Passed 1.91 sec + +32% tests passed, 60 tests failed out of 88 + +Label Time Summary: +all = 263.90 sec*proc (41 tests) +default = 0.92 sec*proc (41 tests) + +Total Test time (real) = 271.43 sec + +The following tests FAILED: + 1 - test-algorithms_default (Not Run) + 2 - test-algorithms_all (Not Run) + 3 - test-allocator_default (Not Run) + 4 - test-allocator_all (Not Run) + 5 - test-alt-string_default (Not Run) + 6 - test-alt-string_all (Not Run) + 7 - test-bson_default (Not Run) + 8 - test-bson_all (Not Run) + 9 - test-capacity_default (Not Run) + 10 - test-capacity_all (Not Run) + 11 - test-cbor_default (Not Run) + 12 - test-cbor_all (Not Run) + 13 - test-class_const_iterator_default (Not Run) + 14 - test-class_const_iterator_all (Not Run) + 17 - test-class_lexer_default (Not Run) + 18 - test-class_lexer_all (Not Run) + 25 - test-constructor1_default (Not Run) + 26 - test-constructor1_all (Not Run) + 27 - test-constructor2_default (Not Run) + 28 - test-constructor2_all (Not Run) + 31 - test-conversions_default (Not Run) + 32 - test-conversions_all (Not Run) + 33 - test-deserialization_default (Not Run) + 34 - test-deserialization_all (Not Run) + 35 - test-element_access1_default (Not Run) + 36 - test-element_access1_all (Not Run) + 37 - test-element_access2_default (Not Run) + 38 - test-element_access2_all (Not Run) + 39 - test-inspection_default (Not Run) + 40 - test-inspection_all (Not Run) + 41 - test-items_default (Not Run) + 42 - test-items_all (Not Run) + 43 - test-iterators1_default (Not Run) + 44 - test-iterators1_all (Not Run) + 45 - test-iterators2_default (Not Run) + 46 - test-iterators2_all (Not Run) + 47 - test-json_patch_default (Not Run) + 48 - test-json_patch_all (Not Run) + 49 - test-json_pointer_default (Not Run) + 50 - test-json_pointer_all (Not Run) + 51 - test-merge_patch_default (Not Run) + 52 - test-merge_patch_all (Not Run) + 53 - test-meta_default (Not Run) + 54 - test-meta_all (Not Run) + 55 - test-modifiers_default (Not Run) + 56 - test-modifiers_all (Not Run) + 57 - test-msgpack_default (Not Run) + 58 - test-msgpack_all (Not Run) + 59 - test-noexcept_default (Not Run) + 60 - test-noexcept_all (Not Run) + 61 - test-pointer_access_default (Not Run) + 62 - test-pointer_access_all (Not Run) + 63 - test-readme_default (Not Run) + 64 - test-readme_all (Not Run) + 65 - test-reference_access_default (Not Run) + 66 - test-reference_access_all (Not Run) + 67 - test-regression_default (Not Run) + 68 - test-regression_all (Not Run) + 69 - test-serialization_default (Not Run) +Errors while running CTest + 70 - test-serialization_all (Not Run) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/fix.patch new file mode 100644 index 000000000..2edc8c9b4 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/fix.patch @@ -0,0 +1,88 @@ +diff --git a/include/nlohmann/detail/macro_scope.hpp b/include/nlohmann/detail/macro_scope.hpp +index 2be7581d..639cbecc 100644 +--- a/include/nlohmann/detail/macro_scope.hpp ++++ b/include/nlohmann/detail/macro_scope.hpp +@@ -73,6 +73,18 @@ + #define JSON_INTERNAL_CATCH JSON_INTERNAL_CATCH_USER + #endif + ++namespace nlohmann ++{ ++namespace detail ++{ ++template ++bool json_equals(const BasicJsonType& lhs, const BasicJsonType& rhs) noexcept ++{ ++ return lhs == rhs; ++} ++} ++} ++ + /*! + @brief macro to briefly define a mapping between an enum and JSON + @def NLOHMANN_JSON_SERIALIZE_ENUM +@@ -85,7 +97,7 @@ + static_assert(std::is_enum::value, #ENUM_TYPE " must be an enum!"); \ + static const std::pair m[] = __VA_ARGS__; \ + auto it = std::find_if(std::begin(m), std::end(m), \ +- [e](const std::pair& ej_pair) -> bool \ ++ [&e](const std::pair& ej_pair) -> bool \ + { \ + return ej_pair.first == e; \ + }); \ +@@ -97,9 +109,9 @@ + static_assert(std::is_enum::value, #ENUM_TYPE " must be an enum!"); \ + static const std::pair m[] = __VA_ARGS__; \ + auto it = std::find_if(std::begin(m), std::end(m), \ +- [j](const std::pair& ej_pair) -> bool \ ++ [&j](const std::pair& ej_pair) -> bool \ + { \ +- return ej_pair.second == j; \ ++ return nlohmann::detail::json_equals(ej_pair.second, j); \ + }); \ + e = ((it != std::end(m)) ? it : std::begin(m))->first; \ + } +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index b959ec5e..1c9ebd24 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -1777,6 +1777,18 @@ JSON_HEDLEY_DIAGNOSTIC_POP + #define JSON_INTERNAL_CATCH JSON_INTERNAL_CATCH_USER + #endif + ++namespace nlohmann ++{ ++namespace detail ++{ ++template ++bool json_equals(const BasicJsonType& lhs, const BasicJsonType& rhs) noexcept ++{ ++ return lhs == rhs; ++} ++} ++} ++ + /*! + @brief macro to briefly define a mapping between an enum and JSON + @def NLOHMANN_JSON_SERIALIZE_ENUM +@@ -1789,7 +1801,7 @@ JSON_HEDLEY_DIAGNOSTIC_POP + static_assert(std::is_enum::value, #ENUM_TYPE " must be an enum!"); \ + static const std::pair m[] = __VA_ARGS__; \ + auto it = std::find_if(std::begin(m), std::end(m), \ +- [e](const std::pair& ej_pair) -> bool \ ++ [&e](const std::pair& ej_pair) -> bool \ + { \ + return ej_pair.first == e; \ + }); \ +@@ -1801,9 +1813,9 @@ JSON_HEDLEY_DIAGNOSTIC_POP + static_assert(std::is_enum::value, #ENUM_TYPE " must be an enum!"); \ + static const std::pair m[] = __VA_ARGS__; \ + auto it = std::find_if(std::begin(m), std::end(m), \ +- [j](const std::pair& ej_pair) -> bool \ ++ [&j](const std::pair& ej_pair) -> bool \ + { \ +- return ej_pair.second == j; \ ++ return nlohmann::detail::json_equals(ej_pair.second, j); \ + }); \ + e = ((it != std::end(m)) ? it : std::begin(m))->first; \ + } diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/report.json new file mode 100644 index 000000000..13c128389 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-1821/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 1821, "valid": true, "error_msg": "", "fixed_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 28, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-class_iterator_default", "test-comparison_default", "test-concepts_default", "test-to_chars_all", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-convenience_all", "cmake_import_configure", "test-unicode_default", "cmake_import_minver_configure", "test-testsuites_default", "test-wstring_all", "test-udt_all", "test-unicode_all", "test-class_parser_all", "test-ubjson_default", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/fix-patch-run.log new file mode 100644 index 000000000..d21f03058 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/fix-patch-run.log @@ -0,0 +1,603 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (6093 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.2 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.2 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.fA0LAezg +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.fA0LAezg/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.fA0LAezg/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.fA0LAezg/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.fA0LAezg/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.fA0LAezg/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.fA0LAezg +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=4e0c65caa582 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.f4TZphOU3r/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-json_pointer.cpp +patching file doc/examples/contains_json_pointer.cpp +patching file include/nlohmann/detail/json_pointer.hpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 1%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 1%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 2%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 5%] Linking CXX executable test-unicode +[ 5%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 8%] Linking CXX executable test-udt +[ 8%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 10%] Linking CXX executable test-ubjson +[ 10%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 11%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 12%] Linking CXX executable test-to_chars +[ 12%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 14%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 15%] Linking CXX executable test-serialization +[ 15%] Built target test-serialization +Scanning dependencies of target test-convenience +[ 16%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 17%] Linking CXX executable test-convenience +[ 17%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 18%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 20%] Linking CXX executable test-class_iterator +[ 20%] Built target test-class_iterator +Scanning dependencies of target test-class_parser +[ 21%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser +[ 22%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 23%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 24%] Linking CXX executable test-comparison +[ 24%] Built target test-comparison +Scanning dependencies of target test-regression +[ 25%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 27%] Linking CXX executable test-regression +[ 27%] Built target test-regression +Scanning dependencies of target test-class_const_iterator +[ 28%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 29%] Linking CXX executable test-class_const_iterator +[ 29%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 30%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 31%] Linking CXX executable test-json_patch +[ 31%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 32%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 34%] Linking CXX executable test-noexcept +[ 34%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 35%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 36%] Linking CXX executable test-pointer_access +[ 36%] Built target test-pointer_access +Scanning dependencies of target test-class_lexer +[ 37%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 38%] Linking CXX executable test-class_lexer +[ 38%] Built target test-class_lexer +Scanning dependencies of target test-bson +[ 40%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 41%] Linking CXX executable test-bson +[ 41%] Built target test-bson +Scanning dependencies of target test-cbor +[ 42%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 43%] Linking CXX executable test-cbor +[ 43%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 44%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 45%] Linking CXX executable test-algorithms +[ 45%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 47%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 48%] Linking CXX executable test-element_access2 +[ 48%] Built target test-element_access2 +Scanning dependencies of target test-allocator +[ 49%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 50%] Linking CXX executable test-allocator +[ 50%] Built target test-allocator +Scanning dependencies of target test-items +[ 51%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 52%] Linking CXX executable test-items +[ 52%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 54%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 55%] Linking CXX executable test-constructor2 +[ 55%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 56%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 57%] Linking CXX executable test-alt-string +[ 57%] Built target test-alt-string +Scanning dependencies of target test-iterators2 +[ 58%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 60%] Linking CXX executable test-iterators2 +[ 60%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 61%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 62%] Linking CXX executable test-capacity +[ 62%] Built target test-capacity +Scanning dependencies of target test-conversions +[ 63%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 64%] Linking CXX executable test-conversions +[ 64%] Built target test-conversions +Scanning dependencies of target test-constructor1 +[ 65%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 67%] Linking CXX executable test-constructor1 +[ 67%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 68%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 69%] Linking CXX executable test-deserialization +[ 69%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 70%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 71%] Linking CXX executable test-reference_access +[ 71%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 72%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 74%] Linking CXX executable test-element_access1 +[ 74%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 75%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 76%] Linking CXX executable test-meta +[ 76%] Built target test-meta +Scanning dependencies of target test-inspection +[ 77%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 78%] Linking CXX executable test-inspection +[ 78%] Built target test-inspection +Scanning dependencies of target test-readme +[ 80%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 81%] Linking CXX executable test-readme +[ 81%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 82%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 83%] Linking CXX executable test-iterators1 +[ 83%] Built target test-iterators1 +Scanning dependencies of target test-json_pointer +[ 84%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 85%] Linking CXX executable test-json_pointer +[ 85%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 87%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 88%] Linking CXX executable test-modifiers +[ 88%] Built target test-modifiers +Scanning dependencies of target test-testsuites +[ 89%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 90%] Linking CXX executable test-testsuites +[ 90%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 91%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 92%] Linking CXX executable test-concepts +[ 92%] Built target test-concepts +Scanning dependencies of target test-large_json +[ 94%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 95%] Linking CXX executable test-large_json +[ 95%] Built target test-large_json +Scanning dependencies of target test-merge_patch +[ 96%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 97%] Linking CXX executable test-merge_patch +[ 97%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 98%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[100%] Linking CXX executable test-msgpack +[100%] Built target test-msgpack +Test project /home/json/build + Start 1: test-algorithms_default + 1/90 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/90 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/90 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/90 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-alt-string_default + 5/90 Test #5: test-alt-string_default ............. Passed 0.00 sec + Start 6: test-alt-string_all + 6/90 Test #6: test-alt-string_all ................. Passed 0.00 sec + Start 7: test-bson_default + 7/90 Test #7: test-bson_default ................... Passed 0.00 sec + Start 8: test-bson_all + 8/90 Test #8: test-bson_all ....................... Passed 0.01 sec + Start 9: test-capacity_default + 9/90 Test #9: test-capacity_default ............... Passed 0.00 sec + Start 10: test-capacity_all +10/90 Test #10: test-capacity_all ................... Passed 0.00 sec + Start 11: test-cbor_default +11/90 Test #11: test-cbor_default ................... Passed 2.07 sec + Start 12: test-cbor_all +12/90 Test #12: test-cbor_all ....................... Passed 44.59 sec + Start 13: test-class_const_iterator_default +13/90 Test #13: test-class_const_iterator_default ... Passed 0.00 sec + Start 14: test-class_const_iterator_all +14/90 Test #14: test-class_const_iterator_all ....... Passed 0.00 sec + Start 15: test-class_iterator_default +15/90 Test #15: test-class_iterator_default ......... Passed 0.00 sec + Start 16: test-class_iterator_all +16/90 Test #16: test-class_iterator_all ............. Passed 0.00 sec + Start 17: test-class_lexer_default +17/90 Test #17: test-class_lexer_default ............ Passed 0.00 sec + Start 18: test-class_lexer_all +18/90 Test #18: test-class_lexer_all ................ Passed 0.00 sec + Start 19: test-class_parser_default +19/90 Test #19: test-class_parser_default ........... Passed 0.07 sec + Start 20: test-class_parser_all +20/90 Test #20: test-class_parser_all ............... Passed 0.07 sec + Start 21: test-comparison_default +21/90 Test #21: test-comparison_default ............. Passed 0.00 sec + Start 22: test-comparison_all +22/90 Test #22: test-comparison_all ................. Passed 0.00 sec + Start 23: test-concepts_default +23/90 Test #23: test-concepts_default ............... Passed 0.00 sec + Start 24: test-concepts_all +24/90 Test #24: test-concepts_all ................... Passed 0.00 sec + Start 25: test-constructor1_default +25/90 Test #25: test-constructor1_default ........... Passed 0.01 sec + Start 26: test-constructor1_all +26/90 Test #26: test-constructor1_all ............... Passed 0.01 sec + Start 27: test-constructor2_default +27/90 Test #27: test-constructor2_default ........... Passed 0.00 sec + Start 28: test-constructor2_all +28/90 Test #28: test-constructor2_all ............... Passed 0.00 sec + Start 29: test-convenience_default +29/90 Test #29: test-convenience_default ............ Passed 0.00 sec + Start 30: test-convenience_all +30/90 Test #30: test-convenience_all ................ Passed 0.00 sec + Start 31: test-conversions_default +31/90 Test #31: test-conversions_default ............ Passed 0.01 sec + Start 32: test-conversions_all +32/90 Test #32: test-conversions_all ................ Passed 0.01 sec + Start 33: test-deserialization_default +33/90 Test #33: test-deserialization_default ........ Passed 0.01 sec + Start 34: test-deserialization_all +34/90 Test #34: test-deserialization_all ............ Passed 0.01 sec + Start 35: test-element_access1_default +35/90 Test #35: test-element_access1_default ........ Passed 0.01 sec + Start 36: test-element_access1_all +36/90 Test #36: test-element_access1_all ............ Passed 0.01 sec + Start 37: test-element_access2_default +37/90 Test #37: test-element_access2_default ........ Passed 0.01 sec + Start 38: test-element_access2_all +38/90 Test #38: test-element_access2_all ............ Passed 0.01 sec + Start 39: test-inspection_default +39/90 Test #39: test-inspection_default ............. Passed 5.61 sec + Start 40: test-inspection_all +40/90 Test #40: test-inspection_all ................. Passed 5.63 sec + Start 41: test-items_default +41/90 Test #41: test-items_default .................. Passed 0.00 sec + Start 42: test-items_all +42/90 Test #42: test-items_all ...................... Passed 0.00 sec + Start 43: test-iterators1_default +43/90 Test #43: test-iterators1_default ............. Passed 0.01 sec + Start 44: test-iterators1_all +44/90 Test #44: test-iterators1_all ................. Passed 0.01 sec + Start 45: test-iterators2_default +45/90 Test #45: test-iterators2_default ............. Passed 0.02 sec + Start 46: test-iterators2_all +46/90 Test #46: test-iterators2_all ................. Passed 0.02 sec + Start 47: test-json_patch_default +47/90 Test #47: test-json_patch_default ............. Passed 0.01 sec + Start 48: test-json_patch_all +48/90 Test #48: test-json_patch_all ................. Passed 0.01 sec + Start 49: test-json_pointer_default +49/90 Test #49: test-json_pointer_default ........... Passed 0.00 sec + Start 50: test-json_pointer_all +50/90 Test #50: test-json_pointer_all ............... Passed 0.00 sec + Start 51: test-large_json_default +51/90 Test #51: test-large_json_default ............. Passed 5.44 sec + Start 52: test-large_json_all +52/90 Test #52: test-large_json_all ................. Passed 5.49 sec + Start 53: test-merge_patch_default +53/90 Test #53: test-merge_patch_default ............ Passed 0.00 sec + Start 54: test-merge_patch_all +54/90 Test #54: test-merge_patch_all ................ Passed 0.00 sec + Start 55: test-meta_default +55/90 Test #55: test-meta_default ................... Passed 0.00 sec + Start 56: test-meta_all +56/90 Test #56: test-meta_all ....................... Passed 0.00 sec + Start 57: test-modifiers_default +57/90 Test #57: test-modifiers_default .............. Passed 0.00 sec + Start 58: test-modifiers_all +58/90 Test #58: test-modifiers_all .................. Passed 0.00 sec + Start 59: test-msgpack_default +59/90 Test #59: test-msgpack_default ................ Passed 1.74 sec + Start 60: test-msgpack_all +60/90 Test #60: test-msgpack_all .................... Passed 44.62 sec + Start 61: test-noexcept_default +61/90 Test #61: test-noexcept_default ............... Passed 0.00 sec + Start 62: test-noexcept_all +62/90 Test #62: test-noexcept_all ................... Passed 0.00 sec + Start 63: test-pointer_access_default +63/90 Test #63: test-pointer_access_default ......... Passed 0.00 sec + Start 64: test-pointer_access_all +64/90 Test #64: test-pointer_access_all ............. Passed 0.00 sec + Start 65: test-readme_default +65/90 Test #65: test-readme_default ................. Passed 0.00 sec + Start 66: test-readme_all +66/90 Test #66: test-readme_all ..................... Passed 0.00 sec + Start 67: test-reference_access_default +67/90 Test #67: test-reference_access_default ....... Passed 0.00 sec + Start 68: test-reference_access_all +68/90 Test #68: test-reference_access_all ........... Passed 0.00 sec + Start 69: test-regression_default +69/90 Test #69: test-regression_default ............. Passed 7.00 sec + Start 70: test-regression_all +70/90 Test #70: test-regression_all ................. Passed 7.12 sec + Start 71: test-serialization_default +71/90 Test #71: test-serialization_default .......... Passed 0.00 sec + Start 72: test-serialization_all +72/90 Test #72: test-serialization_all .............. Passed 0.00 sec + Start 73: test-testsuites_default +73/90 Test #73: test-testsuites_default ............. Passed 0.07 sec + Start 74: test-testsuites_all +74/90 Test #74: test-testsuites_all ................. Passed 0.07 sec + Start 75: test-to_chars_default +75/90 Test #75: test-to_chars_default ............... Passed 0.00 sec + Start 76: test-to_chars_all +76/90 Test #76: test-to_chars_all ................... Passed 0.00 sec + Start 77: test-ubjson_default +77/90 Test #77: test-ubjson_default ................. Passed 1.08 sec + Start 78: test-ubjson_all +78/90 Test #78: test-ubjson_all ..................... Passed 13.24 sec + Start 79: test-udt_default +79/90 Test #79: test-udt_default .................... Passed 0.00 sec + Start 80: test-udt_all +80/90 Test #80: test-udt_all ........................ Passed 0.00 sec + Start 81: test-unicode_default +81/90 Test #81: test-unicode_default ................ Passed 0.00 sec + Start 82: test-unicode_all +82/90 Test #82: test-unicode_all .................... Passed 250.60 sec + Start 83: test-wstring_default +83/90 Test #83: test-wstring_default ................ Passed 0.00 sec + Start 84: test-wstring_all +84/90 Test #84: test-wstring_all .................... Passed 0.00 sec + Start 85: cmake_import_configure +85/90 Test #85: cmake_import_configure .............. Passed 0.63 sec + Start 86: cmake_import_build +86/90 Test #86: cmake_import_build .................. Passed 1.98 sec + Start 87: cmake_import_minver_configure +87/90 Test #87: cmake_import_minver_configure ....... Passed 0.64 sec + Start 88: cmake_import_minver_build +88/90 Test #88: cmake_import_minver_build ........... Passed 1.02 sec + Start 89: cmake_add_subdirectory_configure +89/90 Test #89: cmake_add_subdirectory_configure .... Passed 0.66 sec + Start 90: cmake_add_subdirectory_build +90/90 Test #90: cmake_add_subdirectory_build ........ Passed 1.99 sec + +100% tests passed, 0 tests failed out of 90 + +Label Time Summary: +all = 371.57 sec*proc (42 tests) +default = 23.22 sec*proc (42 tests) + +Total Test time (real) = 401.73 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/fix.patch new file mode 100644 index 000000000..bedfca157 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/fix.patch @@ -0,0 +1,193 @@ +diff --git a/doc/examples/contains_json_pointer.cpp b/doc/examples/contains_json_pointer.cpp +index 5375a435..16dde663 100644 +--- a/doc/examples/contains_json_pointer.cpp ++++ b/doc/examples/contains_json_pointer.cpp +@@ -18,27 +18,7 @@ int main() + << j.contains("/array/1"_json_pointer) << '\n' + << j.contains("/array/-"_json_pointer) << '\n' + << j.contains("/array/4"_json_pointer) << '\n' +- << j.contains("/baz"_json_pointer) << std::endl; +- +- // out_of_range.106 +- try +- { +- // try to use an array index with leading '0' +- j.contains("/array/01"_json_pointer); +- } +- catch (json::parse_error& e) +- { +- std::cout << e.what() << '\n'; +- } +- +- // out_of_range.109 +- try +- { +- // try to use an array index that is not a number +- j.contains("/array/one"_json_pointer); +- } +- catch (json::parse_error& e) +- { +- std::cout << e.what() << '\n'; +- } ++ << j.contains("/baz"_json_pointer) << '\n' ++ << j.contains("/array/01"_json_pointer) << '\n' ++ << j.contains("/array/one"_json_pointer) << std::endl; + } +diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp +index 5e4c8a1f..b9104ded 100644 +--- a/include/nlohmann/detail/json_pointer.hpp ++++ b/include/nlohmann/detail/json_pointer.hpp +@@ -649,8 +649,9 @@ class json_pointer + } + + /*! +- @throw parse_error.106 if an array index begins with '0' +- @throw parse_error.109 if an array index was not a number ++ @return true if the resolved reference token set is contained in the JSON value, false otherwise. ++ ++ @note Unlike @ref operator[] or @ref at, this method does not throw for invalid array indices. + */ + bool contains(const BasicJsonType* ptr) const + { +@@ -679,14 +680,46 @@ class json_pointer + return false; + } + +- const auto idx = static_cast(array_index(reference_token)); +- if (idx >= ptr->size()) ++ // error condition (cf. RFC 6901, Sect. 4) ++ if (JSON_HEDLEY_UNLIKELY(reference_token.size() > 1 and reference_token[0] == '0')) ++ { ++ return false; ++ } ++ ++ // error condition (cf. RFC 6901, Sect. 4) ++ if (JSON_HEDLEY_UNLIKELY(not (reference_token[0] >= '0' and reference_token[0] <= '9'))) ++ { ++ return false; ++ } ++ ++ std::size_t processed_chars = 0; ++ int idx = 0; ++ JSON_TRY ++ { ++ idx = std::stoi(reference_token, &processed_chars); ++ } ++ JSON_CATCH(std::invalid_argument&) ++ { ++ return false; ++ } ++ JSON_CATCH(std::out_of_range&) ++ { ++ return false; ++ } ++ ++ // check if the string was completely read ++ if (JSON_HEDLEY_UNLIKELY(processed_chars != reference_token.size())) ++ { ++ return false; ++ } ++ ++ if (JSON_HEDLEY_UNLIKELY(static_cast(idx) >= ptr->size())) + { + // index out of range + return false; + } + +- ptr = &ptr->operator[](idx); ++ ptr = &ptr->operator[](static_cast(idx)); + break; + } + +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 88b550f3..63a86e14 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -4075,8 +4075,8 @@ class basic_json + + @post If `j.contains(ptr)` returns true, it is safe to call `j[ptr]`. + +- @throw parse_error.106 if an array index begins with '0' +- @throw parse_error.109 if an array index was not a number ++ @note Unlike @ref operator[] or @ref at, this method does not throw for ++ invalid array indices, but returns false instead. + + @complexity Logarithmic in the size of the JSON object. + +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 15d069fc..98692510 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -11052,8 +11052,9 @@ class json_pointer + } + + /*! +- @throw parse_error.106 if an array index begins with '0' +- @throw parse_error.109 if an array index was not a number ++ @return true if the resolved reference token set is contained in the JSON value, false otherwise. ++ ++ @note Unlike @ref operator[] or @ref at, this method does not throw for invalid array indices. + */ + bool contains(const BasicJsonType* ptr) const + { +@@ -11082,14 +11083,46 @@ class json_pointer + return false; + } + +- const auto idx = static_cast(array_index(reference_token)); +- if (idx >= ptr->size()) ++ // error condition (cf. RFC 6901, Sect. 4) ++ if (JSON_HEDLEY_UNLIKELY(reference_token.size() > 1 and reference_token[0] == '0')) ++ { ++ return false; ++ } ++ ++ // error condition (cf. RFC 6901, Sect. 4) ++ if (JSON_HEDLEY_UNLIKELY(not (reference_token[0] >= '0' and reference_token[0] <= '9'))) ++ { ++ return false; ++ } ++ ++ std::size_t processed_chars = 0; ++ int idx = 0; ++ JSON_TRY ++ { ++ idx = std::stoi(reference_token, &processed_chars); ++ } ++ JSON_CATCH(std::invalid_argument&) ++ { ++ return false; ++ } ++ JSON_CATCH(std::out_of_range&) ++ { ++ return false; ++ } ++ ++ // check if the string was completely read ++ if (JSON_HEDLEY_UNLIKELY(processed_chars != reference_token.size())) ++ { ++ return false; ++ } ++ ++ if (JSON_HEDLEY_UNLIKELY(static_cast(idx) >= ptr->size())) + { + // index out of range + return false; + } + +- ptr = &ptr->operator[](idx); ++ ptr = &ptr->operator[](static_cast(idx)); + break; + } + +@@ -18886,8 +18919,8 @@ class basic_json + + @post If `j.contains(ptr)` returns true, it is safe to call `j[ptr]`. + +- @throw parse_error.106 if an array index begins with '0' +- @throw parse_error.109 if an array index was not a number ++ @note Unlike @ref operator[] or @ref at, this method does not throw for ++ invalid array indices, but returns false instead. + + @complexity Logarithmic in the size of the JSON object. + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/report.json new file mode 100644 index 000000000..8528c6578 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2019/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2019, "valid": true, "error_msg": "", "fixed_tests": {"test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 90, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-large_json_default", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-large_json_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-large_json_default", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-large_json_all", "test-concepts_all", "test-noexcept_default", "test-class_iterator_default", "test-iterators1_default", "test-conversions_all", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-items_all", "test-capacity_default", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "cmake_import_build", "test-wstring_default", "test-class_parser_default", "test-noexcept_all", "test-class_const_iterator_all", "test-alt-string_all", "test-cbor_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-wstring_all", "test-iterators2_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 90, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-to_chars_default", "test-iterators2_default", "test-element_access2_all", "test-pointer_access_default", "test-cbor_all", "test-convenience_default", "test-comparison_all", "test-class_const_iterator_default", "cmake_import_minver_configure", "test-regression_all", "test-udt_default", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-alt-string_default", "test-pointer_access_all", "test-reference_access_default", "test-allocator_all", "test-json_patch_default", "test-meta_all", "test-json_pointer_all", "test-bson_all", "test-iterators1_all", "test-algorithms_default", "test-element_access1_all", "test-modifiers_default", "test-element_access1_default", "test-testsuites_all", "test-algorithms_all", "test-large_json_default", "test-convenience_all", "test-constructor2_all", "test-constructor1_default", "test-deserialization_all", "test-testsuites_default", "test-json_patch_all", "test-constructor2_default", "test-inspection_all", "test-large_json_all", "test-concepts_all", "test-class_iterator_default", "test-conversions_all", "test-iterators1_default", "test-noexcept_default", "test-deserialization_default", "test-to_chars_all", "test-inspection_default", "test-capacity_default", "test-items_all", "test-ubjson_all", "test-class_lexer_default", "cmake_import_configure", "test-constructor1_all", "test-udt_all", "test-allocator_default", "test-items_default", "test-conversions_default", "test-ubjson_default", "test-readme_all", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-class_lexer_all", "test-reference_access_all", "test-modifiers_all", "test-comparison_default", "test-capacity_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-merge_patch_default", "test-noexcept_all", "test-wstring_default", "test-class_parser_default", "cmake_import_build", "test-alt-string_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-element_access2_default", "cmake_add_subdirectory_configure", "test-class_iterator_all", "test-bson_default", "test-unicode_default", "test-merge_patch_all", "test-iterators2_all", "test-wstring_all", "test-unicode_all", "test-class_parser_all", "test-meta_default", "test-msgpack_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/fix-patch-run.log new file mode 100644 index 000000000..b45c93da3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/fix-patch-run.log @@ -0,0 +1,1292 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5688 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.8 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.4 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.z3lAAbpr +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.z3lAAbpr/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.z3lAAbpr/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.z3lAAbpr/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.z3lAAbpr/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.z3lAAbpr/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.z3lAAbpr +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=7fd411d8e861 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.0RhrtsluIe/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-bson.cpp +patching file test/src/unit-cbor.cpp +patching file test/src/unit-comparison.cpp +patching file test/src/unit-constructor1.cpp +patching file test/src/unit-constructor2.cpp +patching file test/src/unit-convenience.cpp +patching file test/src/unit-element_access1.cpp +patching file test/src/unit-inspection.cpp +patching file test/src/unit-modifiers.cpp +patching file test/src/unit-msgpack.cpp +patching file test/src/unit-pointer_access.cpp +patching file test/src/unit-serialization.cpp +patching file test/CMakeLists.txt +patching file test/src/unit-binary.cpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt +[ 7%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 7%] Linking CXX executable test-udt +[ 7%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 9%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 10%] Linking CXX executable test-ubjson +[ 10%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 12%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 12%] Linking CXX executable test-to_chars +[ 12%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 13%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 13%] Linking CXX executable test-serialization +[ 13%] Built target test-serialization +Scanning dependencies of target test-regression +[ 15%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 16%] Linking CXX executable test-regression +[ 16%] Built target test-regression +Scanning dependencies of target test-reference_access +[ 18%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 18%] Linking CXX executable test-reference_access +[ 18%] Built target test-reference_access +Scanning dependencies of target test-class_parser +[ 18%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 19%] Linking CXX executable test-class_parser +[ 19%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 21%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 22%] Linking CXX executable test-comparison +[ 22%] Built target test-comparison +Scanning dependencies of target test-class_iterator +[ 24%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 25%] Linking CXX executable test-class_iterator +[ 25%] Built target test-class_iterator +Scanning dependencies of target test-convenience +[ 27%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 28%] Linking CXX executable test-convenience +[ 28%] Built target test-convenience +Scanning dependencies of target test-class_const_iterator +[ 30%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 30%] Linking CXX executable test-class_const_iterator +[ 30%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 30%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 31%] Linking CXX executable test-json_patch +[ 31%] Built target test-json_patch +Scanning dependencies of target test-pointer_access +[ 33%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 33%] Linking CXX executable test-pointer_access +[ 33%] Built target test-pointer_access +Scanning dependencies of target test-iterators2 +[ 34%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 36%] Linking CXX executable test-iterators2 +[ 36%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 37%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 37%] Linking CXX executable test-capacity +[ 37%] Built target test-capacity +Scanning dependencies of target test-bson +[ 39%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +/home/json/test/src/unit-bson.cpp: In function 'void _DOCTEST_ANON_FUNC_2()': +/home/json/test/src/unit-bson.cpp:532:57: error: no matching function for call to 'nlohmann::basic_json<>::binary_array(const std::vector&, int)' + { "entry", json::binary_array(md5hash, 5) } + ^ +In file included from /home/json/test/src/unit-bson.cpp:32:0: +/home/json/single_include/nlohmann/json.hpp:17165:23: note: candidate: static nlohmann::basic_json nlohmann::basic_json::binary_array(const binary_t&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector; nlohmann::basic_json::binary_t = std::vector] + static basic_json binary_array(binary_t const& init) + ^~~~~~~~~~~~ +/home/json/single_include/nlohmann/json.hpp:17165:23: note: candidate expects 1 argument, 2 provided +/home/json/single_include/nlohmann/json.hpp:17201:23: note: candidate: static nlohmann::basic_json nlohmann::basic_json::binary_array(nlohmann::basic_json::binary_t&&) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector; nlohmann::basic_json::binary_t = std::vector] + static basic_json binary_array(binary_t&& init) + ^~~~~~~~~~~~ +/home/json/single_include/nlohmann/json.hpp:17201:23: note: candidate expects 1 argument, 2 provided +/home/json/test/src/unit-bson.cpp:533:13: error: could not convert '{{"entry", }}' from '' to 'nlohmann::json {aka nlohmann::basic_json<>}' + }; + ^ +make[2]: *** [test/CMakeFiles/test-bson.dir/build.make:63: test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:1780: test/CMakeFiles/test-bson.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/52 Test #1: download_test_data ................. Passed 0.08 sec + Start 2: test-algorithms +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms + 2/52 Test #2: test-algorithms ....................***Not Run 0.00 sec + Start 3: test-allocator +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +Unable to find executable: /home/json/build/test/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator + 3/52 Test #3: test-allocator .....................***Not Run 0.00 sec + Start 4: test-alt-string +Could not find executable /home/json/build/test/test-alt-string +Looked in the following places: +/home/json/build/test/test-alt-string +/home/json/build/test/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Development/test-alt-string +Unable to find executable: /home/json/build/test/test-alt-string +/home/json/build/test/Development/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Development/test-alt-string +home/json/build/test/Development/test-alt-string + 4/52 Test #4: test-alt-string ....................***Not Run 0.00 sec + Start 5: test-binary +Could not find executable /home/json/build/test/test-binary +Looked in the following places: +/home/json/build/test/test-binary +/home/json/build/test/test-binary +/home/json/build/test/Release/test-binary +/home/json/build/test/Release/test-binary +/home/json/build/test/Debug/test-binary +/home/json/build/test/Debug/test-binary +/home/json/build/test/MinSizeRel/test-binary +/home/json/build/test/MinSizeRel/test-binary +/home/json/build/test/RelWithDebInfo/test-binary +/home/json/build/test/RelWithDebInfo/test-binary +Unable to find executable: /home/json/build/test/test-binary +/home/json/build/test/Deployment/test-binary +/home/json/build/test/Deployment/test-binary +/home/json/build/test/Development/test-binary +/home/json/build/test/Development/test-binary +home/json/build/test/test-binary +home/json/build/test/test-binary +home/json/build/test/Release/test-binary +home/json/build/test/Release/test-binary +home/json/build/test/Debug/test-binary +home/json/build/test/Debug/test-binary +home/json/build/test/MinSizeRel/test-binary +home/json/build/test/MinSizeRel/test-binary +home/json/build/test/RelWithDebInfo/test-binary +home/json/build/test/RelWithDebInfo/test-binary +home/json/build/test/Deployment/test-binary +home/json/build/test/Deployment/test-binary +home/json/build/test/Development/test-binary +home/json/build/test/Development/test-binary + 5/52 Test #5: test-binary ........................***Not Run 0.00 sec + Start 6: test-bson +Could not find executable /home/json/build/test/test-bson +Looked in the following places: +/home/json/build/test/test-bson +/home/json/build/test/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Development/test-bson +/home/json/build/test/Development/test-bson +home/json/build/test/test-bson +home/json/build/test/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Development/test-bson +home/json/build/test/Development/test-bson +Unable to find executable: /home/json/build/test/test-bson + 6/52 Test #6: test-bson ..........................***Not Run 0.00 sec + Start 7: test-capacity + 7/52 Test #7: test-capacity ...................... Passed 0.00 sec + Start 8: test-cbor +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +Unable to find executable: /home/json/build/test/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor + 8/52 Test #8: test-cbor ..........................***Not Run 0.00 sec + Start 9: test-class_const_iterator + 9/52 Test #9: test-class_const_iterator .......... Passed 0.00 sec + Start 10: test-class_iterator +10/52 Test #10: test-class_iterator ................ Passed 0.00 sec + Start 11: test-class_lexer +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +11/52 Test #11: test-class_lexer ...................***Not Run 0.00 sec + Start 12: test-class_parser +12/52 Test #12: test-class_parser .................. Passed 0.07 sec + Start 13: test-comparison +13/52 Test #13: test-comparison ....................Child aborted***Exception: 0.11 sec + Start 14: test-concepts +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +Unable to find executable: /home/json/build/test/test-concepts +14/52 Test #14: test-concepts ......................***Not Run 0.00 sec + Start 15: test-constructor1 +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +15/52 Test #15: test-constructor1 ..................***Not Run 0.00 sec + Start 16: test-constructor2 +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +home/json/build/test/Development/test-constructor2 +16/52 Test #16: test-constructor2 ..................***Not Run 0.00 sec + Start 17: test-convenience +17/52 Test #17: test-convenience ................... Passed 0.00 sec + Start 18: test-conversions +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +18/52 Test #18: test-conversions ...................***Not Run 0.00 sec + Start 19: test-deserialization +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +19/52 Test #19: test-deserialization ...............***Not Run 0.00 sec + Start 20: test-element_access1 +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +20/52 Test #20: test-element_access1 ...............***Not Run 0.00 sec + Start 21: test-element_access2 +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access2 +21/52 Test #21: test-element_access2 ...............***Not Run 0.00 sec + Start 22: test-inspection +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +22/52 Test #22: test-inspection ....................***Not Run 0.00 sec + Start 23: test-items +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +Unable to find executable: /home/json/build/test/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +23/52 Test #23: test-items .........................***Not Run 0.00 sec + Start 24: test-iterators1 +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +24/52 Test #24: test-iterators1 ....................***Not Run 0.00 sec + Start 25: test-iterators2 +25/52 Test #25: test-iterators2 .................... Passed 0.02 sec + Start 26: test-json_patch +26/52 Test #26: test-json_patch .................... Passed 0.01 sec + Start 27: test-json_pointer +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +27/52 Test #27: test-json_pointer ..................***Not Run 0.00 sec + Start 28: test-large_json +Could not find executable /home/json/build/test/test-large_json +Looked in the following places: +/home/json/build/test/test-large_json +/home/json/build/test/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Development/test-large_json +/home/json/build/test/Development/test-large_json +home/json/build/test/test-large_json +home/json/build/test/test-large_json +Unable to find executable: /home/json/build/test/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Development/test-large_json +home/json/build/test/Development/test-large_json +28/52 Test #28: test-large_json ....................***Not Run 0.00 sec + Start 29: test-merge_patch +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +29/52 Test #29: test-merge_patch ...................***Not Run 0.00 sec + Start 30: test-meta +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +Unable to find executable: /home/json/build/test/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +30/52 Test #30: test-meta ..........................***Not Run 0.00 sec + Start 31: test-modifiers +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +Unable to find executable: /home/json/build/test/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +31/52 Test #31: test-modifiers .....................***Not Run 0.00 sec + Start 32: test-msgpack +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +32/52 Test #32: test-msgpack .......................***Not Run 0.00 sec + Start 33: test-noexcept +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Development/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +Unable to find executable: /home/json/build/test/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +33/52 Test #33: test-noexcept ......................***Not Run 0.00 sec + Start 34: test-pointer_access +34/52 Test #34: test-pointer_access ................ Passed 0.00 sec + Start 35: test-readme +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +Unable to find executable: /home/json/build/test/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +35/52 Test #35: test-readme ........................***Not Run 0.00 sec + Start 36: test-reference_access +36/52 Test #36: test-reference_access .............. Passed 0.00 sec + Start 37: test-regression +37/52 Test #37: test-regression .................... Passed 7.15 sec + Start 38: test-serialization +38/52 Test #38: test-serialization .................***Failed 0.00 sec + Start 39: test-testsuites +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +Unable to find executable: /home/json/build/test/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +39/52 Test #39: test-testsuites ....................***Not Run 0.00 sec + Start 40: test-to_chars +40/52 Test #40: test-to_chars ...................... Passed 0.00 sec + Start 41: test-ubjson +41/52 Test #41: test-ubjson ........................ Passed 15.48 sec + Start 42: test-udt +42/52 Test #42: test-udt ........................... Passed 0.00 sec + Start 43: test-unicode +43/52 Test #43: test-unicode ....................... Passed 250.68 sec + Start 44: test-wstring +44/52 Test #44: test-wstring ....................... Passed 0.00 sec + Start 45: cmake_import_configure +45/52 Test #45: cmake_import_configure ............. Passed 0.61 sec + Start 46: cmake_import_build +46/52 Test #46: cmake_import_build ................. Passed 2.03 sec + Start 47: cmake_import_minver_configure +47/52 Test #47: cmake_import_minver_configure ...... Passed 0.60 sec + Start 48: cmake_import_minver_build +48/52 Test #48: cmake_import_minver_build .......... Passed 1.04 sec + Start 49: cmake_add_subdirectory_configure +49/52 Test #49: cmake_add_subdirectory_configure ... Passed 0.64 sec + Start 50: cmake_add_subdirectory_build +50/52 Test #50: cmake_add_subdirectory_build ....... Passed 2.04 sec + Start 51: cmake_fetch_content_configure +51/52 Test #51: cmake_fetch_content_configure ...... Passed 1.48 sec + Start 52: cmake_fetch_content_build +52/52 Test #52: cmake_fetch_content_build .......... Passed 2.01 sec + +46% tests passed, 28 tests failed out of 52 + +Label Time Summary: +all = 273.55 sec*proc (43 tests) + +Total Test time (real) = 284.10 sec + +The following tests FAILED: + 2 - test-algorithms (Not Run) + 3 - test-allocator (Not Run) + 4 - test-alt-string (Not Run) + 5 - test-binary (Not Run) + 6 - test-bson (Not Run) + 8 - test-cbor (Not Run) + 11 - test-class_lexer (Not Run) + 13 - test-comparison (Child aborted) + 14 - test-concepts (Not Run) + 15 - test-constructor1 (Not Run) + 16 - test-constructor2 (Not Run) + 18 - test-conversions (Not Run) + 19 - test-deserialization (Not Run) + 20 - test-element_access1 (Not Run) + 21 - test-element_access2 (Not Run) + 22 - test-inspection (Not Run) + 23 - test-items (Not Run) + 24 - test-iterators1 (Not Run) + 27 - test-json_pointer (Not Run) + 28 - test-large_json (Not Run) + 29 - test-merge_patch (Not Run) + 30 - test-meta (Not Run) + 31 - test-modifiers (Not Run) + 32 - test-msgpack (Not Run) + 33 - test-noexcept (Not Run) + 35 - test-readme (Not Run) + 38 - test-serialization (Failed) + 39 - test-testsuites (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/fix.patch new file mode 100644 index 000000000..59015350b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/fix.patch @@ -0,0 +1,784 @@ +diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt +index 838cce53..7020b6ad 100644 +--- a/test/CMakeLists.txt ++++ b/test/CMakeLists.txt +@@ -95,6 +95,7 @@ set(files + src/unit-algorithms.cpp + src/unit-allocator.cpp + src/unit-alt-string.cpp ++ src/unit-binary.cpp + src/unit-bson.cpp + src/unit-capacity.cpp + src/unit-cbor.cpp +diff --git a/test/src/unit-binary.cpp b/test/src/unit-binary.cpp +new file mode 100644 +index 00000000..82179bde +--- /dev/null ++++ b/test/src/unit-binary.cpp +@@ -0,0 +1,766 @@ ++/* ++ __ _____ _____ _____ ++ __| | __| | | | JSON for Modern C++ (test suite) ++| | |__ | | | | | | version 3.7.3 ++|_____|_____|_____|_|___| https://github.com/nlohmann/json ++ ++Licensed under the MIT License . ++SPDX-License-Identifier: MIT ++Copyright (c) 2013-2019 Niels Lohmann . ++ ++Permission is hereby granted, free of charge, to any person obtaining a copy ++of this software and associated documentation files (the "Software"), to deal ++in the Software without restriction, including without limitation the rights ++to use, copy, modify, merge, publish, distribute, sublicense, and/or sell ++copies of the Software, and to permit persons to whom the Software is ++furnished to do so, subject to the following conditions: ++ ++The above copyright notice and this permission notice shall be included in all ++copies or substantial portions of the Software. ++ ++THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ++OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, ++FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE ++AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER ++LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, ++OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE ++SOFTWARE. ++*/ ++ ++#include "doctest_compatibility.h" ++ ++#include ++using nlohmann::json; ++ ++#include ++#include ++ ++namespace ++{ ++class SaxEventLogger : public nlohmann::json::json_sax_t ++{ ++ public: ++ bool null() override ++ { ++ events.push_back("null()"); ++ return true; ++ } ++ ++ bool boolean(bool val) override ++ { ++ events.push_back("boolean(" + std::string(val ? "true" : "false") + ")"); ++ return true; ++ } ++ ++ bool number_integer(json::number_integer_t val) override ++ { ++ events.push_back("number_integer(" + std::to_string(val) + ")"); ++ return true; ++ } ++ ++ bool number_unsigned(json::number_unsigned_t val) override ++ { ++ events.push_back("number_unsigned(" + std::to_string(val) + ")"); ++ return true; ++ } ++ ++ bool number_float(json::number_float_t val, const std::string& s) override ++ { ++ events.push_back("number_float(" + s + ")"); ++ return true; ++ } ++ ++ bool string(std::string& val) override ++ { ++ events.push_back("string(" + val + ")"); ++ return true; ++ } ++ ++ bool binary(std::vector& val) override ++ { ++ std::string binary_contents = "binary("; ++ std::string comma_space = ""; ++ for (auto b : val) ++ { ++ binary_contents.append(comma_space); ++ binary_contents.append(std::to_string(static_cast(b))); ++ comma_space = ", "; ++ } ++ binary_contents.append(")"); ++ events.push_back(binary_contents); ++ return true; ++ } ++ ++ bool start_object(std::size_t elements) override ++ { ++ if (elements == std::size_t(-1)) ++ { ++ events.push_back("start_object()"); ++ } ++ else ++ { ++ events.push_back("start_object(" + std::to_string(elements) + ")"); ++ } ++ return true; ++ } ++ ++ bool key(std::string& val) override ++ { ++ events.push_back("key(" + val + ")"); ++ return true; ++ } ++ ++ bool end_object() override ++ { ++ events.push_back("end_object()"); ++ return true; ++ } ++ ++ bool start_array(std::size_t elements) override ++ { ++ if (elements == std::size_t(-1)) ++ { ++ events.push_back("start_array()"); ++ } ++ else ++ { ++ events.push_back("start_array(" + std::to_string(elements) + ")"); ++ } ++ return true; ++ } ++ ++ bool end_array() override ++ { ++ events.push_back("end_array()"); ++ return true; ++ } ++ ++ bool parse_error(std::size_t position, const std::string&, const json::exception&) override ++ { ++ errored = true; ++ events.push_back("parse_error(" + std::to_string(position) + ")"); ++ return false; ++ } ++ ++ std::vector events {}; ++ bool errored = false; ++}; ++} ++ ++TEST_CASE("binary values") ++{ ++ SECTION("constructors") ++ { ++ SECTION("binary_array with lvalue") ++ { ++ const auto s = std::vector{1, 2, 3}; ++ const auto j = json::binary_array(s); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array(s)); ++ } ++ ++ SECTION("binary_array with rvalue") ++ { ++ auto s = std::vector{1, 2, 3}; ++ const auto j = json::binary_array(std::move(s)); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2, 3})); ++ } ++ ++ SECTION("binary_array with empty vector") ++ { ++ const auto s = std::vector{}; ++ const auto j = json::binary_array(s); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array(s)); ++ } ++ } ++ ++ SECTION("json_value constructors for binary") ++ { ++ SECTION("lvalue binary") ++ { ++ const auto s = std::vector{4, 5, 6}; ++ const auto j = json::binary_array(s); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array(s)); ++ } ++ ++ SECTION("rvalue binary") ++ { ++ auto s = std::vector{4, 5, 6}; ++ const auto j = json::binary_array(std::move(s)); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({4, 5, 6})); ++ } ++ } ++ ++ SECTION("get_ptr for binary") ++ { ++ SECTION("non-const binary_t*") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ auto* ptr = j.get_ptr(); ++ CHECK(ptr != nullptr); ++ CHECK(*ptr == std::vector{1, 2, 3}); ++ } ++ ++ SECTION("const binary_t*") ++ { ++ const auto j = json::binary_array({1, 2, 3}); ++ const auto* ptr = j.get_ptr(); ++ CHECK(ptr != nullptr); ++ CHECK(*ptr == std::vector{1, 2, 3}); ++ } ++ ++ SECTION("non-const binary_t* on non-binary returns nullptr") ++ { ++ auto j = json(42); ++ auto* ptr = j.get_ptr(); ++ CHECK(ptr == nullptr); ++ } ++ ++ SECTION("const binary_t* on non-binary returns nullptr") ++ { ++ const auto j = json(42); ++ const auto* ptr = j.get_ptr(); ++ CHECK(ptr == nullptr); ++ } ++ } ++ ++ SECTION("clear") ++ { ++ SECTION("binary") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ j.clear(); ++ CHECK(j.is_binary()); ++ auto* ptr = j.get_ptr(); ++ CHECK(ptr != nullptr); ++ CHECK(ptr->empty()); ++ } ++ } ++ ++ SECTION("erase") ++ { ++ SECTION("binary with begin iterator") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ auto it = j.erase(j.begin()); ++ CHECK(it == j.end()); ++ CHECK(j.is_null()); ++ } ++ ++ SECTION("binary with range erase") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ auto it = j.erase(j.begin(), j.end()); ++ CHECK(it == j.end()); ++ CHECK(j.is_null()); ++ } ++ ++ SECTION("binary erase throws for non-begin iterator") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ CHECK_THROWS_AS(j.erase(j.end()), json::invalid_iterator&); ++ } ++ ++ SECTION("binary range erase throws for invalid range") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ CHECK_THROWS_AS(j.erase(j.begin() + 1, j.end()), json::invalid_iterator&); ++ CHECK_THROWS_AS(j.erase(j.begin(), j.end() - 1), json::invalid_iterator&); ++ } ++ } ++ ++ SECTION("type_name") ++ { ++ CHECK(std::string(json::binary_array({}).type_name()) == "binary"); ++ } ++ ++ SECTION("operator< for binary values") ++ { ++ SECTION("binary < binary (different content)") ++ { ++ auto j1 = json::binary_array({1, 2, 3}); ++ auto j2 = json::binary_array({1, 2, 4}); ++ CHECK_NOTHROW(j1 < j2); ++ CHECK_NOTHROW(j2 < j1); ++ } ++ ++ SECTION("binary < binary (same content)") ++ { ++ auto j1 = json::binary_array({1, 2, 3}); ++ auto j2 = json::binary_array({1, 2, 3}); ++ CHECK_NOTHROW(j1 < j2); ++ } ++ ++ SECTION("binary compared with other types via operator<") ++ { ++ auto j_bin = json::binary_array({1}); ++ auto j_null = json(nullptr); ++ auto j_bool = json(true); ++ auto j_str = json("hello"); ++ auto j_int = json(42); ++ auto j_uint = json(42u); ++ auto j_float = json(3.14); ++ auto j_obj = json::object(); ++ auto j_arr = json::array(); ++ ++ CHECK(j_null < j_bin); ++ CHECK(j_bool < j_bin); ++ CHECK(j_str < j_bin); ++ CHECK(j_int < j_bin); ++ CHECK(j_uint < j_bin); ++ CHECK(j_float < j_bin); ++ CHECK(j_obj < j_bin); ++ CHECK(j_arr < j_bin); ++ CHECK_FALSE(j_bin < j_null); ++ CHECK_FALSE(j_bin < j_bool); ++ } ++ } ++ ++ SECTION("dump with binary") ++ { ++ SECTION("serialize_binary=false throws") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ CHECK_THROWS_AS(j.dump(), json::type_error&); ++ CHECK_THROWS_WITH(j.dump(), "[json.exception.type_error.317] cannot serialize binary data to text JSON"); ++ } ++ ++ SECTION("serialize_binary=true with non-empty binary (compact)") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ CHECK(j.dump(-1, ' ', false, json::error_handler_t::strict, true) == "b[1,2,3]"); ++ } ++ ++ SECTION("serialize_binary=true with empty binary") ++ { ++ auto j = json::binary_array({}); ++ CHECK(j.dump(-1, ' ', false, json::error_handler_t::strict, true) == "b[]"); ++ } ++ ++ SECTION("serialize_binary=true with pretty print") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ auto result = j.dump(4, ' ', false, json::error_handler_t::strict, true); ++ CHECK(result.find("b[") != std::string::npos); ++ CHECK(result.find('1') != std::string::npos); ++ } ++ ++ SECTION("serialize_binary=true with many elements (pretty print with newline)") ++ { ++ std::vector data(32, 0); ++ for (size_t i = 0; i < data.size(); ++i) ++ { ++ data[i] = static_cast(i); ++ } ++ auto j = json::binary_array(data); ++ auto result = j.dump(4, ' ', false, json::error_handler_t::strict, true); ++ CHECK(result.find("b[") != std::string::npos); ++ CHECK(result.find('\n') != std::string::npos); ++ } ++ } ++ ++ SECTION("BSON binary") ++ { ++ SECTION("binary in object with subtype") ++ { ++ json j = {{"binary", json::binary_array({1, 2, 3})}}; ++ j["binary"].set_subtype(0x80); ++ auto bson = json::to_bson(j); ++ auto j2 = json::from_bson(bson); ++ CHECK(j2["binary"].is_binary()); ++ CHECK(j2["binary"] == json::binary_array({1, 2, 3})); ++ } ++ ++ SECTION("binary in object without explicit subtype") ++ { ++ json j = {{"binary", json::binary_array({1, 2, 3})}}; ++ auto bson = json::to_bson(j); ++ auto j2 = json::from_bson(bson); ++ CHECK(j2["binary"].is_binary()); ++ CHECK(j2["binary"] == json::binary_array({1, 2, 3})); ++ } ++ ++ SECTION("binary in object with larger data") ++ { ++ json j = {{"binary", json::binary_array({0xCA, 0xFE})}}; ++ auto bson = json::to_bson(j); ++ auto j2 = json::from_bson(bson); ++ CHECK(j2["binary"].is_binary()); ++ CHECK(j2["binary"] == json::binary_array({0xCA, 0xFE})); ++ } ++ } ++ ++ SECTION("CBOR binary") ++ { ++ SECTION("indefinite length binary (0x5F)") ++ { ++ std::vector data = ++ { ++ 0x5F, // start indefinite length binary ++ 0x42, 0x01, 0x02, // chunk of 2 bytes ++ 0x43, 0x03, 0x04, 0x05, // chunk of 3 bytes ++ 0xFF // end indefinite length ++ }; ++ auto j = json::from_cbor(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2, 3, 4, 5})); ++ } ++ ++ SECTION("CBOR binary 0x5B (8-byte length)") ++ { ++ std::vector data = ++ { ++ 0x5B, // Binary data (eight-byte uint64_t for n follow) ++ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03, // length = 3 ++ 0x01, 0x02, 0x03 ++ }; ++ auto j = json::from_cbor(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2, 3})); ++ } ++ ++ SECTION("CBOR binary error: invalid type byte") ++ { ++ std::vector data = ++ { ++ 0x5E // invalid byte for binary ++ }; ++ CHECK_THROWS_AS(json::from_cbor(data), json::parse_error&); ++ } ++ } ++ ++ SECTION("MsgPack binary") ++ { ++ SECTION("bin 8") ++ { ++ std::vector data = {0xC4, 0x03, 0x01, 0x02, 0x03}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2, 3})); ++ } ++ ++ SECTION("bin 16") ++ { ++ std::vector data = {0xC5, 0x00, 0x03, 0x01, 0x02, 0x03}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2, 3})); ++ } ++ ++ SECTION("bin 32") ++ { ++ std::vector data = {0xC6, 0x00, 0x00, 0x00, 0x03, 0x01, 0x02, 0x03}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2, 3})); ++ } ++ ++ SECTION("ext 8 with subtype") ++ { ++ std::vector data = {0xC7, 0x02, 0x2A, 0x01, 0x02}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2})); ++ } ++ ++ SECTION("ext 16 with subtype") ++ { ++ std::vector data = {0xC8, 0x00, 0x02, 0x2A, 0x01, 0x02}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2})); ++ } ++ ++ SECTION("ext 32 with subtype") ++ { ++ std::vector data = {0xC9, 0x00, 0x00, 0x00, 0x02, 0x2A, 0x01, 0x02}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2})); ++ } ++ ++ SECTION("fixext 1") ++ { ++ std::vector data = {0xD4, 0x2A, 0x01}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1})); ++ } ++ ++ SECTION("fixext 2") ++ { ++ std::vector data = {0xD5, 0x2A, 0x01, 0x02}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2})); ++ } ++ ++ SECTION("fixext 4") ++ { ++ std::vector data = {0xD6, 0x2A, 0x01, 0x02, 0x03, 0x04}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2, 3, 4})); ++ } ++ ++ SECTION("fixext 8") ++ { ++ std::vector data = {0xD7, 0x2A, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array({1, 2, 3, 4, 5, 6, 7, 8})); ++ } ++ ++ SECTION("fixext 16") ++ { ++ std::vector data = {0xD8, 0x2A, ++ 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, ++ 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10}; ++ auto j = json::from_msgpack(data); ++ CHECK(j.is_binary()); ++ CHECK(j.get_ptr()->size() == 16); ++ } ++ } ++ ++ SECTION("SAX events for binary") ++ { ++ SECTION("json_sax_dom_parser: binary as root") ++ { ++ json j; ++ nlohmann::detail::json_sax_dom_parser sdp(j); ++ std::vector bin = {1, 2, 3}; ++ sdp.binary(bin); ++ CHECK(j.is_binary()); ++ CHECK(j == json::binary_array(bin)); ++ } ++ ++ SECTION("json_sax_dom_parser: binary in array") ++ { ++ json j; ++ nlohmann::detail::json_sax_dom_parser sdp(j); ++ sdp.start_array(1); ++ std::vector bin = {1, 2, 3}; ++ sdp.binary(bin); ++ sdp.end_array(); ++ CHECK(j.is_array()); ++ CHECK(j[0].is_binary()); ++ CHECK(j[0] == json::binary_array(bin)); ++ } ++ ++ SECTION("json_sax_dom_parser: binary in object") ++ { ++ json j; ++ nlohmann::detail::json_sax_dom_parser sdp(j); ++ sdp.start_object(1); ++ std::string key = "key"; ++ sdp.key(key); ++ std::vector bin = {1, 2, 3}; ++ sdp.binary(bin); ++ sdp.end_object(); ++ CHECK(j.is_object()); ++ CHECK(j["key"].is_binary()); ++ CHECK(j["key"] == json::binary_array(bin)); ++ } ++ ++ SECTION("json_sax_dom_callback_parser: binary as root") ++ { ++ json j; ++ auto cb = [](int, json::parse_event_t, const json&) { ++ return true; ++ }; ++ nlohmann::detail::json_sax_dom_callback_parser sdcp(j, cb); ++ std::vector bin = {1, 2, 3}; ++ sdcp.binary(bin); ++ // binary_t goes through handle_value which uses the CompatibleType ++ // constructor, creating an array instead of binary ++ CHECK(j.is_array()); ++ } ++ ++ SECTION("json_sax_dom_callback_parser: binary in array") ++ { ++ json j; ++ auto cb = [](int, json::parse_event_t, const json&) { ++ return true; ++ }; ++ nlohmann::detail::json_sax_dom_callback_parser sdcp(j, cb); ++ sdcp.start_array(1); ++ std::vector bin = {1, 2, 3}; ++ sdcp.binary(bin); ++ sdcp.end_array(); ++ CHECK(j.is_array()); ++ } ++ ++ SECTION("json_sax_dom_callback_parser: binary in object") ++ { ++ json j; ++ auto cb = [](int, json::parse_event_t, const json&) { ++ return true; ++ }; ++ nlohmann::detail::json_sax_dom_callback_parser sdcp(j, cb); ++ sdcp.start_object(1); ++ std::string key = "key"; ++ sdcp.key(key); ++ std::vector bin = {1, 2, 3}; ++ sdcp.binary(bin); ++ sdcp.end_object(); ++ CHECK(j.is_object()); ++ } ++ ++ SECTION("json_sax_dom_callback_parser: binary discarded by callback") ++ { ++ json j; ++ auto cb = [](int, json::parse_event_t, const json&) { ++ return false; ++ }; ++ nlohmann::detail::json_sax_dom_callback_parser sdcp(j, cb); ++ std::vector bin = {1, 2, 3}; ++ sdcp.binary(bin); ++ // callback returned false, so the value was not kept ++ CHECK(j.is_null()); ++ } ++ } ++ ++ SECTION("SAX event logger for binary") ++ { ++ SECTION("from CBOR with binary") ++ { ++ std::vector data = {0x44, 0x01, 0x02, 0x03, 0x04}; ++ SaxEventLogger logger; ++ json::sax_parse(data, &logger, json::input_format_t::cbor); ++ CHECK(logger.events.size() == 1); ++ CHECK(logger.events[0] == "binary(1, 2, 3, 4)"); ++ } ++ } ++ ++ SECTION("binary subtype operations") ++ { ++ SECTION("set_subtype and get_subtype") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ CHECK(j.get_subtype() == std::size_t(-1)); // no subtype set ++ j.set_subtype(42); ++ CHECK(j.has_subtype()); ++ CHECK(j.get_subtype() == 42); ++ } ++ ++ SECTION("clear_subtype") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ j.set_subtype(42); ++ CHECK(j.has_subtype()); ++ j.clear_subtype(); ++ CHECK_FALSE(j.has_subtype()); ++ CHECK(j.get_subtype() == std::size_t(-1)); ++ } ++ ++ SECTION("set_subtype on non-binary does nothing") ++ { ++ auto j = json(42); ++ j.set_subtype(42); ++ CHECK_FALSE(j.has_subtype()); ++ } ++ ++ SECTION("clear_subtype on non-binary does nothing") ++ { ++ auto j = json(42); ++ j.clear_subtype(); ++ CHECK_FALSE(j.has_subtype()); ++ } ++ ++ SECTION("has_subtype on non-binary returns false") ++ { ++ auto j = json(42); ++ CHECK_FALSE(j.has_subtype()); ++ } ++ } ++ ++ SECTION("binary equality") ++ { ++ SECTION("equal binary values") ++ { ++ auto j1 = json::binary_array({1, 2, 3}); ++ auto j2 = json::binary_array({1, 2, 3}); ++ CHECK(j1 == j2); ++ } ++ ++ SECTION("different binary values") ++ { ++ auto j1 = json::binary_array({1, 2, 3}); ++ auto j2 = json::binary_array({1, 2, 4}); ++ CHECK(j1 != j2); ++ } ++ ++ SECTION("binary vs non-binary") ++ { ++ auto j1 = json::binary_array({1, 2, 3}); ++ auto j2 = json({1, 2, 3}); ++ CHECK(j1 != j2); ++ } ++ } ++ ++ SECTION("binary via from_bson with negative length") ++ { ++ SECTION("BSON binary with negative length yields parse error") ++ { ++ std::vector data = ++ { ++ 0x10, 0x00, 0x00, 0x00, // document size (16 bytes) ++ 0x05, // binary type ++ 'x', '\x00', // key "x" ++ 0xFF, 0xFF, 0xFF, 0xFF, // length = -1 (invalid) ++ 0x00, // subtype ++ 0x00 // end marker ++ }; ++ CHECK_THROWS_AS(json::from_bson(data), json::parse_error&); ++ } ++ } ++ ++ SECTION("binary roundtrip through CBOR with subtype") ++ { ++ SECTION("binary with subtype roundtrips via CBOR tag") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ j.set_subtype(42); ++ auto cbor = json::to_cbor(j); ++ auto j2 = json::from_cbor(cbor); ++ CHECK(j2.is_binary()); ++ CHECK(j2 == json::binary_array({1, 2, 3})); ++ } ++ } ++ ++ SECTION("binary via from_msgpack with truncated data") ++ { ++ SECTION("truncated bin 8 data") ++ { ++ std::vector data = {0xC4, 0x03, 0x01}; // claims 3 bytes but only has 1 ++ CHECK_THROWS_AS(json::from_msgpack(data), json::parse_error&); ++ } ++ } ++ ++ SECTION("binary via from_cbor with truncated data") ++ { ++ SECTION("truncated binary data") ++ { ++ std::vector data = {0x43, 0x01, 0x02}; // claims 3 bytes but only has 2 ++ CHECK_THROWS_AS(json::from_cbor(data), json::parse_error&); ++ } ++ } ++ ++ SECTION("binary in UBJSON") ++ { ++ SECTION("binary is serialized as array of integers") ++ { ++ auto j = json::binary_array({1, 2, 3}); ++ auto ubj = json::to_ubjson(j, true, true); ++ // UBJSON does not have a native binary type; binary arrays are ++ // serialized as typed arrays of uint8 values ++ auto j2 = json::from_ubjson(ubj); ++ CHECK(j2.is_array()); ++ CHECK(j2 == json({1, 2, 3})); ++ } ++ } ++} diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/report.json new file mode 100644 index 000000000..902ef8f03 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2099/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2099, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 49, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-element_access1", "test-allocator", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-merge_patch", "test-modifiers", "test-iterators2", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "cmake_fetch_content_build", "test-class_const_iterator", "test-items", "cmake_import_minver_build", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 24, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-wstring", "test-capacity", "test-convenience", "cmake_import_build", "test-unicode", "test-iterators2", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "cmake_import_configure", "cmake_import_minver_configure", "test-class_iterator", "test-reference_access", "test-json_patch", "test-class_const_iterator", "cmake_fetch_content_build", "cmake_import_minver_build", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/fix-patch-run.log new file mode 100644 index 000000000..1cd91d48b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/fix-patch-run.log @@ -0,0 +1,538 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5968 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (15.0 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.8 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.2QlQVIU9 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.2QlQVIU9/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.2QlQVIU9/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.2QlQVIU9/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.2QlQVIU9/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.2QlQVIU9/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.2QlQVIU9 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=840b5ebd6d1c +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.g7nKGqJCSW/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-class_lexer.cpp +patching file test/src/unit-class_parser.cpp +patching file include/nlohmann/detail/input/lexer.hpp +patching file include/nlohmann/detail/input/parser.hpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux 840b5ebd6d1c 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 4%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 6%] Linking CXX executable test-user_defined_input +[ 6%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 7%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 7%] Linking CXX executable test-unicode +[ 7%] Built target test-unicode +Scanning dependencies of target test-udt +[ 9%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 10%] Linking CXX executable test-udt +[ 10%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 12%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 12%] Linking CXX executable test-ubjson +[ 12%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 13%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 15%] Linking CXX executable test-to_chars +[ 15%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 16%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 18%] Linking CXX executable test-serialization +[ 18%] Built target test-serialization +Scanning dependencies of target test-regression +[ 19%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 19%] Linking CXX executable test-regression +[ 19%] Built target test-regression +Scanning dependencies of target test-class_parser +[ 21%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser +[ 22%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 22%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 24%] Linking CXX executable test-comparison +[ 24%] Built target test-comparison +Scanning dependencies of target test-class_iterator +[ 25%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 25%] Linking CXX executable test-class_iterator +[ 25%] Built target test-class_iterator +Scanning dependencies of target test-convenience +[ 25%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 27%] Linking CXX executable test-convenience +[ 27%] Built target test-convenience +Scanning dependencies of target test-class_const_iterator +[ 28%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 30%] Linking CXX executable test-class_const_iterator +[ 30%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 31%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 33%] Linking CXX executable test-json_patch +[ 33%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 34%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 34%] Linking CXX executable test-noexcept +[ 34%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 36%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 37%] Linking CXX executable test-pointer_access +[ 37%] Built target test-pointer_access +Scanning dependencies of target test-iterators2 +[ 37%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 39%] Linking CXX executable test-iterators2 +[ 39%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 40%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 42%] Linking CXX executable test-capacity +[ 42%] Built target test-capacity +Scanning dependencies of target test-cbor +[ 43%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 43%] Linking CXX executable test-cbor +[ 43%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 45%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 46%] Linking CXX executable test-algorithms +[ 46%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 46%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 48%] Linking CXX executable test-element_access2 +[ 48%] Built target test-element_access2 +Scanning dependencies of target test-bson +[ 50%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 50%] Linking CXX executable test-bson +[ 50%] Built target test-bson +Scanning dependencies of target test-class_lexer +[ 51%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 53%] Linking CXX executable test-class_lexer +[ 53%] Built target test-class_lexer +Scanning dependencies of target test-allocator +[ 54%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 54%] Linking CXX executable test-allocator +[ 54%] Built target test-allocator +Scanning dependencies of target test-items +[ 54%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 56%] Linking CXX executable test-items +[ 56%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 57%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 59%] Linking CXX executable test-constructor2 +[ 59%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 60%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 62%] Linking CXX executable test-alt-string +[ 62%] Built target test-alt-string +Scanning dependencies of target test-conversions +[ 63%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 65%] Linking CXX executable test-conversions +[ 65%] Built target test-conversions +Scanning dependencies of target test-constructor1 +[ 65%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 66%] Linking CXX executable test-constructor1 +[ 66%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 66%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 68%] Linking CXX executable test-deserialization +[ 68%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 69%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 71%] Linking CXX executable test-reference_access +[ 71%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 72%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 74%] Linking CXX executable test-element_access1 +[ 74%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 75%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 77%] Linking CXX executable test-meta +[ 77%] Built target test-meta +Scanning dependencies of target test-inspection +[ 78%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 80%] Linking CXX executable test-inspection +[ 80%] Built target test-inspection +Scanning dependencies of target test-readme +[ 81%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 81%] Linking CXX executable test-readme +[ 81%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 83%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 84%] Linking CXX executable test-iterators1 +[ 84%] Built target test-iterators1 +Scanning dependencies of target test-json_pointer +[ 84%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 86%] Linking CXX executable test-json_pointer +[ 86%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 87%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 87%] Linking CXX executable test-modifiers +[ 87%] Built target test-modifiers +Scanning dependencies of target test-testsuites +[ 89%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 89%] Linking CXX executable test-testsuites +[ 89%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 90%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 92%] Linking CXX executable test-concepts +[ 92%] Built target test-concepts +Scanning dependencies of target test-large_json +[ 93%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 95%] Linking CXX executable test-large_json +[ 95%] Built target test-large_json +Scanning dependencies of target test-merge_patch +[ 96%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 96%] Linking CXX executable test-merge_patch +[ 96%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 98%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[100%] Linking CXX executable test-msgpack +[100%] Built target test-msgpack +Test project /home/json/build + Start 1: download_test_data + 1/52 Test #1: download_test_data ................. Passed 0.08 sec + Start 2: test-algorithms + 2/52 Test #2: test-algorithms .................... Passed 0.00 sec + Start 3: test-allocator + 3/52 Test #3: test-allocator ..................... Passed 0.00 sec + Start 4: test-alt-string + 4/52 Test #4: test-alt-string .................... Passed 0.00 sec + Start 5: test-bson + 5/52 Test #5: test-bson .......................... Passed 0.01 sec + Start 6: test-capacity + 6/52 Test #6: test-capacity ...................... Passed 0.00 sec + Start 7: test-cbor + 7/52 Test #7: test-cbor .......................... Passed 42.04 sec + Start 8: test-class_const_iterator + 8/52 Test #8: test-class_const_iterator .......... Passed 0.00 sec + Start 9: test-class_iterator + 9/52 Test #9: test-class_iterator ................ Passed 0.00 sec + Start 10: test-class_lexer +10/52 Test #10: test-class_lexer ...................***Failed 0.00 sec + Start 11: test-class_parser +11/52 Test #11: test-class_parser ..................***Failed 0.09 sec + Start 12: test-comparison +12/52 Test #12: test-comparison .................... Passed 0.00 sec + Start 13: test-concepts +13/52 Test #13: test-concepts ...................... Passed 0.00 sec + Start 14: test-constructor1 +14/52 Test #14: test-constructor1 .................. Passed 0.01 sec + Start 15: test-constructor2 +15/52 Test #15: test-constructor2 .................. Passed 0.00 sec + Start 16: test-convenience +16/52 Test #16: test-convenience ................... Passed 0.00 sec + Start 17: test-conversions +17/52 Test #17: test-conversions ................... Passed 0.01 sec + Start 18: test-deserialization +18/52 Test #18: test-deserialization ............... Passed 0.01 sec + Start 19: test-element_access1 +19/52 Test #19: test-element_access1 ............... Passed 0.01 sec + Start 20: test-element_access2 +20/52 Test #20: test-element_access2 ............... Passed 0.01 sec + Start 21: test-inspection +21/52 Test #21: test-inspection .................... Passed 5.46 sec + Start 22: test-items +22/52 Test #22: test-items ......................... Passed 0.00 sec + Start 23: test-iterators1 +23/52 Test #23: test-iterators1 .................... Passed 0.01 sec + Start 24: test-iterators2 +24/52 Test #24: test-iterators2 .................... Passed 0.02 sec + Start 25: test-json_patch +25/52 Test #25: test-json_patch .................... Passed 0.01 sec + Start 26: test-json_pointer +26/52 Test #26: test-json_pointer .................. Passed 0.00 sec + Start 27: test-large_json +27/52 Test #27: test-large_json .................... Passed 5.31 sec + Start 28: test-merge_patch +28/52 Test #28: test-merge_patch ................... Passed 0.00 sec + Start 29: test-meta +29/52 Test #29: test-meta .......................... Passed 0.00 sec + Start 30: test-modifiers +30/52 Test #30: test-modifiers ..................... Passed 0.01 sec + Start 31: test-msgpack +31/52 Test #31: test-msgpack ....................... Passed 42.81 sec + Start 32: test-noexcept +32/52 Test #32: test-noexcept ...................... Passed 0.00 sec + Start 33: test-pointer_access +33/52 Test #33: test-pointer_access ................ Passed 0.00 sec + Start 34: test-readme +34/52 Test #34: test-readme ........................ Passed 0.00 sec + Start 35: test-reference_access +35/52 Test #35: test-reference_access .............. Passed 0.00 sec + Start 36: test-regression +36/52 Test #36: test-regression .................... Passed 6.63 sec + Start 37: test-serialization +37/52 Test #37: test-serialization ................. Passed 0.00 sec + Start 38: test-testsuites +38/52 Test #38: test-testsuites .................... Passed 0.21 sec + Start 39: test-to_chars +39/52 Test #39: test-to_chars ...................... Passed 0.00 sec + Start 40: test-ubjson +40/52 Test #40: test-ubjson ........................ Passed 15.03 sec + Start 41: test-udt +41/52 Test #41: test-udt ........................... Passed 0.00 sec + Start 42: test-unicode +42/52 Test #42: test-unicode ....................... Passed 242.35 sec + Start 43: test-user_defined_input +43/52 Test #43: test-user_defined_input ............ Passed 0.00 sec + Start 44: test-wstring +44/52 Test #44: test-wstring ....................... Passed 0.00 sec + Start 45: cmake_import_configure +45/52 Test #45: cmake_import_configure ............. Passed 0.62 sec + Start 46: cmake_import_build +46/52 Test #46: cmake_import_build ................. Passed 1.98 sec + Start 47: cmake_import_minver_configure +47/52 Test #47: cmake_import_minver_configure ...... Passed 0.61 sec + Start 48: cmake_import_minver_build +48/52 Test #48: cmake_import_minver_build .......... Passed 1.00 sec + Start 49: cmake_add_subdirectory_configure +49/52 Test #49: cmake_add_subdirectory_configure ... Passed 0.65 sec + Start 50: cmake_add_subdirectory_build +50/52 Test #50: cmake_add_subdirectory_build ....... Passed 1.98 sec + Start 51: cmake_fetch_content_configure +51/52 Test #51: cmake_fetch_content_configure ...... Passed 1.53 sec + Start 52: cmake_fetch_content_build +52/52 Test #52: cmake_fetch_content_build .......... Passed 1.96 sec + +96% tests passed, 2 tests failed out of 52 + +Label Time Summary: +all = 360.09 sec*proc (43 tests) +git_required = 3.49 sec*proc (2 tests) + +Total Test time (real) = 370.51 sec + +The following tests FAILED: + 10 - test-class_lexer (Failed) + 11 - test-class_parser (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/fix.patch new file mode 100644 index 000000000..2fcf8dae6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/fix.patch @@ -0,0 +1,492 @@ +diff --git a/include/nlohmann/detail/input/lexer.hpp b/include/nlohmann/detail/input/lexer.hpp +index 0ff0c736..3f265eac 100644 +--- a/include/nlohmann/detail/input/lexer.hpp ++++ b/include/nlohmann/detail/input/lexer.hpp +@@ -112,8 +112,8 @@ class lexer : public lexer_base + public: + using token_type = typename lexer_base::token_type; + +- explicit lexer(InputAdapterType&& adapter) +- : ia(std::move(adapter)), decimal_point_char(static_cast(get_decimal_point())) {} ++ explicit lexer(InputAdapterType&& adapter, bool allow_comments_ = false) ++ : ia(std::move(adapter)), decimal_point_char(static_cast(get_decimal_point())), allow_comments(allow_comments_) {} + + // delete because of pointer members + lexer(const lexer&) = delete; +@@ -1431,6 +1431,74 @@ scan_number_done: + } + while (current == ' ' or current == '\t' or current == '\n' or current == '\r'); + ++ if (allow_comments and current == '/') ++ { ++ // we have read a single '/', need to check the next character ++ const auto next = get(); ++ if (next == '/') ++ { ++ // single-line comment: skip until end of line ++ while (true) ++ { ++ const auto c = get(); ++ if (c == '\n' or c == std::char_traits::eof()) ++ { ++ break; ++ } ++ } ++ // after skipping the comment, scan again for the next token ++ return scan(); ++ } ++ else if (next == '*') ++ { ++ // multi-line comment: skip until */ ++ while (true) ++ { ++ const auto c = get(); ++ if (c == std::char_traits::eof()) ++ { ++ error_message = "invalid comment: missing closing '*/'"; ++ return token_type::parse_error; ++ } ++ if (c == '*') ++ { ++ const auto c2 = get(); ++ if (c2 == '/') ++ { ++ break; ++ } ++ // if not followed by '/', we need to check if c2 is '*' again ++ // but since we already consumed it, we just continue ++ // however, we need to handle the case where c2 is '*' for patterns like **/ ++ // we need to re-check, so we "unget" would be ideal but let's handle differently ++ // Actually, we consumed c2 which might be '*' so let's check ++ if (c2 == '*') ++ { ++ // The '*' we just read might be the start of a closing '*/' ++ // We need to read the next char to check ++ const auto c3 = get(); ++ if (c3 == '/') ++ { ++ break; ++ } ++ // not a closing, continue ++ } ++ } ++ } ++ // after skipping the comment, scan again for the next token ++ return scan(); ++ } ++ else ++ { ++ // not a comment, '/' followed by something else ++ // this is an invalid character in JSON ++ unget(); // unget the character after '/' ++ // current is still '/' ++ error_message = "invalid literal"; ++ return token_type::parse_error; ++ } ++ } ++ + switch (current) + { + // structural characters +@@ -1524,6 +1592,9 @@ scan_number_done: + + /// the decimal point + const char_int_type decimal_point_char = '.'; ++ ++ /// whether comments are allowed and should be skipped ++ bool allow_comments = false; + }; + } // namespace detail + } // namespace nlohmann +diff --git a/include/nlohmann/detail/input/parser.hpp b/include/nlohmann/detail/input/parser.hpp +index 0546b88c..1daa85cb 100644 +--- a/include/nlohmann/detail/input/parser.hpp ++++ b/include/nlohmann/detail/input/parser.hpp +@@ -63,8 +63,9 @@ class parser + /// a parser reading from an input adapter + explicit parser(InputAdapterType&& adapter, + const parser_callback_t cb = nullptr, +- const bool allow_exceptions_ = true) +- : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_) ++ const bool allow_exceptions_ = true, ++ const bool allow_comments_ = false) ++ : callback(cb), m_lexer(std::move(adapter), allow_comments_), allow_exceptions(allow_exceptions_) + { + // read first token + get_token(); +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 8f95a797..3990fe9f 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -196,10 +196,11 @@ class basic_json + static ::nlohmann::detail::parser parser( + InputAdapterType adapter, + detail::parser_callback_tcb = nullptr, +- bool allow_exceptions = true ++ bool allow_exceptions = true, ++ bool allow_comments = false + ) + { +- return ::nlohmann::detail::parser(std::move(adapter), std::move(cb), allow_exceptions); ++ return ::nlohmann::detail::parser(std::move(adapter), std::move(cb), allow_exceptions, allow_comments); + } + + using primitive_iterator_t = ::nlohmann::detail::primitive_iterator_t; +@@ -6625,10 +6626,11 @@ class basic_json + JSON_HEDLEY_WARN_UNUSED_RESULT + static basic_json parse(InputType&& i, + const parser_callback_t cb = nullptr, +- const bool allow_exceptions = true) ++ const bool allow_exceptions = true, ++ const bool allow_comments = false) + { + basic_json result; +- parser(detail::input_adapter(std::forward(i)), cb, allow_exceptions).parse(true, result); ++ parser(detail::input_adapter(std::forward(i)), cb, allow_exceptions, allow_comments).parse(true, result); + return result; + } + +@@ -6660,10 +6662,11 @@ class basic_json + static basic_json parse(IteratorType first, + IteratorType last, + const parser_callback_t cb = nullptr, +- const bool allow_exceptions = true) ++ const bool allow_exceptions = true, ++ const bool allow_comments = false) + { + basic_json result; +- parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions).parse(true, result); ++ parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, allow_comments).parse(true, result); + return result; + } + +@@ -6671,10 +6674,11 @@ class basic_json + JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len)) + static basic_json parse(detail::span_input_adapter&& i, + const parser_callback_t cb = nullptr, +- const bool allow_exceptions = true) ++ const bool allow_exceptions = true, ++ const bool allow_comments = false) + { + basic_json result; +- parser(i.get(), cb, allow_exceptions).parse(true, result); ++ parser(i.get(), cb, allow_exceptions, allow_comments).parse(true, result); + return result; + } + +@@ -6706,22 +6710,22 @@ class basic_json + from a string.,accept__string} + */ + template +- static bool accept(InputType&& i) ++ static bool accept(InputType&& i, const bool allow_comments = false) + { +- return parser(detail::input_adapter(std::forward(i))).accept(true); ++ return parser(detail::input_adapter(std::forward(i)), nullptr, true, allow_comments).accept(true); + } + + template +- static bool accept(IteratorType first, IteratorType last) ++ static bool accept(IteratorType first, IteratorType last, const bool allow_comments = false) + { +- return parser(detail::input_adapter(std::move(first), std::move(last))).accept(true); ++ return parser(detail::input_adapter(std::move(first), std::move(last)), nullptr, true, allow_comments).accept(true); + } + + JSON_HEDLEY_WARN_UNUSED_RESULT + JSON_HEDLEY_DEPRECATED_FOR(3.8.0, accept(ptr, ptr + len)) +- static bool accept(detail::span_input_adapter&& i) ++ static bool accept(detail::span_input_adapter&& i, const bool allow_comments = false) + { +- return parser(i.get()).accept(true); ++ return parser(i.get(), nullptr, true, allow_comments).accept(true); + } + + /*! +@@ -6765,11 +6769,12 @@ class basic_json + JSON_HEDLEY_NON_NULL(2) + static bool sax_parse(InputType&& i, SAX* sax, + input_format_t format = input_format_t::json, +- const bool strict = true) ++ const bool strict = true, ++ const bool allow_comments = false) + { + auto ia = detail::input_adapter(std::forward(i)); + return format == input_format_t::json +- ? parser(std::move(ia)).sax_parse(sax, strict) ++ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict) + : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict); + } + +@@ -6777,11 +6782,12 @@ class basic_json + JSON_HEDLEY_NON_NULL(3) + static bool sax_parse(IteratorType first, IteratorType last, SAX* sax, + input_format_t format = input_format_t::json, +- const bool strict = true) ++ const bool strict = true, ++ const bool allow_comments = false) + { + auto ia = detail::input_adapter(std::move(first), std::move(last)); + return format == input_format_t::json +- ? parser(std::move(ia)).sax_parse(sax, strict) ++ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict) + : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict); + } + +@@ -6790,11 +6796,12 @@ class basic_json + JSON_HEDLEY_NON_NULL(2) + static bool sax_parse(detail::span_input_adapter&& i, SAX* sax, + input_format_t format = input_format_t::json, +- const bool strict = true) ++ const bool strict = true, ++ const bool allow_comments = false) + { + auto ia = i.get(); + return format == input_format_t::json +- ? parser(std::move(ia)).sax_parse(sax, strict) ++ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict) + : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict); + } + +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 74f2d09d..e3c9f2af 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -8183,8 +8183,8 @@ class lexer : public lexer_base + public: + using token_type = typename lexer_base::token_type; + +- explicit lexer(InputAdapterType&& adapter) +- : ia(std::move(adapter)), decimal_point_char(static_cast(get_decimal_point())) {} ++ explicit lexer(InputAdapterType&& adapter, bool allow_comments_ = false) ++ : ia(std::move(adapter)), decimal_point_char(static_cast(get_decimal_point())), allow_comments(allow_comments_) {} + + // delete because of pointer members + lexer(const lexer&) = delete; +@@ -9502,6 +9502,74 @@ scan_number_done: + } + while (current == ' ' or current == '\t' or current == '\n' or current == '\r'); + ++ if (allow_comments and current == '/') ++ { ++ // we have read a single '/', need to check the next character ++ const auto next = get(); ++ if (next == '/') ++ { ++ // single-line comment: skip until end of line ++ while (true) ++ { ++ const auto c = get(); ++ if (c == '\n' or c == std::char_traits::eof()) ++ { ++ break; ++ } ++ } ++ // after skipping the comment, scan again for the next token ++ return scan(); ++ } ++ else if (next == '*') ++ { ++ // multi-line comment: skip until */ ++ while (true) ++ { ++ const auto c = get(); ++ if (c == std::char_traits::eof()) ++ { ++ error_message = "invalid comment: missing closing '*/'"; ++ return token_type::parse_error; ++ } ++ if (c == '*') ++ { ++ const auto c2 = get(); ++ if (c2 == '/') ++ { ++ break; ++ } ++ // if not followed by '/', we need to check if c2 is '*' again ++ // but since we already consumed it, we just continue ++ // however, we need to handle the case where c2 is '*' for patterns like **/ ++ // we need to re-check, so we "unget" would be ideal but let's handle differently ++ // Actually, we consumed c2 which might be '*' so let's check ++ if (c2 == '*') ++ { ++ // The '*' we just read might be the start of a closing '*/' ++ // We need to read the next char to check ++ const auto c3 = get(); ++ if (c3 == '/') ++ { ++ break; ++ } ++ // not a closing, continue ++ } ++ } ++ } ++ // after skipping the comment, scan again for the next token ++ return scan(); ++ } ++ else ++ { ++ // not a comment, '/' followed by something else ++ // this is an invalid character in JSON ++ unget(); // unget the character after '/' ++ // current is still '/' ++ error_message = "invalid literal"; ++ return token_type::parse_error; ++ } ++ } ++ + switch (current) + { + // structural characters +@@ -9595,6 +9663,9 @@ scan_number_done: + + /// the decimal point + const char_int_type decimal_point_char = '.'; ++ ++ /// whether comments are allowed and should be skipped ++ bool allow_comments = false; + }; + } // namespace detail + } // namespace nlohmann +@@ -9672,8 +9743,9 @@ class parser + /// a parser reading from an input adapter + explicit parser(InputAdapterType&& adapter, + const parser_callback_t cb = nullptr, +- const bool allow_exceptions_ = true) +- : callback(cb), m_lexer(std::move(adapter)), allow_exceptions(allow_exceptions_) ++ const bool allow_exceptions_ = true, ++ const bool allow_comments_ = false) ++ : callback(cb), m_lexer(std::move(adapter), allow_comments_), allow_exceptions(allow_exceptions_) + { + // read first token + get_token(); +@@ -16001,10 +16073,11 @@ class basic_json + static ::nlohmann::detail::parser parser( + InputAdapterType adapter, + detail::parser_callback_tcb = nullptr, +- bool allow_exceptions = true ++ bool allow_exceptions = true, ++ bool allow_comments = false + ) + { +- return ::nlohmann::detail::parser(std::move(adapter), std::move(cb), allow_exceptions); ++ return ::nlohmann::detail::parser(std::move(adapter), std::move(cb), allow_exceptions, allow_comments); + } + + using primitive_iterator_t = ::nlohmann::detail::primitive_iterator_t; +@@ -22430,10 +22503,11 @@ class basic_json + JSON_HEDLEY_WARN_UNUSED_RESULT + static basic_json parse(InputType&& i, + const parser_callback_t cb = nullptr, +- const bool allow_exceptions = true) ++ const bool allow_exceptions = true, ++ const bool allow_comments = false) + { + basic_json result; +- parser(detail::input_adapter(std::forward(i)), cb, allow_exceptions).parse(true, result); ++ parser(detail::input_adapter(std::forward(i)), cb, allow_exceptions, allow_comments).parse(true, result); + return result; + } + +@@ -22465,10 +22539,11 @@ class basic_json + static basic_json parse(IteratorType first, + IteratorType last, + const parser_callback_t cb = nullptr, +- const bool allow_exceptions = true) ++ const bool allow_exceptions = true, ++ const bool allow_comments = false) + { + basic_json result; +- parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions).parse(true, result); ++ parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, allow_comments).parse(true, result); + return result; + } + +@@ -22476,10 +22551,11 @@ class basic_json + JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len)) + static basic_json parse(detail::span_input_adapter&& i, + const parser_callback_t cb = nullptr, +- const bool allow_exceptions = true) ++ const bool allow_exceptions = true, ++ const bool allow_comments = false) + { + basic_json result; +- parser(i.get(), cb, allow_exceptions).parse(true, result); ++ parser(i.get(), cb, allow_exceptions, allow_comments).parse(true, result); + return result; + } + +@@ -22511,22 +22587,22 @@ class basic_json + from a string.,accept__string} + */ + template +- static bool accept(InputType&& i) ++ static bool accept(InputType&& i, const bool allow_comments = false) + { +- return parser(detail::input_adapter(std::forward(i))).accept(true); ++ return parser(detail::input_adapter(std::forward(i)), nullptr, true, allow_comments).accept(true); + } + + template +- static bool accept(IteratorType first, IteratorType last) ++ static bool accept(IteratorType first, IteratorType last, const bool allow_comments = false) + { +- return parser(detail::input_adapter(std::move(first), std::move(last))).accept(true); ++ return parser(detail::input_adapter(std::move(first), std::move(last)), nullptr, true, allow_comments).accept(true); + } + + JSON_HEDLEY_WARN_UNUSED_RESULT + JSON_HEDLEY_DEPRECATED_FOR(3.8.0, accept(ptr, ptr + len)) +- static bool accept(detail::span_input_adapter&& i) ++ static bool accept(detail::span_input_adapter&& i, const bool allow_comments = false) + { +- return parser(i.get()).accept(true); ++ return parser(i.get(), nullptr, true, allow_comments).accept(true); + } + + /*! +@@ -22570,11 +22646,12 @@ class basic_json + JSON_HEDLEY_NON_NULL(2) + static bool sax_parse(InputType&& i, SAX* sax, + input_format_t format = input_format_t::json, +- const bool strict = true) ++ const bool strict = true, ++ const bool allow_comments = false) + { + auto ia = detail::input_adapter(std::forward(i)); + return format == input_format_t::json +- ? parser(std::move(ia)).sax_parse(sax, strict) ++ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict) + : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict); + } + +@@ -22582,11 +22659,12 @@ class basic_json + JSON_HEDLEY_NON_NULL(3) + static bool sax_parse(IteratorType first, IteratorType last, SAX* sax, + input_format_t format = input_format_t::json, +- const bool strict = true) ++ const bool strict = true, ++ const bool allow_comments = false) + { + auto ia = detail::input_adapter(std::move(first), std::move(last)); + return format == input_format_t::json +- ? parser(std::move(ia)).sax_parse(sax, strict) ++ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict) + : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict); + } + +@@ -22595,11 +22673,12 @@ class basic_json + JSON_HEDLEY_NON_NULL(2) + static bool sax_parse(detail::span_input_adapter&& i, SAX* sax, + input_format_t format = input_format_t::json, +- const bool strict = true) ++ const bool strict = true, ++ const bool allow_comments = false) + { + auto ia = i.get(); + return format == input_format_t::json +- ? parser(std::move(ia)).sax_parse(sax, strict) ++ ? parser(std::move(ia), nullptr, true, allow_comments).sax_parse(sax, strict) + : detail::binary_reader(std::move(ia)).sax_parse(format, sax, strict); + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/report.json new file mode 100644 index 000000000..de3bb7a77 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2212/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2212, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 52, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-element_access1", "test-allocator", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-items", "cmake_import_minver_build", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 50, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-element_access1", "test-allocator", "test-concepts", "test-element_access2", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-user_defined_input", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-algorithms", "test-comparison", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "cmake_import_minver_build", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/fix-patch-run.log new file mode 100644 index 000000000..c0ca7daf9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/fix-patch-run.log @@ -0,0 +1,541 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5753 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.7 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (18.4 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.xuktui9C +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.xuktui9C/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.xuktui9C/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.xuktui9C/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.xuktui9C/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.xuktui9C/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.xuktui9C +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d027df4d01de +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.CHcw1rOvgh/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/CMakeLists.txt +patching file test/src/unit-udt_macro.cpp +patching file build_single/include/test_data.hpp +patching file include/nlohmann/detail/macro_scope.hpp +patching file include/nlohmann/detail/macro_unscope.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux d027df4d01de 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 3%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 4%] Linking CXX executable test-user_defined_input +[ 4%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 6%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 7%] Linking CXX executable test-unicode +[ 7%] Built target test-unicode +Scanning dependencies of target test-udt_macro +[ 7%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 9%] Linking CXX executable test-udt_macro +[ 9%] Built target test-udt_macro +Scanning dependencies of target test-udt +[ 10%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 12%] Linking CXX executable test-udt +[ 12%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 12%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 13%] Linking CXX executable test-ubjson +[ 13%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 15%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 16%] Linking CXX executable test-to_chars +[ 16%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 18%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 19%] Linking CXX executable test-serialization +[ 19%] Built target test-serialization +Scanning dependencies of target test-regression +[ 19%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 21%] Linking CXX executable test-regression +[ 21%] Built target test-regression +Scanning dependencies of target test-class_parser +[ 21%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser +[ 22%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 24%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 25%] Linking CXX executable test-comparison +[ 25%] Built target test-comparison +Scanning dependencies of target test-class_iterator +[ 25%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 27%] Linking CXX executable test-class_iterator +[ 27%] Built target test-class_iterator +Scanning dependencies of target test-convenience +[ 28%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience +[ 30%] Built target test-convenience +Scanning dependencies of target test-class_const_iterator +[ 31%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 33%] Linking CXX executable test-class_const_iterator +[ 33%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 34%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 36%] Linking CXX executable test-json_patch +[ 36%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 37%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 37%] Linking CXX executable test-noexcept +[ 37%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 39%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 40%] Linking CXX executable test-pointer_access +[ 40%] Built target test-pointer_access +Scanning dependencies of target test-iterators2 +[ 42%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 42%] Linking CXX executable test-iterators2 +[ 42%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 43%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 45%] Linking CXX executable test-capacity +[ 45%] Built target test-capacity +Scanning dependencies of target test-cbor +[ 45%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 46%] Linking CXX executable test-cbor +[ 46%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 48%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 50%] Linking CXX executable test-algorithms +[ 50%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 51%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 51%] Linking CXX executable test-element_access2 +[ 51%] Built target test-element_access2 +Scanning dependencies of target test-bson +[ 53%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 53%] Linking CXX executable test-bson +[ 53%] Built target test-bson +Scanning dependencies of target test-class_lexer +[ 54%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 56%] Linking CXX executable test-class_lexer +[ 56%] Built target test-class_lexer +Scanning dependencies of target test-allocator +[ 57%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 57%] Linking CXX executable test-allocator +[ 57%] Built target test-allocator +Scanning dependencies of target test-items +[ 59%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 59%] Linking CXX executable test-items +[ 59%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 59%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 60%] Linking CXX executable test-constructor2 +[ 60%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 62%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 63%] Linking CXX executable test-alt-string +[ 63%] Built target test-alt-string +Scanning dependencies of target test-conversions +[ 63%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 65%] Linking CXX executable test-conversions +[ 65%] Built target test-conversions +Scanning dependencies of target test-constructor1 +[ 66%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 68%] Linking CXX executable test-constructor1 +[ 68%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 69%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 71%] Linking CXX executable test-deserialization +[ 71%] Built target test-deserialization +Scanning dependencies of target test-reference_access +[ 72%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 74%] Linking CXX executable test-reference_access +[ 74%] Built target test-reference_access +Scanning dependencies of target test-element_access1 +[ 74%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 75%] Linking CXX executable test-element_access1 +[ 75%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 77%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 78%] Linking CXX executable test-meta +[ 78%] Built target test-meta +Scanning dependencies of target test-inspection +[ 80%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 81%] Linking CXX executable test-inspection +[ 81%] Built target test-inspection +Scanning dependencies of target test-readme +[ 81%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 83%] Linking CXX executable test-readme +[ 83%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 84%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 86%] Linking CXX executable test-iterators1 +[ 86%] Built target test-iterators1 +Scanning dependencies of target test-json_pointer +[ 87%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 87%] Linking CXX executable test-json_pointer +[ 87%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 89%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 89%] Linking CXX executable test-modifiers +[ 89%] Built target test-modifiers +Scanning dependencies of target test-testsuites +[ 89%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 90%] Linking CXX executable test-testsuites +[ 90%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 90%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 92%] Linking CXX executable test-concepts +[ 92%] Built target test-concepts +Scanning dependencies of target test-large_json +[ 93%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 95%] Linking CXX executable test-large_json +[ 95%] Built target test-large_json +Scanning dependencies of target test-merge_patch +[ 96%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 96%] Linking CXX executable test-merge_patch +[ 96%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 98%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[100%] Linking CXX executable test-msgpack +[100%] Built target test-msgpack +Test project /home/json/build + Start 1: download_test_data + 1/53 Test #1: download_test_data ................. Passed 0.08 sec + Start 2: test-algorithms + 2/53 Test #2: test-algorithms .................... Passed 0.00 sec + Start 3: test-allocator + 3/53 Test #3: test-allocator ..................... Passed 0.00 sec + Start 4: test-alt-string + 4/53 Test #4: test-alt-string .................... Passed 0.00 sec + Start 5: test-bson + 5/53 Test #5: test-bson .......................... Passed 0.02 sec + Start 6: test-capacity + 6/53 Test #6: test-capacity ...................... Passed 0.00 sec + Start 7: test-cbor + 7/53 Test #7: test-cbor .......................... Passed 42.18 sec + Start 8: test-class_const_iterator + 8/53 Test #8: test-class_const_iterator .......... Passed 0.00 sec + Start 9: test-class_iterator + 9/53 Test #9: test-class_iterator ................ Passed 0.00 sec + Start 10: test-class_lexer +10/53 Test #10: test-class_lexer ................... Passed 0.00 sec + Start 11: test-class_parser +11/53 Test #11: test-class_parser .................. Passed 0.09 sec + Start 12: test-comparison +12/53 Test #12: test-comparison .................... Passed 0.00 sec + Start 13: test-concepts +13/53 Test #13: test-concepts ...................... Passed 0.00 sec + Start 14: test-constructor1 +14/53 Test #14: test-constructor1 .................. Passed 0.01 sec + Start 15: test-constructor2 +15/53 Test #15: test-constructor2 .................. Passed 0.00 sec + Start 16: test-convenience +16/53 Test #16: test-convenience ................... Passed 0.00 sec + Start 17: test-conversions +17/53 Test #17: test-conversions ................... Passed 0.01 sec + Start 18: test-deserialization +18/53 Test #18: test-deserialization ............... Passed 0.01 sec + Start 19: test-element_access1 +19/53 Test #19: test-element_access1 ............... Passed 0.01 sec + Start 20: test-element_access2 +20/53 Test #20: test-element_access2 ............... Passed 0.01 sec + Start 21: test-inspection +21/53 Test #21: test-inspection .................... Passed 5.41 sec + Start 22: test-items +22/53 Test #22: test-items ......................... Passed 0.00 sec + Start 23: test-iterators1 +23/53 Test #23: test-iterators1 .................... Passed 0.01 sec + Start 24: test-iterators2 +24/53 Test #24: test-iterators2 .................... Passed 0.02 sec + Start 25: test-json_patch +25/53 Test #25: test-json_patch .................... Passed 0.01 sec + Start 26: test-json_pointer +26/53 Test #26: test-json_pointer .................. Passed 0.00 sec + Start 27: test-large_json +27/53 Test #27: test-large_json .................... Passed 5.19 sec + Start 28: test-merge_patch +28/53 Test #28: test-merge_patch ................... Passed 0.00 sec + Start 29: test-meta +29/53 Test #29: test-meta .......................... Passed 0.00 sec + Start 30: test-modifiers +30/53 Test #30: test-modifiers ..................... Passed 0.01 sec + Start 31: test-msgpack +31/53 Test #31: test-msgpack ....................... Passed 42.34 sec + Start 32: test-noexcept +32/53 Test #32: test-noexcept ...................... Passed 0.00 sec + Start 33: test-pointer_access +33/53 Test #33: test-pointer_access ................ Passed 0.00 sec + Start 34: test-readme +34/53 Test #34: test-readme ........................ Passed 0.00 sec + Start 35: test-reference_access +35/53 Test #35: test-reference_access .............. Passed 0.00 sec + Start 36: test-regression +36/53 Test #36: test-regression .................... Passed 6.65 sec + Start 37: test-serialization +37/53 Test #37: test-serialization ................. Passed 0.00 sec + Start 38: test-testsuites +38/53 Test #38: test-testsuites .................... Passed 0.25 sec + Start 39: test-to_chars +39/53 Test #39: test-to_chars ...................... Passed 0.00 sec + Start 40: test-ubjson +40/53 Test #40: test-ubjson ........................ Passed 14.88 sec + Start 41: test-udt +41/53 Test #41: test-udt ........................... Passed 0.00 sec + Start 42: test-udt_macro +42/53 Test #42: test-udt_macro ..................... Passed 0.00 sec + Start 43: test-unicode +43/53 Test #43: test-unicode ....................... Passed 243.99 sec + Start 44: test-user_defined_input +44/53 Test #44: test-user_defined_input ............ Passed 0.00 sec + Start 45: test-wstring +45/53 Test #45: test-wstring ....................... Passed 0.00 sec + Start 46: cmake_import_configure +46/53 Test #46: cmake_import_configure ............. Passed 0.62 sec + Start 47: cmake_import_build +47/53 Test #47: cmake_import_build ................. Passed 1.96 sec + Start 48: cmake_import_minver_configure +48/53 Test #48: cmake_import_minver_configure ...... Passed 0.63 sec + Start 49: cmake_import_minver_build +49/53 Test #49: cmake_import_minver_build .......... Passed 1.01 sec + Start 50: cmake_add_subdirectory_configure +50/53 Test #50: cmake_add_subdirectory_configure ... Passed 0.66 sec + Start 51: cmake_add_subdirectory_build +51/53 Test #51: cmake_add_subdirectory_build ....... Passed 1.98 sec + Start 52: cmake_fetch_content_configure +52/53 Test #52: cmake_fetch_content_configure ...... Passed 1.50 sec + Start 53: cmake_fetch_content_build +53/53 Test #53: cmake_fetch_content_build .......... Passed 1.99 sec + +100% tests passed, 0 tests failed out of 53 + +Label Time Summary: +all = 361.15 sec*proc (44 tests) +git_required = 3.49 sec*proc (2 tests) + +Total Test time (real) = 371.58 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/fix.patch new file mode 100644 index 000000000..567d3d4a1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/fix.patch @@ -0,0 +1,212 @@ +diff --git a/build_single/include/test_data.hpp b/build_single/include/test_data.hpp +new file mode 100644 +index 00000000..f66d182e +--- /dev/null ++++ b/build_single/include/test_data.hpp +@@ -0,0 +1 @@ ++#define TEST_DATA_DIRECTORY "/home/json/build_single/json_test_data" +diff --git a/include/nlohmann/detail/macro_scope.hpp b/include/nlohmann/detail/macro_scope.hpp +index a48d18e8..9164b916 100644 +--- a/include/nlohmann/detail/macro_scope.hpp ++++ b/include/nlohmann/detail/macro_scope.hpp +@@ -108,6 +108,80 @@ + e = ((it != std::end(m)) ? it : std::begin(m))->first; \ + } + ++// helper macros for NLOHMANN_DEFINE_TYPE_INTRUSIVE and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ++#define NLOHMANN_JSON_FROM(arg) j.at(#arg).get_to(t.arg); ++#define NLOHMANN_JSON_TO(arg) j[#arg] = t.arg; ++ ++#define NLOHMANN_JSON_FROM1(arg1) NLOHMANN_JSON_FROM(arg1) ++#define NLOHMANN_JSON_FROM2(arg1, arg2) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) ++#define NLOHMANN_JSON_FROM3(arg1, arg2, arg3) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) ++#define NLOHMANN_JSON_FROM4(arg1, arg2, arg3, arg4) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) ++#define NLOHMANN_JSON_FROM5(arg1, arg2, arg3, arg4, arg5) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) ++#define NLOHMANN_JSON_FROM6(arg1, arg2, arg3, arg4, arg5, arg6) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) ++#define NLOHMANN_JSON_FROM7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) ++#define NLOHMANN_JSON_FROM8(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) NLOHMANN_JSON_FROM(arg8) ++#define NLOHMANN_JSON_FROM9(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) NLOHMANN_JSON_FROM(arg8) NLOHMANN_JSON_FROM(arg9) ++ ++#define NLOHMANN_JSON_TO1(arg1) NLOHMANN_JSON_TO(arg1) ++#define NLOHMANN_JSON_TO2(arg1, arg2) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) ++#define NLOHMANN_JSON_TO3(arg1, arg2, arg3) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) ++#define NLOHMANN_JSON_TO4(arg1, arg2, arg3, arg4) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) ++#define NLOHMANN_JSON_TO5(arg1, arg2, arg3, arg4, arg5) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) ++#define NLOHMANN_JSON_TO6(arg1, arg2, arg3, arg4, arg5, arg6) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) ++#define NLOHMANN_JSON_TO7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) ++#define NLOHMANN_JSON_TO8(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) NLOHMANN_JSON_TO(arg8) ++#define NLOHMANN_JSON_TO9(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) NLOHMANN_JSON_TO(arg8) NLOHMANN_JSON_TO(arg9) ++ ++#define NLOHMANN_JSON_NARG(...) NLOHMANN_JSON_NARG_(__VA_ARGS__, NLOHMANN_JSON_RSEQ_N()) ++#define NLOHMANN_JSON_NARG_(...) NLOHMANN_JSON_ARG_N(__VA_ARGS__) ++#define NLOHMANN_JSON_ARG_N(_1, _2, _3, _4, _5, _6, _7, _8, _9, N, ...) N ++#define NLOHMANN_JSON_RSEQ_N() 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ++ ++#define NLOHMANN_JSON_CONCAT(a, b) NLOHMANN_JSON_CONCAT_(a, b) ++#define NLOHMANN_JSON_CONCAT_(a, b) a##b ++ ++#define NLOHMANN_JSON_EXPAND(x) x ++ ++#define NLOHMANN_JSON_DISPATCH_FROM(...) NLOHMANN_JSON_DISPATCH_FROM_(NLOHMANN_JSON_NARG(__VA_ARGS__), __VA_ARGS__) ++#define NLOHMANN_JSON_DISPATCH_FROM_(n, ...) NLOHMANN_JSON_CONCAT(NLOHMANN_JSON_FROM, n)(__VA_ARGS__) ++ ++#define NLOHMANN_JSON_DISPATCH_TO(...) NLOHMANN_JSON_DISPATCH_TO_(NLOHMANN_JSON_NARG(__VA_ARGS__), __VA_ARGS__) ++#define NLOHMANN_JSON_DISPATCH_TO_(n, ...) NLOHMANN_JSON_CONCAT(NLOHMANN_JSON_TO, n)(__VA_ARGS__) ++ ++/*! ++@brief macro to define a mapping between a custom type and JSON (intrusive) ++@def NLOHMANN_DEFINE_TYPE_INTRUSIVE ++@since version 3.9.0 ++*/ ++#define NLOHMANN_DEFINE_TYPE_INTRUSIVE(Type, ...) \ ++ template \ ++ friend void to_json(BasicJsonType& j, const Type& t) \ ++ { \ ++ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_TO(__VA_ARGS__)) \ ++ } \ ++ template \ ++ friend void from_json(const BasicJsonType& j, Type& t) \ ++ { \ ++ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_FROM(__VA_ARGS__)) \ ++ } ++ ++/*! ++@brief macro to define a mapping between a custom type and JSON (non-intrusive) ++@def NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ++@since version 3.9.0 ++*/ ++#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Type, ...) \ ++ template \ ++ void to_json(BasicJsonType& j, const Type& t) \ ++ { \ ++ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_TO(__VA_ARGS__)) \ ++ } \ ++ template \ ++ void from_json(const BasicJsonType& j, Type& t) \ ++ { \ ++ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_FROM(__VA_ARGS__)) \ ++ } ++ + // Ugly macros to avoid uglier copy-paste when specializing basic_json. They + // may be removed in the future once the class is split. + +diff --git a/include/nlohmann/detail/macro_unscope.hpp b/include/nlohmann/detail/macro_unscope.hpp +index 80b293e7..76988a79 100644 +--- a/include/nlohmann/detail/macro_unscope.hpp ++++ b/include/nlohmann/detail/macro_unscope.hpp +@@ -18,4 +18,14 @@ + #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION + #undef NLOHMANN_BASIC_JSON_TPL + ++// DO NOT undef the following macros, as they are needed by the ++// NLOHMANN_DEFINE_TYPE_INTRUSIVE and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE macros: ++// - NLOHMANN_JSON_FROM, NLOHMANN_JSON_TO ++// - NLOHMANN_JSON_FROM2..9, NLOHMANN_JSON_TO2..9 ++// - NLOHMANN_JSON_NARG, NLOHMANN_JSON_NARG_, NLOHMANN_JSON_ARG_N, NLOHMANN_JSON_RSEQ_N ++// - NLOHMANN_JSON_CONCAT, NLOHMANN_JSON_CONCAT_ ++// - NLOHMANN_JSON_EXPAND ++// - NLOHMANN_JSON_DISPATCH_FROM, NLOHMANN_JSON_DISPATCH_FROM_ ++// - NLOHMANN_JSON_DISPATCH_TO, NLOHMANN_JSON_DISPATCH_TO_ ++ + #include +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 770418f4..8d67db33 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -2136,6 +2136,79 @@ JSON_HEDLEY_DIAGNOSTIC_POP + e = ((it != std::end(m)) ? it : std::begin(m))->first; \ + } + ++#define NLOHMANN_JSON_FROM(arg) j.at(#arg).get_to(t.arg); ++#define NLOHMANN_JSON_TO(arg) j[#arg] = t.arg; ++ ++#define NLOHMANN_JSON_FROM1(arg1) NLOHMANN_JSON_FROM(arg1) ++#define NLOHMANN_JSON_FROM2(arg1, arg2) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) ++#define NLOHMANN_JSON_FROM3(arg1, arg2, arg3) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) ++#define NLOHMANN_JSON_FROM4(arg1, arg2, arg3, arg4) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) ++#define NLOHMANN_JSON_FROM5(arg1, arg2, arg3, arg4, arg5) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) ++#define NLOHMANN_JSON_FROM6(arg1, arg2, arg3, arg4, arg5, arg6) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) ++#define NLOHMANN_JSON_FROM7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) ++#define NLOHMANN_JSON_FROM8(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) NLOHMANN_JSON_FROM(arg8) ++#define NLOHMANN_JSON_FROM9(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) NLOHMANN_JSON_FROM(arg1) NLOHMANN_JSON_FROM(arg2) NLOHMANN_JSON_FROM(arg3) NLOHMANN_JSON_FROM(arg4) NLOHMANN_JSON_FROM(arg5) NLOHMANN_JSON_FROM(arg6) NLOHMANN_JSON_FROM(arg7) NLOHMANN_JSON_FROM(arg8) NLOHMANN_JSON_FROM(arg9) ++ ++#define NLOHMANN_JSON_TO1(arg1) NLOHMANN_JSON_TO(arg1) ++#define NLOHMANN_JSON_TO2(arg1, arg2) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) ++#define NLOHMANN_JSON_TO3(arg1, arg2, arg3) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) ++#define NLOHMANN_JSON_TO4(arg1, arg2, arg3, arg4) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) ++#define NLOHMANN_JSON_TO5(arg1, arg2, arg3, arg4, arg5) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) ++#define NLOHMANN_JSON_TO6(arg1, arg2, arg3, arg4, arg5, arg6) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) ++#define NLOHMANN_JSON_TO7(arg1, arg2, arg3, arg4, arg5, arg6, arg7) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) ++#define NLOHMANN_JSON_TO8(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) NLOHMANN_JSON_TO(arg8) ++#define NLOHMANN_JSON_TO9(arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9) NLOHMANN_JSON_TO(arg1) NLOHMANN_JSON_TO(arg2) NLOHMANN_JSON_TO(arg3) NLOHMANN_JSON_TO(arg4) NLOHMANN_JSON_TO(arg5) NLOHMANN_JSON_TO(arg6) NLOHMANN_JSON_TO(arg7) NLOHMANN_JSON_TO(arg8) NLOHMANN_JSON_TO(arg9) ++ ++#define NLOHMANN_JSON_NARG(...) NLOHMANN_JSON_NARG_(__VA_ARGS__, NLOHMANN_JSON_RSEQ_N()) ++#define NLOHMANN_JSON_NARG_(...) NLOHMANN_JSON_ARG_N(__VA_ARGS__) ++#define NLOHMANN_JSON_ARG_N(_1, _2, _3, _4, _5, _6, _7, _8, _9, N, ...) N ++#define NLOHMANN_JSON_RSEQ_N() 9, 8, 7, 6, 5, 4, 3, 2, 1, 0 ++ ++#define NLOHMANN_JSON_CONCAT(a, b) NLOHMANN_JSON_CONCAT_(a, b) ++#define NLOHMANN_JSON_CONCAT_(a, b) a##b ++ ++#define NLOHMANN_JSON_EXPAND(x) x ++ ++#define NLOHMANN_JSON_DISPATCH_FROM(...) NLOHMANN_JSON_DISPATCH_FROM_(NLOHMANN_JSON_NARG(__VA_ARGS__), __VA_ARGS__) ++#define NLOHMANN_JSON_DISPATCH_FROM_(n, ...) NLOHMANN_JSON_CONCAT(NLOHMANN_JSON_FROM, n)(__VA_ARGS__) ++ ++#define NLOHMANN_JSON_DISPATCH_TO(...) NLOHMANN_JSON_DISPATCH_TO_(NLOHMANN_JSON_NARG(__VA_ARGS__), __VA_ARGS__) ++#define NLOHMANN_JSON_DISPATCH_TO_(n, ...) NLOHMANN_JSON_CONCAT(NLOHMANN_JSON_TO, n)(__VA_ARGS__) ++ ++/*! ++@brief macro to define a mapping between a custom type and JSON (intrusive) ++@def NLOHMANN_DEFINE_TYPE_INTRUSIVE ++@since version 3.9.0 ++*/ ++#define NLOHMANN_DEFINE_TYPE_INTRUSIVE(Type, ...) \ ++ template \ ++ friend void to_json(BasicJsonType& j, const Type& t) \ ++ { \ ++ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_TO(__VA_ARGS__)) \ ++ } \ ++ template \ ++ friend void from_json(const BasicJsonType& j, Type& t) \ ++ { \ ++ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_FROM(__VA_ARGS__)) \ ++ } ++ ++/*! ++@brief macro to define a mapping between a custom type and JSON (non-intrusive) ++@def NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE ++@since version 3.9.0 ++*/ ++#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Type, ...) \ ++ template \ ++ void to_json(BasicJsonType& j, const Type& t) \ ++ { \ ++ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_TO(__VA_ARGS__)) \ ++ } \ ++ template \ ++ void from_json(const BasicJsonType& j, Type& t) \ ++ { \ ++ NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_DISPATCH_FROM(__VA_ARGS__)) \ ++ } ++ + // Ugly macros to avoid uglier copy-paste when specializing basic_json. They + // may be removed in the future once the class is split. + +@@ -24684,6 +24757,16 @@ inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std + #undef NLOHMANN_BASIC_JSON_TPL_DECLARATION + #undef NLOHMANN_BASIC_JSON_TPL + ++// DO NOT undef the following macros, as they are needed by the ++// NLOHMANN_DEFINE_TYPE_INTRUSIVE and NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE macros: ++// - NLOHMANN_JSON_FROM, NLOHMANN_JSON_TO ++// - NLOHMANN_JSON_FROM2..9, NLOHMANN_JSON_TO2..9 ++// - NLOHMANN_JSON_NARG, NLOHMANN_JSON_NARG_, NLOHMANN_JSON_ARG_N, NLOHMANN_JSON_RSEQ_N ++// - NLOHMANN_JSON_CONCAT, NLOHMANN_JSON_CONCAT_ ++// - NLOHMANN_JSON_EXPAND ++// - NLOHMANN_JSON_DISPATCH_FROM, NLOHMANN_JSON_DISPATCH_FROM_ ++// - NLOHMANN_JSON_DISPATCH_TO, NLOHMANN_JSON_DISPATCH_TO_ ++ + // #include + #undef JSON_HEDLEY_ALWAYS_INLINE + #undef JSON_HEDLEY_ARM_VERSION diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/report.json new file mode 100644 index 000000000..0d47cc9f6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2225/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2225, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 52, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-element_access1", "test-allocator", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-items", "cmake_import_minver_build", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 53, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-element_access1", "test-allocator", "test-concepts", "test-element_access2", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-alt-string", "test-class_lexer", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-user_defined_input", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "cmake_import_minver_build", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2258/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2258/fix-patch-run.log new file mode 100644 index 000000000..c8e9e414a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2258/fix-patch-run.log @@ -0,0 +1,992 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 2s (5444 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.4 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.9 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.pVTWoXWK +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.pVTWoXWK/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.pVTWoXWK/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.pVTWoXWK/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.pVTWoXWK/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.pVTWoXWK/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.pVTWoXWK +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=51972dfb7558 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.MeQc6s42zM/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/CMakeLists.txt +patching file test/src/unit-ordered_json.cpp +patching file include/nlohmann/json.hpp +patching file include/nlohmann/json_fwd.hpp +patching file include/nlohmann/ordered_map.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux 51972dfb7558 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 3%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 4%] Linking CXX executable test-user_defined_input +[ 4%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 6%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 7%] Linking CXX executable test-unicode +[ 7%] Built target test-unicode +Scanning dependencies of target test-udt_macro +[ 9%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 9%] Linking CXX executable test-udt_macro +[ 9%] Built target test-udt_macro +Scanning dependencies of target test-udt +[ 10%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 12%] Linking CXX executable test-udt +[ 12%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 13%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 13%] Linking CXX executable test-ubjson +[ 13%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 13%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 15%] Linking CXX executable test-to_chars +[ 15%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 15%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 16%] Linking CXX executable test-serialization +[ 16%] Built target test-serialization +Scanning dependencies of target test-regression +[ 18%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 19%] Linking CXX executable test-regression +[ 19%] Built target test-regression +Scanning dependencies of target test-reference_access +[ 21%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 21%] Linking CXX executable test-reference_access +[ 21%] Built target test-reference_access +Scanning dependencies of target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 24%] Linking CXX executable test-class_parser +[ 24%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 25%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 25%] Linking CXX executable test-comparison +[ 25%] Built target test-comparison +Scanning dependencies of target test-class_iterator +[ 25%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 27%] Linking CXX executable test-class_iterator +[ 27%] Built target test-class_iterator +Scanning dependencies of target test-convenience +[ 27%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 28%] Linking CXX executable test-convenience +[ 28%] Built target test-convenience +Scanning dependencies of target test-class_const_iterator +[ 30%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 31%] Linking CXX executable test-class_const_iterator +[ 31%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 33%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 34%] Linking CXX executable test-json_patch +[ 34%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 36%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 37%] Linking CXX executable test-noexcept +[ 37%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 39%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 39%] Linking CXX executable test-pointer_access +[ 39%] Built target test-pointer_access +Scanning dependencies of target test-iterators2 +[ 40%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 40%] Linking CXX executable test-iterators2 +[ 40%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 42%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 43%] Linking CXX executable test-capacity +[ 43%] Built target test-capacity +Scanning dependencies of target test-bson +[ 45%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 45%] Linking CXX executable test-bson +[ 45%] Built target test-bson +Scanning dependencies of target test-class_lexer +[ 46%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 46%] Linking CXX executable test-class_lexer +[ 46%] Built target test-class_lexer +Scanning dependencies of target test-readme +[ 48%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 50%] Linking CXX executable test-readme +[ 50%] Built target test-readme +Scanning dependencies of target test-cbor +[ 50%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 51%] Linking CXX executable test-cbor +[ 51%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 53%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 54%] Linking CXX executable test-algorithms +[ 54%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 56%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 57%] Linking CXX executable test-element_access2 +[ 57%] Built target test-element_access2 +Scanning dependencies of target test-allocator +[ 57%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 59%] Linking CXX executable test-allocator +[ 59%] Built target test-allocator +Scanning dependencies of target test-items +[ 60%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 60%] Linking CXX executable test-items +[ 60%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 62%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 63%] Linking CXX executable test-constructor2 +[ 63%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 65%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 66%] Linking CXX executable test-alt-string +[ 66%] Built target test-alt-string +Scanning dependencies of target test-assert_macro +[ 66%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 68%] Linking CXX executable test-assert_macro +[ 68%] Built target test-assert_macro +Scanning dependencies of target test-conversions +[ 69%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 69%] Linking CXX executable test-conversions +[ 69%] Built target test-conversions +Scanning dependencies of target test-ordered_json +[ 69%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +/home/json/test/src/unit-ordered_json.cpp:34:17: error: 'nlohmann::ordered_json' has not been declared + using nlohmann::ordered_json; + ^~~~~~~~~~~~ +/home/json/test/src/unit-ordered_json.cpp: In function 'void _DOCTEST_ANON_FUNC_2()': +/home/json/test/src/unit-ordered_json.cpp:40:5: error: 'ordered_json' was not declared in this scope + ordered_json oj; + ^~~~~~~~~~~~ +/home/json/test/src/unit-ordered_json.cpp:40:5: note: suggested alternative: 'operator""_json' + ordered_json oj; + ^~~~~~~~~~~~ + operator""_json +/home/json/test/src/unit-ordered_json.cpp:46:5: error: 'oj' was not declared in this scope + oj["element3"] = 3; + ^~ +/home/json/test/src/unit-ordered_json.cpp:46:5: note: suggested alternative: 'j' + oj["element3"] = 3; + ^~ + j +/home/json/test/src/unit-ordered_json.cpp:74:18: error: expected ';' before 'multi_ordered' + ordered_json multi_ordered {{"z", 1}, {"m", 2}, {"m", 3}, {"y", 4}, {"m", 5}}; + ^~~~~~~~~~~~~ +In file included from /home/json/test/thirdparty/doctest/doctest_compatibility.h:6:0, + from /home/json/test/src/unit-ordered_json.cpp:30: +/home/json/test/src/unit-ordered_json.cpp:75:11: error: 'multi_ordered' was not declared in this scope + CHECK(multi_ordered.size() == 3); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1997:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + ^~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2471:15: note: in expansion of macro 'DOCTEST_CHECK' + #define CHECK DOCTEST_CHECK + ^~~~~~~~~~~~~ +/home/json/test/src/unit-ordered_json.cpp:75:5: note: in expansion of macro 'CHECK' + CHECK(multi_ordered.size() == 3); + ^~~~~ +make[2]: *** [test/CMakeFiles/test-ordered_json.dir/build.make:63: test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:2378: test/CMakeFiles/test-ordered_json.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/55 Test #1: download_test_data ................. Passed 0.08 sec + Start 2: test-algorithms + 2/55 Test #2: test-algorithms .................... Passed 0.00 sec + Start 3: test-allocator + 3/55 Test #3: test-allocator ..................... Passed 0.00 sec + Start 4: test-alt-string + 4/55 Test #4: test-alt-string .................... Passed 0.00 sec + Start 5: test-assert_macro + 5/55 Test #5: test-assert_macro .................. Passed 0.00 sec + Start 6: test-bson + 6/55 Test #6: test-bson .......................... Passed 0.01 sec + Start 7: test-capacity + 7/55 Test #7: test-capacity ...................... Passed 0.00 sec + Start 8: test-cbor + 8/55 Test #8: test-cbor ..........................***Failed 237.50 sec + Start 9: test-class_const_iterator + 9/55 Test #9: test-class_const_iterator .......... Passed 0.00 sec + Start 10: test-class_iterator +10/55 Test #10: test-class_iterator ................ Passed 0.00 sec + Start 11: test-class_lexer +11/55 Test #11: test-class_lexer ................... Passed 0.00 sec + Start 12: test-class_parser +12/55 Test #12: test-class_parser .................. Passed 0.09 sec + Start 13: test-comparison +13/55 Test #13: test-comparison .................... Passed 0.00 sec + Start 14: test-concepts +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +Unable to find executable: /home/json/build/test/test-concepts +14/55 Test #14: test-concepts ......................***Not Run 0.00 sec + Start 15: test-constructor1 +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +15/55 Test #15: test-constructor1 ..................***Not Run 0.00 sec + Start 16: test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor1 +16/55 Test #16: test-constructor2 .................. Passed 0.00 sec + Start 17: test-convenience +17/55 Test #17: test-convenience ................... Passed 0.00 sec + Start 18: test-conversions +18/55 Test #18: test-conversions ................... Passed 0.01 sec + Start 19: test-deserialization +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +19/55 Test #19: test-deserialization ...............***Not Run 0.00 sec + Start 20: test-element_access1 +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +20/55 Test #20: test-element_access1 ...............***Not Run 0.00 sec + Start 21: test-element_access2 +21/55 Test #21: test-element_access2 ...............***Failed 0.01 sec + Start 22: test-inspection +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +Unable to find executable: /home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +22/55 Test #22: test-inspection ....................***Not Run 0.00 sec + Start 23: test-items +23/55 Test #23: test-items ......................... Passed 0.00 sec + Start 24: test-iterators1 +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +24/55 Test #24: test-iterators1 ....................***Not Run 0.00 sec + Start 25: test-iterators2 +25/55 Test #25: test-iterators2 .................... Passed 0.02 sec + Start 26: test-json_patch +26/55 Test #26: test-json_patch .................... Passed 0.01 sec + Start 27: test-json_pointer +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +27/55 Test #27: test-json_pointer ..................***Not Run 0.00 sec + Start 28: test-large_json +Could not find executable /home/json/build/test/test-large_json +Looked in the following places: +/home/json/build/test/test-large_json +/home/json/build/test/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Development/test-large_json +/home/json/build/test/Development/test-large_json +home/json/build/test/test-large_json +home/json/build/test/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Development/test-large_json +home/json/build/test/Development/test-large_json +Unable to find executable: /home/json/build/test/test-large_json +28/55 Test #28: test-large_json ....................***Not Run 0.00 sec + Start 29: test-merge_patch +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +29/55 Test #29: test-merge_patch ...................***Not Run 0.00 sec + Start 30: test-meta +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +Unable to find executable: /home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +30/55 Test #30: test-meta ..........................***Not Run 0.00 sec + Start 31: test-modifiers +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +Unable to find executable: /home/json/build/test/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +31/55 Test #31: test-modifiers .....................***Not Run 0.00 sec + Start 32: test-msgpack +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +32/55 Test #32: test-msgpack .......................***Not Run 0.00 sec + Start 33: test-noexcept +33/55 Test #33: test-noexcept ...................... Passed 0.00 sec + Start 34: test-ordered_json +Could not find executable /home/json/build/test/test-ordered_json +Looked in the following places: +/home/json/build/test/test-ordered_json +/home/json/build/test/test-ordered_json +/home/json/build/test/Release/test-ordered_json +/home/json/build/test/Release/test-ordered_json +/home/json/build/test/Debug/test-ordered_json +/home/json/build/test/Debug/test-ordered_json +/home/json/build/test/MinSizeRel/test-ordered_json +/home/json/build/test/MinSizeRel/test-ordered_json +/home/json/build/test/RelWithDebInfo/test-ordered_json +/home/json/build/test/RelWithDebInfo/test-ordered_json +/home/json/build/test/Deployment/test-ordered_json +/home/json/build/test/Deployment/test-ordered_json +/home/json/build/test/Development/test-ordered_json +/home/json/build/test/Development/test-ordered_json +home/json/build/test/test-ordered_json +home/json/build/test/test-ordered_json +home/json/build/test/Release/test-ordered_json +home/json/build/test/Release/test-ordered_json +home/json/build/test/Debug/test-ordered_json +home/json/build/test/Debug/test-ordered_json +home/json/build/test/MinSizeRel/test-ordered_json +home/json/build/test/MinSizeRel/test-ordered_json +home/json/build/test/RelWithDebInfo/test-ordered_json +home/json/build/test/RelWithDebInfo/test-ordered_json +home/json/build/test/Deployment/test-ordered_json +home/json/build/test/Deployment/test-ordered_json +home/json/build/test/Development/test-ordered_json +home/json/build/test/Development/test-ordered_json +Unable to find executable: /home/json/build/test/test-ordered_json +34/55 Test #34: test-ordered_json ..................***Not Run 0.00 sec + Start 35: test-pointer_access +35/55 Test #35: test-pointer_access ................ Passed 0.00 sec + Start 36: test-readme +36/55 Test #36: test-readme ........................ Passed 0.00 sec + Start 37: test-reference_access +37/55 Test #37: test-reference_access .............. Passed 0.00 sec + Start 38: test-regression +38/55 Test #38: test-regression ....................***Failed 6.68 sec + Start 39: test-serialization +39/55 Test #39: test-serialization ................. Passed 0.00 sec + Start 40: test-testsuites +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +Unable to find executable: /home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +40/55 Test #40: test-testsuites ....................***Not Run 0.00 sec + Start 41: test-to_chars +41/55 Test #41: test-to_chars ...................... Passed 0.00 sec + Start 42: test-ubjson +42/55 Test #42: test-ubjson ........................***Failed 14.97 sec + Start 43: test-udt +43/55 Test #43: test-udt ...........................***Failed 0.00 sec + Start 44: test-udt_macro +44/55 Test #44: test-udt_macro .....................***Failed 0.00 sec + Start 45: test-unicode +45/55 Test #45: test-unicode ....................... Passed 243.52 sec + Start 46: test-user_defined_input +46/55 Test #46: test-user_defined_input ............ Passed 0.00 sec + Start 47: test-wstring +47/55 Test #47: test-wstring ....................... Passed 0.00 sec + Start 48: cmake_import_configure +48/55 Test #48: cmake_import_configure ............. Passed 0.63 sec + Start 49: cmake_import_build +49/55 Test #49: cmake_import_build ................. Passed 2.00 sec + Start 50: cmake_import_minver_configure +50/55 Test #50: cmake_import_minver_configure ...... Passed 0.62 sec + Start 51: cmake_import_minver_build +51/55 Test #51: cmake_import_minver_build .......... Passed 0.98 sec + Start 52: cmake_add_subdirectory_configure +52/55 Test #52: cmake_add_subdirectory_configure ... Passed 0.66 sec + Start 53: cmake_add_subdirectory_build +53/55 Test #53: cmake_add_subdirectory_build ....... Passed 1.98 sec + Start 54: cmake_fetch_content_configure +54/55 Test #54: cmake_fetch_content_configure ...... Passed 1.50 sec + Start 55: cmake_fetch_content_build +55/55 Test #55: cmake_fetch_content_build .......... Passed 1.96 sec + +64% tests passed, 20 tests failed out of 55 + +Label Time Summary: +all = 502.89 sec*proc (46 tests) +git_required = 3.46 sec*proc (2 tests) + +Total Test time (real) = 513.31 sec + +The following tests FAILED: + 8 - test-cbor (Failed) + 14 - test-concepts (Not Run) + 15 - test-constructor1 (Not Run) + 19 - test-deserialization (Not Run) + 20 - test-element_access1 (Not Run) + 21 - test-element_access2 (Failed) + 22 - test-inspection (Not Run) + 24 - test-iterators1 (Not Run) + 27 - test-json_pointer (Not Run) + 28 - test-large_json (Not Run) + 29 - test-merge_patch (Not Run) + 30 - test-meta (Not Run) + 31 - test-modifiers (Not Run) + 32 - test-msgpack (Not Run) + 34 - test-ordered_json (Not Run) + 38 - test-regression (Failed) +Errors while running CTest + 40 - test-testsuites (Not Run) + 42 - test-ubjson (Failed) + 43 - test-udt (Failed) + 44 - test-udt_macro (Failed) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2258/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2258/fix.patch new file mode 100644 index 000000000..4c333fb65 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2258/fix.patch @@ -0,0 +1,1099 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 7760f28b..9c0e5a48 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -83,8 +83,8 @@ namespace nlohmann + /*! + @brief a class to store JSON values + +-@tparam ObjectType type for JSON objects (`std::map` by default; will be used +-in @ref object_t) ++@tparam ObjectType type for JSON objects (`nlohmann::ordered_map` by default; ++will be used in @ref object_t) + @tparam ArrayType type for JSON arrays (`std::vector` by default; will be used + in @ref array_t) + @tparam StringType type for JSON strings and object keys (`std::string` by +@@ -403,8 +403,6 @@ class basic_json + /// @{ + + #if defined(JSON_HAS_CPP_14) +- // Use transparent comparator if possible, combined with perfect forwarding +- // on find() and count() calls prevents unnecessary string construction. + using object_comparator_t = std::less<>; + #else + using object_comparator_t = std::less; +@@ -422,7 +420,7 @@ class basic_json + described below. + + @tparam ObjectType the container to store objects (e.g., `std::map` or +- `std::unordered_map`) ++ `nlohmann::ordered_map`) + @tparam StringType the type of the keys or names (e.g., `std::string`). + The comparison function `std::less` is used to order elements + inside the container. +@@ -431,15 +429,14 @@ class basic_json + + #### Default type + +- With the default values for @a ObjectType (`std::map`), @a StringType +- (`std::string`), and @a AllocatorType (`std::allocator`), the default +- value for @a object_t is: ++ With the default values for @a ObjectType (`nlohmann::ordered_map`), ++ @a StringType (`std::string`), and @a AllocatorType (`std::allocator`), ++ the default value for @a object_t is: + + @code {.cpp} +- std::map< ++ nlohmann::ordered_map< + std::string, // key_type + basic_json, // value_type +- std::less, // key_compare + std::allocator> // allocator_type + > + @endcode +@@ -452,14 +449,14 @@ class basic_json + - When all names are unique, objects will be interoperable in the sense + that all software implementations receiving that object will agree on + the name-value mappings. +- - When the names within an object are not unique, it is unspecified which +- one of the values for a given key will be chosen. For instance, +- `{"key": 2, "key": 1}` could be equal to either `{"key": 1}` or +- `{"key": 2}`. +- - Internally, name/value pairs are stored in lexicographical order of the +- names. Objects will also be serialized (see @ref dump) in this order. ++ - When the names within an object are not unique, the last value for a ++ given key will be kept. For instance, `{"key": 2, "key": 1}` will be ++ equal to `{"key": 1}`. ++ - Internally, name/value pairs are stored in the order of insertion. ++ Objects will also be serialized (see @ref dump) in this order. + For instance, `{"b": 1, "a": 2}` and `{"a": 2, "b": 1}` will be stored +- and serialized as `{"a": 2, "b": 1}`. ++ and serialized as `{"b": 1, "a": 2}` and `{"a": 2, "b": 1}` ++ respectively. + - When comparing objects, the order of the name/value pairs is irrelevant. + This makes objects interoperable in the sense that they will not be + affected by these differences. For instance, `{"b": 1, "a": 2}` and +@@ -485,13 +482,11 @@ class basic_json + + @since version 1.0.0 + +- @note The order name/value pairs are added to the object is *not* +- preserved by the library. Therefore, iterating an object may return +- name/value pairs in a different order than they were originally stored. In +- fact, keys will be traversed in alphabetical order as `std::map` with +- `std::less` is used by default. Please note this behavior conforms to [RFC +- 7159](http://rfc7159.net/rfc7159), because any order implements the +- specified "unordered" nature of JSON objects. ++ @note The order name/value pairs are added to the object is preserved by ++ the library. Therefore, iterating an object will return name/value pairs ++ in the order they were originally stored. Please note this behavior ++ conforms to [RFC 7159](http://rfc7159.net/rfc7159), because any order ++ implements the specified "unordered" nature of JSON objects. + */ + using object_t = ObjectType // int64_t, uint64_t +-#include // map + #include // allocator + #include // string + #include // vector + ++#include ++ + /*! + @brief namespace for Niels Lohmann + @see https://github.com/nlohmann +@@ -25,7 +26,7 @@ template + struct adl_serializer; + + template class ObjectType = +- std::map, ++ nlohmann::ordered_map, + template class ArrayType = std::vector, + class StringType = std::string, class BooleanType = bool, + class NumberIntegerType = std::int64_t, +diff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp +new file mode 100644 +index 00000000..a91693df +--- /dev/null ++++ b/include/nlohmann/ordered_map.hpp +@@ -0,0 +1,426 @@ ++#pragma once ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++namespace nlohmann ++{ ++ ++template, class Allocator = std::allocator>> ++class ordered_map ++{ ++ public: ++ using key_type = Key; ++ using mapped_type = T; ++ using value_type = std::pair; ++ using size_type = std::size_t; ++ using difference_type = std::ptrdiff_t; ++ using key_compare = Compare; ++ using allocator_type = Allocator; ++ using reference = value_type&; ++ using const_reference = const value_type&; ++ using pointer = typename std::allocator_traits::pointer; ++ using const_pointer = typename std::allocator_traits::const_pointer; ++ ++ private: ++ using container_type = std::vector, typename std::allocator_traits::template rebind_alloc>>; ++ ++ public: ++ using iterator = typename container_type::iterator; ++ using const_iterator = typename container_type::const_iterator; ++ using reverse_iterator = typename container_type::reverse_iterator; ++ using const_reverse_iterator = typename container_type::const_reverse_iterator; ++ ++ public: ++ ordered_map() = default; ++ ++ ordered_map(const ordered_map& other) = default; ++ ++ ordered_map(ordered_map&& other) noexcept = default; ++ ++ template::value_type>::value, int>::type> ++ ordered_map(InputIt first, InputIt last) ++ { ++ for (auto it = first; it != last; ++it) ++ { ++ emplace(it->first, it->second); ++ } ++ } ++ ++ ordered_map(std::initializer_list init) ++ { ++ for (auto& element : init) ++ { ++ emplace(element.first, element.second); ++ } ++ } ++ ++ ordered_map& operator=(const ordered_map& other) = default; ++ ++ ordered_map& operator=(ordered_map&& other) noexcept = default; ++ ++ T& at(const Key& key) ++ { ++ for (auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return element.second; ++ } ++ } ++ throw std::out_of_range("key not found"); ++ } ++ ++ const T& at(const Key& key) const ++ { ++ for (const auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return element.second; ++ } ++ } ++ throw std::out_of_range("key not found"); ++ } ++ ++ T& operator[](const Key& key) ++ { ++ for (auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return element.second; ++ } ++ } ++ m_data.emplace_back(key, T{}); ++ return m_data.back().second; ++ } ++ ++ T& operator[](Key&& key) ++ { ++ for (auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return element.second; ++ } ++ } ++ m_data.emplace_back(std::move(key), T{}); ++ return m_data.back().second; ++ } ++ ++ iterator begin() noexcept ++ { ++ return m_data.begin(); ++ } ++ ++ const_iterator begin() const noexcept ++ { ++ return m_data.begin(); ++ } ++ ++ const_iterator cbegin() const noexcept ++ { ++ return m_data.cbegin(); ++ } ++ ++ iterator end() noexcept ++ { ++ return m_data.end(); ++ } ++ ++ const_iterator end() const noexcept ++ { ++ return m_data.end(); ++ } ++ ++ const_iterator cend() const noexcept ++ { ++ return m_data.cend(); ++ } ++ ++ reverse_iterator rbegin() noexcept ++ { ++ return m_data.rbegin(); ++ } ++ ++ const_reverse_iterator rbegin() const noexcept ++ { ++ return m_data.rbegin(); ++ } ++ ++ reverse_iterator rend() noexcept ++ { ++ return m_data.rend(); ++ } ++ ++ const_reverse_iterator rend() const noexcept ++ { ++ return m_data.rend(); ++ } ++ ++ const_reverse_iterator crbegin() const noexcept ++ { ++ return m_data.crbegin(); ++ } ++ ++ const_reverse_iterator crend() const noexcept ++ { ++ return m_data.crend(); ++ } ++ ++ bool empty() const noexcept ++ { ++ return m_data.empty(); ++ } ++ ++ size_type size() const noexcept ++ { ++ return m_data.size(); ++ } ++ ++ size_type max_size() const noexcept ++ { ++ return m_data.max_size(); ++ } ++ ++ void clear() noexcept ++ { ++ m_data.clear(); ++ } ++ ++ std::pair insert(const value_type& value) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == value.first) ++ { ++ return {it, false}; ++ } ++ } ++ m_data.emplace_back(value.first, value.second); ++ return {--end(), true}; ++ } ++ ++ template::value, int>::type = 0> ++ std::pair insert(P&& value) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == value.first) ++ { ++ return {it, false}; ++ } ++ } ++ m_data.emplace_back(std::forward

(value)); ++ return {--end(), true}; ++ } ++ ++ iterator insert(const_iterator hint, const value_type& value) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == value.first) ++ { ++ return it; ++ } ++ } ++ return m_data.insert(hint, std::make_pair(value.first, value.second)); ++ } ++ ++ iterator insert(const_iterator hint, value_type&& value) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == value.first) ++ { ++ return it; ++ } ++ } ++ return m_data.insert(hint, std::make_pair(std::move(value.first), std::move(value.second))); ++ } ++ ++ template ++ void insert(InputIt first, InputIt last) ++ { ++ for (auto it = first; it != last; ++it) ++ { ++ insert(*it); ++ } ++ } ++ ++ void insert(std::initializer_list ilist) ++ { ++ insert(ilist.begin(), ilist.end()); ++ } ++ ++ template ++ std::pair emplace(Args&& ... args) ++ { ++ // construct a temporary pair to extract key and value ++ auto val = std::make_pair(std::forward(args)...); ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == val.first) ++ { ++ return {it, false}; ++ } ++ } ++ m_data.push_back(std::move(val)); ++ return {--end(), true}; ++ } ++ ++ template ++ iterator emplace_hint(const_iterator hint, Args&& ... args) ++ { ++ auto val = std::make_pair(std::forward(args)...); ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == val.first) ++ { ++ return it; ++ } ++ } ++ return m_data.insert(hint, std::move(val)); ++ } ++ ++ iterator erase(const_iterator pos) ++ { ++ return m_data.erase(pos); ++ } ++ ++ iterator erase(const_iterator first, const_iterator last) ++ { ++ return m_data.erase(first, last); ++ } ++ ++ size_type erase(const key_type& key) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == key) ++ { ++ m_data.erase(it); ++ return 1; ++ } ++ } ++ return 0; ++ } ++ ++ void swap(ordered_map& other) noexcept ++ { ++ std::swap(m_data, other.m_data); ++ } ++ ++ size_type count(const Key& key) const ++ { ++ for (const auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return 1; ++ } ++ } ++ return 0; ++ } ++ ++ iterator find(const Key& key) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == key) ++ { ++ return it; ++ } ++ } ++ return end(); ++ } ++ ++ const_iterator find(const Key& key) const ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == key) ++ { ++ return it; ++ } ++ } ++ return end(); ++ } ++ ++ std::pair equal_range(const Key& key) ++ { ++ auto it = find(key); ++ if (it != end()) ++ { ++ return {it, std::next(it)}; ++ } ++ return {end(), end()}; ++ } ++ ++ std::pair equal_range(const Key& key) const ++ { ++ auto it = find(key); ++ if (it != end()) ++ { ++ return {it, std::next(it)}; ++ } ++ return {end(), end()}; ++ } ++ ++ friend bool operator==(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ if (lhs.size() != rhs.size()) ++ { ++ return false; ++ } ++ for (const auto& element : lhs) ++ { ++ auto it = rhs.find(element.first); ++ if (it == rhs.end() || it->second != element.second) ++ { ++ return false; ++ } ++ } ++ return true; ++ } ++ ++ friend bool operator!=(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return !(lhs == rhs); ++ } ++ ++ friend bool operator<(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end()); ++ } ++ ++ friend bool operator<=(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return !(rhs < lhs); ++ } ++ ++ friend bool operator>(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return rhs < lhs; ++ } ++ ++ friend bool operator>=(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return !(lhs < rhs); ++ } ++ ++ private: ++ container_type m_data; ++}; ++ ++} // namespace nlohmann +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index d6c420d1..01d1b7f2 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -2759,12 +2759,441 @@ using is_detected_convertible = + } // namespace detail + } // namespace nlohmann + ++// #include ++#ifndef NLOHMANN_ORDERED_MAP_HPP ++#define NLOHMANN_ORDERED_MAP_HPP ++ ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++#include ++ ++namespace nlohmann ++{ ++ ++template, class Allocator = std::allocator>> ++class ordered_map ++{ ++ public: ++ using key_type = Key; ++ using mapped_type = T; ++ using value_type = std::pair; ++ using size_type = std::size_t; ++ using difference_type = std::ptrdiff_t; ++ using key_compare = Compare; ++ using allocator_type = Allocator; ++ using reference = value_type&; ++ using const_reference = const value_type&; ++ using pointer = typename std::allocator_traits::pointer; ++ using const_pointer = typename std::allocator_traits::const_pointer; ++ ++ private: ++ using container_type = std::vector, typename std::allocator_traits::template rebind_alloc>>; ++ ++ public: ++ using iterator = typename container_type::iterator; ++ using const_iterator = typename container_type::const_iterator; ++ using reverse_iterator = typename container_type::reverse_iterator; ++ using const_reverse_iterator = typename container_type::const_reverse_iterator; ++ ++ public: ++ ordered_map() = default; ++ ++ ordered_map(const ordered_map& other) = default; ++ ++ ordered_map(ordered_map&& other) noexcept = default; ++ ++ template::value_type>::value, int>::type> ++ ordered_map(InputIt first, InputIt last) ++ { ++ for (auto it = first; it != last; ++it) ++ { ++ emplace(it->first, it->second); ++ } ++ } ++ ++ ordered_map(std::initializer_list init) ++ { ++ for (auto& element : init) ++ { ++ emplace(element.first, element.second); ++ } ++ } ++ ++ ordered_map& operator=(const ordered_map& other) = default; ++ ++ ordered_map& operator=(ordered_map&& other) noexcept = default; ++ ++ T& at(const Key& key) ++ { ++ for (auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return element.second; ++ } ++ } ++ throw std::out_of_range("key not found"); ++ } ++ ++ const T& at(const Key& key) const ++ { ++ for (const auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return element.second; ++ } ++ } ++ throw std::out_of_range("key not found"); ++ } ++ ++ T& operator[](const Key& key) ++ { ++ for (auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return element.second; ++ } ++ } ++ m_data.emplace_back(key, T{}); ++ return m_data.back().second; ++ } ++ ++ T& operator[](Key&& key) ++ { ++ for (auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return element.second; ++ } ++ } ++ m_data.emplace_back(std::move(key), T{}); ++ return m_data.back().second; ++ } ++ ++ iterator begin() noexcept ++ { ++ return m_data.begin(); ++ } ++ ++ const_iterator begin() const noexcept ++ { ++ return m_data.begin(); ++ } ++ ++ const_iterator cbegin() const noexcept ++ { ++ return m_data.cbegin(); ++ } ++ ++ iterator end() noexcept ++ { ++ return m_data.end(); ++ } ++ ++ const_iterator end() const noexcept ++ { ++ return m_data.end(); ++ } ++ ++ const_iterator cend() const noexcept ++ { ++ return m_data.cend(); ++ } ++ ++ reverse_iterator rbegin() noexcept ++ { ++ return m_data.rbegin(); ++ } ++ ++ const_reverse_iterator rbegin() const noexcept ++ { ++ return m_data.rbegin(); ++ } ++ ++ reverse_iterator rend() noexcept ++ { ++ return m_data.rend(); ++ } ++ ++ const_reverse_iterator rend() const noexcept ++ { ++ return m_data.rend(); ++ } ++ ++ const_reverse_iterator crbegin() const noexcept ++ { ++ return m_data.crbegin(); ++ } ++ ++ const_reverse_iterator crend() const noexcept ++ { ++ return m_data.crend(); ++ } ++ ++ bool empty() const noexcept ++ { ++ return m_data.empty(); ++ } ++ ++ size_type size() const noexcept ++ { ++ return m_data.size(); ++ } ++ ++ size_type max_size() const noexcept ++ { ++ return m_data.max_size(); ++ } ++ ++ void clear() noexcept ++ { ++ m_data.clear(); ++ } ++ ++ std::pair insert(const value_type& value) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == value.first) ++ { ++ return {it, false}; ++ } ++ } ++ m_data.emplace_back(value.first, value.second); ++ return {--end(), true}; ++ } ++ ++ template::value, int>::type = 0> ++ std::pair insert(P&& value) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == value.first) ++ { ++ return {it, false}; ++ } ++ } ++ m_data.emplace_back(std::forward

(value)); ++ return {--end(), true}; ++ } ++ ++ iterator insert(const_iterator hint, const value_type& value) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == value.first) ++ { ++ return it; ++ } ++ } ++ return m_data.insert(hint, std::make_pair(value.first, value.second)); ++ } ++ ++ iterator insert(const_iterator hint, value_type&& value) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == value.first) ++ { ++ return it; ++ } ++ } ++ return m_data.insert(hint, std::make_pair(std::move(value.first), std::move(value.second))); ++ } ++ ++ template ++ void insert(InputIt first, InputIt last) ++ { ++ for (auto it = first; it != last; ++it) ++ { ++ insert(*it); ++ } ++ } ++ ++ void insert(std::initializer_list ilist) ++ { ++ insert(ilist.begin(), ilist.end()); ++ } ++ ++ template ++ std::pair emplace(Args&& ... args) ++ { ++ auto val = std::make_pair(std::forward(args)...); ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == val.first) ++ { ++ return {it, false}; ++ } ++ } ++ m_data.push_back(std::move(val)); ++ return {--end(), true}; ++ } ++ ++ template ++ iterator emplace_hint(const_iterator hint, Args&& ... args) ++ { ++ auto val = std::make_pair(std::forward(args)...); ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == val.first) ++ { ++ return it; ++ } ++ } ++ return m_data.insert(hint, std::move(val)); ++ } ++ ++ iterator erase(const_iterator pos) ++ { ++ return m_data.erase(pos); ++ } ++ ++ iterator erase(const_iterator first, const_iterator last) ++ { ++ return m_data.erase(first, last); ++ } ++ ++ size_type erase(const key_type& key) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == key) ++ { ++ m_data.erase(it); ++ return 1; ++ } ++ } ++ return 0; ++ } ++ ++ void swap(ordered_map& other) noexcept ++ { ++ std::swap(m_data, other.m_data); ++ } ++ ++ size_type count(const Key& key) const ++ { ++ for (const auto& element : m_data) ++ { ++ if (element.first == key) ++ { ++ return 1; ++ } ++ } ++ return 0; ++ } ++ ++ iterator find(const Key& key) ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == key) ++ { ++ return it; ++ } ++ } ++ return end(); ++ } ++ ++ const_iterator find(const Key& key) const ++ { ++ for (auto it = begin(); it != end(); ++it) ++ { ++ if (it->first == key) ++ { ++ return it; ++ } ++ } ++ return end(); ++ } ++ ++ std::pair equal_range(const Key& key) ++ { ++ auto it = find(key); ++ if (it != end()) ++ { ++ return {it, std::next(it)}; ++ } ++ return {end(), end()}; ++ } ++ ++ std::pair equal_range(const Key& key) const ++ { ++ auto it = find(key); ++ if (it != end()) ++ { ++ return {it, std::next(it)}; ++ } ++ return {end(), end()}; ++ } ++ ++ friend bool operator==(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ if (lhs.size() != rhs.size()) ++ { ++ return false; ++ } ++ for (const auto& element : lhs) ++ { ++ auto it = rhs.find(element.first); ++ if (it == rhs.end() || it->second != element.second) ++ { ++ return false; ++ } ++ } ++ return true; ++ } ++ ++ friend bool operator!=(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return !(lhs == rhs); ++ } ++ ++ friend bool operator<(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return std::lexicographical_compare(lhs.begin(), lhs.end(), rhs.begin(), rhs.end()); ++ } ++ ++ friend bool operator<=(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return !(rhs < lhs); ++ } ++ ++ friend bool operator>(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return rhs < lhs; ++ } ++ ++ friend bool operator>=(const ordered_map& lhs, const ordered_map& rhs) ++ { ++ return !(lhs < rhs); ++ } ++ ++ private: ++ container_type m_data; ++}; ++ ++} // namespace nlohmann ++ ++#endif // NLOHMANN_ORDERED_MAP_HPP ++ + // #include + #ifndef INCLUDE_NLOHMANN_JSON_FWD_HPP_ + #define INCLUDE_NLOHMANN_JSON_FWD_HPP_ + + #include // int64_t, uint64_t +-#include // map + #include // allocator + #include // string + #include // vector +@@ -2787,7 +3216,7 @@ template + struct adl_serializer; + + template class ObjectType = +- std::map, ++ nlohmann::ordered_map, + template class ArrayType = std::vector, + class StringType = std::string, class BooleanType = bool, + class NumberIntegerType = std::int64_t, +@@ -16012,8 +16441,8 @@ namespace nlohmann + /*! + @brief a class to store JSON values + +-@tparam ObjectType type for JSON objects (`std::map` by default; will be used +-in @ref object_t) ++@tparam ObjectType type for JSON objects (`nlohmann::ordered_map` by default; ++will be used in @ref object_t) + @tparam ArrayType type for JSON arrays (`std::vector` by default; will be used + in @ref array_t) + @tparam StringType type for JSON strings and object keys (`std::string` by +@@ -16332,8 +16761,6 @@ class basic_json + /// @{ + + #if defined(JSON_HAS_CPP_14) +- // Use transparent comparator if possible, combined with perfect forwarding +- // on find() and count() calls prevents unnecessary string construction. + using object_comparator_t = std::less<>; + #else + using object_comparator_t = std::less; +@@ -16351,7 +16778,7 @@ class basic_json + described below. + + @tparam ObjectType the container to store objects (e.g., `std::map` or +- `std::unordered_map`) ++ `nlohmann::ordered_map`) + @tparam StringType the type of the keys or names (e.g., `std::string`). + The comparison function `std::less` is used to order elements + inside the container. +@@ -16360,15 +16787,14 @@ class basic_json + + #### Default type + +- With the default values for @a ObjectType (`std::map`), @a StringType +- (`std::string`), and @a AllocatorType (`std::allocator`), the default +- value for @a object_t is: ++ With the default values for @a ObjectType (`nlohmann::ordered_map`), ++ @a StringType (`std::string`), and @a AllocatorType (`std::allocator`), ++ the default value for @a object_t is: + + @code {.cpp} +- std::map< ++ nlohmann::ordered_map< + std::string, // key_type + basic_json, // value_type +- std::less, // key_compare + std::allocator> // allocator_type + > + @endcode +@@ -16381,14 +16807,14 @@ class basic_json + - When all names are unique, objects will be interoperable in the sense + that all software implementations receiving that object will agree on + the name-value mappings. +- - When the names within an object are not unique, it is unspecified which +- one of the values for a given key will be chosen. For instance, +- `{"key": 2, "key": 1}` could be equal to either `{"key": 1}` or +- `{"key": 2}`. +- - Internally, name/value pairs are stored in lexicographical order of the +- names. Objects will also be serialized (see @ref dump) in this order. ++ - When the names within an object are not unique, the last value for a ++ given key will be kept. For instance, `{"key": 2, "key": 1}` will be ++ equal to `{"key": 1}`. ++ - Internally, name/value pairs are stored in the order of insertion. ++ Objects will also be serialized (see @ref dump) in this order. + For instance, `{"b": 1, "a": 2}` and `{"a": 2, "b": 1}` will be stored +- and serialized as `{"a": 2, "b": 1}`. ++ and serialized as `{"b": 1, "a": 2}` and `{"a": 2, "b": 1}` ++ respectively. + - When comparing objects, the order of the name/value pairs is irrelevant. + This makes objects interoperable in the sense that they will not be + affected by these differences. For instance, `{"b": 1, "a": 2}` and +@@ -16414,13 +16840,11 @@ class basic_json + + @since version 1.0.0 + +- @note The order name/value pairs are added to the object is *not* +- preserved by the library. Therefore, iterating an object may return +- name/value pairs in a different order than they were originally stored. In +- fact, keys will be traversed in alphabetical order as `std::map` with +- `std::less` is used by default. Please note this behavior conforms to [RFC +- 7159](http://rfc7159.net/rfc7159), because any order implements the +- specified "unordered" nature of JSON objects. ++ @note The order name/value pairs are added to the object is preserved by ++ the library. Therefore, iterating an object will return name/value pairs ++ in the order they were originally stored. Please note this behavior ++ conforms to [RFC 7159](http://rfc7159.net/rfc7159), because any order ++ implements the specified "unordered" nature of JSON objects. + */ + using object_t = ObjectType> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.9 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.HU8DJ7SJ +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.HU8DJ7SJ/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.HU8DJ7SJ/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.HU8DJ7SJ/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.HU8DJ7SJ/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.HU8DJ7SJ/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.HU8DJ7SJ +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=5ca67b9b6651 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.9L9dNH6TBU/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-cbor.cpp +patching file include/nlohmann/detail/input/binary_reader.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux 5ca67b9b6651 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 3%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 4%] Linking CXX executable test-user_defined_input +[ 4%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 6%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 7%] Linking CXX executable test-unicode +[ 7%] Built target test-unicode +Scanning dependencies of target test-udt_macro +[ 9%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 9%] Linking CXX executable test-udt_macro +[ 9%] Built target test-udt_macro +Scanning dependencies of target test-udt +[ 10%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 12%] Linking CXX executable test-udt +[ 12%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 13%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 13%] Linking CXX executable test-ubjson +[ 13%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 13%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 15%] Linking CXX executable test-to_chars +[ 15%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 15%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 16%] Linking CXX executable test-serialization +[ 16%] Built target test-serialization +Scanning dependencies of target test-regression +[ 18%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 19%] Linking CXX executable test-regression +[ 19%] Built target test-regression +Scanning dependencies of target test-reference_access +[ 21%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 21%] Linking CXX executable test-reference_access +[ 21%] Built target test-reference_access +Scanning dependencies of target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 24%] Linking CXX executable test-class_parser +[ 24%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 25%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 25%] Linking CXX executable test-comparison +[ 25%] Built target test-comparison +Scanning dependencies of target test-class_iterator +[ 25%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 27%] Linking CXX executable test-class_iterator +[ 27%] Built target test-class_iterator +Scanning dependencies of target test-convenience +[ 27%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 28%] Linking CXX executable test-convenience +[ 28%] Built target test-convenience +Scanning dependencies of target test-class_const_iterator +[ 30%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 31%] Linking CXX executable test-class_const_iterator +[ 31%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 33%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 34%] Linking CXX executable test-json_patch +[ 34%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 36%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 37%] Linking CXX executable test-noexcept +[ 37%] Built target test-noexcept +Scanning dependencies of target test-pointer_access +[ 39%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 39%] Linking CXX executable test-pointer_access +[ 39%] Built target test-pointer_access +Scanning dependencies of target test-iterators2 +[ 40%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 40%] Linking CXX executable test-iterators2 +[ 40%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 42%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 43%] Linking CXX executable test-capacity +[ 43%] Built target test-capacity +Scanning dependencies of target test-bson +[ 45%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 45%] Linking CXX executable test-bson +[ 45%] Built target test-bson +Scanning dependencies of target test-class_lexer +[ 46%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 46%] Linking CXX executable test-class_lexer +[ 46%] Built target test-class_lexer +Scanning dependencies of target test-readme +[ 48%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 50%] Linking CXX executable test-readme +[ 50%] Built target test-readme +Scanning dependencies of target test-cbor +[ 50%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +In file included from /home/json/test/thirdparty/doctest/doctest_compatibility.h:6:0, + from /home/json/test/src/unit-cbor.cpp:30: +/home/json/test/src/unit-cbor.cpp: In function 'void _DOCTEST_ANON_FUNC_268()': +/home/json/test/src/unit-cbor.cpp:2570:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2570:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2573:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + auto j_tagged = json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore); + ^~~~~~~~~~~~~~~~~~ +In file included from /home/json/test/thirdparty/doctest/doctest_compatibility.h:6:0, + from /home/json/test/src/unit-cbor.cpp:30: +/home/json/test/src/unit-cbor.cpp:2589:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2589:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2592:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + auto j_tagged = json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore); + ^~~~~~~~~~~~~~~~~~ +In file included from /home/json/test/thirdparty/doctest/doctest_compatibility.h:6:0, + from /home/json/test/src/unit-cbor.cpp:30: +/home/json/test/src/unit-cbor.cpp:2604:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2604:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2605:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2605:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2621:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2621:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2624:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + auto j_tagged = json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore); + ^~~~~~~~~~~~~~~~~~ +In file included from /home/json/test/thirdparty/doctest/doctest_compatibility.h:6:0, + from /home/json/test/src/unit-cbor.cpp:30: +/home/json/test/src/unit-cbor.cpp:2637:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2637:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2638:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2638:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2656:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2656:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2659:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + auto j_tagged = json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore); + ^~~~~~~~~~~~~~~~~~ +In file included from /home/json/test/thirdparty/doctest/doctest_compatibility.h:6:0, + from /home/json/test/src/unit-cbor.cpp:30: +/home/json/test/src/unit-cbor.cpp:2674:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2674:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2675:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2675:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2697:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2697:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2700:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + auto j_tagged = json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore); + ^~~~~~~~~~~~~~~~~~ +In file included from /home/json/test/thirdparty/doctest/doctest_compatibility.h:6:0, + from /home/json/test/src/unit-cbor.cpp:30: +/home/json/test/src/unit-cbor.cpp:2719:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2719:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::error), json::parse_error); + ^~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2720:73: error: 'nlohmann::json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::adl_serializer, std::vector > >::cbor_tag_handler_t' has not been declared + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore), json::parse_error); + ^ +/home/json/test/thirdparty/doctest/doctest.h:1742:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + static_cast(x); \ + ^ +/home/json/test/thirdparty/doctest/doctest.h:2061:44: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + #define DOCTEST_CHECK_THROWS_AS(expr, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_AS, "", __VA_ARGS__) + ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/thirdparty/doctest/doctest.h:2474:25: note: in expansion of macro 'DOCTEST_CHECK_THROWS_AS' + #define CHECK_THROWS_AS DOCTEST_CHECK_THROWS_AS + ^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/test/src/unit-cbor.cpp:2720:13: note: in expansion of macro 'CHECK_THROWS_AS' + CHECK_THROWS_AS(json::from_cbor(v_tagged, true, true, json::cbor_tag_handler_t::ignore), json::parse_error); + ^~~~~~~~~~~~~~~ +make[2]: *** [test/CMakeFiles/test-cbor.dir/build.make:63: test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:2045: test/CMakeFiles/test-cbor.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/55 Test #1: download_test_data ................. Passed 0.08 sec + Start 2: test-algorithms +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms + 2/55 Test #2: test-algorithms ....................***Not Run 0.00 sec + Start 3: test-allocator +Could not find executable /home/json/build/test/test-allocator +Unable to find executable: /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator + 3/55 Test #3: test-allocator .....................***Not Run 0.00 sec + Start 4: test-alt-string +Could not find executable /home/json/build/test/test-alt-string +Looked in the following places: +/home/json/build/test/test-alt-string +/home/json/build/test/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Development/test-alt-string +/home/json/build/test/Development/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Development/test-alt-string +Unable to find executable: /home/json/build/test/test-alt-string +home/json/build/test/Development/test-alt-string + 4/55 Test #4: test-alt-string ....................***Not Run 0.00 sec + Start 5: test-assert_macro +Could not find executable /home/json/build/test/test-assert_macro +Looked in the following places: +/home/json/build/test/test-assert_macro +/home/json/build/test/test-assert_macro +/home/json/build/test/Release/test-assert_macro +/home/json/build/test/Release/test-assert_macro +/home/json/build/test/Debug/test-assert_macro +/home/json/build/test/Debug/test-assert_macro +/home/json/build/test/MinSizeRel/test-assert_macro +/home/json/build/test/MinSizeRel/test-assert_macro +/home/json/build/test/RelWithDebInfo/test-assert_macro +/home/json/build/test/RelWithDebInfo/test-assert_macro +/home/json/build/test/Deployment/test-assert_macro +/home/json/build/test/Deployment/test-assert_macro +/home/json/build/test/Development/test-assert_macro +/home/json/build/test/Development/test-assert_macro +home/json/build/test/test-assert_macro +home/json/build/test/test-assert_macro +home/json/build/test/Release/test-assert_macro +home/json/build/test/Release/test-assert_macro +home/json/build/test/Debug/test-assert_macro +home/json/build/test/Debug/test-assert_macro +home/json/build/test/MinSizeRel/test-assert_macro +home/json/build/test/MinSizeRel/test-assert_macro +home/json/build/test/RelWithDebInfo/test-assert_macro +home/json/build/test/RelWithDebInfo/test-assert_macro +home/json/build/test/Deployment/test-assert_macro +home/json/build/test/Deployment/test-assert_macro +home/json/build/test/Development/test-assert_macro +home/json/build/test/Development/test-assert_macro +Unable to find executable: /home/json/build/test/test-assert_macro + 5/55 Test #5: test-assert_macro ..................***Not Run 0.00 sec + Start 6: test-bson + 6/55 Test #6: test-bson .......................... Passed 0.01 sec + Start 7: test-capacity + 7/55 Test #7: test-capacity ...................... Passed 0.00 sec + Start 8: test-cbor +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +Unable to find executable: /home/json/build/test/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor + 8/55 Test #8: test-cbor ..........................***Not Run 0.00 sec + Start 9: test-class_const_iterator + 9/55 Test #9: test-class_const_iterator .......... Passed 0.00 sec + Start 10: test-class_iterator +10/55 Test #10: test-class_iterator ................ Passed 0.00 sec + Start 11: test-class_lexer +11/55 Test #11: test-class_lexer ................... Passed 0.00 sec + Start 12: test-class_parser +12/55 Test #12: test-class_parser .................. Passed 0.09 sec + Start 13: test-comparison +13/55 Test #13: test-comparison .................... Passed 0.00 sec + Start 14: test-concepts +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Deployment/test-concepts +Unable to find executable: /home/json/build/test/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +14/55 Test #14: test-concepts ......................***Not Run 0.00 sec + Start 15: test-constructor1 +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +15/55 Test #15: test-constructor1 ..................***Not Run 0.00 sec + Start 16: test-constructor2 +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +16/55 Test #16: test-constructor2 ..................***Not Run 0.00 sec + Start 17: test-convenience +17/55 Test #17: test-convenience ................... Passed 0.00 sec + Start 18: test-conversions +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +18/55 Test #18: test-conversions ...................***Not Run 0.00 sec + Start 19: test-deserialization +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +19/55 Test #19: test-deserialization ...............***Not Run 0.00 sec + Start 20: test-element_access1 +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +20/55 Test #20: test-element_access1 ...............***Not Run 0.00 sec + Start 21: test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access1 +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +21/55 Test #21: test-element_access2 ...............***Not Run 0.00 sec + Start 22: test-inspection +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +22/55 Test #22: test-inspection ....................***Not Run 0.00 sec + Start 23: test-items +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +Unable to find executable: /home/json/build/test/test-items +23/55 Test #23: test-items .........................***Not Run 0.00 sec + Start 24: test-iterators1 +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +24/55 Test #24: test-iterators1 ....................***Not Run 0.00 sec + Start 25: test-iterators2 +25/55 Test #25: test-iterators2 .................... Passed 0.02 sec + Start 26: test-json_patch +26/55 Test #26: test-json_patch .................... Passed 0.01 sec + Start 27: test-json_pointer +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +27/55 Test #27: test-json_pointer ..................***Not Run 0.00 sec + Start 28: test-large_json +Could not find executable /home/json/build/test/test-large_json +Looked in the following places: +/home/json/build/test/test-large_json +/home/json/build/test/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Development/test-large_json +/home/json/build/test/Development/test-large_json +home/json/build/test/test-large_json +home/json/build/test/test-large_json +home/json/build/test/Release/test-large_json +Unable to find executable: /home/json/build/test/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Development/test-large_json +home/json/build/test/Development/test-large_json +28/55 Test #28: test-large_json ....................***Not Run 0.00 sec + Start 29: test-merge_patch +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +29/55 Test #29: test-merge_patch ...................***Not Run 0.00 sec + Start 30: test-meta +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +Unable to find executable: /home/json/build/test/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +30/55 Test #30: test-meta ..........................***Not Run 0.00 sec + Start 31: test-modifiers +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +Unable to find executable: /home/json/build/test/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +31/55 Test #31: test-modifiers .....................***Not Run 0.00 sec + Start 32: test-msgpack +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +32/55 Test #32: test-msgpack .......................***Not Run 0.00 sec + Start 33: test-noexcept +33/55 Test #33: test-noexcept ...................... Passed 0.00 sec + Start 34: test-ordered_json +Could not find executable /home/json/build/test/test-ordered_json +Looked in the following places: +/home/json/build/test/test-ordered_json +/home/json/build/test/test-ordered_json +/home/json/build/test/Release/test-ordered_json +/home/json/build/test/Release/test-ordered_json +/home/json/build/test/Debug/test-ordered_json +/home/json/build/test/Debug/test-ordered_json +/home/json/build/test/MinSizeRel/test-ordered_json +/home/json/build/test/MinSizeRel/test-ordered_json +/home/json/build/test/RelWithDebInfo/test-ordered_json +/home/json/build/test/RelWithDebInfo/test-ordered_json +/home/json/build/test/Deployment/test-ordered_json +/home/json/build/test/Deployment/test-ordered_json +/home/json/build/test/Development/test-ordered_json +/home/json/build/test/Development/test-ordered_json +home/json/build/test/test-ordered_json +home/json/build/test/test-ordered_json +home/json/build/test/Release/test-ordered_json +home/json/build/test/Release/test-ordered_json +home/json/build/test/Debug/test-ordered_json +home/json/build/test/Debug/test-ordered_json +home/json/build/test/MinSizeRel/test-ordered_json +home/json/build/test/MinSizeRel/test-ordered_json +home/json/build/test/RelWithDebInfo/test-ordered_json +home/json/build/test/RelWithDebInfo/test-ordered_json +home/json/build/test/Deployment/test-ordered_json +home/json/build/test/Deployment/test-ordered_json +home/json/build/test/Development/test-ordered_json +home/json/build/test/Development/test-ordered_json +34/55 Test #34: test-ordered_json ..................***Not Run 0.00 sec + Start 35: test-pointer_access +Unable to find executable: /home/json/build/test/test-ordered_json +35/55 Test #35: test-pointer_access ................ Passed 0.00 sec + Start 36: test-readme +36/55 Test #36: test-readme ........................ Passed 0.00 sec + Start 37: test-reference_access +37/55 Test #37: test-reference_access .............. Passed 0.00 sec + Start 38: test-regression +38/55 Test #38: test-regression .................... Passed 6.66 sec + Start 39: test-serialization +39/55 Test #39: test-serialization ................. Passed 0.00 sec + Start 40: test-testsuites +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +Unable to find executable: /home/json/build/test/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +40/55 Test #40: test-testsuites ....................***Not Run 0.00 sec + Start 41: test-to_chars +41/55 Test #41: test-to_chars ...................... Passed 0.00 sec + Start 42: test-ubjson +42/55 Test #42: test-ubjson ........................ Passed 14.88 sec + Start 43: test-udt +43/55 Test #43: test-udt ........................... Passed 0.00 sec + Start 44: test-udt_macro +44/55 Test #44: test-udt_macro ..................... Passed 0.00 sec + Start 45: test-unicode +45/55 Test #45: test-unicode ....................... Passed 246.35 sec + Start 46: test-user_defined_input +46/55 Test #46: test-user_defined_input ............ Passed 0.00 sec + Start 47: test-wstring +47/55 Test #47: test-wstring ....................... Passed 0.00 sec + Start 48: cmake_import_configure +48/55 Test #48: cmake_import_configure ............. Passed 0.62 sec + Start 49: cmake_import_build +49/55 Test #49: cmake_import_build ................. Passed 1.99 sec + Start 50: cmake_import_minver_configure +50/55 Test #50: cmake_import_minver_configure ...... Passed 0.63 sec + Start 51: cmake_import_minver_build +51/55 Test #51: cmake_import_minver_build .......... Passed 1.01 sec + Start 52: cmake_add_subdirectory_configure +52/55 Test #52: cmake_add_subdirectory_configure ... Passed 0.67 sec + Start 53: cmake_add_subdirectory_build +53/55 Test #53: cmake_add_subdirectory_build ....... Passed 2.00 sec + Start 54: cmake_fetch_content_configure +54/55 Test #54: cmake_fetch_content_configure ...... Passed 1.54 sec + Start 55: cmake_fetch_content_build +55/55 Test #55: cmake_fetch_content_build .......... Passed 2.00 sec + +58% tests passed, 23 tests failed out of 55 + +Label Time Summary: +all = 268.06 sec*proc (46 tests) +git_required = 3.54 sec*proc (2 tests) + +Total Test time (real) = 278.62 sec + +The following tests FAILED: + 2 - test-algorithms (Not Run) + 3 - test-allocator (Not Run) + 4 - test-alt-string (Not Run) + 5 - test-assert_macro (Not Run) + 8 - test-cbor (Not Run) + 14 - test-concepts (Not Run) + 15 - test-constructor1 (Not Run) + 16 - test-constructor2 (Not Run) + 18 - test-conversions (Not Run) + 19 - test-deserialization (Not Run) + 20 - test-element_access1 (Not Run) + 21 - test-element_access2 (Not Run) + 22 - test-inspection (Not Run) + 23 - test-items (Not Run) + 24 - test-iterators1 (Not Run) + 27 - test-json_pointer (Not Run) + 28 - test-large_json (Not Run) + 29 - test-merge_patch (Not Run) + 30 - test-meta (Not Run) + 31 - test-modifiers (Not Run) + 32 - test-msgpack (Not Run) + 34 - test-ordered_json (Not Run) + 40 - test-testsuites (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2273/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2273/fix.patch new file mode 100644 index 000000000..e2a093394 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2273/fix.patch @@ -0,0 +1,65 @@ +diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp +index d2f75cfd..6c9f0132 100644 +--- a/include/nlohmann/detail/input/binary_reader.hpp ++++ b/include/nlohmann/detail/input/binary_reader.hpp +@@ -678,6 +678,60 @@ class binary_reader + case 0xBF: // map (indefinite length) + return get_cbor_object(std::size_t(-1)); + ++ // tag 0x00..0x17 (0..23) ++ case 0xC0: ++ case 0xC1: ++ case 0xC2: ++ case 0xC3: ++ case 0xC4: ++ case 0xC5: ++ case 0xC6: ++ case 0xC7: ++ case 0xC8: ++ case 0xC9: ++ case 0xCA: ++ case 0xCB: ++ case 0xCC: ++ case 0xCD: ++ case 0xCE: ++ case 0xCF: ++ case 0xD0: ++ case 0xD1: ++ case 0xD2: ++ case 0xD3: ++ case 0xD4: ++ case 0xD5: ++ case 0xD6: ++ case 0xD7: ++ { ++ // skip tag number (0..23) ++ return parse_cbor_internal(); ++ } ++ ++ case 0xD8: // tag (one-byte uint8_t follows) ++ { ++ std::uint8_t tag{}; ++ return get_number(input_format_t::cbor, tag) && parse_cbor_internal(); ++ } ++ ++ case 0xD9: // tag (two-byte uint16_t follows) ++ { ++ std::uint16_t tag{}; ++ return get_number(input_format_t::cbor, tag) && parse_cbor_internal(); ++ } ++ ++ case 0xDA: // tag (four-byte uint32_t follows) ++ { ++ std::uint32_t tag{}; ++ return get_number(input_format_t::cbor, tag) && parse_cbor_internal(); ++ } ++ ++ case 0xDB: // tag (eight-byte uint64_t follows) ++ { ++ std::uint64_t tag{}; ++ return get_number(input_format_t::cbor, tag) && parse_cbor_internal(); ++ } ++ + case 0xF4: // false + return sax->boolean(false); + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2273/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2273/report.json new file mode 100644 index 000000000..242da081c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2273/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2273, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 55, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-element_access1", "test-allocator", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 32, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-serialization", "test-wstring", "test-readme", "test-capacity", "test-convenience", "test-class_lexer", "cmake_import_build", "test-unicode", "test-user_defined_input", "test-iterators2", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-comparison", "test-udt_macro", "cmake_import_configure", "test-class_iterator", "cmake_import_minver_configure", "test-reference_access", "test-json_patch", "test-class_const_iterator", "cmake_fetch_content_build", "cmake_import_minver_build", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/fix-patch-run.log new file mode 100644 index 000000000..2e8252e0c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/fix-patch-run.log @@ -0,0 +1,563 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5615 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.9 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 1s (7499 kB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.tCXjSG7Q +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.tCXjSG7Q/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.tCXjSG7Q/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.tCXjSG7Q/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.tCXjSG7Q/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.tCXjSG7Q/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.tCXjSG7Q +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=17f8381aa70b +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.q4LIWtA5N5/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-ubjson.cpp +patching file include/nlohmann/detail/input/binary_reader.hpp +patching file include/nlohmann/detail/output/binary_writer.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux 17f8381aa70b 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 3%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 4%] Linking CXX executable test-user_defined_input +[ 4%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 6%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 7%] Linking CXX executable test-unicode +[ 7%] Built target test-unicode +Scanning dependencies of target test-udt_macro +[ 9%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 9%] Linking CXX executable test-udt_macro +[ 9%] Built target test-udt_macro +Scanning dependencies of target test-udt +[ 9%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 10%] Linking CXX executable test-udt +[ 10%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 12%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 13%] Linking CXX executable test-ubjson +[ 13%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 13%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 15%] Linking CXX executable test-to_chars +[ 15%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 16%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 16%] Linking CXX executable test-serialization +[ 16%] Built target test-serialization +Scanning dependencies of target test-regression +[ 16%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 18%] Linking CXX executable test-regression +[ 18%] Built target test-regression +Scanning dependencies of target test-reference_access +[ 19%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 21%] Linking CXX executable test-reference_access +[ 21%] Built target test-reference_access +Scanning dependencies of target test-pointer_access +[ 22%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 24%] Linking CXX executable test-pointer_access +[ 24%] Built target test-pointer_access +Scanning dependencies of target test-class_parser +[ 25%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 27%] Linking CXX executable test-class_parser +[ 27%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 27%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 28%] Linking CXX executable test-comparison +[ 28%] Built target test-comparison +Scanning dependencies of target test-class_iterator +[ 30%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 31%] Linking CXX executable test-class_iterator +[ 31%] Built target test-class_iterator +Scanning dependencies of target test-convenience +[ 33%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 33%] Linking CXX executable test-convenience +[ 33%] Built target test-convenience +Scanning dependencies of target test-class_const_iterator +[ 34%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 34%] Linking CXX executable test-class_const_iterator +[ 34%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 36%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 36%] Linking CXX executable test-json_patch +[ 36%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 36%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 37%] Linking CXX executable test-noexcept +[ 37%] Built target test-noexcept +Scanning dependencies of target test-iterators2 +[ 37%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 39%] Linking CXX executable test-iterators2 +[ 39%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 40%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 42%] Linking CXX executable test-capacity +[ 42%] Built target test-capacity +Scanning dependencies of target test-bson +[ 42%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 43%] Linking CXX executable test-bson +[ 43%] Built target test-bson +Scanning dependencies of target test-class_lexer +[ 43%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 45%] Linking CXX executable test-class_lexer +[ 45%] Built target test-class_lexer +Scanning dependencies of target test-hash +[ 46%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 46%] Linking CXX executable test-hash +[ 46%] Built target test-hash +Scanning dependencies of target test-readme +[ 48%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 48%] Linking CXX executable test-readme +[ 48%] Built target test-readme +Scanning dependencies of target test-cbor +[ 48%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 50%] Linking CXX executable test-cbor +[ 50%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 51%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 53%] Linking CXX executable test-algorithms +[ 53%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 53%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 54%] Linking CXX executable test-element_access2 +[ 54%] Built target test-element_access2 +Scanning dependencies of target test-allocator +[ 54%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 56%] Linking CXX executable test-allocator +[ 56%] Built target test-allocator +Scanning dependencies of target test-items +[ 56%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 57%] Linking CXX executable test-items +[ 57%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 57%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 59%] Linking CXX executable test-constructor2 +[ 59%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 60%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 60%] Linking CXX executable test-alt-string +[ 60%] Built target test-alt-string +Scanning dependencies of target test-assert_macro +[ 62%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 63%] Linking CXX executable test-assert_macro +[ 63%] Built target test-assert_macro +Scanning dependencies of target test-conversions +[ 65%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 66%] Linking CXX executable test-conversions +[ 66%] Built target test-conversions +Scanning dependencies of target test-ordered_json +[ 68%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 68%] Linking CXX executable test-ordered_json +[ 68%] Built target test-ordered_json +Scanning dependencies of target test-constructor1 +[ 69%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 71%] Linking CXX executable test-constructor1 +[ 71%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 72%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 72%] Linking CXX executable test-deserialization +[ 72%] Built target test-deserialization +Scanning dependencies of target test-element_access1 +[ 74%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 75%] Linking CXX executable test-element_access1 +[ 75%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 75%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 77%] Linking CXX executable test-meta +[ 77%] Built target test-meta +Scanning dependencies of target test-inspection +[ 78%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 80%] Linking CXX executable test-inspection +[ 80%] Built target test-inspection +Scanning dependencies of target test-iterators1 +[ 81%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 83%] Linking CXX executable test-iterators1 +[ 83%] Built target test-iterators1 +Scanning dependencies of target test-json_pointer +[ 84%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 86%] Linking CXX executable test-json_pointer +[ 86%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 87%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 87%] Linking CXX executable test-modifiers +[ 87%] Built target test-modifiers +Scanning dependencies of target test-testsuites +[ 89%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 90%] Linking CXX executable test-testsuites +[ 90%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 92%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 92%] Linking CXX executable test-concepts +[ 92%] Built target test-concepts +Scanning dependencies of target test-large_json +[ 92%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 93%] Linking CXX executable test-large_json +[ 93%] Built target test-large_json +Scanning dependencies of target test-merge_patch +[ 95%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 96%] Linking CXX executable test-merge_patch +[ 96%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 98%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[100%] Linking CXX executable test-msgpack +[100%] Built target test-msgpack +Test project /home/json/build + Start 1: download_test_data + 1/58 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms + 2/58 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/58 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/58 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/58 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/58 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-capacity + 7/58 Test #7: test-capacity ................................ Passed 0.00 sec + Start 8: test-cbor + 8/58 Test #8: test-cbor .................................... Passed 42.58 sec + Start 9: test-class_const_iterator + 9/58 Test #9: test-class_const_iterator .................... Passed 0.00 sec + Start 10: test-class_iterator +10/58 Test #10: test-class_iterator .......................... Passed 0.00 sec + Start 11: test-class_lexer +11/58 Test #11: test-class_lexer ............................. Passed 0.00 sec + Start 12: test-class_parser +12/58 Test #12: test-class_parser ............................ Passed 0.09 sec + Start 13: test-comparison +13/58 Test #13: test-comparison .............................. Passed 0.00 sec + Start 14: test-concepts +14/58 Test #14: test-concepts ................................ Passed 0.00 sec + Start 15: test-constructor1 +15/58 Test #15: test-constructor1 ............................ Passed 0.01 sec + Start 16: test-constructor2 +16/58 Test #16: test-constructor2 ............................ Passed 0.00 sec + Start 17: test-convenience +17/58 Test #17: test-convenience ............................. Passed 0.00 sec + Start 18: test-conversions +18/58 Test #18: test-conversions ............................. Passed 0.01 sec + Start 19: test-deserialization +19/58 Test #19: test-deserialization ......................... Passed 0.01 sec + Start 20: test-element_access1 +20/58 Test #20: test-element_access1 ......................... Passed 0.01 sec + Start 21: test-element_access2 +21/58 Test #21: test-element_access2 ......................... Passed 0.01 sec + Start 22: test-hash +22/58 Test #22: test-hash .................................... Passed 0.00 sec + Start 23: test-inspection +23/58 Test #23: test-inspection .............................. Passed 5.40 sec + Start 24: test-items +24/58 Test #24: test-items ................................... Passed 0.00 sec + Start 25: test-iterators1 +25/58 Test #25: test-iterators1 .............................. Passed 0.01 sec + Start 26: test-iterators2 +26/58 Test #26: test-iterators2 .............................. Passed 0.02 sec + Start 27: test-json_patch +27/58 Test #27: test-json_patch .............................. Passed 0.01 sec + Start 28: test-json_pointer +28/58 Test #28: test-json_pointer ............................ Passed 0.00 sec + Start 29: test-large_json +29/58 Test #29: test-large_json .............................. Passed 5.29 sec + Start 30: test-merge_patch +30/58 Test #30: test-merge_patch ............................. Passed 0.00 sec + Start 31: test-meta +31/58 Test #31: test-meta .................................... Passed 0.00 sec + Start 32: test-modifiers +32/58 Test #32: test-modifiers ............................... Passed 0.01 sec + Start 33: test-msgpack +33/58 Test #33: test-msgpack ................................. Passed 41.78 sec + Start 34: test-noexcept +34/58 Test #34: test-noexcept ................................ Passed 0.00 sec + Start 35: test-ordered_json +35/58 Test #35: test-ordered_json ............................ Passed 0.00 sec + Start 36: test-pointer_access +36/58 Test #36: test-pointer_access .......................... Passed 0.00 sec + Start 37: test-readme +37/58 Test #37: test-readme .................................. Passed 0.00 sec + Start 38: test-reference_access +38/58 Test #38: test-reference_access ........................ Passed 0.00 sec + Start 39: test-regression +39/58 Test #39: test-regression .............................. Passed 6.51 sec + Start 40: test-serialization +40/58 Test #40: test-serialization ........................... Passed 0.00 sec + Start 41: test-testsuites +41/58 Test #41: test-testsuites .............................. Passed 0.07 sec + Start 42: test-to_chars +42/58 Test #42: test-to_chars ................................ Passed 0.00 sec + Start 43: test-ubjson +43/58 Test #43: test-ubjson ..................................***Failed 14.87 sec + Start 44: test-udt +44/58 Test #44: test-udt ..................................... Passed 0.00 sec + Start 45: test-udt_macro +45/58 Test #45: test-udt_macro ............................... Passed 0.00 sec + Start 46: test-unicode +46/58 Test #46: test-unicode ................................. Passed 241.71 sec + Start 47: test-user_defined_input +47/58 Test #47: test-user_defined_input ...................... Passed 0.00 sec + Start 48: test-wstring +48/58 Test #48: test-wstring ................................. Passed 0.00 sec + Start 49: cmake_import_configure +49/58 Test #49: cmake_import_configure ....................... Passed 0.64 sec + Start 50: cmake_import_build +50/58 Test #50: cmake_import_build ........................... Passed 1.98 sec + Start 51: cmake_import_minver_configure +51/58 Test #51: cmake_import_minver_configure ................ Passed 0.63 sec + Start 52: cmake_import_minver_build +52/58 Test #52: cmake_import_minver_build .................... Passed 1.02 sec + Start 53: cmake_add_subdirectory_configure +53/58 Test #53: cmake_add_subdirectory_configure ............. Passed 0.65 sec + Start 54: cmake_add_subdirectory_build +54/58 Test #54: cmake_add_subdirectory_build ................. Passed 1.97 sec + Start 55: cmake_fetch_content_configure +55/58 Test #55: cmake_fetch_content_configure ................ Passed 1.53 sec + Start 56: cmake_fetch_content_build +56/58 Test #56: cmake_fetch_content_build .................... Passed 1.98 sec + Start 57: cmake_target_include_directories_configure +57/58 Test #57: cmake_target_include_directories_configure ... Passed 0.64 sec + Start 58: cmake_target_include_directories_build +58/58 Test #58: cmake_target_include_directories_build ....... Passed 4.39 sec + +98% tests passed, 1 tests failed out of 58 + +Label Time Summary: +all = 358.47 sec*proc (47 tests) +git_required = 3.51 sec*proc (2 tests) + +Total Test time (real) = 374.00 sec + +The following tests FAILED: + 43 - test-ubjson (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/fix.patch new file mode 100644 index 000000000..f776cae0d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/fix.patch @@ -0,0 +1,232 @@ +diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp +index edd4c4f7..639a34f0 100644 +--- a/include/nlohmann/detail/input/binary_reader.hpp ++++ b/include/nlohmann/detail/input/binary_reader.hpp +@@ -2004,6 +2004,65 @@ class binary_reader + return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast(number), ""); + } + ++ case 'H': // high-precision number ++ { ++ string_t s; ++ return get_ubjson_string(s) && ++ [](string_t str, json_sax_t* sax_) ++ { ++ if (str.empty()) ++ { ++ return sax_->string(str); ++ } ++ ++ // try to parse as unsigned integer first ++ if (str[0] != '-') ++ { ++ try ++ { ++ std::size_t pos = 0; ++ const auto val = std::stoull(str, &pos); ++ if (pos == str.size() && ++ val <= static_cast((std::numeric_limits::max)())) ++ { ++ return sax_->number_unsigned(static_cast(val)); ++ } ++ } ++ catch (...) ++ { ++ // ignore ++ } ++ } ++ ++ // try to parse as signed integer ++ try ++ { ++ std::size_t pos = 0; ++ const auto val = std::stoll(str, &pos); ++ if (pos == str.size() && ++ val >= (std::numeric_limits::min)() && ++ val <= (std::numeric_limits::max)()) ++ { ++ return sax_->number_integer(static_cast(val)); ++ } ++ } ++ catch (...) ++ { ++ // ignore ++ } ++ ++ // fallback to float ++ try ++ { ++ return sax_->number_float(static_cast(std::stold(str)), str); ++ } ++ catch (...) ++ { ++ return sax_->string(str); ++ } ++ }(std::move(s), sax); ++ } ++ + case 'C': // char + { + get(); +diff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp +index 342cb478..54161738 100644 +--- a/include/nlohmann/detail/output/binary_writer.hpp ++++ b/include/nlohmann/detail/output/binary_writer.hpp +@@ -1319,7 +1319,13 @@ class binary_writer + } + else + { +- JSON_THROW(out_of_range::create(407, "integer number " + std::to_string(n) + " cannot be represented by UBJSON as it does not fit int64")); ++ if (add_prefix) ++ { ++ oa->write_character(to_char_type('H')); // high-precision number ++ } ++ const auto s = std::to_string(n); ++ write_number_with_ubjson_prefix(s.size(), true); ++ oa->write_characters(reinterpret_cast(s.c_str()), s.size()); + } + } + +@@ -1373,7 +1379,13 @@ class binary_writer + // LCOV_EXCL_START + else + { +- JSON_THROW(out_of_range::create(407, "integer number " + std::to_string(n) + " cannot be represented by UBJSON as it does not fit int64")); ++ if (add_prefix) ++ { ++ oa->write_character(to_char_type('H')); // high-precision number ++ } ++ const auto s = std::to_string(n); ++ write_number_with_ubjson_prefix(s.size(), true); ++ oa->write_characters(reinterpret_cast(s.c_str()), s.size()); + } + // LCOV_EXCL_STOP + } +@@ -1437,8 +1449,11 @@ class binary_writer + { + return 'l'; + } +- // no check and assume int64_t (see note above) +- return 'L'; ++ if (j.m_value.number_unsigned <= static_cast((std::numeric_limits::max)())) ++ { ++ return 'L'; ++ } ++ return 'H'; // high-precision number + } + + case value_t::number_float: +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 68198efb..6d81e7c4 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -8013,6 +8013,65 @@ class binary_reader + return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast(number), ""); + } + ++ case 'H': // high-precision number ++ { ++ string_t s; ++ return get_ubjson_string(s) && ++ [](string_t str, json_sax_t* sax_) ++ { ++ if (str.empty()) ++ { ++ return sax_->string(str); ++ } ++ ++ // try to parse as unsigned integer first ++ if (str[0] != '-') ++ { ++ try ++ { ++ std::size_t pos = 0; ++ const auto val = std::stoull(str, &pos); ++ if (pos == str.size() && ++ val <= static_cast((std::numeric_limits::max)())) ++ { ++ return sax_->number_unsigned(static_cast(val)); ++ } ++ } ++ catch (...) ++ { ++ // ignore ++ } ++ } ++ ++ // try to parse as signed integer ++ try ++ { ++ std::size_t pos = 0; ++ const auto val = std::stoll(str, &pos); ++ if (pos == str.size() && ++ val >= (std::numeric_limits::min)() && ++ val <= (std::numeric_limits::max)()) ++ { ++ return sax_->number_integer(static_cast(val)); ++ } ++ } ++ catch (...) ++ { ++ // ignore ++ } ++ ++ // fallback to float ++ try ++ { ++ return sax_->number_float(static_cast(std::stold(str)), str); ++ } ++ catch (...) ++ { ++ return sax_->string(str); ++ } ++ }(std::move(s), sax); ++ } ++ + case 'C': // char + { + get(); +@@ -13985,7 +14044,13 @@ class binary_writer + } + else + { +- JSON_THROW(out_of_range::create(407, "integer number " + std::to_string(n) + " cannot be represented by UBJSON as it does not fit int64")); ++ if (add_prefix) ++ { ++ oa->write_character(to_char_type('H')); // high-precision number ++ } ++ const auto s = std::to_string(n); ++ write_number_with_ubjson_prefix(s.size(), true); ++ oa->write_characters(reinterpret_cast(s.c_str()), s.size()); + } + } + +@@ -14039,7 +14104,13 @@ class binary_writer + // LCOV_EXCL_START + else + { +- JSON_THROW(out_of_range::create(407, "integer number " + std::to_string(n) + " cannot be represented by UBJSON as it does not fit int64")); ++ if (add_prefix) ++ { ++ oa->write_character(to_char_type('H')); // high-precision number ++ } ++ const auto s = std::to_string(n); ++ write_number_with_ubjson_prefix(s.size(), true); ++ oa->write_characters(reinterpret_cast(s.c_str()), s.size()); + } + // LCOV_EXCL_STOP + } +@@ -14103,8 +14174,11 @@ class binary_writer + { + return 'l'; + } +- // no check and assume int64_t (see note above) +- return 'L'; ++ if (j.m_value.number_unsigned <= static_cast((std::numeric_limits::max)())) ++ { ++ return 'L'; ++ } ++ return 'H'; // high-precision number + } + + case value_t::number_float: diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/report.json new file mode 100644 index 000000000..dfe8f5655 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2297/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2297, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (58, 0, 0)\n test = (57, 0, 0)\n fix = (57, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 58, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 57, "failed_count": 0, "skipped_count": 0, "passed_tests": ["cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 57, "failed_count": 0, "skipped_count": 0, "passed_tests": ["cmake_target_include_directories_build", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-user_defined_input", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/fix-patch-run.log new file mode 100644 index 000000000..ae458888b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/fix-patch-run.log @@ -0,0 +1,1743 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5592 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.4 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.4 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.UtoSbXRg +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.UtoSbXRg/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.UtoSbXRg/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.UtoSbXRg/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.UtoSbXRg/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.UtoSbXRg/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.UtoSbXRg +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d2df02d224ce +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.tIsHZEr4bh/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/CMakeLists.txt +patching file test/src/unit-ordered_map.cpp +patching file test/src/unit-regression1.cpp (renamed from test/src/unit-regression.cpp) +patching file test/src/unit-regression2.cpp +patching file include/nlohmann/ordered_map.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux d2df02d224ce 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 4%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 4%] Linking CXX executable test-user_defined_input +[ 4%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt_macro +[ 7%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 9%] Linking CXX executable test-udt_macro +[ 9%] Built target test-udt_macro +Scanning dependencies of target test-udt +[ 10%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 10%] Linking CXX executable test-udt +[ 10%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 10%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 12%] Linking CXX executable test-ubjson +[ 12%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 13%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 15%] Linking CXX executable test-to_chars +[ 15%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 15%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 16%] Linking CXX executable test-serialization +[ 16%] Built target test-serialization +Scanning dependencies of target test-regression2 +[ 18%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +In file included from /home/json/test/src/unit-regression2.cpp:37:0: +/home/json/single_include/nlohmann/json.hpp: In instantiation of 'IteratorType nlohmann::basic_json::erase(IteratorType) [with IteratorType = nlohmann::detail::iter_impl >; typename std::enable_if<(std::is_same > >::value || std::is_same > >::value), int>::type = 0; ObjectType = nlohmann::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector]': +/home/json/single_include/nlohmann/json.hpp:5625:21: required from 'bool nlohmann::detail::json_sax_dom_callback_parser::end_object() [with BasicJsonType = nlohmann::basic_json]' +/home/json/single_include/nlohmann/json.hpp:10310:33: required from 'bool nlohmann::detail::parser::sax_parse_internal(SAX*) [with SAX = nlohmann::detail::json_sax_dom_callback_parser >; BasicJsonType = nlohmann::basic_json; InputAdapterType = nlohmann::detail::iterator_input_adapter<__gnu_cxx::__normal_iterator > >]' +/home/json/single_include/nlohmann/json.hpp:10201:31: required from 'void nlohmann::detail::parser::parse(bool, BasicJsonType&) [with BasicJsonType = nlohmann::basic_json; InputAdapterType = nlohmann::detail::iterator_input_adapter<__gnu_cxx::__normal_iterator > >]' +/home/json/single_include/nlohmann/json.hpp:23055:9: required from 'static nlohmann::basic_json nlohmann::basic_json::parse(InputType&&, nlohmann::basic_json::parser_callback_t, bool, bool) [with InputType = std::__cxx11::basic_string; ObjectType = nlohmann::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector; nlohmann::basic_json::parser_callback_t = std::function&)>]' +/home/json/test/src/unit-regression2.cpp:467:83: required from here +/home/json/single_include/nlohmann/json.hpp:20475:45: error: no matching function for call to 'nlohmann::ordered_map, nlohmann::basic_json, std::less >, std::allocator, nlohmann::basic_json > > >::erase(std::vector, nlohmann::basic_json >, std::allocator, nlohmann::basic_json > > >::iterator&)' + result.m_it.object_iterator = m_value.object->erase(pos.m_it.object_iterator); +In file included from /home/json/test/src/unit-regression2.cpp:37:0: +/home/json/single_include/nlohmann/json.hpp:16454:15: note: candidate: typename nlohmann::ordered_map::Container::size_type nlohmann::ordered_map::erase(const Key&) [with Key = std::__cxx11::basic_string; T = nlohmann::basic_json; IgnoredLess = std::less >; Allocator = std::allocator, nlohmann::basic_json > >; typename nlohmann::ordered_map::Container::size_type = long unsigned int] + size_type erase(const Key& key) + ^~~~~ +/home/json/single_include/nlohmann/json.hpp:16454:15: note: no known conversion for argument 1 from 'std::vector, nlohmann::basic_json >, std::allocator, nlohmann::basic_json > > >::iterator {aka __gnu_cxx::__normal_iterator, nlohmann::basic_json >*, std::vector, nlohmann::basic_json >, std::allocator, nlohmann::basic_json > > > >}' to 'const std::__cxx11::basic_string&' +make[2]: *** [test/CMakeFiles/test-regression2.dir/build.make:63: test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:1430: test/CMakeFiles/test-regression2.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/60 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms + 2/60 Test #2: test-algorithms ..............................***Not Run 0.00 sec + Start 3: test-allocator +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +Unable to find executable: /home/json/build/test/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator + 3/60 Test #3: test-allocator ...............................***Not Run 0.00 sec + Start 4: test-alt-string +Could not find executable /home/json/build/test/test-alt-string +Looked in the following places: +/home/json/build/test/test-alt-string +/home/json/build/test/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Development/test-alt-string +/home/json/build/test/Development/test-alt-string +Unable to find executable: /home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Development/test-alt-string +home/json/build/test/Development/test-alt-string + 4/60 Test #4: test-alt-string ..............................***Not Run 0.00 sec + Start 5: test-assert_macro +Could not find executable /home/json/build/test/test-assert_macro +Looked in the following places: +/home/json/build/test/test-assert_macro +/home/json/build/test/test-assert_macro +/home/json/build/test/Release/test-assert_macro +/home/json/build/test/Release/test-assert_macro +/home/json/build/test/Debug/test-assert_macro +/home/json/build/test/Debug/test-assert_macro +/home/json/build/test/MinSizeRel/test-assert_macro +/home/json/build/test/MinSizeRel/test-assert_macro +/home/json/build/test/RelWithDebInfo/test-assert_macro +/home/json/build/test/RelWithDebInfo/test-assert_macro +/home/json/build/test/Deployment/test-assert_macro +/home/json/build/test/Deployment/test-assert_macro +/home/json/build/test/Development/test-assert_macro +/home/json/build/test/Development/test-assert_macro +home/json/build/test/test-assert_macro +home/json/build/test/test-assert_macro +home/json/build/test/Release/test-assert_macro +home/json/build/test/Release/test-assert_macro +home/json/build/test/Debug/test-assert_macro +home/json/build/test/Debug/test-assert_macro +home/json/build/test/MinSizeRel/test-assert_macro +home/json/build/test/MinSizeRel/test-assert_macro +home/json/build/test/RelWithDebInfo/test-assert_macro +home/json/build/test/RelWithDebInfo/test-assert_macro +home/json/build/test/Deployment/test-assert_macro +home/json/build/test/Deployment/test-assert_macro +home/json/build/test/Development/test-assert_macro +home/json/build/test/Development/test-assert_macro +Unable to find executable: /home/json/build/test/test-assert_macro + 5/60 Test #5: test-assert_macro ............................***Not Run 0.00 sec + Start 6: test-bson +Could not find executable /home/json/build/test/test-bson +Looked in the following places: +/home/json/build/test/test-bson +/home/json/build/test/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Development/test-bson +/home/json/build/test/Development/test-bson +Unable to find executable: /home/json/build/test/test-bson +home/json/build/test/test-bson +home/json/build/test/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Development/test-bson +home/json/build/test/Development/test-bson + 6/60 Test #6: test-bson ....................................***Not Run 0.00 sec + Start 7: test-capacity +Could not find executable /home/json/build/test/test-capacity +Looked in the following places: +/home/json/build/test/test-capacity +/home/json/build/test/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Development/test-capacity +/home/json/build/test/Development/test-capacity +home/json/build/test/test-capacity +home/json/build/test/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/MinSizeRel/test-capacity +Unable to find executable: /home/json/build/test/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Development/test-capacity +home/json/build/test/Development/test-capacity + 7/60 Test #7: test-capacity ................................***Not Run 0.00 sec + Start 8: test-cbor +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +Unable to find executable: /home/json/build/test/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor + 8/60 Test #8: test-cbor ....................................***Not Run 0.00 sec + Start 9: test-class_const_iterator +Could not find executable /home/json/build/test/test-class_const_iterator +Looked in the following places: +/home/json/build/test/test-class_const_iterator +/home/json/build/test/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-class_const_iterator + 9/60 Test #9: test-class_const_iterator ....................***Not Run 0.00 sec + Start 10: test-class_iterator +Could not find executable /home/json/build/test/test-class_iterator +Looked in the following places: +/home/json/build/test/test-class_iterator +/home/json/build/test/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Development/test-class_iterator +/home/json/build/test/Development/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +Unable to find executable: /home/json/build/test/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Development/test-class_iterator +home/json/build/test/Development/test-class_iterator +10/60 Test #10: test-class_iterator ..........................***Not Run 0.00 sec + Start 11: test-class_lexer +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +11/60 Test #11: test-class_lexer .............................***Not Run 0.00 sec + Start 12: test-class_parser +Could not find executable /home/json/build/test/test-class_parser +Looked in the following places: +/home/json/build/test/test-class_parser +/home/json/build/test/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Development/test-class_parser +/home/json/build/test/Development/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Development/test-class_parser +home/json/build/test/Development/test-class_parser +12/60 Test #12: test-class_parser ............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-class_parser + Start 13: test-comparison +Could not find executable /home/json/build/test/test-comparison +Looked in the following places: +/home/json/build/test/test-comparison +/home/json/build/test/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Development/test-comparison +/home/json/build/test/Development/test-comparison +home/json/build/test/test-comparison +home/json/build/test/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Development/test-comparison +home/json/build/test/Development/test-comparison +Unable to find executable: /home/json/build/test/test-comparison +13/60 Test #13: test-comparison ..............................***Not Run 0.00 sec + Start 14: test-concepts +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +Unable to find executable: /home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +14/60 Test #14: test-concepts ................................***Not Run 0.00 sec + Start 15: test-constructor1 +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +15/60 Test #15: test-constructor1 ............................***Not Run 0.00 sec + Start 16: test-constructor2 +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +16/60 Test #16: test-constructor2 ............................***Not Run 0.00 sec + Start 17: test-convenience +Could not find executable /home/json/build/test/test-convenience +Looked in the following places: +/home/json/build/test/test-convenience +/home/json/build/test/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Development/test-convenience +/home/json/build/test/Development/test-convenience +home/json/build/test/test-convenience +home/json/build/test/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Development/test-convenience +home/json/build/test/Development/test-convenience +Unable to find executable: /home/json/build/test/test-convenience +17/60 Test #17: test-convenience .............................***Not Run 0.00 sec + Start 18: test-conversions +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +18/60 Test #18: test-conversions .............................***Not Run 0.00 sec + Start 19: test-deserialization +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +19/60 Test #19: test-deserialization .........................***Not Run 0.00 sec + Start 20: test-element_access1 +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +20/60 Test #20: test-element_access1 .........................***Not Run 0.00 sec + Start 21: test-element_access2 +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +21/60 Test #21: test-element_access2 .........................***Not Run 0.00 sec + Start 22: test-hash +Could not find executable /home/json/build/test/test-hash +Looked in the following places: +/home/json/build/test/test-hash +/home/json/build/test/test-hash +/home/json/build/test/Release/test-hash +/home/json/build/test/Release/test-hash +/home/json/build/test/Debug/test-hash +/home/json/build/test/Debug/test-hash +/home/json/build/test/MinSizeRel/test-hash +/home/json/build/test/MinSizeRel/test-hash +/home/json/build/test/RelWithDebInfo/test-hash +/home/json/build/test/RelWithDebInfo/test-hash +/home/json/build/test/Deployment/test-hash +/home/json/build/test/Deployment/test-hash +/home/json/build/test/Development/test-hash +/home/json/build/test/Development/test-hash +home/json/build/test/test-hash +home/json/build/test/test-hash +home/json/build/test/Release/test-hash +home/json/build/test/Release/test-hash +home/json/build/test/Debug/test-hash +Unable to find executable: /home/json/build/test/test-hash +home/json/build/test/Debug/test-hash +home/json/build/test/MinSizeRel/test-hash +home/json/build/test/MinSizeRel/test-hash +home/json/build/test/RelWithDebInfo/test-hash +home/json/build/test/RelWithDebInfo/test-hash +home/json/build/test/Deployment/test-hash +home/json/build/test/Deployment/test-hash +home/json/build/test/Development/test-hash +home/json/build/test/Development/test-hash +22/60 Test #22: test-hash ....................................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-inspection + Start 23: test-inspection +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +23/60 Test #23: test-inspection ..............................***Not Run 0.00 sec + Start 24: test-items +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Deployment/test-items +Unable to find executable: /home/json/build/test/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +24/60 Test #24: test-items ...................................***Not Run 0.00 sec + Start 25: test-iterators1 +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +25/60 Test #25: test-iterators1 ..............................***Not Run 0.00 sec + Start 26: test-iterators2 +Could not find executable /home/json/build/test/test-iterators2 +Looked in the following places: +/home/json/build/test/test-iterators2 +/home/json/build/test/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Development/test-iterators2 +/home/json/build/test/Development/test-iterators2 +home/json/build/test/test-iterators2 +Unable to find executable: /home/json/build/test/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Development/test-iterators2 +home/json/build/test/Development/test-iterators2 +26/60 Test #26: test-iterators2 ..............................***Not Run 0.00 sec + Start 27: test-json_patch +Could not find executable /home/json/build/test/test-json_patch +Looked in the following places: +/home/json/build/test/test-json_patch +/home/json/build/test/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Development/test-json_patch +/home/json/build/test/Development/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Debug/test-json_patch +Unable to find executable: /home/json/build/test/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Development/test-json_patch +home/json/build/test/Development/test-json_patch +27/60 Test #27: test-json_patch ..............................***Not Run 0.00 sec + Start 28: test-json_pointer +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +28/60 Test #28: test-json_pointer ............................***Not Run 0.00 sec + Start 29: test-large_json +Could not find executable /home/json/build/test/test-large_json +Looked in the following places: +/home/json/build/test/test-large_json +/home/json/build/test/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Development/test-large_json +/home/json/build/test/Development/test-large_json +home/json/build/test/test-large_json +home/json/build/test/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/MinSizeRel/test-large_json +Unable to find executable: /home/json/build/test/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Development/test-large_json +home/json/build/test/Development/test-large_json +29/60 Test #29: test-large_json ..............................***Not Run 0.00 sec + Start 30: test-merge_patch +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +30/60 Test #30: test-merge_patch .............................***Not Run 0.00 sec + Start 31: test-meta +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +Unable to find executable: /home/json/build/test/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +31/60 Test #31: test-meta ....................................***Not Run 0.00 sec + Start 32: test-modifiers +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +Unable to find executable: /home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +32/60 Test #32: test-modifiers ...............................***Not Run 0.00 sec + Start 33: test-msgpack +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +33/60 Test #33: test-msgpack .................................***Not Run 0.00 sec + Start 34: test-noexcept +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Development/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +Unable to find executable: /home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +34/60 Test #34: test-noexcept ................................***Not Run 0.00 sec + Start 35: test-ordered_json +Could not find executable /home/json/build/test/test-ordered_json +Looked in the following places: +/home/json/build/test/test-ordered_json +/home/json/build/test/test-ordered_json +/home/json/build/test/Release/test-ordered_json +/home/json/build/test/Release/test-ordered_json +/home/json/build/test/Debug/test-ordered_json +/home/json/build/test/Debug/test-ordered_json +/home/json/build/test/MinSizeRel/test-ordered_json +/home/json/build/test/MinSizeRel/test-ordered_json +/home/json/build/test/RelWithDebInfo/test-ordered_json +/home/json/build/test/RelWithDebInfo/test-ordered_json +/home/json/build/test/Deployment/test-ordered_json +/home/json/build/test/Deployment/test-ordered_json +/home/json/build/test/Development/test-ordered_json +/home/json/build/test/Development/test-ordered_json +home/json/build/test/test-ordered_json +home/json/build/test/test-ordered_json +home/json/build/test/Release/test-ordered_json +home/json/build/test/Release/test-ordered_json +home/json/build/test/Debug/test-ordered_json +home/json/build/test/Debug/test-ordered_json +home/json/build/test/MinSizeRel/test-ordered_json +home/json/build/test/MinSizeRel/test-ordered_json +home/json/build/test/RelWithDebInfo/test-ordered_json +home/json/build/test/RelWithDebInfo/test-ordered_json +home/json/build/test/Deployment/test-ordered_json +home/json/build/test/Deployment/test-ordered_json +home/json/build/test/Development/test-ordered_json +home/json/build/test/Development/test-ordered_json +35/60 Test #35: test-ordered_json ............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-ordered_json + Start 36: test-ordered_map +Could not find executable /home/json/build/test/test-ordered_map +Looked in the following places: +/home/json/build/test/test-ordered_map +/home/json/build/test/test-ordered_map +/home/json/build/test/Release/test-ordered_map +/home/json/build/test/Release/test-ordered_map +/home/json/build/test/Debug/test-ordered_map +/home/json/build/test/Debug/test-ordered_map +/home/json/build/test/MinSizeRel/test-ordered_map +/home/json/build/test/MinSizeRel/test-ordered_map +/home/json/build/test/RelWithDebInfo/test-ordered_map +/home/json/build/test/RelWithDebInfo/test-ordered_map +/home/json/build/test/Deployment/test-ordered_map +/home/json/build/test/Deployment/test-ordered_map +/home/json/build/test/Development/test-ordered_map +/home/json/build/test/Development/test-ordered_map +home/json/build/test/test-ordered_map +home/json/build/test/test-ordered_map +home/json/build/test/Release/test-ordered_map +home/json/build/test/Release/test-ordered_map +home/json/build/test/Debug/test-ordered_map +home/json/build/test/Debug/test-ordered_map +home/json/build/test/MinSizeRel/test-ordered_map +home/json/build/test/MinSizeRel/test-ordered_map +home/json/build/test/RelWithDebInfo/test-ordered_map +home/json/build/test/RelWithDebInfo/test-ordered_map +home/json/build/test/Deployment/test-ordered_map +home/json/build/test/Deployment/test-ordered_map +home/json/build/test/Development/test-ordered_map +home/json/build/test/Development/test-ordered_map +Unable to find executable: /home/json/build/test/test-ordered_map +36/60 Test #36: test-ordered_map .............................***Not Run 0.00 sec + Start 37: test-pointer_access +Could not find executable /home/json/build/test/test-pointer_access +Looked in the following places: +/home/json/build/test/test-pointer_access +/home/json/build/test/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Development/test-pointer_access +/home/json/build/test/Development/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Development/test-pointer_access +home/json/build/test/Development/test-pointer_access +Unable to find executable: /home/json/build/test/test-pointer_access +37/60 Test #37: test-pointer_access ..........................***Not Run 0.00 sec + Start 38: test-readme +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +38/60 Test #38: test-readme ..................................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-readme + Start 39: test-reference_access +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +Unable to find executable: /home/json/build/test/test-reference_access +39/60 Test #39: test-reference_access ........................***Not Run 0.00 sec + Start 40: test-regression1 +Could not find executable /home/json/build/test/test-regression1 +Looked in the following places: +/home/json/build/test/test-regression1 +/home/json/build/test/test-regression1 +/home/json/build/test/Release/test-regression1 +/home/json/build/test/Release/test-regression1 +/home/json/build/test/Debug/test-regression1 +/home/json/build/test/Debug/test-regression1 +/home/json/build/test/MinSizeRel/test-regression1 +/home/json/build/test/MinSizeRel/test-regression1 +/home/json/build/test/RelWithDebInfo/test-regression1 +/home/json/build/test/RelWithDebInfo/test-regression1 +/home/json/build/test/Deployment/test-regression1 +/home/json/build/test/Deployment/test-regression1 +/home/json/build/test/Development/test-regression1 +/home/json/build/test/Development/test-regression1 +home/json/build/test/test-regression1 +home/json/build/test/test-regression1 +home/json/build/test/Release/test-regression1 +home/json/build/test/Release/test-regression1 +home/json/build/test/Debug/test-regression1 +home/json/build/test/Debug/test-regression1 +home/json/build/test/MinSizeRel/test-regression1 +home/json/build/test/MinSizeRel/test-regression1 +home/json/build/test/RelWithDebInfo/test-regression1 +home/json/build/test/RelWithDebInfo/test-regression1 +home/json/build/test/Deployment/test-regression1 +home/json/build/test/Deployment/test-regression1 +home/json/build/test/Development/test-regression1 +home/json/build/test/Development/test-regression1 +40/60 Test #40: test-regression1 .............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-regression1 + Start 41: test-regression2 +Could not find executable /home/json/build/test/test-regression2 +Looked in the following places: +/home/json/build/test/test-regression2 +/home/json/build/test/test-regression2 +/home/json/build/test/Release/test-regression2 +/home/json/build/test/Release/test-regression2 +/home/json/build/test/Debug/test-regression2 +Unable to find executable: /home/json/build/test/test-regression2 +/home/json/build/test/Debug/test-regression2 +/home/json/build/test/MinSizeRel/test-regression2 +/home/json/build/test/MinSizeRel/test-regression2 +/home/json/build/test/RelWithDebInfo/test-regression2 +/home/json/build/test/RelWithDebInfo/test-regression2 +/home/json/build/test/Deployment/test-regression2 +/home/json/build/test/Deployment/test-regression2 +/home/json/build/test/Development/test-regression2 +/home/json/build/test/Development/test-regression2 +home/json/build/test/test-regression2 +home/json/build/test/test-regression2 +home/json/build/test/Release/test-regression2 +home/json/build/test/Release/test-regression2 +home/json/build/test/Debug/test-regression2 +home/json/build/test/Debug/test-regression2 +home/json/build/test/MinSizeRel/test-regression2 +home/json/build/test/MinSizeRel/test-regression2 +home/json/build/test/RelWithDebInfo/test-regression2 +home/json/build/test/RelWithDebInfo/test-regression2 +home/json/build/test/Deployment/test-regression2 +home/json/build/test/Deployment/test-regression2 +home/json/build/test/Development/test-regression2 +home/json/build/test/Development/test-regression2 +41/60 Test #41: test-regression2 .............................***Not Run 0.00 sec + Start 42: test-serialization +42/60 Test #42: test-serialization ........................... Passed 0.00 sec + Start 43: test-testsuites +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +Unable to find executable: /home/json/build/test/test-testsuites +43/60 Test #43: test-testsuites ..............................***Not Run 0.00 sec + Start 44: test-to_chars +44/60 Test #44: test-to_chars ................................ Passed 0.00 sec + Start 45: test-ubjson +45/60 Test #45: test-ubjson .................................. Passed 14.78 sec + Start 46: test-udt +46/60 Test #46: test-udt ..................................... Passed 0.00 sec + Start 47: test-udt_macro +47/60 Test #47: test-udt_macro ............................... Passed 0.00 sec + Start 48: test-unicode +48/60 Test #48: test-unicode ................................. Passed 243.18 sec + Start 49: test-user_defined_input +49/60 Test #49: test-user_defined_input ...................... Passed 0.00 sec + Start 50: test-wstring +50/60 Test #50: test-wstring ................................. Passed 0.00 sec + Start 51: cmake_import_configure +51/60 Test #51: cmake_import_configure ....................... Passed 0.62 sec + Start 52: cmake_import_build +52/60 Test #52: cmake_import_build ........................... Passed 1.97 sec + Start 53: cmake_import_minver_configure +53/60 Test #53: cmake_import_minver_configure ................ Passed 0.61 sec + Start 54: cmake_import_minver_build +54/60 Test #54: cmake_import_minver_build .................... Passed 0.98 sec + Start 55: cmake_add_subdirectory_configure +55/60 Test #55: cmake_add_subdirectory_configure ............. Passed 0.69 sec + Start 56: cmake_add_subdirectory_build +56/60 Test #56: cmake_add_subdirectory_build ................. Passed 1.92 sec + Start 57: cmake_fetch_content_configure +57/60 Test #57: cmake_fetch_content_configure ................ Passed 1.50 sec + Start 58: cmake_fetch_content_build +58/60 Test #58: cmake_fetch_content_build .................... Passed 1.92 sec + Start 59: cmake_target_include_directories_configure +59/60 Test #59: cmake_target_include_directories_configure ... Passed 0.61 sec + Start 60: cmake_target_include_directories_build +60/60 Test #60: cmake_target_include_directories_build ....... Passed 4.19 sec + +32% tests passed, 41 tests failed out of 60 + +Label Time Summary: +all = 257.97 sec*proc (49 tests) +git_required = 3.42 sec*proc (2 tests) + +Total Test time (real) = 273.08 sec + +The following tests FAILED: + 2 - test-algorithms (Not Run) + 3 - test-allocator (Not Run) + 4 - test-alt-string (Not Run) + 5 - test-assert_macro (Not Run) + 6 - test-bson (Not Run) + 7 - test-capacity (Not Run) + 8 - test-cbor (Not Run) + 9 - test-class_const_iterator (Not Run) + 10 - test-class_iterator (Not Run) + 11 - test-class_lexer (Not Run) + 12 - test-class_parser (Not Run) + 13 - test-comparison (Not Run) + 14 - test-concepts (Not Run) + 15 - test-constructor1 (Not Run) + 16 - test-constructor2 (Not Run) + 17 - test-convenience (Not Run) + 18 - test-conversions (Not Run) + 19 - test-deserialization (Not Run) + 20 - test-element_access1 (Not Run) + 21 - test-element_access2 (Not Run) + 22 - test-hash (Not Run) + 23 - test-inspection (Not Run) + 24 - test-items (Not Run) + 25 - test-iterators1 (Not Run) + 26 - test-iterators2 (Not Run) + 27 - test-json_patch (Not Run) + 28 - test-json_pointer (Not Run) + 29 - test-large_json (Not Run) + 30 - test-merge_patch (Not Run) + 31 - test-meta (Not Run) + 32 - test-modifiers (Not Run) + 33 - test-msgpack (Not Run) + 34 - test-noexcept (Not Run) + 35 - test-ordered_json (Not Run) + 36 - test-ordered_map (Not Run) + 37 - test-pointer_access (Not Run) + 38 - test-readme (Not Run) + 39 - test-reference_access (Not Run) + 40 - test-regression1 (Not Run) + 41 - test-regression2 (Not Run) + 43 - test-testsuites (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/fix.patch new file mode 100644 index 000000000..984166b29 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/fix.patch @@ -0,0 +1,48 @@ +diff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp +index 2a72fefd..c87e7c61 100644 +--- a/include/nlohmann/ordered_map.hpp ++++ b/include/nlohmann/ordered_map.hpp +@@ -43,6 +43,19 @@ template , + return {--this->end(), true}; + } + ++ T& operator[](const Key& key) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (it->first == key) ++ { ++ return it->second; ++ } ++ } ++ Container::emplace_back(key, T{}); ++ return this->back().second; ++ } ++ + T& operator[](Key&& key) + { + return emplace(std::move(key), T{}).first->second; +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 6a0f47ab..ef3d25d3 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -16433,6 +16433,19 @@ template , + return {--this->end(), true}; + } + ++ T& operator[](const Key& key) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (it->first == key) ++ { ++ return it->second; ++ } ++ } ++ Container::emplace_back(key, T{}); ++ return this->back().second; ++ } ++ + T& operator[](Key&& key) + { + return emplace(std::move(key), T{}).first->second; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/report.json new file mode 100644 index 000000000..a9675de3d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2319/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2319, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 58, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-regression", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 19, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "cmake_target_include_directories_configure", "test-serialization", "test-wstring", "cmake_import_build", "test-unicode", "test-user_defined_input", "cmake_add_subdirectory_configure", "test-to_chars", "test-udt_macro", "cmake_import_configure", "cmake_import_minver_configure", "cmake_fetch_content_build", "cmake_import_minver_build", "cmake_fetch_content_configure", "test-udt", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/fix-patch-run.log new file mode 100644 index 000000000..e60f86c06 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/fix-patch-run.log @@ -0,0 +1,573 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 2s (5439 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.0 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 1s (12.9 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.37pUOSM0 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.37pUOSM0/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.37pUOSM0/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.37pUOSM0/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.37pUOSM0/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.37pUOSM0/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.37pUOSM0 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=5097826fae31 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.IYt2pqv1Td/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-class_lexer.cpp +patching file test/src/unit-regression2.cpp +patching file include/nlohmann/detail/input/lexer.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux 5097826fae31 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 4%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 4%] Linking CXX executable test-user_defined_input +[ 4%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt_macro +[ 7%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 9%] Linking CXX executable test-udt_macro +[ 9%] Built target test-udt_macro +Scanning dependencies of target test-udt +[ 10%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 10%] Linking CXX executable test-udt +[ 10%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 10%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 12%] Linking CXX executable test-ubjson +[ 12%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 13%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 15%] Linking CXX executable test-to_chars +[ 15%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 15%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 16%] Linking CXX executable test-serialization +[ 16%] Built target test-serialization +Scanning dependencies of target test-regression2 +[ 18%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 19%] Linking CXX executable test-regression2 +[ 19%] Built target test-regression2 +Scanning dependencies of target test-regression1 +[ 21%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 21%] Linking CXX executable test-regression1 +[ 21%] Built target test-regression1 +Scanning dependencies of target test-reference_access +[ 21%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 22%] Linking CXX executable test-reference_access +[ 22%] Built target test-reference_access +Scanning dependencies of target test-pointer_access +[ 24%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 24%] Linking CXX executable test-pointer_access +[ 24%] Built target test-pointer_access +Scanning dependencies of target test-class_parser +[ 24%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 25%] Linking CXX executable test-class_parser +[ 25%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 27%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 27%] Linking CXX executable test-comparison +[ 27%] Built target test-comparison +Scanning dependencies of target test-class_iterator +[ 28%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 28%] Linking CXX executable test-class_iterator +[ 28%] Built target test-class_iterator +Scanning dependencies of target test-convenience +[ 30%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 31%] Linking CXX executable test-convenience +[ 31%] Built target test-convenience +Scanning dependencies of target test-class_const_iterator +[ 31%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 33%] Linking CXX executable test-class_const_iterator +[ 33%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 33%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 34%] Linking CXX executable test-json_patch +[ 34%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 36%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 36%] Linking CXX executable test-noexcept +[ 36%] Built target test-noexcept +Scanning dependencies of target test-iterators2 +[ 37%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 39%] Linking CXX executable test-iterators2 +[ 39%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 40%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 40%] Linking CXX executable test-capacity +[ 40%] Built target test-capacity +Scanning dependencies of target test-bson +[ 40%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 42%] Linking CXX executable test-bson +[ 42%] Built target test-bson +Scanning dependencies of target test-class_lexer +[ 43%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 45%] Linking CXX executable test-class_lexer +[ 45%] Built target test-class_lexer +Scanning dependencies of target test-hash +[ 46%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 46%] Linking CXX executable test-hash +[ 46%] Built target test-hash +Scanning dependencies of target test-readme +[ 48%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 50%] Linking CXX executable test-readme +[ 50%] Built target test-readme +Scanning dependencies of target test-cbor +[ 51%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 53%] Linking CXX executable test-cbor +[ 53%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 54%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 56%] Linking CXX executable test-algorithms +[ 56%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 56%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 57%] Linking CXX executable test-element_access2 +[ 57%] Built target test-element_access2 +Scanning dependencies of target test-allocator +[ 57%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 59%] Linking CXX executable test-allocator +[ 59%] Built target test-allocator +Scanning dependencies of target test-items +[ 59%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 60%] Linking CXX executable test-items +[ 60%] Built target test-items +Scanning dependencies of target test-constructor2 +[ 62%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 62%] Linking CXX executable test-constructor2 +[ 62%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 63%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 63%] Linking CXX executable test-alt-string +[ 63%] Built target test-alt-string +Scanning dependencies of target test-assert_macro +[ 65%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 66%] Linking CXX executable test-assert_macro +[ 66%] Built target test-assert_macro +Scanning dependencies of target test-ordered_map +[ 66%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 68%] Linking CXX executable test-ordered_map +[ 68%] Built target test-ordered_map +Scanning dependencies of target test-conversions +[ 68%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 69%] Linking CXX executable test-conversions +[ 69%] Built target test-conversions +Scanning dependencies of target test-ordered_json +[ 71%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 72%] Linking CXX executable test-ordered_json +[ 72%] Built target test-ordered_json +Scanning dependencies of target test-constructor1 +[ 72%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 74%] Linking CXX executable test-constructor1 +[ 74%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 75%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 75%] Linking CXX executable test-deserialization +[ 75%] Built target test-deserialization +Scanning dependencies of target test-element_access1 +[ 77%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 78%] Linking CXX executable test-element_access1 +[ 78%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 80%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 80%] Linking CXX executable test-meta +[ 80%] Built target test-meta +Scanning dependencies of target test-inspection +[ 81%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 83%] Linking CXX executable test-inspection +[ 83%] Built target test-inspection +Scanning dependencies of target test-iterators1 +[ 84%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 84%] Linking CXX executable test-iterators1 +[ 84%] Built target test-iterators1 +Scanning dependencies of target test-json_pointer +[ 86%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 86%] Linking CXX executable test-json_pointer +[ 86%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 87%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 89%] Linking CXX executable test-modifiers +[ 89%] Built target test-modifiers +Scanning dependencies of target test-testsuites +[ 90%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 90%] Linking CXX executable test-testsuites +[ 90%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 92%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 93%] Linking CXX executable test-concepts +[ 93%] Built target test-concepts +Scanning dependencies of target test-large_json +[ 95%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 96%] Linking CXX executable test-large_json +[ 96%] Built target test-large_json +Scanning dependencies of target test-merge_patch +[ 96%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 98%] Linking CXX executable test-merge_patch +[ 98%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 98%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[100%] Linking CXX executable test-msgpack +[100%] Built target test-msgpack +Test project /home/json/build + Start 1: download_test_data + 1/60 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms + 2/60 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/60 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/60 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/60 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/60 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-capacity + 7/60 Test #7: test-capacity ................................ Passed 0.00 sec + Start 8: test-cbor + 8/60 Test #8: test-cbor .................................... Passed 42.56 sec + Start 9: test-class_const_iterator + 9/60 Test #9: test-class_const_iterator .................... Passed 0.00 sec + Start 10: test-class_iterator +10/60 Test #10: test-class_iterator .......................... Passed 0.00 sec + Start 11: test-class_lexer +11/60 Test #11: test-class_lexer ............................. Passed 0.00 sec + Start 12: test-class_parser +12/60 Test #12: test-class_parser ............................ Passed 0.09 sec + Start 13: test-comparison +13/60 Test #13: test-comparison .............................. Passed 0.00 sec + Start 14: test-concepts +14/60 Test #14: test-concepts ................................ Passed 0.00 sec + Start 15: test-constructor1 +15/60 Test #15: test-constructor1 ............................ Passed 0.01 sec + Start 16: test-constructor2 +16/60 Test #16: test-constructor2 ............................ Passed 0.00 sec + Start 17: test-convenience +17/60 Test #17: test-convenience ............................. Passed 0.00 sec + Start 18: test-conversions +18/60 Test #18: test-conversions ............................. Passed 0.01 sec + Start 19: test-deserialization +19/60 Test #19: test-deserialization ......................... Passed 0.01 sec + Start 20: test-element_access1 +20/60 Test #20: test-element_access1 ......................... Passed 0.01 sec + Start 21: test-element_access2 +21/60 Test #21: test-element_access2 ......................... Passed 0.01 sec + Start 22: test-hash +22/60 Test #22: test-hash .................................... Passed 0.00 sec + Start 23: test-inspection +23/60 Test #23: test-inspection .............................. Passed 5.34 sec + Start 24: test-items +24/60 Test #24: test-items ................................... Passed 0.00 sec + Start 25: test-iterators1 +25/60 Test #25: test-iterators1 .............................. Passed 0.01 sec + Start 26: test-iterators2 +26/60 Test #26: test-iterators2 .............................. Passed 0.02 sec + Start 27: test-json_patch +27/60 Test #27: test-json_patch .............................. Passed 0.01 sec + Start 28: test-json_pointer +28/60 Test #28: test-json_pointer ............................ Passed 0.00 sec + Start 29: test-large_json +29/60 Test #29: test-large_json .............................. Passed 5.40 sec + Start 30: test-merge_patch +30/60 Test #30: test-merge_patch ............................. Passed 0.00 sec + Start 31: test-meta +31/60 Test #31: test-meta .................................... Passed 0.00 sec + Start 32: test-modifiers +32/60 Test #32: test-modifiers ............................... Passed 0.01 sec + Start 33: test-msgpack +33/60 Test #33: test-msgpack ................................. Passed 41.87 sec + Start 34: test-noexcept +34/60 Test #34: test-noexcept ................................ Passed 0.00 sec + Start 35: test-ordered_json +35/60 Test #35: test-ordered_json ............................ Passed 0.00 sec + Start 36: test-ordered_map +36/60 Test #36: test-ordered_map ............................. Passed 0.00 sec + Start 37: test-pointer_access +37/60 Test #37: test-pointer_access .......................... Passed 0.00 sec + Start 38: test-readme +38/60 Test #38: test-readme .................................. Passed 0.00 sec + Start 39: test-reference_access +39/60 Test #39: test-reference_access ........................ Passed 0.00 sec + Start 40: test-regression1 +40/60 Test #40: test-regression1 ............................. Passed 6.59 sec + Start 41: test-regression2 +41/60 Test #41: test-regression2 ............................. Passed 0.00 sec + Start 42: test-serialization +42/60 Test #42: test-serialization ........................... Passed 0.00 sec + Start 43: test-testsuites +43/60 Test #43: test-testsuites .............................. Passed 0.07 sec + Start 44: test-to_chars +44/60 Test #44: test-to_chars ................................ Passed 0.00 sec + Start 45: test-ubjson +45/60 Test #45: test-ubjson .................................. Passed 14.80 sec + Start 46: test-udt +46/60 Test #46: test-udt ..................................... Passed 0.00 sec + Start 47: test-udt_macro +47/60 Test #47: test-udt_macro ............................... Passed 0.00 sec + Start 48: test-unicode +48/60 Test #48: test-unicode ................................. Passed 244.96 sec + Start 49: test-user_defined_input +49/60 Test #49: test-user_defined_input ...................... Passed 0.00 sec + Start 50: test-wstring +50/60 Test #50: test-wstring ................................. Passed 0.00 sec + Start 51: cmake_import_configure +51/60 Test #51: cmake_import_configure ....................... Passed 0.63 sec + Start 52: cmake_import_build +52/60 Test #52: cmake_import_build ........................... Passed 1.98 sec + Start 53: cmake_import_minver_configure +53/60 Test #53: cmake_import_minver_configure ................ Passed 0.63 sec + Start 54: cmake_import_minver_build +54/60 Test #54: cmake_import_minver_build .................... Passed 1.01 sec + Start 55: cmake_add_subdirectory_configure +55/60 Test #55: cmake_add_subdirectory_configure ............. Passed 0.66 sec + Start 56: cmake_add_subdirectory_build +56/60 Test #56: cmake_add_subdirectory_build ................. Passed 1.97 sec + Start 57: cmake_fetch_content_configure +57/60 Test #57: cmake_fetch_content_configure ................ Passed 1.55 sec + Start 58: cmake_fetch_content_build +58/60 Test #58: cmake_fetch_content_build .................... Passed 1.97 sec + Start 59: cmake_target_include_directories_configure +59/60 Test #59: cmake_target_include_directories_configure ... Passed 0.63 sec + Start 60: cmake_target_include_directories_build +60/60 Test #60: cmake_target_include_directories_build ....... Passed 4.32 sec + +100% tests passed, 0 tests failed out of 60 + +Label Time Summary: +all = 361.85 sec*proc (49 tests) +git_required = 3.51 sec*proc (2 tests) + +Total Test time (real) = 377.27 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/fix.patch new file mode 100644 index 000000000..0d74ed356 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/fix.patch @@ -0,0 +1,26 @@ +diff --git a/include/nlohmann/detail/input/lexer.hpp b/include/nlohmann/detail/input/lexer.hpp +index 60eb3526..b255b9d2 100644 +--- a/include/nlohmann/detail/input/lexer.hpp ++++ b/include/nlohmann/detail/input/lexer.hpp +@@ -1511,7 +1511,7 @@ scan_number_done: + skip_whitespace(); + + // ignore comments +- if (ignore_comments && current == '/') ++ while (ignore_comments && current == '/') + { + if (!scan_comment()) + { +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 9c66a845..723773de 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -7390,7 +7390,7 @@ scan_number_done: + skip_whitespace(); + + // ignore comments +- if (ignore_comments && current == '/') ++ while (ignore_comments && current == '/') + { + if (!scan_comment()) + { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/report.json new file mode 100644 index 000000000..0c3666ad3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2332/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2332, "valid": true, "error_msg": "", "fixed_tests": {"test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-ubjson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 60, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-regression2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 58, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 60, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-user_defined_input", "test-constructor2", "test-regression2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/fix-patch-run.log new file mode 100644 index 000000000..84132c47c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/fix-patch-run.log @@ -0,0 +1,1921 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5531 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (15.8 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.5 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.VTDCYjlt +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.VTDCYjlt/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.VTDCYjlt/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.VTDCYjlt/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.VTDCYjlt/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.VTDCYjlt/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.VTDCYjlt +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=8214a9606208 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.xtH0y7zdLc/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-allocator.cpp +patching file test/src/unit-class_const_iterator.cpp +patching file test/src/unit-class_iterator.cpp +patching file test/src/unit-class_lexer.cpp +patching file test/src/unit-class_parser.cpp +patching file test/src/unit-constructor1.cpp +patching file test/src/unit-convenience.cpp +patching file test/src/unit-conversions.cpp +patching file test/src/unit-iterators1.cpp +patching file test/src/unit-json_pointer.cpp +patching file test/src/unit-regression1.cpp +patching file test/src/unit-regression2.cpp +patching file test/src/unit-unicode.cpp +patching file include/nlohmann/detail/iterators/iter_impl.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux 8214a9606208 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 4%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 4%] Linking CXX executable test-user_defined_input +[ 4%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +/home/json/test/src/unit-unicode.cpp: In function 'void _DOCTEST_ANON_FUNC_42()': +/home/json/test/src/unit-unicode.cpp:1184:62: error: 'static std::__cxx11::string nlohmann::json_pointer::escape(std::__cxx11::string) [with BasicJsonType = nlohmann::basic_json<>; std::__cxx11::string = std::__cxx11::basic_string]' is private within this context + auto escaped = json::json_pointer::escape(ptr); + ^ +In file included from /home/json/test/src/unit-unicode.cpp:36:0: +/home/json/single_include/nlohmann/json.hpp:12366:24: note: declared private here + static std::string escape(std::string s) + ^~~~~~ +/home/json/test/src/unit-unicode.cpp:1185:53: error: 'static void nlohmann::json_pointer::unescape(std::__cxx11::string&) [with BasicJsonType = nlohmann::basic_json<>; std::__cxx11::string = std::__cxx11::basic_string]' is private within this context + json::json_pointer::unescape(escaped); + ^ +In file included from /home/json/test/src/unit-unicode.cpp:36:0: +/home/json/single_include/nlohmann/json.hpp:12374:17: note: declared private here + static void unescape(std::string& s) + ^~~~~~~~ +make[2]: *** [test/CMakeFiles/test-unicode.dir/build.make:63: test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:1208: test/CMakeFiles/test-unicode.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/60 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms + 2/60 Test #2: test-algorithms ..............................***Not Run 0.00 sec + Start 3: test-allocator +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +Unable to find executable: /home/json/build/test/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator + 3/60 Test #3: test-allocator ...............................***Not Run 0.00 sec + Start 4: test-alt-string +Could not find executable /home/json/build/test/test-alt-string +Looked in the following places: +/home/json/build/test/test-alt-string +/home/json/build/test/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Release/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/Debug/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/MinSizeRel/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/RelWithDebInfo/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Deployment/test-alt-string +/home/json/build/test/Development/test-alt-string +/home/json/build/test/Development/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Release/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/Debug/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/MinSizeRel/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +home/json/build/test/RelWithDebInfo/test-alt-string +Unable to find executable: /home/json/build/test/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Deployment/test-alt-string +home/json/build/test/Development/test-alt-string +home/json/build/test/Development/test-alt-string + 4/60 Test #4: test-alt-string ..............................***Not Run 0.00 sec + Start 5: test-assert_macro +Could not find executable /home/json/build/test/test-assert_macro +Looked in the following places: +/home/json/build/test/test-assert_macro +/home/json/build/test/test-assert_macro +/home/json/build/test/Release/test-assert_macro +/home/json/build/test/Release/test-assert_macro +/home/json/build/test/Debug/test-assert_macro +/home/json/build/test/Debug/test-assert_macro +/home/json/build/test/MinSizeRel/test-assert_macro +/home/json/build/test/MinSizeRel/test-assert_macro +/home/json/build/test/RelWithDebInfo/test-assert_macro +/home/json/build/test/RelWithDebInfo/test-assert_macro +/home/json/build/test/Deployment/test-assert_macro +/home/json/build/test/Deployment/test-assert_macro +/home/json/build/test/Development/test-assert_macro +/home/json/build/test/Development/test-assert_macro +home/json/build/test/test-assert_macro +home/json/build/test/test-assert_macro +home/json/build/test/Release/test-assert_macro +home/json/build/test/Release/test-assert_macro +home/json/build/test/Debug/test-assert_macro +home/json/build/test/Debug/test-assert_macro +home/json/build/test/MinSizeRel/test-assert_macro +Unable to find executable: /home/json/build/test/test-assert_macro +home/json/build/test/MinSizeRel/test-assert_macro +home/json/build/test/RelWithDebInfo/test-assert_macro +home/json/build/test/RelWithDebInfo/test-assert_macro +home/json/build/test/Deployment/test-assert_macro +home/json/build/test/Deployment/test-assert_macro +home/json/build/test/Development/test-assert_macro +home/json/build/test/Development/test-assert_macro + 5/60 Test #5: test-assert_macro ............................***Not Run 0.00 sec + Start 6: test-bson +Could not find executable /home/json/build/test/test-bson +Looked in the following places: +/home/json/build/test/test-bson +/home/json/build/test/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Release/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/Debug/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/MinSizeRel/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/RelWithDebInfo/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Deployment/test-bson +/home/json/build/test/Development/test-bson +/home/json/build/test/Development/test-bson +home/json/build/test/test-bson +home/json/build/test/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Release/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/Debug/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/MinSizeRel/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/RelWithDebInfo/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Deployment/test-bson +home/json/build/test/Development/test-bson +home/json/build/test/Development/test-bson +Unable to find executable: /home/json/build/test/test-bson + 6/60 Test #6: test-bson ....................................***Not Run 0.00 sec + Start 7: test-capacity +Unable to find executable: /home/json/build/test/test-capacity +Could not find executable /home/json/build/test/test-capacity +Looked in the following places: +/home/json/build/test/test-capacity +/home/json/build/test/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Development/test-capacity +/home/json/build/test/Development/test-capacity +home/json/build/test/test-capacity +home/json/build/test/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Development/test-capacity +home/json/build/test/Development/test-capacity + 7/60 Test #7: test-capacity ................................***Not Run 0.00 sec + Start 8: test-cbor +Unable to find executable: /home/json/build/test/test-cbor +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor + 8/60 Test #8: test-cbor ....................................***Not Run 0.00 sec + Start 9: test-class_const_iterator +Could not find executable /home/json/build/test/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-class_const_iterator +Looked in the following places: +/home/json/build/test/test-class_const_iterator +/home/json/build/test/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator + 9/60 Test #9: test-class_const_iterator ....................***Not Run 0.00 sec + Start 10: test-class_iterator +Could not find executable /home/json/build/test/test-class_iterator +Looked in the following places: +/home/json/build/test/test-class_iterator +/home/json/build/test/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Development/test-class_iterator +Unable to find executable: /home/json/build/test/test-class_iterator +/home/json/build/test/Development/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Development/test-class_iterator +home/json/build/test/Development/test-class_iterator +10/60 Test #10: test-class_iterator ..........................***Not Run 0.00 sec + Start 11: test-class_lexer +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +11/60 Test #11: test-class_lexer .............................***Not Run 0.00 sec + Start 12: test-class_parser +Could not find executable /home/json/build/test/test-class_parser +Looked in the following places: +/home/json/build/test/test-class_parser +/home/json/build/test/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/Deployment/test-class_parser +Unable to find executable: /home/json/build/test/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Development/test-class_parser +/home/json/build/test/Development/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Development/test-class_parser +home/json/build/test/Development/test-class_parser +12/60 Test #12: test-class_parser ............................***Not Run 0.00 sec + Start 13: test-comparison +Could not find executable /home/json/build/test/test-comparison +Looked in the following places: +/home/json/build/test/test-comparison +/home/json/build/test/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Development/test-comparison +/home/json/build/test/Development/test-comparison +home/json/build/test/test-comparison +home/json/build/test/test-comparison +Unable to find executable: /home/json/build/test/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Development/test-comparison +home/json/build/test/Development/test-comparison +13/60 Test #13: test-comparison ..............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-concepts +Unable to find executable: /home/json/build/test/test-constructor1 + Start 14: test-concepts +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +14/60 Test #14: test-concepts ................................***Not Run 0.00 sec + Start 15: test-constructor1 +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor2 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +15/60 Test #15: test-constructor1 ............................***Not Run 0.00 sec + Start 16: test-constructor2 +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +16/60 Test #16: test-constructor2 ............................***Not Run 0.00 sec + Start 17: test-convenience +Could not find executable /home/json/build/test/test-convenience +Looked in the following places: +/home/json/build/test/test-convenience +/home/json/build/test/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Development/test-convenience +/home/json/build/test/Development/test-convenience +home/json/build/test/test-convenience +home/json/build/test/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Development/test-convenience +home/json/build/test/Development/test-convenience +Unable to find executable: /home/json/build/test/test-convenience +17/60 Test #17: test-convenience .............................***Not Run 0.00 sec + Start 18: test-conversions +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +Unable to find executable: /home/json/build/test/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +18/60 Test #18: test-conversions .............................***Not Run 0.00 sec + Start 19: test-deserialization +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +19/60 Test #19: test-deserialization .........................***Not Run 0.00 sec + Start 20: test-element_access1 +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +20/60 Test #20: test-element_access1 .........................***Not Run 0.00 sec + Start 21: test-element_access2 +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +21/60 Test #21: test-element_access2 .........................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-element_access2 + Start 22: test-hash +Could not find executable /home/json/build/test/test-hash +Looked in the following places: +/home/json/build/test/test-hash +/home/json/build/test/test-hash +/home/json/build/test/Release/test-hash +/home/json/build/test/Release/test-hash +/home/json/build/test/Debug/test-hash +/home/json/build/test/Debug/test-hash +/home/json/build/test/MinSizeRel/test-hash +/home/json/build/test/MinSizeRel/test-hash +/home/json/build/test/RelWithDebInfo/test-hash +/home/json/build/test/RelWithDebInfo/test-hash +/home/json/build/test/Deployment/test-hash +/home/json/build/test/Deployment/test-hash +/home/json/build/test/Development/test-hash +/home/json/build/test/Development/test-hash +home/json/build/test/test-hash +home/json/build/test/test-hash +home/json/build/test/Release/test-hash +home/json/build/test/Release/test-hash +home/json/build/test/Debug/test-hash +home/json/build/test/Debug/test-hash +home/json/build/test/MinSizeRel/test-hash +home/json/build/test/MinSizeRel/test-hash +home/json/build/test/RelWithDebInfo/test-hash +home/json/build/test/RelWithDebInfo/test-hash +home/json/build/test/Deployment/test-hash +home/json/build/test/Deployment/test-hash +home/json/build/test/Development/test-hash +home/json/build/test/Development/test-hash +22/60 Test #22: test-hash ....................................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-hash + Start 23: test-inspection +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +23/60 Test #23: test-inspection ..............................***Not Run 0.00 sec + Start 24: test-items +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +24/60 Test #24: test-items ...................................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-items + Start 25: test-iterators1 +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +25/60 Test #25: test-iterators1 ..............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-iterators1 + Start 26: test-iterators2 +Could not find executable /home/json/build/test/test-iterators2 +Looked in the following places: +/home/json/build/test/test-iterators2 +/home/json/build/test/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Development/test-iterators2 +/home/json/build/test/Development/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Development/test-iterators2 +home/json/build/test/Development/test-iterators2 +Unable to find executable: /home/json/build/test/test-iterators2 +26/60 Test #26: test-iterators2 ..............................***Not Run 0.00 sec + Start 27: test-json_patch +Could not find executable /home/json/build/test/test-json_patch +Looked in the following places: +/home/json/build/test/test-json_patch +/home/json/build/test/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Development/test-json_patch +/home/json/build/test/Development/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +Unable to find executable: /home/json/build/test/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Development/test-json_patch +home/json/build/test/Development/test-json_patch +27/60 Test #27: test-json_patch ..............................***Not Run 0.00 sec + Start 28: test-json_pointer +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +28/60 Test #28: test-json_pointer ............................***Not Run 0.00 sec + Start 29: test-large_json +Could not find executable /home/json/build/test/test-large_json +Looked in the following places: +/home/json/build/test/test-large_json +/home/json/build/test/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Release/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/Debug/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/MinSizeRel/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/RelWithDebInfo/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Deployment/test-large_json +/home/json/build/test/Development/test-large_json +/home/json/build/test/Development/test-large_json +home/json/build/test/test-large_json +home/json/build/test/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Release/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/Debug/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/MinSizeRel/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/RelWithDebInfo/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Deployment/test-large_json +home/json/build/test/Development/test-large_json +home/json/build/test/Development/test-large_json +29/60 Test #29: test-large_json ..............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-large_json + Start 30: test-merge_patch +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +30/60 Test #30: test-merge_patch .............................***Not Run 0.00 sec + Start 31: test-meta +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +Unable to find executable: /home/json/build/test/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +31/60 Test #31: test-meta ....................................***Not Run 0.00 sec + Start 32: test-modifiers +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +32/60 Test #32: test-modifiers ...............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-modifiers + Start 33: test-msgpack +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +33/60 Test #33: test-msgpack .................................***Not Run 0.00 sec + Start 34: test-noexcept +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Development/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +Unable to find executable: /home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +34/60 Test #34: test-noexcept ................................***Not Run 0.00 sec + Start 35: test-ordered_json +Could not find executable /home/json/build/test/test-ordered_json +Looked in the following places: +/home/json/build/test/test-ordered_json +/home/json/build/test/test-ordered_json +/home/json/build/test/Release/test-ordered_json +/home/json/build/test/Release/test-ordered_json +/home/json/build/test/Debug/test-ordered_json +/home/json/build/test/Debug/test-ordered_json +/home/json/build/test/MinSizeRel/test-ordered_json +/home/json/build/test/MinSizeRel/test-ordered_json +/home/json/build/test/RelWithDebInfo/test-ordered_json +/home/json/build/test/RelWithDebInfo/test-ordered_json +/home/json/build/test/Deployment/test-ordered_json +/home/json/build/test/Deployment/test-ordered_json +/home/json/build/test/Development/test-ordered_json +/home/json/build/test/Development/test-ordered_json +home/json/build/test/test-ordered_json +home/json/build/test/test-ordered_json +home/json/build/test/Release/test-ordered_json +home/json/build/test/Release/test-ordered_json +home/json/build/test/Debug/test-ordered_json +home/json/build/test/Debug/test-ordered_json +home/json/build/test/MinSizeRel/test-ordered_json +home/json/build/test/MinSizeRel/test-ordered_json +home/json/build/test/RelWithDebInfo/test-ordered_json +home/json/build/test/RelWithDebInfo/test-ordered_json +home/json/build/test/Deployment/test-ordered_json +home/json/build/test/Deployment/test-ordered_json +home/json/build/test/Development/test-ordered_json +home/json/build/test/Development/test-ordered_json +Unable to find executable: /home/json/build/test/test-ordered_json +35/60 Test #35: test-ordered_json ............................***Not Run 0.00 sec + Start 36: test-ordered_map +Could not find executable /home/json/build/test/test-ordered_map +Looked in the following places: +/home/json/build/test/test-ordered_map +/home/json/build/test/test-ordered_map +/home/json/build/test/Release/test-ordered_map +/home/json/build/test/Release/test-ordered_map +/home/json/build/test/Debug/test-ordered_map +/home/json/build/test/Debug/test-ordered_map +/home/json/build/test/MinSizeRel/test-ordered_map +/home/json/build/test/MinSizeRel/test-ordered_map +/home/json/build/test/RelWithDebInfo/test-ordered_map +/home/json/build/test/RelWithDebInfo/test-ordered_map +/home/json/build/test/Deployment/test-ordered_map +/home/json/build/test/Deployment/test-ordered_map +/home/json/build/test/Development/test-ordered_map +/home/json/build/test/Development/test-ordered_map +home/json/build/test/test-ordered_map +home/json/build/test/test-ordered_map +home/json/build/test/Release/test-ordered_map +home/json/build/test/Release/test-ordered_map +home/json/build/test/Debug/test-ordered_map +home/json/build/test/Debug/test-ordered_map +home/json/build/test/MinSizeRel/test-ordered_map +home/json/build/test/MinSizeRel/test-ordered_map +home/json/build/test/RelWithDebInfo/test-ordered_map +home/json/build/test/RelWithDebInfo/test-ordered_map +home/json/build/test/Deployment/test-ordered_map +home/json/build/test/Deployment/test-ordered_map +home/json/build/test/Development/test-ordered_map +home/json/build/test/Development/test-ordered_map +Unable to find executable: /home/json/build/test/test-ordered_map +36/60 Test #36: test-ordered_map .............................***Not Run 0.00 sec + Start 37: test-pointer_access +Could not find executable /home/json/build/test/test-pointer_access +Looked in the following places: +/home/json/build/test/test-pointer_access +/home/json/build/test/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Development/test-pointer_access +/home/json/build/test/Development/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Debug/test-pointer_access +Unable to find executable: /home/json/build/test/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Development/test-pointer_access +home/json/build/test/Development/test-pointer_access +37/60 Test #37: test-pointer_access ..........................***Not Run 0.00 sec + Start 38: test-readme +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +38/60 Test #38: test-readme ..................................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-readme + Start 39: test-reference_access +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +39/60 Test #39: test-reference_access ........................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-reference_access + Start 40: test-regression1 +Could not find executable /home/json/build/test/test-regression1 +Looked in the following places: +/home/json/build/test/test-regression1 +/home/json/build/test/test-regression1 +/home/json/build/test/Release/test-regression1 +/home/json/build/test/Release/test-regression1 +/home/json/build/test/Debug/test-regression1 +/home/json/build/test/Debug/test-regression1 +/home/json/build/test/MinSizeRel/test-regression1 +/home/json/build/test/MinSizeRel/test-regression1 +/home/json/build/test/RelWithDebInfo/test-regression1 +/home/json/build/test/RelWithDebInfo/test-regression1 +/home/json/build/test/Deployment/test-regression1 +/home/json/build/test/Deployment/test-regression1 +/home/json/build/test/Development/test-regression1 +/home/json/build/test/Development/test-regression1 +home/json/build/test/test-regression1 +home/json/build/test/test-regression1 +home/json/build/test/Release/test-regression1 +Unable to find executable: /home/json/build/test/test-regression1 +home/json/build/test/Release/test-regression1 +home/json/build/test/Debug/test-regression1 +home/json/build/test/Debug/test-regression1 +home/json/build/test/MinSizeRel/test-regression1 +home/json/build/test/MinSizeRel/test-regression1 +home/json/build/test/RelWithDebInfo/test-regression1 +home/json/build/test/RelWithDebInfo/test-regression1 +home/json/build/test/Deployment/test-regression1 +home/json/build/test/Deployment/test-regression1 +home/json/build/test/Development/test-regression1 +home/json/build/test/Development/test-regression1 +40/60 Test #40: test-regression1 .............................***Not Run 0.00 sec + Start 41: test-regression2 +Could not find executable /home/json/build/test/test-regression2 +Looked in the following places: +/home/json/build/test/test-regression2 +/home/json/build/test/test-regression2 +/home/json/build/test/Release/test-regression2 +/home/json/build/test/Release/test-regression2 +/home/json/build/test/Debug/test-regression2 +/home/json/build/test/Debug/test-regression2 +/home/json/build/test/MinSizeRel/test-regression2 +/home/json/build/test/MinSizeRel/test-regression2 +/home/json/build/test/RelWithDebInfo/test-regression2 +/home/json/build/test/RelWithDebInfo/test-regression2 +/home/json/build/test/Deployment/test-regression2 +/home/json/build/test/Deployment/test-regression2 +/home/json/build/test/Development/test-regression2 +/home/json/build/test/Development/test-regression2 +home/json/build/test/test-regression2 +home/json/build/test/test-regression2 +home/json/build/test/Release/test-regression2 +home/json/build/test/Release/test-regression2 +home/json/build/test/Debug/test-regression2 +home/json/build/test/Debug/test-regression2 +home/json/build/test/MinSizeRel/test-regression2 +home/json/build/test/MinSizeRel/test-regression2 +home/json/build/test/RelWithDebInfo/test-regression2 +home/json/build/test/RelWithDebInfo/test-regression2 +home/json/build/test/Deployment/test-regression2 +home/json/build/test/Deployment/test-regression2 +home/json/build/test/Development/test-regression2 +home/json/build/test/Development/test-regression2 +Unable to find executable: /home/json/build/test/test-regression2 +41/60 Test #41: test-regression2 .............................***Not Run 0.00 sec + Start 42: test-serialization +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +42/60 Test #42: test-serialization ...........................***Not Run 0.00 sec + Start 43: test-testsuites +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +43/60 Test #43: test-testsuites ..............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-testsuites + Start 44: test-to_chars +Could not find executable /home/json/build/test/test-to_chars +Looked in the following places: +/home/json/build/test/test-to_chars +/home/json/build/test/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Development/test-to_chars +/home/json/build/test/Development/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/Release/test-to_chars +Unable to find executable: /home/json/build/test/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Development/test-to_chars +home/json/build/test/Development/test-to_chars +44/60 Test #44: test-to_chars ................................***Not Run 0.00 sec + Start 45: test-ubjson +Could not find executable /home/json/build/test/test-ubjson +Looked in the following places: +/home/json/build/test/test-ubjson +/home/json/build/test/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Development/test-ubjson +/home/json/build/test/Development/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Development/test-ubjson +home/json/build/test/Development/test-ubjson +Unable to find executable: /home/json/build/test/test-ubjson +45/60 Test #45: test-ubjson ..................................***Not Run 0.00 sec + Start 46: test-udt +Could not find executable /home/json/build/test/test-udt +Looked in the following places: +/home/json/build/test/test-udt +/home/json/build/test/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Development/test-udt +/home/json/build/test/Development/test-udt +home/json/build/test/test-udt +home/json/build/test/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Development/test-udt +home/json/build/test/Development/test-udt +Unable to find executable: /home/json/build/test/test-udt +46/60 Test #46: test-udt .....................................***Not Run 0.00 sec + Start 47: test-udt_macro +Could not find executable /home/json/build/test/test-udt_macro +Looked in the following places: +/home/json/build/test/test-udt_macro +/home/json/build/test/test-udt_macro +/home/json/build/test/Release/test-udt_macro +/home/json/build/test/Release/test-udt_macro +/home/json/build/test/Debug/test-udt_macro +/home/json/build/test/Debug/test-udt_macro +/home/json/build/test/MinSizeRel/test-udt_macro +/home/json/build/test/MinSizeRel/test-udt_macro +/home/json/build/test/RelWithDebInfo/test-udt_macro +/home/json/build/test/RelWithDebInfo/test-udt_macro +/home/json/build/test/Deployment/test-udt_macro +/home/json/build/test/Deployment/test-udt_macro +/home/json/build/test/Development/test-udt_macro +/home/json/build/test/Development/test-udt_macro +home/json/build/test/test-udt_macro +home/json/build/test/test-udt_macro +home/json/build/test/Release/test-udt_macro +home/json/build/test/Release/test-udt_macro +home/json/build/test/Debug/test-udt_macro +home/json/build/test/Debug/test-udt_macro +Unable to find executable: /home/json/build/test/test-udt_macro +home/json/build/test/MinSizeRel/test-udt_macro +home/json/build/test/MinSizeRel/test-udt_macro +home/json/build/test/RelWithDebInfo/test-udt_macro +home/json/build/test/RelWithDebInfo/test-udt_macro +home/json/build/test/Deployment/test-udt_macro +home/json/build/test/Deployment/test-udt_macro +home/json/build/test/Development/test-udt_macro +home/json/build/test/Development/test-udt_macro +47/60 Test #47: test-udt_macro ...............................***Not Run 0.00 sec + Start 48: test-unicode +Could not find executable /home/json/build/test/test-unicode +Looked in the following places: +/home/json/build/test/test-unicode +/home/json/build/test/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Development/test-unicode +/home/json/build/test/Development/test-unicode +home/json/build/test/test-unicode +home/json/build/test/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Development/test-unicode +home/json/build/test/Development/test-unicode +Unable to find executable: /home/json/build/test/test-unicode +48/60 Test #48: test-unicode .................................***Not Run 0.00 sec + Start 49: test-user_defined_input +49/60 Test #49: test-user_defined_input ...................... Passed 0.00 sec + Start 50: test-wstring +50/60 Test #50: test-wstring ................................. Passed 0.00 sec + Start 51: cmake_import_configure +51/60 Test #51: cmake_import_configure ....................... Passed 0.64 sec + Start 52: cmake_import_build +52/60 Test #52: cmake_import_build ........................... Passed 1.99 sec + Start 53: cmake_import_minver_configure +53/60 Test #53: cmake_import_minver_configure ................ Passed 0.64 sec + Start 54: cmake_import_minver_build +54/60 Test #54: cmake_import_minver_build .................... Passed 1.02 sec + Start 55: cmake_add_subdirectory_configure +55/60 Test #55: cmake_add_subdirectory_configure ............. Passed 0.66 sec + Start 56: cmake_add_subdirectory_build +56/60 Test #56: cmake_add_subdirectory_build ................. Passed 2.94 sec + Start 57: cmake_fetch_content_configure +57/60 Test #57: cmake_fetch_content_configure ................ Passed 1.56 sec + Start 58: cmake_fetch_content_build +58/60 Test #58: cmake_fetch_content_build .................... Passed 2.00 sec + Start 59: cmake_target_include_directories_configure +59/60 Test #59: cmake_target_include_directories_configure ... Passed 0.63 sec + Start 60: cmake_target_include_directories_build +60/60 Test #60: cmake_target_include_directories_build ....... Passed 4.42 sec + +22% tests passed, 47 tests failed out of 60 + +Label Time Summary: +all = 0.00 sec*proc (49 tests) +git_required = 3.56 sec*proc (2 tests) + +Total Test time (real) = 16.59 sec + +The following tests FAILED: + 2 - test-algorithms (Not Run) + 3 - test-allocator (Not Run) + 4 - test-alt-string (Not Run) + 5 - test-assert_macro (Not Run) + 6 - test-bson (Not Run) + 7 - test-capacity (Not Run) + 8 - test-cbor (Not Run) + 9 - test-class_const_iterator (Not Run) + 10 - test-class_iterator (Not Run) + 11 - test-class_lexer (Not Run) + 12 - test-class_parser (Not Run) + 13 - test-comparison (Not Run) + 14 - test-concepts (Not Run) + 15 - test-constructor1 (Not Run) + 16 - test-constructor2 (Not Run) + 17 - test-convenience (Not Run) + 18 - test-conversions (Not Run) + 19 - test-deserialization (Not Run) + 20 - test-element_access1 (Not Run) + 21 - test-element_access2 (Not Run) + 22 - test-hash (Not Run) + 23 - test-inspection (Not Run) + 24 - test-items (Not Run) + 25 - test-iterators1 (Not Run) + 26 - test-iterators2 (Not Run) + 27 - test-json_patch (Not Run) + 28 - test-json_pointer (Not Run) + 29 - test-large_json (Not Run) + 30 - test-merge_patch (Not Run) + 31 - test-meta (Not Run) + 32 - test-modifiers (Not Run) + 33 - test-msgpack (Not Run) + 34 - test-noexcept (Not Run) + 35 - test-ordered_json (Not Run) + 36 - test-ordered_map (Not Run) + 37 - test-pointer_access (Not Run) + 38 - test-readme (Not Run) + 39 - test-reference_access (Not Run) + 40 - test-regression1 (Not Run) + 41 - test-regression2 (Not Run) + 42 - test-serialization (Not Run) + 43 - test-testsuites (Not Run) + 44 - test-to_chars (Not Run) + 45 - test-ubjson (Not Run) + 46 - test-udt (Not Run) + 47 - test-udt_macro (Not Run) + 48 - test-unicode (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/fix.patch new file mode 100644 index 000000000..fc3046edc --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/fix.patch @@ -0,0 +1,24 @@ +diff --git a/include/nlohmann/detail/iterators/iter_impl.hpp b/include/nlohmann/detail/iterators/iter_impl.hpp +index e9a394d4..b1a6313a 100644 +--- a/include/nlohmann/detail/iterators/iter_impl.hpp ++++ b/include/nlohmann/detail/iterators/iter_impl.hpp +@@ -41,6 +41,7 @@ class iter_impl + /// allow basic_json to access private members + friend iter_impl::value, typename std::remove_const::type, const BasicJsonType>::type>; + friend BasicJsonType; ++ friend typename std::remove_const::type; + friend iteration_proxy; + friend iteration_proxy_value; + +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 7d107f21..d183c48a 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -10812,6 +10812,7 @@ class iter_impl + /// allow basic_json to access private members + friend iter_impl::value, typename std::remove_const::type, const BasicJsonType>::type>; + friend BasicJsonType; ++ friend typename std::remove_const::type; + friend iteration_proxy; + friend iteration_proxy_value; + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/report.json new file mode 100644 index 000000000..db651c2c0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2352/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2352, "valid": true, "error_msg": "", "fixed_tests": {"cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 60, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-regression2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 13, "failed_count": 0, "skipped_count": 0, "passed_tests": ["cmake_target_include_directories_build", "cmake_import_build", "test-user_defined_input", "cmake_import_configure", "cmake_target_include_directories_configure", "cmake_fetch_content_build", "cmake_import_minver_build", "test-wstring", "cmake_fetch_content_configure", "cmake_import_minver_configure", "cmake_add_subdirectory_configure", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/fix-patch-run.log new file mode 100644 index 000000000..eca0e280e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/fix-patch-run.log @@ -0,0 +1,582 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5770 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.7 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (18.8 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.X4JxxYOg +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.X4JxxYOg/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.X4JxxYOg/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.X4JxxYOg/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.X4JxxYOg/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.X4JxxYOg/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.X4JxxYOg +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=5a34ee2a7931 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.vH121UVBVr/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-regression2.cpp +patching file include/nlohmann/adl_serializer.hpp +patching file include/nlohmann/detail/conversions/from_json.hpp +patching file include/nlohmann/detail/meta/tag.hpp +patching file include/nlohmann/detail/meta/type_traits.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.20.1") +-- Operating system: Linux-6.8.0-41-generic; Linux 5a34ee2a7931 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 7.5.0; Copyright (C) 2017 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target doctest_main +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +Scanning dependencies of target test-wstring +[ 1%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[ 3%] Linking CXX executable test-wstring +[ 3%] Built target test-wstring +Scanning dependencies of target test-user_defined_input +[ 4%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 4%] Linking CXX executable test-user_defined_input +[ 4%] Built target test-user_defined_input +Scanning dependencies of target test-unicode +[ 4%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 6%] Linking CXX executable test-unicode +[ 6%] Built target test-unicode +Scanning dependencies of target test-udt_macro +[ 7%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 9%] Linking CXX executable test-udt_macro +[ 9%] Built target test-udt_macro +Scanning dependencies of target test-udt +[ 10%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 10%] Linking CXX executable test-udt +[ 10%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 10%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 12%] Linking CXX executable test-ubjson +[ 12%] Built target test-ubjson +Scanning dependencies of target test-to_chars +[ 13%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 15%] Linking CXX executable test-to_chars +[ 15%] Built target test-to_chars +Scanning dependencies of target test-serialization +[ 15%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 16%] Linking CXX executable test-serialization +[ 16%] Built target test-serialization +Scanning dependencies of target test-regression2 +[ 18%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 19%] Linking CXX executable test-regression2 +[ 19%] Built target test-regression2 +Scanning dependencies of target test-regression1 +[ 21%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 21%] Linking CXX executable test-regression1 +[ 21%] Built target test-regression1 +Scanning dependencies of target test-reference_access +[ 21%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 22%] Linking CXX executable test-reference_access +[ 22%] Built target test-reference_access +Scanning dependencies of target test-pointer_access +[ 24%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 25%] Linking CXX executable test-pointer_access +[ 25%] Built target test-pointer_access +Scanning dependencies of target test-ordered_json +[ 25%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 27%] Linking CXX executable test-ordered_json +[ 27%] Built target test-ordered_json +Scanning dependencies of target test-class_parser +[ 28%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 30%] Linking CXX executable test-class_parser +[ 30%] Built target test-class_parser +Scanning dependencies of target test-comparison +[ 30%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 31%] Linking CXX executable test-comparison +[ 31%] Built target test-comparison +Scanning dependencies of target test-class_iterator +[ 31%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 33%] Linking CXX executable test-class_iterator +[ 33%] Built target test-class_iterator +Scanning dependencies of target test-convenience +[ 33%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 34%] Linking CXX executable test-convenience +[ 34%] Built target test-convenience +Scanning dependencies of target test-class_const_iterator +[ 36%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 37%] Linking CXX executable test-class_const_iterator +[ 37%] Built target test-class_const_iterator +Scanning dependencies of target test-json_patch +[ 39%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 39%] Linking CXX executable test-json_patch +[ 39%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 40%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 42%] Linking CXX executable test-noexcept +[ 42%] Built target test-noexcept +Scanning dependencies of target test-iterators2 +[ 42%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 43%] Linking CXX executable test-iterators2 +[ 43%] Built target test-iterators2 +Scanning dependencies of target test-capacity +[ 43%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 45%] Linking CXX executable test-capacity +[ 45%] Built target test-capacity +Scanning dependencies of target test-bson +[ 46%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 48%] Linking CXX executable test-bson +[ 48%] Built target test-bson +Scanning dependencies of target test-class_lexer +[ 50%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 50%] Linking CXX executable test-class_lexer +[ 50%] Built target test-class_lexer +Scanning dependencies of target test-hash +[ 50%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 51%] Linking CXX executable test-hash +[ 51%] Built target test-hash +Scanning dependencies of target test-readme +[ 51%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 53%] Linking CXX executable test-readme +[ 53%] Built target test-readme +Scanning dependencies of target test-cbor +[ 54%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 54%] Linking CXX executable test-cbor +[ 54%] Built target test-cbor +Scanning dependencies of target test-algorithms +[ 56%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 56%] Linking CXX executable test-algorithms +[ 56%] Built target test-algorithms +Scanning dependencies of target test-element_access2 +[ 57%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 59%] Linking CXX executable test-element_access2 +[ 59%] Built target test-element_access2 +Scanning dependencies of target test-allocator +[ 60%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 62%] Linking CXX executable test-allocator +[ 62%] Built target test-allocator +Scanning dependencies of target test-items +[ 63%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 65%] Linking CXX executable test-items +[ 65%] Built target test-items +Scanning dependencies of target test-assert_macro +[ 66%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 66%] Linking CXX executable test-assert_macro +[ 66%] Built target test-assert_macro +Scanning dependencies of target test-ordered_map +[ 68%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 68%] Linking CXX executable test-ordered_map +[ 68%] Built target test-ordered_map +Scanning dependencies of target test-conversions +[ 69%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 69%] Linking CXX executable test-conversions +[ 69%] Built target test-conversions +Scanning dependencies of target test-constructor2 +[ 71%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 72%] Linking CXX executable test-constructor2 +[ 72%] Built target test-constructor2 +Scanning dependencies of target test-alt-string +[ 72%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 74%] Linking CXX executable test-alt-string +[ 74%] Built target test-alt-string +Scanning dependencies of target test-diagnostics +[ 74%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 75%] Linking CXX executable test-diagnostics +[ 75%] Built target test-diagnostics +Scanning dependencies of target test-constructor1 +[ 77%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 77%] Linking CXX executable test-constructor1 +[ 77%] Built target test-constructor1 +Scanning dependencies of target test-deserialization +[ 78%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 80%] Linking CXX executable test-deserialization +[ 80%] Built target test-deserialization +Scanning dependencies of target test-element_access1 +[ 81%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 81%] Linking CXX executable test-element_access1 +[ 81%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 83%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 84%] Linking CXX executable test-meta +[ 84%] Built target test-meta +Scanning dependencies of target test-inspection +[ 86%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 86%] Linking CXX executable test-inspection +[ 86%] Built target test-inspection +Scanning dependencies of target test-iterators1 +[ 86%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 87%] Linking CXX executable test-iterators1 +[ 87%] Built target test-iterators1 +Scanning dependencies of target test-json_pointer +[ 89%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 90%] Linking CXX executable test-json_pointer +[ 90%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 90%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 92%] Linking CXX executable test-modifiers +[ 92%] Built target test-modifiers +Scanning dependencies of target test-testsuites +[ 93%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 93%] Linking CXX executable test-testsuites +[ 93%] Built target test-testsuites +Scanning dependencies of target test-concepts +[ 93%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 95%] Linking CXX executable test-concepts +[ 95%] Built target test-concepts +Scanning dependencies of target test-large_json +[ 95%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 96%] Linking CXX executable test-large_json +[ 96%] Built target test-large_json +Scanning dependencies of target test-merge_patch +[ 98%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 98%] Linking CXX executable test-merge_patch +[ 98%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[100%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[100%] Linking CXX executable test-msgpack +[100%] Built target test-msgpack +Test project /home/json/build + Start 1: download_test_data + 1/61 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms + 2/61 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/61 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/61 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/61 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/61 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-capacity + 7/61 Test #7: test-capacity ................................ Passed 0.00 sec + Start 8: test-cbor + 8/61 Test #8: test-cbor .................................... Passed 42.65 sec + Start 9: test-class_const_iterator + 9/61 Test #9: test-class_const_iterator .................... Passed 0.00 sec + Start 10: test-class_iterator +10/61 Test #10: test-class_iterator .......................... Passed 0.00 sec + Start 11: test-class_lexer +11/61 Test #11: test-class_lexer ............................. Passed 0.00 sec + Start 12: test-class_parser +12/61 Test #12: test-class_parser ............................ Passed 0.10 sec + Start 13: test-comparison +13/61 Test #13: test-comparison .............................. Passed 0.00 sec + Start 14: test-concepts +14/61 Test #14: test-concepts ................................ Passed 0.00 sec + Start 15: test-constructor1 +15/61 Test #15: test-constructor1 ............................ Passed 0.01 sec + Start 16: test-constructor2 +16/61 Test #16: test-constructor2 ............................ Passed 0.00 sec + Start 17: test-convenience +17/61 Test #17: test-convenience ............................. Passed 0.00 sec + Start 18: test-conversions +18/61 Test #18: test-conversions ............................. Passed 0.01 sec + Start 19: test-deserialization +19/61 Test #19: test-deserialization ......................... Passed 0.01 sec + Start 20: test-diagnostics +20/61 Test #20: test-diagnostics ............................. Passed 0.00 sec + Start 21: test-element_access1 +21/61 Test #21: test-element_access1 ......................... Passed 0.01 sec + Start 22: test-element_access2 +22/61 Test #22: test-element_access2 ......................... Passed 0.01 sec + Start 23: test-hash +23/61 Test #23: test-hash .................................... Passed 0.00 sec + Start 24: test-inspection +24/61 Test #24: test-inspection .............................. Passed 5.52 sec + Start 25: test-items +25/61 Test #25: test-items ................................... Passed 0.00 sec + Start 26: test-iterators1 +26/61 Test #26: test-iterators1 .............................. Passed 0.01 sec + Start 27: test-iterators2 +27/61 Test #27: test-iterators2 .............................. Passed 0.02 sec + Start 28: test-json_patch +28/61 Test #28: test-json_patch .............................. Passed 0.01 sec + Start 29: test-json_pointer +29/61 Test #29: test-json_pointer ............................ Passed 0.00 sec + Start 30: test-large_json +30/61 Test #30: test-large_json .............................. Passed 5.35 sec + Start 31: test-merge_patch +31/61 Test #31: test-merge_patch ............................. Passed 0.00 sec + Start 32: test-meta +32/61 Test #32: test-meta .................................... Passed 0.00 sec + Start 33: test-modifiers +33/61 Test #33: test-modifiers ............................... Passed 0.01 sec + Start 34: test-msgpack +34/61 Test #34: test-msgpack ................................. Passed 41.95 sec + Start 35: test-noexcept +35/61 Test #35: test-noexcept ................................ Passed 0.00 sec + Start 36: test-ordered_json +36/61 Test #36: test-ordered_json ............................ Passed 0.00 sec + Start 37: test-ordered_map +37/61 Test #37: test-ordered_map ............................. Passed 0.00 sec + Start 38: test-pointer_access +38/61 Test #38: test-pointer_access .......................... Passed 0.00 sec + Start 39: test-readme +39/61 Test #39: test-readme .................................. Passed 0.00 sec + Start 40: test-reference_access +40/61 Test #40: test-reference_access ........................ Passed 0.00 sec + Start 41: test-regression1 +41/61 Test #41: test-regression1 ............................. Passed 6.89 sec + Start 42: test-regression2 +42/61 Test #42: test-regression2 ............................. Passed 0.00 sec + Start 43: test-serialization +43/61 Test #43: test-serialization ........................... Passed 0.00 sec + Start 44: test-testsuites +44/61 Test #44: test-testsuites .............................. Passed 0.20 sec + Start 45: test-to_chars +45/61 Test #45: test-to_chars ................................ Passed 0.00 sec + Start 46: test-ubjson +46/61 Test #46: test-ubjson .................................. Passed 15.09 sec + Start 47: test-udt +47/61 Test #47: test-udt ..................................... Passed 0.00 sec + Start 48: test-udt_macro +48/61 Test #48: test-udt_macro ............................... Passed 0.00 sec + Start 49: test-unicode +49/61 Test #49: test-unicode ................................. Passed 244.62 sec + Start 50: test-user_defined_input +50/61 Test #50: test-user_defined_input ...................... Passed 0.00 sec + Start 51: test-wstring +51/61 Test #51: test-wstring ................................. Passed 0.00 sec + Start 52: cmake_import_configure +52/61 Test #52: cmake_import_configure ....................... Passed 0.62 sec + Start 53: cmake_import_build +53/61 Test #53: cmake_import_build ........................... Passed 2.02 sec + Start 54: cmake_import_minver_configure +54/61 Test #54: cmake_import_minver_configure ................ Passed 0.62 sec + Start 55: cmake_import_minver_build +55/61 Test #55: cmake_import_minver_build .................... Passed 1.03 sec + Start 56: cmake_add_subdirectory_configure +56/61 Test #56: cmake_add_subdirectory_configure ............. Passed 0.64 sec + Start 57: cmake_add_subdirectory_build +57/61 Test #57: cmake_add_subdirectory_build ................. Passed 2.99 sec + Start 58: cmake_fetch_content_configure +58/61 Test #58: cmake_fetch_content_configure ................ Passed 1.41 sec + Start 59: cmake_fetch_content_build +59/61 Test #59: cmake_fetch_content_build .................... Passed 2.00 sec + Start 60: cmake_target_include_directories_configure +60/61 Test #60: cmake_target_include_directories_configure ... Passed 0.62 sec + Start 61: cmake_target_include_directories_build +61/61 Test #61: cmake_target_include_directories_build ....... Passed 4.48 sec + +100% tests passed, 0 tests failed out of 61 + +Label Time Summary: +all = 362.54 sec*proc (50 tests) +git_required = 3.41 sec*proc (2 tests) +not_reproducible = 16.42 sec*proc (10 tests) + +Total Test time (real) = 379.05 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/fix.patch new file mode 100644 index 000000000..9b2685169 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/fix.patch @@ -0,0 +1,557 @@ +diff --git a/include/nlohmann/adl_serializer.hpp b/include/nlohmann/adl_serializer.hpp +index 4af1c4bb..5307caa4 100644 +--- a/include/nlohmann/adl_serializer.hpp ++++ b/include/nlohmann/adl_serializer.hpp +@@ -1,14 +1,16 @@ + #pragma once + ++#include + #include + + #include + #include ++#include + + namespace nlohmann + { + +-template ++template + struct adl_serializer + { + /*! +@@ -20,14 +22,22 @@ struct adl_serializer + @param[in] j JSON value to read from + @param[in,out] val value to write to + */ +- template +- static auto from_json(BasicJsonType&& j, ValueType& val) noexcept( ++ template ++ static auto from_json(BasicJsonType && j, U& val) noexcept( + noexcept(::nlohmann::from_json(std::forward(j), val))) + -> decltype(::nlohmann::from_json(std::forward(j), val), void()) + { + ::nlohmann::from_json(std::forward(j), val); + } + ++ template ++ static auto from_json(BasicJsonType && j) noexcept( ++ noexcept(::nlohmann::from_json(std::forward(j), detail::tag {}))) ++ -> decltype(::nlohmann::from_json(std::forward(j), detail::tag {})) ++ { ++ return ::nlohmann::from_json(std::forward(j), detail::tag {}); ++ } ++ + /*! + @brief convert any value type to a JSON value + +@@ -37,12 +47,12 @@ struct adl_serializer + @param[in,out] j JSON value to write to + @param[in] val value to read from + */ +- template +- static auto to_json(BasicJsonType& j, ValueType&& val) noexcept( +- noexcept(::nlohmann::to_json(j, std::forward(val)))) +- -> decltype(::nlohmann::to_json(j, std::forward(val)), void()) ++ template ++ static auto to_json(BasicJsonType& j, U && val) noexcept( ++ noexcept(::nlohmann::to_json(j, std::forward(val)))) ++ -> decltype(::nlohmann::to_json(j, std::forward(val)), void()) + { +- ::nlohmann::to_json(j, std::forward(val)); ++ ::nlohmann::to_json(j, std::forward(val)); + } + }; + +diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp +index 6f8bd647..1ffd79e1 100644 +--- a/include/nlohmann/detail/conversions/from_json.hpp ++++ b/include/nlohmann/detail/conversions/from_json.hpp +@@ -15,6 +15,7 @@ + #include + #include + #include ++#include + #include + #include + +@@ -176,15 +177,38 @@ void from_json_array_impl(const BasicJsonType& j, typename BasicJsonType::array_ + arr = *j.template get_ptr(); + } + ++template ++std::array from_json_inplace_array_impl(const BasicJsonType& j, index_sequence) ++{ ++ return {{ j.at(Idx).template get()... }}; ++} ++ + template + auto from_json_array_impl(const BasicJsonType& j, std::array& arr, +- priority_tag<2> /*unused*/) ++ priority_tag<2> /*unused*/) + -> decltype(j.template get(), void()) + { +- for (std::size_t i = 0; i < N; ++i) ++ arr = from_json_inplace_array_impl(j, make_index_sequence{}); ++} ++ ++template < typename BasicJsonType, typename Array, std::size_t... Is > ++Array from_json_array_impl(BasicJsonType&& j, tag /*unused*/, index_sequence /*unused*/) ++{ ++ return { std::forward(j).at(Is).template get()... }; ++} ++ ++template < typename BasicJsonType, typename T, std::size_t N, ++ enable_if_t < !std::is_default_constructible>::value, int > = 0 > ++auto from_json(BasicJsonType && j, tag> t) ++-> decltype(j.template get(), ++from_json_array_impl(std::forward(j), t, make_index_sequence {})) ++{ ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) + { +- arr[i] = j.at(i).template get(); ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); + } ++ ++ return from_json_array_impl(std::forward(j), t, make_index_sequence {}); + } + + template +@@ -322,22 +346,67 @@ void from_json(const BasicJsonType& j, ArithmeticType& val) + } + } + +-template +-void from_json(const BasicJsonType& j, std::pair& p) ++template>::value, int> = 0> ++void from_json(BasicJsonType && j, std::pair& p) ++{ ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); ++ } ++ ++ p = {std::forward(j).at(0).template get(), ++ std::forward(j).at(1).template get() ++ }; ++} ++ ++template < typename BasicJsonType, class A1, class A2, ++ enable_if_t < !std::is_default_constructible>::value, int > = 0 > ++std::pair from_json(BasicJsonType && j, tag> /*unused*/) ++{ ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); ++ } ++ ++ return {std::forward(j).at(0).template get(), ++ std::forward(j).at(1).template get()}; ++} ++ ++template ++void from_json_tuple_impl(BasicJsonType&& j, Tuple& t, index_sequence /*unused*/) ++{ ++ t = std::make_tuple(std::forward(j).at(Idx).template get::type>()...); ++} ++ ++template>::value, int > = 0 > ++void from_json(BasicJsonType && j, std::tuple& t) + { +- p = {j.at(0).template get(), j.at(1).template get()}; ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); ++ } ++ ++ from_json_tuple_impl(std::forward(j), t, index_sequence_for {}); + } + + template +-void from_json_tuple_impl(const BasicJsonType& j, Tuple& t, index_sequence /*unused*/) ++Tuple from_json_tuple_impl(BasicJsonType&& j, tag /*unused*/, index_sequence /*unused*/) + { +- t = std::make_tuple(j.at(Idx).template get::type>()...); ++ return std::make_tuple(std::forward(j).at(Idx).template get::type>()...); + } + +-template +-void from_json(const BasicJsonType& j, std::tuple& t) ++template < typename BasicJsonType, typename... Args, ++ enable_if_t < !std::is_default_constructible>::value, int > = 0 > ++std::tuple from_json(BasicJsonType && j, tag> t) + { +- from_json_tuple_impl(j, t, index_sequence_for {}); ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); ++ } ++ ++ return from_json_tuple_impl(std::forward(j), t, index_sequence_for {}); + } + + template < typename BasicJsonType, typename Key, typename Value, typename Compare, typename Allocator, +@@ -389,6 +458,14 @@ struct from_json_fn + { + return from_json(j, val); + } ++ ++ template ++ auto operator()(const BasicJsonType& j, detail::tag t) const ++ noexcept(noexcept(from_json(j, t))) ++ -> decltype(from_json(j, t)) ++ { ++ return from_json(j, t); ++ } + }; + } // namespace detail + +diff --git a/include/nlohmann/detail/meta/tag.hpp b/include/nlohmann/detail/meta/tag.hpp +new file mode 100644 +index 00000000..631887d1 +--- /dev/null ++++ b/include/nlohmann/detail/meta/tag.hpp +@@ -0,0 +1,10 @@ ++#pragma once ++ ++namespace nlohmann ++{ ++namespace detail ++{ ++// dispatching helper struct ++template struct tag {}; ++} // namespace detail ++} // namespace nlohmann +diff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp +index 1706cbdc..6c332a8f 100644 +--- a/include/nlohmann/detail/meta/type_traits.hpp ++++ b/include/nlohmann/detail/meta/type_traits.hpp +@@ -1,5 +1,6 @@ + #pragma once + ++#include // array + #include // numeric_limits + #include // false_type, is_constructible, is_integral, is_same, true_type + #include // declval +@@ -296,6 +297,12 @@ template + struct is_compatible_array_type + : is_compatible_array_type_impl {}; + ++template ++struct is_std_array : std::false_type {}; ++ ++template ++struct is_std_array> : std::true_type {}; ++ + template + struct is_constructible_array_type_impl : std::false_type {}; + +@@ -306,11 +313,26 @@ struct is_constructible_array_type_impl < + typename BasicJsonType::value_type>::value >> + : std::true_type {}; + ++template ++struct is_constructible_array_type_impl < ++ BasicJsonType, std::array, ++ enable_if_t>::value&& ++ is_detected>::value&& ++ is_complete_type>>::value>> ++{ ++ static constexpr bool value = ++ !is_iterator_traits>>::value && ++ (std::is_same::value || ++ has_from_json::value || ++ has_non_default_from_json::value); ++}; ++ + template + struct is_constructible_array_type_impl < + BasicJsonType, ConstructibleArrayType, + enable_if_t < !std::is_same::value&& ++ !is_std_array::value&& + std::is_default_constructible::value&& + (std::is_move_assignable::value || + std::is_copy_assignable::value)&& +@@ -320,11 +342,6 @@ is_complete_type < + detected_t>::value >> + { + static constexpr bool value = +- // This is needed because json_reverse_iterator has a ::iterator type, +- // furthermore, std::back_insert_iterator (and other iterators) have a +- // base class `iterator`... Therefore it is detected as a +- // ConstructibleArrayType. The real fix would be to have an Iterable +- // concept. + !is_iterator_traits>::value && + + (std::is_same + + ++#include + #include + + // #include +@@ -3090,6 +3091,18 @@ constexpr T static_const::value; + } // namespace detail + } // namespace nlohmann + ++// #include ++ ++ ++namespace nlohmann ++{ ++namespace detail ++{ ++// dispatching helper struct ++template struct tag {}; ++} // namespace detail ++} // namespace nlohmann ++ + // #include + + +@@ -3597,6 +3610,12 @@ template + struct is_compatible_array_type + : is_compatible_array_type_impl {}; + ++template ++struct is_std_array : std::false_type {}; ++ ++template ++struct is_std_array> : std::true_type {}; ++ + template + struct is_constructible_array_type_impl : std::false_type {}; + +@@ -3607,11 +3626,26 @@ struct is_constructible_array_type_impl < + typename BasicJsonType::value_type>::value >> + : std::true_type {}; + ++template ++struct is_constructible_array_type_impl < ++ BasicJsonType, std::array, ++ enable_if_t>::value&& ++ is_detected>::value&& ++ is_complete_type>>::value>> ++{ ++ static constexpr bool value = ++ !is_iterator_traits>>::value && ++ (std::is_same::value || ++ has_from_json::value || ++ has_non_default_from_json::value); ++}; ++ + template + struct is_constructible_array_type_impl < + BasicJsonType, ConstructibleArrayType, + enable_if_t < !std::is_same::value&& ++ !is_std_array::value&& + std::is_default_constructible::value&& + (std::is_move_assignable::value || + std::is_copy_assignable::value)&& +@@ -3621,11 +3655,6 @@ is_complete_type < + detected_t>::value >> + { + static constexpr bool value = +- // This is needed because json_reverse_iterator has a ::iterator type, +- // furthermore, std::back_insert_iterator (and other iterators) have a +- // base class `iterator`... Therefore it is detected as a +- // ConstructibleArrayType. The real fix would be to have an Iterable +- // concept. + !is_iterator_traits>::value && + + (std::is_same(); + } + ++template ++std::array from_json_inplace_array_impl(const BasicJsonType& j, index_sequence) ++{ ++ return {{ j.at(Idx).template get()... }}; ++} ++ + template + auto from_json_array_impl(const BasicJsonType& j, std::array& arr, +- priority_tag<2> /*unused*/) ++ priority_tag<2> /*unused*/) + -> decltype(j.template get(), void()) + { +- for (std::size_t i = 0; i < N; ++i) ++ arr = from_json_inplace_array_impl(j, make_index_sequence{}); ++} ++ ++template < typename BasicJsonType, typename Array, std::size_t... Is > ++Array from_json_array_impl(BasicJsonType&& j, tag /*unused*/, index_sequence /*unused*/) ++{ ++ return { std::forward(j).at(Is).template get()... }; ++} ++ ++template < typename BasicJsonType, typename T, std::size_t N, ++ enable_if_t < !std::is_default_constructible>::value, int > = 0 > ++auto from_json(BasicJsonType && j, tag> t) ++-> decltype(j.template get(), ++from_json_array_impl(std::forward(j), t, make_index_sequence {})) ++{ ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) + { +- arr[i] = j.at(i).template get(); ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); + } ++ ++ return from_json_array_impl(std::forward(j), t, make_index_sequence {}); + } + + template +@@ -4005,22 +4057,67 @@ void from_json(const BasicJsonType& j, ArithmeticType& val) + } + } + +-template +-void from_json(const BasicJsonType& j, std::pair& p) ++template>::value, int> = 0> ++void from_json(BasicJsonType && j, std::pair& p) ++{ ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); ++ } ++ ++ p = {std::forward(j).at(0).template get(), ++ std::forward(j).at(1).template get() ++ }; ++} ++ ++template < typename BasicJsonType, class A1, class A2, ++ enable_if_t < !std::is_default_constructible>::value, int > = 0 > ++std::pair from_json(BasicJsonType && j, tag> /*unused*/) ++{ ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); ++ } ++ ++ return {std::forward(j).at(0).template get(), ++ std::forward(j).at(1).template get()}; ++} ++ ++template ++void from_json_tuple_impl(BasicJsonType&& j, Tuple& t, index_sequence /*unused*/) ++{ ++ t = std::make_tuple(std::forward(j).at(Idx).template get::type>()...); ++} ++ ++template>::value, int > = 0 > ++void from_json(BasicJsonType && j, std::tuple& t) + { +- p = {j.at(0).template get(), j.at(1).template get()}; ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); ++ } ++ ++ from_json_tuple_impl(std::forward(j), t, index_sequence_for {}); + } + + template +-void from_json_tuple_impl(const BasicJsonType& j, Tuple& t, index_sequence /*unused*/) ++Tuple from_json_tuple_impl(BasicJsonType&& j, tag /*unused*/, index_sequence /*unused*/) + { +- t = std::make_tuple(j.at(Idx).template get::type>()...); ++ return std::make_tuple(std::forward(j).at(Idx).template get::type>()...); + } + +-template +-void from_json(const BasicJsonType& j, std::tuple& t) ++template < typename BasicJsonType, typename... Args, ++ enable_if_t < !std::is_default_constructible>::value, int > = 0 > ++std::tuple from_json(BasicJsonType && j, tag> t) + { +- from_json_tuple_impl(j, t, index_sequence_for {}); ++ if (JSON_HEDLEY_UNLIKELY(!j.is_array())) ++ { ++ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j)); ++ } ++ ++ return from_json_tuple_impl(std::forward(j), t, index_sequence_for {}); + } + + template < typename BasicJsonType, typename Key, typename Value, typename Compare, typename Allocator, +@@ -4072,6 +4169,14 @@ struct from_json_fn + { + return from_json(j, val); + } ++ ++ template ++ auto operator()(const BasicJsonType& j, detail::tag t) const ++ noexcept(noexcept(from_json(j, t))) ++ -> decltype(from_json(j, t)) ++ { ++ return from_json(j, t); ++ } + }; + } // namespace detail + +@@ -4659,7 +4764,7 @@ constexpr const auto& to_json = detail::static_const::value; + namespace nlohmann + { + +-template ++template + struct adl_serializer + { + /*! +@@ -4671,14 +4776,22 @@ struct adl_serializer + @param[in] j JSON value to read from + @param[in,out] val value to write to + */ +- template +- static auto from_json(BasicJsonType&& j, ValueType& val) noexcept( ++ template ++ static auto from_json(BasicJsonType && j, U& val) noexcept( + noexcept(::nlohmann::from_json(std::forward(j), val))) + -> decltype(::nlohmann::from_json(std::forward(j), val), void()) + { + ::nlohmann::from_json(std::forward(j), val); + } + ++ template ++ static auto from_json(BasicJsonType && j) noexcept( ++ noexcept(::nlohmann::from_json(std::forward(j), detail::tag {}))) ++ -> decltype(::nlohmann::from_json(std::forward(j), detail::tag {})) ++ { ++ return ::nlohmann::from_json(std::forward(j), detail::tag {}); ++ } ++ + /*! + @brief convert any value type to a JSON value + +@@ -4688,12 +4801,12 @@ struct adl_serializer + @param[in,out] j JSON value to write to + @param[in] val value to read from + */ +- template +- static auto to_json(BasicJsonType& j, ValueType&& val) noexcept( +- noexcept(::nlohmann::to_json(j, std::forward(val)))) +- -> decltype(::nlohmann::to_json(j, std::forward(val)), void()) ++ template ++ static auto to_json(BasicJsonType& j, U && val) noexcept( ++ noexcept(::nlohmann::to_json(j, std::forward(val)))) ++ -> decltype(::nlohmann::to_json(j, std::forward(val)), void()) + { +- ::nlohmann::to_json(j, std::forward(val)); ++ ::nlohmann::to_json(j, std::forward(val)); + } + }; + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/report.json new file mode 100644 index 000000000..c2095ad47 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2576/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2576, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 61, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-regression2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 61, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-user_defined_input", "test-constructor2", "test-regression2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/fix-patch-run.log new file mode 100644 index 000000000..81777d680 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/fix-patch-run.log @@ -0,0 +1,539 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6845 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.8 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5775 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.QIT8mD05 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.QIT8mD05/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.QIT8mD05/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.QIT8mD05/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.QIT8mD05/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.QIT8mD05/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.QIT8mD05 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=f4ec9777036d +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.WrCO5Y8xQ8/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-diagnostics.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux f4ec9777036d 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +[ 1%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 1%] Linking CXX executable test-algorithms +[ 1%] Built target test-algorithms +[ 3%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator +[ 4%] Built target test-allocator +[ 4%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string +[ 6%] Built target test-alt-string +[ 7%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro +[ 7%] Built target test-assert_macro +[ 9%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 10%] Linking CXX executable test-bson +[ 10%] Built target test-bson +[ 10%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 12%] Linking CXX executable test-capacity +[ 12%] Built target test-capacity +[ 13%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 13%] Linking CXX executable test-cbor +[ 13%] Built target test-cbor +[ 15%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator +[ 16%] Built target test-class_const_iterator +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 19%] Linking CXX executable test-class_lexer +[ 19%] Built target test-class_lexer +[ 21%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser +[ 22%] Built target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 24%] Linking CXX executable test-comparison +[ 24%] Built target test-comparison +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +[ 27%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +[ 28%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 30%] Linking CXX executable test-constructor2 +[ 30%] Built target test-constructor2 +[ 30%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 31%] Linking CXX executable test-convenience +[ 31%] Built target test-convenience +[ 33%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 33%] Linking CXX executable test-conversions +[ 33%] Built target test-conversions +[ 34%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 36%] Linking CXX executable test-deserialization +[ 36%] Built target test-deserialization +[ 36%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 37%] Linking CXX executable test-diagnostics +[ 37%] Built target test-diagnostics +[ 39%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1 +[ 39%] Built target test-element_access1 +[ 40%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 42%] Linking CXX executable test-element_access2 +[ 42%] Built target test-element_access2 +[ 42%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 43%] Linking CXX executable test-hash +[ 43%] Built target test-hash +[ 45%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 45%] Linking CXX executable test-inspection +[ 45%] Built target test-inspection +[ 46%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 48%] Linking CXX executable test-items +[ 48%] Built target test-items +[ 48%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 50%] Linking CXX executable test-iterators1 +[ 50%] Built target test-iterators1 +[ 50%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 51%] Linking CXX executable test-iterators2 +[ 51%] Built target test-iterators2 +[ 53%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 53%] Linking CXX executable test-json_patch +[ 53%] Built target test-json_patch +[ 54%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 56%] Linking CXX executable test-json_pointer +[ 56%] Built target test-json_pointer +[ 56%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 57%] Linking CXX executable test-large_json +[ 57%] Built target test-large_json +[ 59%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 59%] Linking CXX executable test-merge_patch +[ 59%] Built target test-merge_patch +[ 60%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 62%] Linking CXX executable test-meta +[ 62%] Built target test-meta +[ 62%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 63%] Linking CXX executable test-modifiers +[ 63%] Built target test-modifiers +[ 65%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 65%] Linking CXX executable test-msgpack +[ 65%] Built target test-msgpack +[ 66%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 68%] Linking CXX executable test-noexcept +[ 68%] Built target test-noexcept +[ 68%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 69%] Linking CXX executable test-ordered_json +[ 69%] Built target test-ordered_json +[ 71%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 71%] Linking CXX executable test-ordered_map +[ 71%] Built target test-ordered_map +[ 72%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 74%] Linking CXX executable test-pointer_access +[ 74%] Built target test-pointer_access +[ 74%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 75%] Linking CXX executable test-readme +[ 75%] Built target test-readme +[ 75%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 77%] Linking CXX executable test-reference_access +[ 77%] Built target test-reference_access +[ 78%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 78%] Linking CXX executable test-regression1 +[ 78%] Built target test-regression1 +[ 80%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 81%] Linking CXX executable test-regression2 +[ 81%] Built target test-regression2 +[ 81%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 83%] Linking CXX executable test-serialization +[ 83%] Built target test-serialization +[ 84%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 84%] Linking CXX executable test-testsuites +[ 84%] Built target test-testsuites +[ 86%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 87%] Linking CXX executable test-to_chars +[ 87%] Built target test-to_chars +[ 87%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 89%] Linking CXX executable test-ubjson +[ 89%] Built target test-ubjson +[ 90%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 90%] Linking CXX executable test-udt +[ 90%] Built target test-udt +[ 92%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 93%] Linking CXX executable test-udt_macro +[ 93%] Built target test-udt_macro +[ 93%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 95%] Linking CXX executable test-unicode +[ 95%] Built target test-unicode +[ 96%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 96%] Linking CXX executable test-user_defined_input +[ 96%] Built target test-user_defined_input +[ 98%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring +[100%] Built target test-wstring +Test project /home/json/build + Start 1: download_test_data + 1/61 Test #1: download_test_data ........................... Passed 0.07 sec + Start 2: test-algorithms + 2/61 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/61 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/61 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/61 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/61 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-capacity + 7/61 Test #7: test-capacity ................................ Passed 0.00 sec + Start 8: test-cbor + 8/61 Test #8: test-cbor .................................... Passed 54.76 sec + Start 9: test-class_const_iterator + 9/61 Test #9: test-class_const_iterator .................... Passed 0.00 sec + Start 10: test-class_iterator +10/61 Test #10: test-class_iterator .......................... Passed 0.00 sec + Start 11: test-class_lexer +11/61 Test #11: test-class_lexer ............................. Passed 0.00 sec + Start 12: test-class_parser +12/61 Test #12: test-class_parser ............................ Passed 0.09 sec + Start 13: test-comparison +13/61 Test #13: test-comparison .............................. Passed 0.00 sec + Start 14: test-concepts +14/61 Test #14: test-concepts ................................ Passed 0.00 sec + Start 15: test-constructor1 +15/61 Test #15: test-constructor1 ............................ Passed 0.01 sec + Start 16: test-constructor2 +16/61 Test #16: test-constructor2 ............................ Passed 0.00 sec + Start 17: test-convenience +17/61 Test #17: test-convenience ............................. Passed 0.00 sec + Start 18: test-conversions +18/61 Test #18: test-conversions ............................. Passed 0.01 sec + Start 19: test-deserialization +19/61 Test #19: test-deserialization ......................... Passed 0.01 sec + Start 20: test-diagnostics +20/61 Test #20: test-diagnostics ............................. Passed 0.00 sec + Start 21: test-element_access1 +21/61 Test #21: test-element_access1 ......................... Passed 0.01 sec + Start 22: test-element_access2 +22/61 Test #22: test-element_access2 ......................... Passed 0.01 sec + Start 23: test-hash +23/61 Test #23: test-hash .................................... Passed 0.00 sec + Start 24: test-inspection +24/61 Test #24: test-inspection .............................. Passed 7.01 sec + Start 25: test-items +25/61 Test #25: test-items ................................... Passed 0.00 sec + Start 26: test-iterators1 +26/61 Test #26: test-iterators1 .............................. Passed 0.01 sec + Start 27: test-iterators2 +27/61 Test #27: test-iterators2 .............................. Passed 0.02 sec + Start 28: test-json_patch +28/61 Test #28: test-json_patch .............................. Passed 0.01 sec + Start 29: test-json_pointer +29/61 Test #29: test-json_pointer ............................ Passed 0.00 sec + Start 30: test-large_json +30/61 Test #30: test-large_json .............................. Passed 5.96 sec + Start 31: test-merge_patch +31/61 Test #31: test-merge_patch ............................. Passed 0.00 sec + Start 32: test-meta +32/61 Test #32: test-meta .................................... Passed 0.00 sec + Start 33: test-modifiers +33/61 Test #33: test-modifiers ............................... Passed 0.01 sec + Start 34: test-msgpack +34/61 Test #34: test-msgpack ................................. Passed 53.56 sec + Start 35: test-noexcept +35/61 Test #35: test-noexcept ................................ Passed 0.00 sec + Start 36: test-ordered_json +36/61 Test #36: test-ordered_json ............................ Passed 0.00 sec + Start 37: test-ordered_map +37/61 Test #37: test-ordered_map ............................. Passed 0.00 sec + Start 38: test-pointer_access +38/61 Test #38: test-pointer_access .......................... Passed 0.00 sec + Start 39: test-readme +39/61 Test #39: test-readme .................................. Passed 0.00 sec + Start 40: test-reference_access +40/61 Test #40: test-reference_access ........................ Passed 0.00 sec + Start 41: test-regression1 +41/61 Test #41: test-regression1 ............................. Passed 8.88 sec + Start 42: test-regression2 +42/61 Test #42: test-regression2 ............................. Passed 0.00 sec + Start 43: test-serialization +43/61 Test #43: test-serialization ........................... Passed 0.00 sec + Start 44: test-testsuites +44/61 Test #44: test-testsuites .............................. Passed 0.09 sec + Start 45: test-to_chars +45/61 Test #45: test-to_chars ................................ Passed 0.00 sec + Start 46: test-ubjson +46/61 Test #46: test-ubjson .................................. Passed 18.05 sec + Start 47: test-udt +47/61 Test #47: test-udt ..................................... Passed 0.00 sec + Start 48: test-udt_macro +48/61 Test #48: test-udt_macro ............................... Passed 0.00 sec + Start 49: test-unicode +49/61 Test #49: test-unicode ................................. Passed 227.13 sec + Start 50: test-user_defined_input +50/61 Test #50: test-user_defined_input ...................... Passed 0.00 sec + Start 51: test-wstring +51/61 Test #51: test-wstring ................................. Passed 0.00 sec + Start 52: cmake_import_configure +52/61 Test #52: cmake_import_configure ....................... Passed 0.20 sec + Start 53: cmake_import_build +53/61 Test #53: cmake_import_build ........................... Passed 2.45 sec + Start 54: cmake_import_minver_configure +54/61 Test #54: cmake_import_minver_configure ................ Passed 0.19 sec + Start 55: cmake_import_minver_build +55/61 Test #55: cmake_import_minver_build .................... Passed 1.24 sec + Start 56: cmake_add_subdirectory_configure +56/61 Test #56: cmake_add_subdirectory_configure ............. Passed 0.20 sec + Start 57: cmake_add_subdirectory_build +57/61 Test #57: cmake_add_subdirectory_build ................. Passed 3.63 sec + Start 58: cmake_fetch_content_configure +58/61 Test #58: cmake_fetch_content_configure ................ Passed 0.87 sec + Start 59: cmake_fetch_content_build +59/61 Test #59: cmake_fetch_content_build .................... Passed 2.43 sec + Start 60: cmake_target_include_directories_configure +60/61 Test #60: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 61: cmake_target_include_directories_build +61/61 Test #61: cmake_target_include_directories_build ....... Passed 4.79 sec + +100% tests passed, 0 tests failed out of 61 + +Label Time Summary: +all = 375.69 sec*proc (50 tests) +git_required = 3.30 sec*proc (2 tests) +not_reproducible = 16.19 sec*proc (10 tests) + +Total Test time (real) = 391.97 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/fix.patch new file mode 100644 index 000000000..52c55cd02 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/fix.patch @@ -0,0 +1,30 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index c55bdf54..a786d713 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -2236,6 +2236,10 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + other.m_type = value_t::null; + other.m_value = {}; + ++#if JSON_DIAGNOSTICS ++ m_parent = other.m_parent; ++#endif ++ + set_parents(); + assert_invariant(); + } +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index cbe69ef4..9629583e 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -19271,6 +19271,10 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + other.m_type = value_t::null; + other.m_value = {}; + ++#if JSON_DIAGNOSTICS ++ m_parent = other.m_parent; ++#endif ++ + set_parents(); + assert_invariant(); + } diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/report.json new file mode 100644 index 000000000..1ad5e504c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2866/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2866, "valid": true, "error_msg": "", "fixed_tests": {"test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-ubjson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 61, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-regression2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 60, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-constructor2", "test-regression2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 61, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "cmake_import_build", "test-constructor1", "test-unicode", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-user_defined_input", "test-constructor2", "test-regression2", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/fix-patch-run.log new file mode 100644 index 000000000..663709c8b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/fix-patch-run.log @@ -0,0 +1,569 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7246 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (17.3 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 1s (16.7 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6105 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.V2mZ5Hd9 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.V2mZ5Hd9/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.V2mZ5Hd9/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.V2mZ5Hd9/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.V2mZ5Hd9/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.V2mZ5Hd9/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.V2mZ5Hd9 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=1bd86a0a8ea7 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.nw9JEs0FJJ/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-diagnostics.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 1bd86a0a8ea7 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +[ 1%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms +[ 2%] Built target test-algorithms +[ 3%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator +[ 4%] Built target test-allocator +[ 5%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string +[ 6%] Built target test-alt-string +[ 6%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro +[ 7%] Built target test-assert_macro +[ 8%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 9%] Linking CXX executable test-bson +[ 9%] Built target test-bson +[ 10%] Building CXX object test/CMakeFiles/test-byte_container_with_subtype.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype +[ 11%] Built target test-byte_container_with_subtype +[ 12%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity +[ 13%] Built target test-capacity +[ 13%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor +[ 14%] Built target test-cbor +[ 15%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator +[ 16%] Built target test-class_const_iterator +[ 17%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer +[ 20%] Built target test-class_lexer +[ 20%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 21%] Linking CXX executable test-class_parser +[ 21%] Built target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison +[ 23%] Built target test-comparison +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +[ 26%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +[ 27%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 28%] Linking CXX executable test-constructor2 +[ 28%] Built target test-constructor2 +[ 29%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience +[ 30%] Built target test-convenience +[ 31%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions +[ 32%] Built target test-conversions +[ 33%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization +[ 34%] Built target test-deserialization +[ 34%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 35%] Linking CXX executable test-diagnostics +[ 35%] Built target test-diagnostics +[ 36%] Building CXX object test/CMakeFiles/test-disabled_exceptions.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions +[ 37%] Built target test-disabled_exceptions +[ 38%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1 +[ 39%] Built target test-element_access1 +[ 40%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 41%] Linking CXX executable test-element_access2 +[ 41%] Built target test-element_access2 +[ 41%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 42%] Linking CXX executable test-hash +[ 42%] Built target test-hash +[ 43%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 44%] Linking CXX executable test-inspection +[ 44%] Built target test-inspection +[ 45%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items +[ 46%] Built target test-items +[ 47%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 48%] Linking CXX executable test-iterators1 +[ 48%] Built target test-iterators1 +[ 49%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 49%] Linking CXX executable test-iterators2 +[ 49%] Built target test-iterators2 +[ 50%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 51%] Linking CXX executable test-json_patch +[ 51%] Built target test-json_patch +[ 52%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 53%] Linking CXX executable test-json_pointer +[ 53%] Built target test-json_pointer +[ 54%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 55%] Linking CXX executable test-large_json +[ 55%] Built target test-large_json +[ 56%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 56%] Linking CXX executable test-merge_patch +[ 56%] Built target test-merge_patch +[ 57%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 58%] Linking CXX executable test-meta +[ 58%] Built target test-meta +[ 59%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 60%] Linking CXX executable test-modifiers +[ 60%] Built target test-modifiers +[ 61%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack +[ 62%] Built target test-msgpack +[ 63%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept +[ 63%] Built target test-noexcept +[ 64%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json +[ 65%] Built target test-ordered_json +[ 66%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 67%] Linking CXX executable test-ordered_map +[ 67%] Built target test-ordered_map +[ 68%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 69%] Linking CXX executable test-pointer_access +[ 69%] Built target test-pointer_access +[ 70%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 70%] Linking CXX executable test-readme +[ 70%] Built target test-readme +[ 71%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 72%] Linking CXX executable test-reference_access +[ 72%] Built target test-reference_access +[ 73%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1 +[ 74%] Built target test-regression1 +[ 75%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2 +[ 76%] Built target test-regression2 +[ 77%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 77%] Linking CXX executable test-serialization +[ 77%] Built target test-serialization +[ 78%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 79%] Linking CXX executable test-testsuites +[ 79%] Built target test-testsuites +[ 80%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 81%] Linking CXX executable test-to_chars +[ 81%] Built target test-to_chars +[ 82%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 83%] Linking CXX executable test-ubjson +[ 83%] Built target test-ubjson +[ 84%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 84%] Linking CXX executable test-udt +[ 84%] Built target test-udt +[ 85%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 86%] Linking CXX executable test-udt_macro +[ 86%] Built target test-udt_macro +[ 87%] Building CXX object test/CMakeFiles/test-unicode1.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1 +[ 88%] Built target test-unicode1 +[ 89%] Building CXX object test/CMakeFiles/test-unicode2.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2 +[ 90%] Built target test-unicode2 +[ 91%] Building CXX object test/CMakeFiles/test-unicode3.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3 +[ 91%] Built target test-unicode3 +[ 92%] Building CXX object test/CMakeFiles/test-unicode4.dir/src/unit-unicode4.cpp.o +[ 93%] Linking CXX executable test-unicode4 +[ 93%] Built target test-unicode4 +[ 94%] Building CXX object test/CMakeFiles/test-unicode5.dir/src/unit-unicode5.cpp.o +[ 95%] Linking CXX executable test-unicode5 +[ 95%] Built target test-unicode5 +[ 96%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 97%] Linking CXX executable test-user_defined_input +[ 97%] Built target test-user_defined_input +[ 98%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring +[100%] Built target test-wstring +Test project /home/json/build + Start 1: download_test_data + 1/67 Test #1: download_test_data ........................... Passed 0.07 sec + Start 2: test-algorithms + 2/67 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/67 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/67 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/67 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/67 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-byte_container_with_subtype + 7/67 Test #7: test-byte_container_with_subtype ............. Passed 0.00 sec + Start 8: test-capacity + 8/67 Test #8: test-capacity ................................ Passed 0.00 sec + Start 9: test-cbor + 9/67 Test #9: test-cbor .................................... Passed 45.96 sec + Start 10: test-class_const_iterator +10/67 Test #10: test-class_const_iterator .................... Passed 0.00 sec + Start 11: test-class_iterator +11/67 Test #11: test-class_iterator .......................... Passed 0.00 sec + Start 12: test-class_lexer +12/67 Test #12: test-class_lexer ............................. Passed 0.00 sec + Start 13: test-class_parser +13/67 Test #13: test-class_parser ............................ Passed 0.08 sec + Start 14: test-comparison +14/67 Test #14: test-comparison .............................. Passed 0.00 sec + Start 15: test-concepts +15/67 Test #15: test-concepts ................................ Passed 0.00 sec + Start 16: test-constructor1 +16/67 Test #16: test-constructor1 ............................ Passed 0.01 sec + Start 17: test-constructor2 +17/67 Test #17: test-constructor2 ............................ Passed 0.00 sec + Start 18: test-convenience +18/67 Test #18: test-convenience ............................. Passed 0.00 sec + Start 19: test-conversions +19/67 Test #19: test-conversions ............................. Passed 0.01 sec + Start 20: test-deserialization +20/67 Test #20: test-deserialization ......................... Passed 0.01 sec + Start 21: test-diagnostics +21/67 Test #21: test-diagnostics ............................. Passed 0.00 sec + Start 22: test-disabled_exceptions +22/67 Test #22: test-disabled_exceptions ..................... Passed 0.00 sec + Start 23: test-element_access1 +23/67 Test #23: test-element_access1 ......................... Passed 0.01 sec + Start 24: test-element_access2 +24/67 Test #24: test-element_access2 ......................... Passed 0.01 sec + Start 25: test-hash +25/67 Test #25: test-hash .................................... Passed 0.00 sec + Start 26: test-inspection +26/67 Test #26: test-inspection .............................. Passed 6.25 sec + Start 27: test-items +27/67 Test #27: test-items ................................... Passed 0.00 sec + Start 28: test-iterators1 +28/67 Test #28: test-iterators1 .............................. Passed 0.01 sec + Start 29: test-iterators2 +29/67 Test #29: test-iterators2 .............................. Passed 0.02 sec + Start 30: test-json_patch +30/67 Test #30: test-json_patch .............................. Passed 0.01 sec + Start 31: test-json_pointer +31/67 Test #31: test-json_pointer ............................ Passed 0.00 sec + Start 32: test-large_json +32/67 Test #32: test-large_json .............................. Passed 5.38 sec + Start 33: test-merge_patch +33/67 Test #33: test-merge_patch ............................. Passed 0.00 sec + Start 34: test-meta +34/67 Test #34: test-meta .................................... Passed 0.00 sec + Start 35: test-modifiers +35/67 Test #35: test-modifiers ............................... Passed 0.01 sec + Start 36: test-msgpack +36/67 Test #36: test-msgpack ................................. Passed 46.49 sec + Start 37: test-noexcept +37/67 Test #37: test-noexcept ................................ Passed 0.00 sec + Start 38: test-ordered_json +38/67 Test #38: test-ordered_json ............................ Passed 0.00 sec + Start 39: test-ordered_map +39/67 Test #39: test-ordered_map ............................. Passed 0.00 sec + Start 40: test-pointer_access +40/67 Test #40: test-pointer_access .......................... Passed 0.00 sec + Start 41: test-readme +41/67 Test #41: test-readme .................................. Passed 0.00 sec + Start 42: test-reference_access +42/67 Test #42: test-reference_access ........................ Passed 0.00 sec + Start 43: test-regression1 +43/67 Test #43: test-regression1 ............................. Passed 7.84 sec + Start 44: test-regression2 +44/67 Test #44: test-regression2 ............................. Passed 0.00 sec + Start 45: test-serialization +45/67 Test #45: test-serialization ........................... Passed 0.00 sec + Start 46: test-testsuites +46/67 Test #46: test-testsuites .............................. Passed 0.10 sec + Start 47: test-to_chars +47/67 Test #47: test-to_chars ................................ Passed 0.00 sec + Start 48: test-ubjson +48/67 Test #48: test-ubjson .................................. Passed 14.71 sec + Start 49: test-udt +49/67 Test #49: test-udt ..................................... Passed 0.00 sec + Start 50: test-udt_macro +50/67 Test #50: test-udt_macro ............................... Passed 0.00 sec + Start 51: test-unicode1 +51/67 Test #51: test-unicode1 ................................ Passed 6.39 sec + Start 52: test-unicode2 +52/67 Test #52: test-unicode2 ................................ Passed 10.64 sec + Start 53: test-unicode3 +53/67 Test #53: test-unicode3 ................................ Passed 39.49 sec + Start 54: test-unicode4 +54/67 Test #54: test-unicode4 ................................ Passed 130.78 sec + Start 55: test-unicode5 +55/67 Test #55: test-unicode5 ................................ Passed 31.11 sec + Start 56: test-user_defined_input +56/67 Test #56: test-user_defined_input ...................... Passed 0.00 sec + Start 57: test-wstring +57/67 Test #57: test-wstring ................................. Passed 0.00 sec + Start 58: cmake_import_configure +58/67 Test #58: cmake_import_configure ....................... Passed 0.19 sec + Start 59: cmake_import_build +59/67 Test #59: cmake_import_build ........................... Passed 2.42 sec + Start 60: cmake_import_minver_configure +60/67 Test #60: cmake_import_minver_configure ................ Passed 0.19 sec + Start 61: cmake_import_minver_build +61/67 Test #61: cmake_import_minver_build .................... Passed 1.21 sec + Start 62: cmake_add_subdirectory_configure +62/67 Test #62: cmake_add_subdirectory_configure ............. Passed 0.20 sec + Start 63: cmake_add_subdirectory_build +63/67 Test #63: cmake_add_subdirectory_build ................. Passed 3.59 sec + Start 64: cmake_fetch_content_configure +64/67 Test #64: cmake_fetch_content_configure ................ Passed 0.86 sec + Start 65: cmake_fetch_content_build +65/67 Test #65: cmake_fetch_content_build .................... Passed 2.43 sec + Start 66: cmake_target_include_directories_configure +66/67 Test #66: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 67: cmake_target_include_directories_build +67/67 Test #67: cmake_target_include_directories_build ....... Passed 4.79 sec + +100% tests passed, 0 tests failed out of 67 + +Label Time Summary: +all = 345.37 sec*proc (56 tests) +git_required = 3.29 sec*proc (2 tests) +not_reproducible = 16.05 sec*proc (10 tests) + +Total Test time (real) = 361.51 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/fix.patch new file mode 100644 index 000000000..daa487b22 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/fix.patch @@ -0,0 +1,224 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index b679febe..f364c4ee 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -1321,19 +1321,63 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + return it; + } + ++ // helper trait to check if object_t has a capacity() method (e.g., ordered_map) ++ template ++ struct has_capacity : std::false_type {}; ++ ++ template ++ struct has_capacity().capacity()), std::size_t>::value>::type> : std::true_type {}; ++ ++ std::size_t get_object_capacity() const noexcept ++ { ++#if JSON_DIAGNOSTICS ++ return get_object_capacity_impl(); ++#else ++ return std::size_t(-1); ++#endif ++ } ++ ++#if JSON_DIAGNOSTICS ++ template::value, int>::type = 0> ++ std::size_t get_object_capacity_impl() const noexcept ++ { ++ return m_value.object->capacity(); ++ } ++ ++ template::value, int>::type = 0> ++ std::size_t get_object_capacity_impl() const noexcept ++ { ++ return std::size_t(-1); ++ } ++#endif ++ + reference set_parent(reference j, std::size_t old_capacity = std::size_t(-1)) + { + #if JSON_DIAGNOSTICS + if (old_capacity != std::size_t(-1)) + { + // see https://github.com/nlohmann/json/issues/2838 +- JSON_ASSERT(type() == value_t::array); +- if (JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity)) ++ // Account for capacity changes in array or ordered_map containers ++ if (is_array() && JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity)) + { + // capacity has changed: update all parents + set_parents(); + return j; + } ++ ++ // ordered_map objects also have capacity() (inherited from std::vector) ++ // and may reallocate, invalidating parent pointers ++ if (is_object()) ++ { ++ auto cap = get_object_capacity(); ++ if (cap != std::size_t(-1) && JSON_HEDLEY_UNLIKELY(cap != old_capacity)) ++ { ++ set_parents(); ++ return j; ++ } ++ } + } + + j.m_parent = this; +@@ -3767,7 +3811,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + // operator[] only works for objects + if (JSON_HEDLEY_LIKELY(is_object())) + { +- return set_parent(m_value.object->operator[](key)); ++ const std::size_t old_capacity = get_object_capacity(); ++ return set_parent(m_value.object->operator[](key), old_capacity); + } + + JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument with " + std::string(type_name()), *this)); +@@ -3857,7 +3902,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + // at only works for objects + if (JSON_HEDLEY_LIKELY(is_object())) + { +- return set_parent(m_value.object->operator[](key)); ++ const std::size_t old_capacity = get_object_capacity(); ++ return set_parent(m_value.object->operator[](key), old_capacity); + } + + JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument with " + std::string(type_name()), *this)); +@@ -5529,8 +5575,9 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + // add element to object ++ const std::size_t old_capacity = get_object_capacity(); + auto res = m_value.object->insert(val); +- set_parent(res.first->second); ++ set_parent(res.first->second, old_capacity); + } + + /*! +@@ -5683,8 +5730,9 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + // add element to array (perfect forwarding) ++ const std::size_t old_capacity = get_object_capacity(); + auto res = m_value.object->emplace(std::forward(args)...); +- set_parent(res.first->second); ++ set_parent(res.first->second, old_capacity); + + // create result iterator and set iterator to the result of emplace + auto it = begin(); +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 077338cb..3203cf79 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -18704,19 +18704,63 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + return it; + } + ++ // helper trait to check if object_t has a capacity() method (e.g., ordered_map) ++ template ++ struct has_capacity : std::false_type {}; ++ ++ template ++ struct has_capacity().capacity()), std::size_t>::value>::type> : std::true_type {}; ++ ++ std::size_t get_object_capacity() const noexcept ++ { ++#if JSON_DIAGNOSTICS ++ return get_object_capacity_impl(); ++#else ++ return std::size_t(-1); ++#endif ++ } ++ ++#if JSON_DIAGNOSTICS ++ template::value, int>::type = 0> ++ std::size_t get_object_capacity_impl() const noexcept ++ { ++ return m_value.object->capacity(); ++ } ++ ++ template::value, int>::type = 0> ++ std::size_t get_object_capacity_impl() const noexcept ++ { ++ return std::size_t(-1); ++ } ++#endif ++ + reference set_parent(reference j, std::size_t old_capacity = std::size_t(-1)) + { + #if JSON_DIAGNOSTICS + if (old_capacity != std::size_t(-1)) + { + // see https://github.com/nlohmann/json/issues/2838 +- JSON_ASSERT(type() == value_t::array); +- if (JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity)) ++ // Account for capacity changes in array or ordered_map containers ++ if (is_array() && JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity)) + { + // capacity has changed: update all parents + set_parents(); + return j; + } ++ ++ // ordered_map objects also have capacity() (inherited from std::vector) ++ // and may reallocate, invalidating parent pointers ++ if (is_object()) ++ { ++ auto cap = get_object_capacity(); ++ if (cap != std::size_t(-1) && JSON_HEDLEY_UNLIKELY(cap != old_capacity)) ++ { ++ set_parents(); ++ return j; ++ } ++ } + } + + j.m_parent = this; +@@ -21150,7 +21194,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + // operator[] only works for objects + if (JSON_HEDLEY_LIKELY(is_object())) + { +- return set_parent(m_value.object->operator[](key)); ++ const std::size_t old_capacity = get_object_capacity(); ++ return set_parent(m_value.object->operator[](key), old_capacity); + } + + JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument with " + std::string(type_name()), *this)); +@@ -21240,7 +21285,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + // at only works for objects + if (JSON_HEDLEY_LIKELY(is_object())) + { +- return set_parent(m_value.object->operator[](key)); ++ const std::size_t old_capacity = get_object_capacity(); ++ return set_parent(m_value.object->operator[](key), old_capacity); + } + + JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument with " + std::string(type_name()), *this)); +@@ -22912,8 +22958,9 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + // add element to object ++ const std::size_t old_capacity = get_object_capacity(); + auto res = m_value.object->insert(val); +- set_parent(res.first->second); ++ set_parent(res.first->second, old_capacity); + } + + /*! +@@ -23066,8 +23113,9 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + // add element to array (perfect forwarding) ++ const std::size_t old_capacity = get_object_capacity(); + auto res = m_value.object->emplace(std::forward(args)...); +- set_parent(res.first->second); ++ set_parent(res.first->second, old_capacity); + + // create result iterator and set iterator to the result of emplace + auto it = begin(); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/report.json new file mode 100644 index 000000000..b04417f88 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2963/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2963, "valid": true, "error_msg": "", "fixed_tests": {"test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-ubjson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 66, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "test-unicode4", "test-constructor1", "cmake_import_build", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-disabled_exceptions", "test-user_defined_input", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/fix-patch-run.log new file mode 100644 index 000000000..ebd343ce5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/fix-patch-run.log @@ -0,0 +1,570 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7459 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.3 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.1 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5768 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.ULcRBdVk +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.ULcRBdVk/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.ULcRBdVk/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.ULcRBdVk/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.ULcRBdVk/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.ULcRBdVk/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.ULcRBdVk +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=2e505b435c16 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.0BieoDeVpL/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-regression2.cpp +patching file include/nlohmann/detail/output/output_adapters.hpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 2e505b435c16 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +[ 1%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms +[ 2%] Built target test-algorithms +[ 3%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator +[ 4%] Built target test-allocator +[ 5%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string +[ 6%] Built target test-alt-string +[ 6%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro +[ 7%] Built target test-assert_macro +[ 8%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 9%] Linking CXX executable test-bson +[ 9%] Built target test-bson +[ 10%] Building CXX object test/CMakeFiles/test-byte_container_with_subtype.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype +[ 11%] Built target test-byte_container_with_subtype +[ 12%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity +[ 13%] Built target test-capacity +[ 13%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor +[ 14%] Built target test-cbor +[ 15%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator +[ 16%] Built target test-class_const_iterator +[ 17%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer +[ 20%] Built target test-class_lexer +[ 20%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 21%] Linking CXX executable test-class_parser +[ 21%] Built target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison +[ 23%] Built target test-comparison +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +[ 26%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +[ 27%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 28%] Linking CXX executable test-constructor2 +[ 28%] Built target test-constructor2 +[ 29%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience +[ 30%] Built target test-convenience +[ 31%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions +[ 32%] Built target test-conversions +[ 33%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization +[ 34%] Built target test-deserialization +[ 34%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 35%] Linking CXX executable test-diagnostics +[ 35%] Built target test-diagnostics +[ 36%] Building CXX object test/CMakeFiles/test-disabled_exceptions.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions +[ 37%] Built target test-disabled_exceptions +[ 38%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1 +[ 39%] Built target test-element_access1 +[ 40%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 41%] Linking CXX executable test-element_access2 +[ 41%] Built target test-element_access2 +[ 41%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 42%] Linking CXX executable test-hash +[ 42%] Built target test-hash +[ 43%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 44%] Linking CXX executable test-inspection +[ 44%] Built target test-inspection +[ 45%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items +[ 46%] Built target test-items +[ 47%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 48%] Linking CXX executable test-iterators1 +[ 48%] Built target test-iterators1 +[ 49%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 49%] Linking CXX executable test-iterators2 +[ 49%] Built target test-iterators2 +[ 50%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 51%] Linking CXX executable test-json_patch +[ 51%] Built target test-json_patch +[ 52%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 53%] Linking CXX executable test-json_pointer +[ 53%] Built target test-json_pointer +[ 54%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 55%] Linking CXX executable test-large_json +[ 55%] Built target test-large_json +[ 56%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 56%] Linking CXX executable test-merge_patch +[ 56%] Built target test-merge_patch +[ 57%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 58%] Linking CXX executable test-meta +[ 58%] Built target test-meta +[ 59%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 60%] Linking CXX executable test-modifiers +[ 60%] Built target test-modifiers +[ 61%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack +[ 62%] Built target test-msgpack +[ 63%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept +[ 63%] Built target test-noexcept +[ 64%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json +[ 65%] Built target test-ordered_json +[ 66%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 67%] Linking CXX executable test-ordered_map +[ 67%] Built target test-ordered_map +[ 68%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 69%] Linking CXX executable test-pointer_access +[ 69%] Built target test-pointer_access +[ 70%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 70%] Linking CXX executable test-readme +[ 70%] Built target test-readme +[ 71%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 72%] Linking CXX executable test-reference_access +[ 72%] Built target test-reference_access +[ 73%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1 +[ 74%] Built target test-regression1 +[ 75%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2 +[ 76%] Built target test-regression2 +[ 77%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 77%] Linking CXX executable test-serialization +[ 77%] Built target test-serialization +[ 78%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 79%] Linking CXX executable test-testsuites +[ 79%] Built target test-testsuites +[ 80%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 81%] Linking CXX executable test-to_chars +[ 81%] Built target test-to_chars +[ 82%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 83%] Linking CXX executable test-ubjson +[ 83%] Built target test-ubjson +[ 84%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 84%] Linking CXX executable test-udt +[ 84%] Built target test-udt +[ 85%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 86%] Linking CXX executable test-udt_macro +[ 86%] Built target test-udt_macro +[ 87%] Building CXX object test/CMakeFiles/test-unicode1.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1 +[ 88%] Built target test-unicode1 +[ 89%] Building CXX object test/CMakeFiles/test-unicode2.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2 +[ 90%] Built target test-unicode2 +[ 91%] Building CXX object test/CMakeFiles/test-unicode3.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3 +[ 91%] Built target test-unicode3 +[ 92%] Building CXX object test/CMakeFiles/test-unicode4.dir/src/unit-unicode4.cpp.o +[ 93%] Linking CXX executable test-unicode4 +[ 93%] Built target test-unicode4 +[ 94%] Building CXX object test/CMakeFiles/test-unicode5.dir/src/unit-unicode5.cpp.o +[ 95%] Linking CXX executable test-unicode5 +[ 95%] Built target test-unicode5 +[ 96%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 97%] Linking CXX executable test-user_defined_input +[ 97%] Built target test-user_defined_input +[ 98%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring +[100%] Built target test-wstring +Test project /home/json/build + Start 1: download_test_data + 1/67 Test #1: download_test_data ........................... Passed 0.07 sec + Start 2: test-algorithms + 2/67 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/67 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/67 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/67 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/67 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-byte_container_with_subtype + 7/67 Test #7: test-byte_container_with_subtype ............. Passed 0.00 sec + Start 8: test-capacity + 8/67 Test #8: test-capacity ................................ Passed 0.00 sec + Start 9: test-cbor + 9/67 Test #9: test-cbor .................................... Passed 46.58 sec + Start 10: test-class_const_iterator +10/67 Test #10: test-class_const_iterator .................... Passed 0.00 sec + Start 11: test-class_iterator +11/67 Test #11: test-class_iterator .......................... Passed 0.00 sec + Start 12: test-class_lexer +12/67 Test #12: test-class_lexer ............................. Passed 0.00 sec + Start 13: test-class_parser +13/67 Test #13: test-class_parser ............................ Passed 0.08 sec + Start 14: test-comparison +14/67 Test #14: test-comparison .............................. Passed 0.00 sec + Start 15: test-concepts +15/67 Test #15: test-concepts ................................ Passed 0.00 sec + Start 16: test-constructor1 +16/67 Test #16: test-constructor1 ............................ Passed 0.01 sec + Start 17: test-constructor2 +17/67 Test #17: test-constructor2 ............................ Passed 0.00 sec + Start 18: test-convenience +18/67 Test #18: test-convenience ............................. Passed 0.00 sec + Start 19: test-conversions +19/67 Test #19: test-conversions ............................. Passed 0.01 sec + Start 20: test-deserialization +20/67 Test #20: test-deserialization ......................... Passed 0.01 sec + Start 21: test-diagnostics +21/67 Test #21: test-diagnostics ............................. Passed 0.00 sec + Start 22: test-disabled_exceptions +22/67 Test #22: test-disabled_exceptions ..................... Passed 0.00 sec + Start 23: test-element_access1 +23/67 Test #23: test-element_access1 ......................... Passed 0.01 sec + Start 24: test-element_access2 +24/67 Test #24: test-element_access2 ......................... Passed 0.01 sec + Start 25: test-hash +25/67 Test #25: test-hash .................................... Passed 0.00 sec + Start 26: test-inspection +26/67 Test #26: test-inspection .............................. Passed 6.23 sec + Start 27: test-items +27/67 Test #27: test-items ................................... Passed 0.00 sec + Start 28: test-iterators1 +28/67 Test #28: test-iterators1 .............................. Passed 0.01 sec + Start 29: test-iterators2 +29/67 Test #29: test-iterators2 .............................. Passed 0.02 sec + Start 30: test-json_patch +30/67 Test #30: test-json_patch .............................. Passed 0.01 sec + Start 31: test-json_pointer +31/67 Test #31: test-json_pointer ............................ Passed 0.00 sec + Start 32: test-large_json +32/67 Test #32: test-large_json .............................. Passed 5.37 sec + Start 33: test-merge_patch +33/67 Test #33: test-merge_patch ............................. Passed 0.00 sec + Start 34: test-meta +34/67 Test #34: test-meta .................................... Passed 0.00 sec + Start 35: test-modifiers +35/67 Test #35: test-modifiers ............................... Passed 0.01 sec + Start 36: test-msgpack +36/67 Test #36: test-msgpack ................................. Passed 46.50 sec + Start 37: test-noexcept +37/67 Test #37: test-noexcept ................................ Passed 0.00 sec + Start 38: test-ordered_json +38/67 Test #38: test-ordered_json ............................ Passed 0.00 sec + Start 39: test-ordered_map +39/67 Test #39: test-ordered_map ............................. Passed 0.00 sec + Start 40: test-pointer_access +40/67 Test #40: test-pointer_access .......................... Passed 0.00 sec + Start 41: test-readme +41/67 Test #41: test-readme .................................. Passed 0.00 sec + Start 42: test-reference_access +42/67 Test #42: test-reference_access ........................ Passed 0.00 sec + Start 43: test-regression1 +43/67 Test #43: test-regression1 ............................. Passed 7.68 sec + Start 44: test-regression2 +44/67 Test #44: test-regression2 ............................. Passed 0.00 sec + Start 45: test-serialization +45/67 Test #45: test-serialization ........................... Passed 0.00 sec + Start 46: test-testsuites +46/67 Test #46: test-testsuites .............................. Passed 0.23 sec + Start 47: test-to_chars +47/67 Test #47: test-to_chars ................................ Passed 0.00 sec + Start 48: test-ubjson +48/67 Test #48: test-ubjson .................................. Passed 14.30 sec + Start 49: test-udt +49/67 Test #49: test-udt ..................................... Passed 0.00 sec + Start 50: test-udt_macro +50/67 Test #50: test-udt_macro ............................... Passed 0.00 sec + Start 51: test-unicode1 +51/67 Test #51: test-unicode1 ................................ Passed 6.39 sec + Start 52: test-unicode2 +52/67 Test #52: test-unicode2 ................................ Passed 10.67 sec + Start 53: test-unicode3 +53/67 Test #53: test-unicode3 ................................ Passed 39.29 sec + Start 54: test-unicode4 +54/67 Test #54: test-unicode4 ................................ Passed 131.10 sec + Start 55: test-unicode5 +55/67 Test #55: test-unicode5 ................................ Passed 31.09 sec + Start 56: test-user_defined_input +56/67 Test #56: test-user_defined_input ...................... Passed 0.00 sec + Start 57: test-wstring +57/67 Test #57: test-wstring ................................. Passed 0.00 sec + Start 58: cmake_import_configure +58/67 Test #58: cmake_import_configure ....................... Passed 0.19 sec + Start 59: cmake_import_build +59/67 Test #59: cmake_import_build ........................... Passed 2.40 sec + Start 60: cmake_import_minver_configure +60/67 Test #60: cmake_import_minver_configure ................ Passed 0.18 sec + Start 61: cmake_import_minver_build +61/67 Test #61: cmake_import_minver_build .................... Passed 1.22 sec + Start 62: cmake_add_subdirectory_configure +62/67 Test #62: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 63: cmake_add_subdirectory_build +63/67 Test #63: cmake_add_subdirectory_build ................. Passed 3.55 sec + Start 64: cmake_fetch_content_configure +64/67 Test #64: cmake_fetch_content_configure ................ Passed 0.85 sec + Start 65: cmake_fetch_content_build +65/67 Test #65: cmake_fetch_content_build .................... Passed 2.38 sec + Start 66: cmake_target_include_directories_configure +66/67 Test #66: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 67: cmake_target_include_directories_build +67/67 Test #67: cmake_target_include_directories_build ....... Passed 4.66 sec + +100% tests passed, 0 tests failed out of 67 + +Label Time Summary: +all = 345.68 sec*proc (56 tests) +git_required = 3.23 sec*proc (2 tests) +not_reproducible = 15.82 sec*proc (10 tests) + +Total Test time (real) = 361.59 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/fix.patch new file mode 100644 index 000000000..d50697ec0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/fix.patch @@ -0,0 +1,204 @@ +diff --git a/include/nlohmann/detail/output/output_adapters.hpp b/include/nlohmann/detail/output/output_adapters.hpp +index 6f246268..688604a9 100644 +--- a/include/nlohmann/detail/output/output_adapters.hpp ++++ b/include/nlohmann/detail/output/output_adapters.hpp +@@ -37,11 +37,11 @@ template + using output_adapter_t = std::shared_ptr>; + + /// output adapter for byte vectors +-template ++template> + class output_vector_adapter : public output_adapter_protocol + { + public: +- explicit output_vector_adapter(std::vector& vec) noexcept ++ explicit output_vector_adapter(VectorType& vec) noexcept + : v(vec) + {} + +@@ -57,7 +57,7 @@ class output_vector_adapter : public output_adapter_protocol + } + + private: +- std::vector& v; ++ VectorType& v; + }; + + #ifndef JSON_NO_IO +@@ -110,12 +110,12 @@ class output_string_adapter : public output_adapter_protocol + StringType& str; + }; + +-template> ++template, typename VectorType = std::vector> + class output_adapter + { + public: +- output_adapter(std::vector& vec) +- : oa(std::make_shared>(vec)) {} ++ output_adapter(VectorType& vec) ++ : oa(std::make_shared>(vec)) {} + + #ifndef JSON_NO_IO + output_adapter(std::basic_ostream& s) +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index fc3e6082..f6e8fe78 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -7324,6 +7324,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + binary_writer(o).write_cbor(j); + } + ++ template ++ static void to_cbor(const basic_json& j, std::vector& v) ++ { ++ detail::output_adapter, std::vector> o(v); ++ binary_writer(o).write_cbor(j); ++ } ++ + /*! + @brief create a MessagePack serialization of a given JSON value + +@@ -7419,6 +7426,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + binary_writer(o).write_msgpack(j); + } + ++ template ++ static void to_msgpack(const basic_json& j, std::vector& v) ++ { ++ detail::output_adapter, std::vector> o(v); ++ binary_writer(o).write_msgpack(j); ++ } ++ + /*! + @brief create a UBJSON serialization of a given JSON value + +@@ -7526,6 +7540,14 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + binary_writer(o).write_ubjson(j, use_size, use_type); + } + ++ template ++ static void to_ubjson(const basic_json& j, std::vector& v, ++ const bool use_size = false, const bool use_type = false) ++ { ++ detail::output_adapter, std::vector> o(v); ++ binary_writer(o).write_ubjson(j, use_size, use_type); ++ } ++ + + /*! + @brief Serializes the given JSON object `j` to BSON and returns a vector +@@ -7611,6 +7633,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + binary_writer(o).write_bson(j); + } + ++ template ++ static void to_bson(const basic_json& j, std::vector& v) ++ { ++ detail::output_adapter, std::vector> o(v); ++ binary_writer(o).write_bson(j); ++ } ++ + + /*! + @brief create a JSON value from an input in CBOR format +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 8959265d..71e99665 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -13485,11 +13485,11 @@ template + using output_adapter_t = std::shared_ptr>; + + /// output adapter for byte vectors +-template ++template> + class output_vector_adapter : public output_adapter_protocol + { + public: +- explicit output_vector_adapter(std::vector& vec) noexcept ++ explicit output_vector_adapter(VectorType& vec) noexcept + : v(vec) + {} + +@@ -13505,7 +13505,7 @@ class output_vector_adapter : public output_adapter_protocol + } + + private: +- std::vector& v; ++ VectorType& v; + }; + + #ifndef JSON_NO_IO +@@ -13558,12 +13558,12 @@ class output_string_adapter : public output_adapter_protocol + StringType& str; + }; + +-template> ++template, typename VectorType = std::vector> + class output_adapter + { + public: +- output_adapter(std::vector& vec) +- : oa(std::make_shared>(vec)) {} ++ output_adapter(VectorType& vec) ++ : oa(std::make_shared>(vec)) {} + + #ifndef JSON_NO_IO + output_adapter(std::basic_ostream& s) +@@ -24729,6 +24729,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + binary_writer(o).write_cbor(j); + } + ++ template ++ static void to_cbor(const basic_json& j, std::vector& v) ++ { ++ detail::output_adapter, std::vector> o(v); ++ binary_writer(o).write_cbor(j); ++ } ++ + /*! + @brief create a MessagePack serialization of a given JSON value + +@@ -24824,6 +24831,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + binary_writer(o).write_msgpack(j); + } + ++ template ++ static void to_msgpack(const basic_json& j, std::vector& v) ++ { ++ detail::output_adapter, std::vector> o(v); ++ binary_writer(o).write_msgpack(j); ++ } ++ + /*! + @brief create a UBJSON serialization of a given JSON value + +@@ -24931,6 +24945,14 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + binary_writer(o).write_ubjson(j, use_size, use_type); + } + ++ template ++ static void to_ubjson(const basic_json& j, std::vector& v, ++ const bool use_size = false, const bool use_type = false) ++ { ++ detail::output_adapter, std::vector> o(v); ++ binary_writer(o).write_ubjson(j, use_size, use_type); ++ } ++ + + /*! + @brief Serializes the given JSON object `j` to BSON and returns a vector +@@ -25016,6 +25038,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + binary_writer(o).write_bson(j); + } + ++ template ++ static void to_bson(const basic_json& j, std::vector& v) ++ { ++ detail::output_adapter, std::vector> o(v); ++ binary_writer(o).write_bson(j); ++ } ++ + + /*! + @brief create a JSON value from an input in CBOR format diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/report.json new file mode 100644 index 000000000..86b61dd80 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-2989/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 2989, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "test-unicode4", "test-constructor1", "cmake_import_build", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-disabled_exceptions", "test-user_defined_input", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/fix-patch-run.log new file mode 100644 index 000000000..dd5c74a93 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/fix-patch-run.log @@ -0,0 +1,569 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7161 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (17.5 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.2 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6137 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.jmRREkFQ +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.jmRREkFQ/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.jmRREkFQ/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.jmRREkFQ/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.jmRREkFQ/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.jmRREkFQ/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.jmRREkFQ +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=ed07425ae9d8 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.y4Dp2Y9afs/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-diagnostics.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux ed07425ae9d8 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +[ 1%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms +[ 2%] Built target test-algorithms +[ 3%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator +[ 4%] Built target test-allocator +[ 5%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string +[ 6%] Built target test-alt-string +[ 6%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro +[ 7%] Built target test-assert_macro +[ 8%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 9%] Linking CXX executable test-bson +[ 9%] Built target test-bson +[ 10%] Building CXX object test/CMakeFiles/test-byte_container_with_subtype.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype +[ 11%] Built target test-byte_container_with_subtype +[ 12%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity +[ 13%] Built target test-capacity +[ 13%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor +[ 14%] Built target test-cbor +[ 15%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator +[ 16%] Built target test-class_const_iterator +[ 17%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer +[ 20%] Built target test-class_lexer +[ 20%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 21%] Linking CXX executable test-class_parser +[ 21%] Built target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison +[ 23%] Built target test-comparison +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +[ 26%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +[ 27%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 28%] Linking CXX executable test-constructor2 +[ 28%] Built target test-constructor2 +[ 29%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience +[ 30%] Built target test-convenience +[ 31%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions +[ 32%] Built target test-conversions +[ 33%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization +[ 34%] Built target test-deserialization +[ 34%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 35%] Linking CXX executable test-diagnostics +[ 35%] Built target test-diagnostics +[ 36%] Building CXX object test/CMakeFiles/test-disabled_exceptions.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions +[ 37%] Built target test-disabled_exceptions +[ 38%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1 +[ 39%] Built target test-element_access1 +[ 40%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 41%] Linking CXX executable test-element_access2 +[ 41%] Built target test-element_access2 +[ 41%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 42%] Linking CXX executable test-hash +[ 42%] Built target test-hash +[ 43%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 44%] Linking CXX executable test-inspection +[ 44%] Built target test-inspection +[ 45%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items +[ 46%] Built target test-items +[ 47%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 48%] Linking CXX executable test-iterators1 +[ 48%] Built target test-iterators1 +[ 49%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 49%] Linking CXX executable test-iterators2 +[ 49%] Built target test-iterators2 +[ 50%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 51%] Linking CXX executable test-json_patch +[ 51%] Built target test-json_patch +[ 52%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 53%] Linking CXX executable test-json_pointer +[ 53%] Built target test-json_pointer +[ 54%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 55%] Linking CXX executable test-large_json +[ 55%] Built target test-large_json +[ 56%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 56%] Linking CXX executable test-merge_patch +[ 56%] Built target test-merge_patch +[ 57%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 58%] Linking CXX executable test-meta +[ 58%] Built target test-meta +[ 59%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 60%] Linking CXX executable test-modifiers +[ 60%] Built target test-modifiers +[ 61%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack +[ 62%] Built target test-msgpack +[ 63%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept +[ 63%] Built target test-noexcept +[ 64%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json +[ 65%] Built target test-ordered_json +[ 66%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 67%] Linking CXX executable test-ordered_map +[ 67%] Built target test-ordered_map +[ 68%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 69%] Linking CXX executable test-pointer_access +[ 69%] Built target test-pointer_access +[ 70%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 70%] Linking CXX executable test-readme +[ 70%] Built target test-readme +[ 71%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 72%] Linking CXX executable test-reference_access +[ 72%] Built target test-reference_access +[ 73%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1 +[ 74%] Built target test-regression1 +[ 75%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2 +[ 76%] Built target test-regression2 +[ 77%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 77%] Linking CXX executable test-serialization +[ 77%] Built target test-serialization +[ 78%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 79%] Linking CXX executable test-testsuites +[ 79%] Built target test-testsuites +[ 80%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 81%] Linking CXX executable test-to_chars +[ 81%] Built target test-to_chars +[ 82%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 83%] Linking CXX executable test-ubjson +[ 83%] Built target test-ubjson +[ 84%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 84%] Linking CXX executable test-udt +[ 84%] Built target test-udt +[ 85%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 86%] Linking CXX executable test-udt_macro +[ 86%] Built target test-udt_macro +[ 87%] Building CXX object test/CMakeFiles/test-unicode1.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1 +[ 88%] Built target test-unicode1 +[ 89%] Building CXX object test/CMakeFiles/test-unicode2.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2 +[ 90%] Built target test-unicode2 +[ 91%] Building CXX object test/CMakeFiles/test-unicode3.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3 +[ 91%] Built target test-unicode3 +[ 92%] Building CXX object test/CMakeFiles/test-unicode4.dir/src/unit-unicode4.cpp.o +[ 93%] Linking CXX executable test-unicode4 +[ 93%] Built target test-unicode4 +[ 94%] Building CXX object test/CMakeFiles/test-unicode5.dir/src/unit-unicode5.cpp.o +[ 95%] Linking CXX executable test-unicode5 +[ 95%] Built target test-unicode5 +[ 96%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 97%] Linking CXX executable test-user_defined_input +[ 97%] Built target test-user_defined_input +[ 98%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring +[100%] Built target test-wstring +Test project /home/json/build + Start 1: download_test_data + 1/67 Test #1: download_test_data ........................... Passed 0.07 sec + Start 2: test-algorithms + 2/67 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/67 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/67 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/67 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/67 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-byte_container_with_subtype + 7/67 Test #7: test-byte_container_with_subtype ............. Passed 0.00 sec + Start 8: test-capacity + 8/67 Test #8: test-capacity ................................ Passed 0.00 sec + Start 9: test-cbor + 9/67 Test #9: test-cbor .................................... Passed 46.34 sec + Start 10: test-class_const_iterator +10/67 Test #10: test-class_const_iterator .................... Passed 0.00 sec + Start 11: test-class_iterator +11/67 Test #11: test-class_iterator .......................... Passed 0.00 sec + Start 12: test-class_lexer +12/67 Test #12: test-class_lexer ............................. Passed 0.00 sec + Start 13: test-class_parser +13/67 Test #13: test-class_parser ............................ Passed 0.09 sec + Start 14: test-comparison +14/67 Test #14: test-comparison .............................. Passed 0.00 sec + Start 15: test-concepts +15/67 Test #15: test-concepts ................................ Passed 0.00 sec + Start 16: test-constructor1 +16/67 Test #16: test-constructor1 ............................ Passed 0.01 sec + Start 17: test-constructor2 +17/67 Test #17: test-constructor2 ............................ Passed 0.00 sec + Start 18: test-convenience +18/67 Test #18: test-convenience ............................. Passed 0.00 sec + Start 19: test-conversions +19/67 Test #19: test-conversions ............................. Passed 0.01 sec + Start 20: test-deserialization +20/67 Test #20: test-deserialization ......................... Passed 0.01 sec + Start 21: test-diagnostics +21/67 Test #21: test-diagnostics ............................. Passed 0.00 sec + Start 22: test-disabled_exceptions +22/67 Test #22: test-disabled_exceptions ..................... Passed 0.00 sec + Start 23: test-element_access1 +23/67 Test #23: test-element_access1 ......................... Passed 0.01 sec + Start 24: test-element_access2 +24/67 Test #24: test-element_access2 ......................... Passed 0.01 sec + Start 25: test-hash +25/67 Test #25: test-hash .................................... Passed 0.00 sec + Start 26: test-inspection +26/67 Test #26: test-inspection .............................. Passed 6.24 sec + Start 27: test-items +27/67 Test #27: test-items ................................... Passed 0.00 sec + Start 28: test-iterators1 +28/67 Test #28: test-iterators1 .............................. Passed 0.01 sec + Start 29: test-iterators2 +29/67 Test #29: test-iterators2 .............................. Passed 0.02 sec + Start 30: test-json_patch +30/67 Test #30: test-json_patch .............................. Passed 0.01 sec + Start 31: test-json_pointer +31/67 Test #31: test-json_pointer ............................ Passed 0.00 sec + Start 32: test-large_json +32/67 Test #32: test-large_json .............................. Passed 5.37 sec + Start 33: test-merge_patch +33/67 Test #33: test-merge_patch ............................. Passed 0.00 sec + Start 34: test-meta +34/67 Test #34: test-meta .................................... Passed 0.00 sec + Start 35: test-modifiers +35/67 Test #35: test-modifiers ............................... Passed 0.00 sec + Start 36: test-msgpack +36/67 Test #36: test-msgpack ................................. Passed 46.38 sec + Start 37: test-noexcept +37/67 Test #37: test-noexcept ................................ Passed 0.00 sec + Start 38: test-ordered_json +38/67 Test #38: test-ordered_json ............................ Passed 0.00 sec + Start 39: test-ordered_map +39/67 Test #39: test-ordered_map ............................. Passed 0.00 sec + Start 40: test-pointer_access +40/67 Test #40: test-pointer_access .......................... Passed 0.00 sec + Start 41: test-readme +41/67 Test #41: test-readme .................................. Passed 0.00 sec + Start 42: test-reference_access +42/67 Test #42: test-reference_access ........................ Passed 0.00 sec + Start 43: test-regression1 +43/67 Test #43: test-regression1 ............................. Passed 7.85 sec + Start 44: test-regression2 +44/67 Test #44: test-regression2 ............................. Passed 0.00 sec + Start 45: test-serialization +45/67 Test #45: test-serialization ........................... Passed 0.00 sec + Start 46: test-testsuites +46/67 Test #46: test-testsuites .............................. Passed 0.09 sec + Start 47: test-to_chars +47/67 Test #47: test-to_chars ................................ Passed 0.00 sec + Start 48: test-ubjson +48/67 Test #48: test-ubjson .................................. Passed 14.72 sec + Start 49: test-udt +49/67 Test #49: test-udt ..................................... Passed 0.00 sec + Start 50: test-udt_macro +50/67 Test #50: test-udt_macro ............................... Passed 0.00 sec + Start 51: test-unicode1 +51/67 Test #51: test-unicode1 ................................ Passed 6.41 sec + Start 52: test-unicode2 +52/67 Test #52: test-unicode2 ................................ Passed 10.69 sec + Start 53: test-unicode3 +53/67 Test #53: test-unicode3 ................................ Passed 40.24 sec + Start 54: test-unicode4 +54/67 Test #54: test-unicode4 ................................ Passed 134.29 sec + Start 55: test-unicode5 +55/67 Test #55: test-unicode5 ................................ Passed 31.11 sec + Start 56: test-user_defined_input +56/67 Test #56: test-user_defined_input ...................... Passed 0.00 sec + Start 57: test-wstring +57/67 Test #57: test-wstring ................................. Passed 0.00 sec + Start 58: cmake_import_configure +58/67 Test #58: cmake_import_configure ....................... Passed 0.19 sec + Start 59: cmake_import_build +59/67 Test #59: cmake_import_build ........................... Passed 2.40 sec + Start 60: cmake_import_minver_configure +60/67 Test #60: cmake_import_minver_configure ................ Passed 0.19 sec + Start 61: cmake_import_minver_build +61/67 Test #61: cmake_import_minver_build .................... Passed 1.22 sec + Start 62: cmake_add_subdirectory_configure +62/67 Test #62: cmake_add_subdirectory_configure ............. Passed 0.19 sec + Start 63: cmake_add_subdirectory_build +63/67 Test #63: cmake_add_subdirectory_build ................. Passed 3.58 sec + Start 64: cmake_fetch_content_configure +64/67 Test #64: cmake_fetch_content_configure ................ Passed 0.87 sec + Start 65: cmake_fetch_content_build +65/67 Test #65: cmake_fetch_content_build .................... Passed 2.43 sec + Start 66: cmake_target_include_directories_configure +66/67 Test #66: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 67: cmake_target_include_directories_build +67/67 Test #67: cmake_target_include_directories_build ....... Passed 4.71 sec + +100% tests passed, 0 tests failed out of 67 + +Label Time Summary: +all = 349.98 sec*proc (56 tests) +git_required = 3.30 sec*proc (2 tests) +not_reproducible = 15.96 sec*proc (10 tests) + +Total Test time (real) = 366.03 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/fix.patch new file mode 100644 index 000000000..ef2312022 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/fix.patch @@ -0,0 +1,44 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index fc3e6082..0182544a 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -6008,7 +6008,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + + for (auto it = j.cbegin(); it != j.cend(); ++it) + { +- m_value.object->operator[](it.key()) = it.value(); ++ set_parent(m_value.object->operator[](it.key()) = it.value()); + } + } + +@@ -6068,7 +6068,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + + for (auto it = first; it != last; ++it) + { +- m_value.object->operator[](it.key()) = it.value(); ++ set_parent(m_value.object->operator[](it.key()) = it.value()); + } + } + +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 8959265d..d0fe64f2 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -23413,7 +23413,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + + for (auto it = j.cbegin(); it != j.cend(); ++it) + { +- m_value.object->operator[](it.key()) = it.value(); ++ set_parent(m_value.object->operator[](it.key()) = it.value()); + } + } + +@@ -23473,7 +23473,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + + for (auto it = first; it != last; ++it) + { +- m_value.object->operator[](it.key()) = it.value(); ++ set_parent(m_value.object->operator[](it.key()) = it.value()); + } + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/report.json new file mode 100644 index 000000000..aabd86108 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3008/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3008, "valid": true, "error_msg": "", "fixed_tests": {"test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-ubjson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 66, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "test-unicode4", "test-constructor1", "cmake_import_build", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-disabled_exceptions", "test-user_defined_input", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/fix-patch-run.log new file mode 100644 index 000000000..6df3618a4 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/fix-patch-run.log @@ -0,0 +1,569 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6885 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.2 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.6 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6069 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.K5q6tbZ8 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.K5q6tbZ8/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.K5q6tbZ8/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.K5q6tbZ8/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.K5q6tbZ8/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.K5q6tbZ8/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.K5q6tbZ8 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=207ab07b4791 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.POplEDPEdX/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-diagnostics.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 207ab07b4791 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +[ 1%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms +[ 2%] Built target test-algorithms +[ 3%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator +[ 4%] Built target test-allocator +[ 5%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string +[ 6%] Built target test-alt-string +[ 6%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro +[ 7%] Built target test-assert_macro +[ 8%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 9%] Linking CXX executable test-bson +[ 9%] Built target test-bson +[ 10%] Building CXX object test/CMakeFiles/test-byte_container_with_subtype.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype +[ 11%] Built target test-byte_container_with_subtype +[ 12%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity +[ 13%] Built target test-capacity +[ 13%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor +[ 14%] Built target test-cbor +[ 15%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator +[ 16%] Built target test-class_const_iterator +[ 17%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer +[ 20%] Built target test-class_lexer +[ 20%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 21%] Linking CXX executable test-class_parser +[ 21%] Built target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison +[ 23%] Built target test-comparison +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +[ 26%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +[ 27%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 28%] Linking CXX executable test-constructor2 +[ 28%] Built target test-constructor2 +[ 29%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience +[ 30%] Built target test-convenience +[ 31%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions +[ 32%] Built target test-conversions +[ 33%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization +[ 34%] Built target test-deserialization +[ 34%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 35%] Linking CXX executable test-diagnostics +[ 35%] Built target test-diagnostics +[ 36%] Building CXX object test/CMakeFiles/test-disabled_exceptions.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions +[ 37%] Built target test-disabled_exceptions +[ 38%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1 +[ 39%] Built target test-element_access1 +[ 40%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 41%] Linking CXX executable test-element_access2 +[ 41%] Built target test-element_access2 +[ 41%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 42%] Linking CXX executable test-hash +[ 42%] Built target test-hash +[ 43%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 44%] Linking CXX executable test-inspection +[ 44%] Built target test-inspection +[ 45%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items +[ 46%] Built target test-items +[ 47%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 48%] Linking CXX executable test-iterators1 +[ 48%] Built target test-iterators1 +[ 49%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 49%] Linking CXX executable test-iterators2 +[ 49%] Built target test-iterators2 +[ 50%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 51%] Linking CXX executable test-json_patch +[ 51%] Built target test-json_patch +[ 52%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 53%] Linking CXX executable test-json_pointer +[ 53%] Built target test-json_pointer +[ 54%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 55%] Linking CXX executable test-large_json +[ 55%] Built target test-large_json +[ 56%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 56%] Linking CXX executable test-merge_patch +[ 56%] Built target test-merge_patch +[ 57%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 58%] Linking CXX executable test-meta +[ 58%] Built target test-meta +[ 59%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 60%] Linking CXX executable test-modifiers +[ 60%] Built target test-modifiers +[ 61%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack +[ 62%] Built target test-msgpack +[ 63%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept +[ 63%] Built target test-noexcept +[ 64%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json +[ 65%] Built target test-ordered_json +[ 66%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 67%] Linking CXX executable test-ordered_map +[ 67%] Built target test-ordered_map +[ 68%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 69%] Linking CXX executable test-pointer_access +[ 69%] Built target test-pointer_access +[ 70%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 70%] Linking CXX executable test-readme +[ 70%] Built target test-readme +[ 71%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 72%] Linking CXX executable test-reference_access +[ 72%] Built target test-reference_access +[ 73%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1 +[ 74%] Built target test-regression1 +[ 75%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2 +[ 76%] Built target test-regression2 +[ 77%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 77%] Linking CXX executable test-serialization +[ 77%] Built target test-serialization +[ 78%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 79%] Linking CXX executable test-testsuites +[ 79%] Built target test-testsuites +[ 80%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 81%] Linking CXX executable test-to_chars +[ 81%] Built target test-to_chars +[ 82%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 83%] Linking CXX executable test-ubjson +[ 83%] Built target test-ubjson +[ 84%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 84%] Linking CXX executable test-udt +[ 84%] Built target test-udt +[ 85%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 86%] Linking CXX executable test-udt_macro +[ 86%] Built target test-udt_macro +[ 87%] Building CXX object test/CMakeFiles/test-unicode1.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1 +[ 88%] Built target test-unicode1 +[ 89%] Building CXX object test/CMakeFiles/test-unicode2.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2 +[ 90%] Built target test-unicode2 +[ 91%] Building CXX object test/CMakeFiles/test-unicode3.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3 +[ 91%] Built target test-unicode3 +[ 92%] Building CXX object test/CMakeFiles/test-unicode4.dir/src/unit-unicode4.cpp.o +[ 93%] Linking CXX executable test-unicode4 +[ 93%] Built target test-unicode4 +[ 94%] Building CXX object test/CMakeFiles/test-unicode5.dir/src/unit-unicode5.cpp.o +[ 95%] Linking CXX executable test-unicode5 +[ 95%] Built target test-unicode5 +[ 96%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 97%] Linking CXX executable test-user_defined_input +[ 97%] Built target test-user_defined_input +[ 98%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring +[100%] Built target test-wstring +Test project /home/json/build + Start 1: download_test_data + 1/67 Test #1: download_test_data ........................... Passed 0.07 sec + Start 2: test-algorithms + 2/67 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/67 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/67 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/67 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/67 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-byte_container_with_subtype + 7/67 Test #7: test-byte_container_with_subtype ............. Passed 0.00 sec + Start 8: test-capacity + 8/67 Test #8: test-capacity ................................ Passed 0.00 sec + Start 9: test-cbor + 9/67 Test #9: test-cbor .................................... Passed 46.34 sec + Start 10: test-class_const_iterator +10/67 Test #10: test-class_const_iterator .................... Passed 0.00 sec + Start 11: test-class_iterator +11/67 Test #11: test-class_iterator .......................... Passed 0.00 sec + Start 12: test-class_lexer +12/67 Test #12: test-class_lexer ............................. Passed 0.00 sec + Start 13: test-class_parser +13/67 Test #13: test-class_parser ............................ Passed 0.08 sec + Start 14: test-comparison +14/67 Test #14: test-comparison .............................. Passed 0.00 sec + Start 15: test-concepts +15/67 Test #15: test-concepts ................................ Passed 0.00 sec + Start 16: test-constructor1 +16/67 Test #16: test-constructor1 ............................ Passed 0.01 sec + Start 17: test-constructor2 +17/67 Test #17: test-constructor2 ............................ Passed 0.00 sec + Start 18: test-convenience +18/67 Test #18: test-convenience ............................. Passed 0.00 sec + Start 19: test-conversions +19/67 Test #19: test-conversions ............................. Passed 0.01 sec + Start 20: test-deserialization +20/67 Test #20: test-deserialization ......................... Passed 0.01 sec + Start 21: test-diagnostics +21/67 Test #21: test-diagnostics ............................. Passed 0.00 sec + Start 22: test-disabled_exceptions +22/67 Test #22: test-disabled_exceptions ..................... Passed 0.00 sec + Start 23: test-element_access1 +23/67 Test #23: test-element_access1 ......................... Passed 0.01 sec + Start 24: test-element_access2 +24/67 Test #24: test-element_access2 ......................... Passed 0.01 sec + Start 25: test-hash +25/67 Test #25: test-hash .................................... Passed 0.00 sec + Start 26: test-inspection +26/67 Test #26: test-inspection .............................. Passed 6.23 sec + Start 27: test-items +27/67 Test #27: test-items ................................... Passed 0.00 sec + Start 28: test-iterators1 +28/67 Test #28: test-iterators1 .............................. Passed 0.01 sec + Start 29: test-iterators2 +29/67 Test #29: test-iterators2 .............................. Passed 0.02 sec + Start 30: test-json_patch +30/67 Test #30: test-json_patch .............................. Passed 0.01 sec + Start 31: test-json_pointer +31/67 Test #31: test-json_pointer ............................ Passed 0.00 sec + Start 32: test-large_json +32/67 Test #32: test-large_json .............................. Passed 5.37 sec + Start 33: test-merge_patch +33/67 Test #33: test-merge_patch ............................. Passed 0.00 sec + Start 34: test-meta +34/67 Test #34: test-meta .................................... Passed 0.00 sec + Start 35: test-modifiers +35/67 Test #35: test-modifiers ............................... Passed 0.01 sec + Start 36: test-msgpack +36/67 Test #36: test-msgpack ................................. Passed 46.14 sec + Start 37: test-noexcept +37/67 Test #37: test-noexcept ................................ Passed 0.00 sec + Start 38: test-ordered_json +38/67 Test #38: test-ordered_json ............................ Passed 0.00 sec + Start 39: test-ordered_map +39/67 Test #39: test-ordered_map ............................. Passed 0.00 sec + Start 40: test-pointer_access +40/67 Test #40: test-pointer_access .......................... Passed 0.00 sec + Start 41: test-readme +41/67 Test #41: test-readme .................................. Passed 0.00 sec + Start 42: test-reference_access +42/67 Test #42: test-reference_access ........................ Passed 0.00 sec + Start 43: test-regression1 +43/67 Test #43: test-regression1 ............................. Passed 7.79 sec + Start 44: test-regression2 +44/67 Test #44: test-regression2 ............................. Passed 0.00 sec + Start 45: test-serialization +45/67 Test #45: test-serialization ........................... Passed 0.00 sec + Start 46: test-testsuites +46/67 Test #46: test-testsuites .............................. Passed 0.09 sec + Start 47: test-to_chars +47/67 Test #47: test-to_chars ................................ Passed 0.00 sec + Start 48: test-ubjson +48/67 Test #48: test-ubjson .................................. Passed 14.69 sec + Start 49: test-udt +49/67 Test #49: test-udt ..................................... Passed 0.00 sec + Start 50: test-udt_macro +50/67 Test #50: test-udt_macro ............................... Passed 0.00 sec + Start 51: test-unicode1 +51/67 Test #51: test-unicode1 ................................ Passed 6.42 sec + Start 52: test-unicode2 +52/67 Test #52: test-unicode2 ................................ Passed 10.67 sec + Start 53: test-unicode3 +53/67 Test #53: test-unicode3 ................................ Passed 39.60 sec + Start 54: test-unicode4 +54/67 Test #54: test-unicode4 ................................ Passed 131.23 sec + Start 55: test-unicode5 +55/67 Test #55: test-unicode5 ................................ Passed 31.16 sec + Start 56: test-user_defined_input +56/67 Test #56: test-user_defined_input ...................... Passed 0.00 sec + Start 57: test-wstring +57/67 Test #57: test-wstring ................................. Passed 0.00 sec + Start 58: cmake_import_configure +58/67 Test #58: cmake_import_configure ....................... Passed 0.19 sec + Start 59: cmake_import_build +59/67 Test #59: cmake_import_build ........................... Passed 2.49 sec + Start 60: cmake_import_minver_configure +60/67 Test #60: cmake_import_minver_configure ................ Passed 0.20 sec + Start 61: cmake_import_minver_build +61/67 Test #61: cmake_import_minver_build .................... Passed 1.24 sec + Start 62: cmake_add_subdirectory_configure +62/67 Test #62: cmake_add_subdirectory_configure ............. Passed 0.20 sec + Start 63: cmake_add_subdirectory_build +63/67 Test #63: cmake_add_subdirectory_build ................. Passed 3.69 sec + Start 64: cmake_fetch_content_configure +64/67 Test #64: cmake_fetch_content_configure ................ Passed 0.89 sec + Start 65: cmake_fetch_content_build +65/67 Test #65: cmake_fetch_content_build .................... Passed 2.49 sec + Start 66: cmake_target_include_directories_configure +66/67 Test #66: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 67: cmake_target_include_directories_build +67/67 Test #67: cmake_target_include_directories_build ....... Passed 4.82 sec + +100% tests passed, 0 tests failed out of 67 + +Label Time Summary: +all = 345.98 sec*proc (56 tests) +git_required = 3.38 sec*proc (2 tests) +not_reproducible = 16.40 sec*proc (10 tests) + +Total Test time (real) = 362.47 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/fix.patch new file mode 100644 index 000000000..a20f2aca9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/fix.patch @@ -0,0 +1,62 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 053be8f7..afccde22 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -3695,14 +3695,23 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + if (idx >= m_value.array->size()) + { + #if JSON_DIAGNOSTICS +- // remember array size before resizing ++ // remember array capacity and size before resizing ++ const auto old_capacity = m_value.array->capacity(); + const auto previous_size = m_value.array->size(); + #endif + m_value.array->resize(idx + 1); + + #if JSON_DIAGNOSTICS +- // set parent for values added above +- set_parents(begin() + static_cast(previous_size), static_cast(idx + 1 - previous_size)); ++ // set parent for values added above; if capacity changed, ++ // all elements were moved and need new parent pointers ++ if (m_value.array->capacity() != old_capacity) ++ { ++ set_parents(); ++ } ++ else ++ { ++ set_parents(begin() + static_cast(previous_size), static_cast(idx + 1 - previous_size)); ++ } + #endif + } + +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 9c27aabb..1fa60b0e 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -21101,14 +21101,23 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + if (idx >= m_value.array->size()) + { + #if JSON_DIAGNOSTICS +- // remember array size before resizing ++ // remember array capacity and size before resizing ++ const auto old_capacity = m_value.array->capacity(); + const auto previous_size = m_value.array->size(); + #endif + m_value.array->resize(idx + 1); + + #if JSON_DIAGNOSTICS +- // set parent for values added above +- set_parents(begin() + static_cast(previous_size), static_cast(idx + 1 - previous_size)); ++ // set parent for values added above; if capacity changed, ++ // all elements were moved and need new parent pointers ++ if (m_value.array->capacity() != old_capacity) ++ { ++ set_parents(); ++ } ++ else ++ { ++ set_parents(begin() + static_cast(previous_size), static_cast(idx + 1 - previous_size)); ++ } + #endif + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/report.json new file mode 100644 index 000000000..0de5ce0ed --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3037/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3037, "valid": true, "error_msg": "", "fixed_tests": {"test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-ubjson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 66, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "test-unicode4", "test-constructor1", "cmake_import_build", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-disabled_exceptions", "test-user_defined_input", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/fix-patch-run.log new file mode 100644 index 000000000..1dcec3520 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/fix-patch-run.log @@ -0,0 +1,569 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7081 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (14.9 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.1 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6002 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.IhyrxfD8 +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.IhyrxfD8/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.IhyrxfD8/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.IhyrxfD8/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.IhyrxfD8/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.IhyrxfD8/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.IhyrxfD8 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=f68115877b72 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.qNepPBMchP/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-regression2.cpp +patching file include/nlohmann/detail/meta/type_traits.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux f68115877b72 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +[ 1%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms +[ 2%] Built target test-algorithms +[ 3%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator +[ 4%] Built target test-allocator +[ 5%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string +[ 6%] Built target test-alt-string +[ 6%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro +[ 7%] Built target test-assert_macro +[ 8%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 9%] Linking CXX executable test-bson +[ 9%] Built target test-bson +[ 10%] Building CXX object test/CMakeFiles/test-byte_container_with_subtype.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype +[ 11%] Built target test-byte_container_with_subtype +[ 12%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity +[ 13%] Built target test-capacity +[ 13%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor +[ 14%] Built target test-cbor +[ 15%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator +[ 16%] Built target test-class_const_iterator +[ 17%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer +[ 20%] Built target test-class_lexer +[ 20%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 21%] Linking CXX executable test-class_parser +[ 21%] Built target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison +[ 23%] Built target test-comparison +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +[ 26%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +[ 27%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 28%] Linking CXX executable test-constructor2 +[ 28%] Built target test-constructor2 +[ 29%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience +[ 30%] Built target test-convenience +[ 31%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions +[ 32%] Built target test-conversions +[ 33%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization +[ 34%] Built target test-deserialization +[ 34%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 35%] Linking CXX executable test-diagnostics +[ 35%] Built target test-diagnostics +[ 36%] Building CXX object test/CMakeFiles/test-disabled_exceptions.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions +[ 37%] Built target test-disabled_exceptions +[ 38%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1 +[ 39%] Built target test-element_access1 +[ 40%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 41%] Linking CXX executable test-element_access2 +[ 41%] Built target test-element_access2 +[ 41%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 42%] Linking CXX executable test-hash +[ 42%] Built target test-hash +[ 43%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 44%] Linking CXX executable test-inspection +[ 44%] Built target test-inspection +[ 45%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items +[ 46%] Built target test-items +[ 47%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 48%] Linking CXX executable test-iterators1 +[ 48%] Built target test-iterators1 +[ 49%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 49%] Linking CXX executable test-iterators2 +[ 49%] Built target test-iterators2 +[ 50%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 51%] Linking CXX executable test-json_patch +[ 51%] Built target test-json_patch +[ 52%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 53%] Linking CXX executable test-json_pointer +[ 53%] Built target test-json_pointer +[ 54%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 55%] Linking CXX executable test-large_json +[ 55%] Built target test-large_json +[ 56%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 56%] Linking CXX executable test-merge_patch +[ 56%] Built target test-merge_patch +[ 57%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 58%] Linking CXX executable test-meta +[ 58%] Built target test-meta +[ 59%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 60%] Linking CXX executable test-modifiers +[ 60%] Built target test-modifiers +[ 61%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack +[ 62%] Built target test-msgpack +[ 63%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept +[ 63%] Built target test-noexcept +[ 64%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json +[ 65%] Built target test-ordered_json +[ 66%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 67%] Linking CXX executable test-ordered_map +[ 67%] Built target test-ordered_map +[ 68%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 69%] Linking CXX executable test-pointer_access +[ 69%] Built target test-pointer_access +[ 70%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 70%] Linking CXX executable test-readme +[ 70%] Built target test-readme +[ 71%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 72%] Linking CXX executable test-reference_access +[ 72%] Built target test-reference_access +[ 73%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1 +[ 74%] Built target test-regression1 +[ 75%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2 +[ 76%] Built target test-regression2 +[ 77%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 77%] Linking CXX executable test-serialization +[ 77%] Built target test-serialization +[ 78%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 79%] Linking CXX executable test-testsuites +[ 79%] Built target test-testsuites +[ 80%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 81%] Linking CXX executable test-to_chars +[ 81%] Built target test-to_chars +[ 82%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 83%] Linking CXX executable test-ubjson +[ 83%] Built target test-ubjson +[ 84%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 84%] Linking CXX executable test-udt +[ 84%] Built target test-udt +[ 85%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 86%] Linking CXX executable test-udt_macro +[ 86%] Built target test-udt_macro +[ 87%] Building CXX object test/CMakeFiles/test-unicode1.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1 +[ 88%] Built target test-unicode1 +[ 89%] Building CXX object test/CMakeFiles/test-unicode2.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2 +[ 90%] Built target test-unicode2 +[ 91%] Building CXX object test/CMakeFiles/test-unicode3.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3 +[ 91%] Built target test-unicode3 +[ 92%] Building CXX object test/CMakeFiles/test-unicode4.dir/src/unit-unicode4.cpp.o +[ 93%] Linking CXX executable test-unicode4 +[ 93%] Built target test-unicode4 +[ 94%] Building CXX object test/CMakeFiles/test-unicode5.dir/src/unit-unicode5.cpp.o +[ 95%] Linking CXX executable test-unicode5 +[ 95%] Built target test-unicode5 +[ 96%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 97%] Linking CXX executable test-user_defined_input +[ 97%] Built target test-user_defined_input +[ 98%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring +[100%] Built target test-wstring +Test project /home/json/build + Start 1: download_test_data + 1/67 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms + 2/67 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/67 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/67 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/67 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/67 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-byte_container_with_subtype + 7/67 Test #7: test-byte_container_with_subtype ............. Passed 0.00 sec + Start 8: test-capacity + 8/67 Test #8: test-capacity ................................ Passed 0.00 sec + Start 9: test-cbor + 9/67 Test #9: test-cbor .................................... Passed 46.47 sec + Start 10: test-class_const_iterator +10/67 Test #10: test-class_const_iterator .................... Passed 0.00 sec + Start 11: test-class_iterator +11/67 Test #11: test-class_iterator .......................... Passed 0.00 sec + Start 12: test-class_lexer +12/67 Test #12: test-class_lexer ............................. Passed 0.00 sec + Start 13: test-class_parser +13/67 Test #13: test-class_parser ............................ Passed 0.08 sec + Start 14: test-comparison +14/67 Test #14: test-comparison .............................. Passed 0.00 sec + Start 15: test-concepts +15/67 Test #15: test-concepts ................................ Passed 0.00 sec + Start 16: test-constructor1 +16/67 Test #16: test-constructor1 ............................ Passed 0.01 sec + Start 17: test-constructor2 +17/67 Test #17: test-constructor2 ............................ Passed 0.00 sec + Start 18: test-convenience +18/67 Test #18: test-convenience ............................. Passed 0.00 sec + Start 19: test-conversions +19/67 Test #19: test-conversions ............................. Passed 0.01 sec + Start 20: test-deserialization +20/67 Test #20: test-deserialization ......................... Passed 0.01 sec + Start 21: test-diagnostics +21/67 Test #21: test-diagnostics ............................. Passed 0.00 sec + Start 22: test-disabled_exceptions +22/67 Test #22: test-disabled_exceptions ..................... Passed 0.00 sec + Start 23: test-element_access1 +23/67 Test #23: test-element_access1 ......................... Passed 0.01 sec + Start 24: test-element_access2 +24/67 Test #24: test-element_access2 ......................... Passed 0.01 sec + Start 25: test-hash +25/67 Test #25: test-hash .................................... Passed 0.00 sec + Start 26: test-inspection +26/67 Test #26: test-inspection .............................. Passed 6.23 sec + Start 27: test-items +27/67 Test #27: test-items ................................... Passed 0.00 sec + Start 28: test-iterators1 +28/67 Test #28: test-iterators1 .............................. Passed 0.01 sec + Start 29: test-iterators2 +29/67 Test #29: test-iterators2 .............................. Passed 0.02 sec + Start 30: test-json_patch +30/67 Test #30: test-json_patch .............................. Passed 0.01 sec + Start 31: test-json_pointer +31/67 Test #31: test-json_pointer ............................ Passed 0.00 sec + Start 32: test-large_json +32/67 Test #32: test-large_json .............................. Passed 5.38 sec + Start 33: test-merge_patch +33/67 Test #33: test-merge_patch ............................. Passed 0.00 sec + Start 34: test-meta +34/67 Test #34: test-meta .................................... Passed 0.00 sec + Start 35: test-modifiers +35/67 Test #35: test-modifiers ............................... Passed 0.01 sec + Start 36: test-msgpack +36/67 Test #36: test-msgpack ................................. Passed 46.18 sec + Start 37: test-noexcept +37/67 Test #37: test-noexcept ................................ Passed 0.00 sec + Start 38: test-ordered_json +38/67 Test #38: test-ordered_json ............................ Passed 0.00 sec + Start 39: test-ordered_map +39/67 Test #39: test-ordered_map ............................. Passed 0.00 sec + Start 40: test-pointer_access +40/67 Test #40: test-pointer_access .......................... Passed 0.00 sec + Start 41: test-readme +41/67 Test #41: test-readme .................................. Passed 0.00 sec + Start 42: test-reference_access +42/67 Test #42: test-reference_access ........................ Passed 0.00 sec + Start 43: test-regression1 +43/67 Test #43: test-regression1 ............................. Passed 7.84 sec + Start 44: test-regression2 +44/67 Test #44: test-regression2 ............................. Passed 0.00 sec + Start 45: test-serialization +45/67 Test #45: test-serialization ........................... Passed 0.00 sec + Start 46: test-testsuites +46/67 Test #46: test-testsuites .............................. Passed 0.26 sec + Start 47: test-to_chars +47/67 Test #47: test-to_chars ................................ Passed 0.00 sec + Start 48: test-ubjson +48/67 Test #48: test-ubjson .................................. Passed 14.73 sec + Start 49: test-udt +49/67 Test #49: test-udt ..................................... Passed 0.00 sec + Start 50: test-udt_macro +50/67 Test #50: test-udt_macro ............................... Passed 0.00 sec + Start 51: test-unicode1 +51/67 Test #51: test-unicode1 ................................ Passed 6.44 sec + Start 52: test-unicode2 +52/67 Test #52: test-unicode2 ................................ Passed 10.68 sec + Start 53: test-unicode3 +53/67 Test #53: test-unicode3 ................................ Passed 39.64 sec + Start 54: test-unicode4 +54/67 Test #54: test-unicode4 ................................ Passed 130.74 sec + Start 55: test-unicode5 +55/67 Test #55: test-unicode5 ................................ Passed 31.01 sec + Start 56: test-user_defined_input +56/67 Test #56: test-user_defined_input ...................... Passed 0.00 sec + Start 57: test-wstring +57/67 Test #57: test-wstring ................................. Passed 0.00 sec + Start 58: cmake_import_configure +58/67 Test #58: cmake_import_configure ....................... Passed 0.19 sec + Start 59: cmake_import_build +59/67 Test #59: cmake_import_build ........................... Passed 2.48 sec + Start 60: cmake_import_minver_configure +60/67 Test #60: cmake_import_minver_configure ................ Passed 0.19 sec + Start 61: cmake_import_minver_build +61/67 Test #61: cmake_import_minver_build .................... Passed 1.26 sec + Start 62: cmake_add_subdirectory_configure +62/67 Test #62: cmake_add_subdirectory_configure ............. Passed 0.20 sec + Start 63: cmake_add_subdirectory_build +63/67 Test #63: cmake_add_subdirectory_build ................. Passed 3.71 sec + Start 64: cmake_fetch_content_configure +64/67 Test #64: cmake_fetch_content_configure ................ Passed 0.89 sec + Start 65: cmake_fetch_content_build +65/67 Test #65: cmake_fetch_content_build .................... Passed 2.50 sec + Start 66: cmake_target_include_directories_configure +66/67 Test #66: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 67: cmake_target_include_directories_build +67/67 Test #67: cmake_target_include_directories_build ....... Passed 4.95 sec + +100% tests passed, 0 tests failed out of 67 + +Label Time Summary: +all = 345.87 sec*proc (56 tests) +git_required = 3.39 sec*proc (2 tests) +not_reproducible = 16.57 sec*proc (10 tests) + +Total Test time (real) = 362.53 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/fix.patch new file mode 100644 index 000000000..1b695b164 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/fix.patch @@ -0,0 +1,44 @@ +diff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp +index ca6051e7..06c58483 100644 +--- a/include/nlohmann/detail/meta/type_traits.hpp ++++ b/include/nlohmann/detail/meta/type_traits.hpp +@@ -355,7 +355,8 @@ struct is_compatible_array_type_impl < + BasicJsonType, CompatibleArrayType, + enable_if_t < + is_detected::value&& +- is_iterator_traits>>::value >> ++ is_iterator_traits>>::value&& ++ !std::is_same>::value >> + { + static constexpr bool value = + is_constructible::value&& + !is_compatible_string_type::value&& ++ !std::is_same>::value&& + is_default_constructible::value&& + (std::is_move_assignable::value || + std::is_copy_assignable::value)&& +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 25c6983b..1c3ca369 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -3829,7 +3829,8 @@ struct is_compatible_array_type_impl < + BasicJsonType, CompatibleArrayType, + enable_if_t < + is_detected::value&& +- is_iterator_traits>>::value >> ++ is_iterator_traits>>::value&& ++ !std::is_same>::value >> + { + static constexpr bool value = + is_constructible::value&& + !is_compatible_string_type::value&& ++ !std::is_same>::value&& + is_default_constructible::value&& + (std::is_move_assignable::value || + std::is_copy_assignable::value)&& diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/report.json new file mode 100644 index 000000000..8413ce29f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3073/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3073, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "test-unicode4", "test-constructor1", "cmake_import_build", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-disabled_exceptions", "test-user_defined_input", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/fix-patch-run.log new file mode 100644 index 000000000..908aa637d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/fix-patch-run.log @@ -0,0 +1,570 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7160 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (16.6 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5640 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.vAP0LFHH +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.vAP0LFHH/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.vAP0LFHH/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.vAP0LFHH/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.vAP0LFHH/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.vAP0LFHH/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.vAP0LFHH +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=3490fb02cc7d +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.HYNXS4CN3Z/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-ordered_map.cpp +patching file test/src/unit-regression2.cpp +patching file include/nlohmann/ordered_map.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 3490fb02cc7d 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +[ 1%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms +[ 2%] Built target test-algorithms +[ 3%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator +[ 4%] Built target test-allocator +[ 5%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string +[ 6%] Built target test-alt-string +[ 6%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro +[ 7%] Built target test-assert_macro +[ 8%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 9%] Linking CXX executable test-bson +[ 9%] Built target test-bson +[ 10%] Building CXX object test/CMakeFiles/test-byte_container_with_subtype.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype +[ 11%] Built target test-byte_container_with_subtype +[ 12%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity +[ 13%] Built target test-capacity +[ 13%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor +[ 14%] Built target test-cbor +[ 15%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator +[ 16%] Built target test-class_const_iterator +[ 17%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator +[ 18%] Built target test-class_iterator +[ 19%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer +[ 20%] Built target test-class_lexer +[ 20%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 21%] Linking CXX executable test-class_parser +[ 21%] Built target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison +[ 23%] Built target test-comparison +[ 24%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts +[ 25%] Built target test-concepts +[ 26%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +[ 27%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 28%] Linking CXX executable test-constructor2 +[ 28%] Built target test-constructor2 +[ 29%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience +[ 30%] Built target test-convenience +[ 31%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions +[ 32%] Built target test-conversions +[ 33%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization +[ 34%] Built target test-deserialization +[ 34%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 35%] Linking CXX executable test-diagnostics +[ 35%] Built target test-diagnostics +[ 36%] Building CXX object test/CMakeFiles/test-disabled_exceptions.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions +[ 37%] Built target test-disabled_exceptions +[ 38%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1 +[ 39%] Built target test-element_access1 +[ 40%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 41%] Linking CXX executable test-element_access2 +[ 41%] Built target test-element_access2 +[ 41%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 42%] Linking CXX executable test-hash +[ 42%] Built target test-hash +[ 43%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 44%] Linking CXX executable test-inspection +[ 44%] Built target test-inspection +[ 45%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items +[ 46%] Built target test-items +[ 47%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 48%] Linking CXX executable test-iterators1 +[ 48%] Built target test-iterators1 +[ 49%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 49%] Linking CXX executable test-iterators2 +[ 49%] Built target test-iterators2 +[ 50%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 51%] Linking CXX executable test-json_patch +[ 51%] Built target test-json_patch +[ 52%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 53%] Linking CXX executable test-json_pointer +[ 53%] Built target test-json_pointer +[ 54%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 55%] Linking CXX executable test-large_json +[ 55%] Built target test-large_json +[ 56%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 56%] Linking CXX executable test-merge_patch +[ 56%] Built target test-merge_patch +[ 57%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 58%] Linking CXX executable test-meta +[ 58%] Built target test-meta +[ 59%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 60%] Linking CXX executable test-modifiers +[ 60%] Built target test-modifiers +[ 61%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack +[ 62%] Built target test-msgpack +[ 63%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept +[ 63%] Built target test-noexcept +[ 64%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json +[ 65%] Built target test-ordered_json +[ 66%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 67%] Linking CXX executable test-ordered_map +[ 67%] Built target test-ordered_map +[ 68%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 69%] Linking CXX executable test-pointer_access +[ 69%] Built target test-pointer_access +[ 70%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 70%] Linking CXX executable test-readme +[ 70%] Built target test-readme +[ 71%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 72%] Linking CXX executable test-reference_access +[ 72%] Built target test-reference_access +[ 73%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1 +[ 74%] Built target test-regression1 +[ 75%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2 +[ 76%] Built target test-regression2 +[ 77%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 77%] Linking CXX executable test-serialization +[ 77%] Built target test-serialization +[ 78%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 79%] Linking CXX executable test-testsuites +[ 79%] Built target test-testsuites +[ 80%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 81%] Linking CXX executable test-to_chars +[ 81%] Built target test-to_chars +[ 82%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 83%] Linking CXX executable test-ubjson +[ 83%] Built target test-ubjson +[ 84%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 84%] Linking CXX executable test-udt +[ 84%] Built target test-udt +[ 85%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 86%] Linking CXX executable test-udt_macro +[ 86%] Built target test-udt_macro +[ 87%] Building CXX object test/CMakeFiles/test-unicode1.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1 +[ 88%] Built target test-unicode1 +[ 89%] Building CXX object test/CMakeFiles/test-unicode2.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2 +[ 90%] Built target test-unicode2 +[ 91%] Building CXX object test/CMakeFiles/test-unicode3.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3 +[ 91%] Built target test-unicode3 +[ 92%] Building CXX object test/CMakeFiles/test-unicode4.dir/src/unit-unicode4.cpp.o +[ 93%] Linking CXX executable test-unicode4 +[ 93%] Built target test-unicode4 +[ 94%] Building CXX object test/CMakeFiles/test-unicode5.dir/src/unit-unicode5.cpp.o +[ 95%] Linking CXX executable test-unicode5 +[ 95%] Built target test-unicode5 +[ 96%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 97%] Linking CXX executable test-user_defined_input +[ 97%] Built target test-user_defined_input +[ 98%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring +[100%] Built target test-wstring +Test project /home/json/build + Start 1: download_test_data + 1/67 Test #1: download_test_data ........................... Passed 0.07 sec + Start 2: test-algorithms + 2/67 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/67 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/67 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/67 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/67 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-byte_container_with_subtype + 7/67 Test #7: test-byte_container_with_subtype ............. Passed 0.00 sec + Start 8: test-capacity + 8/67 Test #8: test-capacity ................................ Passed 0.00 sec + Start 9: test-cbor + 9/67 Test #9: test-cbor .................................... Passed 45.67 sec + Start 10: test-class_const_iterator +10/67 Test #10: test-class_const_iterator .................... Passed 0.00 sec + Start 11: test-class_iterator +11/67 Test #11: test-class_iterator .......................... Passed 0.00 sec + Start 12: test-class_lexer +12/67 Test #12: test-class_lexer ............................. Passed 0.00 sec + Start 13: test-class_parser +13/67 Test #13: test-class_parser ............................ Passed 0.08 sec + Start 14: test-comparison +14/67 Test #14: test-comparison .............................. Passed 0.00 sec + Start 15: test-concepts +15/67 Test #15: test-concepts ................................ Passed 0.00 sec + Start 16: test-constructor1 +16/67 Test #16: test-constructor1 ............................ Passed 0.01 sec + Start 17: test-constructor2 +17/67 Test #17: test-constructor2 ............................ Passed 0.00 sec + Start 18: test-convenience +18/67 Test #18: test-convenience ............................. Passed 0.00 sec + Start 19: test-conversions +19/67 Test #19: test-conversions ............................. Passed 0.01 sec + Start 20: test-deserialization +20/67 Test #20: test-deserialization ......................... Passed 0.01 sec + Start 21: test-diagnostics +21/67 Test #21: test-diagnostics ............................. Passed 0.00 sec + Start 22: test-disabled_exceptions +22/67 Test #22: test-disabled_exceptions ..................... Passed 0.00 sec + Start 23: test-element_access1 +23/67 Test #23: test-element_access1 ......................... Passed 0.01 sec + Start 24: test-element_access2 +24/67 Test #24: test-element_access2 ......................... Passed 0.01 sec + Start 25: test-hash +25/67 Test #25: test-hash .................................... Passed 0.00 sec + Start 26: test-inspection +26/67 Test #26: test-inspection .............................. Passed 6.20 sec + Start 27: test-items +27/67 Test #27: test-items ................................... Passed 0.00 sec + Start 28: test-iterators1 +28/67 Test #28: test-iterators1 .............................. Passed 0.01 sec + Start 29: test-iterators2 +29/67 Test #29: test-iterators2 .............................. Passed 0.02 sec + Start 30: test-json_patch +30/67 Test #30: test-json_patch .............................. Passed 0.01 sec + Start 31: test-json_pointer +31/67 Test #31: test-json_pointer ............................ Passed 0.00 sec + Start 32: test-large_json +32/67 Test #32: test-large_json .............................. Passed 5.54 sec + Start 33: test-merge_patch +33/67 Test #33: test-merge_patch ............................. Passed 0.00 sec + Start 34: test-meta +34/67 Test #34: test-meta .................................... Passed 0.00 sec + Start 35: test-modifiers +35/67 Test #35: test-modifiers ............................... Passed 0.01 sec + Start 36: test-msgpack +36/67 Test #36: test-msgpack ................................. Passed 47.93 sec + Start 37: test-noexcept +37/67 Test #37: test-noexcept ................................ Passed 0.00 sec + Start 38: test-ordered_json +38/67 Test #38: test-ordered_json ............................ Passed 0.00 sec + Start 39: test-ordered_map +39/67 Test #39: test-ordered_map ............................. Passed 0.00 sec + Start 40: test-pointer_access +40/67 Test #40: test-pointer_access .......................... Passed 0.00 sec + Start 41: test-readme +41/67 Test #41: test-readme .................................. Passed 0.00 sec + Start 42: test-reference_access +42/67 Test #42: test-reference_access ........................ Passed 0.00 sec + Start 43: test-regression1 +43/67 Test #43: test-regression1 ............................. Passed 7.69 sec + Start 44: test-regression2 +44/67 Test #44: test-regression2 ............................. Passed 0.00 sec + Start 45: test-serialization +45/67 Test #45: test-serialization ........................... Passed 0.00 sec + Start 46: test-testsuites +46/67 Test #46: test-testsuites .............................. Passed 0.25 sec + Start 47: test-to_chars +47/67 Test #47: test-to_chars ................................ Passed 0.00 sec + Start 48: test-ubjson +48/67 Test #48: test-ubjson .................................. Passed 15.02 sec + Start 49: test-udt +49/67 Test #49: test-udt ..................................... Passed 0.00 sec + Start 50: test-udt_macro +50/67 Test #50: test-udt_macro ............................... Passed 0.00 sec + Start 51: test-unicode1 +51/67 Test #51: test-unicode1 ................................ Passed 6.37 sec + Start 52: test-unicode2 +52/67 Test #52: test-unicode2 ................................ Passed 10.94 sec + Start 53: test-unicode3 +53/67 Test #53: test-unicode3 ................................ Passed 40.64 sec + Start 54: test-unicode4 +54/67 Test #54: test-unicode4 ................................ Passed 134.02 sec + Start 55: test-unicode5 +55/67 Test #55: test-unicode5 ................................ Passed 32.13 sec + Start 56: test-user_defined_input +56/67 Test #56: test-user_defined_input ...................... Passed 0.00 sec + Start 57: test-wstring +57/67 Test #57: test-wstring ................................. Passed 0.00 sec + Start 58: cmake_import_configure +58/67 Test #58: cmake_import_configure ....................... Passed 0.19 sec + Start 59: cmake_import_build +59/67 Test #59: cmake_import_build ........................... Passed 2.82 sec + Start 60: cmake_import_minver_configure +60/67 Test #60: cmake_import_minver_configure ................ Passed 0.19 sec + Start 61: cmake_import_minver_build +61/67 Test #61: cmake_import_minver_build .................... Passed 1.42 sec + Start 62: cmake_add_subdirectory_configure +62/67 Test #62: cmake_add_subdirectory_configure ............. Passed 0.20 sec + Start 63: cmake_add_subdirectory_build +63/67 Test #63: cmake_add_subdirectory_build ................. Passed 4.18 sec + Start 64: cmake_fetch_content_configure +64/67 Test #64: cmake_fetch_content_configure ................ Passed 0.89 sec + Start 65: cmake_fetch_content_build +65/67 Test #65: cmake_fetch_content_build .................... Passed 2.85 sec + Start 66: cmake_target_include_directories_configure +66/67 Test #66: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 67: cmake_target_include_directories_build +67/67 Test #67: cmake_target_include_directories_build ....... Passed 5.17 sec + +100% tests passed, 0 tests failed out of 67 + +Label Time Summary: +all = 352.65 sec*proc (56 tests) +git_required = 3.73 sec*proc (2 tests) +not_reproducible = 18.10 sec*proc (10 tests) + +Total Test time (real) = 370.84 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/fix.patch new file mode 100644 index 000000000..c5d57a5a7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/fix.patch @@ -0,0 +1,84 @@ +diff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp +index cf5f133e..ce19d6c6 100644 +--- a/include/nlohmann/ordered_map.hpp ++++ b/include/nlohmann/ordered_map.hpp +@@ -25,6 +25,7 @@ template , + using Container = std::vector, Allocator>; + using typename Container::iterator; + using typename Container::const_iterator; ++ using typename Container::difference_type; + using typename Container::size_type; + using typename Container::value_type; + +@@ -119,6 +120,29 @@ template , + return pos; + } + ++ iterator erase(iterator first, iterator last) ++ { ++ if (first == last) ++ { ++ return first; ++ } ++ ++ auto new_end = first; ++ for (auto it = last; it != this->end(); ++it, ++new_end) ++ { ++ new_end->~value_type(); ++ new (&*new_end) value_type{std::move(*it)}; ++ } ++ ++ auto diff = static_cast(last - first); ++ for (auto i = diff; i > 0; --i) ++ { ++ Container::pop_back(); ++ } ++ ++ return first; ++ } ++ + size_type count(const Key& key) const + { + for (auto it = this->begin(); it != this->end(); ++it) +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index f071e243..6fb23f28 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -17412,6 +17412,7 @@ template , + using Container = std::vector, Allocator>; + using typename Container::iterator; + using typename Container::const_iterator; ++ using typename Container::difference_type; + using typename Container::size_type; + using typename Container::value_type; + +@@ -17506,6 +17507,29 @@ template , + return pos; + } + ++ iterator erase(iterator first, iterator last) ++ { ++ if (first == last) ++ { ++ return first; ++ } ++ ++ auto new_end = first; ++ for (auto it = last; it != this->end(); ++it, ++new_end) ++ { ++ new_end->~value_type(); ++ new (&*new_end) value_type{std::move(*it)}; ++ } ++ ++ auto diff = static_cast(last - first); ++ for (auto i = diff; i > 0; --i) ++ { ++ Container::pop_back(); ++ } ++ ++ return first; ++ } ++ + size_type count(const Key& key) const + { + for (auto it = this->begin(); it != this->end(); ++it) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/report.json new file mode 100644 index 000000000..4aa03fbfe --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3109/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3109, "valid": true, "error_msg": "", "fixed_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-ubjson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode3": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 67, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-element_access1", "test-hash", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "test-unicode4", "test-constructor1", "cmake_import_build", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-disabled_exceptions", "test-user_defined_input", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "test-class_iterator", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/fix-patch-run.log new file mode 100644 index 000000000..8a3abefb7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/fix-patch-run.log @@ -0,0 +1,593 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7006 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (17.6 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.8 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5506 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.DgwYu2eq +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.DgwYu2eq/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.DgwYu2eq/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.DgwYu2eq/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.DgwYu2eq/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.DgwYu2eq/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.DgwYu2eq +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=a9f540af3bdc +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.CkN4KFOCc5/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-class_iterator.cpp +patching file include/nlohmann/detail/iterators/iter_impl.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux a9f540af3bdc 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 0%] Building CXX object test/CMakeFiles/doctest_main.dir/src/unit.cpp.o +[ 0%] Built target doctest_main +[ 1%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms +[ 2%] Built target test-algorithms +[ 3%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 3%] Linking CXX executable test-allocator +[ 3%] Built target test-allocator +[ 4%] Building CXX object test/CMakeFiles/test-alt-string.dir/src/unit-alt-string.cpp.o +[ 5%] Linking CXX executable test-alt-string +[ 5%] Built target test-alt-string +[ 6%] Building CXX object test/CMakeFiles/test-assert_macro.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro +[ 7%] Built target test-assert_macro +[ 8%] Building CXX object test/CMakeFiles/test-bson.dir/src/unit-bson.cpp.o +[ 8%] Linking CXX executable test-bson +[ 8%] Built target test-bson +[ 9%] Building CXX object test/CMakeFiles/test-byte_container_with_subtype.dir/src/unit-byte_container_with_subtype.cpp.o +[ 10%] Linking CXX executable test-byte_container_with_subtype +[ 10%] Built target test-byte_container_with_subtype +[ 11%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 12%] Linking CXX executable test-capacity +[ 12%] Built target test-capacity +[ 12%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 13%] Linking CXX executable test-cbor +[ 13%] Built target test-cbor +[ 14%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 15%] Linking CXX executable test-class_const_iterator +[ 15%] Built target test-class_const_iterator +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 17%] Linking CXX executable test-class_iterator +[ 17%] Built target test-class_iterator +[ 17%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 18%] Linking CXX executable test-class_lexer +[ 18%] Built target test-class_lexer +[ 19%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 20%] Linking CXX executable test-class_parser +[ 20%] Built target test-class_parser +[ 21%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 21%] Linking CXX executable test-comparison +[ 21%] Built target test-comparison +[ 22%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 23%] Linking CXX executable test-concepts +[ 23%] Built target test-concepts +[ 24%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 25%] Linking CXX executable test-constructor1 +[ 25%] Built target test-constructor1 +[ 26%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 26%] Linking CXX executable test-constructor2 +[ 26%] Built target test-constructor2 +[ 27%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 28%] Linking CXX executable test-convenience +[ 28%] Built target test-convenience +[ 29%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 30%] Linking CXX executable test-conversions +[ 30%] Built target test-conversions +[ 30%] Building CXX object test/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 31%] Linking CXX executable test-conversions_cpp17 +[ 31%] Built target test-conversions_cpp17 +[ 32%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +[ 33%] Linking CXX executable test-deserialization +[ 33%] Built target test-deserialization +[ 34%] Building CXX object test/CMakeFiles/test-diagnostics.dir/src/unit-diagnostics.cpp.o +[ 35%] Linking CXX executable test-diagnostics +[ 35%] Built target test-diagnostics +[ 35%] Building CXX object test/CMakeFiles/test-disabled_exceptions.dir/src/unit-disabled_exceptions.cpp.o +[ 36%] Linking CXX executable test-disabled_exceptions +[ 36%] Built target test-disabled_exceptions +[ 37%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 38%] Linking CXX executable test-element_access1 +[ 38%] Built target test-element_access1 +[ 39%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 39%] Linking CXX executable test-element_access2 +[ 39%] Built target test-element_access2 +[ 40%] Building CXX object test/CMakeFiles/test-hash.dir/src/unit-hash.cpp.o +[ 41%] Linking CXX executable test-hash +[ 41%] Built target test-hash +[ 42%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 43%] Linking CXX executable test-inspection +[ 43%] Built target test-inspection +[ 44%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +[ 44%] Linking CXX executable test-items +[ 44%] Built target test-items +[ 45%] Building CXX object test/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items_cpp17 +[ 46%] Built target test-items_cpp17 +[ 47%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 48%] Linking CXX executable test-iterators1 +[ 48%] Built target test-iterators1 +[ 49%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 49%] Linking CXX executable test-iterators2 +[ 49%] Built target test-iterators2 +[ 50%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 51%] Linking CXX executable test-json_patch +[ 51%] Built target test-json_patch +[ 52%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 53%] Linking CXX executable test-json_pointer +[ 53%] Built target test-json_pointer +[ 53%] Building CXX object test/CMakeFiles/test-large_json.dir/src/unit-large_json.cpp.o +[ 54%] Linking CXX executable test-large_json +[ 54%] Built target test-large_json +[ 55%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 56%] Linking CXX executable test-merge_patch +[ 56%] Built target test-merge_patch +[ 57%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 58%] Linking CXX executable test-meta +[ 58%] Built target test-meta +[ 58%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 59%] Linking CXX executable test-modifiers +[ 59%] Built target test-modifiers +[ 60%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 61%] Linking CXX executable test-msgpack +[ 61%] Built target test-msgpack +[ 62%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 62%] Linking CXX executable test-noexcept +[ 62%] Built target test-noexcept +[ 63%] Building CXX object test/CMakeFiles/test-ordered_json.dir/src/unit-ordered_json.cpp.o +[ 64%] Linking CXX executable test-ordered_json +[ 64%] Built target test-ordered_json +[ 65%] Building CXX object test/CMakeFiles/test-ordered_map.dir/src/unit-ordered_map.cpp.o +[ 66%] Linking CXX executable test-ordered_map +[ 66%] Built target test-ordered_map +[ 67%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 67%] Linking CXX executable test-pointer_access +[ 67%] Built target test-pointer_access +[ 68%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 69%] Linking CXX executable test-readme +[ 69%] Built target test-readme +[ 70%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 71%] Linking CXX executable test-reference_access +[ 71%] Built target test-reference_access +[ 71%] Building CXX object test/CMakeFiles/test-regression1.dir/src/unit-regression1.cpp.o +[ 72%] Linking CXX executable test-regression1 +[ 72%] Built target test-regression1 +[ 73%] Building CXX object test/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1_cpp17 +[ 74%] Built target test-regression1_cpp17 +[ 75%] Building CXX object test/CMakeFiles/test-regression2.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2 +[ 76%] Built target test-regression2 +[ 76%] Building CXX object test/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 77%] Linking CXX executable test-regression2_cpp17 +[ 77%] Built target test-regression2_cpp17 +[ 78%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +[ 79%] Linking CXX executable test-serialization +[ 79%] Built target test-serialization +[ 80%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 80%] Linking CXX executable test-testsuites +[ 80%] Built target test-testsuites +[ 81%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[ 82%] Linking CXX executable test-to_chars +[ 82%] Built target test-to_chars +[ 83%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 84%] Linking CXX executable test-ubjson +[ 84%] Built target test-ubjson +[ 85%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 85%] Linking CXX executable test-udt +[ 85%] Built target test-udt +[ 86%] Building CXX object test/CMakeFiles/test-udt_macro.dir/src/unit-udt_macro.cpp.o +[ 87%] Linking CXX executable test-udt_macro +[ 87%] Built target test-udt_macro +[ 88%] Building CXX object test/CMakeFiles/test-unicode1.dir/src/unit-unicode1.cpp.o +[ 89%] Linking CXX executable test-unicode1 +[ 89%] Built target test-unicode1 +[ 89%] Building CXX object test/CMakeFiles/test-unicode2.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2 +[ 90%] Built target test-unicode2 +[ 91%] Building CXX object test/CMakeFiles/test-unicode3.dir/src/unit-unicode3.cpp.o +[ 92%] Linking CXX executable test-unicode3 +[ 92%] Built target test-unicode3 +[ 93%] Building CXX object test/CMakeFiles/test-unicode4.dir/src/unit-unicode4.cpp.o +[ 94%] Linking CXX executable test-unicode4 +[ 94%] Built target test-unicode4 +[ 94%] Building CXX object test/CMakeFiles/test-unicode5.dir/src/unit-unicode5.cpp.o +[ 95%] Linking CXX executable test-unicode5 +[ 95%] Built target test-unicode5 +[ 96%] Building CXX object test/CMakeFiles/test-user_defined_input.dir/src/unit-user_defined_input.cpp.o +[ 97%] Linking CXX executable test-user_defined_input +[ 97%] Built target test-user_defined_input +[ 98%] Building CXX object test/CMakeFiles/test-wstring.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring +[100%] Built target test-wstring +Test project /home/json/build + Start 1: download_test_data + 1/71 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms + 2/71 Test #2: test-algorithms .............................. Passed 0.00 sec + Start 3: test-allocator + 3/71 Test #3: test-allocator ............................... Passed 0.00 sec + Start 4: test-alt-string + 4/71 Test #4: test-alt-string .............................. Passed 0.00 sec + Start 5: test-assert_macro + 5/71 Test #5: test-assert_macro ............................ Passed 0.00 sec + Start 6: test-bson + 6/71 Test #6: test-bson .................................... Passed 0.01 sec + Start 7: test-byte_container_with_subtype + 7/71 Test #7: test-byte_container_with_subtype ............. Passed 0.00 sec + Start 8: test-capacity + 8/71 Test #8: test-capacity ................................ Passed 0.00 sec + Start 9: test-cbor + 9/71 Test #9: test-cbor .................................... Passed 46.03 sec + Start 10: test-class_const_iterator +10/71 Test #10: test-class_const_iterator .................... Passed 0.00 sec + Start 11: test-class_iterator +11/71 Test #11: test-class_iterator ..........................***Failed 0.00 sec + Start 12: test-class_lexer +12/71 Test #12: test-class_lexer ............................. Passed 0.00 sec + Start 13: test-class_parser +13/71 Test #13: test-class_parser ............................ Passed 0.08 sec + Start 14: test-comparison +14/71 Test #14: test-comparison .............................. Passed 0.00 sec + Start 15: test-concepts +15/71 Test #15: test-concepts ................................ Passed 0.00 sec + Start 16: test-constructor1 +16/71 Test #16: test-constructor1 ............................ Passed 0.01 sec + Start 17: test-constructor2 +17/71 Test #17: test-constructor2 ............................ Passed 0.00 sec + Start 18: test-convenience +18/71 Test #18: test-convenience ............................. Passed 0.00 sec + Start 19: test-conversions_cpp17 +19/71 Test #19: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 20: test-conversions +20/71 Test #20: test-conversions ............................. Passed 0.01 sec + Start 21: test-deserialization +21/71 Test #21: test-deserialization ......................... Passed 0.01 sec + Start 22: test-diagnostics +22/71 Test #22: test-diagnostics ............................. Passed 0.00 sec + Start 23: test-disabled_exceptions +23/71 Test #23: test-disabled_exceptions ..................... Passed 0.00 sec + Start 24: test-element_access1 +24/71 Test #24: test-element_access1 ......................... Passed 0.01 sec + Start 25: test-element_access2 +25/71 Test #25: test-element_access2 ......................... Passed 0.01 sec + Start 26: test-hash +26/71 Test #26: test-hash .................................... Passed 0.00 sec + Start 27: test-inspection +27/71 Test #27: test-inspection .............................. Passed 6.31 sec + Start 28: test-items_cpp17 +28/71 Test #28: test-items_cpp17 ............................. Passed 0.00 sec + Start 29: test-items +29/71 Test #29: test-items ................................... Passed 0.00 sec + Start 30: test-iterators1 +30/71 Test #30: test-iterators1 .............................. Passed 0.01 sec + Start 31: test-iterators2 +31/71 Test #31: test-iterators2 .............................. Passed 0.02 sec + Start 32: test-json_patch +32/71 Test #32: test-json_patch .............................. Passed 0.01 sec + Start 33: test-json_pointer +33/71 Test #33: test-json_pointer ............................ Passed 0.00 sec + Start 34: test-large_json +34/71 Test #34: test-large_json .............................. Passed 5.53 sec + Start 35: test-merge_patch +35/71 Test #35: test-merge_patch ............................. Passed 0.00 sec + Start 36: test-meta +36/71 Test #36: test-meta .................................... Passed 0.00 sec + Start 37: test-modifiers +37/71 Test #37: test-modifiers ............................... Passed 0.01 sec + Start 38: test-msgpack +38/71 Test #38: test-msgpack ................................. Passed 46.18 sec + Start 39: test-noexcept +39/71 Test #39: test-noexcept ................................ Passed 0.00 sec + Start 40: test-ordered_json +40/71 Test #40: test-ordered_json ............................ Passed 0.00 sec + Start 41: test-ordered_map +41/71 Test #41: test-ordered_map ............................. Passed 0.00 sec + Start 42: test-pointer_access +42/71 Test #42: test-pointer_access .......................... Passed 0.00 sec + Start 43: test-readme +43/71 Test #43: test-readme .................................. Passed 0.00 sec + Start 44: test-reference_access +44/71 Test #44: test-reference_access ........................ Passed 0.00 sec + Start 45: test-regression1_cpp17 +45/71 Test #45: test-regression1_cpp17 ....................... Passed 7.58 sec + Start 46: test-regression1 +46/71 Test #46: test-regression1 ............................. Passed 7.58 sec + Start 47: test-regression2_cpp17 +47/71 Test #47: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 48: test-regression2 +48/71 Test #48: test-regression2 ............................. Passed 0.00 sec + Start 49: test-serialization +49/71 Test #49: test-serialization ........................... Passed 0.00 sec + Start 50: test-testsuites +50/71 Test #50: test-testsuites .............................. Passed 0.09 sec + Start 51: test-to_chars +51/71 Test #51: test-to_chars ................................ Passed 0.00 sec + Start 52: test-ubjson +52/71 Test #52: test-ubjson .................................. Passed 14.77 sec + Start 53: test-udt +53/71 Test #53: test-udt ..................................... Passed 0.00 sec + Start 54: test-udt_macro +54/71 Test #54: test-udt_macro ............................... Passed 0.00 sec + Start 55: test-unicode1 +55/71 Test #55: test-unicode1 ................................ Passed 6.44 sec + Start 56: test-unicode2 +56/71 Test #56: test-unicode2 ................................ Passed 10.48 sec + Start 57: test-unicode3 +57/71 Test #57: test-unicode3 ................................ Passed 38.88 sec + Start 58: test-unicode4 +58/71 Test #58: test-unicode4 ................................ Passed 127.67 sec + Start 59: test-unicode5 +59/71 Test #59: test-unicode5 ................................ Passed 30.44 sec + Start 60: test-user_defined_input +60/71 Test #60: test-user_defined_input ...................... Passed 0.00 sec + Start 61: test-wstring +61/71 Test #61: test-wstring ................................. Passed 0.00 sec + Start 62: cmake_import_configure +62/71 Test #62: cmake_import_configure ....................... Passed 0.19 sec + Start 63: cmake_import_build +63/71 Test #63: cmake_import_build ........................... Passed 2.62 sec + Start 64: cmake_import_minver_configure +64/71 Test #64: cmake_import_minver_configure ................ Passed 0.19 sec + Start 65: cmake_import_minver_build +65/71 Test #65: cmake_import_minver_build .................... Passed 1.33 sec + Start 66: cmake_add_subdirectory_configure +66/71 Test #66: cmake_add_subdirectory_configure ............. Passed 0.19 sec + Start 67: cmake_add_subdirectory_build +67/71 Test #67: cmake_add_subdirectory_build ................. Passed 3.88 sec + Start 68: cmake_fetch_content_configure +68/71 Test #68: cmake_fetch_content_configure ................ Passed 0.85 sec + Start 69: cmake_fetch_content_build +69/71 Test #69: cmake_fetch_content_build .................... Passed 2.65 sec + Start 70: cmake_target_include_directories_configure +70/71 Test #70: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 71: cmake_target_include_directories_build +71/71 Test #71: cmake_target_include_directories_build ....... Passed 4.74 sec + +99% tests passed, 1 tests failed out of 71 + +Label Time Summary: +all = 348.27 sec*proc (60 tests) +git_required = 3.50 sec*proc (2 tests) +not_reproducible = 16.83 sec*proc (10 tests) + +Total Test time (real) = 365.19 sec + +The following tests FAILED: + 11 - test-class_iterator (Failed) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/fix.patch new file mode 100644 index 000000000..0946e3a7b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/fix.patch @@ -0,0 +1,26 @@ +diff --git a/include/nlohmann/detail/iterators/iter_impl.hpp b/include/nlohmann/detail/iterators/iter_impl.hpp +index 434a62d3..5a282cae 100644 +--- a/include/nlohmann/detail/iterators/iter_impl.hpp ++++ b/include/nlohmann/detail/iterators/iter_impl.hpp +@@ -352,7 +352,7 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci + @brief post-increment (it++) + @pre The iterator is initialized; i.e. `m_object != nullptr`. + */ +- iter_impl const operator++(int) // NOLINT(readability-const-return-type) ++ iter_impl operator++(int) + { + auto result = *this; + ++(*this); +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index e40e3b05..90b4ab1f 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -11728,7 +11728,7 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci + @brief post-increment (it++) + @pre The iterator is initialized; i.e. `m_object != nullptr`. + */ +- iter_impl const operator++(int) // NOLINT(readability-const-return-type) ++ iter_impl operator++(int) + { + auto result = *this; + ++(*this); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/report.json new file mode 100644 index 000000000..94e32662f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3332/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3332, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (71, 0, 0)\n test = (70, 0, 0)\n fix = (70, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 71, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-regression2_cpp17", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-conversions_cpp17", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-regression1_cpp17", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-items_cpp17", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-class_iterator", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 70, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "cmake_target_include_directories_build", "test-unicode3", "test-hash", "test-element_access1", "test-regression2_cpp17", "test-allocator", "cmake_target_include_directories_configure", "test-element_access2", "test-concepts", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-conversions_cpp17", "test-unicode1", "test-diagnostics", "test-convenience", "test-conversions", "test-assert_macro", "test-ordered_map", "test-class_lexer", "test-alt-string", "test-unicode4", "cmake_import_build", "test-constructor1", "test-inspection", "test-user_defined_input", "test-modifiers", "test-iterators2", "test-merge_patch", "test-disabled_exceptions", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-regression1_cpp17", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-regression1", "test-algorithms", "test-comparison", "test-items_cpp17", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-meta", "test-deserialization", "test-msgpack", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "cmake_fetch_content_build", "test-class_const_iterator", "test-ordered_json", "cmake_import_minver_build", "test-items", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 70, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-ubjson", "test-regression2_cpp17", "test-unicode3", "test-element_access1", "test-hash", "cmake_target_include_directories_build", "test-allocator", "test-concepts", "test-element_access2", "cmake_target_include_directories_configure", "test-unicode5", "test-serialization", "test-wstring", "test-capacity", "test-readme", "test-conversions_cpp17", "test-diagnostics", "test-unicode1", "test-convenience", "test-conversions", "test-assert_macro", "test-alt-string", "test-class_lexer", "test-ordered_map", "test-unicode4", "test-constructor1", "cmake_import_build", "test-inspection", "test-merge_patch", "test-iterators2", "test-modifiers", "test-disabled_exceptions", "test-user_defined_input", "test-constructor2", "test-regression2", "test-byte_container_with_subtype", "test-regression1_cpp17", "test-large_json", "test-bson", "cmake_add_subdirectory_configure", "test-to_chars", "test-class_parser", "test-algorithms", "test-regression1", "test-comparison", "test-items_cpp17", "test-udt_macro", "test-testsuites", "cmake_import_configure", "test-iterators1", "test-deserialization", "test-meta", "test-msgpack", "cmake_import_minver_configure", "test-json_pointer", "test-reference_access", "test-unicode2", "test-json_patch", "test-cbor", "test-class_const_iterator", "cmake_fetch_content_build", "test-items", "test-ordered_json", "cmake_import_minver_build", "test-pointer_access", "cmake_fetch_content_configure", "test-udt", "test-noexcept", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/fix-patch-run.log new file mode 100644 index 000000000..97812ae8c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/fix-patch-run.log @@ -0,0 +1,2012 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6768 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.0 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.6 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5727 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.Os2HmDXo +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.Os2HmDXo/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.Os2HmDXo/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.Os2HmDXo/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.Os2HmDXo/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.Os2HmDXo/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.Os2HmDXo +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=5b8b1d3bec4c +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.tfV2R76dIN/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-alt-string.cpp +patching file test/src/unit-convenience.cpp +patching file test/src/unit-json_pointer.cpp +patching file test/src/unit-regression2.cpp +Hunk #1 succeeded at 759 (offset 44 lines). +Hunk #2 succeeded at 767 (offset 44 lines). +patching file include/nlohmann/detail/json_pointer.hpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 5b8b1d3bec4c 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object test/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object test/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 4%] Building CXX object test/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object test/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string_cpp11 +[ 6%] Built target test-alt-string_cpp11 +[ 7%] Building CXX object test/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 8%] Building CXX object test/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 9%] Linking CXX executable test-bson_cpp11 +[ 9%] Built target test-bson_cpp11 +[ 10%] Building CXX object test/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 11%] Built target test-byte_container_with_subtype_cpp11 +[ 11%] Building CXX object test/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 12%] Linking CXX executable test-capacity_cpp11 +[ 12%] Built target test-capacity_cpp11 +[ 13%] Building CXX object test/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor_cpp11 +[ 14%] Built target test-cbor_cpp11 +[ 14%] Building CXX object test/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 15%] Linking CXX executable test-class_const_iterator_cpp11 +[ 15%] Built target test-class_const_iterator_cpp11 +[ 16%] Building CXX object test/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 17%] Linking CXX executable test-class_iterator_cpp11 +[ 17%] Built target test-class_iterator_cpp11 +[ 17%] Building CXX object test/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 18%] Linking CXX executable test-class_lexer_cpp11 +[ 18%] Built target test-class_lexer_cpp11 +[ 19%] Building CXX object test/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 20%] Linking CXX executable test-class_parser_cpp11 +[ 20%] Built target test-class_parser_cpp11 +[ 21%] Building CXX object test/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 21%] Linking CXX executable test-comparison_cpp11 +[ 21%] Built target test-comparison_cpp11 +[ 22%] Building CXX object test/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison_cpp20 +[ 23%] Built target test-comparison_cpp20 +[ 24%] Building CXX object test/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 24%] Linking CXX executable test-concepts_cpp11 +[ 24%] Built target test-concepts_cpp11 +[ 25%] Building CXX object test/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 26%] Linking CXX executable test-constructor1_cpp11 +[ 26%] Built target test-constructor1_cpp11 +[ 27%] Building CXX object test/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 27%] Linking CXX executable test-constructor2_cpp11 +[ 27%] Built target test-constructor2_cpp11 +[ 28%] Building CXX object test/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +/home/json/test/src/unit-convenience.cpp: In function 'void _DOCTEST_ANON_FUNC_2()': +/home/json/test/src/unit-convenience.cpp:194:33: error: 'concat' has not been declared in 'nlohmann::detail' + 194 | using nlohmann::detail::concat; + | ^~~~~~ +/home/json/test/src/unit-convenience.cpp:203:32: error: 'concat' was not declared in this scope; did you mean 'wcsncat'? + 203 | std::string str1 = concat(hello_iter, world, '!'); + | ^~~~~~ + | wcsncat +/home/json/test/src/unit-convenience.cpp:214:35: error: 'concat' was not declared in this scope; did you mean 'wcsncat'? + 214 | alt_string_iter str = concat(hello_iter, world, '!'); + | ^~~~~~ + | wcsncat +/home/json/test/src/unit-convenience.cpp:214:57: error: expected primary-expression before '>' token + 214 | alt_string_iter str = concat(hello_iter, world, '!'); + | ^ +/home/json/test/src/unit-convenience.cpp:221:35: error: 'concat' was not declared in this scope; did you mean 'wcsncat'? + 221 | alt_string_data str = concat(hello_data, world, '!'); + | ^~~~~~ + | wcsncat +/home/json/test/src/unit-convenience.cpp:221:57: error: expected primary-expression before '>' token + 221 | alt_string_data str = concat(hello_data, world, '!'); + | ^ +gmake[2]: *** [test/CMakeFiles/test-convenience_cpp11.dir/build.make:76: test/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:1584: test/CMakeFiles/test-convenience_cpp11.dir/all] Error 2 +gmake: *** [Makefile:146: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/77 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/77 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/77 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/77 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/77 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-bson_cpp11 + 6/77 Test #6: test-bson_cpp11 .............................. Passed 0.02 sec + Start 7: test-byte_container_with_subtype_cpp11 + 7/77 Test #7: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 8: test-capacity_cpp11 + 8/77 Test #8: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 9: test-cbor_cpp11 + 9/77 Test #9: test-cbor_cpp11 .............................. Passed 40.28 sec + Start 10: test-class_const_iterator_cpp11 +10/77 Test #10: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 11: test-class_iterator_cpp11 +11/77 Test #11: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 12: test-class_lexer_cpp11 +12/77 Test #12: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 13: test-class_parser_cpp11 +13/77 Test #13: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 14: test-comparison_cpp11 +14/77 Test #14: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 15: test-comparison_cpp20 +15/77 Test #15: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 16: test-concepts_cpp11 +16/77 Test #16: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 17: test-constructor1_cpp11 +17/77 Test #17: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 18: test-constructor2_cpp11 +18/77 Test #18: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 19: test-convenience_cpp11 +Could not find executable /home/json/build/test/test-convenience_cpp11 +Looked in the following places: +/home/json/build/test/test-convenience_cpp11 +/home/json/build/test/test-convenience_cpp11 +/home/json/build/test/Release/test-convenience_cpp11 +/home/json/build/test/Release/test-convenience_cpp11 +/home/json/build/test/Debug/test-convenience_cpp11 +/home/json/build/test/Debug/test-convenience_cpp11 +/home/json/build/test/MinSizeRel/test-convenience_cpp11 +/home/json/build/test/MinSizeRel/test-convenience_cpp11 +/home/json/build/test/RelWithDebInfo/test-convenience_cpp11 +/home/json/build/test/RelWithDebInfo/test-convenience_cpp11 +/home/json/build/test/Deployment/test-convenience_cpp11 +/home/json/build/test/Deployment/test-convenience_cpp11 +/home/json/build/test/Development/test-convenience_cpp11 +/home/json/build/test/Development/test-convenience_cpp11 +home/json/build/test/test-convenience_cpp11 +home/json/build/test/test-convenience_cpp11 +home/json/build/test/Release/test-convenience_cpp11 +Unable to find executable: /home/json/build/test/test-convenience_cpp11 +home/json/build/test/Release/test-convenience_cpp11 +home/json/build/test/Debug/test-convenience_cpp11 +home/json/build/test/Debug/test-convenience_cpp11 +home/json/build/test/MinSizeRel/test-convenience_cpp11 +home/json/build/test/MinSizeRel/test-convenience_cpp11 +home/json/build/test/RelWithDebInfo/test-convenience_cpp11 +home/json/build/test/RelWithDebInfo/test-convenience_cpp11 +home/json/build/test/Deployment/test-convenience_cpp11 +home/json/build/test/Deployment/test-convenience_cpp11 +home/json/build/test/Development/test-convenience_cpp11 +home/json/build/test/Development/test-convenience_cpp11 +19/77 Test #19: test-convenience_cpp11 .......................***Not Run 0.00 sec + Start 20: test-conversions_cpp11 +Could not find executable /home/json/build/test/test-conversions_cpp11 +Looked in the following places: +/home/json/build/test/test-conversions_cpp11 +/home/json/build/test/test-conversions_cpp11 +/home/json/build/test/Release/test-conversions_cpp11 +/home/json/build/test/Release/test-conversions_cpp11 +/home/json/build/test/Debug/test-conversions_cpp11 +/home/json/build/test/Debug/test-conversions_cpp11 +/home/json/build/test/MinSizeRel/test-conversions_cpp11 +/home/json/build/test/MinSizeRel/test-conversions_cpp11 +/home/json/build/test/RelWithDebInfo/test-conversions_cpp11 +/home/json/build/test/RelWithDebInfo/test-conversions_cpp11 +/home/json/build/test/Deployment/test-conversions_cpp11 +Unable to find executable: /home/json/build/test/test-conversions_cpp11 +/home/json/build/test/Deployment/test-conversions_cpp11 +/home/json/build/test/Development/test-conversions_cpp11 +/home/json/build/test/Development/test-conversions_cpp11 +home/json/build/test/test-conversions_cpp11 +home/json/build/test/test-conversions_cpp11 +home/json/build/test/Release/test-conversions_cpp11 +home/json/build/test/Release/test-conversions_cpp11 +home/json/build/test/Debug/test-conversions_cpp11 +home/json/build/test/Debug/test-conversions_cpp11 +home/json/build/test/MinSizeRel/test-conversions_cpp11 +home/json/build/test/MinSizeRel/test-conversions_cpp11 +home/json/build/test/RelWithDebInfo/test-conversions_cpp11 +home/json/build/test/RelWithDebInfo/test-conversions_cpp11 +home/json/build/test/Deployment/test-conversions_cpp11 +home/json/build/test/Deployment/test-conversions_cpp11 +home/json/build/test/Development/test-conversions_cpp11 +home/json/build/test/Development/test-conversions_cpp11 +20/77 Test #20: test-conversions_cpp11 .......................***Not Run 0.00 sec + Start 21: test-conversions_cpp14 +Could not find executable /home/json/build/test/test-conversions_cpp14 +Looked in the following places: +/home/json/build/test/test-conversions_cpp14 +/home/json/build/test/test-conversions_cpp14 +/home/json/build/test/Release/test-conversions_cpp14 +/home/json/build/test/Release/test-conversions_cpp14 +/home/json/build/test/Debug/test-conversions_cpp14 +/home/json/build/test/Debug/test-conversions_cpp14 +/home/json/build/test/MinSizeRel/test-conversions_cpp14 +/home/json/build/test/MinSizeRel/test-conversions_cpp14 +/home/json/build/test/RelWithDebInfo/test-conversions_cpp14 +/home/json/build/test/RelWithDebInfo/test-conversions_cpp14 +/home/json/build/test/Deployment/test-conversions_cpp14 +/home/json/build/test/Deployment/test-conversions_cpp14 +/home/json/build/test/Development/test-conversions_cpp14 +/home/json/build/test/Development/test-conversions_cpp14 +home/json/build/test/test-conversions_cpp14 +home/json/build/test/test-conversions_cpp14 +home/json/build/test/Release/test-conversions_cpp14 +home/json/build/test/Release/test-conversions_cpp14 +home/json/build/test/Debug/test-conversions_cpp14 +home/json/build/test/Debug/test-conversions_cpp14 +home/json/build/test/MinSizeRel/test-conversions_cpp14 +home/json/build/test/MinSizeRel/test-conversions_cpp14 +home/json/build/test/RelWithDebInfo/test-conversions_cpp14 +home/json/build/test/RelWithDebInfo/test-conversions_cpp14 +Unable to find executable: /home/json/build/test/test-conversions_cpp14 +home/json/build/test/Deployment/test-conversions_cpp14 +home/json/build/test/Deployment/test-conversions_cpp14 +home/json/build/test/Development/test-conversions_cpp14 +home/json/build/test/Development/test-conversions_cpp14 +21/77 Test #21: test-conversions_cpp14 .......................***Not Run 0.00 sec + Start 22: test-conversions_cpp17 +Could not find executable /home/json/build/test/test-conversions_cpp17 +Looked in the following places: +/home/json/build/test/test-conversions_cpp17 +/home/json/build/test/test-conversions_cpp17 +/home/json/build/test/Release/test-conversions_cpp17 +/home/json/build/test/Release/test-conversions_cpp17 +/home/json/build/test/Debug/test-conversions_cpp17 +/home/json/build/test/Debug/test-conversions_cpp17 +/home/json/build/test/MinSizeRel/test-conversions_cpp17 +/home/json/build/test/MinSizeRel/test-conversions_cpp17 +/home/json/build/test/RelWithDebInfo/test-conversions_cpp17 +/home/json/build/test/RelWithDebInfo/test-conversions_cpp17 +/home/json/build/test/Deployment/test-conversions_cpp17 +/home/json/build/test/Deployment/test-conversions_cpp17 +Unable to find executable: /home/json/build/test/test-conversions_cpp17 +/home/json/build/test/Development/test-conversions_cpp17 +/home/json/build/test/Development/test-conversions_cpp17 +home/json/build/test/test-conversions_cpp17 +home/json/build/test/test-conversions_cpp17 +home/json/build/test/Release/test-conversions_cpp17 +home/json/build/test/Release/test-conversions_cpp17 +home/json/build/test/Debug/test-conversions_cpp17 +home/json/build/test/Debug/test-conversions_cpp17 +home/json/build/test/MinSizeRel/test-conversions_cpp17 +home/json/build/test/MinSizeRel/test-conversions_cpp17 +home/json/build/test/RelWithDebInfo/test-conversions_cpp17 +home/json/build/test/RelWithDebInfo/test-conversions_cpp17 +home/json/build/test/Deployment/test-conversions_cpp17 +home/json/build/test/Deployment/test-conversions_cpp17 +home/json/build/test/Development/test-conversions_cpp17 +home/json/build/test/Development/test-conversions_cpp17 +22/77 Test #22: test-conversions_cpp17 .......................***Not Run 0.00 sec + Start 23: test-deserialization_cpp11 +Could not find executable /home/json/build/test/test-deserialization_cpp11 +Looked in the following places: +/home/json/build/test/test-deserialization_cpp11 +/home/json/build/test/test-deserialization_cpp11 +/home/json/build/test/Release/test-deserialization_cpp11 +/home/json/build/test/Release/test-deserialization_cpp11 +/home/json/build/test/Debug/test-deserialization_cpp11 +/home/json/build/test/Debug/test-deserialization_cpp11 +/home/json/build/test/MinSizeRel/test-deserialization_cpp11 +/home/json/build/test/MinSizeRel/test-deserialization_cpp11 +/home/json/build/test/RelWithDebInfo/test-deserialization_cpp11 +/home/json/build/test/RelWithDebInfo/test-deserialization_cpp11 +/home/json/build/test/Deployment/test-deserialization_cpp11 +/home/json/build/test/Deployment/test-deserialization_cpp11 +/home/json/build/test/Development/test-deserialization_cpp11 +/home/json/build/test/Development/test-deserialization_cpp11 +home/json/build/test/test-deserialization_cpp11 +home/json/build/test/test-deserialization_cpp11 +Unable to find executable: /home/json/build/test/test-deserialization_cpp11 +home/json/build/test/Release/test-deserialization_cpp11 +home/json/build/test/Release/test-deserialization_cpp11 +home/json/build/test/Debug/test-deserialization_cpp11 +home/json/build/test/Debug/test-deserialization_cpp11 +home/json/build/test/MinSizeRel/test-deserialization_cpp11 +home/json/build/test/MinSizeRel/test-deserialization_cpp11 +home/json/build/test/RelWithDebInfo/test-deserialization_cpp11 +home/json/build/test/RelWithDebInfo/test-deserialization_cpp11 +home/json/build/test/Deployment/test-deserialization_cpp11 +home/json/build/test/Deployment/test-deserialization_cpp11 +home/json/build/test/Development/test-deserialization_cpp11 +home/json/build/test/Development/test-deserialization_cpp11 +23/77 Test #23: test-deserialization_cpp11 ...................***Not Run 0.00 sec + Start 24: test-diagnostics_cpp11 +Could not find executable /home/json/build/test/test-diagnostics_cpp11 +Unable to find executable: /home/json/build/test/test-diagnostics_cpp11 +Looked in the following places: +/home/json/build/test/test-diagnostics_cpp11 +/home/json/build/test/test-diagnostics_cpp11 +/home/json/build/test/Release/test-diagnostics_cpp11 +/home/json/build/test/Release/test-diagnostics_cpp11 +/home/json/build/test/Debug/test-diagnostics_cpp11 +/home/json/build/test/Debug/test-diagnostics_cpp11 +/home/json/build/test/MinSizeRel/test-diagnostics_cpp11 +/home/json/build/test/MinSizeRel/test-diagnostics_cpp11 +/home/json/build/test/RelWithDebInfo/test-diagnostics_cpp11 +/home/json/build/test/RelWithDebInfo/test-diagnostics_cpp11 +/home/json/build/test/Deployment/test-diagnostics_cpp11 +/home/json/build/test/Deployment/test-diagnostics_cpp11 +/home/json/build/test/Development/test-diagnostics_cpp11 +/home/json/build/test/Development/test-diagnostics_cpp11 +home/json/build/test/test-diagnostics_cpp11 +home/json/build/test/test-diagnostics_cpp11 +home/json/build/test/Release/test-diagnostics_cpp11 +home/json/build/test/Release/test-diagnostics_cpp11 +home/json/build/test/Debug/test-diagnostics_cpp11 +home/json/build/test/Debug/test-diagnostics_cpp11 +home/json/build/test/MinSizeRel/test-diagnostics_cpp11 +home/json/build/test/MinSizeRel/test-diagnostics_cpp11 +home/json/build/test/RelWithDebInfo/test-diagnostics_cpp11 +home/json/build/test/RelWithDebInfo/test-diagnostics_cpp11 +home/json/build/test/Deployment/test-diagnostics_cpp11 +home/json/build/test/Deployment/test-diagnostics_cpp11 +home/json/build/test/Development/test-diagnostics_cpp11 +home/json/build/test/Development/test-diagnostics_cpp11 +24/77 Test #24: test-diagnostics_cpp11 .......................***Not Run 0.00 sec + Start 25: test-disabled_exceptions_cpp11 +Could not find executable /home/json/build/test/test-disabled_exceptions_cpp11 +Looked in the following places: +Unable to find executable: /home/json/build/test/test-disabled_exceptions_cpp11 +/home/json/build/test/test-disabled_exceptions_cpp11 +/home/json/build/test/test-disabled_exceptions_cpp11 +/home/json/build/test/Release/test-disabled_exceptions_cpp11 +/home/json/build/test/Release/test-disabled_exceptions_cpp11 +/home/json/build/test/Debug/test-disabled_exceptions_cpp11 +/home/json/build/test/Debug/test-disabled_exceptions_cpp11 +/home/json/build/test/MinSizeRel/test-disabled_exceptions_cpp11 +/home/json/build/test/MinSizeRel/test-disabled_exceptions_cpp11 +/home/json/build/test/RelWithDebInfo/test-disabled_exceptions_cpp11 +/home/json/build/test/RelWithDebInfo/test-disabled_exceptions_cpp11 +/home/json/build/test/Deployment/test-disabled_exceptions_cpp11 +/home/json/build/test/Deployment/test-disabled_exceptions_cpp11 +/home/json/build/test/Development/test-disabled_exceptions_cpp11 +/home/json/build/test/Development/test-disabled_exceptions_cpp11 +home/json/build/test/test-disabled_exceptions_cpp11 +home/json/build/test/test-disabled_exceptions_cpp11 +home/json/build/test/Release/test-disabled_exceptions_cpp11 +home/json/build/test/Release/test-disabled_exceptions_cpp11 +home/json/build/test/Debug/test-disabled_exceptions_cpp11 +home/json/build/test/Debug/test-disabled_exceptions_cpp11 +home/json/build/test/MinSizeRel/test-disabled_exceptions_cpp11 +home/json/build/test/MinSizeRel/test-disabled_exceptions_cpp11 +home/json/build/test/RelWithDebInfo/test-disabled_exceptions_cpp11 +home/json/build/test/RelWithDebInfo/test-disabled_exceptions_cpp11 +home/json/build/test/Deployment/test-disabled_exceptions_cpp11 +home/json/build/test/Deployment/test-disabled_exceptions_cpp11 +home/json/build/test/Development/test-disabled_exceptions_cpp11 +home/json/build/test/Development/test-disabled_exceptions_cpp11 +Unable to find executable: /home/json/build/test/test-element_access1_cpp11 +25/77 Test #25: test-disabled_exceptions_cpp11 ...............***Not Run 0.00 sec + Start 26: test-element_access1_cpp11 +Could not find executable /home/json/build/test/test-element_access1_cpp11 +Looked in the following places: +/home/json/build/test/test-element_access1_cpp11 +/home/json/build/test/test-element_access1_cpp11 +/home/json/build/test/Release/test-element_access1_cpp11 +/home/json/build/test/Release/test-element_access1_cpp11 +/home/json/build/test/Debug/test-element_access1_cpp11 +/home/json/build/test/Debug/test-element_access1_cpp11 +/home/json/build/test/MinSizeRel/test-element_access1_cpp11 +/home/json/build/test/MinSizeRel/test-element_access1_cpp11 +/home/json/build/test/RelWithDebInfo/test-element_access1_cpp11 +/home/json/build/test/RelWithDebInfo/test-element_access1_cpp11 +/home/json/build/test/Deployment/test-element_access1_cpp11 +/home/json/build/test/Deployment/test-element_access1_cpp11 +/home/json/build/test/Development/test-element_access1_cpp11 +/home/json/build/test/Development/test-element_access1_cpp11 +home/json/build/test/test-element_access1_cpp11 +home/json/build/test/test-element_access1_cpp11 +home/json/build/test/Release/test-element_access1_cpp11 +home/json/build/test/Release/test-element_access1_cpp11 +home/json/build/test/Debug/test-element_access1_cpp11 +home/json/build/test/Debug/test-element_access1_cpp11 +home/json/build/test/MinSizeRel/test-element_access1_cpp11 +home/json/build/test/MinSizeRel/test-element_access1_cpp11 +home/json/build/test/RelWithDebInfo/test-element_access1_cpp11 +home/json/build/test/RelWithDebInfo/test-element_access1_cpp11 +home/json/build/test/Deployment/test-element_access1_cpp11 +home/json/build/test/Deployment/test-element_access1_cpp11 +home/json/build/test/Development/test-element_access1_cpp11 +home/json/build/test/Development/test-element_access1_cpp11 +26/77 Test #26: test-element_access1_cpp11 ...................***Not Run 0.00 sec + Start 27: test-element_access2_cpp11 +Could not find executable /home/json/build/test/test-element_access2_cpp11 +Looked in the following places: +/home/json/build/test/test-element_access2_cpp11 +Unable to find executable: /home/json/build/test/test-element_access2_cpp11 +/home/json/build/test/test-element_access2_cpp11 +/home/json/build/test/Release/test-element_access2_cpp11 +/home/json/build/test/Release/test-element_access2_cpp11 +/home/json/build/test/Debug/test-element_access2_cpp11 +/home/json/build/test/Debug/test-element_access2_cpp11 +/home/json/build/test/MinSizeRel/test-element_access2_cpp11 +/home/json/build/test/MinSizeRel/test-element_access2_cpp11 +/home/json/build/test/RelWithDebInfo/test-element_access2_cpp11 +/home/json/build/test/RelWithDebInfo/test-element_access2_cpp11 +/home/json/build/test/Deployment/test-element_access2_cpp11 +/home/json/build/test/Deployment/test-element_access2_cpp11 +/home/json/build/test/Development/test-element_access2_cpp11 +/home/json/build/test/Development/test-element_access2_cpp11 +home/json/build/test/test-element_access2_cpp11 +home/json/build/test/test-element_access2_cpp11 +home/json/build/test/Release/test-element_access2_cpp11 +home/json/build/test/Release/test-element_access2_cpp11 +home/json/build/test/Debug/test-element_access2_cpp11 +home/json/build/test/Debug/test-element_access2_cpp11 +home/json/build/test/MinSizeRel/test-element_access2_cpp11 +home/json/build/test/MinSizeRel/test-element_access2_cpp11 +home/json/build/test/RelWithDebInfo/test-element_access2_cpp11 +home/json/build/test/RelWithDebInfo/test-element_access2_cpp11 +home/json/build/test/Deployment/test-element_access2_cpp11 +home/json/build/test/Deployment/test-element_access2_cpp11 +home/json/build/test/Development/test-element_access2_cpp11 +home/json/build/test/Development/test-element_access2_cpp11 +27/77 Test #27: test-element_access2_cpp11 ...................***Not Run 0.00 sec + Start 28: test-hash_cpp11 +Could not find executable /home/json/build/test/test-hash_cpp11 +Looked in the following places: +/home/json/build/test/test-hash_cpp11 +/home/json/build/test/test-hash_cpp11 +/home/json/build/test/Release/test-hash_cpp11 +/home/json/build/test/Release/test-hash_cpp11 +/home/json/build/test/Debug/test-hash_cpp11 +/home/json/build/test/Debug/test-hash_cpp11 +/home/json/build/test/MinSizeRel/test-hash_cpp11 +/home/json/build/test/MinSizeRel/test-hash_cpp11 +/home/json/build/test/RelWithDebInfo/test-hash_cpp11 +/home/json/build/test/RelWithDebInfo/test-hash_cpp11 +/home/json/build/test/Deployment/test-hash_cpp11 +/home/json/build/test/Deployment/test-hash_cpp11 +/home/json/build/test/Development/test-hash_cpp11 +Unable to find executable: /home/json/build/test/test-hash_cpp11 +/home/json/build/test/Development/test-hash_cpp11 +home/json/build/test/test-hash_cpp11 +home/json/build/test/test-hash_cpp11 +home/json/build/test/Release/test-hash_cpp11 +home/json/build/test/Release/test-hash_cpp11 +home/json/build/test/Debug/test-hash_cpp11 +home/json/build/test/Debug/test-hash_cpp11 +home/json/build/test/MinSizeRel/test-hash_cpp11 +home/json/build/test/MinSizeRel/test-hash_cpp11 +home/json/build/test/RelWithDebInfo/test-hash_cpp11 +home/json/build/test/RelWithDebInfo/test-hash_cpp11 +home/json/build/test/Deployment/test-hash_cpp11 +home/json/build/test/Deployment/test-hash_cpp11 +home/json/build/test/Development/test-hash_cpp11 +home/json/build/test/Development/test-hash_cpp11 +28/77 Test #28: test-hash_cpp11 ..............................***Not Run 0.00 sec + Start 29: test-inspection_cpp11 +Could not find executable /home/json/build/test/test-inspection_cpp11 +Looked in the following places: +/home/json/build/test/test-inspection_cpp11 +/home/json/build/test/test-inspection_cpp11 +/home/json/build/test/Release/test-inspection_cpp11 +/home/json/build/test/Release/test-inspection_cpp11 +/home/json/build/test/Debug/test-inspection_cpp11 +/home/json/build/test/Debug/test-inspection_cpp11 +/home/json/build/test/MinSizeRel/test-inspection_cpp11 +/home/json/build/test/MinSizeRel/test-inspection_cpp11 +/home/json/build/test/RelWithDebInfo/test-inspection_cpp11 +/home/json/build/test/RelWithDebInfo/test-inspection_cpp11 +/home/json/build/test/Deployment/test-inspection_cpp11 +/home/json/build/test/Deployment/test-inspection_cpp11 +/home/json/build/test/Development/test-inspection_cpp11 +/home/json/build/test/Development/test-inspection_cpp11 +Unable to find executable: /home/json/build/test/test-inspection_cpp11 +home/json/build/test/test-inspection_cpp11 +home/json/build/test/test-inspection_cpp11 +home/json/build/test/Release/test-inspection_cpp11 +home/json/build/test/Release/test-inspection_cpp11 +home/json/build/test/Debug/test-inspection_cpp11 +home/json/build/test/Debug/test-inspection_cpp11 +home/json/build/test/MinSizeRel/test-inspection_cpp11 +home/json/build/test/MinSizeRel/test-inspection_cpp11 +home/json/build/test/RelWithDebInfo/test-inspection_cpp11 +home/json/build/test/RelWithDebInfo/test-inspection_cpp11 +home/json/build/test/Deployment/test-inspection_cpp11 +home/json/build/test/Deployment/test-inspection_cpp11 +home/json/build/test/Development/test-inspection_cpp11 +home/json/build/test/Development/test-inspection_cpp11 +29/77 Test #29: test-inspection_cpp11 ........................***Not Run 0.00 sec + Start 30: test-items_cpp11 +Could not find executable /home/json/build/test/test-items_cpp11 +Looked in the following places: +/home/json/build/test/test-items_cpp11 +/home/json/build/test/test-items_cpp11 +/home/json/build/test/Release/test-items_cpp11 +/home/json/build/test/Release/test-items_cpp11 +/home/json/build/test/Debug/test-items_cpp11 +/home/json/build/test/Debug/test-items_cpp11 +/home/json/build/test/MinSizeRel/test-items_cpp11 +/home/json/build/test/MinSizeRel/test-items_cpp11 +/home/json/build/test/RelWithDebInfo/test-items_cpp11 +/home/json/build/test/RelWithDebInfo/test-items_cpp11 +/home/json/build/test/Deployment/test-items_cpp11 +/home/json/build/test/Deployment/test-items_cpp11 +/home/json/build/test/Development/test-items_cpp11 +/home/json/build/test/Development/test-items_cpp11 +home/json/build/test/test-items_cpp11 +home/json/build/test/test-items_cpp11 +Unable to find executable: /home/json/build/test/test-items_cpp11 +home/json/build/test/Release/test-items_cpp11 +home/json/build/test/Release/test-items_cpp11 +home/json/build/test/Debug/test-items_cpp11 +home/json/build/test/Debug/test-items_cpp11 +home/json/build/test/MinSizeRel/test-items_cpp11 +home/json/build/test/MinSizeRel/test-items_cpp11 +home/json/build/test/RelWithDebInfo/test-items_cpp11 +home/json/build/test/RelWithDebInfo/test-items_cpp11 +home/json/build/test/Deployment/test-items_cpp11 +home/json/build/test/Deployment/test-items_cpp11 +home/json/build/test/Development/test-items_cpp11 +home/json/build/test/Development/test-items_cpp11 +30/77 Test #30: test-items_cpp11 .............................***Not Run 0.00 sec + Start 31: test-items_cpp14 +Could not find executable /home/json/build/test/test-items_cpp14 +Looked in the following places: +/home/json/build/test/test-items_cpp14 +/home/json/build/test/test-items_cpp14 +/home/json/build/test/Release/test-items_cpp14 +/home/json/build/test/Release/test-items_cpp14 +/home/json/build/test/Debug/test-items_cpp14 +/home/json/build/test/Debug/test-items_cpp14 +/home/json/build/test/MinSizeRel/test-items_cpp14 +/home/json/build/test/MinSizeRel/test-items_cpp14 +/home/json/build/test/RelWithDebInfo/test-items_cpp14 +/home/json/build/test/RelWithDebInfo/test-items_cpp14 +/home/json/build/test/Deployment/test-items_cpp14 +Unable to find executable: /home/json/build/test/test-items_cpp14 +/home/json/build/test/Deployment/test-items_cpp14 +/home/json/build/test/Development/test-items_cpp14 +/home/json/build/test/Development/test-items_cpp14 +home/json/build/test/test-items_cpp14 +home/json/build/test/test-items_cpp14 +home/json/build/test/Release/test-items_cpp14 +home/json/build/test/Release/test-items_cpp14 +home/json/build/test/Debug/test-items_cpp14 +home/json/build/test/Debug/test-items_cpp14 +home/json/build/test/MinSizeRel/test-items_cpp14 +home/json/build/test/MinSizeRel/test-items_cpp14 +home/json/build/test/RelWithDebInfo/test-items_cpp14 +home/json/build/test/RelWithDebInfo/test-items_cpp14 +home/json/build/test/Deployment/test-items_cpp14 +home/json/build/test/Deployment/test-items_cpp14 +home/json/build/test/Development/test-items_cpp14 +home/json/build/test/Development/test-items_cpp14 +31/77 Test #31: test-items_cpp14 .............................***Not Run 0.00 sec + Start 32: test-items_cpp17 +Could not find executable /home/json/build/test/test-items_cpp17 +Looked in the following places: +/home/json/build/test/test-items_cpp17 +/home/json/build/test/test-items_cpp17 +/home/json/build/test/Release/test-items_cpp17 +/home/json/build/test/Release/test-items_cpp17 +/home/json/build/test/Debug/test-items_cpp17 +/home/json/build/test/Debug/test-items_cpp17 +/home/json/build/test/MinSizeRel/test-items_cpp17 +/home/json/build/test/MinSizeRel/test-items_cpp17 +/home/json/build/test/RelWithDebInfo/test-items_cpp17 +/home/json/build/test/RelWithDebInfo/test-items_cpp17 +/home/json/build/test/Deployment/test-items_cpp17 +/home/json/build/test/Deployment/test-items_cpp17 +/home/json/build/test/Development/test-items_cpp17 +/home/json/build/test/Development/test-items_cpp17 +home/json/build/test/test-items_cpp17 +home/json/build/test/test-items_cpp17 +home/json/build/test/Release/test-items_cpp17 +home/json/build/test/Release/test-items_cpp17 +home/json/build/test/Debug/test-items_cpp17 +home/json/build/test/Debug/test-items_cpp17 +home/json/build/test/MinSizeRel/test-items_cpp17 +Unable to find executable: /home/json/build/test/test-items_cpp17 +home/json/build/test/MinSizeRel/test-items_cpp17 +home/json/build/test/RelWithDebInfo/test-items_cpp17 +home/json/build/test/RelWithDebInfo/test-items_cpp17 +home/json/build/test/Deployment/test-items_cpp17 +home/json/build/test/Deployment/test-items_cpp17 +home/json/build/test/Development/test-items_cpp17 +home/json/build/test/Development/test-items_cpp17 +32/77 Test #32: test-items_cpp17 .............................***Not Run 0.00 sec + Start 33: test-iterators1_cpp11 +Could not find executable /home/json/build/test/test-iterators1_cpp11 +Looked in the following places: +/home/json/build/test/test-iterators1_cpp11 +/home/json/build/test/test-iterators1_cpp11 +/home/json/build/test/Release/test-iterators1_cpp11 +/home/json/build/test/Release/test-iterators1_cpp11 +/home/json/build/test/Debug/test-iterators1_cpp11 +/home/json/build/test/Debug/test-iterators1_cpp11 +/home/json/build/test/MinSizeRel/test-iterators1_cpp11 +/home/json/build/test/MinSizeRel/test-iterators1_cpp11 +/home/json/build/test/RelWithDebInfo/test-iterators1_cpp11 +/home/json/build/test/RelWithDebInfo/test-iterators1_cpp11 +/home/json/build/test/Deployment/test-iterators1_cpp11 +/home/json/build/test/Deployment/test-iterators1_cpp11 +/home/json/build/test/Development/test-iterators1_cpp11 +/home/json/build/test/Development/test-iterators1_cpp11 +home/json/build/test/test-iterators1_cpp11 +home/json/build/test/test-iterators1_cpp11 +home/json/build/test/Release/test-iterators1_cpp11 +home/json/build/test/Release/test-iterators1_cpp11 +home/json/build/test/Debug/test-iterators1_cpp11 +home/json/build/test/Debug/test-iterators1_cpp11 +Unable to find executable: /home/json/build/test/test-iterators1_cpp11 +home/json/build/test/MinSizeRel/test-iterators1_cpp11 +home/json/build/test/MinSizeRel/test-iterators1_cpp11 +home/json/build/test/RelWithDebInfo/test-iterators1_cpp11 +home/json/build/test/RelWithDebInfo/test-iterators1_cpp11 +home/json/build/test/Deployment/test-iterators1_cpp11 +home/json/build/test/Deployment/test-iterators1_cpp11 +home/json/build/test/Development/test-iterators1_cpp11 +home/json/build/test/Development/test-iterators1_cpp11 +33/77 Test #33: test-iterators1_cpp11 ........................***Not Run 0.00 sec + Start 34: test-iterators2_cpp11 +Could not find executable /home/json/build/test/test-iterators2_cpp11 +Looked in the following places: +/home/json/build/test/test-iterators2_cpp11 +/home/json/build/test/test-iterators2_cpp11 +/home/json/build/test/Release/test-iterators2_cpp11 +/home/json/build/test/Release/test-iterators2_cpp11 +/home/json/build/test/Debug/test-iterators2_cpp11 +/home/json/build/test/Debug/test-iterators2_cpp11 +/home/json/build/test/MinSizeRel/test-iterators2_cpp11 +/home/json/build/test/MinSizeRel/test-iterators2_cpp11 +/home/json/build/test/RelWithDebInfo/test-iterators2_cpp11 +/home/json/build/test/RelWithDebInfo/test-iterators2_cpp11 +/home/json/build/test/Deployment/test-iterators2_cpp11 +/home/json/build/test/Deployment/test-iterators2_cpp11 +/home/json/build/test/Development/test-iterators2_cpp11 +/home/json/build/test/Development/test-iterators2_cpp11 +home/json/build/test/test-iterators2_cpp11 +home/json/build/test/test-iterators2_cpp11 +home/json/build/test/Release/test-iterators2_cpp11 +home/json/build/test/Release/test-iterators2_cpp11 +home/json/build/test/Debug/test-iterators2_cpp11 +Unable to find executable: /home/json/build/test/test-iterators2_cpp11 +home/json/build/test/Debug/test-iterators2_cpp11 +home/json/build/test/MinSizeRel/test-iterators2_cpp11 +home/json/build/test/MinSizeRel/test-iterators2_cpp11 +home/json/build/test/RelWithDebInfo/test-iterators2_cpp11 +home/json/build/test/RelWithDebInfo/test-iterators2_cpp11 +home/json/build/test/Deployment/test-iterators2_cpp11 +home/json/build/test/Deployment/test-iterators2_cpp11 +home/json/build/test/Development/test-iterators2_cpp11 +home/json/build/test/Development/test-iterators2_cpp11 +34/77 Test #34: test-iterators2_cpp11 ........................***Not Run 0.00 sec + Start 35: test-json_patch_cpp11 +Could not find executable /home/json/build/test/test-json_patch_cpp11 +Looked in the following places: +/home/json/build/test/test-json_patch_cpp11 +/home/json/build/test/test-json_patch_cpp11 +/home/json/build/test/Release/test-json_patch_cpp11 +/home/json/build/test/Release/test-json_patch_cpp11 +/home/json/build/test/Debug/test-json_patch_cpp11 +/home/json/build/test/Debug/test-json_patch_cpp11 +/home/json/build/test/MinSizeRel/test-json_patch_cpp11 +/home/json/build/test/MinSizeRel/test-json_patch_cpp11 +/home/json/build/test/RelWithDebInfo/test-json_patch_cpp11 +/home/json/build/test/RelWithDebInfo/test-json_patch_cpp11 +/home/json/build/test/Deployment/test-json_patch_cpp11 +/home/json/build/test/Deployment/test-json_patch_cpp11 +/home/json/build/test/Development/test-json_patch_cpp11 +/home/json/build/test/Development/test-json_patch_cpp11 +home/json/build/test/test-json_patch_cpp11 +home/json/build/test/test-json_patch_cpp11 +Unable to find executable: /home/json/build/test/test-json_patch_cpp11 +home/json/build/test/Release/test-json_patch_cpp11 +home/json/build/test/Release/test-json_patch_cpp11 +home/json/build/test/Debug/test-json_patch_cpp11 +home/json/build/test/Debug/test-json_patch_cpp11 +home/json/build/test/MinSizeRel/test-json_patch_cpp11 +home/json/build/test/MinSizeRel/test-json_patch_cpp11 +home/json/build/test/RelWithDebInfo/test-json_patch_cpp11 +home/json/build/test/RelWithDebInfo/test-json_patch_cpp11 +home/json/build/test/Deployment/test-json_patch_cpp11 +home/json/build/test/Deployment/test-json_patch_cpp11 +home/json/build/test/Development/test-json_patch_cpp11 +home/json/build/test/Development/test-json_patch_cpp11 +35/77 Test #35: test-json_patch_cpp11 ........................***Not Run 0.00 sec + Start 36: test-json_pointer_cpp11 +Could not find executable /home/json/build/test/test-json_pointer_cpp11 +Looked in the following places: +/home/json/build/test/test-json_pointer_cpp11 +/home/json/build/test/test-json_pointer_cpp11 +/home/json/build/test/Release/test-json_pointer_cpp11 +/home/json/build/test/Release/test-json_pointer_cpp11 +/home/json/build/test/Debug/test-json_pointer_cpp11 +/home/json/build/test/Debug/test-json_pointer_cpp11 +/home/json/build/test/MinSizeRel/test-json_pointer_cpp11 +/home/json/build/test/MinSizeRel/test-json_pointer_cpp11 +/home/json/build/test/RelWithDebInfo/test-json_pointer_cpp11 +/home/json/build/test/RelWithDebInfo/test-json_pointer_cpp11 +/home/json/build/test/Deployment/test-json_pointer_cpp11 +/home/json/build/test/Deployment/test-json_pointer_cpp11 +/home/json/build/test/Development/test-json_pointer_cpp11 +/home/json/build/test/Development/test-json_pointer_cpp11 +home/json/build/test/test-json_pointer_cpp11 +home/json/build/test/test-json_pointer_cpp11 +home/json/build/test/Release/test-json_pointer_cpp11 +home/json/build/test/Release/test-json_pointer_cpp11 +home/json/build/test/Debug/test-json_pointer_cpp11 +home/json/build/test/Debug/test-json_pointer_cpp11 +Unable to find executable: /home/json/build/test/test-json_pointer_cpp11 +home/json/build/test/MinSizeRel/test-json_pointer_cpp11 +home/json/build/test/MinSizeRel/test-json_pointer_cpp11 +home/json/build/test/RelWithDebInfo/test-json_pointer_cpp11 +home/json/build/test/RelWithDebInfo/test-json_pointer_cpp11 +home/json/build/test/Deployment/test-json_pointer_cpp11 +home/json/build/test/Deployment/test-json_pointer_cpp11 +home/json/build/test/Development/test-json_pointer_cpp11 +home/json/build/test/Development/test-json_pointer_cpp11 +36/77 Test #36: test-json_pointer_cpp11 ......................***Not Run 0.00 sec + Start 37: test-large_json_cpp11 +Could not find executable /home/json/build/test/test-large_json_cpp11 +Looked in the following places: +/home/json/build/test/test-large_json_cpp11 +/home/json/build/test/test-large_json_cpp11 +/home/json/build/test/Release/test-large_json_cpp11 +/home/json/build/test/Release/test-large_json_cpp11 +/home/json/build/test/Debug/test-large_json_cpp11 +/home/json/build/test/Debug/test-large_json_cpp11 +/home/json/build/test/MinSizeRel/test-large_json_cpp11 +/home/json/build/test/MinSizeRel/test-large_json_cpp11 +Unable to find executable: /home/json/build/test/test-large_json_cpp11 +/home/json/build/test/RelWithDebInfo/test-large_json_cpp11 +/home/json/build/test/RelWithDebInfo/test-large_json_cpp11 +/home/json/build/test/Deployment/test-large_json_cpp11 +/home/json/build/test/Deployment/test-large_json_cpp11 +/home/json/build/test/Development/test-large_json_cpp11 +/home/json/build/test/Development/test-large_json_cpp11 +home/json/build/test/test-large_json_cpp11 +home/json/build/test/test-large_json_cpp11 +home/json/build/test/Release/test-large_json_cpp11 +home/json/build/test/Release/test-large_json_cpp11 +home/json/build/test/Debug/test-large_json_cpp11 +home/json/build/test/Debug/test-large_json_cpp11 +home/json/build/test/MinSizeRel/test-large_json_cpp11 +home/json/build/test/MinSizeRel/test-large_json_cpp11 +home/json/build/test/RelWithDebInfo/test-large_json_cpp11 +home/json/build/test/RelWithDebInfo/test-large_json_cpp11 +home/json/build/test/Deployment/test-large_json_cpp11 +home/json/build/test/Deployment/test-large_json_cpp11 +home/json/build/test/Development/test-large_json_cpp11 +home/json/build/test/Development/test-large_json_cpp11 +37/77 Test #37: test-large_json_cpp11 ........................***Not Run 0.00 sec + Start 38: test-merge_patch_cpp11 +Could not find executable /home/json/build/test/test-merge_patch_cpp11 +Looked in the following places: +/home/json/build/test/test-merge_patch_cpp11 +/home/json/build/test/test-merge_patch_cpp11 +/home/json/build/test/Release/test-merge_patch_cpp11 +/home/json/build/test/Release/test-merge_patch_cpp11 +/home/json/build/test/Debug/test-merge_patch_cpp11 +/home/json/build/test/Debug/test-merge_patch_cpp11 +/home/json/build/test/MinSizeRel/test-merge_patch_cpp11 +/home/json/build/test/MinSizeRel/test-merge_patch_cpp11 +/home/json/build/test/RelWithDebInfo/test-merge_patch_cpp11 +/home/json/build/test/RelWithDebInfo/test-merge_patch_cpp11 +/home/json/build/test/Deployment/test-merge_patch_cpp11 +/home/json/build/test/Deployment/test-merge_patch_cpp11 +/home/json/build/test/Development/test-merge_patch_cpp11 +/home/json/build/test/Development/test-merge_patch_cpp11 +home/json/build/test/test-merge_patch_cpp11 +home/json/build/test/test-merge_patch_cpp11 +home/json/build/test/Release/test-merge_patch_cpp11 +Unable to find executable: /home/json/build/test/test-merge_patch_cpp11 +home/json/build/test/Release/test-merge_patch_cpp11 +home/json/build/test/Debug/test-merge_patch_cpp11 +home/json/build/test/Debug/test-merge_patch_cpp11 +home/json/build/test/MinSizeRel/test-merge_patch_cpp11 +home/json/build/test/MinSizeRel/test-merge_patch_cpp11 +home/json/build/test/RelWithDebInfo/test-merge_patch_cpp11 +home/json/build/test/RelWithDebInfo/test-merge_patch_cpp11 +home/json/build/test/Deployment/test-merge_patch_cpp11 +home/json/build/test/Deployment/test-merge_patch_cpp11 +home/json/build/test/Development/test-merge_patch_cpp11 +home/json/build/test/Development/test-merge_patch_cpp11 +38/77 Test #38: test-merge_patch_cpp11 .......................***Not Run 0.00 sec + Start 39: test-meta_cpp11 +Could not find executable /home/json/build/test/test-meta_cpp11 +Looked in the following places: +/home/json/build/test/test-meta_cpp11 +/home/json/build/test/test-meta_cpp11 +/home/json/build/test/Release/test-meta_cpp11 +/home/json/build/test/Release/test-meta_cpp11 +/home/json/build/test/Debug/test-meta_cpp11 +/home/json/build/test/Debug/test-meta_cpp11 +/home/json/build/test/MinSizeRel/test-meta_cpp11 +/home/json/build/test/MinSizeRel/test-meta_cpp11 +/home/json/build/test/RelWithDebInfo/test-meta_cpp11 +/home/json/build/test/RelWithDebInfo/test-meta_cpp11 +/home/json/build/test/Deployment/test-meta_cpp11 +/home/json/build/test/Deployment/test-meta_cpp11 +/home/json/build/test/Development/test-meta_cpp11 +/home/json/build/test/Development/test-meta_cpp11 +home/json/build/test/test-meta_cpp11 +home/json/build/test/test-meta_cpp11 +Unable to find executable: /home/json/build/test/test-meta_cpp11 +home/json/build/test/Release/test-meta_cpp11 +home/json/build/test/Release/test-meta_cpp11 +home/json/build/test/Debug/test-meta_cpp11 +home/json/build/test/Debug/test-meta_cpp11 +home/json/build/test/MinSizeRel/test-meta_cpp11 +home/json/build/test/MinSizeRel/test-meta_cpp11 +home/json/build/test/RelWithDebInfo/test-meta_cpp11 +home/json/build/test/RelWithDebInfo/test-meta_cpp11 +home/json/build/test/Deployment/test-meta_cpp11 +home/json/build/test/Deployment/test-meta_cpp11 +home/json/build/test/Development/test-meta_cpp11 +home/json/build/test/Development/test-meta_cpp11 +39/77 Test #39: test-meta_cpp11 ..............................***Not Run 0.00 sec + Start 40: test-modifiers_cpp11 +Could not find executable /home/json/build/test/test-modifiers_cpp11 +Looked in the following places: +/home/json/build/test/test-modifiers_cpp11 +/home/json/build/test/test-modifiers_cpp11 +/home/json/build/test/Release/test-modifiers_cpp11 +/home/json/build/test/Release/test-modifiers_cpp11 +/home/json/build/test/Debug/test-modifiers_cpp11 +/home/json/build/test/Debug/test-modifiers_cpp11 +/home/json/build/test/MinSizeRel/test-modifiers_cpp11 +/home/json/build/test/MinSizeRel/test-modifiers_cpp11 +/home/json/build/test/RelWithDebInfo/test-modifiers_cpp11 +/home/json/build/test/RelWithDebInfo/test-modifiers_cpp11 +/home/json/build/test/Deployment/test-modifiers_cpp11 +Unable to find executable: /home/json/build/test/test-modifiers_cpp11 +/home/json/build/test/Deployment/test-modifiers_cpp11 +/home/json/build/test/Development/test-modifiers_cpp11 +/home/json/build/test/Development/test-modifiers_cpp11 +home/json/build/test/test-modifiers_cpp11 +home/json/build/test/test-modifiers_cpp11 +home/json/build/test/Release/test-modifiers_cpp11 +home/json/build/test/Release/test-modifiers_cpp11 +home/json/build/test/Debug/test-modifiers_cpp11 +home/json/build/test/Debug/test-modifiers_cpp11 +home/json/build/test/MinSizeRel/test-modifiers_cpp11 +home/json/build/test/MinSizeRel/test-modifiers_cpp11 +home/json/build/test/RelWithDebInfo/test-modifiers_cpp11 +home/json/build/test/RelWithDebInfo/test-modifiers_cpp11 +home/json/build/test/Deployment/test-modifiers_cpp11 +home/json/build/test/Deployment/test-modifiers_cpp11 +home/json/build/test/Development/test-modifiers_cpp11 +home/json/build/test/Development/test-modifiers_cpp11 +40/77 Test #40: test-modifiers_cpp11 .........................***Not Run 0.00 sec + Start 41: test-msgpack_cpp11 +Could not find executable /home/json/build/test/test-msgpack_cpp11 +Looked in the following places: +/home/json/build/test/test-msgpack_cpp11 +/home/json/build/test/test-msgpack_cpp11 +/home/json/build/test/Release/test-msgpack_cpp11 +/home/json/build/test/Release/test-msgpack_cpp11 +/home/json/build/test/Debug/test-msgpack_cpp11 +/home/json/build/test/Debug/test-msgpack_cpp11 +/home/json/build/test/MinSizeRel/test-msgpack_cpp11 +/home/json/build/test/MinSizeRel/test-msgpack_cpp11 +/home/json/build/test/RelWithDebInfo/test-msgpack_cpp11 +/home/json/build/test/RelWithDebInfo/test-msgpack_cpp11 +/home/json/build/test/Deployment/test-msgpack_cpp11 +/home/json/build/test/Deployment/test-msgpack_cpp11 +Unable to find executable: /home/json/build/test/test-msgpack_cpp11 +/home/json/build/test/Development/test-msgpack_cpp11 +/home/json/build/test/Development/test-msgpack_cpp11 +home/json/build/test/test-msgpack_cpp11 +home/json/build/test/test-msgpack_cpp11 +home/json/build/test/Release/test-msgpack_cpp11 +home/json/build/test/Release/test-msgpack_cpp11 +home/json/build/test/Debug/test-msgpack_cpp11 +home/json/build/test/Debug/test-msgpack_cpp11 +home/json/build/test/MinSizeRel/test-msgpack_cpp11 +home/json/build/test/MinSizeRel/test-msgpack_cpp11 +home/json/build/test/RelWithDebInfo/test-msgpack_cpp11 +home/json/build/test/RelWithDebInfo/test-msgpack_cpp11 +home/json/build/test/Deployment/test-msgpack_cpp11 +home/json/build/test/Deployment/test-msgpack_cpp11 +home/json/build/test/Development/test-msgpack_cpp11 +home/json/build/test/Development/test-msgpack_cpp11 +41/77 Test #41: test-msgpack_cpp11 ...........................***Not Run 0.00 sec + Start 42: test-noexcept_cpp11 +Could not find executable /home/json/build/test/test-noexcept_cpp11 +Looked in the following places: +/home/json/build/test/test-noexcept_cpp11 +/home/json/build/test/test-noexcept_cpp11 +/home/json/build/test/Release/test-noexcept_cpp11 +/home/json/build/test/Release/test-noexcept_cpp11 +/home/json/build/test/Debug/test-noexcept_cpp11 +/home/json/build/test/Debug/test-noexcept_cpp11 +/home/json/build/test/MinSizeRel/test-noexcept_cpp11 +/home/json/build/test/MinSizeRel/test-noexcept_cpp11 +/home/json/build/test/RelWithDebInfo/test-noexcept_cpp11 +/home/json/build/test/RelWithDebInfo/test-noexcept_cpp11 +Unable to find executable: /home/json/build/test/test-noexcept_cpp11 +/home/json/build/test/Deployment/test-noexcept_cpp11 +/home/json/build/test/Deployment/test-noexcept_cpp11 +/home/json/build/test/Development/test-noexcept_cpp11 +/home/json/build/test/Development/test-noexcept_cpp11 +home/json/build/test/test-noexcept_cpp11 +home/json/build/test/test-noexcept_cpp11 +home/json/build/test/Release/test-noexcept_cpp11 +home/json/build/test/Release/test-noexcept_cpp11 +home/json/build/test/Debug/test-noexcept_cpp11 +home/json/build/test/Debug/test-noexcept_cpp11 +home/json/build/test/MinSizeRel/test-noexcept_cpp11 +home/json/build/test/MinSizeRel/test-noexcept_cpp11 +home/json/build/test/RelWithDebInfo/test-noexcept_cpp11 +home/json/build/test/RelWithDebInfo/test-noexcept_cpp11 +home/json/build/test/Deployment/test-noexcept_cpp11 +home/json/build/test/Deployment/test-noexcept_cpp11 +home/json/build/test/Development/test-noexcept_cpp11 +home/json/build/test/Development/test-noexcept_cpp11 +42/77 Test #42: test-noexcept_cpp11 ..........................***Not Run 0.00 sec + Start 43: test-ordered_json_cpp11 +Could not find executable /home/json/build/test/test-ordered_json_cpp11 +Looked in the following places: +/home/json/build/test/test-ordered_json_cpp11 +/home/json/build/test/test-ordered_json_cpp11 +/home/json/build/test/Release/test-ordered_json_cpp11 +/home/json/build/test/Release/test-ordered_json_cpp11 +/home/json/build/test/Debug/test-ordered_json_cpp11 +/home/json/build/test/Debug/test-ordered_json_cpp11 +/home/json/build/test/MinSizeRel/test-ordered_json_cpp11 +/home/json/build/test/MinSizeRel/test-ordered_json_cpp11 +/home/json/build/test/RelWithDebInfo/test-ordered_json_cpp11 +/home/json/build/test/RelWithDebInfo/test-ordered_json_cpp11 +/home/json/build/test/Deployment/test-ordered_json_cpp11 +/home/json/build/test/Deployment/test-ordered_json_cpp11 +/home/json/build/test/Development/test-ordered_json_cpp11 +Unable to find executable: /home/json/build/test/test-ordered_json_cpp11 +/home/json/build/test/Development/test-ordered_json_cpp11 +home/json/build/test/test-ordered_json_cpp11 +home/json/build/test/test-ordered_json_cpp11 +home/json/build/test/Release/test-ordered_json_cpp11 +home/json/build/test/Release/test-ordered_json_cpp11 +home/json/build/test/Debug/test-ordered_json_cpp11 +home/json/build/test/Debug/test-ordered_json_cpp11 +home/json/build/test/MinSizeRel/test-ordered_json_cpp11 +home/json/build/test/MinSizeRel/test-ordered_json_cpp11 +home/json/build/test/RelWithDebInfo/test-ordered_json_cpp11 +home/json/build/test/RelWithDebInfo/test-ordered_json_cpp11 +home/json/build/test/Deployment/test-ordered_json_cpp11 +home/json/build/test/Deployment/test-ordered_json_cpp11 +home/json/build/test/Development/test-ordered_json_cpp11 +home/json/build/test/Development/test-ordered_json_cpp11 +43/77 Test #43: test-ordered_json_cpp11 ......................***Not Run 0.00 sec + Start 44: test-ordered_map_cpp11 +Could not find executable /home/json/build/test/test-ordered_map_cpp11 +Looked in the following places: +/home/json/build/test/test-ordered_map_cpp11 +/home/json/build/test/test-ordered_map_cpp11 +/home/json/build/test/Release/test-ordered_map_cpp11 +/home/json/build/test/Release/test-ordered_map_cpp11 +/home/json/build/test/Debug/test-ordered_map_cpp11 +/home/json/build/test/Debug/test-ordered_map_cpp11 +/home/json/build/test/MinSizeRel/test-ordered_map_cpp11 +/home/json/build/test/MinSizeRel/test-ordered_map_cpp11 +/home/json/build/test/RelWithDebInfo/test-ordered_map_cpp11 +/home/json/build/test/RelWithDebInfo/test-ordered_map_cpp11 +/home/json/build/test/Deployment/test-ordered_map_cpp11 +Unable to find executable: /home/json/build/test/test-ordered_map_cpp11 +/home/json/build/test/Deployment/test-ordered_map_cpp11 +/home/json/build/test/Development/test-ordered_map_cpp11 +/home/json/build/test/Development/test-ordered_map_cpp11 +home/json/build/test/test-ordered_map_cpp11 +home/json/build/test/test-ordered_map_cpp11 +home/json/build/test/Release/test-ordered_map_cpp11 +home/json/build/test/Release/test-ordered_map_cpp11 +home/json/build/test/Debug/test-ordered_map_cpp11 +home/json/build/test/Debug/test-ordered_map_cpp11 +home/json/build/test/MinSizeRel/test-ordered_map_cpp11 +home/json/build/test/MinSizeRel/test-ordered_map_cpp11 +home/json/build/test/RelWithDebInfo/test-ordered_map_cpp11 +home/json/build/test/RelWithDebInfo/test-ordered_map_cpp11 +home/json/build/test/Deployment/test-ordered_map_cpp11 +home/json/build/test/Deployment/test-ordered_map_cpp11 +home/json/build/test/Development/test-ordered_map_cpp11 +home/json/build/test/Development/test-ordered_map_cpp11 +44/77 Test #44: test-ordered_map_cpp11 .......................***Not Run 0.00 sec + Start 45: test-pointer_access_cpp11 +Could not find executable /home/json/build/test/test-pointer_access_cpp11 +Looked in the following places: +/home/json/build/test/test-pointer_access_cpp11 +/home/json/build/test/test-pointer_access_cpp11 +/home/json/build/test/Release/test-pointer_access_cpp11 +/home/json/build/test/Release/test-pointer_access_cpp11 +/home/json/build/test/Debug/test-pointer_access_cpp11 +/home/json/build/test/Debug/test-pointer_access_cpp11 +/home/json/build/test/MinSizeRel/test-pointer_access_cpp11 +/home/json/build/test/MinSizeRel/test-pointer_access_cpp11 +/home/json/build/test/RelWithDebInfo/test-pointer_access_cpp11 +/home/json/build/test/RelWithDebInfo/test-pointer_access_cpp11 +/home/json/build/test/Deployment/test-pointer_access_cpp11 +/home/json/build/test/Deployment/test-pointer_access_cpp11 +/home/json/build/test/Development/test-pointer_access_cpp11 +Unable to find executable: /home/json/build/test/test-pointer_access_cpp11 +/home/json/build/test/Development/test-pointer_access_cpp11 +home/json/build/test/test-pointer_access_cpp11 +home/json/build/test/test-pointer_access_cpp11 +home/json/build/test/Release/test-pointer_access_cpp11 +home/json/build/test/Release/test-pointer_access_cpp11 +home/json/build/test/Debug/test-pointer_access_cpp11 +home/json/build/test/Debug/test-pointer_access_cpp11 +home/json/build/test/MinSizeRel/test-pointer_access_cpp11 +home/json/build/test/MinSizeRel/test-pointer_access_cpp11 +home/json/build/test/RelWithDebInfo/test-pointer_access_cpp11 +home/json/build/test/RelWithDebInfo/test-pointer_access_cpp11 +home/json/build/test/Deployment/test-pointer_access_cpp11 +home/json/build/test/Deployment/test-pointer_access_cpp11 +home/json/build/test/Development/test-pointer_access_cpp11 +home/json/build/test/Development/test-pointer_access_cpp11 +45/77 Test #45: test-pointer_access_cpp11 ....................***Not Run 0.00 sec + Start 46: test-readme_cpp11 +Could not find executable /home/json/build/test/test-readme_cpp11 +Looked in the following places: +/home/json/build/test/test-readme_cpp11 +/home/json/build/test/test-readme_cpp11 +/home/json/build/test/Release/test-readme_cpp11 +/home/json/build/test/Release/test-readme_cpp11 +/home/json/build/test/Debug/test-readme_cpp11 +/home/json/build/test/Debug/test-readme_cpp11 +/home/json/build/test/MinSizeRel/test-readme_cpp11 +/home/json/build/test/MinSizeRel/test-readme_cpp11 +/home/json/build/test/RelWithDebInfo/test-readme_cpp11 +/home/json/build/test/RelWithDebInfo/test-readme_cpp11 +/home/json/build/test/Deployment/test-readme_cpp11 +/home/json/build/test/Deployment/test-readme_cpp11 +/home/json/build/test/Development/test-readme_cpp11 +/home/json/build/test/Development/test-readme_cpp11 +home/json/build/test/test-readme_cpp11 +home/json/build/test/test-readme_cpp11 +home/json/build/test/Release/test-readme_cpp11 +home/json/build/test/Release/test-readme_cpp11 +home/json/build/test/Debug/test-readme_cpp11 +Unable to find executable: /home/json/build/test/test-readme_cpp11 +home/json/build/test/Debug/test-readme_cpp11 +home/json/build/test/MinSizeRel/test-readme_cpp11 +home/json/build/test/MinSizeRel/test-readme_cpp11 +home/json/build/test/RelWithDebInfo/test-readme_cpp11 +home/json/build/test/RelWithDebInfo/test-readme_cpp11 +home/json/build/test/Deployment/test-readme_cpp11 +home/json/build/test/Deployment/test-readme_cpp11 +home/json/build/test/Development/test-readme_cpp11 +home/json/build/test/Development/test-readme_cpp11 +46/77 Test #46: test-readme_cpp11 ............................***Not Run 0.00 sec + Start 47: test-reference_access_cpp11 +Could not find executable /home/json/build/test/test-reference_access_cpp11 +Looked in the following places: +/home/json/build/test/test-reference_access_cpp11 +/home/json/build/test/test-reference_access_cpp11 +/home/json/build/test/Release/test-reference_access_cpp11 +/home/json/build/test/Release/test-reference_access_cpp11 +/home/json/build/test/Debug/test-reference_access_cpp11 +/home/json/build/test/Debug/test-reference_access_cpp11 +/home/json/build/test/MinSizeRel/test-reference_access_cpp11 +/home/json/build/test/MinSizeRel/test-reference_access_cpp11 +/home/json/build/test/RelWithDebInfo/test-reference_access_cpp11 +/home/json/build/test/RelWithDebInfo/test-reference_access_cpp11 +/home/json/build/test/Deployment/test-reference_access_cpp11 +/home/json/build/test/Deployment/test-reference_access_cpp11 +/home/json/build/test/Development/test-reference_access_cpp11 +/home/json/build/test/Development/test-reference_access_cpp11 +home/json/build/test/test-reference_access_cpp11 +home/json/build/test/test-reference_access_cpp11 +home/json/build/test/Release/test-reference_access_cpp11 +home/json/build/test/Release/test-reference_access_cpp11 +home/json/build/test/Debug/test-reference_access_cpp11 +Unable to find executable: /home/json/build/test/test-reference_access_cpp11 +home/json/build/test/Debug/test-reference_access_cpp11 +home/json/build/test/MinSizeRel/test-reference_access_cpp11 +home/json/build/test/MinSizeRel/test-reference_access_cpp11 +home/json/build/test/RelWithDebInfo/test-reference_access_cpp11 +home/json/build/test/RelWithDebInfo/test-reference_access_cpp11 +home/json/build/test/Deployment/test-reference_access_cpp11 +home/json/build/test/Deployment/test-reference_access_cpp11 +home/json/build/test/Development/test-reference_access_cpp11 +home/json/build/test/Development/test-reference_access_cpp11 +47/77 Test #47: test-reference_access_cpp11 ..................***Not Run 0.00 sec + Start 48: test-regression1_cpp11 +Could not find executable /home/json/build/test/test-regression1_cpp11 +Looked in the following places: +/home/json/build/test/test-regression1_cpp11 +/home/json/build/test/test-regression1_cpp11 +/home/json/build/test/Release/test-regression1_cpp11 +/home/json/build/test/Release/test-regression1_cpp11 +/home/json/build/test/Debug/test-regression1_cpp11 +/home/json/build/test/Debug/test-regression1_cpp11 +/home/json/build/test/MinSizeRel/test-regression1_cpp11 +/home/json/build/test/MinSizeRel/test-regression1_cpp11 +/home/json/build/test/RelWithDebInfo/test-regression1_cpp11 +/home/json/build/test/RelWithDebInfo/test-regression1_cpp11 +/home/json/build/test/Deployment/test-regression1_cpp11 +/home/json/build/test/Deployment/test-regression1_cpp11 +/home/json/build/test/Development/test-regression1_cpp11 +/home/json/build/test/Development/test-regression1_cpp11 +Unable to find executable: /home/json/build/test/test-regression1_cpp11 +home/json/build/test/test-regression1_cpp11 +home/json/build/test/test-regression1_cpp11 +home/json/build/test/Release/test-regression1_cpp11 +home/json/build/test/Release/test-regression1_cpp11 +home/json/build/test/Debug/test-regression1_cpp11 +home/json/build/test/Debug/test-regression1_cpp11 +home/json/build/test/MinSizeRel/test-regression1_cpp11 +home/json/build/test/MinSizeRel/test-regression1_cpp11 +home/json/build/test/RelWithDebInfo/test-regression1_cpp11 +home/json/build/test/RelWithDebInfo/test-regression1_cpp11 +home/json/build/test/Deployment/test-regression1_cpp11 +home/json/build/test/Deployment/test-regression1_cpp11 +home/json/build/test/Development/test-regression1_cpp11 +home/json/build/test/Development/test-regression1_cpp11 +48/77 Test #48: test-regression1_cpp11 .......................***Not Run 0.00 sec + Start 49: test-regression1_cpp17 +Could not find executable /home/json/build/test/test-regression1_cpp17 +Looked in the following places: +/home/json/build/test/test-regression1_cpp17 +/home/json/build/test/test-regression1_cpp17 +/home/json/build/test/Release/test-regression1_cpp17 +/home/json/build/test/Release/test-regression1_cpp17 +/home/json/build/test/Debug/test-regression1_cpp17 +/home/json/build/test/Debug/test-regression1_cpp17 +/home/json/build/test/MinSizeRel/test-regression1_cpp17 +/home/json/build/test/MinSizeRel/test-regression1_cpp17 +/home/json/build/test/RelWithDebInfo/test-regression1_cpp17 +/home/json/build/test/RelWithDebInfo/test-regression1_cpp17 +/home/json/build/test/Deployment/test-regression1_cpp17 +/home/json/build/test/Deployment/test-regression1_cpp17 +/home/json/build/test/Development/test-regression1_cpp17 +/home/json/build/test/Development/test-regression1_cpp17 +home/json/build/test/test-regression1_cpp17 +home/json/build/test/test-regression1_cpp17 +home/json/build/test/Release/test-regression1_cpp17 +home/json/build/test/Release/test-regression1_cpp17 +home/json/build/test/Debug/test-regression1_cpp17 +home/json/build/test/Debug/test-regression1_cpp17 +home/json/build/test/MinSizeRel/test-regression1_cpp17 +home/json/build/test/MinSizeRel/test-regression1_cpp17 +Unable to find executable: /home/json/build/test/test-regression1_cpp17 +home/json/build/test/RelWithDebInfo/test-regression1_cpp17 +home/json/build/test/RelWithDebInfo/test-regression1_cpp17 +home/json/build/test/Deployment/test-regression1_cpp17 +home/json/build/test/Deployment/test-regression1_cpp17 +home/json/build/test/Development/test-regression1_cpp17 +home/json/build/test/Development/test-regression1_cpp17 +49/77 Test #49: test-regression1_cpp17 .......................***Not Run 0.00 sec + Start 50: test-regression2_cpp11 +Could not find executable /home/json/build/test/test-regression2_cpp11 +Looked in the following places: +/home/json/build/test/test-regression2_cpp11 +/home/json/build/test/test-regression2_cpp11 +/home/json/build/test/Release/test-regression2_cpp11 +/home/json/build/test/Release/test-regression2_cpp11 +/home/json/build/test/Debug/test-regression2_cpp11 +/home/json/build/test/Debug/test-regression2_cpp11 +/home/json/build/test/MinSizeRel/test-regression2_cpp11 +/home/json/build/test/MinSizeRel/test-regression2_cpp11 +/home/json/build/test/RelWithDebInfo/test-regression2_cpp11 +/home/json/build/test/RelWithDebInfo/test-regression2_cpp11 +/home/json/build/test/Deployment/test-regression2_cpp11 +/home/json/build/test/Deployment/test-regression2_cpp11 +/home/json/build/test/Development/test-regression2_cpp11 +/home/json/build/test/Development/test-regression2_cpp11 +home/json/build/test/test-regression2_cpp11 +home/json/build/test/test-regression2_cpp11 +home/json/build/test/Release/test-regression2_cpp11 +home/json/build/test/Release/test-regression2_cpp11 +home/json/build/test/Debug/test-regression2_cpp11 +home/json/build/test/Debug/test-regression2_cpp11 +Unable to find executable: /home/json/build/test/test-regression2_cpp11 +home/json/build/test/MinSizeRel/test-regression2_cpp11 +home/json/build/test/MinSizeRel/test-regression2_cpp11 +home/json/build/test/RelWithDebInfo/test-regression2_cpp11 +home/json/build/test/RelWithDebInfo/test-regression2_cpp11 +home/json/build/test/Deployment/test-regression2_cpp11 +home/json/build/test/Deployment/test-regression2_cpp11 +home/json/build/test/Development/test-regression2_cpp11 +home/json/build/test/Development/test-regression2_cpp11 +50/77 Test #50: test-regression2_cpp11 .......................***Not Run 0.00 sec + Start 51: test-regression2_cpp17 +Could not find executable /home/json/build/test/test-regression2_cpp17 +Looked in the following places: +/home/json/build/test/test-regression2_cpp17 +/home/json/build/test/test-regression2_cpp17 +/home/json/build/test/Release/test-regression2_cpp17 +/home/json/build/test/Release/test-regression2_cpp17 +/home/json/build/test/Debug/test-regression2_cpp17 +/home/json/build/test/Debug/test-regression2_cpp17 +/home/json/build/test/MinSizeRel/test-regression2_cpp17 +/home/json/build/test/MinSizeRel/test-regression2_cpp17 +/home/json/build/test/RelWithDebInfo/test-regression2_cpp17 +/home/json/build/test/RelWithDebInfo/test-regression2_cpp17 +/home/json/build/test/Deployment/test-regression2_cpp17 +/home/json/build/test/Deployment/test-regression2_cpp17 +/home/json/build/test/Development/test-regression2_cpp17 +/home/json/build/test/Development/test-regression2_cpp17 +home/json/build/test/test-regression2_cpp17 +home/json/build/test/test-regression2_cpp17 +home/json/build/test/Release/test-regression2_cpp17 +home/json/build/test/Release/test-regression2_cpp17 +home/json/build/test/Debug/test-regression2_cpp17 +home/json/build/test/Debug/test-regression2_cpp17 +home/json/build/test/MinSizeRel/test-regression2_cpp17 +home/json/build/test/MinSizeRel/test-regression2_cpp17 +home/json/build/test/RelWithDebInfo/test-regression2_cpp17 +home/json/build/test/RelWithDebInfo/test-regression2_cpp17 +home/json/build/test/Deployment/test-regression2_cpp17 +home/json/build/test/Deployment/test-regression2_cpp17 +home/json/build/test/Development/test-regression2_cpp17 +home/json/build/test/Development/test-regression2_cpp17 +51/77 Test #51: test-regression2_cpp17 .......................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-regression2_cpp17 + Start 52: test-regression2_cpp20 +Could not find executable /home/json/build/test/test-regression2_cpp20 +Looked in the following places: +/home/json/build/test/test-regression2_cpp20 +Unable to find executable: /home/json/build/test/test-regression2_cpp20 +/home/json/build/test/test-regression2_cpp20 +/home/json/build/test/Release/test-regression2_cpp20 +/home/json/build/test/Release/test-regression2_cpp20 +/home/json/build/test/Debug/test-regression2_cpp20 +/home/json/build/test/Debug/test-regression2_cpp20 +/home/json/build/test/MinSizeRel/test-regression2_cpp20 +/home/json/build/test/MinSizeRel/test-regression2_cpp20 +/home/json/build/test/RelWithDebInfo/test-regression2_cpp20 +/home/json/build/test/RelWithDebInfo/test-regression2_cpp20 +/home/json/build/test/Deployment/test-regression2_cpp20 +/home/json/build/test/Deployment/test-regression2_cpp20 +/home/json/build/test/Development/test-regression2_cpp20 +/home/json/build/test/Development/test-regression2_cpp20 +home/json/build/test/test-regression2_cpp20 +home/json/build/test/test-regression2_cpp20 +home/json/build/test/Release/test-regression2_cpp20 +home/json/build/test/Release/test-regression2_cpp20 +home/json/build/test/Debug/test-regression2_cpp20 +home/json/build/test/Debug/test-regression2_cpp20 +home/json/build/test/MinSizeRel/test-regression2_cpp20 +home/json/build/test/MinSizeRel/test-regression2_cpp20 +home/json/build/test/RelWithDebInfo/test-regression2_cpp20 +home/json/build/test/RelWithDebInfo/test-regression2_cpp20 +home/json/build/test/Deployment/test-regression2_cpp20 +home/json/build/test/Deployment/test-regression2_cpp20 +home/json/build/test/Development/test-regression2_cpp20 +home/json/build/test/Development/test-regression2_cpp20 +52/77 Test #52: test-regression2_cpp20 .......................***Not Run 0.00 sec + Start 53: test-serialization_cpp11 +Unable to find executable: /home/json/build/test/test-serialization_cpp11 +Could not find executable /home/json/build/test/test-serialization_cpp11 +Looked in the following places: +/home/json/build/test/test-serialization_cpp11 +/home/json/build/test/test-serialization_cpp11 +/home/json/build/test/Release/test-serialization_cpp11 +/home/json/build/test/Release/test-serialization_cpp11 +/home/json/build/test/Debug/test-serialization_cpp11 +/home/json/build/test/Debug/test-serialization_cpp11 +/home/json/build/test/MinSizeRel/test-serialization_cpp11 +/home/json/build/test/MinSizeRel/test-serialization_cpp11 +/home/json/build/test/RelWithDebInfo/test-serialization_cpp11 +/home/json/build/test/RelWithDebInfo/test-serialization_cpp11 +/home/json/build/test/Deployment/test-serialization_cpp11 +/home/json/build/test/Deployment/test-serialization_cpp11 +/home/json/build/test/Development/test-serialization_cpp11 +/home/json/build/test/Development/test-serialization_cpp11 +home/json/build/test/test-serialization_cpp11 +home/json/build/test/test-serialization_cpp11 +home/json/build/test/Release/test-serialization_cpp11 +home/json/build/test/Release/test-serialization_cpp11 +home/json/build/test/Debug/test-serialization_cpp11 +home/json/build/test/Debug/test-serialization_cpp11 +home/json/build/test/MinSizeRel/test-serialization_cpp11 +home/json/build/test/MinSizeRel/test-serialization_cpp11 +home/json/build/test/RelWithDebInfo/test-serialization_cpp11 +home/json/build/test/RelWithDebInfo/test-serialization_cpp11 +home/json/build/test/Deployment/test-serialization_cpp11 +home/json/build/test/Deployment/test-serialization_cpp11 +home/json/build/test/Development/test-serialization_cpp11 +home/json/build/test/Development/test-serialization_cpp11 +53/77 Test #53: test-serialization_cpp11 .....................***Not Run 0.00 sec + Start 54: test-testsuites_cpp11 +Could not find executable /home/json/build/test/test-testsuites_cpp11 +Looked in the following places: +/home/json/build/test/test-testsuites_cpp11 +/home/json/build/test/test-testsuites_cpp11 +/home/json/build/test/Release/test-testsuites_cpp11 +/home/json/build/test/Release/test-testsuites_cpp11 +/home/json/build/test/Debug/test-testsuites_cpp11 +/home/json/build/test/Debug/test-testsuites_cpp11 +/home/json/build/test/MinSizeRel/test-testsuites_cpp11 +/home/json/build/test/MinSizeRel/test-testsuites_cpp11 +/home/json/build/test/RelWithDebInfo/test-testsuites_cpp11 +/home/json/build/test/RelWithDebInfo/test-testsuites_cpp11 +/home/json/build/test/Deployment/test-testsuites_cpp11 +/home/json/build/test/Deployment/test-testsuites_cpp11 +/home/json/build/test/Development/test-testsuites_cpp11 +/home/json/build/test/Development/test-testsuites_cpp11 +home/json/build/test/test-testsuites_cpp11 +home/json/build/test/test-testsuites_cpp11 +home/json/build/test/Release/test-testsuites_cpp11 +home/json/build/test/Release/test-testsuites_cpp11 +home/json/build/test/Debug/test-testsuites_cpp11 +home/json/build/test/Debug/test-testsuites_cpp11 +home/json/build/test/MinSizeRel/test-testsuites_cpp11 +home/json/build/test/MinSizeRel/test-testsuites_cpp11 +home/json/build/test/RelWithDebInfo/test-testsuites_cpp11 +home/json/build/test/RelWithDebInfo/test-testsuites_cpp11 +home/json/build/test/Deployment/test-testsuites_cpp11 +Unable to find executable: /home/json/build/test/test-testsuites_cpp11 +home/json/build/test/Deployment/test-testsuites_cpp11 +home/json/build/test/Development/test-testsuites_cpp11 +home/json/build/test/Development/test-testsuites_cpp11 +54/77 Test #54: test-testsuites_cpp11 ........................***Not Run 0.00 sec + Start 55: test-to_chars_cpp11 +Could not find executable /home/json/build/test/test-to_chars_cpp11 +Looked in the following places: +/home/json/build/test/test-to_chars_cpp11 +/home/json/build/test/test-to_chars_cpp11 +/home/json/build/test/Release/test-to_chars_cpp11 +/home/json/build/test/Release/test-to_chars_cpp11 +/home/json/build/test/Debug/test-to_chars_cpp11 +/home/json/build/test/Debug/test-to_chars_cpp11 +/home/json/build/test/MinSizeRel/test-to_chars_cpp11 +/home/json/build/test/MinSizeRel/test-to_chars_cpp11 +Unable to find executable: /home/json/build/test/test-to_chars_cpp11 +/home/json/build/test/RelWithDebInfo/test-to_chars_cpp11 +/home/json/build/test/RelWithDebInfo/test-to_chars_cpp11 +/home/json/build/test/Deployment/test-to_chars_cpp11 +/home/json/build/test/Deployment/test-to_chars_cpp11 +/home/json/build/test/Development/test-to_chars_cpp11 +/home/json/build/test/Development/test-to_chars_cpp11 +home/json/build/test/test-to_chars_cpp11 +home/json/build/test/test-to_chars_cpp11 +home/json/build/test/Release/test-to_chars_cpp11 +home/json/build/test/Release/test-to_chars_cpp11 +home/json/build/test/Debug/test-to_chars_cpp11 +home/json/build/test/Debug/test-to_chars_cpp11 +home/json/build/test/MinSizeRel/test-to_chars_cpp11 +home/json/build/test/MinSizeRel/test-to_chars_cpp11 +home/json/build/test/RelWithDebInfo/test-to_chars_cpp11 +home/json/build/test/RelWithDebInfo/test-to_chars_cpp11 +home/json/build/test/Deployment/test-to_chars_cpp11 +home/json/build/test/Deployment/test-to_chars_cpp11 +home/json/build/test/Development/test-to_chars_cpp11 +home/json/build/test/Development/test-to_chars_cpp11 +55/77 Test #55: test-to_chars_cpp11 ..........................***Not Run 0.00 sec + Start 56: test-ubjson_cpp11 +Could not find executable /home/json/build/test/test-ubjson_cpp11 +Looked in the following places: +/home/json/build/test/test-ubjson_cpp11 +/home/json/build/test/test-ubjson_cpp11 +/home/json/build/test/Release/test-ubjson_cpp11 +/home/json/build/test/Release/test-ubjson_cpp11 +/home/json/build/test/Debug/test-ubjson_cpp11 +/home/json/build/test/Debug/test-ubjson_cpp11 +/home/json/build/test/MinSizeRel/test-ubjson_cpp11 +/home/json/build/test/MinSizeRel/test-ubjson_cpp11 +/home/json/build/test/RelWithDebInfo/test-ubjson_cpp11 +/home/json/build/test/RelWithDebInfo/test-ubjson_cpp11 +/home/json/build/test/Deployment/test-ubjson_cpp11 +/home/json/build/test/Deployment/test-ubjson_cpp11 +/home/json/build/test/Development/test-ubjson_cpp11 +/home/json/build/test/Development/test-ubjson_cpp11 +Unable to find executable: /home/json/build/test/test-ubjson_cpp11 +home/json/build/test/test-ubjson_cpp11 +home/json/build/test/test-ubjson_cpp11 +home/json/build/test/Release/test-ubjson_cpp11 +home/json/build/test/Release/test-ubjson_cpp11 +home/json/build/test/Debug/test-ubjson_cpp11 +home/json/build/test/Debug/test-ubjson_cpp11 +home/json/build/test/MinSizeRel/test-ubjson_cpp11 +home/json/build/test/MinSizeRel/test-ubjson_cpp11 +home/json/build/test/RelWithDebInfo/test-ubjson_cpp11 +home/json/build/test/RelWithDebInfo/test-ubjson_cpp11 +home/json/build/test/Deployment/test-ubjson_cpp11 +home/json/build/test/Deployment/test-ubjson_cpp11 +home/json/build/test/Development/test-ubjson_cpp11 +home/json/build/test/Development/test-ubjson_cpp11 +56/77 Test #56: test-ubjson_cpp11 ............................***Not Run 0.00 sec + Start 57: test-udt_cpp11 +Could not find executable /home/json/build/test/test-udt_cpp11 +Looked in the following places: +/home/json/build/test/test-udt_cpp11 +/home/json/build/test/test-udt_cpp11 +/home/json/build/test/Release/test-udt_cpp11 +/home/json/build/test/Release/test-udt_cpp11 +/home/json/build/test/Debug/test-udt_cpp11 +/home/json/build/test/Debug/test-udt_cpp11 +/home/json/build/test/MinSizeRel/test-udt_cpp11 +/home/json/build/test/MinSizeRel/test-udt_cpp11 +/home/json/build/test/RelWithDebInfo/test-udt_cpp11 +/home/json/build/test/RelWithDebInfo/test-udt_cpp11 +/home/json/build/test/Deployment/test-udt_cpp11 +/home/json/build/test/Deployment/test-udt_cpp11 +/home/json/build/test/Development/test-udt_cpp11 +/home/json/build/test/Development/test-udt_cpp11 +Unable to find executable: /home/json/build/test/test-udt_cpp11 +home/json/build/test/test-udt_cpp11 +home/json/build/test/test-udt_cpp11 +home/json/build/test/Release/test-udt_cpp11 +home/json/build/test/Release/test-udt_cpp11 +home/json/build/test/Debug/test-udt_cpp11 +home/json/build/test/Debug/test-udt_cpp11 +home/json/build/test/MinSizeRel/test-udt_cpp11 +home/json/build/test/MinSizeRel/test-udt_cpp11 +home/json/build/test/RelWithDebInfo/test-udt_cpp11 +home/json/build/test/RelWithDebInfo/test-udt_cpp11 +home/json/build/test/Deployment/test-udt_cpp11 +home/json/build/test/Deployment/test-udt_cpp11 +home/json/build/test/Development/test-udt_cpp11 +home/json/build/test/Development/test-udt_cpp11 +57/77 Test #57: test-udt_cpp11 ...............................***Not Run 0.00 sec + Start 58: test-udt_macro_cpp11 +Could not find executable /home/json/build/test/test-udt_macro_cpp11 +Looked in the following places: +/home/json/build/test/test-udt_macro_cpp11 +/home/json/build/test/test-udt_macro_cpp11 +/home/json/build/test/Release/test-udt_macro_cpp11 +/home/json/build/test/Release/test-udt_macro_cpp11 +/home/json/build/test/Debug/test-udt_macro_cpp11 +/home/json/build/test/Debug/test-udt_macro_cpp11 +/home/json/build/test/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/test/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/test/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/test/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/test/Deployment/test-udt_macro_cpp11 +/home/json/build/test/Deployment/test-udt_macro_cpp11 +/home/json/build/test/Development/test-udt_macro_cpp11 +/home/json/build/test/Development/test-udt_macro_cpp11 +Unable to find executable: /home/json/build/test/test-udt_macro_cpp11 +home/json/build/test/test-udt_macro_cpp11 +home/json/build/test/test-udt_macro_cpp11 +home/json/build/test/Release/test-udt_macro_cpp11 +home/json/build/test/Release/test-udt_macro_cpp11 +home/json/build/test/Debug/test-udt_macro_cpp11 +home/json/build/test/Debug/test-udt_macro_cpp11 +home/json/build/test/MinSizeRel/test-udt_macro_cpp11 +home/json/build/test/MinSizeRel/test-udt_macro_cpp11 +home/json/build/test/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/test/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/test/Deployment/test-udt_macro_cpp11 +home/json/build/test/Deployment/test-udt_macro_cpp11 +home/json/build/test/Development/test-udt_macro_cpp11 +home/json/build/test/Development/test-udt_macro_cpp11 +58/77 Test #58: test-udt_macro_cpp11 .........................***Not Run 0.00 sec + Start 59: test-unicode1_cpp11 +Could not find executable /home/json/build/test/test-unicode1_cpp11 +Looked in the following places: +/home/json/build/test/test-unicode1_cpp11 +/home/json/build/test/test-unicode1_cpp11 +/home/json/build/test/Release/test-unicode1_cpp11 +/home/json/build/test/Release/test-unicode1_cpp11 +/home/json/build/test/Debug/test-unicode1_cpp11 +/home/json/build/test/Debug/test-unicode1_cpp11 +/home/json/build/test/MinSizeRel/test-unicode1_cpp11 +/home/json/build/test/MinSizeRel/test-unicode1_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/test/Deployment/test-unicode1_cpp11 +/home/json/build/test/Deployment/test-unicode1_cpp11 +/home/json/build/test/Development/test-unicode1_cpp11 +/home/json/build/test/Development/test-unicode1_cpp11 +home/json/build/test/test-unicode1_cpp11 +home/json/build/test/test-unicode1_cpp11 +Unable to find executable: /home/json/build/test/test-unicode1_cpp11 +home/json/build/test/Release/test-unicode1_cpp11 +home/json/build/test/Release/test-unicode1_cpp11 +home/json/build/test/Debug/test-unicode1_cpp11 +home/json/build/test/Debug/test-unicode1_cpp11 +home/json/build/test/MinSizeRel/test-unicode1_cpp11 +home/json/build/test/MinSizeRel/test-unicode1_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/test/Deployment/test-unicode1_cpp11 +home/json/build/test/Deployment/test-unicode1_cpp11 +home/json/build/test/Development/test-unicode1_cpp11 +home/json/build/test/Development/test-unicode1_cpp11 +59/77 Test #59: test-unicode1_cpp11 ..........................***Not Run 0.00 sec + Start 60: test-unicode2_cpp11 +Could not find executable /home/json/build/test/test-unicode2_cpp11 +Looked in the following places: +/home/json/build/test/test-unicode2_cpp11 +/home/json/build/test/test-unicode2_cpp11 +/home/json/build/test/Release/test-unicode2_cpp11 +/home/json/build/test/Release/test-unicode2_cpp11 +/home/json/build/test/Debug/test-unicode2_cpp11 +/home/json/build/test/Debug/test-unicode2_cpp11 +/home/json/build/test/MinSizeRel/test-unicode2_cpp11 +/home/json/build/test/MinSizeRel/test-unicode2_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/test/Deployment/test-unicode2_cpp11 +/home/json/build/test/Deployment/test-unicode2_cpp11 +/home/json/build/test/Development/test-unicode2_cpp11 +/home/json/build/test/Development/test-unicode2_cpp11 +home/json/build/test/test-unicode2_cpp11 +Unable to find executable: /home/json/build/test/test-unicode2_cpp11 +home/json/build/test/test-unicode2_cpp11 +home/json/build/test/Release/test-unicode2_cpp11 +home/json/build/test/Release/test-unicode2_cpp11 +home/json/build/test/Debug/test-unicode2_cpp11 +home/json/build/test/Debug/test-unicode2_cpp11 +home/json/build/test/MinSizeRel/test-unicode2_cpp11 +home/json/build/test/MinSizeRel/test-unicode2_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/test/Deployment/test-unicode2_cpp11 +home/json/build/test/Deployment/test-unicode2_cpp11 +home/json/build/test/Development/test-unicode2_cpp11 +home/json/build/test/Development/test-unicode2_cpp11 +60/77 Test #60: test-unicode2_cpp11 ..........................***Not Run 0.00 sec + Start 61: test-unicode3_cpp11 +Could not find executable /home/json/build/test/test-unicode3_cpp11 +Looked in the following places: +/home/json/build/test/test-unicode3_cpp11 +/home/json/build/test/test-unicode3_cpp11 +/home/json/build/test/Release/test-unicode3_cpp11 +/home/json/build/test/Release/test-unicode3_cpp11 +/home/json/build/test/Debug/test-unicode3_cpp11 +/home/json/build/test/Debug/test-unicode3_cpp11 +/home/json/build/test/MinSizeRel/test-unicode3_cpp11 +/home/json/build/test/MinSizeRel/test-unicode3_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/test/Deployment/test-unicode3_cpp11 +/home/json/build/test/Deployment/test-unicode3_cpp11 +/home/json/build/test/Development/test-unicode3_cpp11 +/home/json/build/test/Development/test-unicode3_cpp11 +home/json/build/test/test-unicode3_cpp11 +home/json/build/test/test-unicode3_cpp11 +home/json/build/test/Release/test-unicode3_cpp11 +home/json/build/test/Release/test-unicode3_cpp11 +home/json/build/test/Debug/test-unicode3_cpp11 +home/json/build/test/Debug/test-unicode3_cpp11 +home/json/build/test/MinSizeRel/test-unicode3_cpp11 +home/json/build/test/MinSizeRel/test-unicode3_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/test/Deployment/test-unicode3_cpp11 +home/json/build/test/Deployment/test-unicode3_cpp11 +home/json/build/test/Development/test-unicode3_cpp11 +home/json/build/test/Development/test-unicode3_cpp11 +61/77 Test #61: test-unicode3_cpp11 ..........................***Not Run 0.00 sec + Start 62: test-unicode4_cpp11 +Could not find executable /home/json/build/test/test-unicode4_cpp11 +Looked in the following places: +/home/json/build/test/test-unicode4_cpp11 +/home/json/build/test/test-unicode4_cpp11 +/home/json/build/test/Release/test-unicode4_cpp11 +/home/json/build/test/Release/test-unicode4_cpp11 +/home/json/build/test/Debug/test-unicode4_cpp11 +Unable to find executable: /home/json/build/test/test-unicode3_cpp11 +/home/json/build/test/Debug/test-unicode4_cpp11 +Unable to find executable: /home/json/build/test/test-unicode4_cpp11 +/home/json/build/test/MinSizeRel/test-unicode4_cpp11 +/home/json/build/test/MinSizeRel/test-unicode4_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/test/Deployment/test-unicode4_cpp11 +/home/json/build/test/Deployment/test-unicode4_cpp11 +/home/json/build/test/Development/test-unicode4_cpp11 +/home/json/build/test/Development/test-unicode4_cpp11 +home/json/build/test/test-unicode4_cpp11 +home/json/build/test/test-unicode4_cpp11 +home/json/build/test/Release/test-unicode4_cpp11 +home/json/build/test/Release/test-unicode4_cpp11 +home/json/build/test/Debug/test-unicode4_cpp11 +home/json/build/test/Debug/test-unicode4_cpp11 +home/json/build/test/MinSizeRel/test-unicode4_cpp11 +home/json/build/test/MinSizeRel/test-unicode4_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/test/Deployment/test-unicode4_cpp11 +home/json/build/test/Deployment/test-unicode4_cpp11 +home/json/build/test/Development/test-unicode4_cpp11 +home/json/build/test/Development/test-unicode4_cpp11 +62/77 Test #62: test-unicode4_cpp11 ..........................***Not Run 0.00 sec + Start 63: test-unicode5_cpp11 +Could not find executable /home/json/build/test/test-unicode5_cpp11 +Looked in the following places: +/home/json/build/test/test-unicode5_cpp11 +/home/json/build/test/test-unicode5_cpp11 +/home/json/build/test/Release/test-unicode5_cpp11 +Unable to find executable: /home/json/build/test/test-unicode5_cpp11 +/home/json/build/test/Release/test-unicode5_cpp11 +/home/json/build/test/Debug/test-unicode5_cpp11 +/home/json/build/test/Debug/test-unicode5_cpp11 +/home/json/build/test/MinSizeRel/test-unicode5_cpp11 +/home/json/build/test/MinSizeRel/test-unicode5_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/test/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/test/Deployment/test-unicode5_cpp11 +/home/json/build/test/Deployment/test-unicode5_cpp11 +/home/json/build/test/Development/test-unicode5_cpp11 +/home/json/build/test/Development/test-unicode5_cpp11 +home/json/build/test/test-unicode5_cpp11 +home/json/build/test/test-unicode5_cpp11 +home/json/build/test/Release/test-unicode5_cpp11 +home/json/build/test/Release/test-unicode5_cpp11 +home/json/build/test/Debug/test-unicode5_cpp11 +home/json/build/test/Debug/test-unicode5_cpp11 +home/json/build/test/MinSizeRel/test-unicode5_cpp11 +home/json/build/test/MinSizeRel/test-unicode5_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/test/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/test/Deployment/test-unicode5_cpp11 +home/json/build/test/Deployment/test-unicode5_cpp11 +home/json/build/test/Development/test-unicode5_cpp11 +home/json/build/test/Development/test-unicode5_cpp11 +63/77 Test #63: test-unicode5_cpp11 ..........................***Not Run 0.00 sec + Start 64: test-user_defined_input_cpp11 +Could not find executable /home/json/build/test/test-user_defined_input_cpp11 +Looked in the following places: +/home/json/build/test/test-user_defined_input_cpp11 +/home/json/build/test/test-user_defined_input_cpp11 +/home/json/build/test/Release/test-user_defined_input_cpp11 +/home/json/build/test/Release/test-user_defined_input_cpp11 +/home/json/build/test/Debug/test-user_defined_input_cpp11 +/home/json/build/test/Debug/test-user_defined_input_cpp11 +/home/json/build/test/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/test/MinSizeRel/test-user_defined_input_cpp11 +Unable to find executable: /home/json/build/test/test-user_defined_input_cpp11 +/home/json/build/test/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/test/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/test/Deployment/test-user_defined_input_cpp11 +/home/json/build/test/Deployment/test-user_defined_input_cpp11 +/home/json/build/test/Development/test-user_defined_input_cpp11 +/home/json/build/test/Development/test-user_defined_input_cpp11 +home/json/build/test/test-user_defined_input_cpp11 +home/json/build/test/test-user_defined_input_cpp11 +home/json/build/test/Release/test-user_defined_input_cpp11 +home/json/build/test/Release/test-user_defined_input_cpp11 +home/json/build/test/Debug/test-user_defined_input_cpp11 +home/json/build/test/Debug/test-user_defined_input_cpp11 +home/json/build/test/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/test/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/test/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/test/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/test/Deployment/test-user_defined_input_cpp11 +home/json/build/test/Deployment/test-user_defined_input_cpp11 +home/json/build/test/Development/test-user_defined_input_cpp11 +home/json/build/test/Development/test-user_defined_input_cpp11 +64/77 Test #64: test-user_defined_input_cpp11 ................***Not Run 0.00 sec + Start 65: test-wstring_cpp11 +Could not find executable /home/json/build/test/test-wstring_cpp11 +Looked in the following places: +/home/json/build/test/test-wstring_cpp11 +/home/json/build/test/test-wstring_cpp11 +/home/json/build/test/Release/test-wstring_cpp11 +/home/json/build/test/Release/test-wstring_cpp11 +/home/json/build/test/Debug/test-wstring_cpp11 +Unable to find executable: /home/json/build/test/test-wstring_cpp11 +/home/json/build/test/Debug/test-wstring_cpp11 +/home/json/build/test/MinSizeRel/test-wstring_cpp11 +/home/json/build/test/MinSizeRel/test-wstring_cpp11 +/home/json/build/test/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/test/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/test/Deployment/test-wstring_cpp11 +/home/json/build/test/Deployment/test-wstring_cpp11 +/home/json/build/test/Development/test-wstring_cpp11 +/home/json/build/test/Development/test-wstring_cpp11 +home/json/build/test/test-wstring_cpp11 +home/json/build/test/test-wstring_cpp11 +home/json/build/test/Release/test-wstring_cpp11 +home/json/build/test/Release/test-wstring_cpp11 +home/json/build/test/Debug/test-wstring_cpp11 +home/json/build/test/Debug/test-wstring_cpp11 +home/json/build/test/MinSizeRel/test-wstring_cpp11 +home/json/build/test/MinSizeRel/test-wstring_cpp11 +home/json/build/test/RelWithDebInfo/test-wstring_cpp11 +home/json/build/test/RelWithDebInfo/test-wstring_cpp11 +home/json/build/test/Deployment/test-wstring_cpp11 +home/json/build/test/Deployment/test-wstring_cpp11 +home/json/build/test/Development/test-wstring_cpp11 +home/json/build/test/Development/test-wstring_cpp11 +65/77 Test #65: test-wstring_cpp11 ...........................***Not Run 0.00 sec + Start 66: cmake_import_configure +66/77 Test #66: cmake_import_configure ....................... Passed 0.20 sec + Start 67: cmake_import_build +67/77 Test #67: cmake_import_build ........................... Passed 2.79 sec + Start 68: cmake_import_minver_configure +68/77 Test #68: cmake_import_minver_configure ................ Passed 0.20 sec + Start 69: cmake_import_minver_build +69/77 Test #69: cmake_import_minver_build .................... Passed 1.39 sec + Start 70: cmake_add_subdirectory_configure +70/77 Test #70: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 71: cmake_add_subdirectory_build +71/77 Test #71: cmake_add_subdirectory_build ................. Passed 4.07 sec + Start 72: cmake_fetch_content_configure +72/77 Test #72: cmake_fetch_content_configure ................ Passed 0.92 sec + Start 73: cmake_fetch_content_build +73/77 Test #73: cmake_fetch_content_build .................... Passed 2.74 sec + Start 74: cmake_fetch_content2_configure +74/77 Test #74: cmake_fetch_content2_configure ............... Passed 0.67 sec + Start 75: cmake_fetch_content2_build +75/77 Test #75: cmake_fetch_content2_build ................... Passed 2.74 sec + Start 76: cmake_target_include_directories_configure +76/77 Test #76: cmake_target_include_directories_configure ... Passed 0.20 sec + Start 77: cmake_target_include_directories_build +77/77 Test #77: cmake_target_include_directories_build ....... Passed 4.86 sec + +39% tests passed, 47 tests failed out of 77 + +Label Time Summary: +all = 40.41 sec*proc (64 tests) +git_required = 7.07 sec*proc (4 tests) +not_reproducible = 20.98 sec*proc (12 tests) + +Total Test time (real) = 61.48 sec + +The following tests FAILED: + 19 - test-convenience_cpp11 (Not Run) + 20 - test-conversions_cpp11 (Not Run) + 21 - test-conversions_cpp14 (Not Run) + 22 - test-conversions_cpp17 (Not Run) + 23 - test-deserialization_cpp11 (Not Run) + 24 - test-diagnostics_cpp11 (Not Run) + 25 - test-disabled_exceptions_cpp11 (Not Run) + 26 - test-element_access1_cpp11 (Not Run) + 27 - test-element_access2_cpp11 (Not Run) + 28 - test-hash_cpp11 (Not Run) + 29 - test-inspection_cpp11 (Not Run) + 30 - test-items_cpp11 (Not Run) + 31 - test-items_cpp14 (Not Run) + 32 - test-items_cpp17 (Not Run) + 33 - test-iterators1_cpp11 (Not Run) + 34 - test-iterators2_cpp11 (Not Run) + 35 - test-json_patch_cpp11 (Not Run) + 36 - test-json_pointer_cpp11 (Not Run) + 37 - test-large_json_cpp11 (Not Run) + 38 - test-merge_patch_cpp11 (Not Run) + 39 - test-meta_cpp11 (Not Run) + 40 - test-modifiers_cpp11 (Not Run) + 41 - test-msgpack_cpp11 (Not Run) + 42 - test-noexcept_cpp11 (Not Run) + 43 - test-ordered_json_cpp11 (Not Run) + 44 - test-ordered_map_cpp11 (Not Run) + 45 - test-pointer_access_cpp11 (Not Run) + 46 - test-readme_cpp11 (Not Run) + 47 - test-reference_access_cpp11 (Not Run) + 48 - test-regression1_cpp11 (Not Run) + 49 - test-regression1_cpp17 (Not Run) + 50 - test-regression2_cpp11 (Not Run) + 51 - test-regression2_cpp17 (Not Run) + 52 - test-regression2_cpp20 (Not Run) + 53 - test-serialization_cpp11 (Not Run) + 54 - test-testsuites_cpp11 (Not Run) + 55 - test-to_chars_cpp11 (Not Run) + 56 - test-ubjson_cpp11 (Not Run) + 57 - test-udt_cpp11 (Not Run) + 58 - test-udt_macro_cpp11 (Not Run) + 59 - test-unicode1_cpp11 (Not Run) + 60 - test-unicode2_cpp11 (Not Run) + 61 - test-unicode3_cpp11 (Not Run) + 62 - test-unicode4_cpp11 (Not Run) + 63 - test-unicode5_cpp11 (Not Run) + 64 - test-user_defined_input_cpp11 (Not Run) + 65 - test-wstring_cpp11 (Not Run) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/fix.patch new file mode 100644 index 000000000..b48a841f1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/fix.patch @@ -0,0 +1,391 @@ +diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp +index caed67c9..ebe89d79 100644 +--- a/include/nlohmann/detail/json_pointer.hpp ++++ b/include/nlohmann/detail/json_pointer.hpp +@@ -235,6 +235,8 @@ class json_pointer + */ + BasicJsonType& get_and_create(BasicJsonType& j) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + auto* result = &j; + + // in case no reference tokens exist, return a reference to the JSON value +@@ -253,7 +255,7 @@ class json_pointer + else + { + // start a new object otherwise +- result = &result->operator[](reference_token); ++ result = &result->operator[](string_t(reference_token.c_str())); + } + break; + } +@@ -261,7 +263,7 @@ class json_pointer + case detail::value_t::object: + { + // create an entry in the object +- result = &result->operator[](reference_token); ++ result = &result->operator[](string_t(reference_token.c_str())); + break; + } + +@@ -314,6 +316,8 @@ class json_pointer + */ + BasicJsonType& get_unchecked(BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + // convert null values to arrays or objects before continuing +@@ -338,7 +342,7 @@ class json_pointer + case detail::value_t::object: + { + // use unchecked object access +- ptr = &ptr->operator[](reference_token); ++ ptr = &ptr->operator[](string_t(reference_token.c_str())); + break; + } + +@@ -381,6 +385,8 @@ class json_pointer + */ + BasicJsonType& get_checked(BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + switch (ptr->type()) +@@ -388,7 +394,7 @@ class json_pointer + case detail::value_t::object: + { + // note: at performs range check +- ptr = &ptr->at(reference_token); ++ ptr = &ptr->at(string_t(reference_token.c_str())); + break; + } + +@@ -438,6 +444,8 @@ class json_pointer + */ + const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + switch (ptr->type()) +@@ -445,7 +453,7 @@ class json_pointer + case detail::value_t::object: + { + // use unchecked object access +- ptr = &ptr->operator[](reference_token); ++ ptr = &ptr->operator[](string_t(reference_token.c_str())); + break; + } + +@@ -486,6 +494,8 @@ class json_pointer + */ + const BasicJsonType& get_checked(const BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + switch (ptr->type()) +@@ -493,7 +503,7 @@ class json_pointer + case detail::value_t::object: + { + // note: at performs range check +- ptr = &ptr->at(reference_token); ++ ptr = &ptr->at(string_t(reference_token.c_str())); + break; + } + +@@ -534,19 +544,21 @@ class json_pointer + */ + bool contains(const BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + switch (ptr->type()) + { + case detail::value_t::object: + { +- if (!ptr->contains(reference_token)) ++ if (!ptr->contains(string_t(reference_token.c_str()))) + { + // we did not find the key in the object + return false; + } + +- ptr = &ptr->operator[](reference_token); ++ ptr = &ptr->operator[](string_t(reference_token.c_str())); + break; + } + +@@ -692,6 +704,8 @@ class json_pointer + const BasicJsonType& value, + BasicJsonType& result) + { ++ using string_t = typename BasicJsonType::string_t; ++ + switch (value.type()) + { + case detail::value_t::array: +@@ -699,7 +713,7 @@ class json_pointer + if (value.m_value.array->empty()) + { + // flatten empty array as null +- result[reference_string] = nullptr; ++ result[string_t(reference_string.c_str())] = nullptr; + } + else + { +@@ -718,14 +732,14 @@ class json_pointer + if (value.m_value.object->empty()) + { + // flatten empty object as null +- result[reference_string] = nullptr; ++ result[string_t(reference_string.c_str())] = nullptr; + } + else + { + // iterate object and use keys as reference string + for (const auto& element : *value.m_value.object) + { +- flatten(reference_string + "/" + detail::escape(element.first), element.second, result); ++ flatten(reference_string + "/" + detail::escape(std::string(element.first.c_str())), element.second, result); + } + } + break; +@@ -742,7 +756,7 @@ class json_pointer + default: + { + // add primitive value with its reference string +- result[reference_string] = value; ++ result[string_t(reference_string.c_str())] = value; + break; + } + } +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index db85f8d7..19c8ae31 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -1995,7 +1995,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + JSON_CATCH (std::out_of_range&) + { + // create better exception explanation +- JSON_THROW(out_of_range::create(403, "key '" + key + "' not found", *this)); ++ JSON_THROW(out_of_range::create(403, "key '" + std::string(key.c_str()) + "' not found", *this)); + } + } + else +@@ -2018,7 +2018,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + JSON_CATCH (std::out_of_range&) + { + // create better exception explanation +- JSON_THROW(out_of_range::create(403, "key '" + key + "' not found", *this)); ++ JSON_THROW(out_of_range::create(403, "key '" + std::string(key.c_str()) + "' not found", *this)); + } + } + else +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index c1f545b0..99d9ff0c 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -12501,6 +12501,8 @@ class json_pointer + */ + BasicJsonType& get_and_create(BasicJsonType& j) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + auto* result = &j; + + // in case no reference tokens exist, return a reference to the JSON value +@@ -12519,7 +12521,7 @@ class json_pointer + else + { + // start a new object otherwise +- result = &result->operator[](reference_token); ++ result = &result->operator[](string_t(reference_token.c_str())); + } + break; + } +@@ -12527,7 +12529,7 @@ class json_pointer + case detail::value_t::object: + { + // create an entry in the object +- result = &result->operator[](reference_token); ++ result = &result->operator[](string_t(reference_token.c_str())); + break; + } + +@@ -12580,6 +12582,8 @@ class json_pointer + */ + BasicJsonType& get_unchecked(BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + // convert null values to arrays or objects before continuing +@@ -12604,7 +12608,7 @@ class json_pointer + case detail::value_t::object: + { + // use unchecked object access +- ptr = &ptr->operator[](reference_token); ++ ptr = &ptr->operator[](string_t(reference_token.c_str())); + break; + } + +@@ -12647,6 +12651,8 @@ class json_pointer + */ + BasicJsonType& get_checked(BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + switch (ptr->type()) +@@ -12654,7 +12660,7 @@ class json_pointer + case detail::value_t::object: + { + // note: at performs range check +- ptr = &ptr->at(reference_token); ++ ptr = &ptr->at(string_t(reference_token.c_str())); + break; + } + +@@ -12704,6 +12710,8 @@ class json_pointer + */ + const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + switch (ptr->type()) +@@ -12711,7 +12719,7 @@ class json_pointer + case detail::value_t::object: + { + // use unchecked object access +- ptr = &ptr->operator[](reference_token); ++ ptr = &ptr->operator[](string_t(reference_token.c_str())); + break; + } + +@@ -12752,6 +12760,8 @@ class json_pointer + */ + const BasicJsonType& get_checked(const BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + switch (ptr->type()) +@@ -12759,7 +12769,7 @@ class json_pointer + case detail::value_t::object: + { + // note: at performs range check +- ptr = &ptr->at(reference_token); ++ ptr = &ptr->at(string_t(reference_token.c_str())); + break; + } + +@@ -12800,19 +12810,21 @@ class json_pointer + */ + bool contains(const BasicJsonType* ptr) const + { ++ using string_t = typename BasicJsonType::string_t; ++ + for (const auto& reference_token : reference_tokens) + { + switch (ptr->type()) + { + case detail::value_t::object: + { +- if (!ptr->contains(reference_token)) ++ if (!ptr->contains(string_t(reference_token.c_str()))) + { + // we did not find the key in the object + return false; + } + +- ptr = &ptr->operator[](reference_token); ++ ptr = &ptr->operator[](string_t(reference_token.c_str())); + break; + } + +@@ -12958,6 +12970,8 @@ class json_pointer + const BasicJsonType& value, + BasicJsonType& result) + { ++ using string_t = typename BasicJsonType::string_t; ++ + switch (value.type()) + { + case detail::value_t::array: +@@ -12965,7 +12979,7 @@ class json_pointer + if (value.m_value.array->empty()) + { + // flatten empty array as null +- result[reference_string] = nullptr; ++ result[string_t(reference_string.c_str())] = nullptr; + } + else + { +@@ -12984,14 +12998,14 @@ class json_pointer + if (value.m_value.object->empty()) + { + // flatten empty object as null +- result[reference_string] = nullptr; ++ result[string_t(reference_string.c_str())] = nullptr; + } + else + { + // iterate object and use keys as reference string + for (const auto& element : *value.m_value.object) + { +- flatten(reference_string + "/" + detail::escape(element.first), element.second, result); ++ flatten(reference_string + "/" + detail::escape(std::string(element.first.c_str())), element.second, result); + } + } + break; +@@ -13008,7 +13022,7 @@ class json_pointer + default: + { + // add primitive value with its reference string +- result[reference_string] = value; ++ result[string_t(reference_string.c_str())] = value; + break; + } + } +@@ -17351,7 +17365,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + detail::parser_callback_tcb = nullptr, + const bool allow_exceptions = true, + const bool ignore_comments = false +- ) ++ ) + { + return ::nlohmann::detail::parser(std::move(adapter), + std::move(cb), allow_exceptions, ignore_comments); +@@ -19188,7 +19202,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + JSON_CATCH (std::out_of_range&) + { + // create better exception explanation +- JSON_THROW(out_of_range::create(403, "key '" + key + "' not found", *this)); ++ JSON_THROW(out_of_range::create(403, "key '" + std::string(key.c_str()) + "' not found", *this)); + } + } + else +@@ -19211,7 +19225,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + JSON_CATCH (std::out_of_range&) + { + // create better exception explanation +- JSON_THROW(out_of_range::create(403, "key '" + key + "' not found", *this)); ++ JSON_THROW(out_of_range::create(403, "key '" + std::string(key.c_str()) + "' not found", *this)); + } + } + else diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/report.json new file mode 100644 index 000000000..f52faa43a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3415/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3415, "valid": true, "error_msg": "", "fixed_tests": {"cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 77, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-items_cpp17", "cmake_import_minver_configure", "test-deserialization_cpp11", "test-items_cpp14", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 30, "failed_count": 0, "skipped_count": 0, "passed_tests": ["cmake_target_include_directories_build", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-comparison_cpp11", "test-comparison_cpp20", "cmake_fetch_content2_build", "cmake_import_build", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-class_parser_cpp11", "test-cbor_cpp11", "test-assert_macro_cpp11", "test-algorithms_cpp11", "cmake_add_subdirectory_configure", "test-byte_container_with_subtype_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-constructor2_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "cmake_import_minver_configure", "test-class_iterator_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_build", "cmake_import_minver_build", "cmake_fetch_content_configure", "test-class_const_iterator_cpp11", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/fix-patch-run.log new file mode 100644 index 000000000..e9e51691b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/fix-patch-run.log @@ -0,0 +1,2241 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6563 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (16.9 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6022 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.HzIo0Vsw +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.HzIo0Vsw/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.HzIo0Vsw/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.HzIo0Vsw/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.HzIo0Vsw/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.HzIo0Vsw/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.HzIo0Vsw +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=a3cdc6f3d072 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.clViE9tkXe/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file cmake/test.cmake +patching file tests/CMakeLists.txt +patching file tests/src/unit-class_parser.cpp +patching file tests/src/unit-comparison.cpp +patching file tests/src/unit-conversions.cpp +patching file tests/src/unit-items.cpp +patching file tests/src/unit-iterators2.cpp +patching file tests/src/unit-regression2.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux a3cdc6f3d072 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string_cpp11 +[ 6%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 8%] Linking CXX executable test-binary_formats_cpp11 +[ 8%] Built target test-binary_formats_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 10%] Linking CXX executable test-bjdata_cpp11 +[ 10%] Built target test-bjdata_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 11%] Linking CXX executable test-bson_cpp11 +[ 11%] Built target test-bson_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 13%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 13%] Built target test-byte_container_with_subtype_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 14%] Linking CXX executable test-capacity_cpp11 +[ 14%] Built target test-capacity_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 16%] Linking CXX executable test-cbor_cpp11 +[ 16%] Built target test-cbor_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 17%] Linking CXX executable test-class_const_iterator_cpp11 +[ 17%] Built target test-class_const_iterator_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 19%] Linking CXX executable test-class_iterator_cpp11 +[ 19%] Built target test-class_iterator_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer_cpp11 +[ 20%] Built target test-class_lexer_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser_cpp11 +[ 22%] Built target test-class_parser_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +In file included from /home/json/tests/thirdparty/doctest/doctest_compatibility.h:6, + from /home/json/tests/src/unit-comparison.cpp:37: +/home/json/tests/src/unit-comparison.cpp: In function 'void _DOCTEST_ANON_FUNC_2()': +/home/json/tests/src/unit-comparison.cpp:316:33: error: 'compares_unordered' is not a member of 'nlohmann::json' {aka 'nlohmann::basic_json<>'} + 316 | CHECK(json::compares_unordered(j_values[i], j_values[j]) == expected[i][j]); + | ^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-comparison.cpp:316:21: note: in expansion of macro 'CHECK' + 316 | CHECK(json::compares_unordered(j_values[i], j_values[j]) == expected[i][j]); + | ^~~~~ +/home/json/tests/src/unit-comparison.cpp:399:31: error: 'compares_unordered' is not a member of 'nlohmann::json' {aka 'nlohmann::basic_json<>'} + 399 | if (json::compares_unordered(j_values[i], j_values[j], true)) + | ^~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-comparison.cpp:447:31: error: 'compares_unordered' is not a member of 'nlohmann::json' {aka 'nlohmann::basic_json<>'} + 447 | if (json::compares_unordered(j_values[i], j_values[j], true)) + | ^~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-comparison.cpp:472:31: error: 'compares_unordered' is not a member of 'nlohmann::json' {aka 'nlohmann::basic_json<>'} + 472 | if (json::compares_unordered(j_values[i], j_values[j])) + | ^~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-comparison.cpp:499:31: error: 'compares_unordered' is not a member of 'nlohmann::json' {aka 'nlohmann::basic_json<>'} + 499 | if (json::compares_unordered(j_values[i], j_values[j], true)) + | ^~~~~~~~~~~~~~~~~~ +gmake[2]: *** [tests/CMakeFiles/test-comparison_cpp11.dir/build.make:76: tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:1514: tests/CMakeFiles/test-comparison_cpp11.dir/all] Error 2 +gmake: *** [Makefile:146: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/81 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/81 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/81 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/81 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/81 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/81 Test #6: test-binary_formats_cpp11 .................... Passed 20.54 sec + Start 7: test-bjdata_cpp11 + 7/81 Test #7: test-bjdata_cpp11 ............................ Passed 10.22 sec + Start 8: test-bson_cpp11 + 8/81 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/81 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/81 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/81 Test #11: test-cbor_cpp11 .............................. Passed 39.90 sec + Start 12: test-class_const_iterator_cpp11 +12/81 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/81 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/81 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/81 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +Could not find executable /home/json/build/tests/test-comparison_cpp11 +Looked in the following places: +/home/json/build/tests/test-comparison_cpp11 +/home/json/build/tests/test-comparison_cpp11 +/home/json/build/tests/Release/test-comparison_cpp11 +/home/json/build/tests/Release/test-comparison_cpp11 +/home/json/build/tests/Debug/test-comparison_cpp11 +/home/json/build/tests/Debug/test-comparison_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_cpp11 +/home/json/build/tests/Deployment/test-comparison_cpp11 +/home/json/build/tests/Deployment/test-comparison_cpp11 +/home/json/build/tests/Development/test-comparison_cpp11 +/home/json/build/tests/Development/test-comparison_cpp11 +home/json/build/tests/test-comparison_cpp11 +home/json/build/tests/test-comparison_cpp11 +home/json/build/tests/Release/test-comparison_cpp11 +home/json/build/tests/Release/test-comparison_cpp11 +home/json/build/tests/Debug/test-comparison_cpp11 +home/json/build/tests/Debug/test-comparison_cpp11 +Unable to find executable: /home/json/build/tests/test-comparison_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_cpp11 +home/json/build/tests/Deployment/test-comparison_cpp11 +home/json/build/tests/Deployment/test-comparison_cpp11 +home/json/build/tests/Development/test-comparison_cpp11 +home/json/build/tests/Development/test-comparison_cpp11 +16/81 Test #16: test-comparison_cpp11 ........................***Not Run 0.00 sec + Start 17: test-comparison_cpp20 +Could not find executable /home/json/build/tests/test-comparison_cpp20 +Looked in the following places: +/home/json/build/tests/test-comparison_cpp20 +/home/json/build/tests/test-comparison_cpp20 +/home/json/build/tests/Release/test-comparison_cpp20 +/home/json/build/tests/Release/test-comparison_cpp20 +/home/json/build/tests/Debug/test-comparison_cpp20 +/home/json/build/tests/Debug/test-comparison_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_cpp20 +/home/json/build/tests/Deployment/test-comparison_cpp20 +Unable to find executable: /home/json/build/tests/test-comparison_cpp20 +/home/json/build/tests/Deployment/test-comparison_cpp20 +/home/json/build/tests/Development/test-comparison_cpp20 +/home/json/build/tests/Development/test-comparison_cpp20 +home/json/build/tests/test-comparison_cpp20 +home/json/build/tests/test-comparison_cpp20 +home/json/build/tests/Release/test-comparison_cpp20 +home/json/build/tests/Release/test-comparison_cpp20 +home/json/build/tests/Debug/test-comparison_cpp20 +home/json/build/tests/Debug/test-comparison_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_cpp20 +home/json/build/tests/Deployment/test-comparison_cpp20 +home/json/build/tests/Deployment/test-comparison_cpp20 +home/json/build/tests/Development/test-comparison_cpp20 +home/json/build/tests/Development/test-comparison_cpp20 +17/81 Test #17: test-comparison_cpp20 ........................***Not Run 0.00 sec + Start 18: test-concepts_cpp11 +Could not find executable /home/json/build/tests/test-concepts_cpp11 +Looked in the following places: +/home/json/build/tests/test-concepts_cpp11 +/home/json/build/tests/test-concepts_cpp11 +/home/json/build/tests/Release/test-concepts_cpp11 +/home/json/build/tests/Release/test-concepts_cpp11 +/home/json/build/tests/Debug/test-concepts_cpp11 +/home/json/build/tests/Debug/test-concepts_cpp11 +/home/json/build/tests/MinSizeRel/test-concepts_cpp11 +/home/json/build/tests/MinSizeRel/test-concepts_cpp11 +/home/json/build/tests/RelWithDebInfo/test-concepts_cpp11 +/home/json/build/tests/RelWithDebInfo/test-concepts_cpp11 +/home/json/build/tests/Deployment/test-concepts_cpp11 +/home/json/build/tests/Deployment/test-concepts_cpp11 +/home/json/build/tests/Development/test-concepts_cpp11 +/home/json/build/tests/Development/test-concepts_cpp11 +home/json/build/tests/test-concepts_cpp11 +home/json/build/tests/test-concepts_cpp11 +home/json/build/tests/Release/test-concepts_cpp11 +home/json/build/tests/Release/test-concepts_cpp11 +home/json/build/tests/Debug/test-concepts_cpp11 +home/json/build/tests/Debug/test-concepts_cpp11 +home/json/build/tests/MinSizeRel/test-concepts_cpp11 +home/json/build/tests/MinSizeRel/test-concepts_cpp11 +home/json/build/tests/RelWithDebInfo/test-concepts_cpp11 +home/json/build/tests/RelWithDebInfo/test-concepts_cpp11 +home/json/build/tests/Deployment/test-concepts_cpp11 +home/json/build/tests/Deployment/test-concepts_cpp11 +home/json/build/tests/Development/test-concepts_cpp11 +home/json/build/tests/Development/test-concepts_cpp11 +18/81 Test #18: test-concepts_cpp11 ..........................***Not Run 0.00 sec + Start 19: test-constructor1_cpp11 +Unable to find executable: /home/json/build/tests/test-concepts_cpp11 +Could not find executable /home/json/build/tests/test-constructor1_cpp11 +Looked in the following places: +/home/json/build/tests/test-constructor1_cpp11 +/home/json/build/tests/test-constructor1_cpp11 +/home/json/build/tests/Release/test-constructor1_cpp11 +/home/json/build/tests/Release/test-constructor1_cpp11 +/home/json/build/tests/Debug/test-constructor1_cpp11 +/home/json/build/tests/Debug/test-constructor1_cpp11 +/home/json/build/tests/MinSizeRel/test-constructor1_cpp11 +/home/json/build/tests/MinSizeRel/test-constructor1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-constructor1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-constructor1_cpp11 +/home/json/build/tests/Deployment/test-constructor1_cpp11 +/home/json/build/tests/Deployment/test-constructor1_cpp11 +/home/json/build/tests/Development/test-constructor1_cpp11 +/home/json/build/tests/Development/test-constructor1_cpp11 +home/json/build/tests/test-constructor1_cpp11 +home/json/build/tests/test-constructor1_cpp11 +home/json/build/tests/Release/test-constructor1_cpp11 +home/json/build/tests/Release/test-constructor1_cpp11 +home/json/build/tests/Debug/test-constructor1_cpp11 +home/json/build/tests/Debug/test-constructor1_cpp11 +home/json/build/tests/MinSizeRel/test-constructor1_cpp11 +Unable to find executable: /home/json/build/tests/test-constructor1_cpp11 +home/json/build/tests/MinSizeRel/test-constructor1_cpp11 +home/json/build/tests/RelWithDebInfo/test-constructor1_cpp11 +home/json/build/tests/RelWithDebInfo/test-constructor1_cpp11 +home/json/build/tests/Deployment/test-constructor1_cpp11 +home/json/build/tests/Deployment/test-constructor1_cpp11 +home/json/build/tests/Development/test-constructor1_cpp11 +home/json/build/tests/Development/test-constructor1_cpp11 +19/81 Test #19: test-constructor1_cpp11 ......................***Not Run 0.00 sec + Start 20: test-constructor2_cpp11 +Could not find executable /home/json/build/tests/test-constructor2_cpp11 +Looked in the following places: +/home/json/build/tests/test-constructor2_cpp11 +/home/json/build/tests/test-constructor2_cpp11 +Unable to find executable: /home/json/build/tests/test-constructor2_cpp11 +/home/json/build/tests/Release/test-constructor2_cpp11 +/home/json/build/tests/Release/test-constructor2_cpp11 +/home/json/build/tests/Debug/test-constructor2_cpp11 +/home/json/build/tests/Debug/test-constructor2_cpp11 +/home/json/build/tests/MinSizeRel/test-constructor2_cpp11 +/home/json/build/tests/MinSizeRel/test-constructor2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-constructor2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-constructor2_cpp11 +/home/json/build/tests/Deployment/test-constructor2_cpp11 +/home/json/build/tests/Deployment/test-constructor2_cpp11 +/home/json/build/tests/Development/test-constructor2_cpp11 +/home/json/build/tests/Development/test-constructor2_cpp11 +home/json/build/tests/test-constructor2_cpp11 +home/json/build/tests/test-constructor2_cpp11 +home/json/build/tests/Release/test-constructor2_cpp11 +home/json/build/tests/Release/test-constructor2_cpp11 +home/json/build/tests/Debug/test-constructor2_cpp11 +home/json/build/tests/Debug/test-constructor2_cpp11 +home/json/build/tests/MinSizeRel/test-constructor2_cpp11 +home/json/build/tests/MinSizeRel/test-constructor2_cpp11 +home/json/build/tests/RelWithDebInfo/test-constructor2_cpp11 +home/json/build/tests/RelWithDebInfo/test-constructor2_cpp11 +home/json/build/tests/Deployment/test-constructor2_cpp11 +home/json/build/tests/Deployment/test-constructor2_cpp11 +home/json/build/tests/Development/test-constructor2_cpp11 +home/json/build/tests/Development/test-constructor2_cpp11 +Unable to find executable: /home/json/build/tests/test-convenience_cpp11 +20/81 Test #20: test-constructor2_cpp11 ......................***Not Run 0.00 sec + Start 21: test-convenience_cpp11 +Could not find executable /home/json/build/tests/test-convenience_cpp11 +Looked in the following places: +/home/json/build/tests/test-convenience_cpp11 +/home/json/build/tests/test-convenience_cpp11 +/home/json/build/tests/Release/test-convenience_cpp11 +/home/json/build/tests/Release/test-convenience_cpp11 +/home/json/build/tests/Debug/test-convenience_cpp11 +/home/json/build/tests/Debug/test-convenience_cpp11 +/home/json/build/tests/MinSizeRel/test-convenience_cpp11 +/home/json/build/tests/MinSizeRel/test-convenience_cpp11 +/home/json/build/tests/RelWithDebInfo/test-convenience_cpp11 +/home/json/build/tests/RelWithDebInfo/test-convenience_cpp11 +/home/json/build/tests/Deployment/test-convenience_cpp11 +/home/json/build/tests/Deployment/test-convenience_cpp11 +/home/json/build/tests/Development/test-convenience_cpp11 +Unable to find executable: /home/json/build/tests/test-conversions_cpp11 +/home/json/build/tests/Development/test-convenience_cpp11 +home/json/build/tests/test-convenience_cpp11 +home/json/build/tests/test-convenience_cpp11 +home/json/build/tests/Release/test-convenience_cpp11 +home/json/build/tests/Release/test-convenience_cpp11 +home/json/build/tests/Debug/test-convenience_cpp11 +home/json/build/tests/Debug/test-convenience_cpp11 +home/json/build/tests/MinSizeRel/test-convenience_cpp11 +home/json/build/tests/MinSizeRel/test-convenience_cpp11 +home/json/build/tests/RelWithDebInfo/test-convenience_cpp11 +home/json/build/tests/RelWithDebInfo/test-convenience_cpp11 +home/json/build/tests/Deployment/test-convenience_cpp11 +home/json/build/tests/Deployment/test-convenience_cpp11 +home/json/build/tests/Development/test-convenience_cpp11 +home/json/build/tests/Development/test-convenience_cpp11 +21/81 Test #21: test-convenience_cpp11 .......................***Not Run 0.00 sec + Start 22: test-conversions_cpp11 +Could not find executable /home/json/build/tests/test-conversions_cpp11 +Looked in the following places: +/home/json/build/tests/test-conversions_cpp11 +/home/json/build/tests/test-conversions_cpp11 +/home/json/build/tests/Release/test-conversions_cpp11 +/home/json/build/tests/Release/test-conversions_cpp11 +/home/json/build/tests/Debug/test-conversions_cpp11 +/home/json/build/tests/Debug/test-conversions_cpp11 +/home/json/build/tests/MinSizeRel/test-conversions_cpp11 +/home/json/build/tests/MinSizeRel/test-conversions_cpp11 +/home/json/build/tests/RelWithDebInfo/test-conversions_cpp11 +/home/json/build/tests/RelWithDebInfo/test-conversions_cpp11 +/home/json/build/tests/Deployment/test-conversions_cpp11 +/home/json/build/tests/Deployment/test-conversions_cpp11 +/home/json/build/tests/Development/test-conversions_cpp11 +/home/json/build/tests/Development/test-conversions_cpp11 +home/json/build/tests/test-conversions_cpp11 +home/json/build/tests/test-conversions_cpp11 +home/json/build/tests/Release/test-conversions_cpp11 +home/json/build/tests/Release/test-conversions_cpp11 +home/json/build/tests/Debug/test-conversions_cpp11 +home/json/build/tests/Debug/test-conversions_cpp11 +home/json/build/tests/MinSizeRel/test-conversions_cpp11 +home/json/build/tests/MinSizeRel/test-conversions_cpp11 +home/json/build/tests/RelWithDebInfo/test-conversions_cpp11 +home/json/build/tests/RelWithDebInfo/test-conversions_cpp11 +home/json/build/tests/Deployment/test-conversions_cpp11 +home/json/build/tests/Deployment/test-conversions_cpp11 +home/json/build/tests/Development/test-conversions_cpp11 +home/json/build/tests/Development/test-conversions_cpp11 +22/81 Test #22: test-conversions_cpp11 .......................***Not Run 0.00 sec + Start 23: test-conversions_cpp17 +Could not find executable /home/json/build/tests/test-conversions_cpp17 +Looked in the following places: +/home/json/build/tests/test-conversions_cpp17 +Unable to find executable: /home/json/build/tests/test-conversions_cpp17 +/home/json/build/tests/test-conversions_cpp17 +/home/json/build/tests/Release/test-conversions_cpp17 +/home/json/build/tests/Release/test-conversions_cpp17 +/home/json/build/tests/Debug/test-conversions_cpp17 +/home/json/build/tests/Debug/test-conversions_cpp17 +/home/json/build/tests/MinSizeRel/test-conversions_cpp17 +/home/json/build/tests/MinSizeRel/test-conversions_cpp17 +/home/json/build/tests/RelWithDebInfo/test-conversions_cpp17 +/home/json/build/tests/RelWithDebInfo/test-conversions_cpp17 +/home/json/build/tests/Deployment/test-conversions_cpp17 +/home/json/build/tests/Deployment/test-conversions_cpp17 +/home/json/build/tests/Development/test-conversions_cpp17 +/home/json/build/tests/Development/test-conversions_cpp17 +home/json/build/tests/test-conversions_cpp17 +home/json/build/tests/test-conversions_cpp17 +home/json/build/tests/Release/test-conversions_cpp17 +home/json/build/tests/Release/test-conversions_cpp17 +home/json/build/tests/Debug/test-conversions_cpp17 +home/json/build/tests/Debug/test-conversions_cpp17 +home/json/build/tests/MinSizeRel/test-conversions_cpp17 +home/json/build/tests/MinSizeRel/test-conversions_cpp17 +home/json/build/tests/RelWithDebInfo/test-conversions_cpp17 +home/json/build/tests/RelWithDebInfo/test-conversions_cpp17 +home/json/build/tests/Deployment/test-conversions_cpp17 +home/json/build/tests/Deployment/test-conversions_cpp17 +home/json/build/tests/Development/test-conversions_cpp17 +home/json/build/tests/Development/test-conversions_cpp17 +23/81 Test #23: test-conversions_cpp17 .......................***Not Run 0.00 sec + Start 24: test-deserialization_cpp11 +Could not find executable /home/json/build/tests/test-deserialization_cpp11 +Looked in the following places: +/home/json/build/tests/test-deserialization_cpp11 +/home/json/build/tests/test-deserialization_cpp11 +/home/json/build/tests/Release/test-deserialization_cpp11 +/home/json/build/tests/Release/test-deserialization_cpp11 +/home/json/build/tests/Debug/test-deserialization_cpp11 +/home/json/build/tests/Debug/test-deserialization_cpp11 +/home/json/build/tests/MinSizeRel/test-deserialization_cpp11 +/home/json/build/tests/MinSizeRel/test-deserialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-deserialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-deserialization_cpp11 +/home/json/build/tests/Deployment/test-deserialization_cpp11 +/home/json/build/tests/Deployment/test-deserialization_cpp11 +/home/json/build/tests/Development/test-deserialization_cpp11 +/home/json/build/tests/Development/test-deserialization_cpp11 +home/json/build/tests/test-deserialization_cpp11 +home/json/build/tests/test-deserialization_cpp11 +home/json/build/tests/Release/test-deserialization_cpp11 +home/json/build/tests/Release/test-deserialization_cpp11 +home/json/build/tests/Debug/test-deserialization_cpp11 +home/json/build/tests/Debug/test-deserialization_cpp11 +Unable to find executable: /home/json/build/tests/test-deserialization_cpp11 +home/json/build/tests/MinSizeRel/test-deserialization_cpp11 +home/json/build/tests/MinSizeRel/test-deserialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-deserialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-deserialization_cpp11 +home/json/build/tests/Deployment/test-deserialization_cpp11 +home/json/build/tests/Deployment/test-deserialization_cpp11 +home/json/build/tests/Development/test-deserialization_cpp11 +home/json/build/tests/Development/test-deserialization_cpp11 +24/81 Test #24: test-deserialization_cpp11 ...................***Not Run 0.00 sec + Start 25: test-diagnostics_cpp11 +Could not find executable /home/json/build/tests/test-diagnostics_cpp11 +Looked in the following places: +/home/json/build/tests/test-diagnostics_cpp11 +/home/json/build/tests/test-diagnostics_cpp11 +/home/json/build/tests/Release/test-diagnostics_cpp11 +/home/json/build/tests/Release/test-diagnostics_cpp11 +/home/json/build/tests/Debug/test-diagnostics_cpp11 +/home/json/build/tests/Debug/test-diagnostics_cpp11 +/home/json/build/tests/MinSizeRel/test-diagnostics_cpp11 +/home/json/build/tests/MinSizeRel/test-diagnostics_cpp11 +/home/json/build/tests/RelWithDebInfo/test-diagnostics_cpp11 +/home/json/build/tests/RelWithDebInfo/test-diagnostics_cpp11 +/home/json/build/tests/Deployment/test-diagnostics_cpp11 +Unable to find executable: /home/json/build/tests/test-diagnostics_cpp11 +/home/json/build/tests/Deployment/test-diagnostics_cpp11 +/home/json/build/tests/Development/test-diagnostics_cpp11 +/home/json/build/tests/Development/test-diagnostics_cpp11 +home/json/build/tests/test-diagnostics_cpp11 +home/json/build/tests/test-diagnostics_cpp11 +home/json/build/tests/Release/test-diagnostics_cpp11 +home/json/build/tests/Release/test-diagnostics_cpp11 +home/json/build/tests/Debug/test-diagnostics_cpp11 +home/json/build/tests/Debug/test-diagnostics_cpp11 +home/json/build/tests/MinSizeRel/test-diagnostics_cpp11 +home/json/build/tests/MinSizeRel/test-diagnostics_cpp11 +home/json/build/tests/RelWithDebInfo/test-diagnostics_cpp11 +home/json/build/tests/RelWithDebInfo/test-diagnostics_cpp11 +home/json/build/tests/Deployment/test-diagnostics_cpp11 +home/json/build/tests/Deployment/test-diagnostics_cpp11 +home/json/build/tests/Development/test-diagnostics_cpp11 +home/json/build/tests/Development/test-diagnostics_cpp11 +25/81 Test #25: test-diagnostics_cpp11 .......................***Not Run 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +Could not find executable /home/json/build/tests/test-disabled_exceptions_cpp11 +Looked in the following places: +/home/json/build/tests/test-disabled_exceptions_cpp11 +/home/json/build/tests/test-disabled_exceptions_cpp11 +/home/json/build/tests/Release/test-disabled_exceptions_cpp11 +/home/json/build/tests/Release/test-disabled_exceptions_cpp11 +/home/json/build/tests/Debug/test-disabled_exceptions_cpp11 +/home/json/build/tests/Debug/test-disabled_exceptions_cpp11 +/home/json/build/tests/MinSizeRel/test-disabled_exceptions_cpp11 +/home/json/build/tests/MinSizeRel/test-disabled_exceptions_cpp11 +/home/json/build/tests/RelWithDebInfo/test-disabled_exceptions_cpp11 +/home/json/build/tests/RelWithDebInfo/test-disabled_exceptions_cpp11 +/home/json/build/tests/Deployment/test-disabled_exceptions_cpp11 +/home/json/build/tests/Deployment/test-disabled_exceptions_cpp11 +/home/json/build/tests/Development/test-disabled_exceptions_cpp11 +/home/json/build/tests/Development/test-disabled_exceptions_cpp11 +home/json/build/tests/test-disabled_exceptions_cpp11 +home/json/build/tests/test-disabled_exceptions_cpp11 +home/json/build/tests/Release/test-disabled_exceptions_cpp11 +home/json/build/tests/Release/test-disabled_exceptions_cpp11 +home/json/build/tests/Debug/test-disabled_exceptions_cpp11 +home/json/build/tests/Debug/test-disabled_exceptions_cpp11 +home/json/build/tests/MinSizeRel/test-disabled_exceptions_cpp11 +home/json/build/tests/MinSizeRel/test-disabled_exceptions_cpp11 +home/json/build/tests/RelWithDebInfo/test-disabled_exceptions_cpp11 +Unable to find executable: /home/json/build/tests/test-disabled_exceptions_cpp11 +home/json/build/tests/RelWithDebInfo/test-disabled_exceptions_cpp11 +home/json/build/tests/Deployment/test-disabled_exceptions_cpp11 +home/json/build/tests/Deployment/test-disabled_exceptions_cpp11 +home/json/build/tests/Development/test-disabled_exceptions_cpp11 +home/json/build/tests/Development/test-disabled_exceptions_cpp11 +26/81 Test #26: test-disabled_exceptions_cpp11 ...............***Not Run 0.00 sec + Start 27: test-element_access1_cpp11 +Could not find executable /home/json/build/tests/test-element_access1_cpp11 +Looked in the following places: +/home/json/build/tests/test-element_access1_cpp11 +/home/json/build/tests/test-element_access1_cpp11 +/home/json/build/tests/Release/test-element_access1_cpp11 +/home/json/build/tests/Release/test-element_access1_cpp11 +/home/json/build/tests/Debug/test-element_access1_cpp11 +/home/json/build/tests/Debug/test-element_access1_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access1_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access1_cpp11 +/home/json/build/tests/Deployment/test-element_access1_cpp11 +/home/json/build/tests/Deployment/test-element_access1_cpp11 +/home/json/build/tests/Development/test-element_access1_cpp11 +/home/json/build/tests/Development/test-element_access1_cpp11 +home/json/build/tests/test-element_access1_cpp11 +home/json/build/tests/test-element_access1_cpp11 +home/json/build/tests/Release/test-element_access1_cpp11 +home/json/build/tests/Release/test-element_access1_cpp11 +home/json/build/tests/Debug/test-element_access1_cpp11 +home/json/build/tests/Debug/test-element_access1_cpp11 +home/json/build/tests/MinSizeRel/test-element_access1_cpp11 +home/json/build/tests/MinSizeRel/test-element_access1_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access1_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access1_cpp11 +home/json/build/tests/Deployment/test-element_access1_cpp11 +home/json/build/tests/Deployment/test-element_access1_cpp11 +home/json/build/tests/Development/test-element_access1_cpp11 +home/json/build/tests/Development/test-element_access1_cpp11 +27/81 Test #27: test-element_access1_cpp11 ...................***Not Run 0.00 sec + Start 28: test-element_access2_cpp11 +Could not find executable /home/json/build/tests/test-element_access2_cpp11 +Looked in the following places: +/home/json/build/tests/test-element_access2_cpp11 +/home/json/build/tests/test-element_access2_cpp11 +/home/json/build/tests/Release/test-element_access2_cpp11 +/home/json/build/tests/Release/test-element_access2_cpp11 +/home/json/build/tests/Debug/test-element_access2_cpp11 +/home/json/build/tests/Debug/test-element_access2_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +/home/json/build/tests/Deployment/test-element_access2_cpp11 +/home/json/build/tests/Deployment/test-element_access2_cpp11 +Unable to find executable: /home/json/build/tests/test-element_access1_cpp11 +Unable to find executable: /home/json/build/tests/test-element_access2_cpp11 +/home/json/build/tests/Development/test-element_access2_cpp11 +/home/json/build/tests/Development/test-element_access2_cpp11 +home/json/build/tests/test-element_access2_cpp11 +home/json/build/tests/test-element_access2_cpp11 +home/json/build/tests/Release/test-element_access2_cpp11 +home/json/build/tests/Release/test-element_access2_cpp11 +home/json/build/tests/Debug/test-element_access2_cpp11 +home/json/build/tests/Debug/test-element_access2_cpp11 +home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +home/json/build/tests/Deployment/test-element_access2_cpp11 +home/json/build/tests/Deployment/test-element_access2_cpp11 +home/json/build/tests/Development/test-element_access2_cpp11 +Unable to find executable: /home/json/build/tests/test-element_access2_cpp17 +home/json/build/tests/Development/test-element_access2_cpp11 +28/81 Test #28: test-element_access2_cpp11 ...................***Not Run 0.00 sec + Start 29: test-element_access2_cpp17 +Could not find executable /home/json/build/tests/test-element_access2_cpp17 +Looked in the following places: +/home/json/build/tests/test-element_access2_cpp17 +/home/json/build/tests/test-element_access2_cpp17 +/home/json/build/tests/Release/test-element_access2_cpp17 +/home/json/build/tests/Release/test-element_access2_cpp17 +/home/json/build/tests/Debug/test-element_access2_cpp17 +/home/json/build/tests/Debug/test-element_access2_cpp17 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +/home/json/build/tests/Deployment/test-element_access2_cpp17 +/home/json/build/tests/Deployment/test-element_access2_cpp17 +/home/json/build/tests/Development/test-element_access2_cpp17 +/home/json/build/tests/Development/test-element_access2_cpp17 +home/json/build/tests/test-element_access2_cpp17 +home/json/build/tests/test-element_access2_cpp17 +home/json/build/tests/Release/test-element_access2_cpp17 +home/json/build/tests/Release/test-element_access2_cpp17 +home/json/build/tests/Debug/test-element_access2_cpp17 +home/json/build/tests/Debug/test-element_access2_cpp17 +home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +home/json/build/tests/Deployment/test-element_access2_cpp17 +home/json/build/tests/Deployment/test-element_access2_cpp17 +home/json/build/tests/Development/test-element_access2_cpp17 +home/json/build/tests/Development/test-element_access2_cpp17 +29/81 Test #29: test-element_access2_cpp17 ...................***Not Run 0.00 sec + Start 30: test-hash_cpp11 +Could not find executable /home/json/build/tests/test-hash_cpp11 +Looked in the following places: +/home/json/build/tests/test-hash_cpp11 +/home/json/build/tests/test-hash_cpp11 +/home/json/build/tests/Release/test-hash_cpp11 +/home/json/build/tests/Release/test-hash_cpp11 +/home/json/build/tests/Debug/test-hash_cpp11 +/home/json/build/tests/Debug/test-hash_cpp11 +/home/json/build/tests/MinSizeRel/test-hash_cpp11 +/home/json/build/tests/MinSizeRel/test-hash_cpp11 +/home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +/home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +/home/json/build/tests/Deployment/test-hash_cpp11 +/home/json/build/tests/Deployment/test-hash_cpp11 +/home/json/build/tests/Development/test-hash_cpp11 +/home/json/build/tests/Development/test-hash_cpp11 +home/json/build/tests/test-hash_cpp11 +home/json/build/tests/test-hash_cpp11 +home/json/build/tests/Release/test-hash_cpp11 +home/json/build/tests/Release/test-hash_cpp11 +home/json/build/tests/Debug/test-hash_cpp11 +home/json/build/tests/Debug/test-hash_cpp11 +home/json/build/tests/MinSizeRel/test-hash_cpp11 +home/json/build/tests/MinSizeRel/test-hash_cpp11 +home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +home/json/build/tests/Deployment/test-hash_cpp11 +home/json/build/tests/Deployment/test-hash_cpp11 +home/json/build/tests/Development/test-hash_cpp11 +Unable to find executable: /home/json/build/tests/test-hash_cpp11 +home/json/build/tests/Development/test-hash_cpp11 +30/81 Test #30: test-hash_cpp11 ..............................***Not Run 0.00 sec + Start 31: test-inspection_cpp11 +Could not find executable /home/json/build/tests/test-inspection_cpp11 +Looked in the following places: +/home/json/build/tests/test-inspection_cpp11 +/home/json/build/tests/test-inspection_cpp11 +/home/json/build/tests/Release/test-inspection_cpp11 +/home/json/build/tests/Release/test-inspection_cpp11 +/home/json/build/tests/Debug/test-inspection_cpp11 +/home/json/build/tests/Debug/test-inspection_cpp11 +/home/json/build/tests/MinSizeRel/test-inspection_cpp11 +/home/json/build/tests/MinSizeRel/test-inspection_cpp11 +/home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +/home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +/home/json/build/tests/Deployment/test-inspection_cpp11 +/home/json/build/tests/Deployment/test-inspection_cpp11 +/home/json/build/tests/Development/test-inspection_cpp11 +/home/json/build/tests/Development/test-inspection_cpp11 +home/json/build/tests/test-inspection_cpp11 +home/json/build/tests/test-inspection_cpp11 +home/json/build/tests/Release/test-inspection_cpp11 +home/json/build/tests/Release/test-inspection_cpp11 +home/json/build/tests/Debug/test-inspection_cpp11 +home/json/build/tests/Debug/test-inspection_cpp11 +home/json/build/tests/MinSizeRel/test-inspection_cpp11 +home/json/build/tests/MinSizeRel/test-inspection_cpp11 +Unable to find executable: /home/json/build/tests/test-inspection_cpp11 +home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +home/json/build/tests/Deployment/test-inspection_cpp11 +home/json/build/tests/Deployment/test-inspection_cpp11 +home/json/build/tests/Development/test-inspection_cpp11 +home/json/build/tests/Development/test-inspection_cpp11 +31/81 Test #31: test-inspection_cpp11 ........................***Not Run 0.00 sec + Start 32: test-items_cpp11 +Could not find executable /home/json/build/tests/test-items_cpp11 +Looked in the following places: +/home/json/build/tests/test-items_cpp11 +/home/json/build/tests/test-items_cpp11 +/home/json/build/tests/Release/test-items_cpp11 +/home/json/build/tests/Release/test-items_cpp11 +/home/json/build/tests/Debug/test-items_cpp11 +/home/json/build/tests/Debug/test-items_cpp11 +/home/json/build/tests/MinSizeRel/test-items_cpp11 +/home/json/build/tests/MinSizeRel/test-items_cpp11 +/home/json/build/tests/RelWithDebInfo/test-items_cpp11 +/home/json/build/tests/RelWithDebInfo/test-items_cpp11 +/home/json/build/tests/Deployment/test-items_cpp11 +/home/json/build/tests/Deployment/test-items_cpp11 +/home/json/build/tests/Development/test-items_cpp11 +/home/json/build/tests/Development/test-items_cpp11 +home/json/build/tests/test-items_cpp11 +home/json/build/tests/test-items_cpp11 +home/json/build/tests/Release/test-items_cpp11 +home/json/build/tests/Release/test-items_cpp11 +Unable to find executable: /home/json/build/tests/test-items_cpp11 +home/json/build/tests/Debug/test-items_cpp11 +home/json/build/tests/Debug/test-items_cpp11 +home/json/build/tests/MinSizeRel/test-items_cpp11 +home/json/build/tests/MinSizeRel/test-items_cpp11 +home/json/build/tests/RelWithDebInfo/test-items_cpp11 +home/json/build/tests/RelWithDebInfo/test-items_cpp11 +home/json/build/tests/Deployment/test-items_cpp11 +home/json/build/tests/Deployment/test-items_cpp11 +home/json/build/tests/Development/test-items_cpp11 +home/json/build/tests/Development/test-items_cpp11 +32/81 Test #32: test-items_cpp11 .............................***Not Run 0.00 sec + Start 33: test-items_cpp17 +Could not find executable /home/json/build/tests/test-items_cpp17 +Looked in the following places: +/home/json/build/tests/test-items_cpp17 +/home/json/build/tests/test-items_cpp17 +/home/json/build/tests/Release/test-items_cpp17 +/home/json/build/tests/Release/test-items_cpp17 +/home/json/build/tests/Debug/test-items_cpp17 +Unable to find executable: /home/json/build/tests/test-items_cpp17 +/home/json/build/tests/Debug/test-items_cpp17 +/home/json/build/tests/MinSizeRel/test-items_cpp17 +/home/json/build/tests/MinSizeRel/test-items_cpp17 +/home/json/build/tests/RelWithDebInfo/test-items_cpp17 +/home/json/build/tests/RelWithDebInfo/test-items_cpp17 +/home/json/build/tests/Deployment/test-items_cpp17 +/home/json/build/tests/Deployment/test-items_cpp17 +/home/json/build/tests/Development/test-items_cpp17 +/home/json/build/tests/Development/test-items_cpp17 +home/json/build/tests/test-items_cpp17 +home/json/build/tests/test-items_cpp17 +home/json/build/tests/Release/test-items_cpp17 +home/json/build/tests/Release/test-items_cpp17 +home/json/build/tests/Debug/test-items_cpp17 +home/json/build/tests/Debug/test-items_cpp17 +home/json/build/tests/MinSizeRel/test-items_cpp17 +home/json/build/tests/MinSizeRel/test-items_cpp17 +home/json/build/tests/RelWithDebInfo/test-items_cpp17 +home/json/build/tests/RelWithDebInfo/test-items_cpp17 +home/json/build/tests/Deployment/test-items_cpp17 +home/json/build/tests/Deployment/test-items_cpp17 +home/json/build/tests/Development/test-items_cpp17 +home/json/build/tests/Development/test-items_cpp17 +33/81 Test #33: test-items_cpp17 .............................***Not Run 0.00 sec + Start 34: test-iterators1_cpp11 +Could not find executable /home/json/build/tests/test-iterators1_cpp11 +Looked in the following places: +/home/json/build/tests/test-iterators1_cpp11 +/home/json/build/tests/test-iterators1_cpp11 +/home/json/build/tests/Release/test-iterators1_cpp11 +/home/json/build/tests/Release/test-iterators1_cpp11 +/home/json/build/tests/Debug/test-iterators1_cpp11 +/home/json/build/tests/Debug/test-iterators1_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +/home/json/build/tests/Deployment/test-iterators1_cpp11 +/home/json/build/tests/Deployment/test-iterators1_cpp11 +/home/json/build/tests/Development/test-iterators1_cpp11 +/home/json/build/tests/Development/test-iterators1_cpp11 +home/json/build/tests/test-iterators1_cpp11 +home/json/build/tests/test-iterators1_cpp11 +home/json/build/tests/Release/test-iterators1_cpp11 +home/json/build/tests/Release/test-iterators1_cpp11 +home/json/build/tests/Debug/test-iterators1_cpp11 +home/json/build/tests/Debug/test-iterators1_cpp11 +home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +Unable to find executable: /home/json/build/tests/test-iterators1_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +home/json/build/tests/Deployment/test-iterators1_cpp11 +home/json/build/tests/Deployment/test-iterators1_cpp11 +home/json/build/tests/Development/test-iterators1_cpp11 +home/json/build/tests/Development/test-iterators1_cpp11 +34/81 Test #34: test-iterators1_cpp11 ........................***Not Run 0.00 sec + Start 35: test-iterators2_cpp11 +Could not find executable /home/json/build/tests/test-iterators2_cpp11 +Looked in the following places: +/home/json/build/tests/test-iterators2_cpp11 +/home/json/build/tests/test-iterators2_cpp11 +/home/json/build/tests/Release/test-iterators2_cpp11 +/home/json/build/tests/Release/test-iterators2_cpp11 +/home/json/build/tests/Debug/test-iterators2_cpp11 +/home/json/build/tests/Debug/test-iterators2_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +Unable to find executable: /home/json/build/tests/test-iterators2_cpp11 +/home/json/build/tests/Deployment/test-iterators2_cpp11 +/home/json/build/tests/Deployment/test-iterators2_cpp11 +/home/json/build/tests/Development/test-iterators2_cpp11 +/home/json/build/tests/Development/test-iterators2_cpp11 +home/json/build/tests/test-iterators2_cpp11 +home/json/build/tests/test-iterators2_cpp11 +home/json/build/tests/Release/test-iterators2_cpp11 +home/json/build/tests/Release/test-iterators2_cpp11 +home/json/build/tests/Debug/test-iterators2_cpp11 +home/json/build/tests/Debug/test-iterators2_cpp11 +home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +home/json/build/tests/Deployment/test-iterators2_cpp11 +home/json/build/tests/Deployment/test-iterators2_cpp11 +home/json/build/tests/Development/test-iterators2_cpp11 +home/json/build/tests/Development/test-iterators2_cpp11 +35/81 Test #35: test-iterators2_cpp11 ........................***Not Run 0.00 sec + Start 36: test-iterators2_cpp20 +Could not find executable /home/json/build/tests/test-iterators2_cpp20 +Looked in the following places: +/home/json/build/tests/test-iterators2_cpp20 +/home/json/build/tests/test-iterators2_cpp20 +/home/json/build/tests/Release/test-iterators2_cpp20 +/home/json/build/tests/Release/test-iterators2_cpp20 +/home/json/build/tests/Debug/test-iterators2_cpp20 +/home/json/build/tests/Debug/test-iterators2_cpp20 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +/home/json/build/tests/Deployment/test-iterators2_cpp20 +/home/json/build/tests/Deployment/test-iterators2_cpp20 +/home/json/build/tests/Development/test-iterators2_cpp20 +/home/json/build/tests/Development/test-iterators2_cpp20 +home/json/build/tests/test-iterators2_cpp20 +home/json/build/tests/test-iterators2_cpp20 +home/json/build/tests/Release/test-iterators2_cpp20 +home/json/build/tests/Release/test-iterators2_cpp20 +home/json/build/tests/Debug/test-iterators2_cpp20 +home/json/build/tests/Debug/test-iterators2_cpp20 +home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +home/json/build/tests/Deployment/test-iterators2_cpp20 +home/json/build/tests/Deployment/test-iterators2_cpp20 +Unable to find executable: /home/json/build/tests/test-iterators2_cpp20 +home/json/build/tests/Development/test-iterators2_cpp20 +home/json/build/tests/Development/test-iterators2_cpp20 +36/81 Test #36: test-iterators2_cpp20 ........................***Not Run 0.00 sec + Start 37: test-json_patch_cpp11 +Could not find executable /home/json/build/tests/test-json_patch_cpp11 +Looked in the following places: +/home/json/build/tests/test-json_patch_cpp11 +/home/json/build/tests/test-json_patch_cpp11 +/home/json/build/tests/Release/test-json_patch_cpp11 +/home/json/build/tests/Release/test-json_patch_cpp11 +/home/json/build/tests/Debug/test-json_patch_cpp11 +/home/json/build/tests/Debug/test-json_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +/home/json/build/tests/Deployment/test-json_patch_cpp11 +/home/json/build/tests/Deployment/test-json_patch_cpp11 +/home/json/build/tests/Development/test-json_patch_cpp11 +/home/json/build/tests/Development/test-json_patch_cpp11 +home/json/build/tests/test-json_patch_cpp11 +home/json/build/tests/test-json_patch_cpp11 +Unable to find executable: /home/json/build/tests/test-json_patch_cpp11 +home/json/build/tests/Release/test-json_patch_cpp11 +home/json/build/tests/Release/test-json_patch_cpp11 +home/json/build/tests/Debug/test-json_patch_cpp11 +home/json/build/tests/Debug/test-json_patch_cpp11 +home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +home/json/build/tests/Deployment/test-json_patch_cpp11 +home/json/build/tests/Deployment/test-json_patch_cpp11 +home/json/build/tests/Development/test-json_patch_cpp11 +home/json/build/tests/Development/test-json_patch_cpp11 +37/81 Test #37: test-json_patch_cpp11 ........................***Not Run 0.00 sec + Start 38: test-json_pointer_cpp11 +Could not find executable /home/json/build/tests/test-json_pointer_cpp11 +Looked in the following places: +/home/json/build/tests/test-json_pointer_cpp11 +/home/json/build/tests/test-json_pointer_cpp11 +/home/json/build/tests/Release/test-json_pointer_cpp11 +/home/json/build/tests/Release/test-json_pointer_cpp11 +/home/json/build/tests/Debug/test-json_pointer_cpp11 +/home/json/build/tests/Debug/test-json_pointer_cpp11 +/home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +/home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +/home/json/build/tests/Deployment/test-json_pointer_cpp11 +/home/json/build/tests/Deployment/test-json_pointer_cpp11 +/home/json/build/tests/Development/test-json_pointer_cpp11 +Unable to find executable: /home/json/build/tests/test-json_pointer_cpp11 +/home/json/build/tests/Development/test-json_pointer_cpp11 +home/json/build/tests/test-json_pointer_cpp11 +home/json/build/tests/test-json_pointer_cpp11 +home/json/build/tests/Release/test-json_pointer_cpp11 +home/json/build/tests/Release/test-json_pointer_cpp11 +home/json/build/tests/Debug/test-json_pointer_cpp11 +home/json/build/tests/Debug/test-json_pointer_cpp11 +home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +home/json/build/tests/Deployment/test-json_pointer_cpp11 +home/json/build/tests/Deployment/test-json_pointer_cpp11 +home/json/build/tests/Development/test-json_pointer_cpp11 +home/json/build/tests/Development/test-json_pointer_cpp11 +38/81 Test #38: test-json_pointer_cpp11 ......................***Not Run 0.00 sec + Start 39: test-large_json_cpp11 +Could not find executable /home/json/build/tests/test-large_json_cpp11 +Looked in the following places: +/home/json/build/tests/test-large_json_cpp11 +/home/json/build/tests/test-large_json_cpp11 +/home/json/build/tests/Release/test-large_json_cpp11 +/home/json/build/tests/Release/test-large_json_cpp11 +/home/json/build/tests/Debug/test-large_json_cpp11 +/home/json/build/tests/Debug/test-large_json_cpp11 +/home/json/build/tests/MinSizeRel/test-large_json_cpp11 +/home/json/build/tests/MinSizeRel/test-large_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +/home/json/build/tests/Deployment/test-large_json_cpp11 +Unable to find executable: /home/json/build/tests/test-large_json_cpp11 +/home/json/build/tests/Deployment/test-large_json_cpp11 +/home/json/build/tests/Development/test-large_json_cpp11 +/home/json/build/tests/Development/test-large_json_cpp11 +home/json/build/tests/test-large_json_cpp11 +home/json/build/tests/test-large_json_cpp11 +home/json/build/tests/Release/test-large_json_cpp11 +home/json/build/tests/Release/test-large_json_cpp11 +home/json/build/tests/Debug/test-large_json_cpp11 +home/json/build/tests/Debug/test-large_json_cpp11 +home/json/build/tests/MinSizeRel/test-large_json_cpp11 +home/json/build/tests/MinSizeRel/test-large_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +home/json/build/tests/Deployment/test-large_json_cpp11 +home/json/build/tests/Deployment/test-large_json_cpp11 +home/json/build/tests/Development/test-large_json_cpp11 +home/json/build/tests/Development/test-large_json_cpp11 +39/81 Test #39: test-large_json_cpp11 ........................***Not Run 0.00 sec + Start 40: test-merge_patch_cpp11 +Could not find executable /home/json/build/tests/test-merge_patch_cpp11 +Looked in the following places: +/home/json/build/tests/test-merge_patch_cpp11 +/home/json/build/tests/test-merge_patch_cpp11 +/home/json/build/tests/Release/test-merge_patch_cpp11 +/home/json/build/tests/Release/test-merge_patch_cpp11 +/home/json/build/tests/Debug/test-merge_patch_cpp11 +/home/json/build/tests/Debug/test-merge_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +Unable to find executable: /home/json/build/tests/test-merge_patch_cpp11 +/home/json/build/tests/Deployment/test-merge_patch_cpp11 +/home/json/build/tests/Deployment/test-merge_patch_cpp11 +/home/json/build/tests/Development/test-merge_patch_cpp11 +/home/json/build/tests/Development/test-merge_patch_cpp11 +home/json/build/tests/test-merge_patch_cpp11 +home/json/build/tests/test-merge_patch_cpp11 +home/json/build/tests/Release/test-merge_patch_cpp11 +home/json/build/tests/Release/test-merge_patch_cpp11 +home/json/build/tests/Debug/test-merge_patch_cpp11 +home/json/build/tests/Debug/test-merge_patch_cpp11 +home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +home/json/build/tests/Deployment/test-merge_patch_cpp11 +home/json/build/tests/Deployment/test-merge_patch_cpp11 +home/json/build/tests/Development/test-merge_patch_cpp11 +home/json/build/tests/Development/test-merge_patch_cpp11 +40/81 Test #40: test-merge_patch_cpp11 .......................***Not Run 0.00 sec + Start 41: test-meta_cpp11 +Could not find executable /home/json/build/tests/test-meta_cpp11 +Looked in the following places: +/home/json/build/tests/test-meta_cpp11 +/home/json/build/tests/test-meta_cpp11 +/home/json/build/tests/Release/test-meta_cpp11 +/home/json/build/tests/Release/test-meta_cpp11 +/home/json/build/tests/Debug/test-meta_cpp11 +/home/json/build/tests/Debug/test-meta_cpp11 +/home/json/build/tests/MinSizeRel/test-meta_cpp11 +/home/json/build/tests/MinSizeRel/test-meta_cpp11 +/home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +/home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +/home/json/build/tests/Deployment/test-meta_cpp11 +/home/json/build/tests/Deployment/test-meta_cpp11 +/home/json/build/tests/Development/test-meta_cpp11 +/home/json/build/tests/Development/test-meta_cpp11 +home/json/build/tests/test-meta_cpp11 +Unable to find executable: /home/json/build/tests/test-meta_cpp11 +home/json/build/tests/test-meta_cpp11 +home/json/build/tests/Release/test-meta_cpp11 +home/json/build/tests/Release/test-meta_cpp11 +home/json/build/tests/Debug/test-meta_cpp11 +home/json/build/tests/Debug/test-meta_cpp11 +home/json/build/tests/MinSizeRel/test-meta_cpp11 +home/json/build/tests/MinSizeRel/test-meta_cpp11 +home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +home/json/build/tests/Deployment/test-meta_cpp11 +home/json/build/tests/Deployment/test-meta_cpp11 +home/json/build/tests/Development/test-meta_cpp11 +home/json/build/tests/Development/test-meta_cpp11 +41/81 Test #41: test-meta_cpp11 ..............................***Not Run 0.00 sec + Start 42: test-modifiers_cpp11 +Could not find executable /home/json/build/tests/test-modifiers_cpp11 +Looked in the following places: +/home/json/build/tests/test-modifiers_cpp11 +/home/json/build/tests/test-modifiers_cpp11 +/home/json/build/tests/Release/test-modifiers_cpp11 +/home/json/build/tests/Release/test-modifiers_cpp11 +/home/json/build/tests/Debug/test-modifiers_cpp11 +/home/json/build/tests/Debug/test-modifiers_cpp11 +/home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +Unable to find executable: /home/json/build/tests/test-modifiers_cpp11 +/home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +/home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +/home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +/home/json/build/tests/Deployment/test-modifiers_cpp11 +/home/json/build/tests/Deployment/test-modifiers_cpp11 +/home/json/build/tests/Development/test-modifiers_cpp11 +/home/json/build/tests/Development/test-modifiers_cpp11 +home/json/build/tests/test-modifiers_cpp11 +home/json/build/tests/test-modifiers_cpp11 +home/json/build/tests/Release/test-modifiers_cpp11 +home/json/build/tests/Release/test-modifiers_cpp11 +home/json/build/tests/Debug/test-modifiers_cpp11 +home/json/build/tests/Debug/test-modifiers_cpp11 +home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +home/json/build/tests/Deployment/test-modifiers_cpp11 +home/json/build/tests/Deployment/test-modifiers_cpp11 +home/json/build/tests/Development/test-modifiers_cpp11 +home/json/build/tests/Development/test-modifiers_cpp11 +42/81 Test #42: test-modifiers_cpp11 .........................***Not Run 0.00 sec + Start 43: test-msgpack_cpp11 +Could not find executable /home/json/build/tests/test-msgpack_cpp11 +Looked in the following places: +/home/json/build/tests/test-msgpack_cpp11 +/home/json/build/tests/test-msgpack_cpp11 +/home/json/build/tests/Release/test-msgpack_cpp11 +/home/json/build/tests/Release/test-msgpack_cpp11 +/home/json/build/tests/Debug/test-msgpack_cpp11 +/home/json/build/tests/Debug/test-msgpack_cpp11 +/home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +Unable to find executable: /home/json/build/tests/test-msgpack_cpp11 +/home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +/home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +/home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +/home/json/build/tests/Deployment/test-msgpack_cpp11 +/home/json/build/tests/Deployment/test-msgpack_cpp11 +/home/json/build/tests/Development/test-msgpack_cpp11 +/home/json/build/tests/Development/test-msgpack_cpp11 +home/json/build/tests/test-msgpack_cpp11 +home/json/build/tests/test-msgpack_cpp11 +home/json/build/tests/Release/test-msgpack_cpp11 +home/json/build/tests/Release/test-msgpack_cpp11 +home/json/build/tests/Debug/test-msgpack_cpp11 +home/json/build/tests/Debug/test-msgpack_cpp11 +home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +home/json/build/tests/Deployment/test-msgpack_cpp11 +home/json/build/tests/Deployment/test-msgpack_cpp11 +home/json/build/tests/Development/test-msgpack_cpp11 +home/json/build/tests/Development/test-msgpack_cpp11 +43/81 Test #43: test-msgpack_cpp11 ...........................***Not Run 0.00 sec + Start 44: test-noexcept_cpp11 +Could not find executable /home/json/build/tests/test-noexcept_cpp11 +Looked in the following places: +/home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/Release/test-noexcept_cpp11 +/home/json/build/tests/Release/test-noexcept_cpp11 +/home/json/build/tests/Debug/test-noexcept_cpp11 +/home/json/build/tests/Debug/test-noexcept_cpp11 +Unable to find executable: /home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +/home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +/home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +/home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +/home/json/build/tests/Deployment/test-noexcept_cpp11 +/home/json/build/tests/Deployment/test-noexcept_cpp11 +/home/json/build/tests/Development/test-noexcept_cpp11 +/home/json/build/tests/Development/test-noexcept_cpp11 +home/json/build/tests/test-noexcept_cpp11 +home/json/build/tests/test-noexcept_cpp11 +home/json/build/tests/Release/test-noexcept_cpp11 +home/json/build/tests/Release/test-noexcept_cpp11 +home/json/build/tests/Debug/test-noexcept_cpp11 +home/json/build/tests/Debug/test-noexcept_cpp11 +home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +home/json/build/tests/Deployment/test-noexcept_cpp11 +home/json/build/tests/Deployment/test-noexcept_cpp11 +home/json/build/tests/Development/test-noexcept_cpp11 +home/json/build/tests/Development/test-noexcept_cpp11 +44/81 Test #44: test-noexcept_cpp11 ..........................***Not Run 0.00 sec + Start 45: test-ordered_json_cpp11 +Could not find executable /home/json/build/tests/test-ordered_json_cpp11 +Looked in the following places: +/home/json/build/tests/test-ordered_json_cpp11 +/home/json/build/tests/test-ordered_json_cpp11 +/home/json/build/tests/Release/test-ordered_json_cpp11 +/home/json/build/tests/Release/test-ordered_json_cpp11 +/home/json/build/tests/Debug/test-ordered_json_cpp11 +/home/json/build/tests/Debug/test-ordered_json_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +Unable to find executable: /home/json/build/tests/test-ordered_json_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +/home/json/build/tests/Deployment/test-ordered_json_cpp11 +/home/json/build/tests/Deployment/test-ordered_json_cpp11 +/home/json/build/tests/Development/test-ordered_json_cpp11 +/home/json/build/tests/Development/test-ordered_json_cpp11 +home/json/build/tests/test-ordered_json_cpp11 +home/json/build/tests/test-ordered_json_cpp11 +home/json/build/tests/Release/test-ordered_json_cpp11 +home/json/build/tests/Release/test-ordered_json_cpp11 +home/json/build/tests/Debug/test-ordered_json_cpp11 +home/json/build/tests/Debug/test-ordered_json_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +home/json/build/tests/Deployment/test-ordered_json_cpp11 +home/json/build/tests/Deployment/test-ordered_json_cpp11 +home/json/build/tests/Development/test-ordered_json_cpp11 +home/json/build/tests/Development/test-ordered_json_cpp11 +45/81 Test #45: test-ordered_json_cpp11 ......................***Not Run 0.00 sec + Start 46: test-ordered_map_cpp11 +Could not find executable /home/json/build/tests/test-ordered_map_cpp11 +Looked in the following places: +/home/json/build/tests/test-ordered_map_cpp11 +/home/json/build/tests/test-ordered_map_cpp11 +/home/json/build/tests/Release/test-ordered_map_cpp11 +/home/json/build/tests/Release/test-ordered_map_cpp11 +/home/json/build/tests/Debug/test-ordered_map_cpp11 +/home/json/build/tests/Debug/test-ordered_map_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +/home/json/build/tests/Deployment/test-ordered_map_cpp11 +Unable to find executable: /home/json/build/tests/test-ordered_map_cpp11 +/home/json/build/tests/Deployment/test-ordered_map_cpp11 +/home/json/build/tests/Development/test-ordered_map_cpp11 +/home/json/build/tests/Development/test-ordered_map_cpp11 +home/json/build/tests/test-ordered_map_cpp11 +home/json/build/tests/test-ordered_map_cpp11 +home/json/build/tests/Release/test-ordered_map_cpp11 +home/json/build/tests/Release/test-ordered_map_cpp11 +home/json/build/tests/Debug/test-ordered_map_cpp11 +home/json/build/tests/Debug/test-ordered_map_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +home/json/build/tests/Deployment/test-ordered_map_cpp11 +home/json/build/tests/Deployment/test-ordered_map_cpp11 +home/json/build/tests/Development/test-ordered_map_cpp11 +home/json/build/tests/Development/test-ordered_map_cpp11 +46/81 Test #46: test-ordered_map_cpp11 .......................***Not Run 0.00 sec + Start 47: test-pointer_access_cpp11 +Could not find executable /home/json/build/tests/test-pointer_access_cpp11 +Looked in the following places: +/home/json/build/tests/test-pointer_access_cpp11 +/home/json/build/tests/test-pointer_access_cpp11 +/home/json/build/tests/Release/test-pointer_access_cpp11 +/home/json/build/tests/Release/test-pointer_access_cpp11 +/home/json/build/tests/Debug/test-pointer_access_cpp11 +/home/json/build/tests/Debug/test-pointer_access_cpp11 +/home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +/home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +/home/json/build/tests/Deployment/test-pointer_access_cpp11 +/home/json/build/tests/Deployment/test-pointer_access_cpp11 +/home/json/build/tests/Development/test-pointer_access_cpp11 +/home/json/build/tests/Development/test-pointer_access_cpp11 +home/json/build/tests/test-pointer_access_cpp11 +home/json/build/tests/test-pointer_access_cpp11 +home/json/build/tests/Release/test-pointer_access_cpp11 +home/json/build/tests/Release/test-pointer_access_cpp11 +home/json/build/tests/Debug/test-pointer_access_cpp11 +home/json/build/tests/Debug/test-pointer_access_cpp11 +Unable to find executable: /home/json/build/tests/test-pointer_access_cpp11 +home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +home/json/build/tests/Deployment/test-pointer_access_cpp11 +home/json/build/tests/Deployment/test-pointer_access_cpp11 +home/json/build/tests/Development/test-pointer_access_cpp11 +home/json/build/tests/Development/test-pointer_access_cpp11 +47/81 Test #47: test-pointer_access_cpp11 ....................***Not Run 0.00 sec + Start 48: test-readme_cpp11 +Could not find executable /home/json/build/tests/test-readme_cpp11 +Looked in the following places: +/home/json/build/tests/test-readme_cpp11 +/home/json/build/tests/test-readme_cpp11 +/home/json/build/tests/Release/test-readme_cpp11 +/home/json/build/tests/Release/test-readme_cpp11 +/home/json/build/tests/Debug/test-readme_cpp11 +/home/json/build/tests/Debug/test-readme_cpp11 +Unable to find executable: /home/json/build/tests/test-readme_cpp11 +/home/json/build/tests/MinSizeRel/test-readme_cpp11 +/home/json/build/tests/MinSizeRel/test-readme_cpp11 +/home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +/home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +/home/json/build/tests/Deployment/test-readme_cpp11 +/home/json/build/tests/Deployment/test-readme_cpp11 +/home/json/build/tests/Development/test-readme_cpp11 +/home/json/build/tests/Development/test-readme_cpp11 +home/json/build/tests/test-readme_cpp11 +home/json/build/tests/test-readme_cpp11 +home/json/build/tests/Release/test-readme_cpp11 +home/json/build/tests/Release/test-readme_cpp11 +home/json/build/tests/Debug/test-readme_cpp11 +home/json/build/tests/Debug/test-readme_cpp11 +home/json/build/tests/MinSizeRel/test-readme_cpp11 +home/json/build/tests/MinSizeRel/test-readme_cpp11 +home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +home/json/build/tests/Deployment/test-readme_cpp11 +home/json/build/tests/Deployment/test-readme_cpp11 +home/json/build/tests/Development/test-readme_cpp11 +home/json/build/tests/Development/test-readme_cpp11 +48/81 Test #48: test-readme_cpp11 ............................***Not Run 0.00 sec + Start 49: test-reference_access_cpp11 +Unable to find executable: /home/json/build/tests/test-reference_access_cpp11 +Could not find executable /home/json/build/tests/test-reference_access_cpp11 +Looked in the following places: +/home/json/build/tests/test-reference_access_cpp11 +/home/json/build/tests/test-reference_access_cpp11 +/home/json/build/tests/Release/test-reference_access_cpp11 +/home/json/build/tests/Release/test-reference_access_cpp11 +/home/json/build/tests/Debug/test-reference_access_cpp11 +/home/json/build/tests/Debug/test-reference_access_cpp11 +/home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +/home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +/home/json/build/tests/Deployment/test-reference_access_cpp11 +/home/json/build/tests/Deployment/test-reference_access_cpp11 +/home/json/build/tests/Development/test-reference_access_cpp11 +/home/json/build/tests/Development/test-reference_access_cpp11 +home/json/build/tests/test-reference_access_cpp11 +home/json/build/tests/test-reference_access_cpp11 +home/json/build/tests/Release/test-reference_access_cpp11 +home/json/build/tests/Release/test-reference_access_cpp11 +home/json/build/tests/Debug/test-reference_access_cpp11 +home/json/build/tests/Debug/test-reference_access_cpp11 +home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +home/json/build/tests/Deployment/test-reference_access_cpp11 +home/json/build/tests/Deployment/test-reference_access_cpp11 +home/json/build/tests/Development/test-reference_access_cpp11 +home/json/build/tests/Development/test-reference_access_cpp11 +49/81 Test #49: test-reference_access_cpp11 ..................***Not Run 0.00 sec + Start 50: test-regression1_cpp11 +Could not find executable /home/json/build/tests/test-regression1_cpp11 +Looked in the following places: +/home/json/build/tests/test-regression1_cpp11 +/home/json/build/tests/test-regression1_cpp11 +/home/json/build/tests/Release/test-regression1_cpp11 +/home/json/build/tests/Release/test-regression1_cpp11 +/home/json/build/tests/Debug/test-regression1_cpp11 +/home/json/build/tests/Debug/test-regression1_cpp11 +Unable to find executable: /home/json/build/tests/test-regression1_cpp11 +/home/json/build/tests/MinSizeRel/test-regression1_cpp11 +/home/json/build/tests/MinSizeRel/test-regression1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +/home/json/build/tests/Deployment/test-regression1_cpp11 +/home/json/build/tests/Deployment/test-regression1_cpp11 +/home/json/build/tests/Development/test-regression1_cpp11 +/home/json/build/tests/Development/test-regression1_cpp11 +home/json/build/tests/test-regression1_cpp11 +home/json/build/tests/test-regression1_cpp11 +home/json/build/tests/Release/test-regression1_cpp11 +home/json/build/tests/Release/test-regression1_cpp11 +home/json/build/tests/Debug/test-regression1_cpp11 +home/json/build/tests/Debug/test-regression1_cpp11 +home/json/build/tests/MinSizeRel/test-regression1_cpp11 +home/json/build/tests/MinSizeRel/test-regression1_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +home/json/build/tests/Deployment/test-regression1_cpp11 +home/json/build/tests/Deployment/test-regression1_cpp11 +home/json/build/tests/Development/test-regression1_cpp11 +home/json/build/tests/Development/test-regression1_cpp11 +50/81 Test #50: test-regression1_cpp11 .......................***Not Run 0.00 sec + Start 51: test-regression1_cpp17 +Could not find executable /home/json/build/tests/test-regression1_cpp17 +Looked in the following places: +/home/json/build/tests/test-regression1_cpp17 +/home/json/build/tests/test-regression1_cpp17 +/home/json/build/tests/Release/test-regression1_cpp17 +/home/json/build/tests/Release/test-regression1_cpp17 +/home/json/build/tests/Debug/test-regression1_cpp17 +/home/json/build/tests/Debug/test-regression1_cpp17 +/home/json/build/tests/MinSizeRel/test-regression1_cpp17 +/home/json/build/tests/MinSizeRel/test-regression1_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +/home/json/build/tests/Deployment/test-regression1_cpp17 +/home/json/build/tests/Deployment/test-regression1_cpp17 +/home/json/build/tests/Development/test-regression1_cpp17 +/home/json/build/tests/Development/test-regression1_cpp17 +home/json/build/tests/test-regression1_cpp17 +home/json/build/tests/test-regression1_cpp17 +home/json/build/tests/Release/test-regression1_cpp17 +home/json/build/tests/Release/test-regression1_cpp17 +Unable to find executable: /home/json/build/tests/test-regression1_cpp17 +home/json/build/tests/Debug/test-regression1_cpp17 +home/json/build/tests/Debug/test-regression1_cpp17 +home/json/build/tests/MinSizeRel/test-regression1_cpp17 +home/json/build/tests/MinSizeRel/test-regression1_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +home/json/build/tests/Deployment/test-regression1_cpp17 +home/json/build/tests/Deployment/test-regression1_cpp17 +home/json/build/tests/Development/test-regression1_cpp17 +home/json/build/tests/Development/test-regression1_cpp17 +51/81 Test #51: test-regression1_cpp17 .......................***Not Run 0.00 sec + Start 52: test-regression2_cpp11 +Could not find executable /home/json/build/tests/test-regression2_cpp11 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp11 +/home/json/build/tests/test-regression2_cpp11 +/home/json/build/tests/Release/test-regression2_cpp11 +/home/json/build/tests/Release/test-regression2_cpp11 +/home/json/build/tests/Debug/test-regression2_cpp11 +/home/json/build/tests/Debug/test-regression2_cpp11 +/home/json/build/tests/MinSizeRel/test-regression2_cpp11 +/home/json/build/tests/MinSizeRel/test-regression2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +/home/json/build/tests/Deployment/test-regression2_cpp11 +/home/json/build/tests/Deployment/test-regression2_cpp11 +/home/json/build/tests/Development/test-regression2_cpp11 +/home/json/build/tests/Development/test-regression2_cpp11 +home/json/build/tests/test-regression2_cpp11 +home/json/build/tests/test-regression2_cpp11 +home/json/build/tests/Release/test-regression2_cpp11 +home/json/build/tests/Release/test-regression2_cpp11 +home/json/build/tests/Debug/test-regression2_cpp11 +home/json/build/tests/Debug/test-regression2_cpp11 +home/json/build/tests/MinSizeRel/test-regression2_cpp11 +Unable to find executable: /home/json/build/tests/test-regression2_cpp11 +home/json/build/tests/MinSizeRel/test-regression2_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +home/json/build/tests/Deployment/test-regression2_cpp11 +home/json/build/tests/Deployment/test-regression2_cpp11 +home/json/build/tests/Development/test-regression2_cpp11 +home/json/build/tests/Development/test-regression2_cpp11 +52/81 Test #52: test-regression2_cpp11 .......................***Not Run 0.00 sec + Start 53: test-regression2_cpp17 +Could not find executable /home/json/build/tests/test-regression2_cpp17 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp17 +/home/json/build/tests/test-regression2_cpp17 +/home/json/build/tests/Release/test-regression2_cpp17 +/home/json/build/tests/Release/test-regression2_cpp17 +/home/json/build/tests/Debug/test-regression2_cpp17 +/home/json/build/tests/Debug/test-regression2_cpp17 +/home/json/build/tests/MinSizeRel/test-regression2_cpp17 +/home/json/build/tests/MinSizeRel/test-regression2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +/home/json/build/tests/Deployment/test-regression2_cpp17 +/home/json/build/tests/Deployment/test-regression2_cpp17 +/home/json/build/tests/Development/test-regression2_cpp17 +/home/json/build/tests/Development/test-regression2_cpp17 +home/json/build/tests/test-regression2_cpp17 +home/json/build/tests/test-regression2_cpp17 +home/json/build/tests/Release/test-regression2_cpp17 +home/json/build/tests/Release/test-regression2_cpp17 +home/json/build/tests/Debug/test-regression2_cpp17 +home/json/build/tests/Debug/test-regression2_cpp17 +Unable to find executable: /home/json/build/tests/test-regression2_cpp17 +home/json/build/tests/MinSizeRel/test-regression2_cpp17 +home/json/build/tests/MinSizeRel/test-regression2_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +home/json/build/tests/Deployment/test-regression2_cpp17 +home/json/build/tests/Deployment/test-regression2_cpp17 +home/json/build/tests/Development/test-regression2_cpp17 +home/json/build/tests/Development/test-regression2_cpp17 +53/81 Test #53: test-regression2_cpp17 .......................***Not Run 0.00 sec + Start 54: test-regression2_cpp20 +Could not find executable /home/json/build/tests/test-regression2_cpp20 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp20 +/home/json/build/tests/test-regression2_cpp20 +/home/json/build/tests/Release/test-regression2_cpp20 +/home/json/build/tests/Release/test-regression2_cpp20 +/home/json/build/tests/Debug/test-regression2_cpp20 +/home/json/build/tests/Debug/test-regression2_cpp20 +/home/json/build/tests/MinSizeRel/test-regression2_cpp20 +/home/json/build/tests/MinSizeRel/test-regression2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +/home/json/build/tests/Deployment/test-regression2_cpp20 +/home/json/build/tests/Deployment/test-regression2_cpp20 +/home/json/build/tests/Development/test-regression2_cpp20 +/home/json/build/tests/Development/test-regression2_cpp20 +home/json/build/tests/test-regression2_cpp20 +home/json/build/tests/test-regression2_cpp20 +Unable to find executable: /home/json/build/tests/test-regression2_cpp20 +home/json/build/tests/Release/test-regression2_cpp20 +home/json/build/tests/Release/test-regression2_cpp20 +home/json/build/tests/Debug/test-regression2_cpp20 +home/json/build/tests/Debug/test-regression2_cpp20 +home/json/build/tests/MinSizeRel/test-regression2_cpp20 +home/json/build/tests/MinSizeRel/test-regression2_cpp20 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +home/json/build/tests/Deployment/test-regression2_cpp20 +home/json/build/tests/Deployment/test-regression2_cpp20 +home/json/build/tests/Development/test-regression2_cpp20 +home/json/build/tests/Development/test-regression2_cpp20 +54/81 Test #54: test-regression2_cpp20 .......................***Not Run 0.00 sec + Start 55: test-serialization_cpp11 +Could not find executable /home/json/build/tests/test-serialization_cpp11 +Unable to find executable: /home/json/build/tests/test-serialization_cpp11 +Looked in the following places: +/home/json/build/tests/test-serialization_cpp11 +/home/json/build/tests/test-serialization_cpp11 +/home/json/build/tests/Release/test-serialization_cpp11 +/home/json/build/tests/Release/test-serialization_cpp11 +/home/json/build/tests/Debug/test-serialization_cpp11 +/home/json/build/tests/Debug/test-serialization_cpp11 +/home/json/build/tests/MinSizeRel/test-serialization_cpp11 +/home/json/build/tests/MinSizeRel/test-serialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +/home/json/build/tests/Deployment/test-serialization_cpp11 +/home/json/build/tests/Deployment/test-serialization_cpp11 +/home/json/build/tests/Development/test-serialization_cpp11 +/home/json/build/tests/Development/test-serialization_cpp11 +home/json/build/tests/test-serialization_cpp11 +home/json/build/tests/test-serialization_cpp11 +home/json/build/tests/Release/test-serialization_cpp11 +home/json/build/tests/Release/test-serialization_cpp11 +home/json/build/tests/Debug/test-serialization_cpp11 +home/json/build/tests/Debug/test-serialization_cpp11 +home/json/build/tests/MinSizeRel/test-serialization_cpp11 +home/json/build/tests/MinSizeRel/test-serialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +home/json/build/tests/Deployment/test-serialization_cpp11 +home/json/build/tests/Deployment/test-serialization_cpp11 +home/json/build/tests/Development/test-serialization_cpp11 +home/json/build/tests/Development/test-serialization_cpp11 +55/81 Test #55: test-serialization_cpp11 .....................***Not Run 0.00 sec + Start 56: test-testsuites_cpp11 +Could not find executable /home/json/build/tests/test-testsuites_cpp11 +Looked in the following places: +/home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/Release/test-testsuites_cpp11 +/home/json/build/tests/Release/test-testsuites_cpp11 +/home/json/build/tests/Debug/test-testsuites_cpp11 +/home/json/build/tests/Debug/test-testsuites_cpp11 +/home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +/home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +Unable to find executable: /home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +/home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +/home/json/build/tests/Deployment/test-testsuites_cpp11 +/home/json/build/tests/Deployment/test-testsuites_cpp11 +/home/json/build/tests/Development/test-testsuites_cpp11 +/home/json/build/tests/Development/test-testsuites_cpp11 +home/json/build/tests/test-testsuites_cpp11 +home/json/build/tests/test-testsuites_cpp11 +home/json/build/tests/Release/test-testsuites_cpp11 +home/json/build/tests/Release/test-testsuites_cpp11 +home/json/build/tests/Debug/test-testsuites_cpp11 +home/json/build/tests/Debug/test-testsuites_cpp11 +home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +home/json/build/tests/Deployment/test-testsuites_cpp11 +home/json/build/tests/Deployment/test-testsuites_cpp11 +home/json/build/tests/Development/test-testsuites_cpp11 +home/json/build/tests/Development/test-testsuites_cpp11 +56/81 Test #56: test-testsuites_cpp11 ........................***Not Run 0.00 sec + Start 57: test-to_chars_cpp11 +Could not find executable /home/json/build/tests/test-to_chars_cpp11 +Looked in the following places: +/home/json/build/tests/test-to_chars_cpp11 +/home/json/build/tests/test-to_chars_cpp11 +/home/json/build/tests/Release/test-to_chars_cpp11 +/home/json/build/tests/Release/test-to_chars_cpp11 +/home/json/build/tests/Debug/test-to_chars_cpp11 +/home/json/build/tests/Debug/test-to_chars_cpp11 +/home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +/home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +/home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +/home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +/home/json/build/tests/Deployment/test-to_chars_cpp11 +/home/json/build/tests/Deployment/test-to_chars_cpp11 +/home/json/build/tests/Development/test-to_chars_cpp11 +Unable to find executable: /home/json/build/tests/test-to_chars_cpp11 +/home/json/build/tests/Development/test-to_chars_cpp11 +home/json/build/tests/test-to_chars_cpp11 +home/json/build/tests/test-to_chars_cpp11 +home/json/build/tests/Release/test-to_chars_cpp11 +home/json/build/tests/Release/test-to_chars_cpp11 +home/json/build/tests/Debug/test-to_chars_cpp11 +home/json/build/tests/Debug/test-to_chars_cpp11 +home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +home/json/build/tests/Deployment/test-to_chars_cpp11 +home/json/build/tests/Deployment/test-to_chars_cpp11 +home/json/build/tests/Development/test-to_chars_cpp11 +home/json/build/tests/Development/test-to_chars_cpp11 +57/81 Test #57: test-to_chars_cpp11 ..........................***Not Run 0.00 sec + Start 58: test-ubjson_cpp11 +Could not find executable /home/json/build/tests/test-ubjson_cpp11 +Looked in the following places: +/home/json/build/tests/test-ubjson_cpp11 +/home/json/build/tests/test-ubjson_cpp11 +/home/json/build/tests/Release/test-ubjson_cpp11 +/home/json/build/tests/Release/test-ubjson_cpp11 +/home/json/build/tests/Debug/test-ubjson_cpp11 +/home/json/build/tests/Debug/test-ubjson_cpp11 +/home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +/home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +/home/json/build/tests/Deployment/test-ubjson_cpp11 +/home/json/build/tests/Deployment/test-ubjson_cpp11 +/home/json/build/tests/Development/test-ubjson_cpp11 +/home/json/build/tests/Development/test-ubjson_cpp11 +home/json/build/tests/test-ubjson_cpp11 +home/json/build/tests/test-ubjson_cpp11 +home/json/build/tests/Release/test-ubjson_cpp11 +home/json/build/tests/Release/test-ubjson_cpp11 +home/json/build/tests/Debug/test-ubjson_cpp11 +home/json/build/tests/Debug/test-ubjson_cpp11 +home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +Unable to find executable: /home/json/build/tests/test-ubjson_cpp11 +home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +home/json/build/tests/Deployment/test-ubjson_cpp11 +home/json/build/tests/Deployment/test-ubjson_cpp11 +home/json/build/tests/Development/test-ubjson_cpp11 +home/json/build/tests/Development/test-ubjson_cpp11 +58/81 Test #58: test-ubjson_cpp11 ............................***Not Run 0.00 sec + Start 59: test-udt_cpp11 +Could not find executable /home/json/build/tests/test-udt_cpp11 +Looked in the following places: +/home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/Release/test-udt_cpp11 +/home/json/build/tests/Release/test-udt_cpp11 +/home/json/build/tests/Debug/test-udt_cpp11 +/home/json/build/tests/Debug/test-udt_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_cpp11 +Unable to find executable: /home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +/home/json/build/tests/Deployment/test-udt_cpp11 +/home/json/build/tests/Deployment/test-udt_cpp11 +/home/json/build/tests/Development/test-udt_cpp11 +/home/json/build/tests/Development/test-udt_cpp11 +home/json/build/tests/test-udt_cpp11 +home/json/build/tests/test-udt_cpp11 +home/json/build/tests/Release/test-udt_cpp11 +home/json/build/tests/Release/test-udt_cpp11 +home/json/build/tests/Debug/test-udt_cpp11 +home/json/build/tests/Debug/test-udt_cpp11 +home/json/build/tests/MinSizeRel/test-udt_cpp11 +home/json/build/tests/MinSizeRel/test-udt_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +home/json/build/tests/Deployment/test-udt_cpp11 +home/json/build/tests/Deployment/test-udt_cpp11 +home/json/build/tests/Development/test-udt_cpp11 +home/json/build/tests/Development/test-udt_cpp11 +59/81 Test #59: test-udt_cpp11 ...............................***Not Run 0.00 sec + Start 60: test-udt_macro_cpp11 +Could not find executable /home/json/build/tests/test-udt_macro_cpp11 +Looked in the following places: +/home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-udt_macro_cpp11 +/home/json/build/tests/Debug/test-udt_macro_cpp11 +/home/json/build/tests/Debug/test-udt_macro_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +Unable to find executable: /home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/tests/Deployment/test-udt_macro_cpp11 +/home/json/build/tests/Deployment/test-udt_macro_cpp11 +/home/json/build/tests/Development/test-udt_macro_cpp11 +/home/json/build/tests/Development/test-udt_macro_cpp11 +home/json/build/tests/test-udt_macro_cpp11 +home/json/build/tests/test-udt_macro_cpp11 +home/json/build/tests/Release/test-udt_macro_cpp11 +home/json/build/tests/Release/test-udt_macro_cpp11 +home/json/build/tests/Debug/test-udt_macro_cpp11 +home/json/build/tests/Debug/test-udt_macro_cpp11 +home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/tests/Deployment/test-udt_macro_cpp11 +home/json/build/tests/Deployment/test-udt_macro_cpp11 +home/json/build/tests/Development/test-udt_macro_cpp11 +home/json/build/tests/Development/test-udt_macro_cpp11 +60/81 Test #60: test-udt_macro_cpp11 .........................***Not Run 0.00 sec + Start 61: test-unicode1_cpp11 +Could not find executable /home/json/build/tests/test-unicode1_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/Release/test-unicode1_cpp11 +/home/json/build/tests/Release/test-unicode1_cpp11 +/home/json/build/tests/Debug/test-unicode1_cpp11 +/home/json/build/tests/Debug/test-unicode1_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/tests/Deployment/test-unicode1_cpp11 +/home/json/build/tests/Deployment/test-unicode1_cpp11 +/home/json/build/tests/Development/test-unicode1_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/Development/test-unicode1_cpp11 +home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/Release/test-unicode1_cpp11 +home/json/build/tests/Release/test-unicode1_cpp11 +home/json/build/tests/Debug/test-unicode1_cpp11 +home/json/build/tests/Debug/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/tests/Deployment/test-unicode1_cpp11 +home/json/build/tests/Deployment/test-unicode1_cpp11 +home/json/build/tests/Development/test-unicode1_cpp11 +home/json/build/tests/Development/test-unicode1_cpp11 +61/81 Test #61: test-unicode1_cpp11 ..........................***Not Run 0.00 sec + Start 62: test-unicode2_cpp11 +Could not find executable /home/json/build/tests/test-unicode2_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/Release/test-unicode2_cpp11 +/home/json/build/tests/Release/test-unicode2_cpp11 +/home/json/build/tests/Debug/test-unicode2_cpp11 +/home/json/build/tests/Debug/test-unicode2_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/tests/Deployment/test-unicode2_cpp11 +/home/json/build/tests/Deployment/test-unicode2_cpp11 +/home/json/build/tests/Development/test-unicode2_cpp11 +/home/json/build/tests/Development/test-unicode2_cpp11 +home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/Release/test-unicode2_cpp11 +home/json/build/tests/Release/test-unicode2_cpp11 +home/json/build/tests/Debug/test-unicode2_cpp11 +home/json/build/tests/Debug/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode2_cpp11 +home/json/build/tests/Development/test-unicode2_cpp11 +home/json/build/tests/Development/test-unicode2_cpp11 +62/81 Test #62: test-unicode2_cpp11 ..........................***Not Run 0.00 sec + Start 63: test-unicode3_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode2_cpp11 +Could not find executable /home/json/build/tests/test-unicode3_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode3_cpp11 +/home/json/build/tests/test-unicode3_cpp11 +/home/json/build/tests/Release/test-unicode3_cpp11 +/home/json/build/tests/Release/test-unicode3_cpp11 +/home/json/build/tests/Debug/test-unicode3_cpp11 +/home/json/build/tests/Debug/test-unicode3_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/tests/Deployment/test-unicode3_cpp11 +/home/json/build/tests/Deployment/test-unicode3_cpp11 +/home/json/build/tests/Development/test-unicode3_cpp11 +/home/json/build/tests/Development/test-unicode3_cpp11 +home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/Release/test-unicode3_cpp11 +home/json/build/tests/Release/test-unicode3_cpp11 +home/json/build/tests/Debug/test-unicode3_cpp11 +home/json/build/tests/Debug/test-unicode3_cpp11 +home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/tests/Deployment/test-unicode3_cpp11 +home/json/build/tests/Deployment/test-unicode3_cpp11 +home/json/build/tests/Development/test-unicode3_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/Development/test-unicode3_cpp11 +63/81 Test #63: test-unicode3_cpp11 ..........................***Not Run 0.00 sec + Start 64: test-unicode4_cpp11 +Could not find executable /home/json/build/tests/test-unicode4_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode4_cpp11 +/home/json/build/tests/test-unicode4_cpp11 +/home/json/build/tests/Release/test-unicode4_cpp11 +/home/json/build/tests/Release/test-unicode4_cpp11 +/home/json/build/tests/Debug/test-unicode4_cpp11 +/home/json/build/tests/Debug/test-unicode4_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/tests/Deployment/test-unicode4_cpp11 +/home/json/build/tests/Deployment/test-unicode4_cpp11 +/home/json/build/tests/Development/test-unicode4_cpp11 +/home/json/build/tests/Development/test-unicode4_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/Release/test-unicode4_cpp11 +home/json/build/tests/Release/test-unicode4_cpp11 +home/json/build/tests/Debug/test-unicode4_cpp11 +home/json/build/tests/Debug/test-unicode4_cpp11 +home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode4_cpp11 +home/json/build/tests/Development/test-unicode4_cpp11 +home/json/build/tests/Development/test-unicode4_cpp11 +64/81 Test #64: test-unicode4_cpp11 ..........................***Not Run 0.00 sec + Start 65: test-unicode5_cpp11 +Could not find executable /home/json/build/tests/test-unicode5_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/Release/test-unicode5_cpp11 +/home/json/build/tests/Release/test-unicode5_cpp11 +/home/json/build/tests/Debug/test-unicode5_cpp11 +/home/json/build/tests/Debug/test-unicode5_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/tests/Deployment/test-unicode5_cpp11 +/home/json/build/tests/Deployment/test-unicode5_cpp11 +/home/json/build/tests/Development/test-unicode5_cpp11 +/home/json/build/tests/Development/test-unicode5_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/Release/test-unicode5_cpp11 +home/json/build/tests/Release/test-unicode5_cpp11 +home/json/build/tests/Debug/test-unicode5_cpp11 +home/json/build/tests/Debug/test-unicode5_cpp11 +home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/tests/Deployment/test-unicode5_cpp11 +home/json/build/tests/Deployment/test-unicode5_cpp11 +home/json/build/tests/Development/test-unicode5_cpp11 +home/json/build/tests/Development/test-unicode5_cpp11 +65/81 Test #65: test-unicode5_cpp11 ..........................***Not Run 0.00 sec + Start 66: test-user_defined_input_cpp11 +Could not find executable /home/json/build/tests/test-user_defined_input_cpp11 +Looked in the following places: +/home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/Release/test-user_defined_input_cpp11 +/home/json/build/tests/Release/test-user_defined_input_cpp11 +/home/json/build/tests/Debug/test-user_defined_input_cpp11 +/home/json/build/tests/Debug/test-user_defined_input_cpp11 +/home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/tests/Deployment/test-user_defined_input_cpp11 +/home/json/build/tests/Deployment/test-user_defined_input_cpp11 +/home/json/build/tests/Development/test-user_defined_input_cpp11 +/home/json/build/tests/Development/test-user_defined_input_cpp11 +home/json/build/tests/test-user_defined_input_cpp11 +Unable to find executable: /home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/Release/test-user_defined_input_cpp11 +home/json/build/tests/Release/test-user_defined_input_cpp11 +home/json/build/tests/Debug/test-user_defined_input_cpp11 +home/json/build/tests/Debug/test-user_defined_input_cpp11 +home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-user_defined_input_cpp11 +home/json/build/tests/Development/test-user_defined_input_cpp11 +home/json/build/tests/Development/test-user_defined_input_cpp11 +66/81 Test #66: test-user_defined_input_cpp11 ................***Not Run 0.00 sec + Start 67: test-wstring_cpp11 +Could not find executable /home/json/build/tests/test-wstring_cpp11 +Looked in the following places: +/home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/Release/test-wstring_cpp11 +/home/json/build/tests/Release/test-wstring_cpp11 +/home/json/build/tests/Debug/test-wstring_cpp11 +/home/json/build/tests/Debug/test-wstring_cpp11 +/home/json/build/tests/MinSizeRel/test-wstring_cpp11 +/home/json/build/tests/MinSizeRel/test-wstring_cpp11 +/home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/tests/Deployment/test-wstring_cpp11 +/home/json/build/tests/Deployment/test-wstring_cpp11 +/home/json/build/tests/Development/test-wstring_cpp11 +/home/json/build/tests/Development/test-wstring_cpp11 +Unable to find executable: /home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/Release/test-wstring_cpp11 +home/json/build/tests/Release/test-wstring_cpp11 +home/json/build/tests/Debug/test-wstring_cpp11 +home/json/build/tests/Debug/test-wstring_cpp11 +home/json/build/tests/MinSizeRel/test-wstring_cpp11 +home/json/build/tests/MinSizeRel/test-wstring_cpp11 +home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +home/json/build/tests/Deployment/test-wstring_cpp11 +home/json/build/tests/Deployment/test-wstring_cpp11 +home/json/build/tests/Development/test-wstring_cpp11 +home/json/build/tests/Development/test-wstring_cpp11 +67/81 Test #67: test-wstring_cpp11 ...........................***Not Run 0.00 sec + Start 68: test-comparison_legacy_cpp11 +Could not find executable /home/json/build/tests/test-comparison_legacy_cpp11 +Looked in the following places: +/home/json/build/tests/test-comparison_legacy_cpp11 +/home/json/build/tests/test-comparison_legacy_cpp11 +/home/json/build/tests/Release/test-comparison_legacy_cpp11 +/home/json/build/tests/Release/test-comparison_legacy_cpp11 +/home/json/build/tests/Debug/test-comparison_legacy_cpp11 +/home/json/build/tests/Debug/test-comparison_legacy_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +/home/json/build/tests/Development/test-comparison_legacy_cpp11 +/home/json/build/tests/Development/test-comparison_legacy_cpp11 +home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/Release/test-comparison_legacy_cpp11 +home/json/build/tests/Release/test-comparison_legacy_cpp11 +Unable to find executable: /home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-comparison_legacy_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +home/json/build/tests/Development/test-comparison_legacy_cpp11 +home/json/build/tests/Development/test-comparison_legacy_cpp11 +68/81 Test #68: test-comparison_legacy_cpp11 .................***Not Run 0.00 sec + Start 69: test-comparison_legacy_cpp20 +Could not find executable /home/json/build/tests/test-comparison_legacy_cpp20 +Looked in the following places: +/home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/Release/test-comparison_legacy_cpp20 +/home/json/build/tests/Release/test-comparison_legacy_cpp20 +/home/json/build/tests/Debug/test-comparison_legacy_cpp20 +/home/json/build/tests/Debug/test-comparison_legacy_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +/home/json/build/tests/Development/test-comparison_legacy_cpp20 +/home/json/build/tests/Development/test-comparison_legacy_cpp20 +home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/test-comparison_legacy_cpp20 +Unable to find executable: /home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/Release/test-comparison_legacy_cpp20 +home/json/build/tests/Release/test-comparison_legacy_cpp20 +home/json/build/tests/Debug/test-comparison_legacy_cpp20 +home/json/build/tests/Debug/test-comparison_legacy_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-comparison_legacy_cpp20 +69/81 Test #69: test-comparison_legacy_cpp20 .................***Not Run 0.00 sec + Start 70: cmake_import_configure +70/81 Test #70: cmake_import_configure ....................... Passed 0.20 sec + Start 71: cmake_import_build +71/81 Test #71: cmake_import_build ........................... Passed 2.83 sec + Start 72: cmake_import_minver_configure +72/81 Test #72: cmake_import_minver_configure ................ Passed 0.20 sec + Start 73: cmake_import_minver_build +73/81 Test #73: cmake_import_minver_build .................... Passed 1.46 sec + Start 74: cmake_add_subdirectory_configure +74/81 Test #74: cmake_add_subdirectory_configure ............. Passed 0.22 sec + Start 75: cmake_add_subdirectory_build +75/81 Test #75: cmake_add_subdirectory_build ................. Passed 4.24 sec + Start 76: cmake_fetch_content_configure +76/81 Test #76: cmake_fetch_content_configure ................ Passed 0.94 sec + Start 77: cmake_fetch_content_build +77/81 Test #77: cmake_fetch_content_build .................... Passed 2.83 sec + Start 78: cmake_fetch_content2_configure +78/81 Test #78: cmake_fetch_content2_configure ............... Passed 0.68 sec + Start 79: cmake_fetch_content2_build +79/81 Test #79: cmake_fetch_content2_build ................... Passed 2.84 sec + Start 80: cmake_target_include_directories_configure +80/81 Test #80: cmake_target_include_directories_configure ... Passed 0.20 sec + Start 81: cmake_target_include_directories_build +81/81 Test #81: cmake_target_include_directories_build ....... Passed 5.03 sec + +33% tests passed, 54 tests failed out of 81 + +Label Time Summary: +all = 70.77 sec*proc (68 tests) +git_required = 7.29 sec*proc (4 tests) +not_reproducible = 21.66 sec*proc (12 tests) + +Total Test time (real) = 92.53 sec + +The following tests FAILED: + 16 - test-comparison_cpp11 (Not Run) + 17 - test-comparison_cpp20 (Not Run) + 18 - test-concepts_cpp11 (Not Run) + 19 - test-constructor1_cpp11 (Not Run) + 20 - test-constructor2_cpp11 (Not Run) + 21 - test-convenience_cpp11 (Not Run) + 22 - test-conversions_cpp11 (Not Run) + 23 - test-conversions_cpp17 (Not Run) + 24 - test-deserialization_cpp11 (Not Run) + 25 - test-diagnostics_cpp11 (Not Run) + 26 - test-disabled_exceptions_cpp11 (Not Run) + 27 - test-element_access1_cpp11 (Not Run) + 28 - test-element_access2_cpp11 (Not Run) + 29 - test-element_access2_cpp17 (Not Run) + 30 - test-hash_cpp11 (Not Run) + 31 - test-inspection_cpp11 (Not Run) + 32 - test-items_cpp11 (Not Run) + 33 - test-items_cpp17 (Not Run) + 34 - test-iterators1_cpp11 (Not Run) + 35 - test-iterators2_cpp11 (Not Run) + 36 - test-iterators2_cpp20 (Not Run) + 37 - test-json_patch_cpp11 (Not Run) + 38 - test-json_pointer_cpp11 (Not Run) + 39 - test-large_json_cpp11 (Not Run) + 40 - test-merge_patch_cpp11 (Not Run) + 41 - test-meta_cpp11 (Not Run) + 42 - test-modifiers_cpp11 (Not Run) + 43 - test-msgpack_cpp11 (Not Run) + 44 - test-noexcept_cpp11 (Not Run) + 45 - test-ordered_json_cpp11 (Not Run) + 46 - test-ordered_map_cpp11 (Not Run) + 47 - test-pointer_access_cpp11 (Not Run) + 48 - test-readme_cpp11 (Not Run) + 49 - test-reference_access_cpp11 (Not Run) + 50 - test-regression1_cpp11 (Not Run) + 51 - test-regression1_cpp17 (Not Run) + 52 - test-regression2_cpp11 (Not Run) + 53 - test-regression2_cpp17 (Not Run) + 54 - test-regression2_cpp20 (Not Run) + 55 - test-serialization_cpp11 (Not Run) + 56 - test-testsuites_cpp11 (Not Run) + 57 - test-to_chars_cpp11 (Not Run) + 58 - test-ubjson_cpp11 (Not Run) + 59 - test-udt_cpp11 (Not Run) + 60 - test-udt_macro_cpp11 (Not Run) + 61 - test-unicode1_cpp11 (Not Run) + 62 - test-unicode2_cpp11 (Not Run) + 63 - test-unicode3_cpp11 (Not Run) + 64 - test-unicode4_cpp11 (Not Run) + 65 - test-unicode5_cpp11 (Not Run) + 66 - test-user_defined_input_cpp11 (Not Run) + 67 - test-wstring_cpp11 (Not Run) + 68 - test-comparison_legacy_cpp11 (Not Run) + 69 - test-comparison_legacy_cpp20 (Not Run) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/fix.patch new file mode 100644 index 000000000..791b49e20 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/fix.patch @@ -0,0 +1,62 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index fb0f5fc1..379d14e5 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -3765,7 +3765,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// @sa https://json.nlohmann.me/api/basic_json/operator_le/ + friend bool operator<=(const_reference lhs, const_reference rhs) noexcept + { +- return !(rhs < lhs); ++ return lhs < rhs || lhs == rhs; + } + + /// @brief comparison: less than or equal +@@ -3790,7 +3790,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/ + friend bool operator>(const_reference lhs, const_reference rhs) noexcept + { +- return !(lhs <= rhs); ++ return rhs < lhs; + } + + /// @brief comparison: greater than +@@ -3815,7 +3815,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/ + friend bool operator>=(const_reference lhs, const_reference rhs) noexcept + { +- return !(lhs < rhs); ++ return rhs < lhs || lhs == rhs; + } + + /// @brief comparison: greater than or equal +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 5993ce32..fa33757d 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -21925,7 +21925,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// @sa https://json.nlohmann.me/api/basic_json/operator_le/ + friend bool operator<=(const_reference lhs, const_reference rhs) noexcept + { +- return !(rhs < lhs); ++ return lhs < rhs || lhs == rhs; + } + + /// @brief comparison: less than or equal +@@ -21950,7 +21950,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/ + friend bool operator>(const_reference lhs, const_reference rhs) noexcept + { +- return !(lhs <= rhs); ++ return rhs < lhs; + } + + /// @brief comparison: greater than +@@ -21975,7 +21975,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/ + friend bool operator>=(const_reference lhs, const_reference rhs) noexcept + { +- return !(lhs < rhs); ++ return rhs < lhs || lhs == rhs; + } + + /// @brief comparison: greater than or equal diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/report.json new file mode 100644 index 000000000..58189b61f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3446/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3446, "valid": true, "error_msg": "", "fixed_tests": {"cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 80, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "test-items_cpp14", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 27, "failed_count": 0, "skipped_count": 0, "passed_tests": ["cmake_target_include_directories_build", "cmake_fetch_content2_configure", "test-bjdata_cpp11", "cmake_target_include_directories_configure", "cmake_fetch_content2_build", "cmake_import_build", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-class_parser_cpp11", "test-cbor_cpp11", "test-assert_macro_cpp11", "test-algorithms_cpp11", "cmake_add_subdirectory_configure", "test-byte_container_with_subtype_cpp11", "test-binary_formats_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-bson_cpp11", "cmake_import_minver_configure", "test-class_iterator_cpp11", "test-alt-string_cpp11", "cmake_fetch_content_build", "cmake_import_minver_build", "cmake_fetch_content_configure", "test-class_const_iterator_cpp11", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/fix-patch-run.log new file mode 100644 index 000000000..6c044dfc1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/fix-patch-run.log @@ -0,0 +1,628 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6667 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (13.7 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.6 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5784 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.zGPJr8wy +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.zGPJr8wy/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.zGPJr8wy/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.zGPJr8wy/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.zGPJr8wy/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.zGPJr8wy/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.zGPJr8wy +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d65a55d2a0f6 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.IVe8J7TVVz/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-bjdata.cpp +patching file include/nlohmann/detail/input/binary_reader.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux d65a55d2a0f6 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string_cpp11 +[ 6%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 9%] Linking CXX executable test-bjdata_cpp11 +[ 9%] Built target test-bjdata_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 10%] Linking CXX executable test-bson_cpp11 +[ 10%] Built target test-bson_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 12%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 12%] Built target test-byte_container_with_subtype_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity_cpp11 +[ 13%] Built target test-capacity_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 15%] Linking CXX executable test-cbor_cpp11 +[ 15%] Built target test-cbor_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator_cpp11 +[ 16%] Built target test-class_const_iterator_cpp11 +[ 17%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 18%] Linking CXX executable test-class_iterator_cpp11 +[ 18%] Built target test-class_iterator_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 19%] Linking CXX executable test-class_lexer_cpp11 +[ 19%] Built target test-class_lexer_cpp11 +[ 20%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 21%] Linking CXX executable test-class_parser_cpp11 +[ 21%] Built target test-class_parser_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 22%] Linking CXX executable test-comparison_cpp11 +[ 22%] Built target test-comparison_cpp11 +[ 23%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 24%] Linking CXX executable test-comparison_cpp20 +[ 24%] Built target test-comparison_cpp20 +[ 24%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 25%] Linking CXX executable test-concepts_cpp11 +[ 25%] Built target test-concepts_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1_cpp11 +[ 27%] Built target test-constructor1_cpp11 +[ 27%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 28%] Linking CXX executable test-constructor2_cpp11 +[ 28%] Built target test-constructor2_cpp11 +[ 29%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience_cpp11 +[ 30%] Built target test-convenience_cpp11 +[ 30%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 31%] Linking CXX executable test-conversions_cpp11 +[ 31%] Built target test-conversions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-conversions_cpp14.dir/src/unit-conversions.cpp.o +[ 33%] Linking CXX executable test-conversions_cpp14 +[ 33%] Built target test-conversions_cpp14 +[ 33%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 34%] Linking CXX executable test-conversions_cpp17 +[ 34%] Built target test-conversions_cpp17 +[ 35%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 36%] Linking CXX executable test-deserialization_cpp11 +[ 36%] Built target test-deserialization_cpp11 +[ 36%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 37%] Linking CXX executable test-diagnostics_cpp11 +[ 37%] Built target test-diagnostics_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 39%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 39%] Built target test-disabled_exceptions_cpp11 +[ 39%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 40%] Linking CXX executable test-element_access1_cpp11 +[ 40%] Built target test-element_access1_cpp11 +[ 41%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 42%] Linking CXX executable test-element_access2_cpp11 +[ 42%] Built target test-element_access2_cpp11 +[ 42%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 43%] Linking CXX executable test-element_access2_cpp17 +[ 43%] Built target test-element_access2_cpp17 +[ 44%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 45%] Linking CXX executable test-hash_cpp11 +[ 45%] Built target test-hash_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 46%] Linking CXX executable test-inspection_cpp11 +[ 46%] Built target test-inspection_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 48%] Linking CXX executable test-items_cpp11 +[ 48%] Built target test-items_cpp11 +[ 48%] Building CXX object tests/CMakeFiles/test-items_cpp14.dir/src/unit-items.cpp.o +[ 49%] Linking CXX executable test-items_cpp14 +[ 49%] Built target test-items_cpp14 +[ 50%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 51%] Linking CXX executable test-items_cpp17 +[ 51%] Built target test-items_cpp17 +[ 51%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 52%] Linking CXX executable test-iterators1_cpp11 +[ 52%] Built target test-iterators1_cpp11 +[ 53%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 53%] Linking CXX executable test-iterators2_cpp11 +[ 53%] Built target test-iterators2_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 55%] Linking CXX executable test-json_patch_cpp11 +[ 55%] Built target test-json_patch_cpp11 +[ 56%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 56%] Linking CXX executable test-json_pointer_cpp11 +[ 56%] Built target test-json_pointer_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 58%] Linking CXX executable test-large_json_cpp11 +[ 58%] Built target test-large_json_cpp11 +[ 59%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 59%] Linking CXX executable test-merge_patch_cpp11 +[ 59%] Built target test-merge_patch_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 61%] Linking CXX executable test-meta_cpp11 +[ 61%] Built target test-meta_cpp11 +[ 62%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 62%] Linking CXX executable test-modifiers_cpp11 +[ 62%] Built target test-modifiers_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 64%] Linking CXX executable test-msgpack_cpp11 +[ 64%] Built target test-msgpack_cpp11 +[ 65%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 65%] Linking CXX executable test-noexcept_cpp11 +[ 65%] Built target test-noexcept_cpp11 +[ 66%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 67%] Linking CXX executable test-ordered_json_cpp11 +[ 67%] Built target test-ordered_json_cpp11 +[ 68%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 68%] Linking CXX executable test-ordered_map_cpp11 +[ 68%] Built target test-ordered_map_cpp11 +[ 69%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 70%] Linking CXX executable test-pointer_access_cpp11 +[ 70%] Built target test-pointer_access_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 71%] Linking CXX executable test-readme_cpp11 +[ 71%] Built target test-readme_cpp11 +[ 72%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 73%] Linking CXX executable test-reference_access_cpp11 +[ 73%] Built target test-reference_access_cpp11 +[ 74%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1_cpp11 +[ 74%] Built target test-regression1_cpp11 +[ 75%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 76%] Linking CXX executable test-regression1_cpp17 +[ 76%] Built target test-regression1_cpp17 +[ 77%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 77%] Linking CXX executable test-regression2_cpp11 +[ 77%] Built target test-regression2_cpp11 +[ 78%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 79%] Linking CXX executable test-regression2_cpp17 +[ 79%] Built target test-regression2_cpp17 +[ 80%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 80%] Linking CXX executable test-regression2_cpp20 +[ 80%] Built target test-regression2_cpp20 +[ 81%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 82%] Linking CXX executable test-serialization_cpp11 +[ 82%] Built target test-serialization_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 83%] Linking CXX executable test-testsuites_cpp11 +[ 83%] Built target test-testsuites_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 85%] Linking CXX executable test-to_chars_cpp11 +[ 85%] Built target test-to_chars_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 86%] Linking CXX executable test-ubjson_cpp11 +[ 86%] Built target test-ubjson_cpp11 +[ 87%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 88%] Linking CXX executable test-udt_cpp11 +[ 88%] Built target test-udt_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 89%] Linking CXX executable test-udt_macro_cpp11 +[ 89%] Built target test-udt_macro_cpp11 +[ 90%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 91%] Linking CXX executable test-unicode1_cpp11 +[ 91%] Built target test-unicode1_cpp11 +[ 92%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 92%] Linking CXX executable test-unicode2_cpp11 +[ 92%] Built target test-unicode2_cpp11 +[ 93%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 94%] Linking CXX executable test-unicode3_cpp11 +[ 94%] Built target test-unicode3_cpp11 +[ 95%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 95%] Linking CXX executable test-unicode4_cpp11 +[ 95%] Built target test-unicode4_cpp11 +[ 96%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 97%] Linking CXX executable test-unicode5_cpp11 +[ 97%] Built target test-unicode5_cpp11 +[ 98%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 98%] Linking CXX executable test-user_defined_input_cpp11 +[ 98%] Built target test-user_defined_input_cpp11 +[ 99%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[100%] Linking CXX executable test-wstring_cpp11 +[100%] Built target test-wstring_cpp11 +Test project /home/json/build + Start 1: download_test_data + 1/79 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/79 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/79 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/79 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/79 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-bjdata_cpp11 + 6/79 Test #6: test-bjdata_cpp11 ............................***Failed 13.38 sec + Start 7: test-bson_cpp11 + 7/79 Test #7: test-bson_cpp11 .............................. Passed 0.01 sec + Start 8: test-byte_container_with_subtype_cpp11 + 8/79 Test #8: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 9: test-capacity_cpp11 + 9/79 Test #9: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 10: test-cbor_cpp11 +10/79 Test #10: test-cbor_cpp11 .............................. Passed 39.62 sec + Start 11: test-class_const_iterator_cpp11 +11/79 Test #11: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 12: test-class_iterator_cpp11 +12/79 Test #12: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 13: test-class_lexer_cpp11 +13/79 Test #13: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 14: test-class_parser_cpp11 +14/79 Test #14: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 15: test-comparison_cpp11 +15/79 Test #15: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 16: test-comparison_cpp20 +16/79 Test #16: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 17: test-concepts_cpp11 +17/79 Test #17: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 18: test-constructor1_cpp11 +18/79 Test #18: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 19: test-constructor2_cpp11 +19/79 Test #19: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 20: test-convenience_cpp11 +20/79 Test #20: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 21: test-conversions_cpp11 +21/79 Test #21: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 22: test-conversions_cpp14 +22/79 Test #22: test-conversions_cpp14 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/79 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/79 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/79 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/79 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/79 Test #27: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 28: test-element_access2_cpp11 +28/79 Test #28: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 29: test-element_access2_cpp17 +29/79 Test #29: test-element_access2_cpp17 ................... Passed 0.01 sec + Start 30: test-hash_cpp11 +30/79 Test #30: test-hash_cpp11 .............................. Passed 0.00 sec + Start 31: test-inspection_cpp11 +31/79 Test #31: test-inspection_cpp11 ........................ Passed 5.48 sec + Start 32: test-items_cpp11 +32/79 Test #32: test-items_cpp11 ............................. Passed 0.00 sec + Start 33: test-items_cpp14 +33/79 Test #33: test-items_cpp14 ............................. Passed 0.00 sec + Start 34: test-items_cpp17 +34/79 Test #34: test-items_cpp17 ............................. Passed 0.00 sec + Start 35: test-iterators1_cpp11 +35/79 Test #35: test-iterators1_cpp11 ........................ Passed 0.01 sec + Start 36: test-iterators2_cpp11 +36/79 Test #36: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 37: test-json_patch_cpp11 +37/79 Test #37: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 38: test-json_pointer_cpp11 +38/79 Test #38: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 39: test-large_json_cpp11 +39/79 Test #39: test-large_json_cpp11 ........................ Passed 5.15 sec + Start 40: test-merge_patch_cpp11 +40/79 Test #40: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 41: test-meta_cpp11 +41/79 Test #41: test-meta_cpp11 .............................. Passed 0.00 sec + Start 42: test-modifiers_cpp11 +42/79 Test #42: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 43: test-msgpack_cpp11 +43/79 Test #43: test-msgpack_cpp11 ........................... Passed 40.79 sec + Start 44: test-noexcept_cpp11 +44/79 Test #44: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 45: test-ordered_json_cpp11 +45/79 Test #45: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 46: test-ordered_map_cpp11 +46/79 Test #46: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 47: test-pointer_access_cpp11 +47/79 Test #47: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 48: test-readme_cpp11 +48/79 Test #48: test-readme_cpp11 ............................ Passed 0.00 sec + Start 49: test-reference_access_cpp11 +49/79 Test #49: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 50: test-regression1_cpp11 +50/79 Test #50: test-regression1_cpp11 ....................... Passed 6.24 sec + Start 51: test-regression1_cpp17 +51/79 Test #51: test-regression1_cpp17 ....................... Passed 7.61 sec + Start 52: test-regression2_cpp11 +52/79 Test #52: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 53: test-regression2_cpp17 +53/79 Test #53: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 54: test-regression2_cpp20 +54/79 Test #54: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 55: test-serialization_cpp11 +55/79 Test #55: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 56: test-testsuites_cpp11 +56/79 Test #56: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 57: test-to_chars_cpp11 +57/79 Test #57: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 58: test-ubjson_cpp11 +58/79 Test #58: test-ubjson_cpp11 ............................ Passed 12.86 sec + Start 59: test-udt_cpp11 +59/79 Test #59: test-udt_cpp11 ............................... Passed 0.00 sec + Start 60: test-udt_macro_cpp11 +60/79 Test #60: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 61: test-unicode1_cpp11 +61/79 Test #61: test-unicode1_cpp11 .......................... Passed 5.93 sec + Start 62: test-unicode2_cpp11 +62/79 Test #62: test-unicode2_cpp11 .......................... Passed 10.71 sec + Start 63: test-unicode3_cpp11 +63/79 Test #63: test-unicode3_cpp11 .......................... Passed 39.52 sec + Start 64: test-unicode4_cpp11 +64/79 Test #64: test-unicode4_cpp11 .......................... Passed 132.07 sec + Start 65: test-unicode5_cpp11 +65/79 Test #65: test-unicode5_cpp11 .......................... Passed 31.38 sec + Start 66: test-user_defined_input_cpp11 +66/79 Test #66: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 67: test-wstring_cpp11 +67/79 Test #67: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 68: cmake_import_configure +68/79 Test #68: cmake_import_configure ....................... Passed 0.19 sec + Start 69: cmake_import_build +69/79 Test #69: cmake_import_build ........................... Passed 2.71 sec + Start 70: cmake_import_minver_configure +70/79 Test #70: cmake_import_minver_configure ................ Passed 0.19 sec + Start 71: cmake_import_minver_build +71/79 Test #71: cmake_import_minver_build .................... Passed 1.37 sec + Start 72: cmake_add_subdirectory_configure +72/79 Test #72: cmake_add_subdirectory_configure ............. Passed 0.19 sec + Start 73: cmake_add_subdirectory_build +73/79 Test #73: cmake_add_subdirectory_build ................. Passed 3.99 sec + Start 74: cmake_fetch_content_configure +74/79 Test #74: cmake_fetch_content_configure ................ Passed 0.87 sec + Start 75: cmake_fetch_content_build +75/79 Test #75: cmake_fetch_content_build .................... Passed 2.73 sec + Start 76: cmake_fetch_content2_configure +76/79 Test #76: cmake_fetch_content2_configure ............... Passed 0.62 sec + Start 77: cmake_fetch_content2_build +77/79 Test #77: cmake_fetch_content2_build ................... Passed 2.72 sec + Start 78: cmake_target_include_directories_configure +78/79 Test #78: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 79: cmake_target_include_directories_build +79/79 Test #79: cmake_target_include_directories_build ....... Passed 4.77 sec + +99% tests passed, 1 tests failed out of 79 + +Label Time Summary: +all = 351.08 sec*proc (66 tests) +git_required = 6.95 sec*proc (4 tests) +not_reproducible = 20.54 sec*proc (12 tests) + +Total Test time (real) = 371.72 sec + +The following tests FAILED: + 6 - test-bjdata_cpp11 (Failed) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/fix.patch new file mode 100644 index 000000000..8420cd089 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/fix.patch @@ -0,0 +1,48 @@ +diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp +index 6474b8b0..8c781fb0 100644 +--- a/include/nlohmann/detail/input/binary_reader.hpp ++++ b/include/nlohmann/detail/input/binary_reader.hpp +@@ -2178,11 +2178,18 @@ class binary_reader + std::vector bjdx = {'[', '{', 'S', 'H', 'T', 'F', 'N', 'Z'}; // excluded markers in bjdata optimized type + + result.second = get(); // must not ignore 'N', because 'N' maybe the type +- if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format, "type") || (input_format == input_format_t::bjdata && std::find(bjdx.begin(), bjdx.end(), result.second) != bjdx.end() ))) ++ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format, "type"))) + { + return false; + } + ++ if (input_format == input_format_t::bjdata && std::find(bjdx.begin(), bjdx.end(), result.second) != bjdx.end()) ++ { ++ auto last_token = get_token_string(); ++ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, ++ exception_message(input_format, concat("type marker for optimized container cannot be 0x", last_token), "type"), nullptr)); ++ } ++ + get_ignore_noop(); + if (JSON_HEDLEY_UNLIKELY(current != '#')) + { +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index ad777c92..5ee9e630 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -10645,11 +10645,18 @@ class binary_reader + std::vector bjdx = {'[', '{', 'S', 'H', 'T', 'F', 'N', 'Z'}; // excluded markers in bjdata optimized type + + result.second = get(); // must not ignore 'N', because 'N' maybe the type +- if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format, "type") || (input_format == input_format_t::bjdata && std::find(bjdx.begin(), bjdx.end(), result.second) != bjdx.end() ))) ++ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format, "type"))) + { + return false; + } + ++ if (input_format == input_format_t::bjdata && std::find(bjdx.begin(), bjdx.end(), result.second) != bjdx.end()) ++ { ++ auto last_token = get_token_string(); ++ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, ++ exception_message(input_format, concat("type marker for optimized container cannot be 0x", last_token), "type"), nullptr)); ++ } ++ + get_ignore_noop(); + if (JSON_HEDLEY_UNLIKELY(current != '#')) + { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/report.json new file mode 100644 index 000000000..81a82e8c2 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3463/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3463, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (79, 0, 0)\n test = (78, 0, 0)\n fix = (78, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 79, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-items_cpp17", "cmake_import_minver_configure", "test-deserialization_cpp11", "test-items_cpp14", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 78, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-items_cpp17", "cmake_import_minver_configure", "test-deserialization_cpp11", "test-items_cpp14", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 78, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-items_cpp17", "cmake_import_minver_configure", "test-deserialization_cpp11", "test-items_cpp14", "cmake_import_minver_build", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/fix-patch-run.log new file mode 100644 index 000000000..83ece1de1 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/fix-patch-run.log @@ -0,0 +1,637 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6912 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (16.5 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.5 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5459 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.TYlXYleS +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.TYlXYleS/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.TYlXYleS/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.TYlXYleS/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.TYlXYleS/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.TYlXYleS/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.TYlXYleS +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=0f7212b2f3e9 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.kIu8hukRmw/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-bjdata.cpp +patching file include/nlohmann/detail/input/binary_reader.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 0f7212b2f3e9 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string_cpp11 +[ 6%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 8%] Linking CXX executable test-binary_formats_cpp11 +[ 8%] Built target test-binary_formats_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 10%] Linking CXX executable test-bjdata_cpp11 +[ 10%] Built target test-bjdata_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 11%] Linking CXX executable test-bson_cpp11 +[ 11%] Built target test-bson_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 13%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 13%] Built target test-byte_container_with_subtype_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 14%] Linking CXX executable test-capacity_cpp11 +[ 14%] Built target test-capacity_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 16%] Linking CXX executable test-cbor_cpp11 +[ 16%] Built target test-cbor_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 17%] Linking CXX executable test-class_const_iterator_cpp11 +[ 17%] Built target test-class_const_iterator_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 19%] Linking CXX executable test-class_iterator_cpp11 +[ 19%] Built target test-class_iterator_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer_cpp11 +[ 20%] Built target test-class_lexer_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser_cpp11 +[ 22%] Built target test-class_parser_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison_cpp11 +[ 23%] Built target test-comparison_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 24%] Linking CXX executable test-comparison_cpp20 +[ 24%] Built target test-comparison_cpp20 +[ 25%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 26%] Linking CXX executable test-concepts_cpp11 +[ 26%] Built target test-concepts_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1_cpp11 +[ 27%] Built target test-constructor1_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 29%] Linking CXX executable test-constructor2_cpp11 +[ 29%] Built target test-constructor2_cpp11 +[ 29%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience_cpp11 +[ 30%] Built target test-convenience_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions_cpp11 +[ 32%] Built target test-conversions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 33%] Linking CXX executable test-conversions_cpp17 +[ 33%] Built target test-conversions_cpp17 +[ 34%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization_cpp11 +[ 34%] Built target test-deserialization_cpp11 +[ 35%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 36%] Linking CXX executable test-diagnostics_cpp11 +[ 36%] Built target test-diagnostics_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 37%] Built target test-disabled_exceptions_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1_cpp11 +[ 39%] Built target test-element_access1_cpp11 +[ 40%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2_cpp11 +[ 40%] Built target test-element_access2_cpp11 +[ 41%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 42%] Linking CXX executable test-element_access2_cpp17 +[ 42%] Built target test-element_access2_cpp17 +[ 42%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 43%] Linking CXX executable test-hash_cpp11 +[ 43%] Built target test-hash_cpp11 +[ 44%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 45%] Linking CXX executable test-inspection_cpp11 +[ 45%] Built target test-inspection_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items_cpp11 +[ 46%] Built target test-items_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 48%] Linking CXX executable test-items_cpp17 +[ 48%] Built target test-items_cpp17 +[ 48%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 49%] Linking CXX executable test-iterators1_cpp11 +[ 49%] Built target test-iterators1_cpp11 +[ 50%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 50%] Linking CXX executable test-iterators2_cpp11 +[ 50%] Built target test-iterators2_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 52%] Linking CXX executable test-iterators2_cpp20 +[ 52%] Built target test-iterators2_cpp20 +[ 53%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 53%] Linking CXX executable test-json_patch_cpp11 +[ 53%] Built target test-json_patch_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 55%] Linking CXX executable test-json_pointer_cpp11 +[ 55%] Built target test-json_pointer_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 56%] Linking CXX executable test-large_json_cpp11 +[ 56%] Built target test-large_json_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 58%] Linking CXX executable test-merge_patch_cpp11 +[ 58%] Built target test-merge_patch_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 59%] Linking CXX executable test-meta_cpp11 +[ 59%] Built target test-meta_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 61%] Linking CXX executable test-modifiers_cpp11 +[ 61%] Built target test-modifiers_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack_cpp11 +[ 62%] Built target test-msgpack_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept_cpp11 +[ 63%] Built target test-noexcept_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json_cpp11 +[ 65%] Built target test-ordered_json_cpp11 +[ 66%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 66%] Linking CXX executable test-ordered_map_cpp11 +[ 66%] Built target test-ordered_map_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 68%] Linking CXX executable test-pointer_access_cpp11 +[ 68%] Built target test-pointer_access_cpp11 +[ 69%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 69%] Linking CXX executable test-readme_cpp11 +[ 69%] Built target test-readme_cpp11 +[ 70%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 71%] Linking CXX executable test-reference_access_cpp11 +[ 71%] Built target test-reference_access_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 72%] Linking CXX executable test-regression1_cpp11 +[ 72%] Built target test-regression1_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1_cpp17 +[ 74%] Built target test-regression1_cpp17 +[ 74%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 75%] Linking CXX executable test-regression2_cpp11 +[ 75%] Built target test-regression2_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2_cpp17 +[ 76%] Built target test-regression2_cpp17 +[ 77%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 78%] Linking CXX executable test-regression2_cpp20 +[ 78%] Built target test-regression2_cpp20 +[ 79%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 79%] Linking CXX executable test-serialization_cpp11 +[ 79%] Built target test-serialization_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 81%] Linking CXX executable test-testsuites_cpp11 +[ 81%] Built target test-testsuites_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 82%] Linking CXX executable test-to_chars_cpp11 +[ 82%] Built target test-to_chars_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 84%] Linking CXX executable test-ubjson_cpp11 +[ 84%] Built target test-ubjson_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 85%] Linking CXX executable test-udt_cpp11 +[ 85%] Built target test-udt_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 87%] Linking CXX executable test-udt_macro_cpp11 +[ 87%] Built target test-udt_macro_cpp11 +[ 87%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1_cpp11 +[ 88%] Built target test-unicode1_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2_cpp11 +[ 90%] Built target test-unicode2_cpp11 +[ 90%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3_cpp11 +[ 91%] Built target test-unicode3_cpp11 +[ 92%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 92%] Linking CXX executable test-unicode4_cpp11 +[ 92%] Built target test-unicode4_cpp11 +[ 93%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 94%] Linking CXX executable test-unicode5_cpp11 +[ 94%] Built target test-unicode5_cpp11 +[ 95%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 95%] Linking CXX executable test-user_defined_input_cpp11 +[ 95%] Built target test-user_defined_input_cpp11 +[ 96%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 97%] Linking CXX executable test-wstring_cpp11 +[ 97%] Built target test-wstring_cpp11 +[ 98%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 99%] Linking CXX executable test-comparison_legacy_cpp11 +[ 99%] Built target test-comparison_legacy_cpp11 +[100%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[100%] Linking CXX executable test-comparison_legacy_cpp20 +[100%] Built target test-comparison_legacy_cpp20 +Test project /home/json/build + Start 1: download_test_data + 1/81 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/81 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/81 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/81 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/81 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/81 Test #6: test-binary_formats_cpp11 .................... Passed 20.44 sec + Start 7: test-bjdata_cpp11 + 7/81 Test #7: test-bjdata_cpp11 ............................***Failed 10.05 sec + Start 8: test-bson_cpp11 + 8/81 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/81 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/81 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/81 Test #11: test-cbor_cpp11 .............................. Passed 40.00 sec + Start 12: test-class_const_iterator_cpp11 +12/81 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/81 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/81 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/81 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/81 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/81 Test #17: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 18: test-concepts_cpp11 +18/81 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/81 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/81 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/81 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/81 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/81 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/81 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/81 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/81 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/81 Test #27: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 28: test-element_access2_cpp11 +28/81 Test #28: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 29: test-element_access2_cpp17 +29/81 Test #29: test-element_access2_cpp17 ................... Passed 0.01 sec + Start 30: test-hash_cpp11 +30/81 Test #30: test-hash_cpp11 .............................. Passed 0.00 sec + Start 31: test-inspection_cpp11 +31/81 Test #31: test-inspection_cpp11 ........................ Passed 5.55 sec + Start 32: test-items_cpp11 +32/81 Test #32: test-items_cpp11 ............................. Passed 0.00 sec + Start 33: test-items_cpp17 +33/81 Test #33: test-items_cpp17 ............................. Passed 0.00 sec + Start 34: test-iterators1_cpp11 +34/81 Test #34: test-iterators1_cpp11 ........................ Passed 0.01 sec + Start 35: test-iterators2_cpp11 +35/81 Test #35: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 36: test-iterators2_cpp20 +36/81 Test #36: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 37: test-json_patch_cpp11 +37/81 Test #37: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 38: test-json_pointer_cpp11 +38/81 Test #38: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 39: test-large_json_cpp11 +39/81 Test #39: test-large_json_cpp11 ........................ Passed 5.33 sec + Start 40: test-merge_patch_cpp11 +40/81 Test #40: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 41: test-meta_cpp11 +41/81 Test #41: test-meta_cpp11 .............................. Passed 0.00 sec + Start 42: test-modifiers_cpp11 +42/81 Test #42: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 43: test-msgpack_cpp11 +43/81 Test #43: test-msgpack_cpp11 ........................... Passed 39.66 sec + Start 44: test-noexcept_cpp11 +44/81 Test #44: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 45: test-ordered_json_cpp11 +45/81 Test #45: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 46: test-ordered_map_cpp11 +46/81 Test #46: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 47: test-pointer_access_cpp11 +47/81 Test #47: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 48: test-readme_cpp11 +48/81 Test #48: test-readme_cpp11 ............................ Passed 0.00 sec + Start 49: test-reference_access_cpp11 +49/81 Test #49: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 50: test-regression1_cpp11 +50/81 Test #50: test-regression1_cpp11 ....................... Passed 6.22 sec + Start 51: test-regression1_cpp17 +51/81 Test #51: test-regression1_cpp17 ....................... Passed 7.54 sec + Start 52: test-regression2_cpp11 +52/81 Test #52: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 53: test-regression2_cpp17 +53/81 Test #53: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 54: test-regression2_cpp20 +54/81 Test #54: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 55: test-serialization_cpp11 +55/81 Test #55: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 56: test-testsuites_cpp11 +56/81 Test #56: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 57: test-to_chars_cpp11 +57/81 Test #57: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 58: test-ubjson_cpp11 +58/81 Test #58: test-ubjson_cpp11 ............................ Passed 13.04 sec + Start 59: test-udt_cpp11 +59/81 Test #59: test-udt_cpp11 ............................... Passed 0.00 sec + Start 60: test-udt_macro_cpp11 +60/81 Test #60: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 61: test-unicode1_cpp11 +61/81 Test #61: test-unicode1_cpp11 .......................... Passed 5.81 sec + Start 62: test-unicode2_cpp11 +62/81 Test #62: test-unicode2_cpp11 .......................... Passed 11.25 sec + Start 63: test-unicode3_cpp11 +63/81 Test #63: test-unicode3_cpp11 .......................... Passed 39.27 sec + Start 64: test-unicode4_cpp11 +64/81 Test #64: test-unicode4_cpp11 .......................... Passed 130.91 sec + Start 65: test-unicode5_cpp11 +65/81 Test #65: test-unicode5_cpp11 .......................... Passed 30.99 sec + Start 66: test-user_defined_input_cpp11 +66/81 Test #66: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 67: test-wstring_cpp11 +67/81 Test #67: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 68: test-comparison_legacy_cpp11 +68/81 Test #68: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 69: test-comparison_legacy_cpp20 +69/81 Test #69: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 70: cmake_import_configure +70/81 Test #70: cmake_import_configure ....................... Passed 0.19 sec + Start 71: cmake_import_build +71/81 Test #71: cmake_import_build ........................... Passed 2.72 sec + Start 72: cmake_import_minver_configure +72/81 Test #72: cmake_import_minver_configure ................ Passed 0.18 sec + Start 73: cmake_import_minver_build +73/81 Test #73: cmake_import_minver_build .................... Passed 1.39 sec + Start 74: cmake_add_subdirectory_configure +74/81 Test #74: cmake_add_subdirectory_configure ............. Passed 0.20 sec + Start 75: cmake_add_subdirectory_build +75/81 Test #75: cmake_add_subdirectory_build ................. Passed 4.03 sec + Start 76: cmake_fetch_content_configure +76/81 Test #76: cmake_fetch_content_configure ................ Passed 0.88 sec + Start 77: cmake_fetch_content_build +77/81 Test #77: cmake_fetch_content_build .................... Passed 2.70 sec + Start 78: cmake_fetch_content2_configure +78/81 Test #78: cmake_fetch_content2_configure ............... Passed 0.63 sec + Start 79: cmake_fetch_content2_build +79/81 Test #79: cmake_fetch_content2_build ................... Passed 2.75 sec + Start 80: cmake_target_include_directories_configure +80/81 Test #80: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 81: cmake_target_include_directories_build +81/81 Test #81: cmake_target_include_directories_build ....... Passed 4.86 sec + +99% tests passed, 1 tests failed out of 81 + +Label Time Summary: +all = 366.41 sec*proc (68 tests) +git_required = 6.96 sec*proc (4 tests) +not_reproducible = 20.73 sec*proc (12 tests) + +Total Test time (real) = 387.24 sec + +The following tests FAILED: + 7 - test-bjdata_cpp11 (Failed) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/fix.patch new file mode 100644 index 000000000..d312769a3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/fix.patch @@ -0,0 +1,13 @@ +diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp +index d259e044..8d39ecc8 100644 +--- a/include/nlohmann/detail/input/binary_reader.hpp ++++ b/include/nlohmann/detail/input/binary_reader.hpp +@@ -2650,7 +2650,7 @@ class binary_reader + { + // get size of following number string + std::size_t size{}; +- bool inside_ndarray = false; ++ bool inside_ndarray = true; + auto res = get_ubjson_size_value(size, inside_ndarray); + if (JSON_HEDLEY_UNLIKELY(!res)) + { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/report.json new file mode 100644 index 000000000..e784ee912 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3514/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3514, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (81, 0, 0)\n test = (80, 0, 0)\n fix = (80, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 80, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 80, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/fix-patch-run.log new file mode 100644 index 000000000..dfd58d282 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/fix-patch-run.log @@ -0,0 +1,2621 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6946 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (17.1 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (18.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6814 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.H1BUbGEa +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.H1BUbGEa/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.H1BUbGEa/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.H1BUbGEa/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.H1BUbGEa/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.H1BUbGEa/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.H1BUbGEa +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=7815d779a473 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.ZQgWfjxZNh/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/CMakeLists.txt +patching file tests/src/unit-32bit.cpp +patching file tests/src/unit-bjdata.cpp +patching file include/nlohmann/detail/input/binary_reader.hpp +patching file include/nlohmann/detail/output/binary_writer.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 7815d779a473 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string_cpp11 +[ 6%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 8%] Linking CXX executable test-binary_formats_cpp11 +[ 8%] Built target test-binary_formats_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +/home/json/tests/src/unit-bjdata.cpp: In function 'void _DOCTEST_ANON_TMP_2()': +/home/json/tests/src/unit-bjdata.cpp:133:29: error: 'value_in_range_of' has not been declared in 'nlohmann::detail' + 133 | using nlohmann::detail::value_in_range_of; + | ^~~~~~~~~~~~~~~~~ +In file included from /home/json/tests/thirdparty/doctest/doctest_compatibility.h:6, + from /home/json/tests/src/unit-bjdata.cpp:30: +/home/json/tests/src/unit-bjdata.cpp:174:15: error: 'value_in_range_of' was not declared in this scope + 174 | CHECK(value_in_range_of(val_min)); + | ^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:174:9: note: in expansion of macro 'CHECK' + 174 | CHECK(value_in_range_of(val_min)); + | ^~~~~ +/home/json/tests/src/unit-bjdata.cpp:174:40: error: expected primary-expression before '>' token + 174 | CHECK(value_in_range_of(val_min)); + | ^ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:174:9: note: in expansion of macro 'CHECK' + 174 | CHECK(value_in_range_of(val_min)); + | ^~~~~ +/home/json/tests/src/unit-bjdata.cpp:175:40: error: expected primary-expression before '>' token + 175 | CHECK(value_in_range_of(val_min2)); + | ^ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:175:9: note: in expansion of macro 'CHECK' + 175 | CHECK(value_in_range_of(val_min2)); + | ^~~~~ +/home/json/tests/src/unit-bjdata.cpp:179:21: error: 'value_in_range_of' was not declared in this scope + 179 | CHECK_FALSE(value_in_range_of(val_min)); + | ^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2574:26: note: in expansion of macro 'DOCTEST_CHECK_FALSE' + 2574 | #define CHECK_FALSE(...) DOCTEST_CHECK_FALSE(__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:179:9: note: in expansion of macro 'CHECK_FALSE' + 179 | CHECK_FALSE(value_in_range_of(val_min)); + | ^~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:179:46: error: expected primary-expression before '>' token + 179 | CHECK_FALSE(value_in_range_of(val_min)); + | ^ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2574:26: note: in expansion of macro 'DOCTEST_CHECK_FALSE' + 2574 | #define CHECK_FALSE(...) DOCTEST_CHECK_FALSE(__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:179:9: note: in expansion of macro 'CHECK_FALSE' + 179 | CHECK_FALSE(value_in_range_of(val_min)); + | ^~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:180:46: error: expected primary-expression before '>' token + 180 | CHECK_FALSE(value_in_range_of(val_min2)); + | ^ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2574:26: note: in expansion of macro 'DOCTEST_CHECK_FALSE' + 2574 | #define CHECK_FALSE(...) DOCTEST_CHECK_FALSE(__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:180:9: note: in expansion of macro 'CHECK_FALSE' + 180 | CHECK_FALSE(value_in_range_of(val_min2)); + | ^~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:185:15: error: 'value_in_range_of' was not declared in this scope + 185 | CHECK(value_in_range_of(val_max)); + | ^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:185:9: note: in expansion of macro 'CHECK' + 185 | CHECK(value_in_range_of(val_max)); + | ^~~~~ +/home/json/tests/src/unit-bjdata.cpp:185:40: error: expected primary-expression before '>' token + 185 | CHECK(value_in_range_of(val_max)); + | ^ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:185:9: note: in expansion of macro 'CHECK' + 185 | CHECK(value_in_range_of(val_max)); + | ^~~~~ +/home/json/tests/src/unit-bjdata.cpp:186:40: error: expected primary-expression before '>' token + 186 | CHECK(value_in_range_of(val_max2)); + | ^ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:186:9: note: in expansion of macro 'CHECK' + 186 | CHECK(value_in_range_of(val_max2)); + | ^~~~~ +/home/json/tests/src/unit-bjdata.cpp:190:21: error: 'value_in_range_of' was not declared in this scope + 190 | CHECK_FALSE(value_in_range_of(val_max)); + | ^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2574:26: note: in expansion of macro 'DOCTEST_CHECK_FALSE' + 2574 | #define CHECK_FALSE(...) DOCTEST_CHECK_FALSE(__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:190:9: note: in expansion of macro 'CHECK_FALSE' + 190 | CHECK_FALSE(value_in_range_of(val_max)); + | ^~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:190:46: error: expected primary-expression before '>' token + 190 | CHECK_FALSE(value_in_range_of(val_max)); + | ^ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2574:26: note: in expansion of macro 'DOCTEST_CHECK_FALSE' + 2574 | #define CHECK_FALSE(...) DOCTEST_CHECK_FALSE(__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:190:9: note: in expansion of macro 'CHECK_FALSE' + 190 | CHECK_FALSE(value_in_range_of(val_max)); + | ^~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:191:46: error: expected primary-expression before '>' token + 191 | CHECK_FALSE(value_in_range_of(val_max2)); + | ^ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2574:26: note: in expansion of macro 'DOCTEST_CHECK_FALSE' + 2574 | #define CHECK_FALSE(...) DOCTEST_CHECK_FALSE(__VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-bjdata.cpp:191:9: note: in expansion of macro 'CHECK_FALSE' + 191 | CHECK_FALSE(value_in_range_of(val_max2)); + | ^~~~~~~~~~~ +gmake[2]: *** [tests/CMakeFiles/test-bjdata_cpp11.dir/build.make:76: tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:1280: tests/CMakeFiles/test-bjdata_cpp11.dir/all] Error 2 +gmake: *** [Makefile:146: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/81 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/81 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/81 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/81 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/81 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/81 Test #6: test-binary_formats_cpp11 .................... Passed 20.49 sec + Start 7: test-bjdata_cpp11 +Could not find executable /home/json/build/tests/test-bjdata_cpp11 +Looked in the following places: +/home/json/build/tests/test-bjdata_cpp11 +Unable to find executable: /home/json/build/tests/test-bjdata_cpp11 +/home/json/build/tests/test-bjdata_cpp11 +/home/json/build/tests/Release/test-bjdata_cpp11 +/home/json/build/tests/Release/test-bjdata_cpp11 +/home/json/build/tests/Debug/test-bjdata_cpp11 +/home/json/build/tests/Debug/test-bjdata_cpp11 +/home/json/build/tests/MinSizeRel/test-bjdata_cpp11 +/home/json/build/tests/MinSizeRel/test-bjdata_cpp11 +/home/json/build/tests/RelWithDebInfo/test-bjdata_cpp11 +/home/json/build/tests/RelWithDebInfo/test-bjdata_cpp11 +/home/json/build/tests/Deployment/test-bjdata_cpp11 +/home/json/build/tests/Deployment/test-bjdata_cpp11 +/home/json/build/tests/Development/test-bjdata_cpp11 +/home/json/build/tests/Development/test-bjdata_cpp11 +home/json/build/tests/test-bjdata_cpp11 +home/json/build/tests/test-bjdata_cpp11 +home/json/build/tests/Release/test-bjdata_cpp11 +home/json/build/tests/Release/test-bjdata_cpp11 +home/json/build/tests/Debug/test-bjdata_cpp11 +home/json/build/tests/Debug/test-bjdata_cpp11 +home/json/build/tests/MinSizeRel/test-bjdata_cpp11 +home/json/build/tests/MinSizeRel/test-bjdata_cpp11 +home/json/build/tests/RelWithDebInfo/test-bjdata_cpp11 +home/json/build/tests/RelWithDebInfo/test-bjdata_cpp11 +home/json/build/tests/Deployment/test-bjdata_cpp11 +home/json/build/tests/Deployment/test-bjdata_cpp11 +home/json/build/tests/Development/test-bjdata_cpp11 +home/json/build/tests/Development/test-bjdata_cpp11 + 7/81 Test #7: test-bjdata_cpp11 ............................***Not Run 0.00 sec + Start 8: test-bson_cpp11 +Could not find executable /home/json/build/tests/test-bson_cpp11 +Looked in the following places: +/home/json/build/tests/test-bson_cpp11 +/home/json/build/tests/test-bson_cpp11 +/home/json/build/tests/Release/test-bson_cpp11 +/home/json/build/tests/Release/test-bson_cpp11 +/home/json/build/tests/Debug/test-bson_cpp11 +/home/json/build/tests/Debug/test-bson_cpp11 +/home/json/build/tests/MinSizeRel/test-bson_cpp11 +/home/json/build/tests/MinSizeRel/test-bson_cpp11 +/home/json/build/tests/RelWithDebInfo/test-bson_cpp11 +/home/json/build/tests/RelWithDebInfo/test-bson_cpp11 +/home/json/build/tests/Deployment/test-bson_cpp11 +/home/json/build/tests/Deployment/test-bson_cpp11 +/home/json/build/tests/Development/test-bson_cpp11 +/home/json/build/tests/Development/test-bson_cpp11 +home/json/build/tests/test-bson_cpp11 +home/json/build/tests/test-bson_cpp11 +home/json/build/tests/Release/test-bson_cpp11 +home/json/build/tests/Release/test-bson_cpp11 +home/json/build/tests/Debug/test-bson_cpp11 +home/json/build/tests/Debug/test-bson_cpp11 +home/json/build/tests/MinSizeRel/test-bson_cpp11 +home/json/build/tests/MinSizeRel/test-bson_cpp11 +home/json/build/tests/RelWithDebInfo/test-bson_cpp11 +home/json/build/tests/RelWithDebInfo/test-bson_cpp11 +home/json/build/tests/Deployment/test-bson_cpp11 +home/json/build/tests/Deployment/test-bson_cpp11 +home/json/build/tests/Development/test-bson_cpp11 +home/json/build/tests/Development/test-bson_cpp11 + 8/81 Test #8: test-bson_cpp11 ..............................***Not Run 0.00 sec + Start 9: test-byte_container_with_subtype_cpp11 +Unable to find executable: /home/json/build/tests/test-bson_cpp11 +Could not find executable /home/json/build/tests/test-byte_container_with_subtype_cpp11 +Looked in the following places: +/home/json/build/tests/test-byte_container_with_subtype_cpp11 +Unable to find executable: /home/json/build/tests/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/Release/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/Release/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/Debug/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/Debug/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/MinSizeRel/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/MinSizeRel/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/RelWithDebInfo/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/RelWithDebInfo/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/Deployment/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/Deployment/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/Development/test-byte_container_with_subtype_cpp11 +/home/json/build/tests/Development/test-byte_container_with_subtype_cpp11 +home/json/build/tests/test-byte_container_with_subtype_cpp11 +home/json/build/tests/test-byte_container_with_subtype_cpp11 +home/json/build/tests/Release/test-byte_container_with_subtype_cpp11 +home/json/build/tests/Release/test-byte_container_with_subtype_cpp11 +home/json/build/tests/Debug/test-byte_container_with_subtype_cpp11 +home/json/build/tests/Debug/test-byte_container_with_subtype_cpp11 +home/json/build/tests/MinSizeRel/test-byte_container_with_subtype_cpp11 +home/json/build/tests/MinSizeRel/test-byte_container_with_subtype_cpp11 +home/json/build/tests/RelWithDebInfo/test-byte_container_with_subtype_cpp11 +home/json/build/tests/RelWithDebInfo/test-byte_container_with_subtype_cpp11 +home/json/build/tests/Deployment/test-byte_container_with_subtype_cpp11 +home/json/build/tests/Deployment/test-byte_container_with_subtype_cpp11 +home/json/build/tests/Development/test-byte_container_with_subtype_cpp11 +home/json/build/tests/Development/test-byte_container_with_subtype_cpp11 + 9/81 Test #9: test-byte_container_with_subtype_cpp11 .......***Not Run 0.00 sec + Start 10: test-capacity_cpp11 +Could not find executable /home/json/build/tests/test-capacity_cpp11 +Looked in the following places: +/home/json/build/tests/test-capacity_cpp11 +/home/json/build/tests/test-capacity_cpp11 +/home/json/build/tests/Release/test-capacity_cpp11 +/home/json/build/tests/Release/test-capacity_cpp11 +/home/json/build/tests/Debug/test-capacity_cpp11 +/home/json/build/tests/Debug/test-capacity_cpp11 +/home/json/build/tests/MinSizeRel/test-capacity_cpp11 +/home/json/build/tests/MinSizeRel/test-capacity_cpp11 +/home/json/build/tests/RelWithDebInfo/test-capacity_cpp11 +/home/json/build/tests/RelWithDebInfo/test-capacity_cpp11 +/home/json/build/tests/Deployment/test-capacity_cpp11 +/home/json/build/tests/Deployment/test-capacity_cpp11 +/home/json/build/tests/Development/test-capacity_cpp11 +/home/json/build/tests/Development/test-capacity_cpp11 +home/json/build/tests/test-capacity_cpp11 +home/json/build/tests/test-capacity_cpp11 +home/json/build/tests/Release/test-capacity_cpp11 +home/json/build/tests/Release/test-capacity_cpp11 +home/json/build/tests/Debug/test-capacity_cpp11 +home/json/build/tests/Debug/test-capacity_cpp11 +home/json/build/tests/MinSizeRel/test-capacity_cpp11 +home/json/build/tests/MinSizeRel/test-capacity_cpp11 +home/json/build/tests/RelWithDebInfo/test-capacity_cpp11 +home/json/build/tests/RelWithDebInfo/test-capacity_cpp11 +home/json/build/tests/Deployment/test-capacity_cpp11 +Unable to find executable: /home/json/build/tests/test-capacity_cpp11 +home/json/build/tests/Deployment/test-capacity_cpp11 +home/json/build/tests/Development/test-capacity_cpp11 +home/json/build/tests/Development/test-capacity_cpp11 +10/81 Test #10: test-capacity_cpp11 ..........................***Not Run 0.00 sec + Start 11: test-cbor_cpp11 +Could not find executable /home/json/build/tests/test-cbor_cpp11 +Looked in the following places: +/home/json/build/tests/test-cbor_cpp11 +/home/json/build/tests/test-cbor_cpp11 +/home/json/build/tests/Release/test-cbor_cpp11 +/home/json/build/tests/Release/test-cbor_cpp11 +/home/json/build/tests/Debug/test-cbor_cpp11 +/home/json/build/tests/Debug/test-cbor_cpp11 +/home/json/build/tests/MinSizeRel/test-cbor_cpp11 +/home/json/build/tests/MinSizeRel/test-cbor_cpp11 +/home/json/build/tests/RelWithDebInfo/test-cbor_cpp11 +/home/json/build/tests/RelWithDebInfo/test-cbor_cpp11 +/home/json/build/tests/Deployment/test-cbor_cpp11 +/home/json/build/tests/Deployment/test-cbor_cpp11 +/home/json/build/tests/Development/test-cbor_cpp11 +/home/json/build/tests/Development/test-cbor_cpp11 +home/json/build/tests/test-cbor_cpp11 +home/json/build/tests/test-cbor_cpp11 +home/json/build/tests/Release/test-cbor_cpp11 +home/json/build/tests/Release/test-cbor_cpp11 +home/json/build/tests/Debug/test-cbor_cpp11 +home/json/build/tests/Debug/test-cbor_cpp11 +home/json/build/tests/MinSizeRel/test-cbor_cpp11 +home/json/build/tests/MinSizeRel/test-cbor_cpp11 +home/json/build/tests/RelWithDebInfo/test-cbor_cpp11 +home/json/build/tests/RelWithDebInfo/test-cbor_cpp11 +home/json/build/tests/Deployment/test-cbor_cpp11 +home/json/build/tests/Deployment/test-cbor_cpp11 +home/json/build/tests/Development/test-cbor_cpp11 +home/json/build/tests/Development/test-cbor_cpp11 +11/81 Test #11: test-cbor_cpp11 ..............................***Not Run 0.00 sec + Start 12: test-class_const_iterator_cpp11 +Unable to find executable: /home/json/build/tests/test-cbor_cpp11 +Could not find executable /home/json/build/tests/test-class_const_iterator_cpp11 +Looked in the following places: +/home/json/build/tests/test-class_const_iterator_cpp11 +/home/json/build/tests/test-class_const_iterator_cpp11 +/home/json/build/tests/Release/test-class_const_iterator_cpp11 +/home/json/build/tests/Release/test-class_const_iterator_cpp11 +/home/json/build/tests/Debug/test-class_const_iterator_cpp11 +/home/json/build/tests/Debug/test-class_const_iterator_cpp11 +/home/json/build/tests/MinSizeRel/test-class_const_iterator_cpp11 +/home/json/build/tests/MinSizeRel/test-class_const_iterator_cpp11 +/home/json/build/tests/RelWithDebInfo/test-class_const_iterator_cpp11 +/home/json/build/tests/RelWithDebInfo/test-class_const_iterator_cpp11 +/home/json/build/tests/Deployment/test-class_const_iterator_cpp11 +/home/json/build/tests/Deployment/test-class_const_iterator_cpp11 +Unable to find executable: /home/json/build/tests/test-class_const_iterator_cpp11 +/home/json/build/tests/Development/test-class_const_iterator_cpp11 +/home/json/build/tests/Development/test-class_const_iterator_cpp11 +home/json/build/tests/test-class_const_iterator_cpp11 +home/json/build/tests/test-class_const_iterator_cpp11 +home/json/build/tests/Release/test-class_const_iterator_cpp11 +home/json/build/tests/Release/test-class_const_iterator_cpp11 +home/json/build/tests/Debug/test-class_const_iterator_cpp11 +home/json/build/tests/Debug/test-class_const_iterator_cpp11 +home/json/build/tests/MinSizeRel/test-class_const_iterator_cpp11 +home/json/build/tests/MinSizeRel/test-class_const_iterator_cpp11 +home/json/build/tests/RelWithDebInfo/test-class_const_iterator_cpp11 +home/json/build/tests/RelWithDebInfo/test-class_const_iterator_cpp11 +home/json/build/tests/Deployment/test-class_const_iterator_cpp11 +home/json/build/tests/Deployment/test-class_const_iterator_cpp11 +home/json/build/tests/Development/test-class_const_iterator_cpp11 +home/json/build/tests/Development/test-class_const_iterator_cpp11 +12/81 Test #12: test-class_const_iterator_cpp11 ..............***Not Run 0.00 sec + Start 13: test-class_iterator_cpp11 +Could not find executable /home/json/build/tests/test-class_iterator_cpp11 +Looked in the following places: +/home/json/build/tests/test-class_iterator_cpp11 +/home/json/build/tests/test-class_iterator_cpp11 +/home/json/build/tests/Release/test-class_iterator_cpp11 +/home/json/build/tests/Release/test-class_iterator_cpp11 +/home/json/build/tests/Debug/test-class_iterator_cpp11 +/home/json/build/tests/Debug/test-class_iterator_cpp11 +/home/json/build/tests/MinSizeRel/test-class_iterator_cpp11 +/home/json/build/tests/MinSizeRel/test-class_iterator_cpp11 +/home/json/build/tests/RelWithDebInfo/test-class_iterator_cpp11 +/home/json/build/tests/RelWithDebInfo/test-class_iterator_cpp11 +/home/json/build/tests/Deployment/test-class_iterator_cpp11 +/home/json/build/tests/Deployment/test-class_iterator_cpp11 +/home/json/build/tests/Development/test-class_iterator_cpp11 +/home/json/build/tests/Development/test-class_iterator_cpp11 +home/json/build/tests/test-class_iterator_cpp11 +home/json/build/tests/test-class_iterator_cpp11 +home/json/build/tests/Release/test-class_iterator_cpp11 +home/json/build/tests/Release/test-class_iterator_cpp11 +home/json/build/tests/Debug/test-class_iterator_cpp11 +home/json/build/tests/Debug/test-class_iterator_cpp11 +home/json/build/tests/MinSizeRel/test-class_iterator_cpp11 +home/json/build/tests/MinSizeRel/test-class_iterator_cpp11 +home/json/build/tests/RelWithDebInfo/test-class_iterator_cpp11 +home/json/build/tests/RelWithDebInfo/test-class_iterator_cpp11 +home/json/build/tests/Deployment/test-class_iterator_cpp11 +home/json/build/tests/Deployment/test-class_iterator_cpp11 +home/json/build/tests/Development/test-class_iterator_cpp11 +home/json/build/tests/Development/test-class_iterator_cpp11 +Unable to find executable: /home/json/build/tests/test-class_iterator_cpp11 +13/81 Test #13: test-class_iterator_cpp11 ....................***Not Run 0.00 sec + Start 14: test-class_lexer_cpp11 +Could not find executable /home/json/build/tests/test-class_lexer_cpp11 +Looked in the following places: +/home/json/build/tests/test-class_lexer_cpp11 +/home/json/build/tests/test-class_lexer_cpp11 +/home/json/build/tests/Release/test-class_lexer_cpp11 +/home/json/build/tests/Release/test-class_lexer_cpp11 +/home/json/build/tests/Debug/test-class_lexer_cpp11 +/home/json/build/tests/Debug/test-class_lexer_cpp11 +/home/json/build/tests/MinSizeRel/test-class_lexer_cpp11 +/home/json/build/tests/MinSizeRel/test-class_lexer_cpp11 +/home/json/build/tests/RelWithDebInfo/test-class_lexer_cpp11 +/home/json/build/tests/RelWithDebInfo/test-class_lexer_cpp11 +/home/json/build/tests/Deployment/test-class_lexer_cpp11 +/home/json/build/tests/Deployment/test-class_lexer_cpp11 +/home/json/build/tests/Development/test-class_lexer_cpp11 +/home/json/build/tests/Development/test-class_lexer_cpp11 +home/json/build/tests/test-class_lexer_cpp11 +home/json/build/tests/test-class_lexer_cpp11 +home/json/build/tests/Release/test-class_lexer_cpp11 +home/json/build/tests/Release/test-class_lexer_cpp11 +home/json/build/tests/Debug/test-class_lexer_cpp11 +home/json/build/tests/Debug/test-class_lexer_cpp11 +home/json/build/tests/MinSizeRel/test-class_lexer_cpp11 +home/json/build/tests/MinSizeRel/test-class_lexer_cpp11 +home/json/build/tests/RelWithDebInfo/test-class_lexer_cpp11 +home/json/build/tests/RelWithDebInfo/test-class_lexer_cpp11 +home/json/build/tests/Deployment/test-class_lexer_cpp11 +Unable to find executable: /home/json/build/tests/test-class_lexer_cpp11 +home/json/build/tests/Deployment/test-class_lexer_cpp11 +home/json/build/tests/Development/test-class_lexer_cpp11 +home/json/build/tests/Development/test-class_lexer_cpp11 +14/81 Test #14: test-class_lexer_cpp11 .......................***Not Run 0.00 sec + Start 15: test-class_parser_cpp11 +Could not find executable /home/json/build/tests/test-class_parser_cpp11 +Looked in the following places: +/home/json/build/tests/test-class_parser_cpp11 +/home/json/build/tests/test-class_parser_cpp11 +/home/json/build/tests/Release/test-class_parser_cpp11 +/home/json/build/tests/Release/test-class_parser_cpp11 +/home/json/build/tests/Debug/test-class_parser_cpp11 +Unable to find executable: /home/json/build/tests/test-class_parser_cpp11 +/home/json/build/tests/Debug/test-class_parser_cpp11 +/home/json/build/tests/MinSizeRel/test-class_parser_cpp11 +/home/json/build/tests/MinSizeRel/test-class_parser_cpp11 +/home/json/build/tests/RelWithDebInfo/test-class_parser_cpp11 +/home/json/build/tests/RelWithDebInfo/test-class_parser_cpp11 +/home/json/build/tests/Deployment/test-class_parser_cpp11 +/home/json/build/tests/Deployment/test-class_parser_cpp11 +/home/json/build/tests/Development/test-class_parser_cpp11 +/home/json/build/tests/Development/test-class_parser_cpp11 +home/json/build/tests/test-class_parser_cpp11 +home/json/build/tests/test-class_parser_cpp11 +home/json/build/tests/Release/test-class_parser_cpp11 +home/json/build/tests/Release/test-class_parser_cpp11 +home/json/build/tests/Debug/test-class_parser_cpp11 +home/json/build/tests/Debug/test-class_parser_cpp11 +home/json/build/tests/MinSizeRel/test-class_parser_cpp11 +home/json/build/tests/MinSizeRel/test-class_parser_cpp11 +home/json/build/tests/RelWithDebInfo/test-class_parser_cpp11 +home/json/build/tests/RelWithDebInfo/test-class_parser_cpp11 +home/json/build/tests/Deployment/test-class_parser_cpp11 +home/json/build/tests/Deployment/test-class_parser_cpp11 +home/json/build/tests/Development/test-class_parser_cpp11 +home/json/build/tests/Development/test-class_parser_cpp11 +15/81 Test #15: test-class_parser_cpp11 ......................***Not Run 0.00 sec + Start 16: test-comparison_cpp11 +Could not find executable /home/json/build/tests/test-comparison_cpp11 +Looked in the following places: +/home/json/build/tests/test-comparison_cpp11 +/home/json/build/tests/test-comparison_cpp11 +/home/json/build/tests/Release/test-comparison_cpp11 +/home/json/build/tests/Release/test-comparison_cpp11 +/home/json/build/tests/Debug/test-comparison_cpp11 +/home/json/build/tests/Debug/test-comparison_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_cpp11 +/home/json/build/tests/Deployment/test-comparison_cpp11 +/home/json/build/tests/Deployment/test-comparison_cpp11 +/home/json/build/tests/Development/test-comparison_cpp11 +/home/json/build/tests/Development/test-comparison_cpp11 +home/json/build/tests/test-comparison_cpp11 +home/json/build/tests/test-comparison_cpp11 +home/json/build/tests/Release/test-comparison_cpp11 +home/json/build/tests/Release/test-comparison_cpp11 +home/json/build/tests/Debug/test-comparison_cpp11 +home/json/build/tests/Debug/test-comparison_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_cpp11 +home/json/build/tests/Deployment/test-comparison_cpp11 +home/json/build/tests/Deployment/test-comparison_cpp11 +home/json/build/tests/Development/test-comparison_cpp11 +home/json/build/tests/Development/test-comparison_cpp11 +Unable to find executable: /home/json/build/tests/test-comparison_cpp11 +Unable to find executable: /home/json/build/tests/test-comparison_cpp20 +16/81 Test #16: test-comparison_cpp11 ........................***Not Run 0.00 sec + Start 17: test-comparison_cpp20 +Could not find executable /home/json/build/tests/test-comparison_cpp20 +Looked in the following places: +/home/json/build/tests/test-comparison_cpp20 +/home/json/build/tests/test-comparison_cpp20 +/home/json/build/tests/Release/test-comparison_cpp20 +/home/json/build/tests/Release/test-comparison_cpp20 +/home/json/build/tests/Debug/test-comparison_cpp20 +/home/json/build/tests/Debug/test-comparison_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_cpp20 +/home/json/build/tests/Deployment/test-comparison_cpp20 +/home/json/build/tests/Deployment/test-comparison_cpp20 +/home/json/build/tests/Development/test-comparison_cpp20 +/home/json/build/tests/Development/test-comparison_cpp20 +home/json/build/tests/test-comparison_cpp20 +home/json/build/tests/test-comparison_cpp20 +home/json/build/tests/Release/test-comparison_cpp20 +home/json/build/tests/Release/test-comparison_cpp20 +home/json/build/tests/Debug/test-comparison_cpp20 +home/json/build/tests/Debug/test-comparison_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_cpp20 +home/json/build/tests/Deployment/test-comparison_cpp20 +home/json/build/tests/Deployment/test-comparison_cpp20 +home/json/build/tests/Development/test-comparison_cpp20 +home/json/build/tests/Development/test-comparison_cpp20 +17/81 Test #17: test-comparison_cpp20 ........................***Not Run 0.00 sec + Start 18: test-concepts_cpp11 +Could not find executable /home/json/build/tests/test-concepts_cpp11 +Looked in the following places: +/home/json/build/tests/test-concepts_cpp11 +/home/json/build/tests/test-concepts_cpp11 +/home/json/build/tests/Release/test-concepts_cpp11 +/home/json/build/tests/Release/test-concepts_cpp11 +/home/json/build/tests/Debug/test-concepts_cpp11 +/home/json/build/tests/Debug/test-concepts_cpp11 +/home/json/build/tests/MinSizeRel/test-concepts_cpp11 +/home/json/build/tests/MinSizeRel/test-concepts_cpp11 +/home/json/build/tests/RelWithDebInfo/test-concepts_cpp11 +/home/json/build/tests/RelWithDebInfo/test-concepts_cpp11 +/home/json/build/tests/Deployment/test-concepts_cpp11 +/home/json/build/tests/Deployment/test-concepts_cpp11 +/home/json/build/tests/Development/test-concepts_cpp11 +/home/json/build/tests/Development/test-concepts_cpp11 +home/json/build/tests/test-concepts_cpp11 +home/json/build/tests/test-concepts_cpp11 +Unable to find executable: /home/json/build/tests/test-concepts_cpp11 +home/json/build/tests/Release/test-concepts_cpp11 +home/json/build/tests/Release/test-concepts_cpp11 +home/json/build/tests/Debug/test-concepts_cpp11 +home/json/build/tests/Debug/test-concepts_cpp11 +home/json/build/tests/MinSizeRel/test-concepts_cpp11 +home/json/build/tests/MinSizeRel/test-concepts_cpp11 +home/json/build/tests/RelWithDebInfo/test-concepts_cpp11 +home/json/build/tests/RelWithDebInfo/test-concepts_cpp11 +home/json/build/tests/Deployment/test-concepts_cpp11 +home/json/build/tests/Deployment/test-concepts_cpp11 +home/json/build/tests/Development/test-concepts_cpp11 +home/json/build/tests/Development/test-concepts_cpp11 +18/81 Test #18: test-concepts_cpp11 ..........................***Not Run 0.00 sec + Start 19: test-constructor1_cpp11 +Could not find executable /home/json/build/tests/test-constructor1_cpp11 +Looked in the following places: +/home/json/build/tests/test-constructor1_cpp11 +/home/json/build/tests/test-constructor1_cpp11 +/home/json/build/tests/Release/test-constructor1_cpp11 +/home/json/build/tests/Release/test-constructor1_cpp11 +/home/json/build/tests/Debug/test-constructor1_cpp11 +/home/json/build/tests/Debug/test-constructor1_cpp11 +/home/json/build/tests/MinSizeRel/test-constructor1_cpp11 +/home/json/build/tests/MinSizeRel/test-constructor1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-constructor1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-constructor1_cpp11 +/home/json/build/tests/Deployment/test-constructor1_cpp11 +/home/json/build/tests/Deployment/test-constructor1_cpp11 +/home/json/build/tests/Development/test-constructor1_cpp11 +/home/json/build/tests/Development/test-constructor1_cpp11 +home/json/build/tests/test-constructor1_cpp11 +Unable to find executable: /home/json/build/tests/test-constructor1_cpp11 +home/json/build/tests/test-constructor1_cpp11 +home/json/build/tests/Release/test-constructor1_cpp11 +home/json/build/tests/Release/test-constructor1_cpp11 +home/json/build/tests/Debug/test-constructor1_cpp11 +home/json/build/tests/Debug/test-constructor1_cpp11 +home/json/build/tests/MinSizeRel/test-constructor1_cpp11 +home/json/build/tests/MinSizeRel/test-constructor1_cpp11 +home/json/build/tests/RelWithDebInfo/test-constructor1_cpp11 +home/json/build/tests/RelWithDebInfo/test-constructor1_cpp11 +home/json/build/tests/Deployment/test-constructor1_cpp11 +home/json/build/tests/Deployment/test-constructor1_cpp11 +home/json/build/tests/Development/test-constructor1_cpp11 +home/json/build/tests/Development/test-constructor1_cpp11 +19/81 Test #19: test-constructor1_cpp11 ......................***Not Run 0.00 sec + Start 20: test-constructor2_cpp11 +Could not find executable /home/json/build/tests/test-constructor2_cpp11 +Looked in the following places: +/home/json/build/tests/test-constructor2_cpp11 +/home/json/build/tests/test-constructor2_cpp11 +/home/json/build/tests/Release/test-constructor2_cpp11 +/home/json/build/tests/Release/test-constructor2_cpp11 +/home/json/build/tests/Debug/test-constructor2_cpp11 +/home/json/build/tests/Debug/test-constructor2_cpp11 +/home/json/build/tests/MinSizeRel/test-constructor2_cpp11 +/home/json/build/tests/MinSizeRel/test-constructor2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-constructor2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-constructor2_cpp11 +/home/json/build/tests/Deployment/test-constructor2_cpp11 +/home/json/build/tests/Deployment/test-constructor2_cpp11 +/home/json/build/tests/Development/test-constructor2_cpp11 +/home/json/build/tests/Development/test-constructor2_cpp11 +home/json/build/tests/test-constructor2_cpp11 +home/json/build/tests/test-constructor2_cpp11 +home/json/build/tests/Release/test-constructor2_cpp11 +home/json/build/tests/Release/test-constructor2_cpp11 +home/json/build/tests/Debug/test-constructor2_cpp11 +home/json/build/tests/Debug/test-constructor2_cpp11 +Unable to find executable: /home/json/build/tests/test-constructor2_cpp11 +home/json/build/tests/MinSizeRel/test-constructor2_cpp11 +home/json/build/tests/MinSizeRel/test-constructor2_cpp11 +home/json/build/tests/RelWithDebInfo/test-constructor2_cpp11 +home/json/build/tests/RelWithDebInfo/test-constructor2_cpp11 +home/json/build/tests/Deployment/test-constructor2_cpp11 +home/json/build/tests/Deployment/test-constructor2_cpp11 +home/json/build/tests/Development/test-constructor2_cpp11 +home/json/build/tests/Development/test-constructor2_cpp11 +20/81 Test #20: test-constructor2_cpp11 ......................***Not Run 0.00 sec + Start 21: test-convenience_cpp11 +Could not find executable /home/json/build/tests/test-convenience_cpp11 +Looked in the following places: +/home/json/build/tests/test-convenience_cpp11 +/home/json/build/tests/test-convenience_cpp11 +/home/json/build/tests/Release/test-convenience_cpp11 +/home/json/build/tests/Release/test-convenience_cpp11 +/home/json/build/tests/Debug/test-convenience_cpp11 +/home/json/build/tests/Debug/test-convenience_cpp11 +/home/json/build/tests/MinSizeRel/test-convenience_cpp11 +/home/json/build/tests/MinSizeRel/test-convenience_cpp11 +/home/json/build/tests/RelWithDebInfo/test-convenience_cpp11 +/home/json/build/tests/RelWithDebInfo/test-convenience_cpp11 +/home/json/build/tests/Deployment/test-convenience_cpp11 +/home/json/build/tests/Deployment/test-convenience_cpp11 +/home/json/build/tests/Development/test-convenience_cpp11 +/home/json/build/tests/Development/test-convenience_cpp11 +home/json/build/tests/test-convenience_cpp11 +home/json/build/tests/test-convenience_cpp11 +home/json/build/tests/Release/test-convenience_cpp11 +home/json/build/tests/Release/test-convenience_cpp11 +home/json/build/tests/Debug/test-convenience_cpp11 +home/json/build/tests/Debug/test-convenience_cpp11 +home/json/build/tests/MinSizeRel/test-convenience_cpp11 +home/json/build/tests/MinSizeRel/test-convenience_cpp11 +Unable to find executable: /home/json/build/tests/test-convenience_cpp11 +home/json/build/tests/RelWithDebInfo/test-convenience_cpp11 +home/json/build/tests/RelWithDebInfo/test-convenience_cpp11 +home/json/build/tests/Deployment/test-convenience_cpp11 +home/json/build/tests/Deployment/test-convenience_cpp11 +home/json/build/tests/Development/test-convenience_cpp11 +home/json/build/tests/Development/test-convenience_cpp11 +21/81 Test #21: test-convenience_cpp11 .......................***Not Run 0.00 sec + Start 22: test-conversions_cpp11 +Could not find executable /home/json/build/tests/test-conversions_cpp11 +Looked in the following places: +/home/json/build/tests/test-conversions_cpp11 +/home/json/build/tests/test-conversions_cpp11 +/home/json/build/tests/Release/test-conversions_cpp11 +/home/json/build/tests/Release/test-conversions_cpp11 +/home/json/build/tests/Debug/test-conversions_cpp11 +/home/json/build/tests/Debug/test-conversions_cpp11 +/home/json/build/tests/MinSizeRel/test-conversions_cpp11 +/home/json/build/tests/MinSizeRel/test-conversions_cpp11 +/home/json/build/tests/RelWithDebInfo/test-conversions_cpp11 +/home/json/build/tests/RelWithDebInfo/test-conversions_cpp11 +/home/json/build/tests/Deployment/test-conversions_cpp11 +/home/json/build/tests/Deployment/test-conversions_cpp11 +/home/json/build/tests/Development/test-conversions_cpp11 +/home/json/build/tests/Development/test-conversions_cpp11 +Unable to find executable: /home/json/build/tests/test-conversions_cpp11 +home/json/build/tests/test-conversions_cpp11 +home/json/build/tests/test-conversions_cpp11 +home/json/build/tests/Release/test-conversions_cpp11 +home/json/build/tests/Release/test-conversions_cpp11 +home/json/build/tests/Debug/test-conversions_cpp11 +home/json/build/tests/Debug/test-conversions_cpp11 +home/json/build/tests/MinSizeRel/test-conversions_cpp11 +home/json/build/tests/MinSizeRel/test-conversions_cpp11 +home/json/build/tests/RelWithDebInfo/test-conversions_cpp11 +home/json/build/tests/RelWithDebInfo/test-conversions_cpp11 +home/json/build/tests/Deployment/test-conversions_cpp11 +home/json/build/tests/Deployment/test-conversions_cpp11 +home/json/build/tests/Development/test-conversions_cpp11 +home/json/build/tests/Development/test-conversions_cpp11 +22/81 Test #22: test-conversions_cpp11 .......................***Not Run 0.00 sec + Start 23: test-conversions_cpp17 +Could not find executable /home/json/build/tests/test-conversions_cpp17 +Looked in the following places: +/home/json/build/tests/test-conversions_cpp17 +/home/json/build/tests/test-conversions_cpp17 +/home/json/build/tests/Release/test-conversions_cpp17 +/home/json/build/tests/Release/test-conversions_cpp17 +/home/json/build/tests/Debug/test-conversions_cpp17 +/home/json/build/tests/Debug/test-conversions_cpp17 +/home/json/build/tests/MinSizeRel/test-conversions_cpp17 +/home/json/build/tests/MinSizeRel/test-conversions_cpp17 +/home/json/build/tests/RelWithDebInfo/test-conversions_cpp17 +/home/json/build/tests/RelWithDebInfo/test-conversions_cpp17 +/home/json/build/tests/Deployment/test-conversions_cpp17 +/home/json/build/tests/Deployment/test-conversions_cpp17 +/home/json/build/tests/Development/test-conversions_cpp17 +/home/json/build/tests/Development/test-conversions_cpp17 +home/json/build/tests/test-conversions_cpp17 +home/json/build/tests/test-conversions_cpp17 +home/json/build/tests/Release/test-conversions_cpp17 +home/json/build/tests/Release/test-conversions_cpp17 +home/json/build/tests/Debug/test-conversions_cpp17 +home/json/build/tests/Debug/test-conversions_cpp17 +home/json/build/tests/MinSizeRel/test-conversions_cpp17 +home/json/build/tests/MinSizeRel/test-conversions_cpp17 +home/json/build/tests/RelWithDebInfo/test-conversions_cpp17 +home/json/build/tests/RelWithDebInfo/test-conversions_cpp17 +Unable to find executable: /home/json/build/tests/test-conversions_cpp17 +home/json/build/tests/Deployment/test-conversions_cpp17 +home/json/build/tests/Deployment/test-conversions_cpp17 +home/json/build/tests/Development/test-conversions_cpp17 +home/json/build/tests/Development/test-conversions_cpp17 +23/81 Test #23: test-conversions_cpp17 .......................***Not Run 0.00 sec + Start 24: test-deserialization_cpp11 +Could not find executable /home/json/build/tests/test-deserialization_cpp11 +Looked in the following places: +/home/json/build/tests/test-deserialization_cpp11 +/home/json/build/tests/test-deserialization_cpp11 +/home/json/build/tests/Release/test-deserialization_cpp11 +/home/json/build/tests/Release/test-deserialization_cpp11 +Unable to find executable: /home/json/build/tests/test-deserialization_cpp11 +/home/json/build/tests/Debug/test-deserialization_cpp11 +/home/json/build/tests/Debug/test-deserialization_cpp11 +/home/json/build/tests/MinSizeRel/test-deserialization_cpp11 +/home/json/build/tests/MinSizeRel/test-deserialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-deserialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-deserialization_cpp11 +/home/json/build/tests/Deployment/test-deserialization_cpp11 +/home/json/build/tests/Deployment/test-deserialization_cpp11 +/home/json/build/tests/Development/test-deserialization_cpp11 +/home/json/build/tests/Development/test-deserialization_cpp11 +home/json/build/tests/test-deserialization_cpp11 +home/json/build/tests/test-deserialization_cpp11 +home/json/build/tests/Release/test-deserialization_cpp11 +home/json/build/tests/Release/test-deserialization_cpp11 +home/json/build/tests/Debug/test-deserialization_cpp11 +home/json/build/tests/Debug/test-deserialization_cpp11 +home/json/build/tests/MinSizeRel/test-deserialization_cpp11 +home/json/build/tests/MinSizeRel/test-deserialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-deserialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-deserialization_cpp11 +home/json/build/tests/Deployment/test-deserialization_cpp11 +home/json/build/tests/Deployment/test-deserialization_cpp11 +home/json/build/tests/Development/test-deserialization_cpp11 +home/json/build/tests/Development/test-deserialization_cpp11 +24/81 Test #24: test-deserialization_cpp11 ...................***Not Run 0.00 sec + Start 25: test-diagnostics_cpp11 +Could not find executable /home/json/build/tests/test-diagnostics_cpp11 +Looked in the following places: +/home/json/build/tests/test-diagnostics_cpp11 +/home/json/build/tests/test-diagnostics_cpp11 +/home/json/build/tests/Release/test-diagnostics_cpp11 +/home/json/build/tests/Release/test-diagnostics_cpp11 +Unable to find executable: /home/json/build/tests/test-diagnostics_cpp11 +/home/json/build/tests/Debug/test-diagnostics_cpp11 +/home/json/build/tests/Debug/test-diagnostics_cpp11 +/home/json/build/tests/MinSizeRel/test-diagnostics_cpp11 +/home/json/build/tests/MinSizeRel/test-diagnostics_cpp11 +/home/json/build/tests/RelWithDebInfo/test-diagnostics_cpp11 +/home/json/build/tests/RelWithDebInfo/test-diagnostics_cpp11 +/home/json/build/tests/Deployment/test-diagnostics_cpp11 +/home/json/build/tests/Deployment/test-diagnostics_cpp11 +/home/json/build/tests/Development/test-diagnostics_cpp11 +/home/json/build/tests/Development/test-diagnostics_cpp11 +home/json/build/tests/test-diagnostics_cpp11 +home/json/build/tests/test-diagnostics_cpp11 +home/json/build/tests/Release/test-diagnostics_cpp11 +home/json/build/tests/Release/test-diagnostics_cpp11 +home/json/build/tests/Debug/test-diagnostics_cpp11 +home/json/build/tests/Debug/test-diagnostics_cpp11 +home/json/build/tests/MinSizeRel/test-diagnostics_cpp11 +home/json/build/tests/MinSizeRel/test-diagnostics_cpp11 +home/json/build/tests/RelWithDebInfo/test-diagnostics_cpp11 +home/json/build/tests/RelWithDebInfo/test-diagnostics_cpp11 +home/json/build/tests/Deployment/test-diagnostics_cpp11 +home/json/build/tests/Deployment/test-diagnostics_cpp11 +home/json/build/tests/Development/test-diagnostics_cpp11 +home/json/build/tests/Development/test-diagnostics_cpp11 +25/81 Test #25: test-diagnostics_cpp11 .......................***Not Run 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +Could not find executable /home/json/build/tests/test-disabled_exceptions_cpp11 +Looked in the following places: +/home/json/build/tests/test-disabled_exceptions_cpp11 +/home/json/build/tests/test-disabled_exceptions_cpp11 +/home/json/build/tests/Release/test-disabled_exceptions_cpp11 +Unable to find executable: /home/json/build/tests/test-disabled_exceptions_cpp11 +/home/json/build/tests/Release/test-disabled_exceptions_cpp11 +/home/json/build/tests/Debug/test-disabled_exceptions_cpp11 +/home/json/build/tests/Debug/test-disabled_exceptions_cpp11 +/home/json/build/tests/MinSizeRel/test-disabled_exceptions_cpp11 +/home/json/build/tests/MinSizeRel/test-disabled_exceptions_cpp11 +/home/json/build/tests/RelWithDebInfo/test-disabled_exceptions_cpp11 +/home/json/build/tests/RelWithDebInfo/test-disabled_exceptions_cpp11 +/home/json/build/tests/Deployment/test-disabled_exceptions_cpp11 +/home/json/build/tests/Deployment/test-disabled_exceptions_cpp11 +/home/json/build/tests/Development/test-disabled_exceptions_cpp11 +/home/json/build/tests/Development/test-disabled_exceptions_cpp11 +home/json/build/tests/test-disabled_exceptions_cpp11 +home/json/build/tests/test-disabled_exceptions_cpp11 +home/json/build/tests/Release/test-disabled_exceptions_cpp11 +home/json/build/tests/Release/test-disabled_exceptions_cpp11 +home/json/build/tests/Debug/test-disabled_exceptions_cpp11 +home/json/build/tests/Debug/test-disabled_exceptions_cpp11 +home/json/build/tests/MinSizeRel/test-disabled_exceptions_cpp11 +home/json/build/tests/MinSizeRel/test-disabled_exceptions_cpp11 +home/json/build/tests/RelWithDebInfo/test-disabled_exceptions_cpp11 +home/json/build/tests/RelWithDebInfo/test-disabled_exceptions_cpp11 +home/json/build/tests/Deployment/test-disabled_exceptions_cpp11 +home/json/build/tests/Deployment/test-disabled_exceptions_cpp11 +home/json/build/tests/Development/test-disabled_exceptions_cpp11 +home/json/build/tests/Development/test-disabled_exceptions_cpp11 +26/81 Test #26: test-disabled_exceptions_cpp11 ...............***Not Run 0.00 sec + Start 27: test-element_access1_cpp11 +Could not find executable /home/json/build/tests/test-element_access1_cpp11 +Looked in the following places: +/home/json/build/tests/test-element_access1_cpp11 +/home/json/build/tests/test-element_access1_cpp11 +/home/json/build/tests/Release/test-element_access1_cpp11 +/home/json/build/tests/Release/test-element_access1_cpp11 +/home/json/build/tests/Debug/test-element_access1_cpp11 +/home/json/build/tests/Debug/test-element_access1_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access1_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access1_cpp11 +/home/json/build/tests/Deployment/test-element_access1_cpp11 +/home/json/build/tests/Deployment/test-element_access1_cpp11 +/home/json/build/tests/Development/test-element_access1_cpp11 +/home/json/build/tests/Development/test-element_access1_cpp11 +home/json/build/tests/test-element_access1_cpp11 +home/json/build/tests/test-element_access1_cpp11 +home/json/build/tests/Release/test-element_access1_cpp11 +home/json/build/tests/Release/test-element_access1_cpp11 +home/json/build/tests/Debug/test-element_access1_cpp11 +home/json/build/tests/Debug/test-element_access1_cpp11 +home/json/build/tests/MinSizeRel/test-element_access1_cpp11 +home/json/build/tests/MinSizeRel/test-element_access1_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access1_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access1_cpp11 +home/json/build/tests/Deployment/test-element_access1_cpp11 +home/json/build/tests/Deployment/test-element_access1_cpp11 +home/json/build/tests/Development/test-element_access1_cpp11 +home/json/build/tests/Development/test-element_access1_cpp11 +27/81 Test #27: test-element_access1_cpp11 ...................***Not Run 0.00 sec + Start 28: test-element_access2_cpp11 +Could not find executable /home/json/build/tests/test-element_access2_cpp11 +Unable to find executable: /home/json/build/tests/test-element_access1_cpp11 +Looked in the following places: +/home/json/build/tests/test-element_access2_cpp11 +/home/json/build/tests/test-element_access2_cpp11 +/home/json/build/tests/Release/test-element_access2_cpp11 +/home/json/build/tests/Release/test-element_access2_cpp11 +/home/json/build/tests/Debug/test-element_access2_cpp11 +/home/json/build/tests/Debug/test-element_access2_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +/home/json/build/tests/Deployment/test-element_access2_cpp11 +/home/json/build/tests/Deployment/test-element_access2_cpp11 +Unable to find executable: /home/json/build/tests/test-element_access2_cpp11 +/home/json/build/tests/Development/test-element_access2_cpp11 +/home/json/build/tests/Development/test-element_access2_cpp11 +home/json/build/tests/test-element_access2_cpp11 +home/json/build/tests/test-element_access2_cpp11 +home/json/build/tests/Release/test-element_access2_cpp11 +home/json/build/tests/Release/test-element_access2_cpp11 +home/json/build/tests/Debug/test-element_access2_cpp11 +home/json/build/tests/Debug/test-element_access2_cpp11 +home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +home/json/build/tests/Deployment/test-element_access2_cpp11 +home/json/build/tests/Deployment/test-element_access2_cpp11 +home/json/build/tests/Development/test-element_access2_cpp11 +home/json/build/tests/Development/test-element_access2_cpp11 +28/81 Test #28: test-element_access2_cpp11 ...................***Not Run 0.00 sec + Start 29: test-element_access2_cpp17 +Could not find executable /home/json/build/tests/test-element_access2_cpp17 +Looked in the following places: +/home/json/build/tests/test-element_access2_cpp17 +/home/json/build/tests/test-element_access2_cpp17 +/home/json/build/tests/Release/test-element_access2_cpp17 +/home/json/build/tests/Release/test-element_access2_cpp17 +/home/json/build/tests/Debug/test-element_access2_cpp17 +/home/json/build/tests/Debug/test-element_access2_cpp17 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +Unable to find executable: /home/json/build/tests/test-element_access2_cpp17 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +/home/json/build/tests/Deployment/test-element_access2_cpp17 +/home/json/build/tests/Deployment/test-element_access2_cpp17 +/home/json/build/tests/Development/test-element_access2_cpp17 +/home/json/build/tests/Development/test-element_access2_cpp17 +home/json/build/tests/test-element_access2_cpp17 +home/json/build/tests/test-element_access2_cpp17 +home/json/build/tests/Release/test-element_access2_cpp17 +home/json/build/tests/Release/test-element_access2_cpp17 +home/json/build/tests/Debug/test-element_access2_cpp17 +home/json/build/tests/Debug/test-element_access2_cpp17 +home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +home/json/build/tests/Deployment/test-element_access2_cpp17 +home/json/build/tests/Deployment/test-element_access2_cpp17 +home/json/build/tests/Development/test-element_access2_cpp17 +home/json/build/tests/Development/test-element_access2_cpp17 +29/81 Test #29: test-element_access2_cpp17 ...................***Not Run 0.00 sec + Start 30: test-hash_cpp11 +Could not find executable /home/json/build/tests/test-hash_cpp11 +Looked in the following places: +/home/json/build/tests/test-hash_cpp11 +/home/json/build/tests/test-hash_cpp11 +/home/json/build/tests/Release/test-hash_cpp11 +/home/json/build/tests/Release/test-hash_cpp11 +/home/json/build/tests/Debug/test-hash_cpp11 +/home/json/build/tests/Debug/test-hash_cpp11 +/home/json/build/tests/MinSizeRel/test-hash_cpp11 +/home/json/build/tests/MinSizeRel/test-hash_cpp11 +/home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +/home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +/home/json/build/tests/Deployment/test-hash_cpp11 +/home/json/build/tests/Deployment/test-hash_cpp11 +/home/json/build/tests/Development/test-hash_cpp11 +/home/json/build/tests/Development/test-hash_cpp11 +home/json/build/tests/test-hash_cpp11 +home/json/build/tests/test-hash_cpp11 +home/json/build/tests/Release/test-hash_cpp11 +home/json/build/tests/Release/test-hash_cpp11 +home/json/build/tests/Debug/test-hash_cpp11 +home/json/build/tests/Debug/test-hash_cpp11 +home/json/build/tests/MinSizeRel/test-hash_cpp11 +home/json/build/tests/MinSizeRel/test-hash_cpp11 +home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +Unable to find executable: /home/json/build/tests/test-hash_cpp11 +home/json/build/tests/Deployment/test-hash_cpp11 +home/json/build/tests/Deployment/test-hash_cpp11 +home/json/build/tests/Development/test-hash_cpp11 +home/json/build/tests/Development/test-hash_cpp11 +30/81 Test #30: test-hash_cpp11 ..............................***Not Run 0.00 sec + Start 31: test-inspection_cpp11 +Could not find executable /home/json/build/tests/test-inspection_cpp11 +Looked in the following places: +/home/json/build/tests/test-inspection_cpp11 +/home/json/build/tests/test-inspection_cpp11 +/home/json/build/tests/Release/test-inspection_cpp11 +/home/json/build/tests/Release/test-inspection_cpp11 +/home/json/build/tests/Debug/test-inspection_cpp11 +/home/json/build/tests/Debug/test-inspection_cpp11 +/home/json/build/tests/MinSizeRel/test-inspection_cpp11 +Unable to find executable: /home/json/build/tests/test-inspection_cpp11 +/home/json/build/tests/MinSizeRel/test-inspection_cpp11 +/home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +/home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +/home/json/build/tests/Deployment/test-inspection_cpp11 +/home/json/build/tests/Deployment/test-inspection_cpp11 +/home/json/build/tests/Development/test-inspection_cpp11 +/home/json/build/tests/Development/test-inspection_cpp11 +home/json/build/tests/test-inspection_cpp11 +home/json/build/tests/test-inspection_cpp11 +home/json/build/tests/Release/test-inspection_cpp11 +home/json/build/tests/Release/test-inspection_cpp11 +home/json/build/tests/Debug/test-inspection_cpp11 +home/json/build/tests/Debug/test-inspection_cpp11 +home/json/build/tests/MinSizeRel/test-inspection_cpp11 +home/json/build/tests/MinSizeRel/test-inspection_cpp11 +home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +home/json/build/tests/Deployment/test-inspection_cpp11 +home/json/build/tests/Deployment/test-inspection_cpp11 +home/json/build/tests/Development/test-inspection_cpp11 +home/json/build/tests/Development/test-inspection_cpp11 +31/81 Test #31: test-inspection_cpp11 ........................***Not Run 0.00 sec + Start 32: test-items_cpp11 +Could not find executable /home/json/build/tests/test-items_cpp11 +Looked in the following places: +/home/json/build/tests/test-items_cpp11 +/home/json/build/tests/test-items_cpp11 +/home/json/build/tests/Release/test-items_cpp11 +/home/json/build/tests/Release/test-items_cpp11 +/home/json/build/tests/Debug/test-items_cpp11 +/home/json/build/tests/Debug/test-items_cpp11 +Unable to find executable: /home/json/build/tests/test-items_cpp11 +/home/json/build/tests/MinSizeRel/test-items_cpp11 +/home/json/build/tests/MinSizeRel/test-items_cpp11 +/home/json/build/tests/RelWithDebInfo/test-items_cpp11 +/home/json/build/tests/RelWithDebInfo/test-items_cpp11 +/home/json/build/tests/Deployment/test-items_cpp11 +/home/json/build/tests/Deployment/test-items_cpp11 +/home/json/build/tests/Development/test-items_cpp11 +/home/json/build/tests/Development/test-items_cpp11 +home/json/build/tests/test-items_cpp11 +home/json/build/tests/test-items_cpp11 +home/json/build/tests/Release/test-items_cpp11 +home/json/build/tests/Release/test-items_cpp11 +home/json/build/tests/Debug/test-items_cpp11 +home/json/build/tests/Debug/test-items_cpp11 +home/json/build/tests/MinSizeRel/test-items_cpp11 +home/json/build/tests/MinSizeRel/test-items_cpp11 +home/json/build/tests/RelWithDebInfo/test-items_cpp11 +home/json/build/tests/RelWithDebInfo/test-items_cpp11 +home/json/build/tests/Deployment/test-items_cpp11 +home/json/build/tests/Deployment/test-items_cpp11 +home/json/build/tests/Development/test-items_cpp11 +home/json/build/tests/Development/test-items_cpp11 +32/81 Test #32: test-items_cpp11 .............................***Not Run 0.00 sec + Start 33: test-items_cpp17 +Could not find executable /home/json/build/tests/test-items_cpp17 +Looked in the following places: +/home/json/build/tests/test-items_cpp17 +/home/json/build/tests/test-items_cpp17 +/home/json/build/tests/Release/test-items_cpp17 +/home/json/build/tests/Release/test-items_cpp17 +/home/json/build/tests/Debug/test-items_cpp17 +/home/json/build/tests/Debug/test-items_cpp17 +/home/json/build/tests/MinSizeRel/test-items_cpp17 +/home/json/build/tests/MinSizeRel/test-items_cpp17 +/home/json/build/tests/RelWithDebInfo/test-items_cpp17 +/home/json/build/tests/RelWithDebInfo/test-items_cpp17 +/home/json/build/tests/Deployment/test-items_cpp17 +/home/json/build/tests/Deployment/test-items_cpp17 +/home/json/build/tests/Development/test-items_cpp17 +/home/json/build/tests/Development/test-items_cpp17 +home/json/build/tests/test-items_cpp17 +home/json/build/tests/test-items_cpp17 +home/json/build/tests/Release/test-items_cpp17 +home/json/build/tests/Release/test-items_cpp17 +home/json/build/tests/Debug/test-items_cpp17 +home/json/build/tests/Debug/test-items_cpp17 +home/json/build/tests/MinSizeRel/test-items_cpp17 +home/json/build/tests/MinSizeRel/test-items_cpp17 +home/json/build/tests/RelWithDebInfo/test-items_cpp17 +home/json/build/tests/RelWithDebInfo/test-items_cpp17 +home/json/build/tests/Deployment/test-items_cpp17 +home/json/build/tests/Deployment/test-items_cpp17 +home/json/build/tests/Development/test-items_cpp17 +home/json/build/tests/Development/test-items_cpp17 +33/81 Test #33: test-items_cpp17 .............................***Not Run 0.00 sec + Start 34: test-iterators1_cpp11 +Could not find executable /home/json/build/tests/test-iterators1_cpp11 +Looked in the following places: +/home/json/build/tests/test-iterators1_cpp11 +/home/json/build/tests/test-iterators1_cpp11 +/home/json/build/tests/Release/test-iterators1_cpp11 +/home/json/build/tests/Release/test-iterators1_cpp11 +/home/json/build/tests/Debug/test-iterators1_cpp11 +/home/json/build/tests/Debug/test-iterators1_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +/home/json/build/tests/Deployment/test-iterators1_cpp11 +/home/json/build/tests/Deployment/test-iterators1_cpp11 +/home/json/build/tests/Development/test-iterators1_cpp11 +/home/json/build/tests/Development/test-iterators1_cpp11 +home/json/build/tests/test-iterators1_cpp11 +home/json/build/tests/test-iterators1_cpp11 +home/json/build/tests/Release/test-iterators1_cpp11 +home/json/build/tests/Release/test-iterators1_cpp11 +home/json/build/tests/Debug/test-iterators1_cpp11 +home/json/build/tests/Debug/test-iterators1_cpp11 +home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +home/json/build/tests/Deployment/test-iterators1_cpp11 +home/json/build/tests/Deployment/test-iterators1_cpp11 +home/json/build/tests/Development/test-iterators1_cpp11 +home/json/build/tests/Development/test-iterators1_cpp11 +34/81 Test #34: test-iterators1_cpp11 ........................***Not Run 0.00 sec + Start 35: test-iterators2_cpp11 +Unable to find executable: /home/json/build/tests/test-items_cpp17 +Unable to find executable: /home/json/build/tests/test-iterators1_cpp11 +Could not find executable /home/json/build/tests/test-iterators2_cpp11 +Looked in the following places: +/home/json/build/tests/test-iterators2_cpp11 +Unable to find executable: /home/json/build/tests/test-iterators2_cpp11 +/home/json/build/tests/test-iterators2_cpp11 +/home/json/build/tests/Release/test-iterators2_cpp11 +/home/json/build/tests/Release/test-iterators2_cpp11 +/home/json/build/tests/Debug/test-iterators2_cpp11 +/home/json/build/tests/Debug/test-iterators2_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +/home/json/build/tests/Deployment/test-iterators2_cpp11 +/home/json/build/tests/Deployment/test-iterators2_cpp11 +Unable to find executable: /home/json/build/tests/test-iterators2_cpp20 +/home/json/build/tests/Development/test-iterators2_cpp11 +/home/json/build/tests/Development/test-iterators2_cpp11 +home/json/build/tests/test-iterators2_cpp11 +home/json/build/tests/test-iterators2_cpp11 +home/json/build/tests/Release/test-iterators2_cpp11 +home/json/build/tests/Release/test-iterators2_cpp11 +home/json/build/tests/Debug/test-iterators2_cpp11 +home/json/build/tests/Debug/test-iterators2_cpp11 +home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +home/json/build/tests/Deployment/test-iterators2_cpp11 +home/json/build/tests/Deployment/test-iterators2_cpp11 +home/json/build/tests/Development/test-iterators2_cpp11 +home/json/build/tests/Development/test-iterators2_cpp11 +Unable to find executable: /home/json/build/tests/test-json_patch_cpp11 +35/81 Test #35: test-iterators2_cpp11 ........................***Not Run 0.00 sec + Start 36: test-iterators2_cpp20 +Could not find executable /home/json/build/tests/test-iterators2_cpp20 +Looked in the following places: +/home/json/build/tests/test-iterators2_cpp20 +/home/json/build/tests/test-iterators2_cpp20 +/home/json/build/tests/Release/test-iterators2_cpp20 +/home/json/build/tests/Release/test-iterators2_cpp20 +/home/json/build/tests/Debug/test-iterators2_cpp20 +/home/json/build/tests/Debug/test-iterators2_cpp20 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +/home/json/build/tests/Deployment/test-iterators2_cpp20 +/home/json/build/tests/Deployment/test-iterators2_cpp20 +/home/json/build/tests/Development/test-iterators2_cpp20 +/home/json/build/tests/Development/test-iterators2_cpp20 +home/json/build/tests/test-iterators2_cpp20 +home/json/build/tests/test-iterators2_cpp20 +home/json/build/tests/Release/test-iterators2_cpp20 +home/json/build/tests/Release/test-iterators2_cpp20 +home/json/build/tests/Debug/test-iterators2_cpp20 +home/json/build/tests/Debug/test-iterators2_cpp20 +home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +home/json/build/tests/Deployment/test-iterators2_cpp20 +home/json/build/tests/Deployment/test-iterators2_cpp20 +home/json/build/tests/Development/test-iterators2_cpp20 +home/json/build/tests/Development/test-iterators2_cpp20 +36/81 Test #36: test-iterators2_cpp20 ........................***Not Run 0.00 sec + Start 37: test-json_patch_cpp11 +Unable to find executable: /home/json/build/tests/test-json_pointer_cpp11 +Could not find executable /home/json/build/tests/test-json_patch_cpp11 +Looked in the following places: +/home/json/build/tests/test-json_patch_cpp11 +/home/json/build/tests/test-json_patch_cpp11 +/home/json/build/tests/Release/test-json_patch_cpp11 +/home/json/build/tests/Release/test-json_patch_cpp11 +/home/json/build/tests/Debug/test-json_patch_cpp11 +/home/json/build/tests/Debug/test-json_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +/home/json/build/tests/Deployment/test-json_patch_cpp11 +/home/json/build/tests/Deployment/test-json_patch_cpp11 +/home/json/build/tests/Development/test-json_patch_cpp11 +/home/json/build/tests/Development/test-json_patch_cpp11 +home/json/build/tests/test-json_patch_cpp11 +home/json/build/tests/test-json_patch_cpp11 +home/json/build/tests/Release/test-json_patch_cpp11 +home/json/build/tests/Release/test-json_patch_cpp11 +home/json/build/tests/Debug/test-json_patch_cpp11 +home/json/build/tests/Debug/test-json_patch_cpp11 +home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +home/json/build/tests/Deployment/test-json_patch_cpp11 +home/json/build/tests/Deployment/test-json_patch_cpp11 +home/json/build/tests/Development/test-json_patch_cpp11 +home/json/build/tests/Development/test-json_patch_cpp11 +37/81 Test #37: test-json_patch_cpp11 ........................***Not Run 0.00 sec + Start 38: test-json_pointer_cpp11 +Could not find executable /home/json/build/tests/test-json_pointer_cpp11 +Looked in the following places: +/home/json/build/tests/test-json_pointer_cpp11 +/home/json/build/tests/test-json_pointer_cpp11 +/home/json/build/tests/Release/test-json_pointer_cpp11 +/home/json/build/tests/Release/test-json_pointer_cpp11 +/home/json/build/tests/Debug/test-json_pointer_cpp11 +/home/json/build/tests/Debug/test-json_pointer_cpp11 +/home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +/home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +/home/json/build/tests/Deployment/test-json_pointer_cpp11 +/home/json/build/tests/Deployment/test-json_pointer_cpp11 +/home/json/build/tests/Development/test-json_pointer_cpp11 +/home/json/build/tests/Development/test-json_pointer_cpp11 +home/json/build/tests/test-json_pointer_cpp11 +home/json/build/tests/test-json_pointer_cpp11 +home/json/build/tests/Release/test-json_pointer_cpp11 +home/json/build/tests/Release/test-json_pointer_cpp11 +home/json/build/tests/Debug/test-json_pointer_cpp11 +home/json/build/tests/Debug/test-json_pointer_cpp11 +home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +home/json/build/tests/Deployment/test-json_pointer_cpp11 +home/json/build/tests/Deployment/test-json_pointer_cpp11 +home/json/build/tests/Development/test-json_pointer_cpp11 +home/json/build/tests/Development/test-json_pointer_cpp11 +38/81 Test #38: test-json_pointer_cpp11 ......................***Not Run 0.00 sec + Start 39: test-large_json_cpp11 +Could not find executable /home/json/build/tests/test-large_json_cpp11 +Looked in the following places: +/home/json/build/tests/test-large_json_cpp11 +/home/json/build/tests/test-large_json_cpp11 +/home/json/build/tests/Release/test-large_json_cpp11 +/home/json/build/tests/Release/test-large_json_cpp11 +Unable to find executable: /home/json/build/tests/test-large_json_cpp11 +/home/json/build/tests/Debug/test-large_json_cpp11 +/home/json/build/tests/Debug/test-large_json_cpp11 +/home/json/build/tests/MinSizeRel/test-large_json_cpp11 +/home/json/build/tests/MinSizeRel/test-large_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +/home/json/build/tests/Deployment/test-large_json_cpp11 +/home/json/build/tests/Deployment/test-large_json_cpp11 +/home/json/build/tests/Development/test-large_json_cpp11 +/home/json/build/tests/Development/test-large_json_cpp11 +home/json/build/tests/test-large_json_cpp11 +home/json/build/tests/test-large_json_cpp11 +home/json/build/tests/Release/test-large_json_cpp11 +home/json/build/tests/Release/test-large_json_cpp11 +home/json/build/tests/Debug/test-large_json_cpp11 +home/json/build/tests/Debug/test-large_json_cpp11 +home/json/build/tests/MinSizeRel/test-large_json_cpp11 +home/json/build/tests/MinSizeRel/test-large_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +home/json/build/tests/Deployment/test-large_json_cpp11 +home/json/build/tests/Deployment/test-large_json_cpp11 +home/json/build/tests/Development/test-large_json_cpp11 +home/json/build/tests/Development/test-large_json_cpp11 +39/81 Test #39: test-large_json_cpp11 ........................***Not Run 0.00 sec + Start 40: test-merge_patch_cpp11 +Could not find executable /home/json/build/tests/test-merge_patch_cpp11 +Looked in the following places: +Unable to find executable: /home/json/build/tests/test-merge_patch_cpp11 +/home/json/build/tests/test-merge_patch_cpp11 +/home/json/build/tests/test-merge_patch_cpp11 +/home/json/build/tests/Release/test-merge_patch_cpp11 +/home/json/build/tests/Release/test-merge_patch_cpp11 +/home/json/build/tests/Debug/test-merge_patch_cpp11 +/home/json/build/tests/Debug/test-merge_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +/home/json/build/tests/Deployment/test-merge_patch_cpp11 +/home/json/build/tests/Deployment/test-merge_patch_cpp11 +/home/json/build/tests/Development/test-merge_patch_cpp11 +/home/json/build/tests/Development/test-merge_patch_cpp11 +home/json/build/tests/test-merge_patch_cpp11 +home/json/build/tests/test-merge_patch_cpp11 +home/json/build/tests/Release/test-merge_patch_cpp11 +home/json/build/tests/Release/test-merge_patch_cpp11 +home/json/build/tests/Debug/test-merge_patch_cpp11 +home/json/build/tests/Debug/test-merge_patch_cpp11 +home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +home/json/build/tests/Deployment/test-merge_patch_cpp11 +home/json/build/tests/Deployment/test-merge_patch_cpp11 +home/json/build/tests/Development/test-merge_patch_cpp11 +home/json/build/tests/Development/test-merge_patch_cpp11 +40/81 Test #40: test-merge_patch_cpp11 .......................***Not Run 0.00 sec + Start 41: test-meta_cpp11 +Could not find executable /home/json/build/tests/test-meta_cpp11 +Looked in the following places: +/home/json/build/tests/test-meta_cpp11 +/home/json/build/tests/test-meta_cpp11 +/home/json/build/tests/Release/test-meta_cpp11 +/home/json/build/tests/Release/test-meta_cpp11 +/home/json/build/tests/Debug/test-meta_cpp11 +/home/json/build/tests/Debug/test-meta_cpp11 +/home/json/build/tests/MinSizeRel/test-meta_cpp11 +/home/json/build/tests/MinSizeRel/test-meta_cpp11 +/home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +/home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +/home/json/build/tests/Deployment/test-meta_cpp11 +/home/json/build/tests/Deployment/test-meta_cpp11 +/home/json/build/tests/Development/test-meta_cpp11 +/home/json/build/tests/Development/test-meta_cpp11 +home/json/build/tests/test-meta_cpp11 +home/json/build/tests/test-meta_cpp11 +home/json/build/tests/Release/test-meta_cpp11 +home/json/build/tests/Release/test-meta_cpp11 +home/json/build/tests/Debug/test-meta_cpp11 +home/json/build/tests/Debug/test-meta_cpp11 +home/json/build/tests/MinSizeRel/test-meta_cpp11 +home/json/build/tests/MinSizeRel/test-meta_cpp11 +home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +home/json/build/tests/Deployment/test-meta_cpp11 +home/json/build/tests/Deployment/test-meta_cpp11 +home/json/build/tests/Development/test-meta_cpp11 +Unable to find executable: /home/json/build/tests/test-meta_cpp11 +home/json/build/tests/Development/test-meta_cpp11 +41/81 Test #41: test-meta_cpp11 ..............................***Not Run 0.00 sec + Start 42: test-modifiers_cpp11 +Could not find executable /home/json/build/tests/test-modifiers_cpp11 +Looked in the following places: +/home/json/build/tests/test-modifiers_cpp11 +Unable to find executable: /home/json/build/tests/test-modifiers_cpp11 +/home/json/build/tests/test-modifiers_cpp11 +/home/json/build/tests/Release/test-modifiers_cpp11 +/home/json/build/tests/Release/test-modifiers_cpp11 +/home/json/build/tests/Debug/test-modifiers_cpp11 +/home/json/build/tests/Debug/test-modifiers_cpp11 +/home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +/home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +/home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +/home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +/home/json/build/tests/Deployment/test-modifiers_cpp11 +/home/json/build/tests/Deployment/test-modifiers_cpp11 +/home/json/build/tests/Development/test-modifiers_cpp11 +/home/json/build/tests/Development/test-modifiers_cpp11 +home/json/build/tests/test-modifiers_cpp11 +home/json/build/tests/test-modifiers_cpp11 +home/json/build/tests/Release/test-modifiers_cpp11 +home/json/build/tests/Release/test-modifiers_cpp11 +home/json/build/tests/Debug/test-modifiers_cpp11 +home/json/build/tests/Debug/test-modifiers_cpp11 +home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +Unable to find executable: /home/json/build/tests/test-msgpack_cpp11 +home/json/build/tests/Deployment/test-modifiers_cpp11 +home/json/build/tests/Deployment/test-modifiers_cpp11 +home/json/build/tests/Development/test-modifiers_cpp11 +home/json/build/tests/Development/test-modifiers_cpp11 +42/81 Test #42: test-modifiers_cpp11 .........................***Not Run 0.00 sec + Start 43: test-msgpack_cpp11 +Could not find executable /home/json/build/tests/test-msgpack_cpp11 +Looked in the following places: +/home/json/build/tests/test-msgpack_cpp11 +/home/json/build/tests/test-msgpack_cpp11 +/home/json/build/tests/Release/test-msgpack_cpp11 +/home/json/build/tests/Release/test-msgpack_cpp11 +/home/json/build/tests/Debug/test-msgpack_cpp11 +/home/json/build/tests/Debug/test-msgpack_cpp11 +/home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +/home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +/home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +/home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +/home/json/build/tests/Deployment/test-msgpack_cpp11 +/home/json/build/tests/Deployment/test-msgpack_cpp11 +/home/json/build/tests/Development/test-msgpack_cpp11 +/home/json/build/tests/Development/test-msgpack_cpp11 +home/json/build/tests/test-msgpack_cpp11 +home/json/build/tests/test-msgpack_cpp11 +home/json/build/tests/Release/test-msgpack_cpp11 +home/json/build/tests/Release/test-msgpack_cpp11 +home/json/build/tests/Debug/test-msgpack_cpp11 +home/json/build/tests/Debug/test-msgpack_cpp11 +home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +home/json/build/tests/Deployment/test-msgpack_cpp11 +home/json/build/tests/Deployment/test-msgpack_cpp11 +home/json/build/tests/Development/test-msgpack_cpp11 +home/json/build/tests/Development/test-msgpack_cpp11 +43/81 Test #43: test-msgpack_cpp11 ...........................***Not Run 0.00 sec + Start 44: test-noexcept_cpp11 +Could not find executable /home/json/build/tests/test-noexcept_cpp11 +Looked in the following places: +/home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/Release/test-noexcept_cpp11 +/home/json/build/tests/Release/test-noexcept_cpp11 +/home/json/build/tests/Debug/test-noexcept_cpp11 +/home/json/build/tests/Debug/test-noexcept_cpp11 +/home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +/home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +/home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +/home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +/home/json/build/tests/Deployment/test-noexcept_cpp11 +Unable to find executable: /home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/Deployment/test-noexcept_cpp11 +/home/json/build/tests/Development/test-noexcept_cpp11 +/home/json/build/tests/Development/test-noexcept_cpp11 +home/json/build/tests/test-noexcept_cpp11 +home/json/build/tests/test-noexcept_cpp11 +home/json/build/tests/Release/test-noexcept_cpp11 +home/json/build/tests/Release/test-noexcept_cpp11 +home/json/build/tests/Debug/test-noexcept_cpp11 +home/json/build/tests/Debug/test-noexcept_cpp11 +home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +Unable to find executable: /home/json/build/tests/test-ordered_json_cpp11 +home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +home/json/build/tests/Deployment/test-noexcept_cpp11 +home/json/build/tests/Deployment/test-noexcept_cpp11 +home/json/build/tests/Development/test-noexcept_cpp11 +home/json/build/tests/Development/test-noexcept_cpp11 +44/81 Test #44: test-noexcept_cpp11 ..........................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-ordered_map_cpp11 + Start 45: test-ordered_json_cpp11 +Could not find executable /home/json/build/tests/test-ordered_json_cpp11 +Looked in the following places: +/home/json/build/tests/test-ordered_json_cpp11 +/home/json/build/tests/test-ordered_json_cpp11 +/home/json/build/tests/Release/test-ordered_json_cpp11 +/home/json/build/tests/Release/test-ordered_json_cpp11 +/home/json/build/tests/Debug/test-ordered_json_cpp11 +/home/json/build/tests/Debug/test-ordered_json_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +/home/json/build/tests/Deployment/test-ordered_json_cpp11 +/home/json/build/tests/Deployment/test-ordered_json_cpp11 +/home/json/build/tests/Development/test-ordered_json_cpp11 +/home/json/build/tests/Development/test-ordered_json_cpp11 +home/json/build/tests/test-ordered_json_cpp11 +home/json/build/tests/test-ordered_json_cpp11 +home/json/build/tests/Release/test-ordered_json_cpp11 +home/json/build/tests/Release/test-ordered_json_cpp11 +home/json/build/tests/Debug/test-ordered_json_cpp11 +home/json/build/tests/Debug/test-ordered_json_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +home/json/build/tests/Deployment/test-ordered_json_cpp11 +home/json/build/tests/Deployment/test-ordered_json_cpp11 +home/json/build/tests/Development/test-ordered_json_cpp11 +home/json/build/tests/Development/test-ordered_json_cpp11 +45/81 Test #45: test-ordered_json_cpp11 ......................***Not Run 0.00 sec + Start 46: test-ordered_map_cpp11 +Could not find executable /home/json/build/tests/test-ordered_map_cpp11 +Unable to find executable: /home/json/build/tests/test-pointer_access_cpp11 +Looked in the following places: +/home/json/build/tests/test-ordered_map_cpp11 +/home/json/build/tests/test-ordered_map_cpp11 +/home/json/build/tests/Release/test-ordered_map_cpp11 +/home/json/build/tests/Release/test-ordered_map_cpp11 +/home/json/build/tests/Debug/test-ordered_map_cpp11 +/home/json/build/tests/Debug/test-ordered_map_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +/home/json/build/tests/Deployment/test-ordered_map_cpp11 +/home/json/build/tests/Deployment/test-ordered_map_cpp11 +/home/json/build/tests/Development/test-ordered_map_cpp11 +/home/json/build/tests/Development/test-ordered_map_cpp11 +home/json/build/tests/test-ordered_map_cpp11 +home/json/build/tests/test-ordered_map_cpp11 +home/json/build/tests/Release/test-ordered_map_cpp11 +home/json/build/tests/Release/test-ordered_map_cpp11 +home/json/build/tests/Debug/test-ordered_map_cpp11 +home/json/build/tests/Debug/test-ordered_map_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +home/json/build/tests/Deployment/test-ordered_map_cpp11 +home/json/build/tests/Deployment/test-ordered_map_cpp11 +home/json/build/tests/Development/test-ordered_map_cpp11 +home/json/build/tests/Development/test-ordered_map_cpp11 +46/81 Test #46: test-ordered_map_cpp11 .......................***Not Run 0.00 sec + Start 47: test-pointer_access_cpp11 +Could not find executable /home/json/build/tests/test-pointer_access_cpp11 +Looked in the following places: +/home/json/build/tests/test-pointer_access_cpp11 +/home/json/build/tests/test-pointer_access_cpp11 +/home/json/build/tests/Release/test-pointer_access_cpp11 +/home/json/build/tests/Release/test-pointer_access_cpp11 +/home/json/build/tests/Debug/test-pointer_access_cpp11 +/home/json/build/tests/Debug/test-pointer_access_cpp11 +/home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +/home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +/home/json/build/tests/Deployment/test-pointer_access_cpp11 +/home/json/build/tests/Deployment/test-pointer_access_cpp11 +/home/json/build/tests/Development/test-pointer_access_cpp11 +/home/json/build/tests/Development/test-pointer_access_cpp11 +home/json/build/tests/test-pointer_access_cpp11 +home/json/build/tests/test-pointer_access_cpp11 +home/json/build/tests/Release/test-pointer_access_cpp11 +home/json/build/tests/Release/test-pointer_access_cpp11 +home/json/build/tests/Debug/test-pointer_access_cpp11 +home/json/build/tests/Debug/test-pointer_access_cpp11 +Unable to find executable: /home/json/build/tests/test-readme_cpp11 +Unable to find executable: /home/json/build/tests/test-reference_access_cpp11 +Unable to find executable: /home/json/build/tests/test-regression1_cpp11 +Unable to find executable: /home/json/build/tests/test-regression1_cpp17 +home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +home/json/build/tests/Deployment/test-pointer_access_cpp11 +home/json/build/tests/Deployment/test-pointer_access_cpp11 +home/json/build/tests/Development/test-pointer_access_cpp11 +home/json/build/tests/Development/test-pointer_access_cpp11 +47/81 Test #47: test-pointer_access_cpp11 ....................***Not Run 0.00 sec + Start 48: test-readme_cpp11 +Could not find executable /home/json/build/tests/test-readme_cpp11 +Looked in the following places: +/home/json/build/tests/test-readme_cpp11 +/home/json/build/tests/test-readme_cpp11 +/home/json/build/tests/Release/test-readme_cpp11 +/home/json/build/tests/Release/test-readme_cpp11 +/home/json/build/tests/Debug/test-readme_cpp11 +/home/json/build/tests/Debug/test-readme_cpp11 +/home/json/build/tests/MinSizeRel/test-readme_cpp11 +/home/json/build/tests/MinSizeRel/test-readme_cpp11 +/home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +/home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +/home/json/build/tests/Deployment/test-readme_cpp11 +/home/json/build/tests/Deployment/test-readme_cpp11 +/home/json/build/tests/Development/test-readme_cpp11 +/home/json/build/tests/Development/test-readme_cpp11 +home/json/build/tests/test-readme_cpp11 +home/json/build/tests/test-readme_cpp11 +home/json/build/tests/Release/test-readme_cpp11 +home/json/build/tests/Release/test-readme_cpp11 +home/json/build/tests/Debug/test-readme_cpp11 +home/json/build/tests/Debug/test-readme_cpp11 +home/json/build/tests/MinSizeRel/test-readme_cpp11 +home/json/build/tests/MinSizeRel/test-readme_cpp11 +home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +home/json/build/tests/Deployment/test-readme_cpp11 +home/json/build/tests/Deployment/test-readme_cpp11 +home/json/build/tests/Development/test-readme_cpp11 +home/json/build/tests/Development/test-readme_cpp11 +48/81 Test #48: test-readme_cpp11 ............................***Not Run 0.00 sec + Start 49: test-reference_access_cpp11 +Could not find executable /home/json/build/tests/test-reference_access_cpp11 +Unable to find executable: /home/json/build/tests/test-regression2_cpp11 +Looked in the following places: +/home/json/build/tests/test-reference_access_cpp11 +/home/json/build/tests/test-reference_access_cpp11 +/home/json/build/tests/Release/test-reference_access_cpp11 +/home/json/build/tests/Release/test-reference_access_cpp11 +/home/json/build/tests/Debug/test-reference_access_cpp11 +Unable to find executable: /home/json/build/tests/test-regression2_cpp17 +/home/json/build/tests/Debug/test-reference_access_cpp11 +/home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +/home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +/home/json/build/tests/Deployment/test-reference_access_cpp11 +/home/json/build/tests/Deployment/test-reference_access_cpp11 +/home/json/build/tests/Development/test-reference_access_cpp11 +/home/json/build/tests/Development/test-reference_access_cpp11 +home/json/build/tests/test-reference_access_cpp11 +home/json/build/tests/test-reference_access_cpp11 +home/json/build/tests/Release/test-reference_access_cpp11 +home/json/build/tests/Release/test-reference_access_cpp11 +home/json/build/tests/Debug/test-reference_access_cpp11 +home/json/build/tests/Debug/test-reference_access_cpp11 +home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +home/json/build/tests/Deployment/test-reference_access_cpp11 +home/json/build/tests/Deployment/test-reference_access_cpp11 +home/json/build/tests/Development/test-reference_access_cpp11 +Unable to find executable: /home/json/build/tests/test-regression2_cpp20 +home/json/build/tests/Development/test-reference_access_cpp11 +49/81 Test #49: test-reference_access_cpp11 ..................***Not Run 0.00 sec + Start 50: test-regression1_cpp11 +Could not find executable /home/json/build/tests/test-regression1_cpp11 +Looked in the following places: +/home/json/build/tests/test-regression1_cpp11 +/home/json/build/tests/test-regression1_cpp11 +/home/json/build/tests/Release/test-regression1_cpp11 +/home/json/build/tests/Release/test-regression1_cpp11 +/home/json/build/tests/Debug/test-regression1_cpp11 +/home/json/build/tests/Debug/test-regression1_cpp11 +/home/json/build/tests/MinSizeRel/test-regression1_cpp11 +/home/json/build/tests/MinSizeRel/test-regression1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +/home/json/build/tests/Deployment/test-regression1_cpp11 +/home/json/build/tests/Deployment/test-regression1_cpp11 +/home/json/build/tests/Development/test-regression1_cpp11 +/home/json/build/tests/Development/test-regression1_cpp11 +home/json/build/tests/test-regression1_cpp11 +home/json/build/tests/test-regression1_cpp11 +home/json/build/tests/Release/test-regression1_cpp11 +home/json/build/tests/Release/test-regression1_cpp11 +home/json/build/tests/Debug/test-regression1_cpp11 +home/json/build/tests/Debug/test-regression1_cpp11 +home/json/build/tests/MinSizeRel/test-regression1_cpp11 +home/json/build/tests/MinSizeRel/test-regression1_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +home/json/build/tests/Deployment/test-regression1_cpp11 +home/json/build/tests/Deployment/test-regression1_cpp11 +home/json/build/tests/Development/test-regression1_cpp11 +home/json/build/tests/Development/test-regression1_cpp11 +50/81 Test #50: test-regression1_cpp11 .......................***Not Run 0.00 sec + Start 51: test-regression1_cpp17 +Could not find executable /home/json/build/tests/test-regression1_cpp17 +Looked in the following places: +/home/json/build/tests/test-regression1_cpp17 +/home/json/build/tests/test-regression1_cpp17 +/home/json/build/tests/Release/test-regression1_cpp17 +/home/json/build/tests/Release/test-regression1_cpp17 +/home/json/build/tests/Debug/test-regression1_cpp17 +Unable to find executable: /home/json/build/tests/test-serialization_cpp11 +/home/json/build/tests/Debug/test-regression1_cpp17 +/home/json/build/tests/MinSizeRel/test-regression1_cpp17 +Unable to find executable: /home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/MinSizeRel/test-regression1_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +/home/json/build/tests/Deployment/test-regression1_cpp17 +/home/json/build/tests/Deployment/test-regression1_cpp17 +/home/json/build/tests/Development/test-regression1_cpp17 +/home/json/build/tests/Development/test-regression1_cpp17 +home/json/build/tests/test-regression1_cpp17 +home/json/build/tests/test-regression1_cpp17 +home/json/build/tests/Release/test-regression1_cpp17 +home/json/build/tests/Release/test-regression1_cpp17 +home/json/build/tests/Debug/test-regression1_cpp17 +home/json/build/tests/Debug/test-regression1_cpp17 +home/json/build/tests/MinSizeRel/test-regression1_cpp17 +home/json/build/tests/MinSizeRel/test-regression1_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +home/json/build/tests/Deployment/test-regression1_cpp17 +home/json/build/tests/Deployment/test-regression1_cpp17 +home/json/build/tests/Development/test-regression1_cpp17 +home/json/build/tests/Development/test-regression1_cpp17 +51/81 Test #51: test-regression1_cpp17 .......................***Not Run 0.00 sec + Start 52: test-regression2_cpp11 +Unable to find executable: /home/json/build/tests/test-to_chars_cpp11 +Could not find executable /home/json/build/tests/test-regression2_cpp11 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp11 +/home/json/build/tests/test-regression2_cpp11 +/home/json/build/tests/Release/test-regression2_cpp11 +/home/json/build/tests/Release/test-regression2_cpp11 +/home/json/build/tests/Debug/test-regression2_cpp11 +/home/json/build/tests/Debug/test-regression2_cpp11 +/home/json/build/tests/MinSizeRel/test-regression2_cpp11 +/home/json/build/tests/MinSizeRel/test-regression2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +/home/json/build/tests/Deployment/test-regression2_cpp11 +/home/json/build/tests/Deployment/test-regression2_cpp11 +/home/json/build/tests/Development/test-regression2_cpp11 +/home/json/build/tests/Development/test-regression2_cpp11 +home/json/build/tests/test-regression2_cpp11 +home/json/build/tests/test-regression2_cpp11 +home/json/build/tests/Release/test-regression2_cpp11 +home/json/build/tests/Release/test-regression2_cpp11 +home/json/build/tests/Debug/test-regression2_cpp11 +home/json/build/tests/Debug/test-regression2_cpp11 +Unable to find executable: /home/json/build/tests/test-ubjson_cpp11 +home/json/build/tests/MinSizeRel/test-regression2_cpp11 +home/json/build/tests/MinSizeRel/test-regression2_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +home/json/build/tests/Deployment/test-regression2_cpp11 +home/json/build/tests/Deployment/test-regression2_cpp11 +home/json/build/tests/Development/test-regression2_cpp11 +home/json/build/tests/Development/test-regression2_cpp11 +52/81 Test #52: test-regression2_cpp11 .......................***Not Run 0.00 sec + Start 53: test-regression2_cpp17 +Could not find executable /home/json/build/tests/test-regression2_cpp17 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp17 +/home/json/build/tests/test-regression2_cpp17 +/home/json/build/tests/Release/test-regression2_cpp17 +/home/json/build/tests/Release/test-regression2_cpp17 +/home/json/build/tests/Debug/test-regression2_cpp17 +/home/json/build/tests/Debug/test-regression2_cpp17 +/home/json/build/tests/MinSizeRel/test-regression2_cpp17 +/home/json/build/tests/MinSizeRel/test-regression2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +/home/json/build/tests/Deployment/test-regression2_cpp17 +/home/json/build/tests/Deployment/test-regression2_cpp17 +/home/json/build/tests/Development/test-regression2_cpp17 +/home/json/build/tests/Development/test-regression2_cpp17 +home/json/build/tests/test-regression2_cpp17 +Unable to find executable: /home/json/build/tests/test-udt_cpp11 +home/json/build/tests/test-regression2_cpp17 +home/json/build/tests/Release/test-regression2_cpp17 +home/json/build/tests/Release/test-regression2_cpp17 +home/json/build/tests/Debug/test-regression2_cpp17 +home/json/build/tests/Debug/test-regression2_cpp17 +home/json/build/tests/MinSizeRel/test-regression2_cpp17 +home/json/build/tests/MinSizeRel/test-regression2_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +home/json/build/tests/Deployment/test-regression2_cpp17 +home/json/build/tests/Deployment/test-regression2_cpp17 +home/json/build/tests/Development/test-regression2_cpp17 +home/json/build/tests/Development/test-regression2_cpp17 +53/81 Test #53: test-regression2_cpp17 .......................***Not Run 0.00 sec + Start 54: test-regression2_cpp20 +Could not find executable /home/json/build/tests/test-regression2_cpp20 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp20 +/home/json/build/tests/test-regression2_cpp20 +/home/json/build/tests/Release/test-regression2_cpp20 +/home/json/build/tests/Release/test-regression2_cpp20 +/home/json/build/tests/Debug/test-regression2_cpp20 +/home/json/build/tests/Debug/test-regression2_cpp20 +/home/json/build/tests/MinSizeRel/test-regression2_cpp20 +/home/json/build/tests/MinSizeRel/test-regression2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +/home/json/build/tests/Deployment/test-regression2_cpp20 +/home/json/build/tests/Deployment/test-regression2_cpp20 +/home/json/build/tests/Development/test-regression2_cpp20 +/home/json/build/tests/Development/test-regression2_cpp20 +home/json/build/tests/test-regression2_cpp20 +home/json/build/tests/test-regression2_cpp20 +home/json/build/tests/Release/test-regression2_cpp20 +home/json/build/tests/Release/test-regression2_cpp20 +home/json/build/tests/Debug/test-regression2_cpp20 +home/json/build/tests/Debug/test-regression2_cpp20 +home/json/build/tests/MinSizeRel/test-regression2_cpp20 +home/json/build/tests/MinSizeRel/test-regression2_cpp20 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +home/json/build/tests/Deployment/test-regression2_cpp20 +home/json/build/tests/Deployment/test-regression2_cpp20 +home/json/build/tests/Development/test-regression2_cpp20 +home/json/build/tests/Development/test-regression2_cpp20 +54/81 Test #54: test-regression2_cpp20 .......................***Not Run 0.00 sec + Start 55: test-serialization_cpp11 +Could not find executable /home/json/build/tests/test-serialization_cpp11 +Unable to find executable: /home/json/build/tests/test-udt_macro_cpp11 +Looked in the following places: +/home/json/build/tests/test-serialization_cpp11 +/home/json/build/tests/test-serialization_cpp11 +/home/json/build/tests/Release/test-serialization_cpp11 +/home/json/build/tests/Release/test-serialization_cpp11 +/home/json/build/tests/Debug/test-serialization_cpp11 +/home/json/build/tests/Debug/test-serialization_cpp11 +/home/json/build/tests/MinSizeRel/test-serialization_cpp11 +/home/json/build/tests/MinSizeRel/test-serialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +/home/json/build/tests/Deployment/test-serialization_cpp11 +/home/json/build/tests/Deployment/test-serialization_cpp11 +/home/json/build/tests/Development/test-serialization_cpp11 +/home/json/build/tests/Development/test-serialization_cpp11 +home/json/build/tests/test-serialization_cpp11 +home/json/build/tests/test-serialization_cpp11 +home/json/build/tests/Release/test-serialization_cpp11 +home/json/build/tests/Release/test-serialization_cpp11 +home/json/build/tests/Debug/test-serialization_cpp11 +home/json/build/tests/Debug/test-serialization_cpp11 +home/json/build/tests/MinSizeRel/test-serialization_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-serialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +home/json/build/tests/Deployment/test-serialization_cpp11 +home/json/build/tests/Deployment/test-serialization_cpp11 +home/json/build/tests/Development/test-serialization_cpp11 +home/json/build/tests/Development/test-serialization_cpp11 +55/81 Test #55: test-serialization_cpp11 .....................***Not Run 0.00 sec + Start 56: test-testsuites_cpp11 +Could not find executable /home/json/build/tests/test-testsuites_cpp11 +Looked in the following places: +/home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/Release/test-testsuites_cpp11 +/home/json/build/tests/Release/test-testsuites_cpp11 +/home/json/build/tests/Debug/test-testsuites_cpp11 +/home/json/build/tests/Debug/test-testsuites_cpp11 +/home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +/home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +/home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +/home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +/home/json/build/tests/Deployment/test-testsuites_cpp11 +/home/json/build/tests/Deployment/test-testsuites_cpp11 +/home/json/build/tests/Development/test-testsuites_cpp11 +/home/json/build/tests/Development/test-testsuites_cpp11 +home/json/build/tests/test-testsuites_cpp11 +home/json/build/tests/test-testsuites_cpp11 +home/json/build/tests/Release/test-testsuites_cpp11 +home/json/build/tests/Release/test-testsuites_cpp11 +home/json/build/tests/Debug/test-testsuites_cpp11 +home/json/build/tests/Debug/test-testsuites_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +home/json/build/tests/Deployment/test-testsuites_cpp11 +home/json/build/tests/Deployment/test-testsuites_cpp11 +home/json/build/tests/Development/test-testsuites_cpp11 +home/json/build/tests/Development/test-testsuites_cpp11 +56/81 Test #56: test-testsuites_cpp11 ........................***Not Run 0.00 sec + Start 57: test-to_chars_cpp11 +Could not find executable /home/json/build/tests/test-to_chars_cpp11 +Looked in the following places: +/home/json/build/tests/test-to_chars_cpp11 +/home/json/build/tests/test-to_chars_cpp11 +/home/json/build/tests/Release/test-to_chars_cpp11 +/home/json/build/tests/Release/test-to_chars_cpp11 +/home/json/build/tests/Debug/test-to_chars_cpp11 +/home/json/build/tests/Debug/test-to_chars_cpp11 +/home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +/home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +/home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +/home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +/home/json/build/tests/Deployment/test-to_chars_cpp11 +/home/json/build/tests/Deployment/test-to_chars_cpp11 +/home/json/build/tests/Development/test-to_chars_cpp11 +/home/json/build/tests/Development/test-to_chars_cpp11 +home/json/build/tests/test-to_chars_cpp11 +home/json/build/tests/test-to_chars_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/Release/test-to_chars_cpp11 +home/json/build/tests/Release/test-to_chars_cpp11 +home/json/build/tests/Debug/test-to_chars_cpp11 +home/json/build/tests/Debug/test-to_chars_cpp11 +home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +home/json/build/tests/Deployment/test-to_chars_cpp11 +home/json/build/tests/Deployment/test-to_chars_cpp11 +home/json/build/tests/Development/test-to_chars_cpp11 +home/json/build/tests/Development/test-to_chars_cpp11 +57/81 Test #57: test-to_chars_cpp11 ..........................***Not Run 0.00 sec + Start 58: test-ubjson_cpp11 +Could not find executable /home/json/build/tests/test-ubjson_cpp11 +Looked in the following places: +/home/json/build/tests/test-ubjson_cpp11 +/home/json/build/tests/test-ubjson_cpp11 +/home/json/build/tests/Release/test-ubjson_cpp11 +/home/json/build/tests/Release/test-ubjson_cpp11 +/home/json/build/tests/Debug/test-ubjson_cpp11 +/home/json/build/tests/Debug/test-ubjson_cpp11 +/home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +/home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +/home/json/build/tests/Deployment/test-ubjson_cpp11 +/home/json/build/tests/Deployment/test-ubjson_cpp11 +/home/json/build/tests/Development/test-ubjson_cpp11 +/home/json/build/tests/Development/test-ubjson_cpp11 +home/json/build/tests/test-ubjson_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/test-ubjson_cpp11 +home/json/build/tests/Release/test-ubjson_cpp11 +home/json/build/tests/Release/test-ubjson_cpp11 +home/json/build/tests/Debug/test-ubjson_cpp11 +home/json/build/tests/Debug/test-ubjson_cpp11 +home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +home/json/build/tests/Deployment/test-ubjson_cpp11 +home/json/build/tests/Deployment/test-ubjson_cpp11 +home/json/build/tests/Development/test-ubjson_cpp11 +home/json/build/tests/Development/test-ubjson_cpp11 +58/81 Test #58: test-ubjson_cpp11 ............................***Not Run 0.00 sec + Start 59: test-udt_cpp11 +Could not find executable /home/json/build/tests/test-udt_cpp11 +Looked in the following places: +/home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/Release/test-udt_cpp11 +/home/json/build/tests/Release/test-udt_cpp11 +/home/json/build/tests/Debug/test-udt_cpp11 +/home/json/build/tests/Debug/test-udt_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +/home/json/build/tests/Deployment/test-udt_cpp11 +/home/json/build/tests/Deployment/test-udt_cpp11 +/home/json/build/tests/Development/test-udt_cpp11 +/home/json/build/tests/Development/test-udt_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/test-udt_cpp11 +home/json/build/tests/test-udt_cpp11 +home/json/build/tests/Release/test-udt_cpp11 +home/json/build/tests/Release/test-udt_cpp11 +home/json/build/tests/Debug/test-udt_cpp11 +home/json/build/tests/Debug/test-udt_cpp11 +home/json/build/tests/MinSizeRel/test-udt_cpp11 +home/json/build/tests/MinSizeRel/test-udt_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +home/json/build/tests/Deployment/test-udt_cpp11 +home/json/build/tests/Deployment/test-udt_cpp11 +home/json/build/tests/Development/test-udt_cpp11 +home/json/build/tests/Development/test-udt_cpp11 +59/81 Test #59: test-udt_cpp11 ...............................***Not Run 0.00 sec + Start 60: test-udt_macro_cpp11 +Could not find executable /home/json/build/tests/test-udt_macro_cpp11 +Looked in the following places: +/home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-udt_macro_cpp11 +/home/json/build/tests/Debug/test-udt_macro_cpp11 +/home/json/build/tests/Debug/test-udt_macro_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/tests/Deployment/test-udt_macro_cpp11 +/home/json/build/tests/Deployment/test-udt_macro_cpp11 +/home/json/build/tests/Development/test-udt_macro_cpp11 +/home/json/build/tests/Development/test-udt_macro_cpp11 +home/json/build/tests/test-udt_macro_cpp11 +home/json/build/tests/test-udt_macro_cpp11 +home/json/build/tests/Release/test-udt_macro_cpp11 +home/json/build/tests/Release/test-udt_macro_cpp11 +home/json/build/tests/Debug/test-udt_macro_cpp11 +home/json/build/tests/Debug/test-udt_macro_cpp11 +home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +Unable to find executable: /home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-udt_macro_cpp11 +home/json/build/tests/Deployment/test-udt_macro_cpp11 +home/json/build/tests/Development/test-udt_macro_cpp11 +home/json/build/tests/Development/test-udt_macro_cpp11 +60/81 Test #60: test-udt_macro_cpp11 .........................***Not Run 0.00 sec + Start 61: test-unicode1_cpp11 +Could not find executable /home/json/build/tests/test-unicode1_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/Release/test-unicode1_cpp11 +/home/json/build/tests/Release/test-unicode1_cpp11 +/home/json/build/tests/Debug/test-unicode1_cpp11 +/home/json/build/tests/Debug/test-unicode1_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/tests/Deployment/test-unicode1_cpp11 +/home/json/build/tests/Deployment/test-unicode1_cpp11 +/home/json/build/tests/Development/test-unicode1_cpp11 +/home/json/build/tests/Development/test-unicode1_cpp11 +home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/Release/test-unicode1_cpp11 +home/json/build/tests/Release/test-unicode1_cpp11 +home/json/build/tests/Debug/test-unicode1_cpp11 +home/json/build/tests/Debug/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/tests/Deployment/test-unicode1_cpp11 +home/json/build/tests/Deployment/test-unicode1_cpp11 +home/json/build/tests/Development/test-unicode1_cpp11 +home/json/build/tests/Development/test-unicode1_cpp11 +61/81 Test #61: test-unicode1_cpp11 ..........................***Not Run 0.00 sec + Start 62: test-unicode2_cpp11 +Could not find executable /home/json/build/tests/test-unicode2_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/Release/test-unicode2_cpp11 +/home/json/build/tests/Release/test-unicode2_cpp11 +/home/json/build/tests/Debug/test-unicode2_cpp11 +/home/json/build/tests/Debug/test-unicode2_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/tests/Deployment/test-unicode2_cpp11 +/home/json/build/tests/Deployment/test-unicode2_cpp11 +/home/json/build/tests/Development/test-unicode2_cpp11 +/home/json/build/tests/Development/test-unicode2_cpp11 +home/json/build/tests/test-unicode2_cpp11 +Unable to find executable: /home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/Release/test-unicode2_cpp11 +home/json/build/tests/Release/test-unicode2_cpp11 +home/json/build/tests/Debug/test-unicode2_cpp11 +Unable to find executable: /home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode2_cpp11 +home/json/build/tests/Development/test-unicode2_cpp11 +home/json/build/tests/Development/test-unicode2_cpp11 +62/81 Test #62: test-unicode2_cpp11 ..........................***Not Run 0.00 sec + Start 63: test-unicode3_cpp11 +Could not find executable /home/json/build/tests/test-unicode3_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode3_cpp11 +/home/json/build/tests/test-unicode3_cpp11 +/home/json/build/tests/Release/test-unicode3_cpp11 +/home/json/build/tests/Release/test-unicode3_cpp11 +/home/json/build/tests/Debug/test-unicode3_cpp11 +/home/json/build/tests/Debug/test-unicode3_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/tests/Deployment/test-unicode3_cpp11 +/home/json/build/tests/Deployment/test-unicode3_cpp11 +/home/json/build/tests/Development/test-unicode3_cpp11 +/home/json/build/tests/Development/test-unicode3_cpp11 +home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/Release/test-unicode3_cpp11 +home/json/build/tests/Release/test-unicode3_cpp11 +home/json/build/tests/Debug/test-unicode3_cpp11 +home/json/build/tests/Debug/test-unicode3_cpp11 +home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/tests/Deployment/test-unicode3_cpp11 +home/json/build/tests/Deployment/test-unicode3_cpp11 +home/json/build/tests/Development/test-unicode3_cpp11 +Unable to find executable: /home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-unicode3_cpp11 +63/81 Test #63: test-unicode3_cpp11 ..........................***Not Run 0.00 sec + Start 64: test-unicode4_cpp11 +Could not find executable /home/json/build/tests/test-unicode4_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode4_cpp11 +/home/json/build/tests/test-unicode4_cpp11 +/home/json/build/tests/Release/test-unicode4_cpp11 +/home/json/build/tests/Release/test-unicode4_cpp11 +/home/json/build/tests/Debug/test-unicode4_cpp11 +/home/json/build/tests/Debug/test-unicode4_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/tests/Deployment/test-unicode4_cpp11 +/home/json/build/tests/Deployment/test-unicode4_cpp11 +/home/json/build/tests/Development/test-unicode4_cpp11 +/home/json/build/tests/Development/test-unicode4_cpp11 +home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/Release/test-unicode4_cpp11 +home/json/build/tests/Release/test-unicode4_cpp11 +home/json/build/tests/Debug/test-unicode4_cpp11 +home/json/build/tests/Debug/test-unicode4_cpp11 +home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode4_cpp11 +home/json/build/tests/Development/test-unicode4_cpp11 +home/json/build/tests/Development/test-unicode4_cpp11 +64/81 Test #64: test-unicode4_cpp11 ..........................***Not Run 0.00 sec + Start 65: test-unicode5_cpp11 +Could not find executable /home/json/build/tests/test-unicode5_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/Release/test-unicode5_cpp11 +/home/json/build/tests/Release/test-unicode5_cpp11 +/home/json/build/tests/Debug/test-unicode5_cpp11 +/home/json/build/tests/Debug/test-unicode5_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/tests/Deployment/test-unicode5_cpp11 +/home/json/build/tests/Deployment/test-unicode5_cpp11 +/home/json/build/tests/Development/test-unicode5_cpp11 +/home/json/build/tests/Development/test-unicode5_cpp11 +home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/Release/test-unicode5_cpp11 +home/json/build/tests/Release/test-unicode5_cpp11 +home/json/build/tests/Debug/test-unicode5_cpp11 +home/json/build/tests/Debug/test-unicode5_cpp11 +home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/tests/Deployment/test-unicode5_cpp11 +home/json/build/tests/Deployment/test-unicode5_cpp11 +home/json/build/tests/Development/test-unicode5_cpp11 +home/json/build/tests/Development/test-unicode5_cpp11 +65/81 Test #65: test-unicode5_cpp11 ..........................***Not Run 0.00 sec + Start 66: test-user_defined_input_cpp11 +Could not find executable /home/json/build/tests/test-user_defined_input_cpp11 +Looked in the following places: +/home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/Release/test-user_defined_input_cpp11 +/home/json/build/tests/Release/test-user_defined_input_cpp11 +/home/json/build/tests/Debug/test-user_defined_input_cpp11 +/home/json/build/tests/Debug/test-user_defined_input_cpp11 +/home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/tests/Deployment/test-user_defined_input_cpp11 +/home/json/build/tests/Deployment/test-user_defined_input_cpp11 +/home/json/build/tests/Development/test-user_defined_input_cpp11 +/home/json/build/tests/Development/test-user_defined_input_cpp11 +home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/Release/test-user_defined_input_cpp11 +home/json/build/tests/Release/test-user_defined_input_cpp11 +home/json/build/tests/Debug/test-user_defined_input_cpp11 +home/json/build/tests/Debug/test-user_defined_input_cpp11 +home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-user_defined_input_cpp11 +home/json/build/tests/Development/test-user_defined_input_cpp11 +home/json/build/tests/Development/test-user_defined_input_cpp11 +66/81 Test #66: test-user_defined_input_cpp11 ................***Not Run 0.00 sec + Start 67: test-wstring_cpp11 +Could not find executable /home/json/build/tests/test-wstring_cpp11 +Looked in the following places: +/home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/Release/test-wstring_cpp11 +/home/json/build/tests/Release/test-wstring_cpp11 +/home/json/build/tests/Debug/test-wstring_cpp11 +/home/json/build/tests/Debug/test-wstring_cpp11 +/home/json/build/tests/MinSizeRel/test-wstring_cpp11 +/home/json/build/tests/MinSizeRel/test-wstring_cpp11 +/home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/tests/Deployment/test-wstring_cpp11 +/home/json/build/tests/Deployment/test-wstring_cpp11 +/home/json/build/tests/Development/test-wstring_cpp11 +/home/json/build/tests/Development/test-wstring_cpp11 +home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/Release/test-wstring_cpp11 +home/json/build/tests/Release/test-wstring_cpp11 +home/json/build/tests/Debug/test-wstring_cpp11 +home/json/build/tests/Debug/test-wstring_cpp11 +home/json/build/tests/MinSizeRel/test-wstring_cpp11 +home/json/build/tests/MinSizeRel/test-wstring_cpp11 +home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +home/json/build/tests/Deployment/test-wstring_cpp11 +home/json/build/tests/Deployment/test-wstring_cpp11 +home/json/build/tests/Development/test-wstring_cpp11 +home/json/build/tests/Development/test-wstring_cpp11 +67/81 Test #67: test-wstring_cpp11 ...........................***Not Run 0.00 sec + Start 68: test-comparison_legacy_cpp11 +Could not find executable /home/json/build/tests/test-comparison_legacy_cpp11 +Looked in the following places: +/home/json/build/tests/test-comparison_legacy_cpp11 +/home/json/build/tests/test-comparison_legacy_cpp11 +/home/json/build/tests/Release/test-comparison_legacy_cpp11 +/home/json/build/tests/Release/test-comparison_legacy_cpp11 +/home/json/build/tests/Debug/test-comparison_legacy_cpp11 +/home/json/build/tests/Debug/test-comparison_legacy_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +/home/json/build/tests/Development/test-comparison_legacy_cpp11 +/home/json/build/tests/Development/test-comparison_legacy_cpp11 +home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/Release/test-comparison_legacy_cpp11 +home/json/build/tests/Release/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-comparison_legacy_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +home/json/build/tests/Development/test-comparison_legacy_cpp11 +home/json/build/tests/Development/test-comparison_legacy_cpp11 +68/81 Test #68: test-comparison_legacy_cpp11 .................***Not Run 0.00 sec + Start 69: test-comparison_legacy_cpp20 +Could not find executable /home/json/build/tests/test-comparison_legacy_cpp20 +Looked in the following places: +/home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/Release/test-comparison_legacy_cpp20 +/home/json/build/tests/Release/test-comparison_legacy_cpp20 +/home/json/build/tests/Debug/test-comparison_legacy_cpp20 +/home/json/build/tests/Debug/test-comparison_legacy_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +/home/json/build/tests/Development/test-comparison_legacy_cpp20 +/home/json/build/tests/Development/test-comparison_legacy_cpp20 +home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/Release/test-comparison_legacy_cpp20 +home/json/build/tests/Release/test-comparison_legacy_cpp20 +home/json/build/tests/Debug/test-comparison_legacy_cpp20 +home/json/build/tests/Debug/test-comparison_legacy_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-comparison_legacy_cpp20 +69/81 Test #69: test-comparison_legacy_cpp20 .................***Not Run 0.00 sec + Start 70: cmake_import_configure +70/81 Test #70: cmake_import_configure ....................... Passed 0.20 sec + Start 71: cmake_import_build +71/81 Test #71: cmake_import_build ........................... Passed 2.87 sec + Start 72: cmake_import_minver_configure +72/81 Test #72: cmake_import_minver_configure ................ Passed 0.20 sec + Start 73: cmake_import_minver_build +73/81 Test #73: cmake_import_minver_build .................... Passed 1.47 sec + Start 74: cmake_add_subdirectory_configure +74/81 Test #74: cmake_add_subdirectory_configure ............. Passed 0.22 sec + Start 75: cmake_add_subdirectory_build +75/81 Test #75: cmake_add_subdirectory_build ................. Passed 4.23 sec + Start 76: cmake_fetch_content_configure +76/81 Test #76: cmake_fetch_content_configure ................ Passed 0.95 sec + Start 77: cmake_fetch_content_build +77/81 Test #77: cmake_fetch_content_build .................... Passed 3.08 sec + Start 78: cmake_fetch_content2_configure +78/81 Test #78: cmake_fetch_content2_configure ............... Passed 0.79 sec + Start 79: cmake_fetch_content2_build +79/81 Test #79: cmake_fetch_content2_build ................... Passed 2.94 sec + Start 80: cmake_target_include_directories_configure +80/81 Test #80: cmake_target_include_directories_configure ... Passed 0.24 sec + Start 81: cmake_target_include_directories_build +81/81 Test #81: cmake_target_include_directories_build ....... Passed 5.17 sec + +22% tests passed, 63 tests failed out of 81 + +Label Time Summary: +all = 20.50 sec*proc (68 tests) +git_required = 7.76 sec*proc (4 tests) +not_reproducible = 22.37 sec*proc (12 tests) + +Total Test time (real) = 42.96 sec + +The following tests FAILED: + 7 - test-bjdata_cpp11 (Not Run) + 8 - test-bson_cpp11 (Not Run) + 9 - test-byte_container_with_subtype_cpp11 (Not Run) + 10 - test-capacity_cpp11 (Not Run) + 11 - test-cbor_cpp11 (Not Run) + 12 - test-class_const_iterator_cpp11 (Not Run) + 13 - test-class_iterator_cpp11 (Not Run) + 14 - test-class_lexer_cpp11 (Not Run) + 15 - test-class_parser_cpp11 (Not Run) + 16 - test-comparison_cpp11 (Not Run) + 17 - test-comparison_cpp20 (Not Run) + 18 - test-concepts_cpp11 (Not Run) + 19 - test-constructor1_cpp11 (Not Run) + 20 - test-constructor2_cpp11 (Not Run) + 21 - test-convenience_cpp11 (Not Run) + 22 - test-conversions_cpp11 (Not Run) + 23 - test-conversions_cpp17 (Not Run) + 24 - test-deserialization_cpp11 (Not Run) + 25 - test-diagnostics_cpp11 (Not Run) + 26 - test-disabled_exceptions_cpp11 (Not Run) + 27 - test-element_access1_cpp11 (Not Run) + 28 - test-element_access2_cpp11 (Not Run) + 29 - test-element_access2_cpp17 (Not Run) + 30 - test-hash_cpp11 (Not Run) + 31 - test-inspection_cpp11 (Not Run) + 32 - test-items_cpp11 (Not Run) + 33 - test-items_cpp17 (Not Run) + 34 - test-iterators1_cpp11 (Not Run) + 35 - test-iterators2_cpp11 (Not Run) + 36 - test-iterators2_cpp20 (Not Run) + 37 - test-json_patch_cpp11 (Not Run) + 38 - test-json_pointer_cpp11 (Not Run) + 39 - test-large_json_cpp11 (Not Run) + 40 - test-merge_patch_cpp11 (Not Run) + 41 - test-meta_cpp11 (Not Run) + 42 - test-modifiers_cpp11 (Not Run) + 43 - test-msgpack_cpp11 (Not Run) + 44 - test-noexcept_cpp11 (Not Run) + 45 - test-ordered_json_cpp11 (Not Run) + 46 - test-ordered_map_cpp11 (Not Run) + 47 - test-pointer_access_cpp11 (Not Run) + 48 - test-readme_cpp11 (Not Run) + 49 - test-reference_access_cpp11 (Not Run) + 50 - test-regression1_cpp11 (Not Run) + 51 - test-regression1_cpp17 (Not Run) + 52 - test-regression2_cpp11 (Not Run) + 53 - test-regression2_cpp17 (Not Run) + 54 - test-regression2_cpp20 (Not Run) + 55 - test-serialization_cpp11 (Not Run) + 56 - test-testsuites_cpp11 (Not Run) + 57 - test-to_chars_cpp11 (Not Run) + 58 - test-ubjson_cpp11 (Not Run) + 59 - test-udt_cpp11 (Not Run) + 60 - test-udt_macro_cpp11 (Not Run) + 61 - test-unicode1_cpp11 (Not Run) + 62 - test-unicode2_cpp11 (Not Run) + 63 - test-unicode3_cpp11 (Not Run) + 64 - test-unicode4_cpp11 (Not Run) + 65 - test-unicode5_cpp11 (Not Run) + 66 - test-user_defined_input_cpp11 (Not Run) + 67 - test-wstring_cpp11 (Not Run) + 68 - test-comparison_legacy_cpp11 (Not Run) + 69 - test-comparison_legacy_cpp20 (Not Run) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/fix.patch new file mode 100644 index 000000000..b449f8d4b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/fix.patch @@ -0,0 +1,52 @@ +diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp +index cbcb4158..a2f5fc56 100644 +--- a/include/nlohmann/detail/input/binary_reader.hpp ++++ b/include/nlohmann/detail/input/binary_reader.hpp +@@ -2168,7 +2168,7 @@ class binary_reader + for (auto i : dim) + { + result *= i; +- if (JSON_HEDLEY_UNLIKELY(!sax->number_integer(static_cast(i)))) ++ if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(static_cast(i)))) + { + return false; + } +diff --git a/include/nlohmann/detail/output/binary_writer.hpp b/include/nlohmann/detail/output/binary_writer.hpp +index bb44a181..e348dc9f 100644 +--- a/include/nlohmann/detail/output/binary_writer.hpp ++++ b/include/nlohmann/detail/output/binary_writer.hpp +@@ -1625,7 +1625,9 @@ class binary_writer + std::size_t len = (value.at(key).empty() ? 0 : 1); + for (const auto& el : value.at(key)) + { +- len *= static_cast(el.m_value.number_unsigned); ++ len *= el.type() == value_t::number_unsigned ++ ? static_cast(el.m_value.number_unsigned) ++ : static_cast(el.m_value.number_integer); + } + + key = "_ArrayData_"; +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 2837e74b..42eefd7e 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -10758,7 +10758,7 @@ class binary_reader + for (auto i : dim) + { + result *= i; +- if (JSON_HEDLEY_UNLIKELY(!sax->number_integer(static_cast(i)))) ++ if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(static_cast(i)))) + { + return false; + } +@@ -15818,7 +15818,9 @@ class binary_writer + std::size_t len = (value.at(key).empty() ? 0 : 1); + for (const auto& el : value.at(key)) + { +- len *= static_cast(el.m_value.number_unsigned); ++ len *= el.type() == value_t::number_unsigned ++ ? static_cast(el.m_value.number_unsigned) ++ : static_cast(el.m_value.number_integer); + } + + key = "_ArrayData_"; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/report.json new file mode 100644 index 000000000..6b6de9228 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3523/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3523, "valid": true, "error_msg": "", "fixed_tests": {"cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 18, "failed_count": 0, "skipped_count": 0, "passed_tests": ["cmake_fetch_content_configure", "cmake_target_include_directories_build", "cmake_fetch_content2_configure", "cmake_import_build", "test-binary_formats_cpp11", "test-alt-string_cpp11", "cmake_import_configure", "cmake_target_include_directories_configure", "test-allocator_cpp11", "cmake_fetch_content_build", "cmake_import_minver_build", "test-assert_macro_cpp11", "cmake_fetch_content2_build", "cmake_import_minver_configure", "test-algorithms_cpp11", "cmake_add_subdirectory_configure", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/fix-patch-run.log new file mode 100644 index 000000000..286127d61 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/fix-patch-run.log @@ -0,0 +1,643 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7153 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (18.7 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.3 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6018 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.3SNNI7Fo +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.3SNNI7Fo/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.3SNNI7Fo/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.3SNNI7Fo/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.3SNNI7Fo/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.3SNNI7Fo/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.3SNNI7Fo +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=8821884fa79e +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.1cL3QkjAvb/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-32bit.cpp +patching file tests/src/unit-bjdata.cpp +patching file include/nlohmann/detail/input/binary_reader.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 8821884fa79e 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string_cpp11 +[ 6%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 8%] Linking CXX executable test-binary_formats_cpp11 +[ 8%] Built target test-binary_formats_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 10%] Linking CXX executable test-bjdata_cpp11 +[ 10%] Built target test-bjdata_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 11%] Linking CXX executable test-bson_cpp11 +[ 11%] Built target test-bson_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 13%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 13%] Built target test-byte_container_with_subtype_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 14%] Linking CXX executable test-capacity_cpp11 +[ 14%] Built target test-capacity_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 16%] Linking CXX executable test-cbor_cpp11 +[ 16%] Built target test-cbor_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 17%] Linking CXX executable test-class_const_iterator_cpp11 +[ 17%] Built target test-class_const_iterator_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 19%] Linking CXX executable test-class_iterator_cpp11 +[ 19%] Built target test-class_iterator_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer_cpp11 +[ 20%] Built target test-class_lexer_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser_cpp11 +[ 22%] Built target test-class_parser_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison_cpp11 +[ 23%] Built target test-comparison_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 24%] Linking CXX executable test-comparison_cpp20 +[ 24%] Built target test-comparison_cpp20 +[ 25%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 26%] Linking CXX executable test-concepts_cpp11 +[ 26%] Built target test-concepts_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1_cpp11 +[ 27%] Built target test-constructor1_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 29%] Linking CXX executable test-constructor2_cpp11 +[ 29%] Built target test-constructor2_cpp11 +[ 29%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience_cpp11 +[ 30%] Built target test-convenience_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions_cpp11 +[ 32%] Built target test-conversions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 33%] Linking CXX executable test-conversions_cpp17 +[ 33%] Built target test-conversions_cpp17 +[ 34%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization_cpp11 +[ 34%] Built target test-deserialization_cpp11 +[ 35%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 36%] Linking CXX executable test-diagnostics_cpp11 +[ 36%] Built target test-diagnostics_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 37%] Built target test-disabled_exceptions_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1_cpp11 +[ 39%] Built target test-element_access1_cpp11 +[ 40%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2_cpp11 +[ 40%] Built target test-element_access2_cpp11 +[ 41%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 42%] Linking CXX executable test-element_access2_cpp17 +[ 42%] Built target test-element_access2_cpp17 +[ 42%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 43%] Linking CXX executable test-hash_cpp11 +[ 43%] Built target test-hash_cpp11 +[ 44%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 45%] Linking CXX executable test-inspection_cpp11 +[ 45%] Built target test-inspection_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items_cpp11 +[ 46%] Built target test-items_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 48%] Linking CXX executable test-items_cpp17 +[ 48%] Built target test-items_cpp17 +[ 48%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 49%] Linking CXX executable test-iterators1_cpp11 +[ 49%] Built target test-iterators1_cpp11 +[ 50%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 50%] Linking CXX executable test-iterators2_cpp11 +[ 50%] Built target test-iterators2_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 52%] Linking CXX executable test-iterators2_cpp20 +[ 52%] Built target test-iterators2_cpp20 +[ 53%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 53%] Linking CXX executable test-json_patch_cpp11 +[ 53%] Built target test-json_patch_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 55%] Linking CXX executable test-json_pointer_cpp11 +[ 55%] Built target test-json_pointer_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 56%] Linking CXX executable test-large_json_cpp11 +[ 56%] Built target test-large_json_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 58%] Linking CXX executable test-merge_patch_cpp11 +[ 58%] Built target test-merge_patch_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 59%] Linking CXX executable test-meta_cpp11 +[ 59%] Built target test-meta_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 61%] Linking CXX executable test-modifiers_cpp11 +[ 61%] Built target test-modifiers_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack_cpp11 +[ 62%] Built target test-msgpack_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept_cpp11 +[ 63%] Built target test-noexcept_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json_cpp11 +[ 65%] Built target test-ordered_json_cpp11 +[ 66%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 66%] Linking CXX executable test-ordered_map_cpp11 +[ 66%] Built target test-ordered_map_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 68%] Linking CXX executable test-pointer_access_cpp11 +[ 68%] Built target test-pointer_access_cpp11 +[ 69%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 69%] Linking CXX executable test-readme_cpp11 +[ 69%] Built target test-readme_cpp11 +[ 70%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 71%] Linking CXX executable test-reference_access_cpp11 +[ 71%] Built target test-reference_access_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 72%] Linking CXX executable test-regression1_cpp11 +[ 72%] Built target test-regression1_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1_cpp17 +[ 74%] Built target test-regression1_cpp17 +[ 74%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 75%] Linking CXX executable test-regression2_cpp11 +[ 75%] Built target test-regression2_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2_cpp17 +[ 76%] Built target test-regression2_cpp17 +[ 77%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 78%] Linking CXX executable test-regression2_cpp20 +[ 78%] Built target test-regression2_cpp20 +[ 79%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 79%] Linking CXX executable test-serialization_cpp11 +[ 79%] Built target test-serialization_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 81%] Linking CXX executable test-testsuites_cpp11 +[ 81%] Built target test-testsuites_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 82%] Linking CXX executable test-to_chars_cpp11 +[ 82%] Built target test-to_chars_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 84%] Linking CXX executable test-ubjson_cpp11 +[ 84%] Built target test-ubjson_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 85%] Linking CXX executable test-udt_cpp11 +[ 85%] Built target test-udt_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 87%] Linking CXX executable test-udt_macro_cpp11 +[ 87%] Built target test-udt_macro_cpp11 +[ 87%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1_cpp11 +[ 88%] Built target test-unicode1_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2_cpp11 +[ 90%] Built target test-unicode2_cpp11 +[ 90%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3_cpp11 +[ 91%] Built target test-unicode3_cpp11 +[ 92%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 92%] Linking CXX executable test-unicode4_cpp11 +[ 92%] Built target test-unicode4_cpp11 +[ 93%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 94%] Linking CXX executable test-unicode5_cpp11 +[ 94%] Built target test-unicode5_cpp11 +[ 95%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 95%] Linking CXX executable test-user_defined_input_cpp11 +[ 95%] Built target test-user_defined_input_cpp11 +[ 96%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 97%] Linking CXX executable test-wstring_cpp11 +[ 97%] Built target test-wstring_cpp11 +[ 98%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 99%] Linking CXX executable test-comparison_legacy_cpp11 +[ 99%] Built target test-comparison_legacy_cpp11 +[100%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[100%] Linking CXX executable test-comparison_legacy_cpp20 +[100%] Built target test-comparison_legacy_cpp20 +Test project /home/json/build + Start 1: download_test_data + 1/81 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/81 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/81 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/81 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/81 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/81 Test #6: test-binary_formats_cpp11 .................... Passed 20.90 sec + Start 7: test-bjdata_cpp11 + 7/81 Test #7: test-bjdata_cpp11 ............................ Passed 10.19 sec + Start 8: test-bson_cpp11 + 8/81 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/81 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/81 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/81 Test #11: test-cbor_cpp11 .............................. Passed 40.29 sec + Start 12: test-class_const_iterator_cpp11 +12/81 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/81 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/81 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/81 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/81 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/81 Test #17: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 18: test-concepts_cpp11 +18/81 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/81 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/81 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/81 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/81 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/81 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/81 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/81 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/81 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/81 Test #27: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 28: test-element_access2_cpp11 +28/81 Test #28: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 29: test-element_access2_cpp17 +29/81 Test #29: test-element_access2_cpp17 ................... Passed 0.01 sec + Start 30: test-hash_cpp11 +30/81 Test #30: test-hash_cpp11 .............................. Passed 0.00 sec + Start 31: test-inspection_cpp11 +31/81 Test #31: test-inspection_cpp11 ........................ Passed 5.55 sec + Start 32: test-items_cpp11 +32/81 Test #32: test-items_cpp11 ............................. Passed 0.00 sec + Start 33: test-items_cpp17 +33/81 Test #33: test-items_cpp17 ............................. Passed 0.00 sec + Start 34: test-iterators1_cpp11 +34/81 Test #34: test-iterators1_cpp11 ........................ Passed 0.01 sec + Start 35: test-iterators2_cpp11 +35/81 Test #35: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 36: test-iterators2_cpp20 +36/81 Test #36: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 37: test-json_patch_cpp11 +37/81 Test #37: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 38: test-json_pointer_cpp11 +38/81 Test #38: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 39: test-large_json_cpp11 +39/81 Test #39: test-large_json_cpp11 ........................ Passed 5.33 sec + Start 40: test-merge_patch_cpp11 +40/81 Test #40: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 41: test-meta_cpp11 +41/81 Test #41: test-meta_cpp11 .............................. Passed 0.00 sec + Start 42: test-modifiers_cpp11 +42/81 Test #42: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 43: test-msgpack_cpp11 +43/81 Test #43: test-msgpack_cpp11 ........................... Passed 40.39 sec + Start 44: test-noexcept_cpp11 +44/81 Test #44: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 45: test-ordered_json_cpp11 +45/81 Test #45: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 46: test-ordered_map_cpp11 +46/81 Test #46: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 47: test-pointer_access_cpp11 +47/81 Test #47: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 48: test-readme_cpp11 +48/81 Test #48: test-readme_cpp11 ............................ Passed 0.00 sec + Start 49: test-reference_access_cpp11 +49/81 Test #49: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 50: test-regression1_cpp11 +50/81 Test #50: test-regression1_cpp11 ....................... Passed 6.29 sec + Start 51: test-regression1_cpp17 +51/81 Test #51: test-regression1_cpp17 ....................... Passed 7.66 sec + Start 52: test-regression2_cpp11 +52/81 Test #52: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 53: test-regression2_cpp17 +53/81 Test #53: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 54: test-regression2_cpp20 +54/81 Test #54: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 55: test-serialization_cpp11 +55/81 Test #55: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 56: test-testsuites_cpp11 +56/81 Test #56: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 57: test-to_chars_cpp11 +57/81 Test #57: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 58: test-ubjson_cpp11 +58/81 Test #58: test-ubjson_cpp11 ............................ Passed 12.75 sec + Start 59: test-udt_cpp11 +59/81 Test #59: test-udt_cpp11 ............................... Passed 0.00 sec + Start 60: test-udt_macro_cpp11 +60/81 Test #60: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 61: test-unicode1_cpp11 +61/81 Test #61: test-unicode1_cpp11 .......................... Passed 5.87 sec + Start 62: test-unicode2_cpp11 +62/81 Test #62: test-unicode2_cpp11 .......................... Passed 10.60 sec + Start 63: test-unicode3_cpp11 +63/81 Test #63: test-unicode3_cpp11 .......................... Passed 39.48 sec + Start 64: test-unicode4_cpp11 +64/81 Test #64: test-unicode4_cpp11 .......................... Passed 131.50 sec + Start 65: test-unicode5_cpp11 +65/81 Test #65: test-unicode5_cpp11 .......................... Passed 31.46 sec + Start 66: test-user_defined_input_cpp11 +66/81 Test #66: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 67: test-wstring_cpp11 +67/81 Test #67: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 68: test-comparison_legacy_cpp11 +68/81 Test #68: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 69: test-comparison_legacy_cpp20 +69/81 Test #69: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 70: cmake_import_configure +70/81 Test #70: cmake_import_configure ....................... Passed 0.19 sec + Start 71: cmake_import_build +71/81 Test #71: cmake_import_build ........................... Passed 2.80 sec + Start 72: cmake_import_minver_configure +72/81 Test #72: cmake_import_minver_configure ................ Passed 0.19 sec + Start 73: cmake_import_minver_build +73/81 Test #73: cmake_import_minver_build .................... Passed 1.36 sec + Start 74: cmake_add_subdirectory_configure +74/81 Test #74: cmake_add_subdirectory_configure ............. Passed 0.19 sec + Start 75: cmake_add_subdirectory_build +75/81 Test #75: cmake_add_subdirectory_build ................. Passed 3.98 sec + Start 76: cmake_fetch_content_configure +76/81 Test #76: cmake_fetch_content_configure ................ Passed 0.86 sec + Start 77: cmake_fetch_content_build +77/81 Test #77: cmake_fetch_content_build .................... Passed 2.65 sec + Start 78: cmake_fetch_content2_configure +78/81 Test #78: cmake_fetch_content2_configure ............... Passed 0.62 sec + Start 79: cmake_fetch_content2_build +79/81 Test #79: cmake_fetch_content2_build ................... Passed 2.67 sec + Start 80: cmake_target_include_directories_configure +80/81 Test #80: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 81: cmake_target_include_directories_build +81/81 Test #81: cmake_target_include_directories_build ....... Passed 4.74 sec + +100% tests passed, 0 tests failed out of 81 + +Label Time Summary: +all = 368.60 sec*proc (68 tests) +git_required = 6.80 sec*proc (4 tests) +not_reproducible = 20.43 sec*proc (12 tests) + +Total Test time (real) = 389.14 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/fix.patch new file mode 100644 index 000000000..caccdc0d3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/fix.patch @@ -0,0 +1,76 @@ +diff --git a/include/nlohmann/detail/input/binary_reader.hpp b/include/nlohmann/detail/input/binary_reader.hpp +index f5871ddf..05206489 100644 +--- a/include/nlohmann/detail/input/binary_reader.hpp ++++ b/include/nlohmann/detail/input/binary_reader.hpp +@@ -2170,19 +2170,27 @@ class binary_reader + } + } + +- string_t key = "_ArraySize_"; +- if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size()))) +- { +- return false; +- } + result = 1; + for (auto i : dim) + { ++ if (i != 0 && result > (string_t::npos) / i) ++ { ++ return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, exception_message(input_format, "excessive ndarray size caused overflow", "size"), nullptr)); ++ } + result *= i; +- if (result == 0) // because dim elements shall not have zeros, result = 0 means overflow happened ++ if (result == string_t::npos) + { + return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, exception_message(input_format, "excessive ndarray size caused overflow", "size"), nullptr)); + } ++ } ++ ++ string_t key = "_ArraySize_"; ++ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size()))) ++ { ++ return false; ++ } ++ for (auto i : dim) ++ { + if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(static_cast(i)))) + { + return false; +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 98c8dd66..b009a45d 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -10870,19 +10870,27 @@ class binary_reader + } + } + +- string_t key = "_ArraySize_"; +- if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size()))) +- { +- return false; +- } + result = 1; + for (auto i : dim) + { ++ if (i != 0 && result > (string_t::npos) / i) ++ { ++ return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, exception_message(input_format, "excessive ndarray size caused overflow", "size"), nullptr)); ++ } + result *= i; +- if (result == 0) // because dim elements shall not have zeros, result = 0 means overflow happened ++ if (result == string_t::npos) + { + return sax->parse_error(chars_read, get_token_string(), out_of_range::create(408, exception_message(input_format, "excessive ndarray size caused overflow", "size"), nullptr)); + } ++ } ++ ++ string_t key = "_ArraySize_"; ++ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(3) || !sax->key(key) || !sax->start_array(dim.size()))) ++ { ++ return false; ++ } ++ for (auto i : dim) ++ { + if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(static_cast(i)))) + { + return false; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/report.json new file mode 100644 index 000000000..0f7e8e567 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3543/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3543, "valid": true, "error_msg": "", "fixed_tests": {"test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 80, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/fix-patch-run.log new file mode 100644 index 000000000..e2f9a7223 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/fix-patch-run.log @@ -0,0 +1,648 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7015 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.5 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.8 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5992 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.CpB3dO8A +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.CpB3dO8A/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.CpB3dO8A/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.CpB3dO8A/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.CpB3dO8A/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.CpB3dO8A/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.CpB3dO8A +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=6fc7d2effba0 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.BxmOf1xOQv/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-element_access2.cpp +patching file include/nlohmann/detail/meta/type_traits.hpp +patching file include/nlohmann/ordered_map.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 6fc7d2effba0 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string_cpp11 +[ 6%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 8%] Linking CXX executable test-binary_formats_cpp11 +[ 8%] Built target test-binary_formats_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 10%] Linking CXX executable test-bjdata_cpp11 +[ 10%] Built target test-bjdata_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 11%] Linking CXX executable test-bson_cpp11 +[ 11%] Built target test-bson_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 13%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 13%] Built target test-byte_container_with_subtype_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 14%] Linking CXX executable test-capacity_cpp11 +[ 14%] Built target test-capacity_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 16%] Linking CXX executable test-cbor_cpp11 +[ 16%] Built target test-cbor_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 17%] Linking CXX executable test-class_const_iterator_cpp11 +[ 17%] Built target test-class_const_iterator_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 19%] Linking CXX executable test-class_iterator_cpp11 +[ 19%] Built target test-class_iterator_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer_cpp11 +[ 20%] Built target test-class_lexer_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser_cpp11 +[ 22%] Built target test-class_parser_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison_cpp11 +[ 23%] Built target test-comparison_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 24%] Linking CXX executable test-comparison_cpp20 +[ 24%] Built target test-comparison_cpp20 +[ 25%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 26%] Linking CXX executable test-concepts_cpp11 +[ 26%] Built target test-concepts_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1_cpp11 +[ 27%] Built target test-constructor1_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 29%] Linking CXX executable test-constructor2_cpp11 +[ 29%] Built target test-constructor2_cpp11 +[ 29%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience_cpp11 +[ 30%] Built target test-convenience_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions_cpp11 +[ 32%] Built target test-conversions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 33%] Linking CXX executable test-conversions_cpp17 +[ 33%] Built target test-conversions_cpp17 +[ 34%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization_cpp11 +[ 34%] Built target test-deserialization_cpp11 +[ 35%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 36%] Linking CXX executable test-diagnostics_cpp11 +[ 36%] Built target test-diagnostics_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 37%] Built target test-disabled_exceptions_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1_cpp11 +[ 39%] Built target test-element_access1_cpp11 +[ 40%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2_cpp11 +[ 40%] Built target test-element_access2_cpp11 +[ 41%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 42%] Linking CXX executable test-element_access2_cpp17 +[ 42%] Built target test-element_access2_cpp17 +[ 42%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 43%] Linking CXX executable test-hash_cpp11 +[ 43%] Built target test-hash_cpp11 +[ 44%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 45%] Linking CXX executable test-inspection_cpp11 +[ 45%] Built target test-inspection_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items_cpp11 +[ 46%] Built target test-items_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 48%] Linking CXX executable test-items_cpp17 +[ 48%] Built target test-items_cpp17 +[ 48%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 49%] Linking CXX executable test-iterators1_cpp11 +[ 49%] Built target test-iterators1_cpp11 +[ 50%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 50%] Linking CXX executable test-iterators2_cpp11 +[ 50%] Built target test-iterators2_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 52%] Linking CXX executable test-iterators2_cpp20 +[ 52%] Built target test-iterators2_cpp20 +[ 53%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 53%] Linking CXX executable test-json_patch_cpp11 +[ 53%] Built target test-json_patch_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 55%] Linking CXX executable test-json_pointer_cpp11 +[ 55%] Built target test-json_pointer_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 56%] Linking CXX executable test-large_json_cpp11 +[ 56%] Built target test-large_json_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 58%] Linking CXX executable test-merge_patch_cpp11 +[ 58%] Built target test-merge_patch_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 59%] Linking CXX executable test-meta_cpp11 +[ 59%] Built target test-meta_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 61%] Linking CXX executable test-modifiers_cpp11 +[ 61%] Built target test-modifiers_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack_cpp11 +[ 62%] Built target test-msgpack_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept_cpp11 +[ 63%] Built target test-noexcept_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json_cpp11 +[ 65%] Built target test-ordered_json_cpp11 +[ 66%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 66%] Linking CXX executable test-ordered_map_cpp11 +[ 66%] Built target test-ordered_map_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 68%] Linking CXX executable test-pointer_access_cpp11 +[ 68%] Built target test-pointer_access_cpp11 +[ 69%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 69%] Linking CXX executable test-readme_cpp11 +[ 69%] Built target test-readme_cpp11 +[ 70%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 71%] Linking CXX executable test-reference_access_cpp11 +[ 71%] Built target test-reference_access_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 72%] Linking CXX executable test-regression1_cpp11 +[ 72%] Built target test-regression1_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1_cpp17 +[ 74%] Built target test-regression1_cpp17 +[ 74%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 75%] Linking CXX executable test-regression2_cpp11 +[ 75%] Built target test-regression2_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2_cpp17 +[ 76%] Built target test-regression2_cpp17 +[ 77%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 78%] Linking CXX executable test-regression2_cpp20 +[ 78%] Built target test-regression2_cpp20 +[ 79%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 79%] Linking CXX executable test-serialization_cpp11 +[ 79%] Built target test-serialization_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 81%] Linking CXX executable test-testsuites_cpp11 +[ 81%] Built target test-testsuites_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 82%] Linking CXX executable test-to_chars_cpp11 +[ 82%] Built target test-to_chars_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 84%] Linking CXX executable test-ubjson_cpp11 +[ 84%] Built target test-ubjson_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 85%] Linking CXX executable test-udt_cpp11 +[ 85%] Built target test-udt_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 87%] Linking CXX executable test-udt_macro_cpp11 +[ 87%] Built target test-udt_macro_cpp11 +[ 87%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1_cpp11 +[ 88%] Built target test-unicode1_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2_cpp11 +[ 90%] Built target test-unicode2_cpp11 +[ 90%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3_cpp11 +[ 91%] Built target test-unicode3_cpp11 +[ 92%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 92%] Linking CXX executable test-unicode4_cpp11 +[ 92%] Built target test-unicode4_cpp11 +[ 93%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 94%] Linking CXX executable test-unicode5_cpp11 +[ 94%] Built target test-unicode5_cpp11 +[ 95%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 95%] Linking CXX executable test-user_defined_input_cpp11 +[ 95%] Built target test-user_defined_input_cpp11 +[ 96%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 97%] Linking CXX executable test-wstring_cpp11 +[ 97%] Built target test-wstring_cpp11 +[ 98%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 99%] Linking CXX executable test-comparison_legacy_cpp11 +[ 99%] Built target test-comparison_legacy_cpp11 +[100%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[100%] Linking CXX executable test-comparison_legacy_cpp20 +[100%] Built target test-comparison_legacy_cpp20 +Test project /home/json/build + Start 1: download_test_data + 1/81 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/81 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/81 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/81 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/81 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/81 Test #6: test-binary_formats_cpp11 .................... Passed 20.50 sec + Start 7: test-bjdata_cpp11 + 7/81 Test #7: test-bjdata_cpp11 ............................ Passed 10.20 sec + Start 8: test-bson_cpp11 + 8/81 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/81 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/81 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/81 Test #11: test-cbor_cpp11 .............................. Passed 40.86 sec + Start 12: test-class_const_iterator_cpp11 +12/81 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/81 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/81 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/81 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/81 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/81 Test #17: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 18: test-concepts_cpp11 +18/81 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/81 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/81 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/81 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/81 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/81 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/81 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/81 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/81 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/81 Test #27: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 28: test-element_access2_cpp11 +28/81 Test #28: test-element_access2_cpp11 ...................***Failed 0.01 sec + Start 29: test-element_access2_cpp17 +29/81 Test #29: test-element_access2_cpp17 ...................***Failed 0.02 sec + Start 30: test-hash_cpp11 +30/81 Test #30: test-hash_cpp11 .............................. Passed 0.00 sec + Start 31: test-inspection_cpp11 +31/81 Test #31: test-inspection_cpp11 ........................ Passed 5.61 sec + Start 32: test-items_cpp11 +32/81 Test #32: test-items_cpp11 ............................. Passed 0.00 sec + Start 33: test-items_cpp17 +33/81 Test #33: test-items_cpp17 ............................. Passed 0.00 sec + Start 34: test-iterators1_cpp11 +34/81 Test #34: test-iterators1_cpp11 ........................ Passed 0.01 sec + Start 35: test-iterators2_cpp11 +35/81 Test #35: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 36: test-iterators2_cpp20 +36/81 Test #36: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 37: test-json_patch_cpp11 +37/81 Test #37: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 38: test-json_pointer_cpp11 +38/81 Test #38: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 39: test-large_json_cpp11 +39/81 Test #39: test-large_json_cpp11 ........................ Passed 5.34 sec + Start 40: test-merge_patch_cpp11 +40/81 Test #40: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 41: test-meta_cpp11 +41/81 Test #41: test-meta_cpp11 .............................. Passed 0.00 sec + Start 42: test-modifiers_cpp11 +42/81 Test #42: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 43: test-msgpack_cpp11 +43/81 Test #43: test-msgpack_cpp11 ........................... Passed 39.93 sec + Start 44: test-noexcept_cpp11 +44/81 Test #44: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 45: test-ordered_json_cpp11 +45/81 Test #45: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 46: test-ordered_map_cpp11 +46/81 Test #46: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 47: test-pointer_access_cpp11 +47/81 Test #47: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 48: test-readme_cpp11 +48/81 Test #48: test-readme_cpp11 ............................ Passed 0.00 sec + Start 49: test-reference_access_cpp11 +49/81 Test #49: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 50: test-regression1_cpp11 +50/81 Test #50: test-regression1_cpp11 ....................... Passed 6.30 sec + Start 51: test-regression1_cpp17 +51/81 Test #51: test-regression1_cpp17 ....................... Passed 7.68 sec + Start 52: test-regression2_cpp11 +52/81 Test #52: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 53: test-regression2_cpp17 +53/81 Test #53: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 54: test-regression2_cpp20 +54/81 Test #54: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 55: test-serialization_cpp11 +55/81 Test #55: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 56: test-testsuites_cpp11 +56/81 Test #56: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 57: test-to_chars_cpp11 +57/81 Test #57: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 58: test-ubjson_cpp11 +58/81 Test #58: test-ubjson_cpp11 ............................ Passed 12.84 sec + Start 59: test-udt_cpp11 +59/81 Test #59: test-udt_cpp11 ............................... Passed 0.00 sec + Start 60: test-udt_macro_cpp11 +60/81 Test #60: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 61: test-unicode1_cpp11 +61/81 Test #61: test-unicode1_cpp11 .......................... Passed 5.74 sec + Start 62: test-unicode2_cpp11 +62/81 Test #62: test-unicode2_cpp11 .......................... Passed 10.58 sec + Start 63: test-unicode3_cpp11 +63/81 Test #63: test-unicode3_cpp11 .......................... Passed 39.33 sec + Start 64: test-unicode4_cpp11 +64/81 Test #64: test-unicode4_cpp11 .......................... Passed 131.67 sec + Start 65: test-unicode5_cpp11 +65/81 Test #65: test-unicode5_cpp11 .......................... Passed 31.21 sec + Start 66: test-user_defined_input_cpp11 +66/81 Test #66: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 67: test-wstring_cpp11 +67/81 Test #67: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 68: test-comparison_legacy_cpp11 +68/81 Test #68: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 69: test-comparison_legacy_cpp20 +69/81 Test #69: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 70: cmake_import_configure +70/81 Test #70: cmake_import_configure ....................... Passed 0.19 sec + Start 71: cmake_import_build +71/81 Test #71: cmake_import_build ........................... Passed 2.80 sec + Start 72: cmake_import_minver_configure +72/81 Test #72: cmake_import_minver_configure ................ Passed 0.19 sec + Start 73: cmake_import_minver_build +73/81 Test #73: cmake_import_minver_build .................... Passed 1.41 sec + Start 74: cmake_add_subdirectory_configure +74/81 Test #74: cmake_add_subdirectory_configure ............. Passed 0.20 sec + Start 75: cmake_add_subdirectory_build +75/81 Test #75: cmake_add_subdirectory_build ................. Passed 4.13 sec + Start 76: cmake_fetch_content_configure +76/81 Test #76: cmake_fetch_content_configure ................ Passed 0.89 sec + Start 77: cmake_fetch_content_build +77/81 Test #77: cmake_fetch_content_build .................... Passed 2.78 sec + Start 78: cmake_fetch_content2_configure +78/81 Test #78: cmake_fetch_content2_configure ............... Passed 0.63 sec + Start 79: cmake_fetch_content2_build +79/81 Test #79: cmake_fetch_content2_build ................... Passed 2.78 sec + Start 80: cmake_target_include_directories_configure +80/81 Test #80: cmake_target_include_directories_configure ... Passed 0.19 sec + Start 81: cmake_target_include_directories_build +81/81 Test #81: cmake_target_include_directories_build ....... Passed 4.91 sec + +98% tests passed, 2 tests failed out of 81 + +Label Time Summary: +all = 368.16 sec*proc (68 tests) +git_required = 7.09 sec*proc (4 tests) +not_reproducible = 21.11 sec*proc (12 tests) + +Total Test time (real) = 389.37 sec + +The following tests FAILED: + 28 - test-element_access2_cpp11 (Failed) + 29 - test-element_access2_cpp17 (Failed) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/fix.patch new file mode 100644 index 000000000..c433add37 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/fix.patch @@ -0,0 +1,458 @@ +diff --git a/include/nlohmann/detail/meta/type_traits.hpp b/include/nlohmann/detail/meta/type_traits.hpp +index cc348312..569040c3 100644 +--- a/include/nlohmann/detail/meta/type_traits.hpp ++++ b/include/nlohmann/detail/meta/type_traits.hpp +@@ -514,6 +514,19 @@ using is_key_type_comparable = typename is_comparable < + template + using detect_is_transparent = typename T::is_transparent; + ++// type trait to check if KeyType can be used as object key for ordered_map ++// true if: ++// - KeyType is comparable with Key using Compare functor ++// - KeyType is not Key ++// - the comparator is transparent ++template> ++using is_usable_as_key_type_t = typename std::conditional < ++ is_comparable::value ++ && !std::is_same::value ++ && is_detected::value, ++ std::true_type, ++ std::false_type >::type; ++ + // type trait to check if KeyType can be used as object key + // true if: + // - KeyType is comparable with BasicJsonType::object_t::key_type +diff --git a/include/nlohmann/ordered_map.hpp b/include/nlohmann/ordered_map.hpp +index 6779fdf9..6ce00109 100644 +--- a/include/nlohmann/ordered_map.hpp ++++ b/include/nlohmann/ordered_map.hpp +@@ -10,6 +10,7 @@ + #include // vector + + #include ++#include + + namespace nlohmann + { +@@ -56,16 +57,48 @@ template , + return {--this->end(), true}; + } + ++ template::value, int> = 0> ++ std::pair emplace(KeyType&& key, T&& t) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return {it, false}; ++ } ++ } ++ Container::emplace_back(key, t); ++ return {--this->end(), true}; ++ } ++ + T& operator[](const Key& key) + { + return emplace(key, T{}).first->second; + } + ++ template::value, int> = 0> ++ T& operator[](KeyType&& key) ++ { ++ return emplace(std::forward(key), T{}).first->second; ++ } ++ + const T& operator[](const Key& key) const + { + return at(key); + } + ++ template::value, int> = 0> ++ const T& operator[](KeyType&& key) const ++ { ++ return at(std::forward(key)); ++ } ++ + T& at(const Key& key) + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -79,6 +112,22 @@ template , + JSON_THROW(std::out_of_range("key not found")); + } + ++ template::value, int> = 0> ++ T& at(KeyType&& key) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return it->second; ++ } ++ } ++ ++ JSON_THROW(std::out_of_range("key not found")); ++ } ++ + const T& at(const Key& key) const + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -92,6 +141,22 @@ template , + JSON_THROW(std::out_of_range("key not found")); + } + ++ template::value, int> = 0> ++ const T& at(KeyType&& key) const ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return it->second; ++ } ++ } ++ ++ JSON_THROW(std::out_of_range("key not found")); ++ } ++ + size_type erase(const Key& key) + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -111,6 +176,28 @@ template , + return 0; + } + ++ template::value, int> = 0> ++ size_type erase(KeyType&& key) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ // Since we cannot move const Keys, re-construct them in place ++ for (auto next = it; ++next != this->end(); ++it) ++ { ++ it->~value_type(); // Destroy but keep allocation ++ new (&*it) value_type{std::move(*next)}; ++ } ++ Container::pop_back(); ++ return 1; ++ } ++ } ++ return 0; ++ } ++ + iterator erase(iterator pos) + { + return erase(pos, std::next(pos)); +@@ -176,6 +263,21 @@ template , + return 0; + } + ++ template::value, int> = 0> ++ size_type count(KeyType&& key) const ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return 1; ++ } ++ } ++ return 0; ++ } ++ + iterator find(const Key& key) + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -188,6 +290,21 @@ template , + return Container::end(); + } + ++ template::value, int> = 0> ++ iterator find(KeyType&& key) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return it; ++ } ++ } ++ return Container::end(); ++ } ++ + const_iterator find(const Key& key) const + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -200,6 +317,21 @@ template , + return Container::end(); + } + ++ template::value, int> = 0> ++ const_iterator find(KeyType&& key) const ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return it; ++ } ++ } ++ return Container::end(); ++ } ++ + std::pair insert( value_type&& value ) + { + return emplace(value.first, std::move(value.second)); +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 50e5c805..80ed4605 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -3709,6 +3709,19 @@ using is_key_type_comparable = typename is_comparable < + template + using detect_is_transparent = typename T::is_transparent; + ++// type trait to check if KeyType can be used as object key for ordered_map ++// true if: ++// - KeyType is comparable with Key using Compare functor ++// - KeyType is not Key ++// - the comparator is transparent ++template> ++using is_usable_as_key_type_t = typename std::conditional < ++ is_comparable::value ++ && !std::is_same::value ++ && is_detected::value, ++ std::true_type, ++ std::false_type >::type; ++ + // type trait to check if KeyType can be used as object key + // true if: + // - KeyType is comparable with BasicJsonType::object_t::key_type +@@ -18265,6 +18278,8 @@ class serializer + + // #include + ++// #include ++ + + namespace nlohmann + { +@@ -18311,16 +18326,48 @@ template , + return {--this->end(), true}; + } + ++ template::value, int> = 0> ++ std::pair emplace(KeyType&& key, T&& t) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return {it, false}; ++ } ++ } ++ Container::emplace_back(key, t); ++ return {--this->end(), true}; ++ } ++ + T& operator[](const Key& key) + { + return emplace(key, T{}).first->second; + } + ++ template::value, int> = 0> ++ T& operator[](KeyType&& key) ++ { ++ return emplace(std::forward(key), T{}).first->second; ++ } ++ + const T& operator[](const Key& key) const + { + return at(key); + } + ++ template::value, int> = 0> ++ const T& operator[](KeyType&& key) const ++ { ++ return at(std::forward(key)); ++ } ++ + T& at(const Key& key) + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -18334,6 +18381,22 @@ template , + JSON_THROW(std::out_of_range("key not found")); + } + ++ template::value, int> = 0> ++ T& at(KeyType&& key) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return it->second; ++ } ++ } ++ ++ JSON_THROW(std::out_of_range("key not found")); ++ } ++ + const T& at(const Key& key) const + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -18347,6 +18410,22 @@ template , + JSON_THROW(std::out_of_range("key not found")); + } + ++ template::value, int> = 0> ++ const T& at(KeyType&& key) const ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return it->second; ++ } ++ } ++ ++ JSON_THROW(std::out_of_range("key not found")); ++ } ++ + size_type erase(const Key& key) + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -18366,6 +18445,28 @@ template , + return 0; + } + ++ template::value, int> = 0> ++ size_type erase(KeyType&& key) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ // Since we cannot move const Keys, re-construct them in place ++ for (auto next = it; ++next != this->end(); ++it) ++ { ++ it->~value_type(); // Destroy but keep allocation ++ new (&*it) value_type{std::move(*next)}; ++ } ++ Container::pop_back(); ++ return 1; ++ } ++ } ++ return 0; ++ } ++ + iterator erase(iterator pos) + { + return erase(pos, std::next(pos)); +@@ -18431,6 +18532,21 @@ template , + return 0; + } + ++ template::value, int> = 0> ++ size_type count(KeyType&& key) const ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return 1; ++ } ++ } ++ return 0; ++ } ++ + iterator find(const Key& key) + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -18443,6 +18559,21 @@ template , + return Container::end(); + } + ++ template::value, int> = 0> ++ iterator find(KeyType&& key) ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return it; ++ } ++ } ++ return Container::end(); ++ } ++ + const_iterator find(const Key& key) const + { + for (auto it = this->begin(); it != this->end(); ++it) +@@ -18455,6 +18586,21 @@ template , + return Container::end(); + } + ++ template::value, int> = 0> ++ const_iterator find(KeyType&& key) const ++ { ++ for (auto it = this->begin(); it != this->end(); ++it) ++ { ++ if (m_compare(it->first, key)) ++ { ++ return it; ++ } ++ } ++ return Container::end(); ++ } ++ + std::pair insert( value_type&& value ) + { + return emplace(value.first, std::move(value.second)); +@@ -18563,7 +18709,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + detail::parser_callback_tcb = nullptr, + const bool allow_exceptions = true, + const bool ignore_comments = false +- ) ++ ) + { + return ::nlohmann::detail::parser(std::move(adapter), + std::move(cb), allow_exceptions, ignore_comments); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/report.json new file mode 100644 index 000000000..5a5d08721 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3564/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3564, "valid": true, "error_msg": "", "fixed_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 79, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/fix-patch-run.log new file mode 100644 index 000000000..f6890e0c9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/fix-patch-run.log @@ -0,0 +1,744 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7025 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (17.5 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (20.0 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (7028 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.CE3q3gAF +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.CE3q3gAF/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.CE3q3gAF/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.CE3q3gAF/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.CE3q3gAF/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.CE3q3gAF/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.CE3q3gAF +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=7cca20f73cac +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.Sa86u8KEy0/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/CMakeLists.txt +patching file tests/abi/CMakeLists.txt +patching file tests/abi/diag/CMakeLists.txt +patching file tests/abi/diag/diag.cpp +patching file tests/abi/diag/diag.hpp +patching file tests/abi/diag/diag_off.cpp +patching file tests/abi/diag/diag_on.cpp +patching file tests/abi/include/nlohmann/json_v3_10_5.hpp +patching file tests/abi/inline_ns/CMakeLists.txt +patching file tests/abi/inline_ns/use_current.cpp +patching file tests/abi/inline_ns/use_v3_10_5.cpp +patching file tests/abi/main.cpp +patching file tests/cmake_add_subdirectory/project/main.cpp +patching file tests/cmake_fetch_content/project/main.cpp +patching file tests/cmake_fetch_content2/project/main.cpp +patching file tests/cmake_import/project/main.cpp +patching file tests/cmake_import_minver/project/main.cpp +patching file tests/cmake_target_include_directories/project/Bar.hpp +patching file tests/cmake_target_include_directories/project/Foo.hpp +patching file tests/cmake_target_include_directories/project/main.cpp +patching file tests/src/unit-regression2.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 7cca20f73cac 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 1%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms_cpp11 +[ 2%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 3%] Linking CXX executable test-allocator_cpp11 +[ 3%] Built target test-allocator_cpp11 +[ 4%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 5%] Linking CXX executable test-alt-string_cpp11 +[ 5%] Built target test-alt-string_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 6%] Linking CXX executable test-assert_macro_cpp11 +[ 6%] Built target test-assert_macro_cpp11 +[ 7%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 7%] Linking CXX executable test-binary_formats_cpp11 +[ 7%] Built target test-binary_formats_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 9%] Linking CXX executable test-bjdata_cpp11 +[ 9%] Built target test-bjdata_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 10%] Linking CXX executable test-bson_cpp11 +[ 10%] Built target test-bson_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 11%] Built target test-byte_container_with_subtype_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity_cpp11 +[ 13%] Built target test-capacity_cpp11 +[ 13%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor_cpp11 +[ 14%] Built target test-cbor_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 15%] Linking CXX executable test-class_const_iterator_cpp11 +[ 15%] Built target test-class_const_iterator_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 17%] Linking CXX executable test-class_iterator_cpp11 +[ 17%] Built target test-class_iterator_cpp11 +[ 17%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 18%] Linking CXX executable test-class_lexer_cpp11 +[ 18%] Built target test-class_lexer_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 19%] Linking CXX executable test-class_parser_cpp11 +[ 19%] Built target test-class_parser_cpp11 +[ 20%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 21%] Linking CXX executable test-comparison_cpp11 +[ 21%] Built target test-comparison_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 22%] Linking CXX executable test-comparison_cpp20 +[ 22%] Built target test-comparison_cpp20 +[ 22%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 23%] Linking CXX executable test-concepts_cpp11 +[ 23%] Built target test-concepts_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 24%] Linking CXX executable test-constructor1_cpp11 +[ 24%] Built target test-constructor1_cpp11 +[ 25%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 26%] Linking CXX executable test-constructor2_cpp11 +[ 26%] Built target test-constructor2_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 27%] Linking CXX executable test-convenience_cpp11 +[ 27%] Built target test-convenience_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 28%] Linking CXX executable test-conversions_cpp11 +[ 28%] Built target test-conversions_cpp11 +[ 29%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 30%] Linking CXX executable test-conversions_cpp17 +[ 30%] Built target test-conversions_cpp17 +[ 30%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 31%] Linking CXX executable test-deserialization_cpp11 +[ 31%] Built target test-deserialization_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 32%] Linking CXX executable test-diagnostics_cpp11 +[ 32%] Built target test-diagnostics_cpp11 +[ 33%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 34%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 34%] Built target test-disabled_exceptions_cpp11 +[ 34%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 35%] Linking CXX executable test-element_access1_cpp11 +[ 35%] Built target test-element_access1_cpp11 +[ 36%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 36%] Linking CXX executable test-element_access2_cpp11 +[ 36%] Built target test-element_access2_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 38%] Linking CXX executable test-element_access2_cpp17 +[ 38%] Built target test-element_access2_cpp17 +[ 38%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 39%] Linking CXX executable test-hash_cpp11 +[ 39%] Built target test-hash_cpp11 +[ 40%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 41%] Linking CXX executable test-inspection_cpp11 +[ 41%] Built target test-inspection_cpp11 +[ 41%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 42%] Linking CXX executable test-items_cpp11 +[ 42%] Built target test-items_cpp11 +[ 43%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 43%] Linking CXX executable test-items_cpp17 +[ 43%] Built target test-items_cpp17 +[ 44%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 45%] Linking CXX executable test-iterators1_cpp11 +[ 45%] Built target test-iterators1_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 46%] Linking CXX executable test-iterators2_cpp11 +[ 46%] Built target test-iterators2_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 47%] Linking CXX executable test-iterators2_cpp20 +[ 47%] Built target test-iterators2_cpp20 +[ 48%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 49%] Linking CXX executable test-json_patch_cpp11 +[ 49%] Built target test-json_patch_cpp11 +[ 49%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 50%] Linking CXX executable test-json_pointer_cpp11 +[ 50%] Built target test-json_pointer_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 51%] Linking CXX executable test-large_json_cpp11 +[ 51%] Built target test-large_json_cpp11 +[ 52%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 53%] Linking CXX executable test-merge_patch_cpp11 +[ 53%] Built target test-merge_patch_cpp11 +[ 53%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 54%] Linking CXX executable test-meta_cpp11 +[ 54%] Built target test-meta_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 55%] Linking CXX executable test-modifiers_cpp11 +[ 55%] Built target test-modifiers_cpp11 +[ 56%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 57%] Linking CXX executable test-msgpack_cpp11 +[ 57%] Built target test-msgpack_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 58%] Linking CXX executable test-noexcept_cpp11 +[ 58%] Built target test-noexcept_cpp11 +[ 59%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 59%] Linking CXX executable test-ordered_json_cpp11 +[ 59%] Built target test-ordered_json_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 61%] Linking CXX executable test-ordered_map_cpp11 +[ 61%] Built target test-ordered_map_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 62%] Linking CXX executable test-pointer_access_cpp11 +[ 62%] Built target test-pointer_access_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 63%] Linking CXX executable test-readme_cpp11 +[ 63%] Built target test-readme_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 65%] Linking CXX executable test-reference_access_cpp11 +[ 65%] Built target test-reference_access_cpp11 +[ 65%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 66%] Linking CXX executable test-regression1_cpp11 +[ 66%] Built target test-regression1_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 67%] Linking CXX executable test-regression1_cpp17 +[ 67%] Built target test-regression1_cpp17 +[ 68%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 69%] Linking CXX executable test-regression2_cpp11 +[ 69%] Built target test-regression2_cpp11 +[ 69%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 70%] Linking CXX executable test-regression2_cpp17 +[ 70%] Built target test-regression2_cpp17 +[ 71%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 71%] Linking CXX executable test-regression2_cpp20 +[ 71%] Built target test-regression2_cpp20 +[ 72%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 73%] Linking CXX executable test-serialization_cpp11 +[ 73%] Built target test-serialization_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 74%] Linking CXX executable test-testsuites_cpp11 +[ 74%] Built target test-testsuites_cpp11 +[ 75%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 75%] Linking CXX executable test-to_chars_cpp11 +[ 75%] Built target test-to_chars_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 77%] Linking CXX executable test-ubjson_cpp11 +[ 77%] Built target test-ubjson_cpp11 +[ 77%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 78%] Linking CXX executable test-udt_cpp11 +[ 78%] Built target test-udt_cpp11 +[ 79%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 79%] Linking CXX executable test-udt_macro_cpp11 +[ 79%] Built target test-udt_macro_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 81%] Linking CXX executable test-unicode1_cpp11 +[ 81%] Built target test-unicode1_cpp11 +[ 81%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 82%] Linking CXX executable test-unicode2_cpp11 +[ 82%] Built target test-unicode2_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 83%] Linking CXX executable test-unicode3_cpp11 +[ 83%] Built target test-unicode3_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 85%] Linking CXX executable test-unicode4_cpp11 +[ 85%] Built target test-unicode4_cpp11 +[ 85%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 86%] Linking CXX executable test-unicode5_cpp11 +[ 86%] Built target test-unicode5_cpp11 +[ 87%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 87%] Linking CXX executable test-user_defined_input_cpp11 +[ 87%] Built target test-user_defined_input_cpp11 +[ 88%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 89%] Linking CXX executable test-wstring_cpp11 +[ 89%] Built target test-wstring_cpp11 +[ 90%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 90%] Linking CXX executable test-comparison_legacy_cpp11 +[ 90%] Built target test-comparison_legacy_cpp11 +[ 91%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[ 92%] Linking CXX executable test-comparison_legacy_cpp20 +[ 92%] Built target test-comparison_legacy_cpp20 +[ 92%] Building CXX object tests/abi/CMakeFiles/abi_compat_main.dir/main.cpp.o +[ 93%] Linking CXX static library libabi_compat_main.a +[ 93%] Built target abi_compat_main +[ 94%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/diag_on.cpp.o +/home/json/tests/abi/diag/diag_on.cpp: In function 'std::size_t json_sizeof_diag_on_explicit()': +/home/json/tests/abi/diag/diag_on.cpp:14:21: error: '::NLOHMANN_JSON_NAMESPACE' has not been declared + 14 | return sizeof(::NLOHMANN_JSON_NAMESPACE::json); + | ^~~~~~~~~~~~~~~~~~~~~~~ +gmake[2]: *** [tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/build.make:76: tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/diag_on.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:3001: tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/all] Error 2 +gmake: *** [Makefile:146: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/83 Test #1: download_test_data ........................... Passed 0.09 sec + Start 2: test-algorithms_cpp11 + 2/83 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/83 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/83 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/83 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/83 Test #6: test-binary_formats_cpp11 .................... Passed 23.01 sec + Start 7: test-bjdata_cpp11 + 7/83 Test #7: test-bjdata_cpp11 ............................ Passed 10.64 sec + Start 8: test-bson_cpp11 + 8/83 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/83 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/83 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/83 Test #11: test-cbor_cpp11 .............................. Passed 40.98 sec + Start 12: test-class_const_iterator_cpp11 +12/83 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/83 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/83 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/83 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/83 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/83 Test #17: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 18: test-concepts_cpp11 +18/83 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/83 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/83 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/83 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/83 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/83 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/83 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/83 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/83 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/83 Test #27: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 28: test-element_access2_cpp11 +28/83 Test #28: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 29: test-element_access2_cpp17 +29/83 Test #29: test-element_access2_cpp17 ................... Passed 0.02 sec + Start 30: test-hash_cpp11 +30/83 Test #30: test-hash_cpp11 .............................. Passed 0.00 sec + Start 31: test-inspection_cpp11 +31/83 Test #31: test-inspection_cpp11 ........................ Passed 5.44 sec + Start 32: test-items_cpp11 +32/83 Test #32: test-items_cpp11 ............................. Passed 0.00 sec + Start 33: test-items_cpp17 +33/83 Test #33: test-items_cpp17 ............................. Passed 0.00 sec + Start 34: test-iterators1_cpp11 +34/83 Test #34: test-iterators1_cpp11 ........................ Passed 0.01 sec + Start 35: test-iterators2_cpp11 +35/83 Test #35: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 36: test-iterators2_cpp20 +36/83 Test #36: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 37: test-json_patch_cpp11 +37/83 Test #37: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 38: test-json_pointer_cpp11 +38/83 Test #38: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 39: test-large_json_cpp11 +39/83 Test #39: test-large_json_cpp11 ........................ Passed 5.31 sec + Start 40: test-merge_patch_cpp11 +40/83 Test #40: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 41: test-meta_cpp11 +41/83 Test #41: test-meta_cpp11 .............................. Passed 0.00 sec + Start 42: test-modifiers_cpp11 +42/83 Test #42: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 43: test-msgpack_cpp11 +43/83 Test #43: test-msgpack_cpp11 ........................... Passed 41.95 sec + Start 44: test-noexcept_cpp11 +44/83 Test #44: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 45: test-ordered_json_cpp11 +45/83 Test #45: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 46: test-ordered_map_cpp11 +46/83 Test #46: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 47: test-pointer_access_cpp11 +47/83 Test #47: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 48: test-readme_cpp11 +48/83 Test #48: test-readme_cpp11 ............................ Passed 0.00 sec + Start 49: test-reference_access_cpp11 +49/83 Test #49: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 50: test-regression1_cpp11 +50/83 Test #50: test-regression1_cpp11 ....................... Passed 6.27 sec + Start 51: test-regression1_cpp17 +51/83 Test #51: test-regression1_cpp17 ....................... Passed 7.68 sec + Start 52: test-regression2_cpp11 +52/83 Test #52: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 53: test-regression2_cpp17 +53/83 Test #53: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 54: test-regression2_cpp20 +54/83 Test #54: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 55: test-serialization_cpp11 +55/83 Test #55: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 56: test-testsuites_cpp11 +56/83 Test #56: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 57: test-to_chars_cpp11 +57/83 Test #57: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 58: test-ubjson_cpp11 +58/83 Test #58: test-ubjson_cpp11 ............................ Passed 13.02 sec + Start 59: test-udt_cpp11 +59/83 Test #59: test-udt_cpp11 ............................... Passed 0.00 sec + Start 60: test-udt_macro_cpp11 +60/83 Test #60: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 61: test-unicode1_cpp11 +61/83 Test #61: test-unicode1_cpp11 .......................... Passed 5.88 sec + Start 62: test-unicode2_cpp11 +62/83 Test #62: test-unicode2_cpp11 .......................... Passed 10.72 sec + Start 63: test-unicode3_cpp11 +63/83 Test #63: test-unicode3_cpp11 .......................... Passed 39.65 sec + Start 64: test-unicode4_cpp11 +64/83 Test #64: test-unicode4_cpp11 .......................... Passed 131.28 sec + Start 65: test-unicode5_cpp11 +65/83 Test #65: test-unicode5_cpp11 .......................... Passed 31.35 sec + Start 66: test-user_defined_input_cpp11 +66/83 Test #66: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 67: test-wstring_cpp11 +67/83 Test #67: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 68: test-comparison_legacy_cpp11 +68/83 Test #68: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 69: test-comparison_legacy_cpp20 +69/83 Test #69: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 70: test-abi_compat_diag +Could not find executable /home/json/build/tests/abi/diag/abi_compat_diag +Looked in the following places: +/home/json/build/tests/abi/diag/abi_compat_diag +/home/json/build/tests/abi/diag/abi_compat_diag +/home/json/build/tests/abi/diag/Release/abi_compat_diag +/home/json/build/tests/abi/diag/Release/abi_compat_diag +/home/json/build/tests/abi/diag/Debug/abi_compat_diag +/home/json/build/tests/abi/diag/Debug/abi_compat_diag +/home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +/home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +Unable to find executable: /home/json/build/tests/abi/diag/abi_compat_diag +/home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +/home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +/home/json/build/tests/abi/diag/Deployment/abi_compat_diag +/home/json/build/tests/abi/diag/Deployment/abi_compat_diag +/home/json/build/tests/abi/diag/Development/abi_compat_diag +/home/json/build/tests/abi/diag/Development/abi_compat_diag +home/json/build/tests/abi/diag/abi_compat_diag +home/json/build/tests/abi/diag/abi_compat_diag +home/json/build/tests/abi/diag/Release/abi_compat_diag +home/json/build/tests/abi/diag/Release/abi_compat_diag +home/json/build/tests/abi/diag/Debug/abi_compat_diag +home/json/build/tests/abi/diag/Debug/abi_compat_diag +home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +home/json/build/tests/abi/diag/Deployment/abi_compat_diag +home/json/build/tests/abi/diag/Deployment/abi_compat_diag +home/json/build/tests/abi/diag/Development/abi_compat_diag +home/json/build/tests/abi/diag/Development/abi_compat_diag +70/83 Test #70: test-abi_compat_diag .........................***Not Run 0.00 sec + Start 71: test-abi_compat_inline_ns +Could not find executable /home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +Looked in the following places: +/home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +71/83 Test #71: test-abi_compat_inline_ns ....................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/abi/inline_ns/abi_compat_inline_ns + Start 72: cmake_import_configure +72/83 Test #72: cmake_import_configure ....................... Passed 0.21 sec + Start 73: cmake_import_build +73/83 Test #73: cmake_import_build ........................... Passed 2.86 sec + Start 74: cmake_import_minver_configure +74/83 Test #74: cmake_import_minver_configure ................ Passed 0.20 sec + Start 75: cmake_import_minver_build +75/83 Test #75: cmake_import_minver_build .................... Passed 1.44 sec + Start 76: cmake_add_subdirectory_configure +76/83 Test #76: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 77: cmake_add_subdirectory_build +77/83 Test #77: cmake_add_subdirectory_build ................. Passed 4.22 sec + Start 78: cmake_fetch_content_configure +78/83 Test #78: cmake_fetch_content_configure ................ Passed 0.95 sec + Start 79: cmake_fetch_content_build +79/83 Test #79: cmake_fetch_content_build .................... Passed 2.90 sec + Start 80: cmake_fetch_content2_configure +80/83 Test #80: cmake_fetch_content2_configure ............... Passed 0.70 sec + Start 81: cmake_fetch_content2_build +81/83 Test #81: cmake_fetch_content2_build ................... Passed 2.90 sec + Start 82: cmake_target_include_directories_configure +82/83 Test #82: cmake_target_include_directories_configure ... Passed 0.20 sec + Start 83: cmake_target_include_directories_build +83/83 Test #83: cmake_target_include_directories_build ....... Passed 5.16 sec + +98% tests passed, 2 tests failed out of 83 + +Label Time Summary: +all = 373.55 sec*proc (68 tests) +git_required = 7.45 sec*proc (4 tests) +not_reproducible = 21.96 sec*proc (12 tests) + +Total Test time (real) = 395.62 sec + +The following tests FAILED: + 70 - test-abi_compat_diag (Not Run) + 71 - test-abi_compat_inline_ns (Not Run) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/fix.patch new file mode 100644 index 000000000..cfcfae22a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/fix.patch @@ -0,0 +1,39 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 24812fde..66fd5c62 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -4148,10 +4148,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// the value of the current element + json_value m_value = {}; + +-#if JSON_DIAGNOSTICS +- /// a pointer to a parent value (for debugging purposes) + basic_json* m_parent = nullptr; +-#endif + + ////////////////////////////////////////// + // binary serialization/deserialization // +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 3341f028..72e7b726 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -18987,7 +18987,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + detail::parser_callback_tcb = nullptr, + const bool allow_exceptions = true, + const bool ignore_comments = false +- ) ++ ) + { + return ::nlohmann::detail::parser(std::move(adapter), + std::move(cb), allow_exceptions, ignore_comments); +@@ -22992,10 +22992,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// the value of the current element + json_value m_value = {}; + +-#if JSON_DIAGNOSTICS +- /// a pointer to a parent value (for debugging purposes) + basic_json* m_parent = nullptr; +-#endif + + ////////////////////////////////////////// + // binary serialization/deserialization // diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/report.json new file mode 100644 index 000000000..99e4dc20b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3590/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3590, "valid": true, "error_msg": "", "fixed_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/fix-patch-run.log new file mode 100644 index 000000000..fa11e2dfc --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/fix-patch-run.log @@ -0,0 +1,641 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6695 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (17.3 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.8 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6323 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.WXAbO9FS +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.WXAbO9FS/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.WXAbO9FS/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.WXAbO9FS/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.WXAbO9FS/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.WXAbO9FS/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.WXAbO9FS +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=3754b2bd45c8 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.3IS16cB1DC/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-json_pointer.cpp +patching file include/nlohmann/detail/json_pointer.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 3754b2bd45c8 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 6%] Linking CXX executable test-alt-string_cpp11 +[ 6%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 8%] Linking CXX executable test-binary_formats_cpp11 +[ 8%] Built target test-binary_formats_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 10%] Linking CXX executable test-bjdata_cpp11 +[ 10%] Built target test-bjdata_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 11%] Linking CXX executable test-bson_cpp11 +[ 11%] Built target test-bson_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 13%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 13%] Built target test-byte_container_with_subtype_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 14%] Linking CXX executable test-capacity_cpp11 +[ 14%] Built target test-capacity_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 16%] Linking CXX executable test-cbor_cpp11 +[ 16%] Built target test-cbor_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 17%] Linking CXX executable test-class_const_iterator_cpp11 +[ 17%] Built target test-class_const_iterator_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 19%] Linking CXX executable test-class_iterator_cpp11 +[ 19%] Built target test-class_iterator_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 20%] Linking CXX executable test-class_lexer_cpp11 +[ 20%] Built target test-class_lexer_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 22%] Linking CXX executable test-class_parser_cpp11 +[ 22%] Built target test-class_parser_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 23%] Linking CXX executable test-comparison_cpp11 +[ 23%] Built target test-comparison_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 24%] Linking CXX executable test-comparison_cpp20 +[ 24%] Built target test-comparison_cpp20 +[ 25%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 26%] Linking CXX executable test-concepts_cpp11 +[ 26%] Built target test-concepts_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1_cpp11 +[ 27%] Built target test-constructor1_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 29%] Linking CXX executable test-constructor2_cpp11 +[ 29%] Built target test-constructor2_cpp11 +[ 29%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 30%] Linking CXX executable test-convenience_cpp11 +[ 30%] Built target test-convenience_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 32%] Linking CXX executable test-conversions_cpp11 +[ 32%] Built target test-conversions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 33%] Linking CXX executable test-conversions_cpp17 +[ 33%] Built target test-conversions_cpp17 +[ 34%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 34%] Linking CXX executable test-deserialization_cpp11 +[ 34%] Built target test-deserialization_cpp11 +[ 35%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 36%] Linking CXX executable test-diagnostics_cpp11 +[ 36%] Built target test-diagnostics_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 37%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 37%] Built target test-disabled_exceptions_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 39%] Linking CXX executable test-element_access1_cpp11 +[ 39%] Built target test-element_access1_cpp11 +[ 40%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2_cpp11 +[ 40%] Built target test-element_access2_cpp11 +[ 41%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 42%] Linking CXX executable test-element_access2_cpp17 +[ 42%] Built target test-element_access2_cpp17 +[ 42%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 43%] Linking CXX executable test-hash_cpp11 +[ 43%] Built target test-hash_cpp11 +[ 44%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 45%] Linking CXX executable test-inspection_cpp11 +[ 45%] Built target test-inspection_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 46%] Linking CXX executable test-items_cpp11 +[ 46%] Built target test-items_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 48%] Linking CXX executable test-items_cpp17 +[ 48%] Built target test-items_cpp17 +[ 48%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 49%] Linking CXX executable test-iterators1_cpp11 +[ 49%] Built target test-iterators1_cpp11 +[ 50%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 50%] Linking CXX executable test-iterators2_cpp11 +[ 50%] Built target test-iterators2_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 52%] Linking CXX executable test-iterators2_cpp20 +[ 52%] Built target test-iterators2_cpp20 +[ 53%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 53%] Linking CXX executable test-json_patch_cpp11 +[ 53%] Built target test-json_patch_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 55%] Linking CXX executable test-json_pointer_cpp11 +[ 55%] Built target test-json_pointer_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 56%] Linking CXX executable test-large_json_cpp11 +[ 56%] Built target test-large_json_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 58%] Linking CXX executable test-merge_patch_cpp11 +[ 58%] Built target test-merge_patch_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 59%] Linking CXX executable test-meta_cpp11 +[ 59%] Built target test-meta_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 61%] Linking CXX executable test-modifiers_cpp11 +[ 61%] Built target test-modifiers_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 62%] Linking CXX executable test-msgpack_cpp11 +[ 62%] Built target test-msgpack_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 63%] Linking CXX executable test-noexcept_cpp11 +[ 63%] Built target test-noexcept_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 65%] Linking CXX executable test-ordered_json_cpp11 +[ 65%] Built target test-ordered_json_cpp11 +[ 66%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 66%] Linking CXX executable test-ordered_map_cpp11 +[ 66%] Built target test-ordered_map_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 68%] Linking CXX executable test-pointer_access_cpp11 +[ 68%] Built target test-pointer_access_cpp11 +[ 69%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 69%] Linking CXX executable test-readme_cpp11 +[ 69%] Built target test-readme_cpp11 +[ 70%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 71%] Linking CXX executable test-reference_access_cpp11 +[ 71%] Built target test-reference_access_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 72%] Linking CXX executable test-regression1_cpp11 +[ 72%] Built target test-regression1_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 74%] Linking CXX executable test-regression1_cpp17 +[ 74%] Built target test-regression1_cpp17 +[ 74%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 75%] Linking CXX executable test-regression2_cpp11 +[ 75%] Built target test-regression2_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 76%] Linking CXX executable test-regression2_cpp17 +[ 76%] Built target test-regression2_cpp17 +[ 77%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 78%] Linking CXX executable test-regression2_cpp20 +[ 78%] Built target test-regression2_cpp20 +[ 79%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 79%] Linking CXX executable test-serialization_cpp11 +[ 79%] Built target test-serialization_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 81%] Linking CXX executable test-testsuites_cpp11 +[ 81%] Built target test-testsuites_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 82%] Linking CXX executable test-to_chars_cpp11 +[ 82%] Built target test-to_chars_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 84%] Linking CXX executable test-ubjson_cpp11 +[ 84%] Built target test-ubjson_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 85%] Linking CXX executable test-udt_cpp11 +[ 85%] Built target test-udt_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 87%] Linking CXX executable test-udt_macro_cpp11 +[ 87%] Built target test-udt_macro_cpp11 +[ 87%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 88%] Linking CXX executable test-unicode1_cpp11 +[ 88%] Built target test-unicode1_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 90%] Linking CXX executable test-unicode2_cpp11 +[ 90%] Built target test-unicode2_cpp11 +[ 90%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 91%] Linking CXX executable test-unicode3_cpp11 +[ 91%] Built target test-unicode3_cpp11 +[ 92%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 92%] Linking CXX executable test-unicode4_cpp11 +[ 92%] Built target test-unicode4_cpp11 +[ 93%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 94%] Linking CXX executable test-unicode5_cpp11 +[ 94%] Built target test-unicode5_cpp11 +[ 95%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 95%] Linking CXX executable test-user_defined_input_cpp11 +[ 95%] Built target test-user_defined_input_cpp11 +[ 96%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 97%] Linking CXX executable test-wstring_cpp11 +[ 97%] Built target test-wstring_cpp11 +[ 98%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 99%] Linking CXX executable test-comparison_legacy_cpp11 +[ 99%] Built target test-comparison_legacy_cpp11 +[100%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[100%] Linking CXX executable test-comparison_legacy_cpp20 +[100%] Built target test-comparison_legacy_cpp20 +Test project /home/json/build + Start 1: download_test_data + 1/81 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/81 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/81 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/81 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/81 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/81 Test #6: test-binary_formats_cpp11 .................... Passed 23.27 sec + Start 7: test-bjdata_cpp11 + 7/81 Test #7: test-bjdata_cpp11 ............................ Passed 10.47 sec + Start 8: test-bson_cpp11 + 8/81 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/81 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/81 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/81 Test #11: test-cbor_cpp11 .............................. Passed 40.21 sec + Start 12: test-class_const_iterator_cpp11 +12/81 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/81 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/81 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/81 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/81 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/81 Test #17: test-comparison_cpp20 ........................ Passed 0.01 sec + Start 18: test-concepts_cpp11 +18/81 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/81 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/81 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/81 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/81 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/81 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/81 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/81 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/81 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/81 Test #27: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 28: test-element_access2_cpp11 +28/81 Test #28: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 29: test-element_access2_cpp17 +29/81 Test #29: test-element_access2_cpp17 ................... Passed 0.02 sec + Start 30: test-hash_cpp11 +30/81 Test #30: test-hash_cpp11 .............................. Passed 0.00 sec + Start 31: test-inspection_cpp11 +31/81 Test #31: test-inspection_cpp11 ........................ Passed 5.39 sec + Start 32: test-items_cpp11 +32/81 Test #32: test-items_cpp11 ............................. Passed 0.00 sec + Start 33: test-items_cpp17 +33/81 Test #33: test-items_cpp17 ............................. Passed 0.00 sec + Start 34: test-iterators1_cpp11 +34/81 Test #34: test-iterators1_cpp11 ........................ Passed 0.01 sec + Start 35: test-iterators2_cpp11 +35/81 Test #35: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 36: test-iterators2_cpp20 +36/81 Test #36: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 37: test-json_patch_cpp11 +37/81 Test #37: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 38: test-json_pointer_cpp11 +38/81 Test #38: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 39: test-large_json_cpp11 +39/81 Test #39: test-large_json_cpp11 ........................ Passed 5.32 sec + Start 40: test-merge_patch_cpp11 +40/81 Test #40: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 41: test-meta_cpp11 +41/81 Test #41: test-meta_cpp11 .............................. Passed 0.00 sec + Start 42: test-modifiers_cpp11 +42/81 Test #42: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 43: test-msgpack_cpp11 +43/81 Test #43: test-msgpack_cpp11 ........................... Passed 40.09 sec + Start 44: test-noexcept_cpp11 +44/81 Test #44: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 45: test-ordered_json_cpp11 +45/81 Test #45: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 46: test-ordered_map_cpp11 +46/81 Test #46: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 47: test-pointer_access_cpp11 +47/81 Test #47: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 48: test-readme_cpp11 +48/81 Test #48: test-readme_cpp11 ............................ Passed 0.00 sec + Start 49: test-reference_access_cpp11 +49/81 Test #49: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 50: test-regression1_cpp11 +50/81 Test #50: test-regression1_cpp11 ....................... Passed 6.51 sec + Start 51: test-regression1_cpp17 +51/81 Test #51: test-regression1_cpp17 ....................... Passed 7.57 sec + Start 52: test-regression2_cpp11 +52/81 Test #52: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 53: test-regression2_cpp17 +53/81 Test #53: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 54: test-regression2_cpp20 +54/81 Test #54: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 55: test-serialization_cpp11 +55/81 Test #55: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 56: test-testsuites_cpp11 +56/81 Test #56: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 57: test-to_chars_cpp11 +57/81 Test #57: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 58: test-ubjson_cpp11 +58/81 Test #58: test-ubjson_cpp11 ............................ Passed 13.00 sec + Start 59: test-udt_cpp11 +59/81 Test #59: test-udt_cpp11 ............................... Passed 0.00 sec + Start 60: test-udt_macro_cpp11 +60/81 Test #60: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 61: test-unicode1_cpp11 +61/81 Test #61: test-unicode1_cpp11 .......................... Passed 5.97 sec + Start 62: test-unicode2_cpp11 +62/81 Test #62: test-unicode2_cpp11 .......................... Passed 8.88 sec + Start 63: test-unicode3_cpp11 +63/81 Test #63: test-unicode3_cpp11 .......................... Passed 38.66 sec + Start 64: test-unicode4_cpp11 +64/81 Test #64: test-unicode4_cpp11 .......................... Passed 130.76 sec + Start 65: test-unicode5_cpp11 +65/81 Test #65: test-unicode5_cpp11 .......................... Passed 29.69 sec + Start 66: test-user_defined_input_cpp11 +66/81 Test #66: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 67: test-wstring_cpp11 +67/81 Test #67: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 68: test-comparison_legacy_cpp11 +68/81 Test #68: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 69: test-comparison_legacy_cpp20 +69/81 Test #69: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 70: cmake_import_configure +70/81 Test #70: cmake_import_configure ....................... Passed 0.20 sec + Start 71: cmake_import_build +71/81 Test #71: cmake_import_build ........................... Passed 2.89 sec + Start 72: cmake_import_minver_configure +72/81 Test #72: cmake_import_minver_configure ................ Passed 0.20 sec + Start 73: cmake_import_minver_build +73/81 Test #73: cmake_import_minver_build .................... Passed 1.44 sec + Start 74: cmake_add_subdirectory_configure +74/81 Test #74: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 75: cmake_add_subdirectory_build +75/81 Test #75: cmake_add_subdirectory_build ................. Passed 4.22 sec + Start 76: cmake_fetch_content_configure +76/81 Test #76: cmake_fetch_content_configure ................ Passed 0.92 sec + Start 77: cmake_fetch_content_build +77/81 Test #77: cmake_fetch_content_build .................... Passed 2.86 sec + Start 78: cmake_fetch_content2_configure +78/81 Test #78: cmake_fetch_content2_configure ............... Passed 0.66 sec + Start 79: cmake_fetch_content2_build +79/81 Test #79: cmake_fetch_content2_build ................... Passed 2.83 sec + Start 80: cmake_target_include_directories_configure +80/81 Test #80: cmake_target_include_directories_configure ... Passed 0.20 sec + Start 81: cmake_target_include_directories_build +81/81 Test #81: cmake_target_include_directories_build ....... Passed 5.08 sec + +100% tests passed, 0 tests failed out of 81 + +Label Time Summary: +all = 366.17 sec*proc (68 tests) +git_required = 7.28 sec*proc (4 tests) +not_reproducible = 21.70 sec*proc (12 tests) + +Total Test time (real) = 393.69 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/fix.patch new file mode 100644 index 000000000..838a21f52 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/fix.patch @@ -0,0 +1,26 @@ +diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp +index 35e1ddbc..0c4981b1 100644 +--- a/include/nlohmann/detail/json_pointer.hpp ++++ b/include/nlohmann/detail/json_pointer.hpp +@@ -15,6 +15,7 @@ + #include // max + #include // accumulate + #include // string ++#include // ostream + #include // move + #include // vector + +@@ -870,6 +871,13 @@ class json_pointer + }; + + // functions cannot be defined inside class due to ODR violations ++template ++inline std::ostream& operator<<(std::ostream& o, const json_pointer& ptr) ++{ ++ o << ptr.to_string(); ++ return o; ++} ++ + template + inline bool operator==(json_pointer const& lhs, + json_pointer const& rhs) noexcept diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/report.json new file mode 100644 index 000000000..f1b3e9cfd --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3601/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3601, "valid": true, "error_msg": "", "fixed_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 81, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/fix-patch-run.log new file mode 100644 index 000000000..b1fdff545 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/fix-patch-run.log @@ -0,0 +1,1123 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6904 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.4 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.6 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5301 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.29F8xZXs +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.29F8xZXs/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.29F8xZXs/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.29F8xZXs/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.29F8xZXs/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.29F8xZXs/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.29F8xZXs +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=0bc2406106a0 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.CV29P6ashZ/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-class_parser.cpp +patching file tests/src/unit-deserialization.cpp +patching file tests/src/unit-element_access2.cpp +patching file tests/src/unit-json_patch.cpp +patching file tests/src/unit-json_pointer.cpp +patching file tests/src/unit-merge_patch.cpp +patching file tests/src/unit-msgpack.cpp +patching file tests/src/unit-readme.cpp +patching file tests/src/unit-regression1.cpp +patching file tests/src/unit-regression2.cpp +patching file tests/src/unit-udl.cpp +patching file tests/src/unit-udt.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 0bc2406106a0 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 5%] Linking CXX executable test-alt-string_cpp11 +[ 5%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 7%] Linking CXX executable test-assert_macro_cpp11 +[ 7%] Built target test-assert_macro_cpp11 +[ 7%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 8%] Linking CXX executable test-binary_formats_cpp11 +[ 8%] Built target test-binary_formats_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 9%] Linking CXX executable test-bjdata_cpp11 +[ 9%] Built target test-bjdata_cpp11 +[ 10%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 10%] Linking CXX executable test-bson_cpp11 +[ 10%] Built target test-bson_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 12%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 12%] Built target test-byte_container_with_subtype_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity_cpp11 +[ 13%] Built target test-capacity_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor_cpp11 +[ 14%] Built target test-cbor_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 16%] Linking CXX executable test-class_const_iterator_cpp11 +[ 16%] Built target test-class_const_iterator_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 17%] Linking CXX executable test-class_iterator_cpp11 +[ 17%] Built target test-class_iterator_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 18%] Linking CXX executable test-class_lexer_cpp11 +[ 18%] Built target test-class_lexer_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 20%] Linking CXX executable test-class_parser_cpp11 +[ 20%] Built target test-class_parser_cpp11 +[ 20%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 21%] Linking CXX executable test-comparison_cpp11 +[ 21%] Built target test-comparison_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 22%] Linking CXX executable test-comparison_cpp20 +[ 22%] Built target test-comparison_cpp20 +[ 23%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 23%] Linking CXX executable test-concepts_cpp11 +[ 23%] Built target test-concepts_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 24%] Linking CXX executable test-constructor1_cpp11 +[ 24%] Built target test-constructor1_cpp11 +[ 25%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 26%] Linking CXX executable test-constructor2_cpp11 +[ 26%] Built target test-constructor2_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 27%] Linking CXX executable test-convenience_cpp11 +[ 27%] Built target test-convenience_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 28%] Linking CXX executable test-conversions_cpp11 +[ 28%] Built target test-conversions_cpp11 +[ 29%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 30%] Linking CXX executable test-conversions_cpp17 +[ 30%] Built target test-conversions_cpp17 +[ 30%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 31%] Linking CXX executable test-deserialization_cpp11 +[ 31%] Built target test-deserialization_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 32%] Linking CXX executable test-diagnostics_cpp11 +[ 32%] Built target test-diagnostics_cpp11 +[ 33%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 34%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 34%] Built target test-disabled_exceptions_cpp11 +[ 34%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 35%] Linking CXX executable test-element_access1_cpp11 +[ 35%] Built target test-element_access1_cpp11 +[ 36%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 36%] Linking CXX executable test-element_access2_cpp11 +[ 36%] Built target test-element_access2_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 38%] Linking CXX executable test-element_access2_cpp17 +[ 38%] Built target test-element_access2_cpp17 +[ 38%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 39%] Linking CXX executable test-hash_cpp11 +[ 39%] Built target test-hash_cpp11 +[ 40%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 40%] Linking CXX executable test-inspection_cpp11 +[ 40%] Built target test-inspection_cpp11 +[ 41%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 41%] Linking CXX executable test-items_cpp11 +[ 41%] Built target test-items_cpp11 +[ 42%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 43%] Linking CXX executable test-items_cpp17 +[ 43%] Built target test-items_cpp17 +[ 43%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 44%] Linking CXX executable test-iterators1_cpp11 +[ 44%] Built target test-iterators1_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 45%] Linking CXX executable test-iterators2_cpp11 +[ 45%] Built target test-iterators2_cpp11 +[ 46%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 47%] Linking CXX executable test-iterators2_cpp20 +[ 47%] Built target test-iterators2_cpp20 +[ 47%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 48%] Linking CXX executable test-json_patch_cpp11 +[ 48%] Built target test-json_patch_cpp11 +[ 49%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 49%] Linking CXX executable test-json_pointer_cpp11 +[ 49%] Built target test-json_pointer_cpp11 +[ 50%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 51%] Linking CXX executable test-large_json_cpp11 +[ 51%] Built target test-large_json_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 52%] Linking CXX executable test-merge_patch_cpp11 +[ 52%] Built target test-merge_patch_cpp11 +[ 53%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 53%] Linking CXX executable test-meta_cpp11 +[ 53%] Built target test-meta_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 55%] Linking CXX executable test-modifiers_cpp11 +[ 55%] Built target test-modifiers_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 56%] Linking CXX executable test-msgpack_cpp11 +[ 56%] Built target test-msgpack_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 57%] Linking CXX executable test-noexcept_cpp11 +[ 57%] Built target test-noexcept_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 58%] Linking CXX executable test-ordered_json_cpp11 +[ 58%] Built target test-ordered_json_cpp11 +[ 59%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 60%] Linking CXX executable test-ordered_map_cpp11 +[ 60%] Built target test-ordered_map_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 61%] Linking CXX executable test-pointer_access_cpp11 +[ 61%] Built target test-pointer_access_cpp11 +[ 62%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 62%] Linking CXX executable test-readme_cpp11 +[ 62%] Built target test-readme_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 64%] Linking CXX executable test-reference_access_cpp11 +[ 64%] Built target test-reference_access_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 65%] Linking CXX executable test-regression1_cpp11 +[ 65%] Built target test-regression1_cpp11 +[ 66%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 66%] Linking CXX executable test-regression1_cpp17 +[ 66%] Built target test-regression1_cpp17 +[ 67%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 68%] Linking CXX executable test-regression2_cpp11 +[ 68%] Built target test-regression2_cpp11 +[ 68%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 69%] Linking CXX executable test-regression2_cpp17 +[ 69%] Built target test-regression2_cpp17 +[ 70%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 70%] Linking CXX executable test-regression2_cpp20 +[ 70%] Built target test-regression2_cpp20 +[ 71%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 72%] Linking CXX executable test-serialization_cpp11 +[ 72%] Built target test-serialization_cpp11 +[ 72%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 73%] Linking CXX executable test-testsuites_cpp11 +[ 73%] Built target test-testsuites_cpp11 +[ 74%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 74%] Linking CXX executable test-to_chars_cpp11 +[ 74%] Built target test-to_chars_cpp11 +[ 75%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 75%] Linking CXX executable test-ubjson_cpp11 +[ 75%] Built target test-ubjson_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-udl_cpp11.dir/src/unit-udl.cpp.o +/home/json/tests/src/unit-udl.cpp: In function 'void _DOCTEST_ANON_FUNC_2()': +/home/json/tests/src/unit-udl.cpp:22:45: error: 'json_literals' is not a namespace-name + 22 | using namespace nlohmann::literals::json_literals; // NOLINT(google-build-using-namespace) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-udl.cpp:30:35: error: 'json_literals' is not a namespace-name; did you mean 'literals'? + 30 | using namespace nlohmann::json_literals; // NOLINT(google-build-using-namespace) + | ^~~~~~~~~~~~~ + | literals +gmake[2]: *** [tests/CMakeFiles/test-udl_cpp11.dir/build.make:76: tests/CMakeFiles/test-udl_cpp11.dir/src/unit-udl.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:2693: tests/CMakeFiles/test-udl_cpp11.dir/all] Error 2 +gmake: *** [Makefile:146: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/85 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/85 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/85 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/85 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/85 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/85 Test #6: test-binary_formats_cpp11 .................... Passed 23.33 sec + Start 7: test-bjdata_cpp11 + 7/85 Test #7: test-bjdata_cpp11 ............................ Passed 10.41 sec + Start 8: test-bson_cpp11 + 8/85 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/85 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/85 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/85 Test #11: test-cbor_cpp11 .............................. Passed 40.25 sec + Start 12: test-class_const_iterator_cpp11 +12/85 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/85 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/85 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/85 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/85 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/85 Test #17: test-comparison_cpp20 ........................ Passed 0.01 sec + Start 18: test-concepts_cpp11 +18/85 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/85 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/85 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/85 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/85 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/85 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/85 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/85 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/85 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/85 Test #27: test-element_access1_cpp11 ................... Passed 0.01 sec + Start 28: test-element_access2_cpp11 +28/85 Test #28: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 29: test-element_access2_cpp17 +29/85 Test #29: test-element_access2_cpp17 ................... Passed 0.02 sec + Start 30: test-hash_cpp11 +30/85 Test #30: test-hash_cpp11 .............................. Passed 0.00 sec + Start 31: test-inspection_cpp11 +31/85 Test #31: test-inspection_cpp11 ........................ Passed 5.40 sec + Start 32: test-items_cpp11 +32/85 Test #32: test-items_cpp11 ............................. Passed 0.00 sec + Start 33: test-items_cpp17 +33/85 Test #33: test-items_cpp17 ............................. Passed 0.00 sec + Start 34: test-iterators1_cpp11 +34/85 Test #34: test-iterators1_cpp11 ........................ Passed 0.01 sec + Start 35: test-iterators2_cpp11 +35/85 Test #35: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 36: test-iterators2_cpp20 +36/85 Test #36: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 37: test-json_patch_cpp11 +37/85 Test #37: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 38: test-json_pointer_cpp11 +38/85 Test #38: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 39: test-large_json_cpp11 +39/85 Test #39: test-large_json_cpp11 ........................ Passed 5.34 sec + Start 40: test-merge_patch_cpp11 +40/85 Test #40: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 41: test-meta_cpp11 +41/85 Test #41: test-meta_cpp11 .............................. Passed 0.00 sec + Start 42: test-modifiers_cpp11 +42/85 Test #42: test-modifiers_cpp11 ......................... Passed 0.01 sec + Start 43: test-msgpack_cpp11 +43/85 Test #43: test-msgpack_cpp11 ........................... Passed 40.13 sec + Start 44: test-noexcept_cpp11 +44/85 Test #44: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 45: test-ordered_json_cpp11 +45/85 Test #45: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 46: test-ordered_map_cpp11 +46/85 Test #46: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 47: test-pointer_access_cpp11 +47/85 Test #47: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 48: test-readme_cpp11 +48/85 Test #48: test-readme_cpp11 ............................ Passed 0.00 sec + Start 49: test-reference_access_cpp11 +49/85 Test #49: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 50: test-regression1_cpp11 +50/85 Test #50: test-regression1_cpp11 ....................... Passed 6.50 sec + Start 51: test-regression1_cpp17 +51/85 Test #51: test-regression1_cpp17 ....................... Passed 7.56 sec + Start 52: test-regression2_cpp11 +52/85 Test #52: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 53: test-regression2_cpp17 +53/85 Test #53: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 54: test-regression2_cpp20 +54/85 Test #54: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 55: test-serialization_cpp11 +55/85 Test #55: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 56: test-testsuites_cpp11 +56/85 Test #56: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 57: test-to_chars_cpp11 +57/85 Test #57: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 58: test-ubjson_cpp11 +58/85 Test #58: test-ubjson_cpp11 ............................ Passed 12.99 sec + Start 59: test-udl_cpp11 +Could not find executable /home/json/build/tests/test-udl_cpp11 +Looked in the following places: +/home/json/build/tests/test-udl_cpp11 +/home/json/build/tests/test-udl_cpp11 +/home/json/build/tests/Release/test-udl_cpp11 +/home/json/build/tests/Release/test-udl_cpp11 +/home/json/build/tests/Debug/test-udl_cpp11 +/home/json/build/tests/Debug/test-udl_cpp11 +/home/json/build/tests/MinSizeRel/test-udl_cpp11 +/home/json/build/tests/MinSizeRel/test-udl_cpp11 +Unable to find executable: /home/json/build/tests/test-udl_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udl_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udl_cpp11 +/home/json/build/tests/Deployment/test-udl_cpp11 +/home/json/build/tests/Deployment/test-udl_cpp11 +/home/json/build/tests/Development/test-udl_cpp11 +/home/json/build/tests/Development/test-udl_cpp11 +home/json/build/tests/test-udl_cpp11 +home/json/build/tests/test-udl_cpp11 +home/json/build/tests/Release/test-udl_cpp11 +home/json/build/tests/Release/test-udl_cpp11 +home/json/build/tests/Debug/test-udl_cpp11 +home/json/build/tests/Debug/test-udl_cpp11 +home/json/build/tests/MinSizeRel/test-udl_cpp11 +home/json/build/tests/MinSizeRel/test-udl_cpp11 +home/json/build/tests/RelWithDebInfo/test-udl_cpp11 +home/json/build/tests/RelWithDebInfo/test-udl_cpp11 +home/json/build/tests/Deployment/test-udl_cpp11 +home/json/build/tests/Deployment/test-udl_cpp11 +home/json/build/tests/Development/test-udl_cpp11 +home/json/build/tests/Development/test-udl_cpp11 +59/85 Test #59: test-udl_cpp11 ...............................***Not Run 0.00 sec + Start 60: test-udt_cpp11 +Could not find executable /home/json/build/tests/test-udt_cpp11 +Looked in the following places: +/home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/Release/test-udt_cpp11 +/home/json/build/tests/Release/test-udt_cpp11 +/home/json/build/tests/Debug/test-udt_cpp11 +/home/json/build/tests/Debug/test-udt_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +/home/json/build/tests/Deployment/test-udt_cpp11 +/home/json/build/tests/Deployment/test-udt_cpp11 +/home/json/build/tests/Development/test-udt_cpp11 +/home/json/build/tests/Development/test-udt_cpp11 +home/json/build/tests/test-udt_cpp11 +home/json/build/tests/test-udt_cpp11 +home/json/build/tests/Release/test-udt_cpp11 +home/json/build/tests/Release/test-udt_cpp11 +home/json/build/tests/Debug/test-udt_cpp11 +home/json/build/tests/Debug/test-udt_cpp11 +home/json/build/tests/MinSizeRel/test-udt_cpp11 +home/json/build/tests/MinSizeRel/test-udt_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +home/json/build/tests/Deployment/test-udt_cpp11 +home/json/build/tests/Deployment/test-udt_cpp11 +home/json/build/tests/Development/test-udt_cpp11 +home/json/build/tests/Development/test-udt_cpp11 +Unable to find executable: /home/json/build/tests/test-udt_cpp11 +60/85 Test #60: test-udt_cpp11 ...............................***Not Run 0.00 sec + Start 61: test-udt_macro_cpp11 +Could not find executable /home/json/build/tests/test-udt_macro_cpp11 +Looked in the following places: +/home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-udt_macro_cpp11 +/home/json/build/tests/Debug/test-udt_macro_cpp11 +/home/json/build/tests/Debug/test-udt_macro_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/tests/Deployment/test-udt_macro_cpp11 +/home/json/build/tests/Deployment/test-udt_macro_cpp11 +/home/json/build/tests/Development/test-udt_macro_cpp11 +/home/json/build/tests/Development/test-udt_macro_cpp11 +home/json/build/tests/test-udt_macro_cpp11 +home/json/build/tests/test-udt_macro_cpp11 +home/json/build/tests/Release/test-udt_macro_cpp11 +home/json/build/tests/Release/test-udt_macro_cpp11 +home/json/build/tests/Debug/test-udt_macro_cpp11 +home/json/build/tests/Debug/test-udt_macro_cpp11 +home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/tests/Deployment/test-udt_macro_cpp11 +Unable to find executable: /home/json/build/tests/test-udt_macro_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/Deployment/test-udt_macro_cpp11 +home/json/build/tests/Development/test-udt_macro_cpp11 +home/json/build/tests/Development/test-udt_macro_cpp11 +61/85 Test #61: test-udt_macro_cpp11 .........................***Not Run 0.00 sec + Start 62: test-unicode1_cpp11 +Could not find executable /home/json/build/tests/test-unicode1_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/Release/test-unicode1_cpp11 +/home/json/build/tests/Release/test-unicode1_cpp11 +/home/json/build/tests/Debug/test-unicode1_cpp11 +/home/json/build/tests/Debug/test-unicode1_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/tests/Deployment/test-unicode1_cpp11 +/home/json/build/tests/Deployment/test-unicode1_cpp11 +/home/json/build/tests/Development/test-unicode1_cpp11 +/home/json/build/tests/Development/test-unicode1_cpp11 +home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/Release/test-unicode1_cpp11 +home/json/build/tests/Release/test-unicode1_cpp11 +home/json/build/tests/Debug/test-unicode1_cpp11 +home/json/build/tests/Debug/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/tests/Deployment/test-unicode1_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode1_cpp11 +home/json/build/tests/Development/test-unicode1_cpp11 +home/json/build/tests/Development/test-unicode1_cpp11 +62/85 Test #62: test-unicode1_cpp11 ..........................***Not Run 0.00 sec + Start 63: test-unicode2_cpp11 +Could not find executable /home/json/build/tests/test-unicode2_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/Release/test-unicode2_cpp11 +/home/json/build/tests/Release/test-unicode2_cpp11 +/home/json/build/tests/Debug/test-unicode2_cpp11 +/home/json/build/tests/Debug/test-unicode2_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/tests/Deployment/test-unicode2_cpp11 +/home/json/build/tests/Deployment/test-unicode2_cpp11 +/home/json/build/tests/Development/test-unicode2_cpp11 +/home/json/build/tests/Development/test-unicode2_cpp11 +home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/Release/test-unicode2_cpp11 +home/json/build/tests/Release/test-unicode2_cpp11 +home/json/build/tests/Debug/test-unicode2_cpp11 +home/json/build/tests/Debug/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode2_cpp11 +home/json/build/tests/Development/test-unicode2_cpp11 +home/json/build/tests/Development/test-unicode2_cpp11 +63/85 Test #63: test-unicode2_cpp11 ..........................***Not Run 0.00 sec + Start 64: test-unicode3_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode3_cpp11 +Could not find executable /home/json/build/tests/test-unicode3_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode3_cpp11 +/home/json/build/tests/test-unicode3_cpp11 +/home/json/build/tests/Release/test-unicode3_cpp11 +/home/json/build/tests/Release/test-unicode3_cpp11 +/home/json/build/tests/Debug/test-unicode3_cpp11 +/home/json/build/tests/Debug/test-unicode3_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/tests/Deployment/test-unicode3_cpp11 +/home/json/build/tests/Deployment/test-unicode3_cpp11 +/home/json/build/tests/Development/test-unicode3_cpp11 +/home/json/build/tests/Development/test-unicode3_cpp11 +home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/Release/test-unicode3_cpp11 +home/json/build/tests/Release/test-unicode3_cpp11 +home/json/build/tests/Debug/test-unicode3_cpp11 +home/json/build/tests/Debug/test-unicode3_cpp11 +home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode3_cpp11 +home/json/build/tests/Deployment/test-unicode3_cpp11 +home/json/build/tests/Development/test-unicode3_cpp11 +home/json/build/tests/Development/test-unicode3_cpp11 +64/85 Test #64: test-unicode3_cpp11 ..........................***Not Run 0.00 sec + Start 65: test-unicode4_cpp11 +Could not find executable /home/json/build/tests/test-unicode4_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode4_cpp11 +/home/json/build/tests/test-unicode4_cpp11 +/home/json/build/tests/Release/test-unicode4_cpp11 +/home/json/build/tests/Release/test-unicode4_cpp11 +/home/json/build/tests/Debug/test-unicode4_cpp11 +/home/json/build/tests/Debug/test-unicode4_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/tests/Deployment/test-unicode4_cpp11 +/home/json/build/tests/Deployment/test-unicode4_cpp11 +/home/json/build/tests/Development/test-unicode4_cpp11 +/home/json/build/tests/Development/test-unicode4_cpp11 +home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/Release/test-unicode4_cpp11 +home/json/build/tests/Release/test-unicode4_cpp11 +home/json/build/tests/Debug/test-unicode4_cpp11 +home/json/build/tests/Debug/test-unicode4_cpp11 +home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode4_cpp11 +home/json/build/tests/Development/test-unicode4_cpp11 +home/json/build/tests/Development/test-unicode4_cpp11 +65/85 Test #65: test-unicode4_cpp11 ..........................***Not Run 0.00 sec + Start 66: test-unicode5_cpp11 +Could not find executable /home/json/build/tests/test-unicode5_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/Release/test-unicode5_cpp11 +/home/json/build/tests/Release/test-unicode5_cpp11 +/home/json/build/tests/Debug/test-unicode5_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/Debug/test-unicode5_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/tests/Deployment/test-unicode5_cpp11 +/home/json/build/tests/Deployment/test-unicode5_cpp11 +/home/json/build/tests/Development/test-unicode5_cpp11 +/home/json/build/tests/Development/test-unicode5_cpp11 +home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/Release/test-unicode5_cpp11 +home/json/build/tests/Release/test-unicode5_cpp11 +home/json/build/tests/Debug/test-unicode5_cpp11 +home/json/build/tests/Debug/test-unicode5_cpp11 +home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/tests/Deployment/test-unicode5_cpp11 +home/json/build/tests/Deployment/test-unicode5_cpp11 +home/json/build/tests/Development/test-unicode5_cpp11 +home/json/build/tests/Development/test-unicode5_cpp11 +66/85 Test #66: test-unicode5_cpp11 ..........................***Not Run 0.00 sec + Start 67: test-user_defined_input_cpp11 +Could not find executable /home/json/build/tests/test-user_defined_input_cpp11 +Looked in the following places: +/home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/Release/test-user_defined_input_cpp11 +/home/json/build/tests/Release/test-user_defined_input_cpp11 +Unable to find executable: /home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/Debug/test-user_defined_input_cpp11 +/home/json/build/tests/Debug/test-user_defined_input_cpp11 +/home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/tests/Deployment/test-user_defined_input_cpp11 +/home/json/build/tests/Deployment/test-user_defined_input_cpp11 +/home/json/build/tests/Development/test-user_defined_input_cpp11 +/home/json/build/tests/Development/test-user_defined_input_cpp11 +home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/Release/test-user_defined_input_cpp11 +home/json/build/tests/Release/test-user_defined_input_cpp11 +home/json/build/tests/Debug/test-user_defined_input_cpp11 +home/json/build/tests/Debug/test-user_defined_input_cpp11 +home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-user_defined_input_cpp11 +home/json/build/tests/Development/test-user_defined_input_cpp11 +home/json/build/tests/Development/test-user_defined_input_cpp11 +67/85 Test #67: test-user_defined_input_cpp11 ................***Not Run 0.00 sec + Start 68: test-windows_h_cpp11 +Could not find executable /home/json/build/tests/test-windows_h_cpp11 +Looked in the following places: +/home/json/build/tests/test-windows_h_cpp11 +/home/json/build/tests/test-windows_h_cpp11 +/home/json/build/tests/Release/test-windows_h_cpp11 +/home/json/build/tests/Release/test-windows_h_cpp11 +/home/json/build/tests/Debug/test-windows_h_cpp11 +/home/json/build/tests/Debug/test-windows_h_cpp11 +/home/json/build/tests/MinSizeRel/test-windows_h_cpp11 +/home/json/build/tests/MinSizeRel/test-windows_h_cpp11 +/home/json/build/tests/RelWithDebInfo/test-windows_h_cpp11 +/home/json/build/tests/RelWithDebInfo/test-windows_h_cpp11 +/home/json/build/tests/Deployment/test-windows_h_cpp11 +/home/json/build/tests/Deployment/test-windows_h_cpp11 +Unable to find executable: /home/json/build/tests/test-windows_h_cpp11 +/home/json/build/tests/Development/test-windows_h_cpp11 +/home/json/build/tests/Development/test-windows_h_cpp11 +home/json/build/tests/test-windows_h_cpp11 +home/json/build/tests/test-windows_h_cpp11 +home/json/build/tests/Release/test-windows_h_cpp11 +home/json/build/tests/Release/test-windows_h_cpp11 +home/json/build/tests/Debug/test-windows_h_cpp11 +home/json/build/tests/Debug/test-windows_h_cpp11 +home/json/build/tests/MinSizeRel/test-windows_h_cpp11 +home/json/build/tests/MinSizeRel/test-windows_h_cpp11 +home/json/build/tests/RelWithDebInfo/test-windows_h_cpp11 +home/json/build/tests/RelWithDebInfo/test-windows_h_cpp11 +home/json/build/tests/Deployment/test-windows_h_cpp11 +home/json/build/tests/Deployment/test-windows_h_cpp11 +home/json/build/tests/Development/test-windows_h_cpp11 +home/json/build/tests/Development/test-windows_h_cpp11 +68/85 Test #68: test-windows_h_cpp11 .........................***Not Run 0.00 sec + Start 69: test-wstring_cpp11 +Could not find executable /home/json/build/tests/test-wstring_cpp11 +Looked in the following places: +/home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/Release/test-wstring_cpp11 +/home/json/build/tests/Release/test-wstring_cpp11 +/home/json/build/tests/Debug/test-wstring_cpp11 +/home/json/build/tests/Debug/test-wstring_cpp11 +/home/json/build/tests/MinSizeRel/test-wstring_cpp11 +/home/json/build/tests/MinSizeRel/test-wstring_cpp11 +/home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/tests/Deployment/test-wstring_cpp11 +Unable to find executable: /home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/Deployment/test-wstring_cpp11 +/home/json/build/tests/Development/test-wstring_cpp11 +/home/json/build/tests/Development/test-wstring_cpp11 +home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/Release/test-wstring_cpp11 +home/json/build/tests/Release/test-wstring_cpp11 +home/json/build/tests/Debug/test-wstring_cpp11 +home/json/build/tests/Debug/test-wstring_cpp11 +home/json/build/tests/MinSizeRel/test-wstring_cpp11 +home/json/build/tests/MinSizeRel/test-wstring_cpp11 +home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +home/json/build/tests/Deployment/test-wstring_cpp11 +home/json/build/tests/Deployment/test-wstring_cpp11 +home/json/build/tests/Development/test-wstring_cpp11 +home/json/build/tests/Development/test-wstring_cpp11 +69/85 Test #69: test-wstring_cpp11 ...........................***Not Run 0.00 sec + Start 70: test-comparison_legacy_cpp11 +Could not find executable /home/json/build/tests/test-comparison_legacy_cpp11 +Looked in the following places: +/home/json/build/tests/test-comparison_legacy_cpp11 +/home/json/build/tests/test-comparison_legacy_cpp11 +/home/json/build/tests/Release/test-comparison_legacy_cpp11 +/home/json/build/tests/Release/test-comparison_legacy_cpp11 +/home/json/build/tests/Debug/test-comparison_legacy_cpp11 +/home/json/build/tests/Debug/test-comparison_legacy_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +/home/json/build/tests/Development/test-comparison_legacy_cpp11 +/home/json/build/tests/Development/test-comparison_legacy_cpp11 +home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/Release/test-comparison_legacy_cpp11 +Unable to find executable: /home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/Release/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-comparison_legacy_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +home/json/build/tests/Development/test-comparison_legacy_cpp11 +home/json/build/tests/Development/test-comparison_legacy_cpp11 +70/85 Test #70: test-comparison_legacy_cpp11 .................***Not Run 0.00 sec + Start 71: test-comparison_legacy_cpp20 +Could not find executable /home/json/build/tests/test-comparison_legacy_cpp20 +Looked in the following places: +/home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/Release/test-comparison_legacy_cpp20 +/home/json/build/tests/Release/test-comparison_legacy_cpp20 +/home/json/build/tests/Debug/test-comparison_legacy_cpp20 +/home/json/build/tests/Debug/test-comparison_legacy_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +Unable to find executable: /home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +/home/json/build/tests/Development/test-comparison_legacy_cpp20 +/home/json/build/tests/Development/test-comparison_legacy_cpp20 +home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/Release/test-comparison_legacy_cpp20 +home/json/build/tests/Release/test-comparison_legacy_cpp20 +home/json/build/tests/Debug/test-comparison_legacy_cpp20 +home/json/build/tests/Debug/test-comparison_legacy_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-comparison_legacy_cpp20 +71/85 Test #71: test-comparison_legacy_cpp20 .................***Not Run 0.00 sec + Start 72: test-abi_compat_diag +Could not find executable /home/json/build/tests/abi/diag/abi_compat_diag +Looked in the following places: +/home/json/build/tests/abi/diag/abi_compat_diag +/home/json/build/tests/abi/diag/abi_compat_diag +/home/json/build/tests/abi/diag/Release/abi_compat_diag +/home/json/build/tests/abi/diag/Release/abi_compat_diag +/home/json/build/tests/abi/diag/Debug/abi_compat_diag +/home/json/build/tests/abi/diag/Debug/abi_compat_diag +/home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +/home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +Unable to find executable: /home/json/build/tests/abi/diag/abi_compat_diag +/home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +/home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +/home/json/build/tests/abi/diag/Deployment/abi_compat_diag +/home/json/build/tests/abi/diag/Deployment/abi_compat_diag +/home/json/build/tests/abi/diag/Development/abi_compat_diag +/home/json/build/tests/abi/diag/Development/abi_compat_diag +home/json/build/tests/abi/diag/abi_compat_diag +home/json/build/tests/abi/diag/abi_compat_diag +home/json/build/tests/abi/diag/Release/abi_compat_diag +home/json/build/tests/abi/diag/Release/abi_compat_diag +home/json/build/tests/abi/diag/Debug/abi_compat_diag +home/json/build/tests/abi/diag/Debug/abi_compat_diag +home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +home/json/build/tests/abi/diag/Deployment/abi_compat_diag +home/json/build/tests/abi/diag/Deployment/abi_compat_diag +home/json/build/tests/abi/diag/Development/abi_compat_diag +home/json/build/tests/abi/diag/Development/abi_compat_diag +72/85 Test #72: test-abi_compat_diag .........................***Not Run 0.00 sec + Start 73: test-abi_compat_inline_ns +Could not find executable /home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +Looked in the following places: +/home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +Unable to find executable: /home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +73/85 Test #73: test-abi_compat_inline_ns ....................***Not Run 0.00 sec + Start 74: cmake_import_configure +74/85 Test #74: cmake_import_configure ....................... Passed 0.20 sec + Start 75: cmake_import_build +75/85 Test #75: cmake_import_build ........................... Passed 2.92 sec + Start 76: cmake_import_minver_configure +76/85 Test #76: cmake_import_minver_configure ................ Passed 0.20 sec + Start 77: cmake_import_minver_build +77/85 Test #77: cmake_import_minver_build .................... Passed 1.47 sec + Start 78: cmake_add_subdirectory_configure +78/85 Test #78: cmake_add_subdirectory_configure ............. Passed 0.22 sec + Start 79: cmake_add_subdirectory_build +79/85 Test #79: cmake_add_subdirectory_build ................. Passed 4.29 sec + Start 80: cmake_fetch_content_configure +80/85 Test #80: cmake_fetch_content_configure ................ Passed 0.94 sec + Start 81: cmake_fetch_content_build +81/85 Test #81: cmake_fetch_content_build .................... Passed 2.89 sec + Start 82: cmake_fetch_content2_configure +82/85 Test #82: cmake_fetch_content2_configure ............... Passed 0.70 sec + Start 83: cmake_fetch_content2_build +83/85 Test #83: cmake_fetch_content2_build ................... Passed 2.89 sec + Start 84: cmake_target_include_directories_configure +84/85 Test #84: cmake_target_include_directories_configure ... Passed 0.21 sec + Start 85: cmake_target_include_directories_build +85/85 Test #85: cmake_target_include_directories_build ....... Passed 5.19 sec + +82% tests passed, 15 tests failed out of 85 + +Label Time Summary: +all = 152.27 sec*proc (70 tests) +git_required = 7.42 sec*proc (4 tests) +not_reproducible = 22.12 sec*proc (12 tests) + +Total Test time (real) = 174.51 sec + +The following tests FAILED: + 59 - test-udl_cpp11 (Not Run) + 60 - test-udt_cpp11 (Not Run) + 61 - test-udt_macro_cpp11 (Not Run) + 62 - test-unicode1_cpp11 (Not Run) + 63 - test-unicode2_cpp11 (Not Run) + 64 - test-unicode3_cpp11 (Not Run) + 65 - test-unicode4_cpp11 (Not Run) + 66 - test-unicode5_cpp11 (Not Run) + 67 - test-user_defined_input_cpp11 (Not Run) + 68 - test-windows_h_cpp11 (Not Run) + 69 - test-wstring_cpp11 (Not Run) + 70 - test-comparison_legacy_cpp11 (Not Run) + 71 - test-comparison_legacy_cpp20 (Not Run) + 72 - test-abi_compat_diag (Not Run) + 73 - test-abi_compat_inline_ns (Not Run) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/fix.patch new file mode 100644 index 000000000..5606a6e1a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/fix.patch @@ -0,0 +1,56 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 37ab7edd..a7ed8b19 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -5130,6 +5130,9 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC + + } // namespace std + ++namespace nlohmann { ++inline namespace literals { ++ + /// @brief user-defined string literal for JSON values + /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/ + JSON_HEDLEY_NON_NULL(1) +@@ -5146,6 +5149,13 @@ inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std + return nlohmann::json::json_pointer(std::string(s, n)); + } + ++} // inline namespace literals ++} // namespace nlohmann ++ ++// backward compatibility: make literals available in the global namespace ++using nlohmann::literals::operator "" _json; ++using nlohmann::literals::operator "" _json_pointer; ++ + #include + + #endif // INCLUDE_NLOHMANN_JSON_HPP_ +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 420ea096..ccd93773 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -24095,6 +24095,9 @@ inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC + + } // namespace std + ++namespace nlohmann { ++inline namespace literals { ++ + /// @brief user-defined string literal for JSON values + /// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/ + JSON_HEDLEY_NON_NULL(1) +@@ -24111,6 +24114,13 @@ inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std + return nlohmann::json::json_pointer(std::string(s, n)); + } + ++} // inline namespace literals ++} // namespace nlohmann ++ ++// backward compatibility: make literals available in the global namespace ++using nlohmann::literals::operator "" _json; ++using nlohmann::literals::operator "" _json_pointer; ++ + // #include + // __ _____ _____ _____ + // __| | __| | | | JSON for Modern C++ diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/report.json new file mode 100644 index 000000000..9ec34f357 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3605/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3605, "valid": true, "error_msg": "", "fixed_tests": {"test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 84, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 70, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-convenience_cpp11", "test-large_json_cpp11", "test-regression2_cpp17", "test-reference_access_cpp11", "test-bjdata_cpp11", "cmake_fetch_content2_configure", "cmake_add_subdirectory_build", "test-ordered_json_cpp11", "cmake_target_include_directories_configure", "cmake_target_include_directories_build", "test-iterators2_cpp11", "test-to_chars_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-msgpack_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-ubjson_cpp11", "test-iterators2_cpp20", "test-conversions_cpp17", "test-merge_patch_cpp11", "test-element_access2_cpp11", "test-inspection_cpp11", "test-noexcept_cpp11", "cmake_import_build", "test-regression2_cpp20", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-element_access2_cpp17", "test-items_cpp11", "test-class_parser_cpp11", "test-json_pointer_cpp11", "test-readme_cpp11", "test-cbor_cpp11", "test-regression1_cpp17", "test-assert_macro_cpp11", "test-regression2_cpp11", "test-algorithms_cpp11", "cmake_add_subdirectory_configure", "test-serialization_cpp11", "test-byte_container_with_subtype_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-constructor2_cpp11", "test-concepts_cpp11", "test-json_patch_cpp11", "test-diagnostics_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "cmake_import_minver_configure", "test-pointer_access_cpp11", "test-deserialization_cpp11", "test-modifiers_cpp11", "test-class_iterator_cpp11", "test-hash_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "test-conversions_cpp11", "cmake_fetch_content_build", "cmake_import_minver_build", "test-testsuites_cpp11", "cmake_fetch_content_configure", "test-class_const_iterator_cpp11", "test-iterators1_cpp11", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/fix-patch-run.log new file mode 100644 index 000000000..bd1b56b84 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/fix-patch-run.log @@ -0,0 +1,7627 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7162 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (16.6 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (22.3 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6529 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.cCVVXtub +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.cCVVXtub/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.cCVVXtub/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.cCVVXtub/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.cCVVXtub/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.cCVVXtub/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.cCVVXtub +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=34eefc04d6a4 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.niOt5yKLWO/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/CMakeLists.txt +patching file tests/src/unit-element_access2.cpp +patching file tests/src/unit-type_traits.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 34eefc04d6a4 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms_cpp11 +[ 2%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 4%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 5%] Linking CXX executable test-alt-string_cpp11 +[ 5%] Built target test-alt-string_cpp11 +[ 5%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 6%] Linking CXX executable test-assert_macro_cpp11 +[ 6%] Built target test-assert_macro_cpp11 +[ 7%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 7%] Linking CXX executable test-binary_formats_cpp11 +[ 7%] Built target test-binary_formats_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 9%] Linking CXX executable test-bjdata_cpp11 +[ 9%] Built target test-bjdata_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 10%] Linking CXX executable test-bson_cpp11 +[ 10%] Built target test-bson_cpp11 +[ 10%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 11%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 11%] Built target test-byte_container_with_subtype_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 12%] Linking CXX executable test-capacity_cpp11 +[ 12%] Built target test-capacity_cpp11 +[ 13%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor_cpp11 +[ 14%] Built target test-cbor_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 15%] Linking CXX executable test-class_const_iterator_cpp11 +[ 15%] Built target test-class_const_iterator_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 16%] Linking CXX executable test-class_iterator_cpp11 +[ 16%] Built target test-class_iterator_cpp11 +[ 17%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 17%] Linking CXX executable test-class_lexer_cpp11 +[ 17%] Built target test-class_lexer_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 19%] Linking CXX executable test-class_parser_cpp11 +[ 19%] Built target test-class_parser_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 20%] Linking CXX executable test-comparison_cpp11 +[ 20%] Built target test-comparison_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 21%] Linking CXX executable test-comparison_cpp20 +[ 21%] Built target test-comparison_cpp20 +[ 21%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 22%] Linking CXX executable test-concepts_cpp11 +[ 22%] Built target test-concepts_cpp11 +[ 23%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 23%] Linking CXX executable test-constructor1_cpp11 +[ 23%] Built target test-constructor1_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 24%] Linking CXX executable test-constructor2_cpp11 +[ 24%] Built target test-constructor2_cpp11 +[ 25%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 26%] Linking CXX executable test-convenience_cpp11 +[ 26%] Built target test-convenience_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 27%] Linking CXX executable test-conversions_cpp11 +[ 27%] Built target test-conversions_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 28%] Linking CXX executable test-conversions_cpp17 +[ 28%] Built target test-conversions_cpp17 +[ 29%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 29%] Linking CXX executable test-deserialization_cpp11 +[ 29%] Built target test-deserialization_cpp11 +[ 30%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 31%] Linking CXX executable test-diagnostics_cpp11 +[ 31%] Built target test-diagnostics_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 32%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 32%] Built target test-disabled_exceptions_cpp11 +[ 33%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 33%] Linking CXX executable test-element_access1_cpp11 +[ 33%] Built target test-element_access1_cpp11 +[ 34%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +In file included from /home/json/tests/thirdparty/doctest/doctest_compatibility.h:6, + from /home/json/tests/src/unit-element_access2.cpp:10: +/home/json/tests/src/unit-element_access2.cpp: In instantiation of 'void _DOCTEST_ANON_TMP_106() [with Json = nlohmann::json_v3_11_1::basic_json<>]': +/home/json/tests/src/unit-element_access2.cpp:1496:1: required from '{anonymous}::_DOCTEST_ANON_TMP_106ITERATOR >::_DOCTEST_ANON_TMP_106ITERATOR(const char*, unsigned int, int) [with Type = nlohmann::json_v3_11_1::basic_json<>; Rest = {nlohmann::json_v3_11_1::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_v3_11_1::adl_serializer, std::vector > >}]' +/home/json/tests/src/unit-element_access2.cpp:1496:1: required from here +/home/json/tests/src/unit-element_access2.cpp:1603:26: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: + 1603 | CHECK(j.value(key2, 0) == 42); + | ~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1603:13: note: in expansion of macro 'CHECK' + 1603 | CHECK(j.value(key2, 0) == 42); + | ^~~~~ +In file included from /home/json/tests/src/unit-element_access2.cpp:12: +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate 1: 'typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with KeyType = std::__cxx11::basic_string; ValueType = int; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay::type = int]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate 2: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string&; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1609:26: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: + 1609 | CHECK(j.value(key_notfound, 0) == 0); + | ~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1609:13: note: in expansion of macro 'CHECK' + 1609 | CHECK(j.value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate 1: 'typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with KeyType = std::__cxx11::basic_string; ValueType = int; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay::type = int]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate 2: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string&; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1650:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1650 | CHECK(j.template value("foo", "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1650:13: note: in expansion of macro 'CHECK' + 1650 | CHECK(j.template value("foo", "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1651:45: error: call of overloaded 'value(const char [4], const char*&)' is ambiguous + 1651 | CHECK(j.template value("foo", cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1651:13: note: in expansion of macro 'CHECK' + 1651 | CHECK(j.template value("foo", cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1652:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1652 | CHECK(j.template value("foo", castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1652:13: note: in expansion of macro 'CHECK' + 1652 | CHECK(j.template value("foo", castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char [4], number_integer_t&)' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1656:61: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1656:54: note: cannot convert '"baz"' (type 'const char [4]') to type 'long int&&' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1656:54: note: cannot convert '"baz"' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1656:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1659:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char [4], std::size_t&)' + 1659 | CHECK(j.template value("baz", size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1659:56: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1659:49: note: cannot convert '"baz"' (type 'const char [4]') to type 'long unsigned int&&' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1659:49: note: cannot convert '"baz"' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1659:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1659 | CHECK(j.template value("baz", size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1661:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1661 | CHECK(j.template value("bar", "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1661:13: note: in expansion of macro 'CHECK' + 1661 | CHECK(j.template value("bar", "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char [4], number_integer_t&)' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1664:61: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1664:54: note: cannot convert '"bar"' (type 'const char [4]') to type 'long int&&' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1664:54: note: cannot convert '"bar"' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1664:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1667:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char [4], std::size_t&)' + 1667 | CHECK(j.template value("bar", size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1667:56: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1667:49: note: cannot convert '"bar"' (type 'const char [4]') to type 'long unsigned int&&' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1667:49: note: cannot convert '"bar"' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1667:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1667 | CHECK(j.template value("bar", size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1669:65: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1669 | CHECK_THROWS_WITH_AS(Json().template value("foo", "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1669:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1669 | CHECK_THROWS_WITH_AS(Json().template value("foo", "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1679:45: error: call of overloaded 'value(const char*&, const char [8])' is ambiguous + 1679 | CHECK(j.template value(key, "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1679:13: note: in expansion of macro 'CHECK' + 1679 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1680:45: error: call of overloaded 'value(const char*&, const char*&)' is ambiguous + 1680 | CHECK(j.template value(key, cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1680:13: note: in expansion of macro 'CHECK' + 1680 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1681:45: error: call of overloaded 'value(const char*&, const char [8])' is ambiguous + 1681 | CHECK(j.template value(key, castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1681:13: note: in expansion of macro 'CHECK' + 1681 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char*&, number_integer_t&)' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1685:60: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1685:54: note: cannot convert 'key2' (type 'const char*') to type 'long int&&' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1685:54: note: cannot convert 'key2' (type 'const char*') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1685:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char*' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1688:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char*&, std::size_t&)' + 1688 | CHECK(j.template value(key2, size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1688:55: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1688:49: note: cannot convert 'key2' (type 'const char*') to type 'long unsigned int&&' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1688:49: note: cannot convert 'key2' (type 'const char*') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1688:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char*' + 1688 | CHECK(j.template value(key2, size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1690:45: error: call of overloaded 'value(const char*&, const char [8])' is ambiguous + 1690 | CHECK(j.template value(key_notfound, "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1690:13: note: in expansion of macro 'CHECK' + 1690 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char*&, number_integer_t&)' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1693:68: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1693:54: note: cannot convert 'key_notfound' (type 'const char*') to type 'long int&&' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1693:54: note: cannot convert 'key_notfound' (type 'const char*') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1693:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char*' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1696:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char*&, std::size_t&)' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1696:63: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1696:49: note: cannot convert 'key_notfound' (type 'const char*') to type 'long unsigned int&&' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1696:49: note: cannot convert 'key_notfound' (type 'const char*') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1696:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char*' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1698:65: error: call of overloaded 'value(const char*&, const char [8])' is ambiguous + 1698 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1698:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1698 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1708:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1708 | CHECK(j.template value(key, "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1708:13: note: in expansion of macro 'CHECK' + 1708 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1709:45: error: call of overloaded 'value(const char [4], const char*&)' is ambiguous + 1709 | CHECK(j.template value(key, cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1709:13: note: in expansion of macro 'CHECK' + 1709 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1710:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1710 | CHECK(j.template value(key, castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1710:13: note: in expansion of macro 'CHECK' + 1710 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char [4], number_integer_t&)' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1714:60: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1714:54: note: cannot convert 'key2' (type 'const char [4]') to type 'long int&&' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1714:54: note: cannot convert 'key2' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1714:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1717:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char [4], std::size_t&)' + 1717 | CHECK(j.template value(key2, size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1717:55: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1717:49: note: cannot convert 'key2' (type 'const char [4]') to type 'long unsigned int&&' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1717:49: note: cannot convert 'key2' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1717:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1717 | CHECK(j.template value(key2, size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1719:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1719 | CHECK(j.template value(key_notfound, "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1719:13: note: in expansion of macro 'CHECK' + 1719 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char [4], number_integer_t&)' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1722:68: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1722:54: note: cannot convert 'key_notfound' (type 'const char [4]') to type 'long int&&' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1722:54: note: cannot convert 'key_notfound' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1722:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1725:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(const char [4], std::size_t&)' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1725:63: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1725:49: note: cannot convert 'key_notfound' (type 'const char [4]') to type 'long unsigned int&&' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1725:49: note: cannot convert 'key_notfound' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1725:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1727:65: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1727 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1727:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1727 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:45: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, const char [8])' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1737:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1737:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1737:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1737:45: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1738:45: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, const char*&)' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1738:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1738:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1738:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1738:45: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1739:45: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, const char [8])' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1739:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1739:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1739:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1739:45: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1741:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, int)' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1741:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1741:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long int&&' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1741:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1741:53: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1742:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, int)' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1742:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1742:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long int&&' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1742:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1742:53: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1743:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, int)' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1743:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1743:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long unsigned int&&' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1743:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1743:48: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1744:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, int)' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1744:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1744:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long unsigned int&&' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1744:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1744:48: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1746:45: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, const char [8])' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1746:46: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1746:46: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1746:46: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1746:45: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1747:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, int)' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1747:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1747:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long int&&' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1747:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1747:53: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1748:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, int)' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1748:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1748:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long int&&' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1748:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1748:53: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1749:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, int)' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1749:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1749:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long unsigned int&&' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1749:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1749:48: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1750:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, int)' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1750:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1750:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long unsigned int&&' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1750:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1750:48: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1752:65: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json<>::value(string_t&, const char [8])' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1752:66: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1752:66: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1752:66: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json<>::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1752:65: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp: In instantiation of 'void _DOCTEST_ANON_TMP_106() [with Json = nlohmann::json_v3_11_1::basic_json]': +/home/json/tests/src/unit-element_access2.cpp:1496:1: required from '{anonymous}::_DOCTEST_ANON_TMP_106ITERATOR >::_DOCTEST_ANON_TMP_106ITERATOR(const char*, unsigned int, int) [with Type = nlohmann::json_v3_11_1::basic_json; Rest = {}]' +/home/json/tests/src/unit-element_access2.cpp:1496:1: required from '{anonymous}::_DOCTEST_ANON_TMP_106ITERATOR >::_DOCTEST_ANON_TMP_106ITERATOR(const char*, unsigned int, int) [with Type = nlohmann::json_v3_11_1::basic_json<>; Rest = {nlohmann::json_v3_11_1::basic_json, std::allocator >, bool, long int, long unsigned int, double, std::allocator, nlohmann::json_v3_11_1::adl_serializer, std::vector > >}]' +/home/json/tests/src/unit-element_access2.cpp:1496:1: required from here +/home/json/tests/src/unit-element_access2.cpp:1603:26: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: + 1603 | CHECK(j.value(key2, 0) == 42); + | ~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1603:13: note: in expansion of macro 'CHECK' + 1603 | CHECK(j.value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate 1: 'typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with KeyType = std::__cxx11::basic_string; ValueType = int; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay::type = int]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate 2: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string&; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1609:26: warning: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: + 1609 | CHECK(j.value(key_notfound, 0) == 0); + | ~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1609:13: note: in expansion of macro 'CHECK' + 1609 | CHECK(j.value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate 1: 'typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with KeyType = std::__cxx11::basic_string; ValueType = int; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay::type = int]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate 2: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string&; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1650:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1650 | CHECK(j.template value("foo", "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1650:13: note: in expansion of macro 'CHECK' + 1650 | CHECK(j.template value("foo", "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1651:45: error: call of overloaded 'value(const char [4], const char*&)' is ambiguous + 1651 | CHECK(j.template value("foo", cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1651:13: note: in expansion of macro 'CHECK' + 1651 | CHECK(j.template value("foo", cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1652:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1652 | CHECK(j.template value("foo", castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1652:13: note: in expansion of macro 'CHECK' + 1652 | CHECK(j.template value("foo", castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char [4], number_integer_t&)' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1656:61: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1656:54: note: cannot convert '"baz"' (type 'const char [4]') to type 'long int&&' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1656:54: note: cannot convert '"baz"' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1656:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1656:13: note: in expansion of macro 'CHECK' + 1656 | CHECK(j.template value("baz", integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1659:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char [4], std::size_t&)' + 1659 | CHECK(j.template value("baz", size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1659:56: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1659:49: note: cannot convert '"baz"' (type 'const char [4]') to type 'long unsigned int&&' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1659:49: note: cannot convert '"baz"' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1659:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1659 | CHECK(j.template value("baz", size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1659:13: note: in expansion of macro 'CHECK' + 1659 | CHECK(j.template value("baz", size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1661:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1661 | CHECK(j.template value("bar", "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1661:13: note: in expansion of macro 'CHECK' + 1661 | CHECK(j.template value("bar", "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char [4], number_integer_t&)' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1664:61: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1664:54: note: cannot convert '"bar"' (type 'const char [4]') to type 'long int&&' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1664:54: note: cannot convert '"bar"' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1664:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1664:13: note: in expansion of macro 'CHECK' + 1664 | CHECK(j.template value("bar", integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1667:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char [4], std::size_t&)' + 1667 | CHECK(j.template value("bar", size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1667:56: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1667:49: note: cannot convert '"bar"' (type 'const char [4]') to type 'long unsigned int&&' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1667:49: note: cannot convert '"bar"' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1667:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1667 | CHECK(j.template value("bar", size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1667:13: note: in expansion of macro 'CHECK' + 1667 | CHECK(j.template value("bar", size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1669:65: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1669 | CHECK_THROWS_WITH_AS(Json().template value("foo", "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1669:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1669 | CHECK_THROWS_WITH_AS(Json().template value("foo", "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1679:45: error: call of overloaded 'value(const char*&, const char [8])' is ambiguous + 1679 | CHECK(j.template value(key, "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1679:13: note: in expansion of macro 'CHECK' + 1679 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1680:45: error: call of overloaded 'value(const char*&, const char*&)' is ambiguous + 1680 | CHECK(j.template value(key, cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1680:13: note: in expansion of macro 'CHECK' + 1680 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1681:45: error: call of overloaded 'value(const char*&, const char [8])' is ambiguous + 1681 | CHECK(j.template value(key, castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1681:13: note: in expansion of macro 'CHECK' + 1681 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char*&, number_integer_t&)' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1685:60: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1685:54: note: cannot convert 'key2' (type 'const char*') to type 'long int&&' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1685:54: note: cannot convert 'key2' (type 'const char*') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1685:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char*' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1685:13: note: in expansion of macro 'CHECK' + 1685 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1688:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char*&, std::size_t&)' + 1688 | CHECK(j.template value(key2, size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1688:55: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1688:49: note: cannot convert 'key2' (type 'const char*') to type 'long unsigned int&&' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1688:49: note: cannot convert 'key2' (type 'const char*') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1688:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char*' + 1688 | CHECK(j.template value(key2, size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1688:13: note: in expansion of macro 'CHECK' + 1688 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1690:45: error: call of overloaded 'value(const char*&, const char [8])' is ambiguous + 1690 | CHECK(j.template value(key_notfound, "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1690:13: note: in expansion of macro 'CHECK' + 1690 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char*&, number_integer_t&)' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1693:68: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1693:54: note: cannot convert 'key_notfound' (type 'const char*') to type 'long int&&' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1693:54: note: cannot convert 'key_notfound' (type 'const char*') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1693:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char*' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1693:13: note: in expansion of macro 'CHECK' + 1693 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1696:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char*&, std::size_t&)' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1696:63: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1696:49: note: cannot convert 'key_notfound' (type 'const char*') to type 'long unsigned int&&' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1696:49: note: cannot convert 'key_notfound' (type 'const char*') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1696:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char*' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1696:13: note: in expansion of macro 'CHECK' + 1696 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1698:65: error: call of overloaded 'value(const char*&, const char [8])' is ambiguous + 1698 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1698:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1698 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1708:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1708 | CHECK(j.template value(key, "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1708:13: note: in expansion of macro 'CHECK' + 1708 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1709:45: error: call of overloaded 'value(const char [4], const char*&)' is ambiguous + 1709 | CHECK(j.template value(key, cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1709:13: note: in expansion of macro 'CHECK' + 1709 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1710:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1710 | CHECK(j.template value(key, castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1710:13: note: in expansion of macro 'CHECK' + 1710 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char [4], number_integer_t&)' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1714:60: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1714:54: note: cannot convert 'key2' (type 'const char [4]') to type 'long int&&' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1714:54: note: cannot convert 'key2' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1714:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1714:13: note: in expansion of macro 'CHECK' + 1714 | CHECK(j.template value(key2, integer) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1717:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char [4], std::size_t&)' + 1717 | CHECK(j.template value(key2, size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1717:55: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1717:49: note: cannot convert 'key2' (type 'const char [4]') to type 'long unsigned int&&' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1717:49: note: cannot convert 'key2' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1717:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1717 | CHECK(j.template value(key2, size) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1717:13: note: in expansion of macro 'CHECK' + 1717 | CHECK(j.template value(key2, size) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1719:45: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1719 | CHECK(j.template value(key_notfound, "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1719:13: note: in expansion of macro 'CHECK' + 1719 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char [4], number_integer_t&)' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1722:68: note: cannot convert 'integer' (type 'number_integer_t' {aka 'long int'}) to type 'long int&&' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1722:54: note: cannot convert 'key_notfound' (type 'const char [4]') to type 'long int&&' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1722:54: note: cannot convert 'key_notfound' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1722:53: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1722:13: note: in expansion of macro 'CHECK' + 1722 | CHECK(j.template value(key_notfound, integer) == integer); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1725:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(const char [4], std::size_t&)' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1725:63: note: cannot convert 'size' (type 'std::size_t' {aka 'long unsigned int'}) to type 'long unsigned int&&' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1725:49: note: cannot convert 'key_notfound' (type 'const char [4]') to type 'long unsigned int&&' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1725:49: note: cannot convert 'key_notfound' (type 'const char [4]') to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1725:48: note: mismatched types 'const nlohmann::json_v3_11_1::json_pointer' and 'const char [4]' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1725:13: note: in expansion of macro 'CHECK' + 1725 | CHECK(j.template value(key_notfound, size) == size); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1727:65: error: call of overloaded 'value(const char [4], const char [8])' is ambiguous + 1727 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1727:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1727 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with ValueType = std::__cxx11::basic_string; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; typename std::decay<_Func>::type = std::decay >::type]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with KeyType = std::__cxx11::basic_string; typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = 0; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector; string_t = std::__cxx11::basic_string]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:45: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, const char [8])' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1737:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1737:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1737:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1737:45: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1737:13: note: in expansion of macro 'CHECK' + 1737 | CHECK(j.template value(key, "default") == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1738:45: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, const char*&)' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1738:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1738:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1738:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1738:45: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1738:13: note: in expansion of macro 'CHECK' + 1738 | CHECK(j.template value(key, cpstr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1739:45: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, const char [8])' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1739:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1739:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1739:46: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1739:45: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1739:13: note: in expansion of macro 'CHECK' + 1739 | CHECK(j.template value(key, castr) == "bar"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1741:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, int)' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1741:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1741:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long int&&' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1741:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1741:53: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1741:13: note: in expansion of macro 'CHECK' + 1741 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1742:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, int)' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1742:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1742:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long int&&' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1742:54: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1742:53: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1742:13: note: in expansion of macro 'CHECK' + 1742 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1743:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, int)' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1743:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1743:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long unsigned int&&' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1743:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1743:48: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1743:13: note: in expansion of macro 'CHECK' + 1743 | CHECK(j.template value(key2, 0) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1744:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, int)' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1744:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1744:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long unsigned int&&' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1744:49: note: cannot convert 'key2' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1744:48: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1744:13: note: in expansion of macro 'CHECK' + 1744 | CHECK(j.template value(key2, 47) == 42); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1746:45: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, const char [8])' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1746:46: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1746:46: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1746:46: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1746:45: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1746:13: note: in expansion of macro 'CHECK' + 1746 | CHECK(j.template value(key_notfound, "default") == "default"); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1747:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, int)' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1747:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1747:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long int&&' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1747:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1747:53: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1747:13: note: in expansion of macro 'CHECK' + 1747 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1748:53: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, int)' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1748:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1748:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long int&&' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1748:54: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1748:53: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1748:13: note: in expansion of macro 'CHECK' + 1748 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1749:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, int)' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1749:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1749:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long unsigned int&&' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1749:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1749:48: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1749:13: note: in expansion of macro 'CHECK' + 1749 | CHECK(j.template value(key_notfound, 0) == 0); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1750:48: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, int)' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1750:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1750:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'long unsigned int&&' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1750:49: note: cannot convert 'key_notfound' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1750:48: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2099:24: note: in definition of macro 'DOCTEST_ASSERT_IMPLEMENT_1' + 2099 | << __VA_ARGS__) DOCTEST_CLANG_SUPPRESS_WARNING_POP + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2573:20: note: in expansion of macro 'DOCTEST_CHECK' + 2573 | #define CHECK(...) DOCTEST_CHECK(__VA_ARGS__) + | ^~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1750:13: note: in expansion of macro 'CHECK' + 1750 | CHECK(j.template value(key_notfound, 47) == 47); + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +/home/json/tests/src/unit-element_access2.cpp:1752:65: error: no matching function for call to 'nlohmann::json_v3_11_1::basic_json::value(string_t&, const char [8])' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: candidate: 'template >::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(const KeyType&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((std::is_same, std::less, AllocatorType > > >::key_type>::value && nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value) && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2204 | typename std::decay::type value(const KeyType& key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2204:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2203:73: error: no type named 'type' in 'struct std::enable_if' + 2203 | && !std::is_same::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2236:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)), int>::type > typename std::decay<_Func>::type nlohmann::json_v3_11_1::basic_json::value(const char*, ValueType&&) const [with typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2236 | typename std::decay::type value(const char* key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2236:42: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1752:66: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const char*' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: candidate: 'template, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable >, std::__cxx11::basic_string, KeyType, void>::value && (!(true && std::is_same::type>::type, std::__cxx11::basic_string >::value))) && ((! true) || std::integral_constant::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type > typename std::decay::type nlohmann::json_v3_11_1::basic_json::value(KeyType&&, ValueType&&) const [with ValueType = KeyType; typename std::enable_if<((nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && (! std::is_same::value)) && typename std::conditional<(typename std::conditional<(((nlohmann::json_v3_11_1::detail::is_comparable::object_comparator_t, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type, KeyType, void>::value && (!(true && std::is_same::type>::type, typename nlohmann::json_v3_11_1::basic_json::object_t::key_type>::value))) && ((! true) || typename nlohmann::json_v3_11_1::detail::detector::object_comparator_t>::value_t::value)) && (! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value && (! nlohmann::json_v3_11_1::detail::is_json_iterator_of, typename std::remove_cv::type>::type>::value)), std::integral_constant, std::integral_constant >::type::value), int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2253 | typename std::decay::type value(KeyType && key, ValueType && default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2253:42: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2252:103: error: no type named 'type' in 'struct std::enable_if' + 2252 | && detail::is_usable_as_basic_json_key_type::value, int > = 0 > + | ^ +/home/json/include/nlohmann/json.hpp:2276:14: note: candidate: 'template::type>::type>::value), int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(KeyType&&, const char*) const [with typename std::enable_if<(! nlohmann::json_v3_11_1::detail::is_specialization_of::type>::type>::value), int>::type = KeyType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2276 | string_t value(KeyType && key, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2276:14: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1752:66: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'std::__cxx11::basic_string&&' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: candidate: 'template, ValueType>::value, int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const json_pointer&, const ValueType&) const [with typename std::enable_if, ValueType>::value, int>::type = ValueType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2285 | ValueType value(const json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2285:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1752:66: note: cannot convert 'key' (type 'string_t' {aka 'std::__cxx11::basic_string'}) to type 'const nlohmann::json_v3_11_1::basic_json::json_pointer&' {aka 'const nlohmann::json_v3_11_1::json_pointer >&'} + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: candidate: 'template, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type > ValueType nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const ValueType&) const [with BasicJsonType = ValueType; typename std::enable_if<(nlohmann::json_v3_11_1::detail::is_getable, ValueType>::value && nlohmann::json_v3_11_1::detail::is_basic_json::value), int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2308 | ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2308:15: note: template argument deduction/substitution failed: +/home/json/tests/src/unit-element_access2.cpp:1752:65: note: 'string_t' {aka 'std::__cxx11::basic_string'} is not derived from 'const nlohmann::json_v3_11_1::json_pointer' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:1844:23: note: in definition of macro 'DOCTEST_CAST_TO_VOID' + 1844 | static_cast(__VA_ARGS__); \ + | ^~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2171:58: note: in expansion of macro 'DOCTEST_ASSERT_THROWS_AS' + 2171 | #define DOCTEST_CHECK_THROWS_WITH_AS(expr, message, ...) DOCTEST_ASSERT_THROWS_AS(expr, DT_CHECK_THROWS_WITH_AS, message, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/thirdparty/doctest/doctest.h:2578:47: note: in expansion of macro 'DOCTEST_CHECK_THROWS_WITH_AS' + 2578 | #define CHECK_THROWS_WITH_AS(expr, with, ...) DOCTEST_CHECK_THROWS_WITH_AS(expr, with, __VA_ARGS__) + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/home/json/tests/src/unit-element_access2.cpp:1752:13: note: in expansion of macro 'CHECK_THROWS_WITH_AS' + 1752 | CHECK_THROWS_WITH_AS(Json().template value(key, "default"), "[json.exception.type_error.306] cannot use value() with null", typename Json::type_error&); + | ^~~~~~~~~~~~~~~~~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: candidate: 'template::value, int>::type > nlohmann::json_v3_11_1::basic_json::string_t nlohmann::json_v3_11_1::basic_json::value(const nlohmann::json_v3_11_1::json_pointer&, const char*) const [with typename std::enable_if::value, int>::type = BasicJsonType; ObjectType = nlohmann::json_v3_11_1::ordered_map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::json_v3_11_1::adl_serializer; BinaryType = std::vector]' + 2326 | string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const + | ^~~~~ +/home/json/include/nlohmann/json.hpp:2326:14: note: template argument deduction/substitution failed: +/home/json/include/nlohmann/json.hpp:2323:72: error: no type named 'type' in 'struct std::enable_if' + 2323 | detail::is_basic_json::value, int> = 0> + | ^ +gmake[2]: *** [tests/CMakeFiles/test-element_access2_cpp11.dir/build.make:76: tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:1893: tests/CMakeFiles/test-element_access2_cpp11.dir/all] Error 2 +gmake: *** [Makefile:146: all] Error 2 +Test project /home/json/build + Start 1: download_test_data + 1/88 Test #1: download_test_data ........................... Passed 0.09 sec + Start 2: test-algorithms_cpp11 + 2/88 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/88 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/88 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/88 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/88 Test #6: test-binary_formats_cpp11 .................... Passed 23.36 sec + Start 7: test-bjdata_cpp11 + 7/88 Test #7: test-bjdata_cpp11 ............................ Passed 10.46 sec + Start 8: test-bson_cpp11 + 8/88 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/88 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/88 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/88 Test #11: test-cbor_cpp11 .............................. Passed 41.01 sec + Start 12: test-class_const_iterator_cpp11 +12/88 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/88 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/88 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/88 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/88 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/88 Test #17: test-comparison_cpp20 ........................ Passed 0.01 sec + Start 18: test-concepts_cpp11 +18/88 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/88 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/88 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/88 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/88 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/88 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/88 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/88 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/88 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/88 Test #27: test-element_access1_cpp11 ................... Passed 0.01 sec + Start 28: test-element_access2_cpp11 +Could not find executable /home/json/build/tests/test-element_access2_cpp11 +Looked in the following places: +/home/json/build/tests/test-element_access2_cpp11 +/home/json/build/tests/test-element_access2_cpp11 +/home/json/build/tests/Release/test-element_access2_cpp11 +/home/json/build/tests/Release/test-element_access2_cpp11 +/home/json/build/tests/Debug/test-element_access2_cpp11 +/home/json/build/tests/Debug/test-element_access2_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +/home/json/build/tests/Deployment/test-element_access2_cpp11 +/home/json/build/tests/Deployment/test-element_access2_cpp11 +/home/json/build/tests/Development/test-element_access2_cpp11 +/home/json/build/tests/Development/test-element_access2_cpp11 +home/json/build/tests/test-element_access2_cpp11 +home/json/build/tests/test-element_access2_cpp11 +home/json/build/tests/Release/test-element_access2_cpp11 +home/json/build/tests/Release/test-element_access2_cpp11 +home/json/build/tests/Debug/test-element_access2_cpp11 +home/json/build/tests/Debug/test-element_access2_cpp11 +home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +home/json/build/tests/MinSizeRel/test-element_access2_cpp11 +Unable to find executable: /home/json/build/tests/test-element_access2_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp11 +home/json/build/tests/Deployment/test-element_access2_cpp11 +home/json/build/tests/Deployment/test-element_access2_cpp11 +home/json/build/tests/Development/test-element_access2_cpp11 +home/json/build/tests/Development/test-element_access2_cpp11 +28/88 Test #28: test-element_access2_cpp11 ...................***Not Run 0.00 sec + Start 29: test-element_access2_cpp14 +Could not find executable /home/json/build/tests/test-element_access2_cpp14 +Looked in the following places: +/home/json/build/tests/test-element_access2_cpp14 +/home/json/build/tests/test-element_access2_cpp14 +/home/json/build/tests/Release/test-element_access2_cpp14 +/home/json/build/tests/Release/test-element_access2_cpp14 +/home/json/build/tests/Debug/test-element_access2_cpp14 +/home/json/build/tests/Debug/test-element_access2_cpp14 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp14 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp14 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp14 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp14 +/home/json/build/tests/Deployment/test-element_access2_cpp14 +/home/json/build/tests/Deployment/test-element_access2_cpp14 +/home/json/build/tests/Development/test-element_access2_cpp14 +/home/json/build/tests/Development/test-element_access2_cpp14 +home/json/build/tests/test-element_access2_cpp14 +home/json/build/tests/test-element_access2_cpp14 +home/json/build/tests/Release/test-element_access2_cpp14 +Unable to find executable: /home/json/build/tests/test-element_access2_cpp14 +home/json/build/tests/Release/test-element_access2_cpp14 +home/json/build/tests/Debug/test-element_access2_cpp14 +home/json/build/tests/Debug/test-element_access2_cpp14 +home/json/build/tests/MinSizeRel/test-element_access2_cpp14 +home/json/build/tests/MinSizeRel/test-element_access2_cpp14 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp14 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp14 +home/json/build/tests/Deployment/test-element_access2_cpp14 +home/json/build/tests/Deployment/test-element_access2_cpp14 +home/json/build/tests/Development/test-element_access2_cpp14 +home/json/build/tests/Development/test-element_access2_cpp14 +29/88 Test #29: test-element_access2_cpp14 ...................***Not Run 0.00 sec + Start 30: test-element_access2_cpp17 +Unable to find executable: /home/json/build/tests/test-element_access2_cpp17 +Could not find executable /home/json/build/tests/test-element_access2_cpp17 +Looked in the following places: +/home/json/build/tests/test-element_access2_cpp17 +/home/json/build/tests/test-element_access2_cpp17 +/home/json/build/tests/Release/test-element_access2_cpp17 +/home/json/build/tests/Release/test-element_access2_cpp17 +/home/json/build/tests/Debug/test-element_access2_cpp17 +/home/json/build/tests/Debug/test-element_access2_cpp17 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +/home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +/home/json/build/tests/Deployment/test-element_access2_cpp17 +/home/json/build/tests/Deployment/test-element_access2_cpp17 +/home/json/build/tests/Development/test-element_access2_cpp17 +/home/json/build/tests/Development/test-element_access2_cpp17 +home/json/build/tests/test-element_access2_cpp17 +home/json/build/tests/test-element_access2_cpp17 +home/json/build/tests/Release/test-element_access2_cpp17 +home/json/build/tests/Release/test-element_access2_cpp17 +home/json/build/tests/Debug/test-element_access2_cpp17 +home/json/build/tests/Debug/test-element_access2_cpp17 +home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +home/json/build/tests/MinSizeRel/test-element_access2_cpp17 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +home/json/build/tests/RelWithDebInfo/test-element_access2_cpp17 +home/json/build/tests/Deployment/test-element_access2_cpp17 +home/json/build/tests/Deployment/test-element_access2_cpp17 +home/json/build/tests/Development/test-element_access2_cpp17 +home/json/build/tests/Development/test-element_access2_cpp17 +30/88 Test #30: test-element_access2_cpp17 ...................***Not Run 0.00 sec + Start 31: test-hash_cpp11 +Could not find executable /home/json/build/tests/test-hash_cpp11 +Looked in the following places: +/home/json/build/tests/test-hash_cpp11 +/home/json/build/tests/test-hash_cpp11 +/home/json/build/tests/Release/test-hash_cpp11 +/home/json/build/tests/Release/test-hash_cpp11 +/home/json/build/tests/Debug/test-hash_cpp11 +/home/json/build/tests/Debug/test-hash_cpp11 +/home/json/build/tests/MinSizeRel/test-hash_cpp11 +/home/json/build/tests/MinSizeRel/test-hash_cpp11 +/home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +/home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +/home/json/build/tests/Deployment/test-hash_cpp11 +/home/json/build/tests/Deployment/test-hash_cpp11 +Unable to find executable: /home/json/build/tests/test-hash_cpp11 +/home/json/build/tests/Development/test-hash_cpp11 +/home/json/build/tests/Development/test-hash_cpp11 +home/json/build/tests/test-hash_cpp11 +home/json/build/tests/test-hash_cpp11 +home/json/build/tests/Release/test-hash_cpp11 +home/json/build/tests/Release/test-hash_cpp11 +home/json/build/tests/Debug/test-hash_cpp11 +home/json/build/tests/Debug/test-hash_cpp11 +home/json/build/tests/MinSizeRel/test-hash_cpp11 +home/json/build/tests/MinSizeRel/test-hash_cpp11 +home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +home/json/build/tests/RelWithDebInfo/test-hash_cpp11 +home/json/build/tests/Deployment/test-hash_cpp11 +home/json/build/tests/Deployment/test-hash_cpp11 +home/json/build/tests/Development/test-hash_cpp11 +home/json/build/tests/Development/test-hash_cpp11 +31/88 Test #31: test-hash_cpp11 ..............................***Not Run 0.00 sec + Start 32: test-inspection_cpp11 +Could not find executable /home/json/build/tests/test-inspection_cpp11 +Looked in the following places: +/home/json/build/tests/test-inspection_cpp11 +/home/json/build/tests/test-inspection_cpp11 +/home/json/build/tests/Release/test-inspection_cpp11 +/home/json/build/tests/Release/test-inspection_cpp11 +/home/json/build/tests/Debug/test-inspection_cpp11 +/home/json/build/tests/Debug/test-inspection_cpp11 +/home/json/build/tests/MinSizeRel/test-inspection_cpp11 +/home/json/build/tests/MinSizeRel/test-inspection_cpp11 +/home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +/home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +/home/json/build/tests/Deployment/test-inspection_cpp11 +/home/json/build/tests/Deployment/test-inspection_cpp11 +/home/json/build/tests/Development/test-inspection_cpp11 +/home/json/build/tests/Development/test-inspection_cpp11 +home/json/build/tests/test-inspection_cpp11 +home/json/build/tests/test-inspection_cpp11 +Unable to find executable: /home/json/build/tests/test-inspection_cpp11 +home/json/build/tests/Release/test-inspection_cpp11 +home/json/build/tests/Release/test-inspection_cpp11 +home/json/build/tests/Debug/test-inspection_cpp11 +home/json/build/tests/Debug/test-inspection_cpp11 +home/json/build/tests/MinSizeRel/test-inspection_cpp11 +home/json/build/tests/MinSizeRel/test-inspection_cpp11 +home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +home/json/build/tests/RelWithDebInfo/test-inspection_cpp11 +home/json/build/tests/Deployment/test-inspection_cpp11 +home/json/build/tests/Deployment/test-inspection_cpp11 +home/json/build/tests/Development/test-inspection_cpp11 +home/json/build/tests/Development/test-inspection_cpp11 +32/88 Test #32: test-inspection_cpp11 ........................***Not Run 0.00 sec + Start 33: test-items_cpp11 +Could not find executable /home/json/build/tests/test-items_cpp11 +Looked in the following places: +/home/json/build/tests/test-items_cpp11 +/home/json/build/tests/test-items_cpp11 +/home/json/build/tests/Release/test-items_cpp11 +/home/json/build/tests/Release/test-items_cpp11 +/home/json/build/tests/Debug/test-items_cpp11 +/home/json/build/tests/Debug/test-items_cpp11 +/home/json/build/tests/MinSizeRel/test-items_cpp11 +/home/json/build/tests/MinSizeRel/test-items_cpp11 +Unable to find executable: /home/json/build/tests/test-items_cpp11 +/home/json/build/tests/RelWithDebInfo/test-items_cpp11 +/home/json/build/tests/RelWithDebInfo/test-items_cpp11 +/home/json/build/tests/Deployment/test-items_cpp11 +/home/json/build/tests/Deployment/test-items_cpp11 +/home/json/build/tests/Development/test-items_cpp11 +/home/json/build/tests/Development/test-items_cpp11 +home/json/build/tests/test-items_cpp11 +home/json/build/tests/test-items_cpp11 +home/json/build/tests/Release/test-items_cpp11 +home/json/build/tests/Release/test-items_cpp11 +home/json/build/tests/Debug/test-items_cpp11 +home/json/build/tests/Debug/test-items_cpp11 +home/json/build/tests/MinSizeRel/test-items_cpp11 +home/json/build/tests/MinSizeRel/test-items_cpp11 +home/json/build/tests/RelWithDebInfo/test-items_cpp11 +home/json/build/tests/RelWithDebInfo/test-items_cpp11 +home/json/build/tests/Deployment/test-items_cpp11 +home/json/build/tests/Deployment/test-items_cpp11 +home/json/build/tests/Development/test-items_cpp11 +home/json/build/tests/Development/test-items_cpp11 +33/88 Test #33: test-items_cpp11 .............................***Not Run 0.00 sec + Start 34: test-items_cpp17 +Could not find executable /home/json/build/tests/test-items_cpp17 +Looked in the following places: +/home/json/build/tests/test-items_cpp17 +/home/json/build/tests/test-items_cpp17 +/home/json/build/tests/Release/test-items_cpp17 +/home/json/build/tests/Release/test-items_cpp17 +/home/json/build/tests/Debug/test-items_cpp17 +/home/json/build/tests/Debug/test-items_cpp17 +/home/json/build/tests/MinSizeRel/test-items_cpp17 +/home/json/build/tests/MinSizeRel/test-items_cpp17 +/home/json/build/tests/RelWithDebInfo/test-items_cpp17 +/home/json/build/tests/RelWithDebInfo/test-items_cpp17 +/home/json/build/tests/Deployment/test-items_cpp17 +/home/json/build/tests/Deployment/test-items_cpp17 +/home/json/build/tests/Development/test-items_cpp17 +/home/json/build/tests/Development/test-items_cpp17 +home/json/build/tests/test-items_cpp17 +home/json/build/tests/test-items_cpp17 +home/json/build/tests/Release/test-items_cpp17 +home/json/build/tests/Release/test-items_cpp17 +home/json/build/tests/Debug/test-items_cpp17 +home/json/build/tests/Debug/test-items_cpp17 +home/json/build/tests/MinSizeRel/test-items_cpp17 +home/json/build/tests/MinSizeRel/test-items_cpp17 +home/json/build/tests/RelWithDebInfo/test-items_cpp17 +Unable to find executable: /home/json/build/tests/test-items_cpp17 +home/json/build/tests/RelWithDebInfo/test-items_cpp17 +home/json/build/tests/Deployment/test-items_cpp17 +home/json/build/tests/Deployment/test-items_cpp17 +home/json/build/tests/Development/test-items_cpp17 +home/json/build/tests/Development/test-items_cpp17 +34/88 Test #34: test-items_cpp17 .............................***Not Run 0.00 sec + Start 35: test-iterators1_cpp11 +Could not find executable /home/json/build/tests/test-iterators1_cpp11 +Looked in the following places: +/home/json/build/tests/test-iterators1_cpp11 +/home/json/build/tests/test-iterators1_cpp11 +/home/json/build/tests/Release/test-iterators1_cpp11 +/home/json/build/tests/Release/test-iterators1_cpp11 +/home/json/build/tests/Debug/test-iterators1_cpp11 +/home/json/build/tests/Debug/test-iterators1_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +/home/json/build/tests/Deployment/test-iterators1_cpp11 +/home/json/build/tests/Deployment/test-iterators1_cpp11 +/home/json/build/tests/Development/test-iterators1_cpp11 +Unable to find executable: /home/json/build/tests/test-iterators1_cpp11 +/home/json/build/tests/Development/test-iterators1_cpp11 +home/json/build/tests/test-iterators1_cpp11 +home/json/build/tests/test-iterators1_cpp11 +home/json/build/tests/Release/test-iterators1_cpp11 +home/json/build/tests/Release/test-iterators1_cpp11 +home/json/build/tests/Debug/test-iterators1_cpp11 +home/json/build/tests/Debug/test-iterators1_cpp11 +home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +home/json/build/tests/MinSizeRel/test-iterators1_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators1_cpp11 +home/json/build/tests/Deployment/test-iterators1_cpp11 +home/json/build/tests/Deployment/test-iterators1_cpp11 +home/json/build/tests/Development/test-iterators1_cpp11 +home/json/build/tests/Development/test-iterators1_cpp11 +35/88 Test #35: test-iterators1_cpp11 ........................***Not Run 0.00 sec + Start 36: test-iterators2_cpp11 +Could not find executable /home/json/build/tests/test-iterators2_cpp11 +Looked in the following places: +/home/json/build/tests/test-iterators2_cpp11 +/home/json/build/tests/test-iterators2_cpp11 +/home/json/build/tests/Release/test-iterators2_cpp11 +/home/json/build/tests/Release/test-iterators2_cpp11 +/home/json/build/tests/Debug/test-iterators2_cpp11 +/home/json/build/tests/Debug/test-iterators2_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +/home/json/build/tests/Deployment/test-iterators2_cpp11 +/home/json/build/tests/Deployment/test-iterators2_cpp11 +/home/json/build/tests/Development/test-iterators2_cpp11 +/home/json/build/tests/Development/test-iterators2_cpp11 +home/json/build/tests/test-iterators2_cpp11 +home/json/build/tests/test-iterators2_cpp11 +home/json/build/tests/Release/test-iterators2_cpp11 +home/json/build/tests/Release/test-iterators2_cpp11 +home/json/build/tests/Debug/test-iterators2_cpp11 +home/json/build/tests/Debug/test-iterators2_cpp11 +home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +home/json/build/tests/MinSizeRel/test-iterators2_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp11 +home/json/build/tests/Deployment/test-iterators2_cpp11 +home/json/build/tests/Deployment/test-iterators2_cpp11 +home/json/build/tests/Development/test-iterators2_cpp11 +Unable to find executable: /home/json/build/tests/test-iterators2_cpp11 +home/json/build/tests/Development/test-iterators2_cpp11 +36/88 Test #36: test-iterators2_cpp11 ........................***Not Run 0.00 sec + Start 37: test-iterators2_cpp20 +Could not find executable /home/json/build/tests/test-iterators2_cpp20 +Looked in the following places: +/home/json/build/tests/test-iterators2_cpp20 +/home/json/build/tests/test-iterators2_cpp20 +/home/json/build/tests/Release/test-iterators2_cpp20 +/home/json/build/tests/Release/test-iterators2_cpp20 +/home/json/build/tests/Debug/test-iterators2_cpp20 +/home/json/build/tests/Debug/test-iterators2_cpp20 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +/home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +/home/json/build/tests/Deployment/test-iterators2_cpp20 +/home/json/build/tests/Deployment/test-iterators2_cpp20 +/home/json/build/tests/Development/test-iterators2_cpp20 +/home/json/build/tests/Development/test-iterators2_cpp20 +home/json/build/tests/test-iterators2_cpp20 +home/json/build/tests/test-iterators2_cpp20 +home/json/build/tests/Release/test-iterators2_cpp20 +home/json/build/tests/Release/test-iterators2_cpp20 +home/json/build/tests/Debug/test-iterators2_cpp20 +home/json/build/tests/Debug/test-iterators2_cpp20 +home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +home/json/build/tests/MinSizeRel/test-iterators2_cpp20 +Unable to find executable: /home/json/build/tests/test-iterators2_cpp20 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +home/json/build/tests/RelWithDebInfo/test-iterators2_cpp20 +home/json/build/tests/Deployment/test-iterators2_cpp20 +home/json/build/tests/Deployment/test-iterators2_cpp20 +home/json/build/tests/Development/test-iterators2_cpp20 +home/json/build/tests/Development/test-iterators2_cpp20 +37/88 Test #37: test-iterators2_cpp20 ........................***Not Run 0.00 sec + Start 38: test-json_patch_cpp11 +Could not find executable /home/json/build/tests/test-json_patch_cpp11 +Looked in the following places: +/home/json/build/tests/test-json_patch_cpp11 +/home/json/build/tests/test-json_patch_cpp11 +/home/json/build/tests/Release/test-json_patch_cpp11 +/home/json/build/tests/Release/test-json_patch_cpp11 +/home/json/build/tests/Debug/test-json_patch_cpp11 +/home/json/build/tests/Debug/test-json_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +/home/json/build/tests/Deployment/test-json_patch_cpp11 +/home/json/build/tests/Deployment/test-json_patch_cpp11 +/home/json/build/tests/Development/test-json_patch_cpp11 +/home/json/build/tests/Development/test-json_patch_cpp11 +home/json/build/tests/test-json_patch_cpp11 +home/json/build/tests/test-json_patch_cpp11 +home/json/build/tests/Release/test-json_patch_cpp11 +home/json/build/tests/Release/test-json_patch_cpp11 +home/json/build/tests/Debug/test-json_patch_cpp11 +home/json/build/tests/Debug/test-json_patch_cpp11 +home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +home/json/build/tests/MinSizeRel/test-json_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_patch_cpp11 +home/json/build/tests/Deployment/test-json_patch_cpp11 +home/json/build/tests/Deployment/test-json_patch_cpp11 +Unable to find executable: /home/json/build/tests/test-json_patch_cpp11 +home/json/build/tests/Development/test-json_patch_cpp11 +home/json/build/tests/Development/test-json_patch_cpp11 +38/88 Test #38: test-json_patch_cpp11 ........................***Not Run 0.00 sec + Start 39: test-json_pointer_cpp11 +Could not find executable /home/json/build/tests/test-json_pointer_cpp11 +Looked in the following places: +/home/json/build/tests/test-json_pointer_cpp11 +/home/json/build/tests/test-json_pointer_cpp11 +/home/json/build/tests/Release/test-json_pointer_cpp11 +/home/json/build/tests/Release/test-json_pointer_cpp11 +/home/json/build/tests/Debug/test-json_pointer_cpp11 +/home/json/build/tests/Debug/test-json_pointer_cpp11 +/home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +/home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +/home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +/home/json/build/tests/Deployment/test-json_pointer_cpp11 +/home/json/build/tests/Deployment/test-json_pointer_cpp11 +/home/json/build/tests/Development/test-json_pointer_cpp11 +/home/json/build/tests/Development/test-json_pointer_cpp11 +home/json/build/tests/test-json_pointer_cpp11 +home/json/build/tests/test-json_pointer_cpp11 +home/json/build/tests/Release/test-json_pointer_cpp11 +home/json/build/tests/Release/test-json_pointer_cpp11 +home/json/build/tests/Debug/test-json_pointer_cpp11 +home/json/build/tests/Debug/test-json_pointer_cpp11 +Unable to find executable: /home/json/build/tests/test-json_pointer_cpp11 +home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +home/json/build/tests/MinSizeRel/test-json_pointer_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp11 +home/json/build/tests/Deployment/test-json_pointer_cpp11 +home/json/build/tests/Deployment/test-json_pointer_cpp11 +home/json/build/tests/Development/test-json_pointer_cpp11 +home/json/build/tests/Development/test-json_pointer_cpp11 +39/88 Test #39: test-json_pointer_cpp11 ......................***Not Run 0.00 sec + Start 40: test-json_pointer_cpp20 +Could not find executable /home/json/build/tests/test-json_pointer_cpp20 +Looked in the following places: +/home/json/build/tests/test-json_pointer_cpp20 +/home/json/build/tests/test-json_pointer_cpp20 +/home/json/build/tests/Release/test-json_pointer_cpp20 +/home/json/build/tests/Release/test-json_pointer_cpp20 +/home/json/build/tests/Debug/test-json_pointer_cpp20 +/home/json/build/tests/Debug/test-json_pointer_cpp20 +/home/json/build/tests/MinSizeRel/test-json_pointer_cpp20 +/home/json/build/tests/MinSizeRel/test-json_pointer_cpp20 +/home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp20 +/home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp20 +/home/json/build/tests/Deployment/test-json_pointer_cpp20 +/home/json/build/tests/Deployment/test-json_pointer_cpp20 +/home/json/build/tests/Development/test-json_pointer_cpp20 +/home/json/build/tests/Development/test-json_pointer_cpp20 +home/json/build/tests/test-json_pointer_cpp20 +home/json/build/tests/test-json_pointer_cpp20 +home/json/build/tests/Release/test-json_pointer_cpp20 +home/json/build/tests/Release/test-json_pointer_cpp20 +Unable to find executable: /home/json/build/tests/test-json_pointer_cpp20 +home/json/build/tests/Debug/test-json_pointer_cpp20 +home/json/build/tests/Debug/test-json_pointer_cpp20 +home/json/build/tests/MinSizeRel/test-json_pointer_cpp20 +home/json/build/tests/MinSizeRel/test-json_pointer_cpp20 +home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp20 +home/json/build/tests/RelWithDebInfo/test-json_pointer_cpp20 +home/json/build/tests/Deployment/test-json_pointer_cpp20 +home/json/build/tests/Deployment/test-json_pointer_cpp20 +home/json/build/tests/Development/test-json_pointer_cpp20 +home/json/build/tests/Development/test-json_pointer_cpp20 +40/88 Test #40: test-json_pointer_cpp20 ......................***Not Run 0.00 sec + Start 41: test-large_json_cpp11 +Could not find executable /home/json/build/tests/test-large_json_cpp11 +Looked in the following places: +/home/json/build/tests/test-large_json_cpp11 +/home/json/build/tests/test-large_json_cpp11 +/home/json/build/tests/Release/test-large_json_cpp11 +/home/json/build/tests/Release/test-large_json_cpp11 +/home/json/build/tests/Debug/test-large_json_cpp11 +/home/json/build/tests/Debug/test-large_json_cpp11 +/home/json/build/tests/MinSizeRel/test-large_json_cpp11 +/home/json/build/tests/MinSizeRel/test-large_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +/home/json/build/tests/Deployment/test-large_json_cpp11 +/home/json/build/tests/Deployment/test-large_json_cpp11 +/home/json/build/tests/Development/test-large_json_cpp11 +/home/json/build/tests/Development/test-large_json_cpp11 +home/json/build/tests/test-large_json_cpp11 +home/json/build/tests/test-large_json_cpp11 +home/json/build/tests/Release/test-large_json_cpp11 +home/json/build/tests/Release/test-large_json_cpp11 +home/json/build/tests/Debug/test-large_json_cpp11 +home/json/build/tests/Debug/test-large_json_cpp11 +home/json/build/tests/MinSizeRel/test-large_json_cpp11 +home/json/build/tests/MinSizeRel/test-large_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-large_json_cpp11 +home/json/build/tests/Deployment/test-large_json_cpp11 +home/json/build/tests/Deployment/test-large_json_cpp11 +home/json/build/tests/Development/test-large_json_cpp11 +home/json/build/tests/Development/test-large_json_cpp11 +Unable to find executable: /home/json/build/tests/test-large_json_cpp11 +41/88 Test #41: test-large_json_cpp11 ........................***Not Run 0.00 sec + Start 42: test-merge_patch_cpp11 +Could not find executable /home/json/build/tests/test-merge_patch_cpp11 +Looked in the following places: +/home/json/build/tests/test-merge_patch_cpp11 +/home/json/build/tests/test-merge_patch_cpp11 +/home/json/build/tests/Release/test-merge_patch_cpp11 +/home/json/build/tests/Release/test-merge_patch_cpp11 +/home/json/build/tests/Debug/test-merge_patch_cpp11 +/home/json/build/tests/Debug/test-merge_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +/home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +/home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +/home/json/build/tests/Deployment/test-merge_patch_cpp11 +/home/json/build/tests/Deployment/test-merge_patch_cpp11 +/home/json/build/tests/Development/test-merge_patch_cpp11 +/home/json/build/tests/Development/test-merge_patch_cpp11 +home/json/build/tests/test-merge_patch_cpp11 +home/json/build/tests/test-merge_patch_cpp11 +home/json/build/tests/Release/test-merge_patch_cpp11 +home/json/build/tests/Release/test-merge_patch_cpp11 +home/json/build/tests/Debug/test-merge_patch_cpp11 +home/json/build/tests/Debug/test-merge_patch_cpp11 +home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +home/json/build/tests/MinSizeRel/test-merge_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +home/json/build/tests/RelWithDebInfo/test-merge_patch_cpp11 +home/json/build/tests/Deployment/test-merge_patch_cpp11 +home/json/build/tests/Deployment/test-merge_patch_cpp11 +Unable to find executable: /home/json/build/tests/test-merge_patch_cpp11 +home/json/build/tests/Development/test-merge_patch_cpp11 +home/json/build/tests/Development/test-merge_patch_cpp11 +42/88 Test #42: test-merge_patch_cpp11 .......................***Not Run 0.00 sec + Start 43: test-meta_cpp11 +Could not find executable /home/json/build/tests/test-meta_cpp11 +Looked in the following places: +/home/json/build/tests/test-meta_cpp11 +/home/json/build/tests/test-meta_cpp11 +/home/json/build/tests/Release/test-meta_cpp11 +/home/json/build/tests/Release/test-meta_cpp11 +/home/json/build/tests/Debug/test-meta_cpp11 +/home/json/build/tests/Debug/test-meta_cpp11 +/home/json/build/tests/MinSizeRel/test-meta_cpp11 +/home/json/build/tests/MinSizeRel/test-meta_cpp11 +/home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +/home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +/home/json/build/tests/Deployment/test-meta_cpp11 +/home/json/build/tests/Deployment/test-meta_cpp11 +/home/json/build/tests/Development/test-meta_cpp11 +/home/json/build/tests/Development/test-meta_cpp11 +home/json/build/tests/test-meta_cpp11 +home/json/build/tests/test-meta_cpp11 +home/json/build/tests/Release/test-meta_cpp11 +home/json/build/tests/Release/test-meta_cpp11 +home/json/build/tests/Debug/test-meta_cpp11 +home/json/build/tests/Debug/test-meta_cpp11 +home/json/build/tests/MinSizeRel/test-meta_cpp11 +home/json/build/tests/MinSizeRel/test-meta_cpp11 +home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +home/json/build/tests/RelWithDebInfo/test-meta_cpp11 +Unable to find executable: /home/json/build/tests/test-meta_cpp11 +home/json/build/tests/Deployment/test-meta_cpp11 +home/json/build/tests/Deployment/test-meta_cpp11 +home/json/build/tests/Development/test-meta_cpp11 +home/json/build/tests/Development/test-meta_cpp11 +43/88 Test #43: test-meta_cpp11 ..............................***Not Run 0.00 sec + Start 44: test-modifiers_cpp11 +Could not find executable /home/json/build/tests/test-modifiers_cpp11 +Looked in the following places: +/home/json/build/tests/test-modifiers_cpp11 +/home/json/build/tests/test-modifiers_cpp11 +/home/json/build/tests/Release/test-modifiers_cpp11 +/home/json/build/tests/Release/test-modifiers_cpp11 +/home/json/build/tests/Debug/test-modifiers_cpp11 +/home/json/build/tests/Debug/test-modifiers_cpp11 +/home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +/home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +/home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +/home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +/home/json/build/tests/Deployment/test-modifiers_cpp11 +/home/json/build/tests/Deployment/test-modifiers_cpp11 +/home/json/build/tests/Development/test-modifiers_cpp11 +/home/json/build/tests/Development/test-modifiers_cpp11 +home/json/build/tests/test-modifiers_cpp11 +home/json/build/tests/test-modifiers_cpp11 +home/json/build/tests/Release/test-modifiers_cpp11 +home/json/build/tests/Release/test-modifiers_cpp11 +home/json/build/tests/Debug/test-modifiers_cpp11 +home/json/build/tests/Debug/test-modifiers_cpp11 +home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +home/json/build/tests/MinSizeRel/test-modifiers_cpp11 +home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +home/json/build/tests/RelWithDebInfo/test-modifiers_cpp11 +home/json/build/tests/Deployment/test-modifiers_cpp11 +home/json/build/tests/Deployment/test-modifiers_cpp11 +home/json/build/tests/Development/test-modifiers_cpp11 +home/json/build/tests/Development/test-modifiers_cpp11 +44/88 Test #44: test-modifiers_cpp11 .........................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-modifiers_cpp11 + Start 45: test-msgpack_cpp11 +Could not find executable /home/json/build/tests/test-msgpack_cpp11 +Looked in the following places: +/home/json/build/tests/test-msgpack_cpp11 +/home/json/build/tests/test-msgpack_cpp11 +/home/json/build/tests/Release/test-msgpack_cpp11 +/home/json/build/tests/Release/test-msgpack_cpp11 +/home/json/build/tests/Debug/test-msgpack_cpp11 +/home/json/build/tests/Debug/test-msgpack_cpp11 +/home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +/home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +/home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +/home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +/home/json/build/tests/Deployment/test-msgpack_cpp11 +/home/json/build/tests/Deployment/test-msgpack_cpp11 +/home/json/build/tests/Development/test-msgpack_cpp11 +/home/json/build/tests/Development/test-msgpack_cpp11 +home/json/build/tests/test-msgpack_cpp11 +home/json/build/tests/test-msgpack_cpp11 +home/json/build/tests/Release/test-msgpack_cpp11 +home/json/build/tests/Release/test-msgpack_cpp11 +home/json/build/tests/Debug/test-msgpack_cpp11 +home/json/build/tests/Debug/test-msgpack_cpp11 +home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +home/json/build/tests/MinSizeRel/test-msgpack_cpp11 +home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +home/json/build/tests/RelWithDebInfo/test-msgpack_cpp11 +Unable to find executable: /home/json/build/tests/test-msgpack_cpp11 +home/json/build/tests/Deployment/test-msgpack_cpp11 +home/json/build/tests/Deployment/test-msgpack_cpp11 +home/json/build/tests/Development/test-msgpack_cpp11 +home/json/build/tests/Development/test-msgpack_cpp11 +45/88 Test #45: test-msgpack_cpp11 ...........................***Not Run 0.00 sec + Start 46: test-noexcept_cpp11 +Could not find executable /home/json/build/tests/test-noexcept_cpp11 +Looked in the following places: +/home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/Release/test-noexcept_cpp11 +/home/json/build/tests/Release/test-noexcept_cpp11 +/home/json/build/tests/Debug/test-noexcept_cpp11 +/home/json/build/tests/Debug/test-noexcept_cpp11 +/home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +/home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +/home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +/home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +/home/json/build/tests/Deployment/test-noexcept_cpp11 +/home/json/build/tests/Deployment/test-noexcept_cpp11 +/home/json/build/tests/Development/test-noexcept_cpp11 +Unable to find executable: /home/json/build/tests/test-noexcept_cpp11 +/home/json/build/tests/Development/test-noexcept_cpp11 +home/json/build/tests/test-noexcept_cpp11 +home/json/build/tests/test-noexcept_cpp11 +home/json/build/tests/Release/test-noexcept_cpp11 +home/json/build/tests/Release/test-noexcept_cpp11 +home/json/build/tests/Debug/test-noexcept_cpp11 +home/json/build/tests/Debug/test-noexcept_cpp11 +home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +home/json/build/tests/MinSizeRel/test-noexcept_cpp11 +home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +home/json/build/tests/RelWithDebInfo/test-noexcept_cpp11 +home/json/build/tests/Deployment/test-noexcept_cpp11 +home/json/build/tests/Deployment/test-noexcept_cpp11 +home/json/build/tests/Development/test-noexcept_cpp11 +home/json/build/tests/Development/test-noexcept_cpp11 +46/88 Test #46: test-noexcept_cpp11 ..........................***Not Run 0.00 sec + Start 47: test-ordered_json_cpp11 +Could not find executable /home/json/build/tests/test-ordered_json_cpp11 +Looked in the following places: +/home/json/build/tests/test-ordered_json_cpp11 +/home/json/build/tests/test-ordered_json_cpp11 +/home/json/build/tests/Release/test-ordered_json_cpp11 +/home/json/build/tests/Release/test-ordered_json_cpp11 +/home/json/build/tests/Debug/test-ordered_json_cpp11 +/home/json/build/tests/Debug/test-ordered_json_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +/home/json/build/tests/Deployment/test-ordered_json_cpp11 +/home/json/build/tests/Deployment/test-ordered_json_cpp11 +/home/json/build/tests/Development/test-ordered_json_cpp11 +/home/json/build/tests/Development/test-ordered_json_cpp11 +home/json/build/tests/test-ordered_json_cpp11 +home/json/build/tests/test-ordered_json_cpp11 +home/json/build/tests/Release/test-ordered_json_cpp11 +home/json/build/tests/Release/test-ordered_json_cpp11 +Unable to find executable: /home/json/build/tests/test-ordered_json_cpp11 +home/json/build/tests/Debug/test-ordered_json_cpp11 +home/json/build/tests/Debug/test-ordered_json_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_json_cpp11 +home/json/build/tests/Deployment/test-ordered_json_cpp11 +home/json/build/tests/Deployment/test-ordered_json_cpp11 +home/json/build/tests/Development/test-ordered_json_cpp11 +home/json/build/tests/Development/test-ordered_json_cpp11 +47/88 Test #47: test-ordered_json_cpp11 ......................***Not Run 0.00 sec + Start 48: test-ordered_map_cpp11 +Could not find executable /home/json/build/tests/test-ordered_map_cpp11 +Looked in the following places: +/home/json/build/tests/test-ordered_map_cpp11 +/home/json/build/tests/test-ordered_map_cpp11 +/home/json/build/tests/Release/test-ordered_map_cpp11 +/home/json/build/tests/Release/test-ordered_map_cpp11 +/home/json/build/tests/Debug/test-ordered_map_cpp11 +/home/json/build/tests/Debug/test-ordered_map_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +/home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +/home/json/build/tests/Deployment/test-ordered_map_cpp11 +/home/json/build/tests/Deployment/test-ordered_map_cpp11 +/home/json/build/tests/Development/test-ordered_map_cpp11 +/home/json/build/tests/Development/test-ordered_map_cpp11 +home/json/build/tests/test-ordered_map_cpp11 +home/json/build/tests/test-ordered_map_cpp11 +home/json/build/tests/Release/test-ordered_map_cpp11 +home/json/build/tests/Release/test-ordered_map_cpp11 +home/json/build/tests/Debug/test-ordered_map_cpp11 +home/json/build/tests/Debug/test-ordered_map_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +home/json/build/tests/MinSizeRel/test-ordered_map_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +home/json/build/tests/RelWithDebInfo/test-ordered_map_cpp11 +home/json/build/tests/Deployment/test-ordered_map_cpp11 +home/json/build/tests/Deployment/test-ordered_map_cpp11 +home/json/build/tests/Development/test-ordered_map_cpp11 +home/json/build/tests/Development/test-ordered_map_cpp11 +48/88 Test #48: test-ordered_map_cpp11 .......................***Not Run 0.00 sec + Start 49: test-pointer_access_cpp11 +Could not find executable /home/json/build/tests/test-pointer_access_cpp11 +Looked in the following places: +/home/json/build/tests/test-pointer_access_cpp11 +/home/json/build/tests/test-pointer_access_cpp11 +/home/json/build/tests/Release/test-pointer_access_cpp11 +/home/json/build/tests/Release/test-pointer_access_cpp11 +Unable to find executable: /home/json/build/tests/test-ordered_map_cpp11 +/home/json/build/tests/Debug/test-pointer_access_cpp11 +/home/json/build/tests/Debug/test-pointer_access_cpp11 +/home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +/home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +/home/json/build/tests/Deployment/test-pointer_access_cpp11 +/home/json/build/tests/Deployment/test-pointer_access_cpp11 +/home/json/build/tests/Development/test-pointer_access_cpp11 +/home/json/build/tests/Development/test-pointer_access_cpp11 +home/json/build/tests/test-pointer_access_cpp11 +home/json/build/tests/test-pointer_access_cpp11 +Unable to find executable: /home/json/build/tests/test-pointer_access_cpp11 +home/json/build/tests/Release/test-pointer_access_cpp11 +home/json/build/tests/Release/test-pointer_access_cpp11 +home/json/build/tests/Debug/test-pointer_access_cpp11 +home/json/build/tests/Debug/test-pointer_access_cpp11 +home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +home/json/build/tests/MinSizeRel/test-pointer_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-pointer_access_cpp11 +home/json/build/tests/Deployment/test-pointer_access_cpp11 +home/json/build/tests/Deployment/test-pointer_access_cpp11 +home/json/build/tests/Development/test-pointer_access_cpp11 +home/json/build/tests/Development/test-pointer_access_cpp11 +49/88 Test #49: test-pointer_access_cpp11 ....................***Not Run 0.00 sec + Start 50: test-readme_cpp11 +Could not find executable /home/json/build/tests/test-readme_cpp11 +Looked in the following places: +/home/json/build/tests/test-readme_cpp11 +/home/json/build/tests/test-readme_cpp11 +/home/json/build/tests/Release/test-readme_cpp11 +/home/json/build/tests/Release/test-readme_cpp11 +/home/json/build/tests/Debug/test-readme_cpp11 +/home/json/build/tests/Debug/test-readme_cpp11 +/home/json/build/tests/MinSizeRel/test-readme_cpp11 +/home/json/build/tests/MinSizeRel/test-readme_cpp11 +/home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +/home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +/home/json/build/tests/Deployment/test-readme_cpp11 +/home/json/build/tests/Deployment/test-readme_cpp11 +/home/json/build/tests/Development/test-readme_cpp11 +/home/json/build/tests/Development/test-readme_cpp11 +home/json/build/tests/test-readme_cpp11 +home/json/build/tests/test-readme_cpp11 +home/json/build/tests/Release/test-readme_cpp11 +home/json/build/tests/Release/test-readme_cpp11 +home/json/build/tests/Debug/test-readme_cpp11 +home/json/build/tests/Debug/test-readme_cpp11 +home/json/build/tests/MinSizeRel/test-readme_cpp11 +home/json/build/tests/MinSizeRel/test-readme_cpp11 +home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +home/json/build/tests/RelWithDebInfo/test-readme_cpp11 +home/json/build/tests/Deployment/test-readme_cpp11 +home/json/build/tests/Deployment/test-readme_cpp11 +home/json/build/tests/Development/test-readme_cpp11 +home/json/build/tests/Development/test-readme_cpp11 +50/88 Test #50: test-readme_cpp11 ............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-readme_cpp11 + Start 51: test-reference_access_cpp11 +Could not find executable /home/json/build/tests/test-reference_access_cpp11 +Looked in the following places: +/home/json/build/tests/test-reference_access_cpp11 +/home/json/build/tests/test-reference_access_cpp11 +/home/json/build/tests/Release/test-reference_access_cpp11 +/home/json/build/tests/Release/test-reference_access_cpp11 +/home/json/build/tests/Debug/test-reference_access_cpp11 +/home/json/build/tests/Debug/test-reference_access_cpp11 +/home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +/home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +/home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +/home/json/build/tests/Deployment/test-reference_access_cpp11 +/home/json/build/tests/Deployment/test-reference_access_cpp11 +/home/json/build/tests/Development/test-reference_access_cpp11 +/home/json/build/tests/Development/test-reference_access_cpp11 +home/json/build/tests/test-reference_access_cpp11 +home/json/build/tests/test-reference_access_cpp11 +home/json/build/tests/Release/test-reference_access_cpp11 +home/json/build/tests/Release/test-reference_access_cpp11 +home/json/build/tests/Debug/test-reference_access_cpp11 +home/json/build/tests/Debug/test-reference_access_cpp11 +home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +home/json/build/tests/MinSizeRel/test-reference_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +home/json/build/tests/RelWithDebInfo/test-reference_access_cpp11 +home/json/build/tests/Deployment/test-reference_access_cpp11 +home/json/build/tests/Deployment/test-reference_access_cpp11 +home/json/build/tests/Development/test-reference_access_cpp11 +home/json/build/tests/Development/test-reference_access_cpp11 +51/88 Test #51: test-reference_access_cpp11 ..................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-reference_access_cpp11 + Start 52: test-regression1_cpp11 +Could not find executable /home/json/build/tests/test-regression1_cpp11 +Looked in the following places: +/home/json/build/tests/test-regression1_cpp11 +/home/json/build/tests/test-regression1_cpp11 +/home/json/build/tests/Release/test-regression1_cpp11 +/home/json/build/tests/Release/test-regression1_cpp11 +/home/json/build/tests/Debug/test-regression1_cpp11 +/home/json/build/tests/Debug/test-regression1_cpp11 +/home/json/build/tests/MinSizeRel/test-regression1_cpp11 +/home/json/build/tests/MinSizeRel/test-regression1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +/home/json/build/tests/Deployment/test-regression1_cpp11 +/home/json/build/tests/Deployment/test-regression1_cpp11 +/home/json/build/tests/Development/test-regression1_cpp11 +/home/json/build/tests/Development/test-regression1_cpp11 +home/json/build/tests/test-regression1_cpp11 +home/json/build/tests/test-regression1_cpp11 +home/json/build/tests/Release/test-regression1_cpp11 +home/json/build/tests/Release/test-regression1_cpp11 +home/json/build/tests/Debug/test-regression1_cpp11 +home/json/build/tests/Debug/test-regression1_cpp11 +home/json/build/tests/MinSizeRel/test-regression1_cpp11 +home/json/build/tests/MinSizeRel/test-regression1_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp11 +home/json/build/tests/Deployment/test-regression1_cpp11 +home/json/build/tests/Deployment/test-regression1_cpp11 +home/json/build/tests/Development/test-regression1_cpp11 +home/json/build/tests/Development/test-regression1_cpp11 +52/88 Test #52: test-regression1_cpp11 .......................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-regression1_cpp11 + Start 53: test-regression1_cpp17 +Could not find executable /home/json/build/tests/test-regression1_cpp17 +Looked in the following places: +/home/json/build/tests/test-regression1_cpp17 +/home/json/build/tests/test-regression1_cpp17 +/home/json/build/tests/Release/test-regression1_cpp17 +/home/json/build/tests/Release/test-regression1_cpp17 +/home/json/build/tests/Debug/test-regression1_cpp17 +/home/json/build/tests/Debug/test-regression1_cpp17 +/home/json/build/tests/MinSizeRel/test-regression1_cpp17 +/home/json/build/tests/MinSizeRel/test-regression1_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +/home/json/build/tests/Deployment/test-regression1_cpp17 +/home/json/build/tests/Deployment/test-regression1_cpp17 +/home/json/build/tests/Development/test-regression1_cpp17 +/home/json/build/tests/Development/test-regression1_cpp17 +home/json/build/tests/test-regression1_cpp17 +home/json/build/tests/test-regression1_cpp17 +home/json/build/tests/Release/test-regression1_cpp17 +home/json/build/tests/Release/test-regression1_cpp17 +home/json/build/tests/Debug/test-regression1_cpp17 +home/json/build/tests/Debug/test-regression1_cpp17 +home/json/build/tests/MinSizeRel/test-regression1_cpp17 +home/json/build/tests/MinSizeRel/test-regression1_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression1_cpp17 +home/json/build/tests/Deployment/test-regression1_cpp17 +home/json/build/tests/Deployment/test-regression1_cpp17 +home/json/build/tests/Development/test-regression1_cpp17 +home/json/build/tests/Development/test-regression1_cpp17 +Unable to find executable: /home/json/build/tests/test-regression1_cpp17 +53/88 Test #53: test-regression1_cpp17 .......................***Not Run 0.00 sec + Start 54: test-regression2_cpp11 +Could not find executable /home/json/build/tests/test-regression2_cpp11 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp11 +/home/json/build/tests/test-regression2_cpp11 +/home/json/build/tests/Release/test-regression2_cpp11 +/home/json/build/tests/Release/test-regression2_cpp11 +/home/json/build/tests/Debug/test-regression2_cpp11 +/home/json/build/tests/Debug/test-regression2_cpp11 +/home/json/build/tests/MinSizeRel/test-regression2_cpp11 +/home/json/build/tests/MinSizeRel/test-regression2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +/home/json/build/tests/Deployment/test-regression2_cpp11 +/home/json/build/tests/Deployment/test-regression2_cpp11 +/home/json/build/tests/Development/test-regression2_cpp11 +/home/json/build/tests/Development/test-regression2_cpp11 +home/json/build/tests/test-regression2_cpp11 +home/json/build/tests/test-regression2_cpp11 +home/json/build/tests/Release/test-regression2_cpp11 +home/json/build/tests/Release/test-regression2_cpp11 +home/json/build/tests/Debug/test-regression2_cpp11 +home/json/build/tests/Debug/test-regression2_cpp11 +home/json/build/tests/MinSizeRel/test-regression2_cpp11 +home/json/build/tests/MinSizeRel/test-regression2_cpp11 +Unable to find executable: /home/json/build/tests/test-regression2_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp11 +home/json/build/tests/Deployment/test-regression2_cpp11 +home/json/build/tests/Deployment/test-regression2_cpp11 +home/json/build/tests/Development/test-regression2_cpp11 +home/json/build/tests/Development/test-regression2_cpp11 +54/88 Test #54: test-regression2_cpp11 .......................***Not Run 0.00 sec + Start 55: test-regression2_cpp17 +Could not find executable /home/json/build/tests/test-regression2_cpp17 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp17 +/home/json/build/tests/test-regression2_cpp17 +/home/json/build/tests/Release/test-regression2_cpp17 +/home/json/build/tests/Release/test-regression2_cpp17 +/home/json/build/tests/Debug/test-regression2_cpp17 +/home/json/build/tests/Debug/test-regression2_cpp17 +/home/json/build/tests/MinSizeRel/test-regression2_cpp17 +/home/json/build/tests/MinSizeRel/test-regression2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +/home/json/build/tests/Deployment/test-regression2_cpp17 +/home/json/build/tests/Deployment/test-regression2_cpp17 +/home/json/build/tests/Development/test-regression2_cpp17 +/home/json/build/tests/Development/test-regression2_cpp17 +home/json/build/tests/test-regression2_cpp17 +home/json/build/tests/test-regression2_cpp17 +home/json/build/tests/Release/test-regression2_cpp17 +home/json/build/tests/Release/test-regression2_cpp17 +home/json/build/tests/Debug/test-regression2_cpp17 +home/json/build/tests/Debug/test-regression2_cpp17 +home/json/build/tests/MinSizeRel/test-regression2_cpp17 +home/json/build/tests/MinSizeRel/test-regression2_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp17 +home/json/build/tests/Deployment/test-regression2_cpp17 +home/json/build/tests/Deployment/test-regression2_cpp17 +home/json/build/tests/Development/test-regression2_cpp17 +home/json/build/tests/Development/test-regression2_cpp17 +Unable to find executable: /home/json/build/tests/test-regression2_cpp17 +55/88 Test #55: test-regression2_cpp17 .......................***Not Run 0.00 sec + Start 56: test-regression2_cpp20 +Could not find executable /home/json/build/tests/test-regression2_cpp20 +Looked in the following places: +/home/json/build/tests/test-regression2_cpp20 +/home/json/build/tests/test-regression2_cpp20 +/home/json/build/tests/Release/test-regression2_cpp20 +/home/json/build/tests/Release/test-regression2_cpp20 +/home/json/build/tests/Debug/test-regression2_cpp20 +/home/json/build/tests/Debug/test-regression2_cpp20 +/home/json/build/tests/MinSizeRel/test-regression2_cpp20 +/home/json/build/tests/MinSizeRel/test-regression2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +/home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +/home/json/build/tests/Deployment/test-regression2_cpp20 +/home/json/build/tests/Deployment/test-regression2_cpp20 +/home/json/build/tests/Development/test-regression2_cpp20 +/home/json/build/tests/Development/test-regression2_cpp20 +home/json/build/tests/test-regression2_cpp20 +home/json/build/tests/test-regression2_cpp20 +Unable to find executable: /home/json/build/tests/test-regression2_cpp20 +home/json/build/tests/Release/test-regression2_cpp20 +home/json/build/tests/Release/test-regression2_cpp20 +home/json/build/tests/Debug/test-regression2_cpp20 +home/json/build/tests/Debug/test-regression2_cpp20 +home/json/build/tests/MinSizeRel/test-regression2_cpp20 +home/json/build/tests/MinSizeRel/test-regression2_cpp20 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +home/json/build/tests/RelWithDebInfo/test-regression2_cpp20 +home/json/build/tests/Deployment/test-regression2_cpp20 +home/json/build/tests/Deployment/test-regression2_cpp20 +home/json/build/tests/Development/test-regression2_cpp20 +home/json/build/tests/Development/test-regression2_cpp20 +56/88 Test #56: test-regression2_cpp20 .......................***Not Run 0.00 sec + Start 57: test-serialization_cpp11 +Could not find executable /home/json/build/tests/test-serialization_cpp11 +Looked in the following places: +/home/json/build/tests/test-serialization_cpp11 +/home/json/build/tests/test-serialization_cpp11 +/home/json/build/tests/Release/test-serialization_cpp11 +/home/json/build/tests/Release/test-serialization_cpp11 +/home/json/build/tests/Debug/test-serialization_cpp11 +/home/json/build/tests/Debug/test-serialization_cpp11 +/home/json/build/tests/MinSizeRel/test-serialization_cpp11 +/home/json/build/tests/MinSizeRel/test-serialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +/home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +/home/json/build/tests/Deployment/test-serialization_cpp11 +/home/json/build/tests/Deployment/test-serialization_cpp11 +/home/json/build/tests/Development/test-serialization_cpp11 +/home/json/build/tests/Development/test-serialization_cpp11 +home/json/build/tests/test-serialization_cpp11 +home/json/build/tests/test-serialization_cpp11 +home/json/build/tests/Release/test-serialization_cpp11 +home/json/build/tests/Release/test-serialization_cpp11 +home/json/build/tests/Debug/test-serialization_cpp11 +home/json/build/tests/Debug/test-serialization_cpp11 +home/json/build/tests/MinSizeRel/test-serialization_cpp11 +home/json/build/tests/MinSizeRel/test-serialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +home/json/build/tests/RelWithDebInfo/test-serialization_cpp11 +home/json/build/tests/Deployment/test-serialization_cpp11 +home/json/build/tests/Deployment/test-serialization_cpp11 +home/json/build/tests/Development/test-serialization_cpp11 +home/json/build/tests/Development/test-serialization_cpp11 +Unable to find executable: /home/json/build/tests/test-serialization_cpp11 +57/88 Test #57: test-serialization_cpp11 .....................***Not Run 0.00 sec + Start 58: test-testsuites_cpp11 +Could not find executable /home/json/build/tests/test-testsuites_cpp11 +Looked in the following places: +/home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/Release/test-testsuites_cpp11 +/home/json/build/tests/Release/test-testsuites_cpp11 +/home/json/build/tests/Debug/test-testsuites_cpp11 +/home/json/build/tests/Debug/test-testsuites_cpp11 +/home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +/home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +/home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +/home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +/home/json/build/tests/Deployment/test-testsuites_cpp11 +/home/json/build/tests/Deployment/test-testsuites_cpp11 +Unable to find executable: /home/json/build/tests/test-testsuites_cpp11 +/home/json/build/tests/Development/test-testsuites_cpp11 +/home/json/build/tests/Development/test-testsuites_cpp11 +home/json/build/tests/test-testsuites_cpp11 +home/json/build/tests/test-testsuites_cpp11 +home/json/build/tests/Release/test-testsuites_cpp11 +home/json/build/tests/Release/test-testsuites_cpp11 +home/json/build/tests/Debug/test-testsuites_cpp11 +home/json/build/tests/Debug/test-testsuites_cpp11 +home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +home/json/build/tests/MinSizeRel/test-testsuites_cpp11 +home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +home/json/build/tests/RelWithDebInfo/test-testsuites_cpp11 +home/json/build/tests/Deployment/test-testsuites_cpp11 +home/json/build/tests/Deployment/test-testsuites_cpp11 +home/json/build/tests/Development/test-testsuites_cpp11 +home/json/build/tests/Development/test-testsuites_cpp11 +58/88 Test #58: test-testsuites_cpp11 ........................***Not Run 0.00 sec + Start 59: test-to_chars_cpp11 +Could not find executable /home/json/build/tests/test-to_chars_cpp11 +Looked in the following places: +/home/json/build/tests/test-to_chars_cpp11 +/home/json/build/tests/test-to_chars_cpp11 +/home/json/build/tests/Release/test-to_chars_cpp11 +/home/json/build/tests/Release/test-to_chars_cpp11 +/home/json/build/tests/Debug/test-to_chars_cpp11 +/home/json/build/tests/Debug/test-to_chars_cpp11 +/home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +/home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +/home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +/home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +/home/json/build/tests/Deployment/test-to_chars_cpp11 +/home/json/build/tests/Deployment/test-to_chars_cpp11 +/home/json/build/tests/Development/test-to_chars_cpp11 +/home/json/build/tests/Development/test-to_chars_cpp11 +home/json/build/tests/test-to_chars_cpp11 +home/json/build/tests/test-to_chars_cpp11 +home/json/build/tests/Release/test-to_chars_cpp11 +home/json/build/tests/Release/test-to_chars_cpp11 +home/json/build/tests/Debug/test-to_chars_cpp11 +home/json/build/tests/Debug/test-to_chars_cpp11 +home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +home/json/build/tests/MinSizeRel/test-to_chars_cpp11 +home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +Unable to find executable: /home/json/build/tests/test-to_chars_cpp11 +home/json/build/tests/RelWithDebInfo/test-to_chars_cpp11 +home/json/build/tests/Deployment/test-to_chars_cpp11 +home/json/build/tests/Deployment/test-to_chars_cpp11 +home/json/build/tests/Development/test-to_chars_cpp11 +home/json/build/tests/Development/test-to_chars_cpp11 +59/88 Test #59: test-to_chars_cpp11 ..........................***Not Run 0.00 sec + Start 60: test-type_traits_cpp11 +Could not find executable /home/json/build/tests/test-type_traits_cpp11 +Looked in the following places: +/home/json/build/tests/test-type_traits_cpp11 +/home/json/build/tests/test-type_traits_cpp11 +/home/json/build/tests/Release/test-type_traits_cpp11 +/home/json/build/tests/Release/test-type_traits_cpp11 +/home/json/build/tests/Debug/test-type_traits_cpp11 +/home/json/build/tests/Debug/test-type_traits_cpp11 +/home/json/build/tests/MinSizeRel/test-type_traits_cpp11 +/home/json/build/tests/MinSizeRel/test-type_traits_cpp11 +/home/json/build/tests/RelWithDebInfo/test-type_traits_cpp11 +/home/json/build/tests/RelWithDebInfo/test-type_traits_cpp11 +/home/json/build/tests/Deployment/test-type_traits_cpp11 +/home/json/build/tests/Deployment/test-type_traits_cpp11 +/home/json/build/tests/Development/test-type_traits_cpp11 +/home/json/build/tests/Development/test-type_traits_cpp11 +home/json/build/tests/test-type_traits_cpp11 +home/json/build/tests/test-type_traits_cpp11 +home/json/build/tests/Release/test-type_traits_cpp11 +home/json/build/tests/Release/test-type_traits_cpp11 +home/json/build/tests/Debug/test-type_traits_cpp11 +home/json/build/tests/Debug/test-type_traits_cpp11 +home/json/build/tests/MinSizeRel/test-type_traits_cpp11 +home/json/build/tests/MinSizeRel/test-type_traits_cpp11 +home/json/build/tests/RelWithDebInfo/test-type_traits_cpp11 +home/json/build/tests/RelWithDebInfo/test-type_traits_cpp11 +home/json/build/tests/Deployment/test-type_traits_cpp11 +home/json/build/tests/Deployment/test-type_traits_cpp11 +home/json/build/tests/Development/test-type_traits_cpp11 +home/json/build/tests/Development/test-type_traits_cpp11 +Unable to find executable: /home/json/build/tests/test-type_traits_cpp11 +60/88 Test #60: test-type_traits_cpp11 .......................***Not Run 0.00 sec + Start 61: test-ubjson_cpp11 +Could not find executable /home/json/build/tests/test-ubjson_cpp11 +Looked in the following places: +/home/json/build/tests/test-ubjson_cpp11 +/home/json/build/tests/test-ubjson_cpp11 +/home/json/build/tests/Release/test-ubjson_cpp11 +/home/json/build/tests/Release/test-ubjson_cpp11 +/home/json/build/tests/Debug/test-ubjson_cpp11 +/home/json/build/tests/Debug/test-ubjson_cpp11 +/home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +/home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +/home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +/home/json/build/tests/Deployment/test-ubjson_cpp11 +/home/json/build/tests/Deployment/test-ubjson_cpp11 +/home/json/build/tests/Development/test-ubjson_cpp11 +/home/json/build/tests/Development/test-ubjson_cpp11 +home/json/build/tests/test-ubjson_cpp11 +home/json/build/tests/test-ubjson_cpp11 +home/json/build/tests/Release/test-ubjson_cpp11 +home/json/build/tests/Release/test-ubjson_cpp11 +home/json/build/tests/Debug/test-ubjson_cpp11 +home/json/build/tests/Debug/test-ubjson_cpp11 +home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +home/json/build/tests/MinSizeRel/test-ubjson_cpp11 +home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +home/json/build/tests/RelWithDebInfo/test-ubjson_cpp11 +home/json/build/tests/Deployment/test-ubjson_cpp11 +home/json/build/tests/Deployment/test-ubjson_cpp11 +home/json/build/tests/Development/test-ubjson_cpp11 +home/json/build/tests/Development/test-ubjson_cpp11 +61/88 Test #61: test-ubjson_cpp11 ............................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-ubjson_cpp11 + Start 62: test-udl_cpp11 +Could not find executable /home/json/build/tests/test-udl_cpp11 +Looked in the following places: +/home/json/build/tests/test-udl_cpp11 +/home/json/build/tests/test-udl_cpp11 +/home/json/build/tests/Release/test-udl_cpp11 +/home/json/build/tests/Release/test-udl_cpp11 +/home/json/build/tests/Debug/test-udl_cpp11 +/home/json/build/tests/Debug/test-udl_cpp11 +/home/json/build/tests/MinSizeRel/test-udl_cpp11 +/home/json/build/tests/MinSizeRel/test-udl_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udl_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udl_cpp11 +/home/json/build/tests/Deployment/test-udl_cpp11 +/home/json/build/tests/Deployment/test-udl_cpp11 +/home/json/build/tests/Development/test-udl_cpp11 +/home/json/build/tests/Development/test-udl_cpp11 +home/json/build/tests/test-udl_cpp11 +home/json/build/tests/test-udl_cpp11 +home/json/build/tests/Release/test-udl_cpp11 +home/json/build/tests/Release/test-udl_cpp11 +home/json/build/tests/Debug/test-udl_cpp11 +home/json/build/tests/Debug/test-udl_cpp11 +home/json/build/tests/MinSizeRel/test-udl_cpp11 +home/json/build/tests/MinSizeRel/test-udl_cpp11 +home/json/build/tests/RelWithDebInfo/test-udl_cpp11 +home/json/build/tests/RelWithDebInfo/test-udl_cpp11 +home/json/build/tests/Deployment/test-udl_cpp11 +Unable to find executable: /home/json/build/tests/test-udl_cpp11 +home/json/build/tests/Deployment/test-udl_cpp11 +home/json/build/tests/Development/test-udl_cpp11 +home/json/build/tests/Development/test-udl_cpp11 +62/88 Test #62: test-udl_cpp11 ...............................***Not Run 0.00 sec + Start 63: test-udt_cpp11 +Could not find executable /home/json/build/tests/test-udt_cpp11 +Looked in the following places: +/home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/test-udt_cpp11 +/home/json/build/tests/Release/test-udt_cpp11 +/home/json/build/tests/Release/test-udt_cpp11 +/home/json/build/tests/Debug/test-udt_cpp11 +/home/json/build/tests/Debug/test-udt_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +/home/json/build/tests/Deployment/test-udt_cpp11 +/home/json/build/tests/Deployment/test-udt_cpp11 +/home/json/build/tests/Development/test-udt_cpp11 +/home/json/build/tests/Development/test-udt_cpp11 +home/json/build/tests/test-udt_cpp11 +home/json/build/tests/test-udt_cpp11 +home/json/build/tests/Release/test-udt_cpp11 +home/json/build/tests/Release/test-udt_cpp11 +home/json/build/tests/Debug/test-udt_cpp11 +home/json/build/tests/Debug/test-udt_cpp11 +home/json/build/tests/MinSizeRel/test-udt_cpp11 +home/json/build/tests/MinSizeRel/test-udt_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_cpp11 +home/json/build/tests/Deployment/test-udt_cpp11 +Unable to find executable: /home/json/build/tests/test-udt_cpp11 +home/json/build/tests/Deployment/test-udt_cpp11 +home/json/build/tests/Development/test-udt_cpp11 +home/json/build/tests/Development/test-udt_cpp11 +63/88 Test #63: test-udt_cpp11 ...............................***Not Run 0.00 sec + Start 64: test-udt_macro_cpp11 +Could not find executable /home/json/build/tests/test-udt_macro_cpp11 +Looked in the following places: +/home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-udt_macro_cpp11 +/home/json/build/tests/Debug/test-udt_macro_cpp11 +/home/json/build/tests/Debug/test-udt_macro_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +/home/json/build/tests/Deployment/test-udt_macro_cpp11 +/home/json/build/tests/Deployment/test-udt_macro_cpp11 +/home/json/build/tests/Development/test-udt_macro_cpp11 +/home/json/build/tests/Development/test-udt_macro_cpp11 +home/json/build/tests/test-udt_macro_cpp11 +home/json/build/tests/test-udt_macro_cpp11 +home/json/build/tests/Release/test-udt_macro_cpp11 +home/json/build/tests/Release/test-udt_macro_cpp11 +home/json/build/tests/Debug/test-udt_macro_cpp11 +home/json/build/tests/Debug/test-udt_macro_cpp11 +home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +home/json/build/tests/MinSizeRel/test-udt_macro_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/tests/RelWithDebInfo/test-udt_macro_cpp11 +home/json/build/tests/Deployment/test-udt_macro_cpp11 +home/json/build/tests/Deployment/test-udt_macro_cpp11 +home/json/build/tests/Development/test-udt_macro_cpp11 +home/json/build/tests/Development/test-udt_macro_cpp11 +64/88 Test #64: test-udt_macro_cpp11 .........................***Not Run 0.00 sec + Start 65: test-unicode1_cpp11 +Could not find executable /home/json/build/tests/test-unicode1_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/test-unicode1_cpp11 +Unable to find executable: /home/json/build/tests/test-udt_macro_cpp11 +/home/json/build/tests/Release/test-unicode1_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode1_cpp11 +/home/json/build/tests/Release/test-unicode1_cpp11 +/home/json/build/tests/Debug/test-unicode1_cpp11 +/home/json/build/tests/Debug/test-unicode1_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +/home/json/build/tests/Deployment/test-unicode1_cpp11 +/home/json/build/tests/Deployment/test-unicode1_cpp11 +/home/json/build/tests/Development/test-unicode1_cpp11 +/home/json/build/tests/Development/test-unicode1_cpp11 +home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/test-unicode1_cpp11 +home/json/build/tests/Release/test-unicode1_cpp11 +home/json/build/tests/Release/test-unicode1_cpp11 +home/json/build/tests/Debug/test-unicode1_cpp11 +home/json/build/tests/Debug/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +home/json/build/tests/MinSizeRel/test-unicode1_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode1_cpp11 +home/json/build/tests/Deployment/test-unicode1_cpp11 +home/json/build/tests/Deployment/test-unicode1_cpp11 +home/json/build/tests/Development/test-unicode1_cpp11 +home/json/build/tests/Development/test-unicode1_cpp11 +65/88 Test #65: test-unicode1_cpp11 ..........................***Not Run 0.00 sec + Start 66: test-unicode2_cpp11 +Could not find executable /home/json/build/tests/test-unicode2_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/Release/test-unicode2_cpp11 +/home/json/build/tests/Release/test-unicode2_cpp11 +/home/json/build/tests/Debug/test-unicode2_cpp11 +/home/json/build/tests/Debug/test-unicode2_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +/home/json/build/tests/Deployment/test-unicode2_cpp11 +/home/json/build/tests/Deployment/test-unicode2_cpp11 +/home/json/build/tests/Development/test-unicode2_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode2_cpp11 +/home/json/build/tests/Development/test-unicode2_cpp11 +home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/test-unicode2_cpp11 +home/json/build/tests/Release/test-unicode2_cpp11 +home/json/build/tests/Release/test-unicode2_cpp11 +home/json/build/tests/Debug/test-unicode2_cpp11 +home/json/build/tests/Debug/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +home/json/build/tests/MinSizeRel/test-unicode2_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode2_cpp11 +home/json/build/tests/Deployment/test-unicode2_cpp11 +home/json/build/tests/Development/test-unicode2_cpp11 +home/json/build/tests/Development/test-unicode2_cpp11 +66/88 Test #66: test-unicode2_cpp11 ..........................***Not Run 0.00 sec + Start 67: test-unicode3_cpp11 +Could not find executable /home/json/build/tests/test-unicode3_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode3_cpp11 +/home/json/build/tests/test-unicode3_cpp11 +/home/json/build/tests/Release/test-unicode3_cpp11 +/home/json/build/tests/Release/test-unicode3_cpp11 +/home/json/build/tests/Debug/test-unicode3_cpp11 +/home/json/build/tests/Debug/test-unicode3_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +/home/json/build/tests/Deployment/test-unicode3_cpp11 +/home/json/build/tests/Deployment/test-unicode3_cpp11 +/home/json/build/tests/Development/test-unicode3_cpp11 +/home/json/build/tests/Development/test-unicode3_cpp11 +home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/Release/test-unicode3_cpp11 +home/json/build/tests/Release/test-unicode3_cpp11 +home/json/build/tests/Debug/test-unicode3_cpp11 +home/json/build/tests/Debug/test-unicode3_cpp11 +home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +Unable to find executable: /home/json/build/tests/test-unicode3_cpp11 +home/json/build/tests/MinSizeRel/test-unicode3_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode3_cpp11 +home/json/build/tests/Deployment/test-unicode3_cpp11 +home/json/build/tests/Deployment/test-unicode3_cpp11 +home/json/build/tests/Development/test-unicode3_cpp11 +home/json/build/tests/Development/test-unicode3_cpp11 +67/88 Test #67: test-unicode3_cpp11 ..........................***Not Run 0.00 sec + Start 68: test-unicode4_cpp11 +Could not find executable /home/json/build/tests/test-unicode4_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode4_cpp11 +/home/json/build/tests/test-unicode4_cpp11 +/home/json/build/tests/Release/test-unicode4_cpp11 +/home/json/build/tests/Release/test-unicode4_cpp11 +/home/json/build/tests/Debug/test-unicode4_cpp11 +/home/json/build/tests/Debug/test-unicode4_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +/home/json/build/tests/Deployment/test-unicode4_cpp11 +/home/json/build/tests/Deployment/test-unicode4_cpp11 +/home/json/build/tests/Development/test-unicode4_cpp11 +/home/json/build/tests/Development/test-unicode4_cpp11 +home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/test-unicode4_cpp11 +home/json/build/tests/Release/test-unicode4_cpp11 +home/json/build/tests/Release/test-unicode4_cpp11 +home/json/build/tests/Debug/test-unicode4_cpp11 +home/json/build/tests/Debug/test-unicode4_cpp11 +home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +home/json/build/tests/MinSizeRel/test-unicode4_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode4_cpp11 +home/json/build/tests/Deployment/test-unicode4_cpp11 +home/json/build/tests/Development/test-unicode4_cpp11 +home/json/build/tests/Development/test-unicode4_cpp11 +68/88 Test #68: test-unicode4_cpp11 ..........................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-unicode4_cpp11 + Start 69: test-unicode5_cpp11 +Could not find executable /home/json/build/tests/test-unicode5_cpp11 +Looked in the following places: +/home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/test-unicode5_cpp11 +/home/json/build/tests/Release/test-unicode5_cpp11 +/home/json/build/tests/Release/test-unicode5_cpp11 +/home/json/build/tests/Debug/test-unicode5_cpp11 +/home/json/build/tests/Debug/test-unicode5_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +/home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +/home/json/build/tests/Deployment/test-unicode5_cpp11 +/home/json/build/tests/Deployment/test-unicode5_cpp11 +/home/json/build/tests/Development/test-unicode5_cpp11 +/home/json/build/tests/Development/test-unicode5_cpp11 +home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/test-unicode5_cpp11 +home/json/build/tests/Release/test-unicode5_cpp11 +home/json/build/tests/Release/test-unicode5_cpp11 +home/json/build/tests/Debug/test-unicode5_cpp11 +home/json/build/tests/Debug/test-unicode5_cpp11 +home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +home/json/build/tests/MinSizeRel/test-unicode5_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/tests/RelWithDebInfo/test-unicode5_cpp11 +home/json/build/tests/Deployment/test-unicode5_cpp11 +home/json/build/tests/Deployment/test-unicode5_cpp11 +home/json/build/tests/Development/test-unicode5_cpp11 +home/json/build/tests/Development/test-unicode5_cpp11 +69/88 Test #69: test-unicode5_cpp11 ..........................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-unicode5_cpp11 + Start 70: test-user_defined_input_cpp11 +Could not find executable /home/json/build/tests/test-user_defined_input_cpp11 +Looked in the following places: +/home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/Release/test-user_defined_input_cpp11 +/home/json/build/tests/Release/test-user_defined_input_cpp11 +/home/json/build/tests/Debug/test-user_defined_input_cpp11 +/home/json/build/tests/Debug/test-user_defined_input_cpp11 +/home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +/home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +/home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +Unable to find executable: /home/json/build/tests/test-user_defined_input_cpp11 +/home/json/build/tests/Deployment/test-user_defined_input_cpp11 +/home/json/build/tests/Deployment/test-user_defined_input_cpp11 +/home/json/build/tests/Development/test-user_defined_input_cpp11 +/home/json/build/tests/Development/test-user_defined_input_cpp11 +home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/test-user_defined_input_cpp11 +home/json/build/tests/Release/test-user_defined_input_cpp11 +home/json/build/tests/Release/test-user_defined_input_cpp11 +home/json/build/tests/Debug/test-user_defined_input_cpp11 +home/json/build/tests/Debug/test-user_defined_input_cpp11 +home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/tests/MinSizeRel/test-user_defined_input_cpp11 +home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/tests/RelWithDebInfo/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-user_defined_input_cpp11 +home/json/build/tests/Deployment/test-user_defined_input_cpp11 +home/json/build/tests/Development/test-user_defined_input_cpp11 +home/json/build/tests/Development/test-user_defined_input_cpp11 +70/88 Test #70: test-user_defined_input_cpp11 ................***Not Run 0.00 sec + Start 71: test-windows_h_cpp11 +Could not find executable /home/json/build/tests/test-windows_h_cpp11 +Looked in the following places: +/home/json/build/tests/test-windows_h_cpp11 +/home/json/build/tests/test-windows_h_cpp11 +/home/json/build/tests/Release/test-windows_h_cpp11 +/home/json/build/tests/Release/test-windows_h_cpp11 +/home/json/build/tests/Debug/test-windows_h_cpp11 +/home/json/build/tests/Debug/test-windows_h_cpp11 +/home/json/build/tests/MinSizeRel/test-windows_h_cpp11 +/home/json/build/tests/MinSizeRel/test-windows_h_cpp11 +Unable to find executable: /home/json/build/tests/test-windows_h_cpp11 +/home/json/build/tests/RelWithDebInfo/test-windows_h_cpp11 +/home/json/build/tests/RelWithDebInfo/test-windows_h_cpp11 +/home/json/build/tests/Deployment/test-windows_h_cpp11 +/home/json/build/tests/Deployment/test-windows_h_cpp11 +/home/json/build/tests/Development/test-windows_h_cpp11 +/home/json/build/tests/Development/test-windows_h_cpp11 +home/json/build/tests/test-windows_h_cpp11 +home/json/build/tests/test-windows_h_cpp11 +home/json/build/tests/Release/test-windows_h_cpp11 +home/json/build/tests/Release/test-windows_h_cpp11 +home/json/build/tests/Debug/test-windows_h_cpp11 +home/json/build/tests/Debug/test-windows_h_cpp11 +home/json/build/tests/MinSizeRel/test-windows_h_cpp11 +home/json/build/tests/MinSizeRel/test-windows_h_cpp11 +home/json/build/tests/RelWithDebInfo/test-windows_h_cpp11 +home/json/build/tests/RelWithDebInfo/test-windows_h_cpp11 +home/json/build/tests/Deployment/test-windows_h_cpp11 +home/json/build/tests/Deployment/test-windows_h_cpp11 +home/json/build/tests/Development/test-windows_h_cpp11 +home/json/build/tests/Development/test-windows_h_cpp11 +71/88 Test #71: test-windows_h_cpp11 .........................***Not Run 0.00 sec + Start 72: test-wstring_cpp11 +Could not find executable /home/json/build/tests/test-wstring_cpp11 +Looked in the following places: +/home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/Release/test-wstring_cpp11 +/home/json/build/tests/Release/test-wstring_cpp11 +/home/json/build/tests/Debug/test-wstring_cpp11 +/home/json/build/tests/Debug/test-wstring_cpp11 +/home/json/build/tests/MinSizeRel/test-wstring_cpp11 +/home/json/build/tests/MinSizeRel/test-wstring_cpp11 +/home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +/home/json/build/tests/Deployment/test-wstring_cpp11 +/home/json/build/tests/Deployment/test-wstring_cpp11 +/home/json/build/tests/Development/test-wstring_cpp11 +Unable to find executable: /home/json/build/tests/test-wstring_cpp11 +/home/json/build/tests/Development/test-wstring_cpp11 +home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/test-wstring_cpp11 +home/json/build/tests/Release/test-wstring_cpp11 +home/json/build/tests/Release/test-wstring_cpp11 +home/json/build/tests/Debug/test-wstring_cpp11 +home/json/build/tests/Debug/test-wstring_cpp11 +home/json/build/tests/MinSizeRel/test-wstring_cpp11 +home/json/build/tests/MinSizeRel/test-wstring_cpp11 +home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +home/json/build/tests/RelWithDebInfo/test-wstring_cpp11 +home/json/build/tests/Deployment/test-wstring_cpp11 +home/json/build/tests/Deployment/test-wstring_cpp11 +home/json/build/tests/Development/test-wstring_cpp11 +home/json/build/tests/Development/test-wstring_cpp11 +72/88 Test #72: test-wstring_cpp11 ...........................***Not Run 0.00 sec + Start 73: test-comparison_legacy_cpp11 +Could not find executable /home/json/build/tests/test-comparison_legacy_cpp11 +Looked in the following places: +/home/json/build/tests/test-comparison_legacy_cpp11 +/home/json/build/tests/test-comparison_legacy_cpp11 +/home/json/build/tests/Release/test-comparison_legacy_cpp11 +/home/json/build/tests/Release/test-comparison_legacy_cpp11 +/home/json/build/tests/Debug/test-comparison_legacy_cpp11 +/home/json/build/tests/Debug/test-comparison_legacy_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +/home/json/build/tests/Development/test-comparison_legacy_cpp11 +/home/json/build/tests/Development/test-comparison_legacy_cpp11 +home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/Release/test-comparison_legacy_cpp11 +home/json/build/tests/Release/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-comparison_legacy_cpp11 +home/json/build/tests/Debug/test-comparison_legacy_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp11 +Unable to find executable: /home/json/build/tests/test-comparison_legacy_cpp11 +home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +home/json/build/tests/Deployment/test-comparison_legacy_cpp11 +home/json/build/tests/Development/test-comparison_legacy_cpp11 +home/json/build/tests/Development/test-comparison_legacy_cpp11 +73/88 Test #73: test-comparison_legacy_cpp11 .................***Not Run 0.00 sec + Start 74: test-comparison_legacy_cpp20 +Could not find executable /home/json/build/tests/test-comparison_legacy_cpp20 +Looked in the following places: +/home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/test-comparison_legacy_cpp20 +/home/json/build/tests/Release/test-comparison_legacy_cpp20 +/home/json/build/tests/Release/test-comparison_legacy_cpp20 +/home/json/build/tests/Debug/test-comparison_legacy_cpp20 +/home/json/build/tests/Debug/test-comparison_legacy_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +/home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +/home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +/home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +/home/json/build/tests/Development/test-comparison_legacy_cpp20 +/home/json/build/tests/Development/test-comparison_legacy_cpp20 +home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/test-comparison_legacy_cpp20 +home/json/build/tests/Release/test-comparison_legacy_cpp20 +home/json/build/tests/Release/test-comparison_legacy_cpp20 +home/json/build/tests/Debug/test-comparison_legacy_cpp20 +home/json/build/tests/Debug/test-comparison_legacy_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +home/json/build/tests/MinSizeRel/test-comparison_legacy_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +home/json/build/tests/RelWithDebInfo/test-comparison_legacy_cpp20 +home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +home/json/build/tests/Deployment/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-comparison_legacy_cpp20 +home/json/build/tests/Development/test-comparison_legacy_cpp20 +74/88 Test #74: test-comparison_legacy_cpp20 .................***Not Run 0.00 sec +Unable to find executable: /home/json/build/tests/test-comparison_legacy_cpp20 + Start 75: test-abi_compat_diag +Could not find executable /home/json/build/tests/abi/diag/abi_compat_diag +Looked in the following places: +/home/json/build/tests/abi/diag/abi_compat_diag +/home/json/build/tests/abi/diag/abi_compat_diag +/home/json/build/tests/abi/diag/Release/abi_compat_diag +/home/json/build/tests/abi/diag/Release/abi_compat_diag +/home/json/build/tests/abi/diag/Debug/abi_compat_diag +/home/json/build/tests/abi/diag/Debug/abi_compat_diag +/home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +/home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +/home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +/home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +/home/json/build/tests/abi/diag/Deployment/abi_compat_diag +/home/json/build/tests/abi/diag/Deployment/abi_compat_diag +/home/json/build/tests/abi/diag/Development/abi_compat_diag +/home/json/build/tests/abi/diag/Development/abi_compat_diag +home/json/build/tests/abi/diag/abi_compat_diag +home/json/build/tests/abi/diag/abi_compat_diag +home/json/build/tests/abi/diag/Release/abi_compat_diag +home/json/build/tests/abi/diag/Release/abi_compat_diag +home/json/build/tests/abi/diag/Debug/abi_compat_diag +home/json/build/tests/abi/diag/Debug/abi_compat_diag +home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +home/json/build/tests/abi/diag/MinSizeRel/abi_compat_diag +home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +home/json/build/tests/abi/diag/RelWithDebInfo/abi_compat_diag +home/json/build/tests/abi/diag/Deployment/abi_compat_diag +home/json/build/tests/abi/diag/Deployment/abi_compat_diag +home/json/build/tests/abi/diag/Development/abi_compat_diag +home/json/build/tests/abi/diag/Development/abi_compat_diag +Unable to find executable: /home/json/build/tests/abi/diag/abi_compat_diag +75/88 Test #75: test-abi_compat_diag .........................***Not Run 0.00 sec + Start 76: test-abi_compat_inline_ns +Could not find executable /home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +Looked in the following places: +/home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +/home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Release/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Debug/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/MinSizeRel/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/RelWithDebInfo/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Deployment/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +home/json/build/tests/abi/inline_ns/Development/abi_compat_inline_ns +Unable to find executable: /home/json/build/tests/abi/inline_ns/abi_compat_inline_ns +76/88 Test #76: test-abi_compat_inline_ns ....................***Not Run 0.00 sec + Start 77: cmake_import_configure +77/88 Test #77: cmake_import_configure ....................... Passed 0.23 sec + Start 78: cmake_import_build +78/88 Test #78: cmake_import_build ........................... Passed 2.99 sec + Start 79: cmake_import_minver_configure +79/88 Test #79: cmake_import_minver_configure ................ Passed 0.21 sec + Start 80: cmake_import_minver_build +80/88 Test #80: cmake_import_minver_build .................... Passed 1.51 sec + Start 81: cmake_add_subdirectory_configure +81/88 Test #81: cmake_add_subdirectory_configure ............. Passed 0.22 sec + Start 82: cmake_add_subdirectory_build +82/88 Test #82: cmake_add_subdirectory_build ................. Passed 4.43 sec + Start 83: cmake_fetch_content_configure +83/88 Test #83: cmake_fetch_content_configure ................ Passed 0.98 sec + Start 84: cmake_fetch_content_build +84/88 Test #84: cmake_fetch_content_build .................... Passed 3.01 sec + Start 85: cmake_fetch_content2_configure +85/88 Test #85: cmake_fetch_content2_configure ............... Passed 0.73 sec + Start 86: cmake_fetch_content2_build +86/88 Test #86: cmake_fetch_content2_build ................... Passed 2.98 sec + Start 87: cmake_target_include_directories_configure +87/88 Test #87: cmake_target_include_directories_configure ... Passed 0.22 sec + Start 88: cmake_target_include_directories_build +88/88 Test #88: cmake_target_include_directories_build ....... Passed 5.31 sec + +44% tests passed, 49 tests failed out of 88 + +Label Time Summary: +all = 75.00 sec*proc (73 tests) +git_required = 7.70 sec*proc (4 tests) +not_reproducible = 22.84 sec*proc (12 tests) + +Total Test time (real) = 97.95 sec + +The following tests FAILED: + 28 - test-element_access2_cpp11 (Not Run) + 29 - test-element_access2_cpp14 (Not Run) + 30 - test-element_access2_cpp17 (Not Run) + 31 - test-hash_cpp11 (Not Run) + 32 - test-inspection_cpp11 (Not Run) + 33 - test-items_cpp11 (Not Run) + 34 - test-items_cpp17 (Not Run) + 35 - test-iterators1_cpp11 (Not Run) + 36 - test-iterators2_cpp11 (Not Run) + 37 - test-iterators2_cpp20 (Not Run) + 38 - test-json_patch_cpp11 (Not Run) + 39 - test-json_pointer_cpp11 (Not Run) + 40 - test-json_pointer_cpp20 (Not Run) + 41 - test-large_json_cpp11 (Not Run) + 42 - test-merge_patch_cpp11 (Not Run) + 43 - test-meta_cpp11 (Not Run) + 44 - test-modifiers_cpp11 (Not Run) + 45 - test-msgpack_cpp11 (Not Run) + 46 - test-noexcept_cpp11 (Not Run) + 47 - test-ordered_json_cpp11 (Not Run) + 48 - test-ordered_map_cpp11 (Not Run) + 49 - test-pointer_access_cpp11 (Not Run) + 50 - test-readme_cpp11 (Not Run) + 51 - test-reference_access_cpp11 (Not Run) + 52 - test-regression1_cpp11 (Not Run) + 53 - test-regression1_cpp17 (Not Run) + 54 - test-regression2_cpp11 (Not Run) + 55 - test-regression2_cpp17 (Not Run) + 56 - test-regression2_cpp20 (Not Run) + 57 - test-serialization_cpp11 (Not Run) + 58 - test-testsuites_cpp11 (Not Run) + 59 - test-to_chars_cpp11 (Not Run) + 60 - test-type_traits_cpp11 (Not Run) + 61 - test-ubjson_cpp11 (Not Run) + 62 - test-udl_cpp11 (Not Run) + 63 - test-udt_cpp11 (Not Run) + 64 - test-udt_macro_cpp11 (Not Run) + 65 - test-unicode1_cpp11 (Not Run) + 66 - test-unicode2_cpp11 (Not Run) + 67 - test-unicode3_cpp11 (Not Run) + 68 - test-unicode4_cpp11 (Not Run) + 69 - test-unicode5_cpp11 (Not Run) + 70 - test-user_defined_input_cpp11 (Not Run) + 71 - test-windows_h_cpp11 (Not Run) + 72 - test-wstring_cpp11 (Not Run) + 73 - test-comparison_legacy_cpp11 (Not Run) + 74 - test-comparison_legacy_cpp20 (Not Run) + 75 - test-abi_compat_diag (Not Run) + 76 - test-abi_compat_inline_ns (Not Run) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/fix.patch new file mode 100644 index 000000000..bc05c16dc --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/fix.patch @@ -0,0 +1,48 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 49188b31..f9c9b4b6 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -2302,7 +2302,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + template < class ValueType, class BasicJsonType, detail::enable_if_t < +- detail::is_getable::value, int> = 0 > ++ detail::is_getable::value ++ && detail::is_basic_json::value, int> = 0 > + JSON_HEDLEY_DEPRECATED_FOR(3.11.0, basic_json::json_pointer or nlohmann::json_pointer) // NOLINT(readability/alt_tokens) + ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + { +@@ -2318,7 +2319,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + return value(ptr, string_t(default_value)); + } + +- template ++ template::value, int> = 0> + JSON_HEDLEY_DEPRECATED_FOR(3.11.0, basic_json::json_pointer or nlohmann::json_pointer) // NOLINT(readability/alt_tokens) + JSON_HEDLEY_NON_NULL(3) + string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index beee0136..64b0d167 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -21376,7 +21376,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + template < class ValueType, class BasicJsonType, detail::enable_if_t < +- detail::is_getable::value, int> = 0 > ++ detail::is_getable::value ++ && detail::is_basic_json::value, int> = 0 > + JSON_HEDLEY_DEPRECATED_FOR(3.11.0, basic_json::json_pointer or nlohmann::json_pointer) // NOLINT(readability/alt_tokens) + ValueType value(const ::nlohmann::json_pointer& ptr, const ValueType& default_value) const + { +@@ -21392,7 +21393,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + return value(ptr, string_t(default_value)); + } + +- template ++ template::value, int> = 0> + JSON_HEDLEY_DEPRECATED_FOR(3.11.0, basic_json::json_pointer or nlohmann::json_pointer) // NOLINT(readability/alt_tokens) + JSON_HEDLEY_NON_NULL(3) + string_t value(const typename ::nlohmann::json_pointer& ptr, const char* default_value) const diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/report.json new file mode 100644 index 000000000..2619b60a4 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3663/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3663, "valid": true, "error_msg": "", "fixed_tests": {"test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 86, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 39, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-convenience_cpp11", "cmake_target_include_directories_build", "cmake_fetch_content2_configure", "test-bjdata_cpp11", "cmake_target_include_directories_configure", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "cmake_fetch_content2_build", "test-conversions_cpp17", "cmake_import_build", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-class_parser_cpp11", "test-cbor_cpp11", "test-assert_macro_cpp11", "test-algorithms_cpp11", "cmake_add_subdirectory_configure", "test-byte_container_with_subtype_cpp11", "test-binary_formats_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-constructor2_cpp11", "test-concepts_cpp11", "test-diagnostics_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "test-class_iterator_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "test-conversions_cpp11", "cmake_fetch_content_build", "cmake_import_minver_build", "cmake_fetch_content_configure", "test-class_const_iterator_cpp11", "cmake_add_subdirectory_build", "download_test_data"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/fix-patch-run.log new file mode 100644 index 000000000..9f7f5f8d7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/fix-patch-run.log @@ -0,0 +1,682 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6740 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.4 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.9 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5973 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.GclV8dRz +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.GclV8dRz/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.GclV8dRz/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.GclV8dRz/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.GclV8dRz/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.GclV8dRz/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.GclV8dRz +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=33a8b3bca159 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.7JbrTgsuHo/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=12.4.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-json_pointer.cpp +patching file include/nlohmann/detail/json_pointer.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 12.4.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 33a8b3bca159 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 12.4.0; Copyright (C) 2022 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 2%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 3%] Linking CXX executable test-algorithms_cpp11 +[ 3%] Built target test-algorithms_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 4%] Linking CXX executable test-allocator_cpp11 +[ 4%] Built target test-allocator_cpp11 +[ 4%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 5%] Linking CXX executable test-alt-string_cpp11 +[ 5%] Built target test-alt-string_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 6%] Linking CXX executable test-assert_macro_cpp11 +[ 6%] Built target test-assert_macro_cpp11 +[ 7%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 8%] Linking CXX executable test-binary_formats_cpp11 +[ 8%] Built target test-binary_formats_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 9%] Linking CXX executable test-bjdata_cpp11 +[ 9%] Built target test-bjdata_cpp11 +[ 10%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 10%] Linking CXX executable test-bson_cpp11 +[ 10%] Built target test-bson_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 12%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 12%] Built target test-byte_container_with_subtype_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 13%] Linking CXX executable test-capacity_cpp11 +[ 13%] Built target test-capacity_cpp11 +[ 14%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 14%] Linking CXX executable test-cbor_cpp11 +[ 14%] Built target test-cbor_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 15%] Linking CXX executable test-class_const_iterator_cpp11 +[ 15%] Built target test-class_const_iterator_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 17%] Linking CXX executable test-class_iterator_cpp11 +[ 17%] Built target test-class_iterator_cpp11 +[ 17%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 18%] Linking CXX executable test-class_lexer_cpp11 +[ 18%] Built target test-class_lexer_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 19%] Linking CXX executable test-class_parser_cpp11 +[ 19%] Built target test-class_parser_cpp11 +[ 20%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 21%] Linking CXX executable test-comparison_cpp11 +[ 21%] Built target test-comparison_cpp11 +[ 21%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 22%] Linking CXX executable test-comparison_cpp20 +[ 22%] Built target test-comparison_cpp20 +[ 23%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 24%] Linking CXX executable test-concepts_cpp11 +[ 24%] Built target test-concepts_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 25%] Linking CXX executable test-constructor1_cpp11 +[ 25%] Built target test-constructor1_cpp11 +[ 26%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 26%] Linking CXX executable test-constructor2_cpp11 +[ 26%] Built target test-constructor2_cpp11 +[ 27%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 28%] Linking CXX executable test-convenience_cpp11 +[ 28%] Built target test-convenience_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 29%] Linking CXX executable test-conversions_cpp11 +[ 29%] Built target test-conversions_cpp11 +[ 30%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 30%] Linking CXX executable test-conversions_cpp17 +[ 30%] Built target test-conversions_cpp17 +[ 31%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 32%] Linking CXX executable test-deserialization_cpp11 +[ 32%] Built target test-deserialization_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 33%] Linking CXX executable test-diagnostics_cpp11 +[ 33%] Built target test-diagnostics_cpp11 +[ 33%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 34%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 34%] Built target test-disabled_exceptions_cpp11 +[ 35%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 35%] Linking CXX executable test-element_access1_cpp11 +[ 35%] Built target test-element_access1_cpp11 +[ 36%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 37%] Linking CXX executable test-element_access2_cpp11 +[ 37%] Built target test-element_access2_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 38%] Linking CXX executable test-element_access2_cpp17 +[ 38%] Built target test-element_access2_cpp17 +[ 39%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 39%] Linking CXX executable test-hash_cpp11 +[ 39%] Built target test-hash_cpp11 +[ 40%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 41%] Linking CXX executable test-inspection_cpp11 +[ 41%] Built target test-inspection_cpp11 +[ 41%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 42%] Linking CXX executable test-items_cpp11 +[ 42%] Built target test-items_cpp11 +[ 42%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 43%] Linking CXX executable test-items_cpp17 +[ 43%] Built target test-items_cpp17 +[ 44%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 44%] Linking CXX executable test-iterators1_cpp11 +[ 44%] Built target test-iterators1_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 46%] Linking CXX executable test-iterators2_cpp11 +[ 46%] Built target test-iterators2_cpp11 +[ 46%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 47%] Linking CXX executable test-iterators2_cpp20 +[ 47%] Built target test-iterators2_cpp20 +[ 48%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 48%] Linking CXX executable test-json_patch_cpp11 +[ 48%] Built target test-json_patch_cpp11 +[ 49%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 50%] Linking CXX executable test-json_pointer_cpp11 +[ 50%] Built target test-json_pointer_cpp11 +[ 50%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp20.dir/src/unit-json_pointer.cpp.o +[ 51%] Linking CXX executable test-json_pointer_cpp20 +[ 51%] Built target test-json_pointer_cpp20 +[ 52%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 52%] Linking CXX executable test-large_json_cpp11 +[ 52%] Built target test-large_json_cpp11 +[ 53%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 53%] Linking CXX executable test-merge_patch_cpp11 +[ 53%] Built target test-merge_patch_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 55%] Linking CXX executable test-meta_cpp11 +[ 55%] Built target test-meta_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 56%] Linking CXX executable test-modifiers_cpp11 +[ 56%] Built target test-modifiers_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 57%] Linking CXX executable test-msgpack_cpp11 +[ 57%] Built target test-msgpack_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 59%] Linking CXX executable test-noexcept_cpp11 +[ 59%] Built target test-noexcept_cpp11 +[ 59%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 60%] Linking CXX executable test-ordered_json_cpp11 +[ 60%] Built target test-ordered_json_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 61%] Linking CXX executable test-ordered_map_cpp11 +[ 61%] Built target test-ordered_map_cpp11 +[ 62%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 62%] Linking CXX executable test-pointer_access_cpp11 +[ 62%] Built target test-pointer_access_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 64%] Linking CXX executable test-readme_cpp11 +[ 64%] Built target test-readme_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 65%] Linking CXX executable test-reference_access_cpp11 +[ 65%] Built target test-reference_access_cpp11 +[ 66%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 66%] Linking CXX executable test-regression1_cpp11 +[ 66%] Built target test-regression1_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 68%] Linking CXX executable test-regression1_cpp17 +[ 68%] Built target test-regression1_cpp17 +[ 68%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 69%] Linking CXX executable test-regression2_cpp11 +[ 69%] Built target test-regression2_cpp11 +[ 70%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 70%] Linking CXX executable test-regression2_cpp17 +[ 70%] Built target test-regression2_cpp17 +[ 71%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 72%] Linking CXX executable test-regression2_cpp20 +[ 72%] Built target test-regression2_cpp20 +[ 72%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 73%] Linking CXX executable test-serialization_cpp11 +[ 73%] Built target test-serialization_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 74%] Linking CXX executable test-testsuites_cpp11 +[ 74%] Built target test-testsuites_cpp11 +[ 75%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 75%] Linking CXX executable test-to_chars_cpp11 +[ 75%] Built target test-to_chars_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 77%] Linking CXX executable test-ubjson_cpp11 +[ 77%] Built target test-ubjson_cpp11 +[ 77%] Building CXX object tests/CMakeFiles/test-udl_cpp11.dir/src/unit-udl.cpp.o +[ 78%] Linking CXX executable test-udl_cpp11 +[ 78%] Built target test-udl_cpp11 +[ 79%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 79%] Linking CXX executable test-udt_cpp11 +[ 79%] Built target test-udt_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 81%] Linking CXX executable test-udt_macro_cpp11 +[ 81%] Built target test-udt_macro_cpp11 +[ 81%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 82%] Linking CXX executable test-unicode1_cpp11 +[ 82%] Built target test-unicode1_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 83%] Linking CXX executable test-unicode2_cpp11 +[ 83%] Built target test-unicode2_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 84%] Linking CXX executable test-unicode3_cpp11 +[ 84%] Built target test-unicode3_cpp11 +[ 85%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 86%] Linking CXX executable test-unicode4_cpp11 +[ 86%] Built target test-unicode4_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 87%] Linking CXX executable test-unicode5_cpp11 +[ 87%] Built target test-unicode5_cpp11 +[ 88%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 88%] Linking CXX executable test-user_defined_input_cpp11 +[ 88%] Built target test-user_defined_input_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-windows_h_cpp11.dir/src/unit-windows_h.cpp.o +[ 90%] Linking CXX executable test-windows_h_cpp11 +[ 90%] Built target test-windows_h_cpp11 +[ 90%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 91%] Linking CXX executable test-wstring_cpp11 +[ 91%] Built target test-wstring_cpp11 +[ 92%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 92%] Linking CXX executable test-comparison_legacy_cpp11 +[ 92%] Built target test-comparison_legacy_cpp11 +[ 93%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[ 93%] Linking CXX executable test-comparison_legacy_cpp20 +[ 93%] Built target test-comparison_legacy_cpp20 +[ 94%] Building CXX object tests/abi/CMakeFiles/abi_compat_main.dir/main.cpp.o +[ 95%] Linking CXX static library libabi_compat_main.a +[ 95%] Built target abi_compat_main +[ 96%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/diag_on.cpp.o +[ 96%] Linking CXX static library libabi_compat_diag_on.a +[ 96%] Built target abi_compat_diag_on +[ 96%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_off.dir/diag_off.cpp.o +[ 97%] Linking CXX static library libabi_compat_diag_off.a +[ 97%] Built target abi_compat_diag_off +[ 97%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag.dir/diag.cpp.o +[ 98%] Linking CXX executable abi_compat_diag +[ 98%] Built target abi_compat_diag +[ 99%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_v3_10_5.cpp.o +[100%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_current.cpp.o +[100%] Linking CXX executable abi_compat_inline_ns +[100%] Built target abi_compat_inline_ns +Test project /home/json/build + Start 1: download_test_data + 1/86 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/86 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/86 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/86 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/86 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/86 Test #6: test-binary_formats_cpp11 .................... Passed 23.18 sec + Start 7: test-bjdata_cpp11 + 7/86 Test #7: test-bjdata_cpp11 ............................ Passed 10.36 sec + Start 8: test-bson_cpp11 + 8/86 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/86 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/86 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/86 Test #11: test-cbor_cpp11 .............................. Passed 40.84 sec + Start 12: test-class_const_iterator_cpp11 +12/86 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/86 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/86 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/86 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/86 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/86 Test #17: test-comparison_cpp20 ........................ Passed 0.01 sec + Start 18: test-concepts_cpp11 +18/86 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/86 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/86 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/86 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/86 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp17 +23/86 Test #23: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 24: test-deserialization_cpp11 +24/86 Test #24: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 25: test-diagnostics_cpp11 +25/86 Test #25: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 26: test-disabled_exceptions_cpp11 +26/86 Test #26: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 27: test-element_access1_cpp11 +27/86 Test #27: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 28: test-element_access2_cpp11 +28/86 Test #28: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 29: test-element_access2_cpp17 +29/86 Test #29: test-element_access2_cpp17 ................... Passed 0.02 sec + Start 30: test-hash_cpp11 +30/86 Test #30: test-hash_cpp11 .............................. Passed 0.00 sec + Start 31: test-inspection_cpp11 +31/86 Test #31: test-inspection_cpp11 ........................ Passed 5.39 sec + Start 32: test-items_cpp11 +32/86 Test #32: test-items_cpp11 ............................. Passed 0.00 sec + Start 33: test-items_cpp17 +33/86 Test #33: test-items_cpp17 ............................. Passed 0.00 sec + Start 34: test-iterators1_cpp11 +34/86 Test #34: test-iterators1_cpp11 ........................ Passed 0.01 sec + Start 35: test-iterators2_cpp11 +35/86 Test #35: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 36: test-iterators2_cpp20 +36/86 Test #36: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 37: test-json_patch_cpp11 +37/86 Test #37: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 38: test-json_pointer_cpp11 +38/86 Test #38: test-json_pointer_cpp11 ......................***Failed 0.00 sec + Start 39: test-json_pointer_cpp20 +39/86 Test #39: test-json_pointer_cpp20 ......................***Failed 0.00 sec + Start 40: test-large_json_cpp11 +40/86 Test #40: test-large_json_cpp11 ........................ Passed 5.33 sec + Start 41: test-merge_patch_cpp11 +41/86 Test #41: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 42: test-meta_cpp11 +42/86 Test #42: test-meta_cpp11 .............................. Passed 0.00 sec + Start 43: test-modifiers_cpp11 +43/86 Test #43: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 44: test-msgpack_cpp11 +44/86 Test #44: test-msgpack_cpp11 ........................... Passed 41.04 sec + Start 45: test-noexcept_cpp11 +45/86 Test #45: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 46: test-ordered_json_cpp11 +46/86 Test #46: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 47: test-ordered_map_cpp11 +47/86 Test #47: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 48: test-pointer_access_cpp11 +48/86 Test #48: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 49: test-readme_cpp11 +49/86 Test #49: test-readme_cpp11 ............................ Passed 0.00 sec + Start 50: test-reference_access_cpp11 +50/86 Test #50: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 51: test-regression1_cpp11 +51/86 Test #51: test-regression1_cpp11 ....................... Passed 6.28 sec + Start 52: test-regression1_cpp17 +52/86 Test #52: test-regression1_cpp17 ....................... Passed 7.67 sec + Start 53: test-regression2_cpp11 +53/86 Test #53: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 54: test-regression2_cpp17 +54/86 Test #54: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 55: test-regression2_cpp20 +55/86 Test #55: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 56: test-serialization_cpp11 +56/86 Test #56: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 57: test-testsuites_cpp11 +57/86 Test #57: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 58: test-to_chars_cpp11 +58/86 Test #58: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 59: test-ubjson_cpp11 +59/86 Test #59: test-ubjson_cpp11 ............................ Passed 13.46 sec + Start 60: test-udl_cpp11 +60/86 Test #60: test-udl_cpp11 ............................... Passed 0.00 sec + Start 61: test-udt_cpp11 +61/86 Test #61: test-udt_cpp11 ............................... Passed 0.00 sec + Start 62: test-udt_macro_cpp11 +62/86 Test #62: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 63: test-unicode1_cpp11 +63/86 Test #63: test-unicode1_cpp11 .......................... Passed 6.07 sec + Start 64: test-unicode2_cpp11 +64/86 Test #64: test-unicode2_cpp11 .......................... Passed 10.79 sec + Start 65: test-unicode3_cpp11 +65/86 Test #65: test-unicode3_cpp11 .......................... Passed 40.42 sec + Start 66: test-unicode4_cpp11 +66/86 Test #66: test-unicode4_cpp11 .......................... Passed 132.21 sec + Start 67: test-unicode5_cpp11 +67/86 Test #67: test-unicode5_cpp11 .......................... Passed 31.48 sec + Start 68: test-user_defined_input_cpp11 +68/86 Test #68: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 69: test-windows_h_cpp11 +69/86 Test #69: test-windows_h_cpp11 ......................... Passed 0.00 sec + Start 70: test-wstring_cpp11 +70/86 Test #70: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 71: test-comparison_legacy_cpp11 +71/86 Test #71: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 72: test-comparison_legacy_cpp20 +72/86 Test #72: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 73: test-abi_compat_diag +73/86 Test #73: test-abi_compat_diag ......................... Passed 0.00 sec + Start 74: test-abi_compat_inline_ns +74/86 Test #74: test-abi_compat_inline_ns .................... Passed 0.00 sec + Start 75: cmake_import_configure +75/86 Test #75: cmake_import_configure ....................... Passed 0.20 sec + Start 76: cmake_import_build +76/86 Test #76: cmake_import_build ........................... Passed 2.89 sec + Start 77: cmake_import_minver_configure +77/86 Test #77: cmake_import_minver_configure ................ Passed 0.20 sec + Start 78: cmake_import_minver_build +78/86 Test #78: cmake_import_minver_build .................... Passed 1.47 sec + Start 79: cmake_add_subdirectory_configure +79/86 Test #79: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 80: cmake_add_subdirectory_build +80/86 Test #80: cmake_add_subdirectory_build ................. Passed 4.35 sec + Start 81: cmake_fetch_content_configure +81/86 Test #81: cmake_fetch_content_configure ................ Passed 0.98 sec + Start 82: cmake_fetch_content_build +82/86 Test #82: cmake_fetch_content_build .................... Passed 2.87 sec + Start 83: cmake_fetch_content2_configure +83/86 Test #83: cmake_fetch_content2_configure ............... Passed 0.67 sec + Start 84: cmake_fetch_content2_build +84/86 Test #84: cmake_fetch_content2_build ................... Passed 2.97 sec + Start 85: cmake_target_include_directories_configure +85/86 Test #85: cmake_target_include_directories_configure ... Passed 0.20 sec + Start 86: cmake_target_include_directories_build +86/86 Test #86: cmake_target_include_directories_build ....... Passed 5.05 sec + +98% tests passed, 2 tests failed out of 86 + +Label Time Summary: +all = 374.90 sec*proc (71 tests) +git_required = 7.50 sec*proc (4 tests) +not_reproducible = 22.08 sec*proc (12 tests) + +Total Test time (real) = 397.09 sec + +The following tests FAILED: + 38 - test-json_pointer_cpp11 (Failed) + 39 - test-json_pointer_cpp20 (Failed) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/fix.patch new file mode 100644 index 000000000..71bddd434 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/fix.patch @@ -0,0 +1,246 @@ +diff --git a/include/nlohmann/detail/json_pointer.hpp b/include/nlohmann/detail/json_pointer.hpp +index 5b763267..3cfbf187 100644 +--- a/include/nlohmann/detail/json_pointer.hpp ++++ b/include/nlohmann/detail/json_pointer.hpp +@@ -862,6 +862,38 @@ class json_pointer + friend bool operator==(json_pointer const& lhs, + json_pointer const& rhs) noexcept; + ++ /*! ++ @brief compares JSON pointer and string for equality ++ ++ @param[in] lhs JSON pointer to compare ++ @param[in] rhs string to compare ++ @return whether @a lhs is equal to @a rhs ++ ++ @complexity Linear in the length of the JSON pointer ++ ++ @exceptionsafety No-throw guarantee: this function never throws exceptions. ++ */ ++ template ++ // NOLINTNEXTLINE(readability-redundant-declaration) ++ friend bool operator==(json_pointer const& lhs, ++ const typename json_pointer::string_t& rhs) noexcept; ++ ++ /*! ++ @brief compares string and JSON pointer for equality ++ ++ @param[in] lhs string to compare ++ @param[in] rhs JSON pointer to compare ++ @return whether @a lhs is equal to @a rhs ++ ++ @complexity Linear in the length of the JSON pointer ++ ++ @exceptionsafety No-throw guarantee: this function never throws exceptions. ++ */ ++ template ++ // NOLINTNEXTLINE(readability-redundant-declaration) ++ friend bool operator==(const typename json_pointer::string_t& lhs, ++ json_pointer const& rhs) noexcept; ++ + /*! + @brief compares two JSON pointers for inequality + +@@ -878,6 +910,38 @@ class json_pointer + friend bool operator!=(json_pointer const& lhs, + json_pointer const& rhs) noexcept; + ++ /*! ++ @brief compares JSON pointer and string for inequality ++ ++ @param[in] lhs JSON pointer to compare ++ @param[in] rhs string to compare ++ @return whether @a lhs is not equal @a rhs ++ ++ @complexity Linear in the length of the JSON pointer ++ ++ @exceptionsafety No-throw guarantee: this function never throws exceptions. ++ */ ++ template ++ // NOLINTNEXTLINE(readability-redundant-declaration) ++ friend bool operator!=(json_pointer const& lhs, ++ const typename json_pointer::string_t& rhs) noexcept; ++ ++ /*! ++ @brief compares string and JSON pointer for inequality ++ ++ @param[in] lhs string to compare ++ @param[in] rhs JSON pointer to compare ++ @return whether @a lhs is not equal @a rhs ++ ++ @complexity Linear in the length of the JSON pointer ++ ++ @exceptionsafety No-throw guarantee: this function never throws exceptions. ++ */ ++ template ++ // NOLINTNEXTLINE(readability-redundant-declaration) ++ friend bool operator!=(const typename json_pointer::string_t& lhs, ++ json_pointer const& rhs) noexcept; ++ + /// the reference tokens + std::vector reference_tokens; + }; +@@ -890,6 +954,20 @@ inline bool operator==(json_pointer const& lhs, + return lhs.reference_tokens == rhs.reference_tokens; + } + ++template ++inline bool operator==(json_pointer const& lhs, ++ const typename json_pointer::string_t& rhs) noexcept ++{ ++ return lhs.to_string() == rhs; ++} ++ ++template ++inline bool operator==(const typename json_pointer::string_t& lhs, ++ json_pointer const& rhs) noexcept ++{ ++ return lhs == rhs.to_string(); ++} ++ + template + inline bool operator!=(json_pointer const& lhs, + json_pointer const& rhs) noexcept +@@ -897,4 +975,18 @@ inline bool operator!=(json_pointer const& lhs, + return !(lhs == rhs); + } + ++template ++inline bool operator!=(json_pointer const& lhs, ++ const typename json_pointer::string_t& rhs) noexcept ++{ ++ return !(lhs == rhs); ++} ++ ++template ++inline bool operator!=(const typename json_pointer::string_t& lhs, ++ json_pointer const& rhs) noexcept ++{ ++ return !(lhs == rhs); ++} ++ + NLOHMANN_JSON_NAMESPACE_END +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 4d86493e..0aae4b84 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -14464,6 +14464,38 @@ class json_pointer + friend bool operator==(json_pointer const& lhs, + json_pointer const& rhs) noexcept; + ++ /*! ++ @brief compares JSON pointer and string for equality ++ ++ @param[in] lhs JSON pointer to compare ++ @param[in] rhs string to compare ++ @return whether @a lhs is equal to @a rhs ++ ++ @complexity Linear in the length of the JSON pointer ++ ++ @exceptionsafety No-throw guarantee: this function never throws exceptions. ++ */ ++ template ++ // NOLINTNEXTLINE(readability-redundant-declaration) ++ friend bool operator==(json_pointer const& lhs, ++ const typename json_pointer::string_t& rhs) noexcept; ++ ++ /*! ++ @brief compares string and JSON pointer for equality ++ ++ @param[in] lhs string to compare ++ @param[in] rhs JSON pointer to compare ++ @return whether @a lhs is equal to @a rhs ++ ++ @complexity Linear in the length of the JSON pointer ++ ++ @exceptionsafety No-throw guarantee: this function never throws exceptions. ++ */ ++ template ++ // NOLINTNEXTLINE(readability-redundant-declaration) ++ friend bool operator==(const typename json_pointer::string_t& lhs, ++ json_pointer const& rhs) noexcept; ++ + /*! + @brief compares two JSON pointers for inequality + +@@ -14480,6 +14512,38 @@ class json_pointer + friend bool operator!=(json_pointer const& lhs, + json_pointer const& rhs) noexcept; + ++ /*! ++ @brief compares JSON pointer and string for inequality ++ ++ @param[in] lhs JSON pointer to compare ++ @param[in] rhs string to compare ++ @return whether @a lhs is not equal @a rhs ++ ++ @complexity Linear in the length of the JSON pointer ++ ++ @exceptionsafety No-throw guarantee: this function never throws exceptions. ++ */ ++ template ++ // NOLINTNEXTLINE(readability-redundant-declaration) ++ friend bool operator!=(json_pointer const& lhs, ++ const typename json_pointer::string_t& rhs) noexcept; ++ ++ /*! ++ @brief compares string and JSON pointer for inequality ++ ++ @param[in] lhs string to compare ++ @param[in] rhs JSON pointer to compare ++ @return whether @a lhs is not equal @a rhs ++ ++ @complexity Linear in the length of the JSON pointer ++ ++ @exceptionsafety No-throw guarantee: this function never throws exceptions. ++ */ ++ template ++ // NOLINTNEXTLINE(readability-redundant-declaration) ++ friend bool operator!=(const typename json_pointer::string_t& lhs, ++ json_pointer const& rhs) noexcept; ++ + /// the reference tokens + std::vector reference_tokens; + }; +@@ -14492,6 +14556,20 @@ inline bool operator==(json_pointer const& lhs, + return lhs.reference_tokens == rhs.reference_tokens; + } + ++template ++inline bool operator==(json_pointer const& lhs, ++ const typename json_pointer::string_t& rhs) noexcept ++{ ++ return lhs.to_string() == rhs; ++} ++ ++template ++inline bool operator==(const typename json_pointer::string_t& lhs, ++ json_pointer const& rhs) noexcept ++{ ++ return lhs == rhs.to_string(); ++} ++ + template + inline bool operator!=(json_pointer const& lhs, + json_pointer const& rhs) noexcept +@@ -14499,6 +14577,20 @@ inline bool operator!=(json_pointer const& lhs, + return !(lhs == rhs); + } + ++template ++inline bool operator!=(json_pointer const& lhs, ++ const typename json_pointer::string_t& rhs) noexcept ++{ ++ return !(lhs == rhs); ++} ++ ++template ++inline bool operator!=(const typename json_pointer::string_t& lhs, ++ json_pointer const& rhs) noexcept ++{ ++ return !(lhs == rhs); ++} ++ + NLOHMANN_JSON_NAMESPACE_END + + // #include diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/report.json new file mode 100644 index 000000000..6ce9af7ae --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-3664/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 3664, "valid": true, "error_msg": "", "fixed_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_compat_diag": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-windows_h_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_compat_inline_ns": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udl_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_compat_diag": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-windows_h_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_compat_inline_ns": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udl_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 85, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 84, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-bjdata_cpp11", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/fix-patch-run.log new file mode 100644 index 000000000..7556406ee --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/fix-patch-run.log @@ -0,0 +1,737 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6661 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.3 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (18.3 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6764 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.7mnWkFml +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.7mnWkFml/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.7mnWkFml/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.7mnWkFml/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.7mnWkFml/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.7mnWkFml/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.7mnWkFml +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=16a5cdd59d3b +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.DljnbPeZ6F/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-iterators3.cpp +patching file include/nlohmann/detail/iterators/iter_impl.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 16a5cdd59d3b 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 14.2.0; Copyright (C) 2024 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 1%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms_cpp11 +[ 2%] Built target test-algorithms_cpp11 +[ 2%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 3%] Linking CXX executable test-allocator_cpp11 +[ 3%] Built target test-allocator_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 4%] Linking CXX executable test-alt-string_cpp11 +[ 4%] Built target test-alt-string_cpp11 +[ 4%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 5%] Linking CXX executable test-assert_macro_cpp11 +[ 5%] Built target test-assert_macro_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 6%] Linking CXX executable test-binary_formats_cpp11 +[ 6%] Built target test-binary_formats_cpp11 +[ 7%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 7%] Linking CXX executable test-bjdata_cpp11 +[ 7%] Built target test-bjdata_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 8%] Linking CXX executable test-bson_cpp11 +[ 8%] Built target test-bson_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 9%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 9%] Built target test-byte_container_with_subtype_cpp11 +[ 10%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 11%] Linking CXX executable test-capacity_cpp11 +[ 11%] Built target test-capacity_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 12%] Linking CXX executable test-cbor_cpp11 +[ 12%] Built target test-cbor_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 13%] Linking CXX executable test-class_const_iterator_cpp11 +[ 13%] Built target test-class_const_iterator_cpp11 +[ 13%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 14%] Linking CXX executable test-class_iterator_cpp11 +[ 14%] Built target test-class_iterator_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 15%] Linking CXX executable test-class_lexer_cpp11 +[ 15%] Built target test-class_lexer_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 16%] Linking CXX executable test-class_parser_cpp11 +[ 16%] Built target test-class_parser_cpp11 +[ 17%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 17%] Linking CXX executable test-comparison_cpp11 +[ 17%] Built target test-comparison_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 18%] Linking CXX executable test-comparison_cpp20 +[ 18%] Built target test-comparison_cpp20 +[ 18%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 19%] Linking CXX executable test-concepts_cpp11 +[ 19%] Built target test-concepts_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 20%] Linking CXX executable test-constructor1_cpp11 +[ 20%] Built target test-constructor1_cpp11 +[ 20%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 21%] Linking CXX executable test-constructor2_cpp11 +[ 21%] Built target test-constructor2_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 22%] Linking CXX executable test-convenience_cpp11 +[ 22%] Built target test-convenience_cpp11 +[ 23%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 23%] Linking CXX executable test-conversions_cpp11 +[ 23%] Built target test-conversions_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-conversions_cpp14.dir/src/unit-conversions.cpp.o +[ 24%] Linking CXX executable test-conversions_cpp14 +[ 24%] Built target test-conversions_cpp14 +[ 25%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 25%] Linking CXX executable test-conversions_cpp17 +[ 25%] Built target test-conversions_cpp17 +[ 26%] Building CXX object tests/CMakeFiles/test-custom-base-class_cpp11.dir/src/unit-custom-base-class.cpp.o +[ 27%] Linking CXX executable test-custom-base-class_cpp11 +[ 27%] Built target test-custom-base-class_cpp11 +[ 27%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 28%] Linking CXX executable test-deserialization_cpp11 +[ 28%] Built target test-deserialization_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-deserialization_cpp20.dir/src/unit-deserialization.cpp.o +[ 29%] Linking CXX executable test-deserialization_cpp20 +[ 29%] Built target test-deserialization_cpp20 +[ 29%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 30%] Linking CXX executable test-diagnostics_cpp11 +[ 30%] Built target test-diagnostics_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 31%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 31%] Built target test-disabled_exceptions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 32%] Linking CXX executable test-element_access1_cpp11 +[ 32%] Built target test-element_access1_cpp11 +[ 33%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 33%] Linking CXX executable test-element_access2_cpp11 +[ 33%] Built target test-element_access2_cpp11 +[ 34%] Building CXX object tests/CMakeFiles/test-element_access2_cpp14.dir/src/unit-element_access2.cpp.o +[ 34%] Linking CXX executable test-element_access2_cpp14 +[ 34%] Built target test-element_access2_cpp14 +[ 35%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 36%] Linking CXX executable test-element_access2_cpp17 +[ 36%] Built target test-element_access2_cpp17 +[ 36%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 37%] Linking CXX executable test-hash_cpp11 +[ 37%] Built target test-hash_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 38%] Linking CXX executable test-inspection_cpp11 +[ 38%] Built target test-inspection_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 39%] Linking CXX executable test-items_cpp11 +[ 39%] Built target test-items_cpp11 +[ 39%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 40%] Linking CXX executable test-items_cpp17 +[ 40%] Built target test-items_cpp17 +[ 41%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 41%] Linking CXX executable test-iterators1_cpp11 +[ 41%] Built target test-iterators1_cpp11 +[ 42%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 42%] Linking CXX executable test-iterators2_cpp11 +[ 42%] Built target test-iterators2_cpp11 +[ 43%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 43%] Linking CXX executable test-iterators2_cpp20 +[ 43%] Built target test-iterators2_cpp20 +[ 44%] Building CXX object tests/CMakeFiles/test-iterators3_cpp11.dir/src/unit-iterators3.cpp.o +[ 44%] Linking CXX executable test-iterators3_cpp11 +[ 44%] Built target test-iterators3_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-iterators3_cpp14.dir/src/unit-iterators3.cpp.o +[ 46%] Linking CXX executable test-iterators3_cpp14 +[ 46%] Built target test-iterators3_cpp14 +[ 46%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 47%] Linking CXX executable test-json_patch_cpp11 +[ 47%] Built target test-json_patch_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer_cpp11 +[ 48%] Built target test-json_pointer_cpp11 +[ 48%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp20.dir/src/unit-json_pointer.cpp.o +[ 49%] Linking CXX executable test-json_pointer_cpp20 +[ 49%] Built target test-json_pointer_cpp20 +[ 50%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 50%] Linking CXX executable test-large_json_cpp11 +[ 50%] Built target test-large_json_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-locale-cpp_cpp11.dir/src/unit-locale-cpp.cpp.o +[ 51%] Linking CXX executable test-locale-cpp_cpp11 +[ 51%] Built target test-locale-cpp_cpp11 +[ 52%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 52%] Linking CXX executable test-merge_patch_cpp11 +[ 52%] Built target test-merge_patch_cpp11 +[ 53%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 53%] Linking CXX executable test-meta_cpp11 +[ 53%] Built target test-meta_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 55%] Linking CXX executable test-modifiers_cpp11 +[ 55%] Built target test-modifiers_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 56%] Linking CXX executable test-msgpack_cpp11 +[ 56%] Built target test-msgpack_cpp11 +[ 56%] Building CXX object tests/CMakeFiles/test-no-mem-leak-on-adl-serialize_cpp11.dir/src/unit-no-mem-leak-on-adl-serialize.cpp.o +[ 57%] Linking CXX executable test-no-mem-leak-on-adl-serialize_cpp11 +[ 57%] Built target test-no-mem-leak-on-adl-serialize_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 58%] Linking CXX executable test-noexcept_cpp11 +[ 58%] Built target test-noexcept_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 59%] Linking CXX executable test-ordered_json_cpp11 +[ 59%] Built target test-ordered_json_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 60%] Linking CXX executable test-ordered_map_cpp11 +[ 60%] Built target test-ordered_map_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 61%] Linking CXX executable test-pointer_access_cpp11 +[ 61%] Built target test-pointer_access_cpp11 +[ 62%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 62%] Linking CXX executable test-readme_cpp11 +[ 62%] Built target test-readme_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 63%] Linking CXX executable test-reference_access_cpp11 +[ 63%] Built target test-reference_access_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 65%] Linking CXX executable test-regression1_cpp11 +[ 65%] Built target test-regression1_cpp11 +[ 65%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 66%] Linking CXX executable test-regression1_cpp17 +[ 66%] Built target test-regression1_cpp17 +[ 66%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 67%] Linking CXX executable test-regression2_cpp11 +[ 67%] Built target test-regression2_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 68%] Linking CXX executable test-regression2_cpp17 +[ 68%] Built target test-regression2_cpp17 +[ 69%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 69%] Linking CXX executable test-regression2_cpp20 +[ 69%] Built target test-regression2_cpp20 +[ 70%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 70%] Linking CXX executable test-serialization_cpp11 +[ 70%] Built target test-serialization_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 71%] Linking CXX executable test-testsuites_cpp11 +[ 71%] Built target test-testsuites_cpp11 +[ 72%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 72%] Linking CXX executable test-to_chars_cpp11 +[ 72%] Built target test-to_chars_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-type_traits_cpp11.dir/src/unit-type_traits.cpp.o +[ 74%] Linking CXX executable test-type_traits_cpp11 +[ 74%] Built target test-type_traits_cpp11 +[ 74%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 75%] Linking CXX executable test-ubjson_cpp11 +[ 75%] Built target test-ubjson_cpp11 +[ 75%] Building CXX object tests/CMakeFiles/test-udl_cpp11.dir/src/unit-udl.cpp.o +[ 76%] Linking CXX executable test-udl_cpp11 +[ 76%] Built target test-udl_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 77%] Linking CXX executable test-udt_cpp11 +[ 77%] Built target test-udt_cpp11 +[ 77%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 78%] Linking CXX executable test-udt_macro_cpp11 +[ 78%] Built target test-udt_macro_cpp11 +[ 79%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 79%] Linking CXX executable test-unicode1_cpp11 +[ 79%] Built target test-unicode1_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 80%] Linking CXX executable test-unicode2_cpp11 +[ 80%] Built target test-unicode2_cpp11 +[ 81%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 81%] Linking CXX executable test-unicode3_cpp11 +[ 81%] Built target test-unicode3_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 82%] Linking CXX executable test-unicode4_cpp11 +[ 82%] Built target test-unicode4_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 84%] Linking CXX executable test-unicode5_cpp11 +[ 84%] Built target test-unicode5_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 85%] Linking CXX executable test-user_defined_input_cpp11 +[ 85%] Built target test-user_defined_input_cpp11 +[ 85%] Building CXX object tests/CMakeFiles/test-windows_h_cpp11.dir/src/unit-windows_h.cpp.o +[ 86%] Linking CXX executable test-windows_h_cpp11 +[ 86%] Built target test-windows_h_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 87%] Linking CXX executable test-wstring_cpp11 +[ 87%] Built target test-wstring_cpp11 +[ 88%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 89%] Linking CXX executable test-comparison_legacy_cpp11 +[ 89%] Built target test-comparison_legacy_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[ 90%] Linking CXX executable test-comparison_legacy_cpp20 +[ 90%] Built target test-comparison_legacy_cpp20 +[ 90%] Building CXX object tests/abi/CMakeFiles/abi_compat_main.dir/main.cpp.o +[ 91%] Linking CXX static library libabi_compat_main.a +[ 91%] Built target abi_compat_main +[ 91%] Building CXX object tests/abi/config/CMakeFiles/abi_config_default.dir/default.cpp.o +[ 92%] Linking CXX executable abi_config_default +[ 92%] Built target abi_config_default +[ 92%] Building CXX object tests/abi/config/CMakeFiles/abi_config_noversion.dir/noversion.cpp.o +[ 93%] Linking CXX executable abi_config_noversion +[ 93%] Built target abi_config_noversion +[ 93%] Building CXX object tests/abi/config/CMakeFiles/abi_config_custom.dir/custom.cpp.o +[ 94%] Linking CXX executable abi_config_custom +[ 94%] Built target abi_config_custom +[ 94%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/diag_on.cpp.o +[ 95%] Linking CXX static library libabi_compat_diag_on.a +[ 95%] Built target abi_compat_diag_on +[ 95%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_off.dir/diag_off.cpp.o +[ 96%] Linking CXX static library libabi_compat_diag_off.a +[ 96%] Built target abi_compat_diag_off +[ 96%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag.dir/diag.cpp.o +[ 97%] Linking CXX executable abi_compat_diag +[ 97%] Built target abi_compat_diag +[ 97%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_v3_10_5.cpp.o +[ 98%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_current.cpp.o +[100%] Linking CXX executable abi_compat_inline_ns +[100%] Built target abi_compat_inline_ns +Test project /home/json/build + Start 1: download_test_data + 1/98 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/98 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/98 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/98 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/98 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/98 Test #6: test-binary_formats_cpp11 .................... Passed 20.85 sec + Start 7: test-bjdata_cpp11 + 7/98 Test #7: test-bjdata_cpp11 ............................ Passed 10.08 sec + Start 8: test-bson_cpp11 + 8/98 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/98 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/98 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/98 Test #11: test-cbor_cpp11 .............................. Passed 39.89 sec + Start 12: test-class_const_iterator_cpp11 +12/98 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/98 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/98 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/98 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/98 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/98 Test #17: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 18: test-concepts_cpp11 +18/98 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/98 Test #19: test-constructor1_cpp11 ...................... Passed 0.00 sec + Start 20: test-constructor2_cpp11 +20/98 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/98 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/98 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp14 +23/98 Test #23: test-conversions_cpp14 ....................... Passed 0.01 sec + Start 24: test-conversions_cpp17 +24/98 Test #24: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 25: test-custom-base-class_cpp11 +25/98 Test #25: test-custom-base-class_cpp11 ................. Passed 0.00 sec + Start 26: test-deserialization_cpp11 +26/98 Test #26: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 27: test-deserialization_cpp20 +27/98 Test #27: test-deserialization_cpp20 ................... Passed 0.01 sec + Start 28: test-diagnostics_cpp11 +28/98 Test #28: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 29: test-disabled_exceptions_cpp11 +29/98 Test #29: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 30: test-element_access1_cpp11 +30/98 Test #30: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 31: test-element_access2_cpp11 +31/98 Test #31: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 32: test-element_access2_cpp14 +32/98 Test #32: test-element_access2_cpp14 ................... Passed 0.01 sec + Start 33: test-element_access2_cpp17 +33/98 Test #33: test-element_access2_cpp17 ................... Passed 0.01 sec + Start 34: test-hash_cpp11 +34/98 Test #34: test-hash_cpp11 .............................. Passed 0.00 sec + Start 35: test-inspection_cpp11 +35/98 Test #35: test-inspection_cpp11 ........................ Passed 5.06 sec + Start 36: test-items_cpp11 +36/98 Test #36: test-items_cpp11 ............................. Passed 0.00 sec + Start 37: test-items_cpp17 +37/98 Test #37: test-items_cpp17 ............................. Passed 0.00 sec + Start 38: test-iterators1_cpp11 +38/98 Test #38: test-iterators1_cpp11 ........................ Passed 0.00 sec + Start 39: test-iterators2_cpp11 +39/98 Test #39: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 40: test-iterators2_cpp20 +40/98 Test #40: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 41: test-iterators3_cpp11 +41/98 Test #41: test-iterators3_cpp11 ........................ Passed 0.00 sec + Start 42: test-iterators3_cpp14 +42/98 Test #42: test-iterators3_cpp14 ........................ Passed 0.00 sec + Start 43: test-json_patch_cpp11 +43/98 Test #43: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 44: test-json_pointer_cpp11 +44/98 Test #44: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 45: test-json_pointer_cpp20 +45/98 Test #45: test-json_pointer_cpp20 ...................... Passed 0.00 sec + Start 46: test-large_json_cpp11 +46/98 Test #46: test-large_json_cpp11 ........................ Passed 4.83 sec + Start 47: test-locale-cpp_cpp11 +47/98 Test #47: test-locale-cpp_cpp11 ........................ Passed 0.00 sec + Start 48: test-merge_patch_cpp11 +48/98 Test #48: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 49: test-meta_cpp11 +49/98 Test #49: test-meta_cpp11 .............................. Passed 0.00 sec + Start 50: test-modifiers_cpp11 +50/98 Test #50: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 51: test-msgpack_cpp11 +51/98 Test #51: test-msgpack_cpp11 ........................... Passed 38.34 sec + Start 52: test-no-mem-leak-on-adl-serialize_cpp11 +52/98 Test #52: test-no-mem-leak-on-adl-serialize_cpp11 ...... Passed 0.00 sec + Start 53: test-noexcept_cpp11 +53/98 Test #53: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 54: test-ordered_json_cpp11 +54/98 Test #54: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 55: test-ordered_map_cpp11 +55/98 Test #55: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 56: test-pointer_access_cpp11 +56/98 Test #56: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 57: test-readme_cpp11 +57/98 Test #57: test-readme_cpp11 ............................ Passed 0.00 sec + Start 58: test-reference_access_cpp11 +58/98 Test #58: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 59: test-regression1_cpp11 +59/98 Test #59: test-regression1_cpp11 ....................... Passed 5.92 sec + Start 60: test-regression1_cpp17 +60/98 Test #60: test-regression1_cpp17 ....................... Passed 7.21 sec + Start 61: test-regression2_cpp11 +61/98 Test #61: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 62: test-regression2_cpp17 +62/98 Test #62: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 63: test-regression2_cpp20 +63/98 Test #63: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 64: test-serialization_cpp11 +64/98 Test #64: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 65: test-testsuites_cpp11 +65/98 Test #65: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 66: test-to_chars_cpp11 +66/98 Test #66: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 67: test-type_traits_cpp11 +67/98 Test #67: test-type_traits_cpp11 ....................... Passed 0.00 sec + Start 68: test-ubjson_cpp11 +68/98 Test #68: test-ubjson_cpp11 ............................ Passed 12.44 sec + Start 69: test-udl_cpp11 +69/98 Test #69: test-udl_cpp11 ............................... Passed 0.00 sec + Start 70: test-udt_cpp11 +70/98 Test #70: test-udt_cpp11 ............................... Passed 0.00 sec + Start 71: test-udt_macro_cpp11 +71/98 Test #71: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 72: test-unicode1_cpp11 +72/98 Test #72: test-unicode1_cpp11 .......................... Passed 5.89 sec + Start 73: test-unicode2_cpp11 +73/98 Test #73: test-unicode2_cpp11 .......................... Passed 10.63 sec + Start 74: test-unicode3_cpp11 +74/98 Test #74: test-unicode3_cpp11 .......................... Passed 39.02 sec + Start 75: test-unicode4_cpp11 +75/98 Test #75: test-unicode4_cpp11 .......................... Passed 127.13 sec + Start 76: test-unicode5_cpp11 +76/98 Test #76: test-unicode5_cpp11 .......................... Passed 31.03 sec + Start 77: test-user_defined_input_cpp11 +77/98 Test #77: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 78: test-windows_h_cpp11 +78/98 Test #78: test-windows_h_cpp11 ......................... Passed 0.00 sec + Start 79: test-wstring_cpp11 +79/98 Test #79: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 80: test-comparison_legacy_cpp11 +80/98 Test #80: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 81: test-comparison_legacy_cpp20 +81/98 Test #81: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 82: test-abi_config_default +82/98 Test #82: test-abi_config_default ...................... Passed 0.00 sec + Start 83: test-abi_config_noversion +83/98 Test #83: test-abi_config_noversion .................... Passed 0.00 sec + Start 84: test-abi_config_custom +84/98 Test #84: test-abi_config_custom ....................... Passed 0.00 sec + Start 85: test-abi_compat_diag +85/98 Test #85: test-abi_compat_diag ......................... Passed 0.00 sec + Start 86: test-abi_compat_inline_ns +86/98 Test #86: test-abi_compat_inline_ns .................... Passed 0.00 sec + Start 87: cmake_import_configure +87/98 Test #87: cmake_import_configure ....................... Passed 0.20 sec + Start 88: cmake_import_build +88/98 Test #88: cmake_import_build ........................... Passed 2.97 sec + Start 89: cmake_import_minver_configure +89/98 Test #89: cmake_import_minver_configure ................ Passed 0.20 sec + Start 90: cmake_import_minver_build +90/98 Test #90: cmake_import_minver_build .................... Passed 1.49 sec + Start 91: cmake_add_subdirectory_configure +91/98 Test #91: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 92: cmake_add_subdirectory_build +92/98 Test #92: cmake_add_subdirectory_build ................. Passed 4.37 sec + Start 93: cmake_fetch_content_configure +93/98 Test #93: cmake_fetch_content_configure ................ Passed 0.94 sec + Start 94: cmake_fetch_content_build +94/98 Test #94: cmake_fetch_content_build .................... Passed 2.98 sec + Start 95: cmake_fetch_content2_configure +95/98 Test #95: cmake_fetch_content2_configure ............... Passed 0.69 sec + Start 96: cmake_fetch_content2_build +96/98 Test #96: cmake_fetch_content2_build ................... Passed 2.99 sec + Start 97: cmake_target_include_directories_configure +97/98 Test #97: cmake_target_include_directories_configure ... Passed 0.20 sec + Start 98: cmake_target_include_directories_build +98/98 Test #98: cmake_target_include_directories_build ....... Passed 5.23 sec + +100% tests passed, 0 tests failed out of 98 + +Label Time Summary: +all = 358.71 sec*proc (80 tests) +git_required = 7.59 sec*proc (4 tests) +not_reproducible = 22.46 sec*proc (12 tests) + +Total Test time (real) = 381.29 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/fix.patch new file mode 100644 index 000000000..75fb223ff --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/fix.patch @@ -0,0 +1,60 @@ +diff --git a/include/nlohmann/detail/iterators/iter_impl.hpp b/include/nlohmann/detail/iterators/iter_impl.hpp +index 44470913..c3b58b86 100644 +--- a/include/nlohmann/detail/iterators/iter_impl.hpp ++++ b/include/nlohmann/detail/iterators/iter_impl.hpp +@@ -468,6 +468,12 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci + template < typename IterImpl, detail::enable_if_t < (std::is_same::value || std::is_same::value), std::nullptr_t > = nullptr > + bool operator==(const IterImpl& other) const + { ++ // if both iterators are default-initialized, they are equal ++ if (m_object == nullptr && other.m_object == nullptr) ++ { ++ return true; ++ } ++ + // if objects are not the same, the comparison is undefined + if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object)) + { +@@ -513,6 +519,12 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci + */ + bool operator<(const iter_impl& other) const + { ++ // if both iterators are default-initialized, they are equal ++ if (m_object == nullptr && other.m_object == nullptr) ++ { ++ return false; ++ } ++ + // if objects are not the same, the comparison is undefined + if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object)) + { +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index a6b4c3a7..569d47cc 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -13444,6 +13444,12 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci + template < typename IterImpl, detail::enable_if_t < (std::is_same::value || std::is_same::value), std::nullptr_t > = nullptr > + bool operator==(const IterImpl& other) const + { ++ // if both iterators are default-initialized, they are equal ++ if (m_object == nullptr && other.m_object == nullptr) ++ { ++ return true; ++ } ++ + // if objects are not the same, the comparison is undefined + if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object)) + { +@@ -13489,6 +13495,12 @@ class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-speci + */ + bool operator<(const iter_impl& other) const + { ++ // if both iterators are default-initialized, they are equal ++ if (m_object == nullptr && other.m_object == nullptr) ++ { ++ return false; ++ } ++ + // if objects are not the same, the comparison is undefined + if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object)) + { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/report.json new file mode 100644 index 000000000..af0375eca --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4512/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 4512, "valid": true, "error_msg": "", "fixed_tests": {"test-iterators3_cpp14": {"run": "NONE", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-custom-base-class_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_custom": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-no-mem-leak-on-adl-serialize_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-type_traits_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_noversion": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_compat_diag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-locale-cpp_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-windows_h_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_compat_inline_ns": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udl_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators3_cpp11": {"run": "NONE", "test": "PASS", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-iterators3_cpp14": {"run": "NONE", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 96, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-abi_config_custom", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 97, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-abi_config_custom", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-iterators3_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 98, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "test-abi_config_custom", "cmake_fetch_content2_build", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "test-iterators3_cpp14", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-iterators3_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/fix-patch-run.log new file mode 100644 index 000000000..b2bb61f2b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/fix-patch-run.log @@ -0,0 +1,737 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 8s (1108 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (15.4 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.1 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (6164 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.ScHuLR2E +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.ScHuLR2E/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.ScHuLR2E/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.ScHuLR2E/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.ScHuLR2E/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.ScHuLR2E/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.ScHuLR2E +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=301cbd90bc1e +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.uVNuno5Eil/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-pointer_access.cpp +patching file tests/src/unit-reference_access.cpp +patching file include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 301cbd90bc1e 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 14.2.0; Copyright (C) 2024 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 1%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms_cpp11 +[ 2%] Built target test-algorithms_cpp11 +[ 2%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 3%] Linking CXX executable test-allocator_cpp11 +[ 3%] Built target test-allocator_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 4%] Linking CXX executable test-alt-string_cpp11 +[ 4%] Built target test-alt-string_cpp11 +[ 4%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 5%] Linking CXX executable test-assert_macro_cpp11 +[ 5%] Built target test-assert_macro_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 6%] Linking CXX executable test-binary_formats_cpp11 +[ 6%] Built target test-binary_formats_cpp11 +[ 7%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 7%] Linking CXX executable test-bjdata_cpp11 +[ 7%] Built target test-bjdata_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 8%] Linking CXX executable test-bson_cpp11 +[ 8%] Built target test-bson_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 9%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 9%] Built target test-byte_container_with_subtype_cpp11 +[ 10%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 11%] Linking CXX executable test-capacity_cpp11 +[ 11%] Built target test-capacity_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 12%] Linking CXX executable test-cbor_cpp11 +[ 12%] Built target test-cbor_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 13%] Linking CXX executable test-class_const_iterator_cpp11 +[ 13%] Built target test-class_const_iterator_cpp11 +[ 13%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 14%] Linking CXX executable test-class_iterator_cpp11 +[ 14%] Built target test-class_iterator_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 15%] Linking CXX executable test-class_lexer_cpp11 +[ 15%] Built target test-class_lexer_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 16%] Linking CXX executable test-class_parser_cpp11 +[ 16%] Built target test-class_parser_cpp11 +[ 17%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 17%] Linking CXX executable test-comparison_cpp11 +[ 17%] Built target test-comparison_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 18%] Linking CXX executable test-comparison_cpp20 +[ 18%] Built target test-comparison_cpp20 +[ 18%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 19%] Linking CXX executable test-concepts_cpp11 +[ 19%] Built target test-concepts_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 20%] Linking CXX executable test-constructor1_cpp11 +[ 20%] Built target test-constructor1_cpp11 +[ 20%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 21%] Linking CXX executable test-constructor2_cpp11 +[ 21%] Built target test-constructor2_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 22%] Linking CXX executable test-convenience_cpp11 +[ 22%] Built target test-convenience_cpp11 +[ 23%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 23%] Linking CXX executable test-conversions_cpp11 +[ 23%] Built target test-conversions_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-conversions_cpp14.dir/src/unit-conversions.cpp.o +[ 24%] Linking CXX executable test-conversions_cpp14 +[ 24%] Built target test-conversions_cpp14 +[ 25%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 25%] Linking CXX executable test-conversions_cpp17 +[ 25%] Built target test-conversions_cpp17 +[ 26%] Building CXX object tests/CMakeFiles/test-custom-base-class_cpp11.dir/src/unit-custom-base-class.cpp.o +[ 27%] Linking CXX executable test-custom-base-class_cpp11 +[ 27%] Built target test-custom-base-class_cpp11 +[ 27%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 28%] Linking CXX executable test-deserialization_cpp11 +[ 28%] Built target test-deserialization_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-deserialization_cpp20.dir/src/unit-deserialization.cpp.o +[ 29%] Linking CXX executable test-deserialization_cpp20 +[ 29%] Built target test-deserialization_cpp20 +[ 29%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 30%] Linking CXX executable test-diagnostics_cpp11 +[ 30%] Built target test-diagnostics_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 31%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 31%] Built target test-disabled_exceptions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 32%] Linking CXX executable test-element_access1_cpp11 +[ 32%] Built target test-element_access1_cpp11 +[ 33%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 33%] Linking CXX executable test-element_access2_cpp11 +[ 33%] Built target test-element_access2_cpp11 +[ 34%] Building CXX object tests/CMakeFiles/test-element_access2_cpp14.dir/src/unit-element_access2.cpp.o +[ 34%] Linking CXX executable test-element_access2_cpp14 +[ 34%] Built target test-element_access2_cpp14 +[ 35%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 36%] Linking CXX executable test-element_access2_cpp17 +[ 36%] Built target test-element_access2_cpp17 +[ 36%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 37%] Linking CXX executable test-hash_cpp11 +[ 37%] Built target test-hash_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 38%] Linking CXX executable test-inspection_cpp11 +[ 38%] Built target test-inspection_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 39%] Linking CXX executable test-items_cpp11 +[ 39%] Built target test-items_cpp11 +[ 39%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 40%] Linking CXX executable test-items_cpp17 +[ 40%] Built target test-items_cpp17 +[ 41%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 41%] Linking CXX executable test-iterators1_cpp11 +[ 41%] Built target test-iterators1_cpp11 +[ 42%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 42%] Linking CXX executable test-iterators2_cpp11 +[ 42%] Built target test-iterators2_cpp11 +[ 43%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 43%] Linking CXX executable test-iterators2_cpp20 +[ 43%] Built target test-iterators2_cpp20 +[ 44%] Building CXX object tests/CMakeFiles/test-iterators3_cpp11.dir/src/unit-iterators3.cpp.o +[ 44%] Linking CXX executable test-iterators3_cpp11 +[ 44%] Built target test-iterators3_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-iterators3_cpp14.dir/src/unit-iterators3.cpp.o +[ 46%] Linking CXX executable test-iterators3_cpp14 +[ 46%] Built target test-iterators3_cpp14 +[ 46%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 47%] Linking CXX executable test-json_patch_cpp11 +[ 47%] Built target test-json_patch_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer_cpp11 +[ 48%] Built target test-json_pointer_cpp11 +[ 48%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp20.dir/src/unit-json_pointer.cpp.o +[ 49%] Linking CXX executable test-json_pointer_cpp20 +[ 49%] Built target test-json_pointer_cpp20 +[ 50%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 50%] Linking CXX executable test-large_json_cpp11 +[ 50%] Built target test-large_json_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-locale-cpp_cpp11.dir/src/unit-locale-cpp.cpp.o +[ 51%] Linking CXX executable test-locale-cpp_cpp11 +[ 51%] Built target test-locale-cpp_cpp11 +[ 52%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 52%] Linking CXX executable test-merge_patch_cpp11 +[ 52%] Built target test-merge_patch_cpp11 +[ 53%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 53%] Linking CXX executable test-meta_cpp11 +[ 53%] Built target test-meta_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 55%] Linking CXX executable test-modifiers_cpp11 +[ 55%] Built target test-modifiers_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 56%] Linking CXX executable test-msgpack_cpp11 +[ 56%] Built target test-msgpack_cpp11 +[ 56%] Building CXX object tests/CMakeFiles/test-no-mem-leak-on-adl-serialize_cpp11.dir/src/unit-no-mem-leak-on-adl-serialize.cpp.o +[ 57%] Linking CXX executable test-no-mem-leak-on-adl-serialize_cpp11 +[ 57%] Built target test-no-mem-leak-on-adl-serialize_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 58%] Linking CXX executable test-noexcept_cpp11 +[ 58%] Built target test-noexcept_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 59%] Linking CXX executable test-ordered_json_cpp11 +[ 59%] Built target test-ordered_json_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 60%] Linking CXX executable test-ordered_map_cpp11 +[ 60%] Built target test-ordered_map_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 61%] Linking CXX executable test-pointer_access_cpp11 +[ 61%] Built target test-pointer_access_cpp11 +[ 62%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 62%] Linking CXX executable test-readme_cpp11 +[ 62%] Built target test-readme_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 63%] Linking CXX executable test-reference_access_cpp11 +[ 63%] Built target test-reference_access_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 65%] Linking CXX executable test-regression1_cpp11 +[ 65%] Built target test-regression1_cpp11 +[ 65%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 66%] Linking CXX executable test-regression1_cpp17 +[ 66%] Built target test-regression1_cpp17 +[ 66%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 67%] Linking CXX executable test-regression2_cpp11 +[ 67%] Built target test-regression2_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 68%] Linking CXX executable test-regression2_cpp17 +[ 68%] Built target test-regression2_cpp17 +[ 69%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 69%] Linking CXX executable test-regression2_cpp20 +[ 69%] Built target test-regression2_cpp20 +[ 70%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 70%] Linking CXX executable test-serialization_cpp11 +[ 70%] Built target test-serialization_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 71%] Linking CXX executable test-testsuites_cpp11 +[ 71%] Built target test-testsuites_cpp11 +[ 72%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 72%] Linking CXX executable test-to_chars_cpp11 +[ 72%] Built target test-to_chars_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-type_traits_cpp11.dir/src/unit-type_traits.cpp.o +[ 74%] Linking CXX executable test-type_traits_cpp11 +[ 74%] Built target test-type_traits_cpp11 +[ 74%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 75%] Linking CXX executable test-ubjson_cpp11 +[ 75%] Built target test-ubjson_cpp11 +[ 75%] Building CXX object tests/CMakeFiles/test-udl_cpp11.dir/src/unit-udl.cpp.o +[ 76%] Linking CXX executable test-udl_cpp11 +[ 76%] Built target test-udl_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 77%] Linking CXX executable test-udt_cpp11 +[ 77%] Built target test-udt_cpp11 +[ 77%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 78%] Linking CXX executable test-udt_macro_cpp11 +[ 78%] Built target test-udt_macro_cpp11 +[ 79%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 79%] Linking CXX executable test-unicode1_cpp11 +[ 79%] Built target test-unicode1_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 80%] Linking CXX executable test-unicode2_cpp11 +[ 80%] Built target test-unicode2_cpp11 +[ 81%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 81%] Linking CXX executable test-unicode3_cpp11 +[ 81%] Built target test-unicode3_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 82%] Linking CXX executable test-unicode4_cpp11 +[ 82%] Built target test-unicode4_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 84%] Linking CXX executable test-unicode5_cpp11 +[ 84%] Built target test-unicode5_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 85%] Linking CXX executable test-user_defined_input_cpp11 +[ 85%] Built target test-user_defined_input_cpp11 +[ 85%] Building CXX object tests/CMakeFiles/test-windows_h_cpp11.dir/src/unit-windows_h.cpp.o +[ 86%] Linking CXX executable test-windows_h_cpp11 +[ 86%] Built target test-windows_h_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 87%] Linking CXX executable test-wstring_cpp11 +[ 87%] Built target test-wstring_cpp11 +[ 88%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 89%] Linking CXX executable test-comparison_legacy_cpp11 +[ 89%] Built target test-comparison_legacy_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[ 90%] Linking CXX executable test-comparison_legacy_cpp20 +[ 90%] Built target test-comparison_legacy_cpp20 +[ 90%] Building CXX object tests/abi/CMakeFiles/abi_compat_main.dir/main.cpp.o +[ 91%] Linking CXX static library libabi_compat_main.a +[ 91%] Built target abi_compat_main +[ 91%] Building CXX object tests/abi/config/CMakeFiles/abi_config_default.dir/default.cpp.o +[ 92%] Linking CXX executable abi_config_default +[ 92%] Built target abi_config_default +[ 92%] Building CXX object tests/abi/config/CMakeFiles/abi_config_noversion.dir/noversion.cpp.o +[ 93%] Linking CXX executable abi_config_noversion +[ 93%] Built target abi_config_noversion +[ 93%] Building CXX object tests/abi/config/CMakeFiles/abi_config_custom.dir/custom.cpp.o +[ 94%] Linking CXX executable abi_config_custom +[ 94%] Built target abi_config_custom +[ 94%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/diag_on.cpp.o +[ 95%] Linking CXX static library libabi_compat_diag_on.a +[ 95%] Built target abi_compat_diag_on +[ 95%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_off.dir/diag_off.cpp.o +[ 96%] Linking CXX static library libabi_compat_diag_off.a +[ 96%] Built target abi_compat_diag_off +[ 96%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag.dir/diag.cpp.o +[ 97%] Linking CXX executable abi_compat_diag +[ 97%] Built target abi_compat_diag +[ 97%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_v3_10_5.cpp.o +[ 98%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_current.cpp.o +[100%] Linking CXX executable abi_compat_inline_ns +[100%] Built target abi_compat_inline_ns +Test project /home/json/build + Start 1: download_test_data + 1/98 Test #1: download_test_data ........................... Passed 0.08 sec + Start 2: test-algorithms_cpp11 + 2/98 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/98 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/98 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/98 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/98 Test #6: test-binary_formats_cpp11 .................... Passed 20.50 sec + Start 7: test-bjdata_cpp11 + 7/98 Test #7: test-bjdata_cpp11 ............................ Passed 9.95 sec + Start 8: test-bson_cpp11 + 8/98 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/98 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/98 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/98 Test #11: test-cbor_cpp11 .............................. Passed 38.47 sec + Start 12: test-class_const_iterator_cpp11 +12/98 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/98 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/98 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/98 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/98 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/98 Test #17: test-comparison_cpp20 ........................ Passed 0.01 sec + Start 18: test-concepts_cpp11 +18/98 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/98 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/98 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/98 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/98 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp14 +23/98 Test #23: test-conversions_cpp14 ....................... Passed 0.01 sec + Start 24: test-conversions_cpp17 +24/98 Test #24: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 25: test-custom-base-class_cpp11 +25/98 Test #25: test-custom-base-class_cpp11 ................. Passed 0.00 sec + Start 26: test-deserialization_cpp11 +26/98 Test #26: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 27: test-deserialization_cpp20 +27/98 Test #27: test-deserialization_cpp20 ................... Passed 0.01 sec + Start 28: test-diagnostics_cpp11 +28/98 Test #28: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 29: test-disabled_exceptions_cpp11 +29/98 Test #29: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 30: test-element_access1_cpp11 +30/98 Test #30: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 31: test-element_access2_cpp11 +31/98 Test #31: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 32: test-element_access2_cpp14 +32/98 Test #32: test-element_access2_cpp14 ................... Passed 0.01 sec + Start 33: test-element_access2_cpp17 +33/98 Test #33: test-element_access2_cpp17 ................... Passed 0.01 sec + Start 34: test-hash_cpp11 +34/98 Test #34: test-hash_cpp11 .............................. Passed 0.00 sec + Start 35: test-inspection_cpp11 +35/98 Test #35: test-inspection_cpp11 ........................ Passed 5.07 sec + Start 36: test-items_cpp11 +36/98 Test #36: test-items_cpp11 ............................. Passed 0.00 sec + Start 37: test-items_cpp17 +37/98 Test #37: test-items_cpp17 ............................. Passed 0.00 sec + Start 38: test-iterators1_cpp11 +38/98 Test #38: test-iterators1_cpp11 ........................ Passed 0.00 sec + Start 39: test-iterators2_cpp11 +39/98 Test #39: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 40: test-iterators2_cpp20 +40/98 Test #40: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 41: test-iterators3_cpp11 +41/98 Test #41: test-iterators3_cpp11 ........................ Passed 0.00 sec + Start 42: test-iterators3_cpp14 +42/98 Test #42: test-iterators3_cpp14 ........................ Passed 0.00 sec + Start 43: test-json_patch_cpp11 +43/98 Test #43: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 44: test-json_pointer_cpp11 +44/98 Test #44: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 45: test-json_pointer_cpp20 +45/98 Test #45: test-json_pointer_cpp20 ...................... Passed 0.00 sec + Start 46: test-large_json_cpp11 +46/98 Test #46: test-large_json_cpp11 ........................ Passed 4.85 sec + Start 47: test-locale-cpp_cpp11 +47/98 Test #47: test-locale-cpp_cpp11 ........................ Passed 0.00 sec + Start 48: test-merge_patch_cpp11 +48/98 Test #48: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 49: test-meta_cpp11 +49/98 Test #49: test-meta_cpp11 .............................. Passed 0.00 sec + Start 50: test-modifiers_cpp11 +50/98 Test #50: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 51: test-msgpack_cpp11 +51/98 Test #51: test-msgpack_cpp11 ........................... Passed 39.07 sec + Start 52: test-no-mem-leak-on-adl-serialize_cpp11 +52/98 Test #52: test-no-mem-leak-on-adl-serialize_cpp11 ...... Passed 0.00 sec + Start 53: test-noexcept_cpp11 +53/98 Test #53: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 54: test-ordered_json_cpp11 +54/98 Test #54: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 55: test-ordered_map_cpp11 +55/98 Test #55: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 56: test-pointer_access_cpp11 +56/98 Test #56: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 57: test-readme_cpp11 +57/98 Test #57: test-readme_cpp11 ............................ Passed 0.00 sec + Start 58: test-reference_access_cpp11 +58/98 Test #58: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 59: test-regression1_cpp11 +59/98 Test #59: test-regression1_cpp11 ....................... Passed 6.03 sec + Start 60: test-regression1_cpp17 +60/98 Test #60: test-regression1_cpp17 ....................... Passed 7.02 sec + Start 61: test-regression2_cpp11 +61/98 Test #61: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 62: test-regression2_cpp17 +62/98 Test #62: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 63: test-regression2_cpp20 +63/98 Test #63: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 64: test-serialization_cpp11 +64/98 Test #64: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 65: test-testsuites_cpp11 +65/98 Test #65: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 66: test-to_chars_cpp11 +66/98 Test #66: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 67: test-type_traits_cpp11 +67/98 Test #67: test-type_traits_cpp11 ....................... Passed 0.00 sec + Start 68: test-ubjson_cpp11 +68/98 Test #68: test-ubjson_cpp11 ............................ Passed 12.58 sec + Start 69: test-udl_cpp11 +69/98 Test #69: test-udl_cpp11 ............................... Passed 0.00 sec + Start 70: test-udt_cpp11 +70/98 Test #70: test-udt_cpp11 ............................... Passed 0.00 sec + Start 71: test-udt_macro_cpp11 +71/98 Test #71: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 72: test-unicode1_cpp11 +72/98 Test #72: test-unicode1_cpp11 .......................... Passed 5.75 sec + Start 73: test-unicode2_cpp11 +73/98 Test #73: test-unicode2_cpp11 .......................... Passed 10.52 sec + Start 74: test-unicode3_cpp11 +74/98 Test #74: test-unicode3_cpp11 .......................... Passed 38.66 sec + Start 75: test-unicode4_cpp11 +75/98 Test #75: test-unicode4_cpp11 .......................... Passed 132.36 sec + Start 76: test-unicode5_cpp11 +76/98 Test #76: test-unicode5_cpp11 .......................... Passed 30.92 sec + Start 77: test-user_defined_input_cpp11 +77/98 Test #77: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 78: test-windows_h_cpp11 +78/98 Test #78: test-windows_h_cpp11 ......................... Passed 0.00 sec + Start 79: test-wstring_cpp11 +79/98 Test #79: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 80: test-comparison_legacy_cpp11 +80/98 Test #80: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 81: test-comparison_legacy_cpp20 +81/98 Test #81: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 82: test-abi_config_default +82/98 Test #82: test-abi_config_default ...................... Passed 0.00 sec + Start 83: test-abi_config_noversion +83/98 Test #83: test-abi_config_noversion .................... Passed 0.00 sec + Start 84: test-abi_config_custom +84/98 Test #84: test-abi_config_custom ....................... Passed 0.00 sec + Start 85: test-abi_compat_diag +85/98 Test #85: test-abi_compat_diag ......................... Passed 0.00 sec + Start 86: test-abi_compat_inline_ns +86/98 Test #86: test-abi_compat_inline_ns .................... Passed 0.00 sec + Start 87: cmake_import_configure +87/98 Test #87: cmake_import_configure ....................... Passed 0.20 sec + Start 88: cmake_import_build +88/98 Test #88: cmake_import_build ........................... Passed 3.01 sec + Start 89: cmake_import_minver_configure +89/98 Test #89: cmake_import_minver_configure ................ Passed 0.20 sec + Start 90: cmake_import_minver_build +90/98 Test #90: cmake_import_minver_build .................... Passed 1.52 sec + Start 91: cmake_add_subdirectory_configure +91/98 Test #91: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 92: cmake_add_subdirectory_build +92/98 Test #92: cmake_add_subdirectory_build ................. Passed 4.44 sec + Start 93: cmake_fetch_content_configure +93/98 Test #93: cmake_fetch_content_configure ................ Passed 0.93 sec + Start 94: cmake_fetch_content_build +94/98 Test #94: cmake_fetch_content_build .................... Passed 3.00 sec + Start 95: cmake_fetch_content2_configure +95/98 Test #95: cmake_fetch_content2_configure ............... Passed 0.73 sec + Start 96: cmake_fetch_content2_build +96/98 Test #96: cmake_fetch_content2_build ................... Passed 3.00 sec + Start 97: cmake_target_include_directories_configure +97/98 Test #97: cmake_target_include_directories_configure ... Passed 0.21 sec + Start 98: cmake_target_include_directories_build +98/98 Test #98: cmake_target_include_directories_build ....... Passed 5.29 sec + +100% tests passed, 0 tests failed out of 98 + +Label Time Summary: +all = 362.15 sec*proc (80 tests) +git_required = 7.65 sec*proc (4 tests) +not_reproducible = 22.74 sec*proc (12 tests) + +Total Test time (real) = 385.00 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/fix.patch new file mode 100644 index 000000000..e6f9845dd --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/fix.patch @@ -0,0 +1,20 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index e004e830..763fd957 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -1463,13 +1463,13 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + /// get a pointer to the value (integer number) + number_integer_t* get_impl_ptr(number_integer_t* /*unused*/) noexcept + { +- return is_number_integer() ? &m_data.m_value.number_integer : nullptr; ++ return m_data.m_type == value_t::number_integer ? &m_data.m_value.number_integer : nullptr; + } + + /// get a pointer to the value (integer number) + constexpr const number_integer_t* get_impl_ptr(const number_integer_t* /*unused*/) const noexcept + { +- return is_number_integer() ? &m_data.m_value.number_integer : nullptr; ++ return m_data.m_type == value_t::number_integer ? &m_data.m_value.number_integer : nullptr; + } + + /// get a pointer to the value (unsigned number) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/report.json new file mode 100644 index 000000000..a4e8d99d8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4525/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 4525, "valid": true, "error_msg": "", "fixed_tests": {"test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-custom-base-class_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_custom": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-no-mem-leak-on-adl-serialize_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-type_traits_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_noversion": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_compat_diag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-locale-cpp_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-windows_h_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_compat_inline_ns": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators3_cpp14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udl_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators3_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 98, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-abi_config_custom", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-iterators3_cpp14", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-iterators3_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 96, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-abi_config_custom", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-iterators3_cpp14", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-iterators3_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 98, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "test-abi_config_custom", "cmake_fetch_content2_build", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "test-iterators3_cpp14", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-iterators3_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/fix-patch-run.log new file mode 100644 index 000000000..3492a2b19 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/fix-patch-run.log @@ -0,0 +1,741 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (7331 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (14.8 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (19.0 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5824 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.FYD7f16H +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.FYD7f16H/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.FYD7f16H/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.FYD7f16H/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.FYD7f16H/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.FYD7f16H/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.FYD7f16H +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=3e0f9370eb3a +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.cuNRQHLGDc/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-alt-string.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux 3e0f9370eb3a 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 14.2.0; Copyright (C) 2024 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 1%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms_cpp11 +[ 2%] Built target test-algorithms_cpp11 +[ 2%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 3%] Linking CXX executable test-allocator_cpp11 +[ 3%] Built target test-allocator_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 4%] Linking CXX executable test-alt-string_cpp11 +[ 4%] Built target test-alt-string_cpp11 +[ 4%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 5%] Linking CXX executable test-assert_macro_cpp11 +[ 5%] Built target test-assert_macro_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 6%] Linking CXX executable test-binary_formats_cpp11 +[ 6%] Built target test-binary_formats_cpp11 +[ 7%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 7%] Linking CXX executable test-bjdata_cpp11 +[ 7%] Built target test-bjdata_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 8%] Linking CXX executable test-bson_cpp11 +[ 8%] Built target test-bson_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 9%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 9%] Built target test-byte_container_with_subtype_cpp11 +[ 10%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 11%] Linking CXX executable test-capacity_cpp11 +[ 11%] Built target test-capacity_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 12%] Linking CXX executable test-cbor_cpp11 +[ 12%] Built target test-cbor_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 13%] Linking CXX executable test-class_const_iterator_cpp11 +[ 13%] Built target test-class_const_iterator_cpp11 +[ 13%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 14%] Linking CXX executable test-class_iterator_cpp11 +[ 14%] Built target test-class_iterator_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 15%] Linking CXX executable test-class_lexer_cpp11 +[ 15%] Built target test-class_lexer_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 16%] Linking CXX executable test-class_parser_cpp11 +[ 16%] Built target test-class_parser_cpp11 +[ 17%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 17%] Linking CXX executable test-comparison_cpp11 +[ 17%] Built target test-comparison_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 18%] Linking CXX executable test-comparison_cpp20 +[ 18%] Built target test-comparison_cpp20 +[ 18%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 19%] Linking CXX executable test-concepts_cpp11 +[ 19%] Built target test-concepts_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 20%] Linking CXX executable test-constructor1_cpp11 +[ 20%] Built target test-constructor1_cpp11 +[ 20%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 21%] Linking CXX executable test-constructor2_cpp11 +[ 21%] Built target test-constructor2_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 22%] Linking CXX executable test-convenience_cpp11 +[ 22%] Built target test-convenience_cpp11 +[ 23%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 23%] Linking CXX executable test-conversions_cpp11 +[ 23%] Built target test-conversions_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-conversions_cpp14.dir/src/unit-conversions.cpp.o +[ 24%] Linking CXX executable test-conversions_cpp14 +[ 24%] Built target test-conversions_cpp14 +[ 25%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 25%] Linking CXX executable test-conversions_cpp17 +[ 25%] Built target test-conversions_cpp17 +[ 26%] Building CXX object tests/CMakeFiles/test-custom-base-class_cpp11.dir/src/unit-custom-base-class.cpp.o +[ 27%] Linking CXX executable test-custom-base-class_cpp11 +[ 27%] Built target test-custom-base-class_cpp11 +[ 27%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 28%] Linking CXX executable test-deserialization_cpp11 +[ 28%] Built target test-deserialization_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-deserialization_cpp20.dir/src/unit-deserialization.cpp.o +[ 29%] Linking CXX executable test-deserialization_cpp20 +[ 29%] Built target test-deserialization_cpp20 +[ 29%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 30%] Linking CXX executable test-diagnostics_cpp11 +[ 30%] Built target test-diagnostics_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 31%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 31%] Built target test-disabled_exceptions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 32%] Linking CXX executable test-element_access1_cpp11 +[ 32%] Built target test-element_access1_cpp11 +[ 33%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 33%] Linking CXX executable test-element_access2_cpp11 +[ 33%] Built target test-element_access2_cpp11 +[ 34%] Building CXX object tests/CMakeFiles/test-element_access2_cpp14.dir/src/unit-element_access2.cpp.o +[ 34%] Linking CXX executable test-element_access2_cpp14 +[ 34%] Built target test-element_access2_cpp14 +[ 35%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 36%] Linking CXX executable test-element_access2_cpp17 +[ 36%] Built target test-element_access2_cpp17 +[ 36%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 37%] Linking CXX executable test-hash_cpp11 +[ 37%] Built target test-hash_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 38%] Linking CXX executable test-inspection_cpp11 +[ 38%] Built target test-inspection_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 39%] Linking CXX executable test-items_cpp11 +[ 39%] Built target test-items_cpp11 +[ 39%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 40%] Linking CXX executable test-items_cpp17 +[ 40%] Built target test-items_cpp17 +[ 41%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 41%] Linking CXX executable test-iterators1_cpp11 +[ 41%] Built target test-iterators1_cpp11 +[ 42%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 42%] Linking CXX executable test-iterators2_cpp11 +[ 42%] Built target test-iterators2_cpp11 +[ 43%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 43%] Linking CXX executable test-iterators2_cpp20 +[ 43%] Built target test-iterators2_cpp20 +[ 44%] Building CXX object tests/CMakeFiles/test-iterators3_cpp11.dir/src/unit-iterators3.cpp.o +[ 44%] Linking CXX executable test-iterators3_cpp11 +[ 44%] Built target test-iterators3_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-iterators3_cpp14.dir/src/unit-iterators3.cpp.o +[ 46%] Linking CXX executable test-iterators3_cpp14 +[ 46%] Built target test-iterators3_cpp14 +[ 46%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 47%] Linking CXX executable test-json_patch_cpp11 +[ 47%] Built target test-json_patch_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer_cpp11 +[ 48%] Built target test-json_pointer_cpp11 +[ 48%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp20.dir/src/unit-json_pointer.cpp.o +[ 49%] Linking CXX executable test-json_pointer_cpp20 +[ 49%] Built target test-json_pointer_cpp20 +[ 50%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 50%] Linking CXX executable test-large_json_cpp11 +[ 50%] Built target test-large_json_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-locale-cpp_cpp11.dir/src/unit-locale-cpp.cpp.o +[ 51%] Linking CXX executable test-locale-cpp_cpp11 +[ 51%] Built target test-locale-cpp_cpp11 +[ 52%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 52%] Linking CXX executable test-merge_patch_cpp11 +[ 52%] Built target test-merge_patch_cpp11 +[ 53%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 53%] Linking CXX executable test-meta_cpp11 +[ 53%] Built target test-meta_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 55%] Linking CXX executable test-modifiers_cpp11 +[ 55%] Built target test-modifiers_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 56%] Linking CXX executable test-msgpack_cpp11 +[ 56%] Built target test-msgpack_cpp11 +[ 56%] Building CXX object tests/CMakeFiles/test-no-mem-leak-on-adl-serialize_cpp11.dir/src/unit-no-mem-leak-on-adl-serialize.cpp.o +[ 57%] Linking CXX executable test-no-mem-leak-on-adl-serialize_cpp11 +[ 57%] Built target test-no-mem-leak-on-adl-serialize_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 58%] Linking CXX executable test-noexcept_cpp11 +[ 58%] Built target test-noexcept_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 59%] Linking CXX executable test-ordered_json_cpp11 +[ 59%] Built target test-ordered_json_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 60%] Linking CXX executable test-ordered_map_cpp11 +[ 60%] Built target test-ordered_map_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 61%] Linking CXX executable test-pointer_access_cpp11 +[ 61%] Built target test-pointer_access_cpp11 +[ 62%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 62%] Linking CXX executable test-readme_cpp11 +[ 62%] Built target test-readme_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 63%] Linking CXX executable test-reference_access_cpp11 +[ 63%] Built target test-reference_access_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 65%] Linking CXX executable test-regression1_cpp11 +[ 65%] Built target test-regression1_cpp11 +[ 65%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 66%] Linking CXX executable test-regression1_cpp17 +[ 66%] Built target test-regression1_cpp17 +[ 66%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 67%] Linking CXX executable test-regression2_cpp11 +[ 67%] Built target test-regression2_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 68%] Linking CXX executable test-regression2_cpp17 +[ 68%] Built target test-regression2_cpp17 +[ 69%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 69%] Linking CXX executable test-regression2_cpp20 +[ 69%] Built target test-regression2_cpp20 +[ 70%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 70%] Linking CXX executable test-serialization_cpp11 +[ 70%] Built target test-serialization_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 71%] Linking CXX executable test-testsuites_cpp11 +[ 71%] Built target test-testsuites_cpp11 +[ 72%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 72%] Linking CXX executable test-to_chars_cpp11 +[ 72%] Built target test-to_chars_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-type_traits_cpp11.dir/src/unit-type_traits.cpp.o +[ 74%] Linking CXX executable test-type_traits_cpp11 +[ 74%] Built target test-type_traits_cpp11 +[ 74%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 75%] Linking CXX executable test-ubjson_cpp11 +[ 75%] Built target test-ubjson_cpp11 +[ 75%] Building CXX object tests/CMakeFiles/test-udl_cpp11.dir/src/unit-udl.cpp.o +[ 76%] Linking CXX executable test-udl_cpp11 +[ 76%] Built target test-udl_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 77%] Linking CXX executable test-udt_cpp11 +[ 77%] Built target test-udt_cpp11 +[ 77%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 78%] Linking CXX executable test-udt_macro_cpp11 +[ 78%] Built target test-udt_macro_cpp11 +[ 79%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 79%] Linking CXX executable test-unicode1_cpp11 +[ 79%] Built target test-unicode1_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 80%] Linking CXX executable test-unicode2_cpp11 +[ 80%] Built target test-unicode2_cpp11 +[ 81%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 81%] Linking CXX executable test-unicode3_cpp11 +[ 81%] Built target test-unicode3_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 82%] Linking CXX executable test-unicode4_cpp11 +[ 82%] Built target test-unicode4_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 84%] Linking CXX executable test-unicode5_cpp11 +[ 84%] Built target test-unicode5_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 85%] Linking CXX executable test-user_defined_input_cpp11 +[ 85%] Built target test-user_defined_input_cpp11 +[ 85%] Building CXX object tests/CMakeFiles/test-windows_h_cpp11.dir/src/unit-windows_h.cpp.o +[ 86%] Linking CXX executable test-windows_h_cpp11 +[ 86%] Built target test-windows_h_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 87%] Linking CXX executable test-wstring_cpp11 +[ 87%] Built target test-wstring_cpp11 +[ 88%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 89%] Linking CXX executable test-comparison_legacy_cpp11 +[ 89%] Built target test-comparison_legacy_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[ 90%] Linking CXX executable test-comparison_legacy_cpp20 +[ 90%] Built target test-comparison_legacy_cpp20 +[ 90%] Building CXX object tests/abi/CMakeFiles/abi_compat_main.dir/main.cpp.o +[ 91%] Linking CXX static library libabi_compat_main.a +[ 91%] Built target abi_compat_main +[ 91%] Building CXX object tests/abi/config/CMakeFiles/abi_config_default.dir/default.cpp.o +[ 92%] Linking CXX executable abi_config_default +[ 92%] Built target abi_config_default +[ 92%] Building CXX object tests/abi/config/CMakeFiles/abi_config_noversion.dir/noversion.cpp.o +[ 93%] Linking CXX executable abi_config_noversion +[ 93%] Built target abi_config_noversion +[ 93%] Building CXX object tests/abi/config/CMakeFiles/abi_config_custom.dir/custom.cpp.o +[ 94%] Linking CXX executable abi_config_custom +[ 94%] Built target abi_config_custom +[ 94%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/diag_on.cpp.o +[ 95%] Linking CXX static library libabi_compat_diag_on.a +[ 95%] Built target abi_compat_diag_on +[ 95%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_off.dir/diag_off.cpp.o +[ 96%] Linking CXX static library libabi_compat_diag_off.a +[ 96%] Built target abi_compat_diag_off +[ 96%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag.dir/diag.cpp.o +[ 97%] Linking CXX executable abi_compat_diag +[ 97%] Built target abi_compat_diag +[ 97%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_v3_10_5.cpp.o +[ 98%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_current.cpp.o +[100%] Linking CXX executable abi_compat_inline_ns +[100%] Built target abi_compat_inline_ns +Test project /home/json/build + Start 1: download_test_data + 1/98 Test #1: download_test_data ........................... Passed 0.09 sec + Start 2: test-algorithms_cpp11 + 2/98 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/98 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/98 Test #4: test-alt-string_cpp11 ........................***Failed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/98 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/98 Test #6: test-binary_formats_cpp11 .................... Passed 20.86 sec + Start 7: test-bjdata_cpp11 + 7/98 Test #7: test-bjdata_cpp11 ............................ Passed 10.06 sec + Start 8: test-bson_cpp11 + 8/98 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/98 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/98 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/98 Test #11: test-cbor_cpp11 .............................. Passed 38.73 sec + Start 12: test-class_const_iterator_cpp11 +12/98 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/98 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/98 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/98 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/98 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/98 Test #17: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 18: test-concepts_cpp11 +18/98 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/98 Test #19: test-constructor1_cpp11 ...................... Passed 0.01 sec + Start 20: test-constructor2_cpp11 +20/98 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/98 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/98 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp14 +23/98 Test #23: test-conversions_cpp14 ....................... Passed 0.01 sec + Start 24: test-conversions_cpp17 +24/98 Test #24: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 25: test-custom-base-class_cpp11 +25/98 Test #25: test-custom-base-class_cpp11 ................. Passed 0.00 sec + Start 26: test-deserialization_cpp11 +26/98 Test #26: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 27: test-deserialization_cpp20 +27/98 Test #27: test-deserialization_cpp20 ................... Passed 0.01 sec + Start 28: test-diagnostics_cpp11 +28/98 Test #28: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 29: test-disabled_exceptions_cpp11 +29/98 Test #29: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 30: test-element_access1_cpp11 +30/98 Test #30: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 31: test-element_access2_cpp11 +31/98 Test #31: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 32: test-element_access2_cpp14 +32/98 Test #32: test-element_access2_cpp14 ................... Passed 0.01 sec + Start 33: test-element_access2_cpp17 +33/98 Test #33: test-element_access2_cpp17 ................... Passed 0.01 sec + Start 34: test-hash_cpp11 +34/98 Test #34: test-hash_cpp11 .............................. Passed 0.00 sec + Start 35: test-inspection_cpp11 +35/98 Test #35: test-inspection_cpp11 ........................ Passed 5.09 sec + Start 36: test-items_cpp11 +36/98 Test #36: test-items_cpp11 ............................. Passed 0.00 sec + Start 37: test-items_cpp17 +37/98 Test #37: test-items_cpp17 ............................. Passed 0.00 sec + Start 38: test-iterators1_cpp11 +38/98 Test #38: test-iterators1_cpp11 ........................ Passed 0.00 sec + Start 39: test-iterators2_cpp11 +39/98 Test #39: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 40: test-iterators2_cpp20 +40/98 Test #40: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 41: test-iterators3_cpp11 +41/98 Test #41: test-iterators3_cpp11 ........................ Passed 0.00 sec + Start 42: test-iterators3_cpp14 +42/98 Test #42: test-iterators3_cpp14 ........................ Passed 0.00 sec + Start 43: test-json_patch_cpp11 +43/98 Test #43: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 44: test-json_pointer_cpp11 +44/98 Test #44: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 45: test-json_pointer_cpp20 +45/98 Test #45: test-json_pointer_cpp20 ...................... Passed 0.00 sec + Start 46: test-large_json_cpp11 +46/98 Test #46: test-large_json_cpp11 ........................ Passed 4.89 sec + Start 47: test-locale-cpp_cpp11 +47/98 Test #47: test-locale-cpp_cpp11 ........................ Passed 0.00 sec + Start 48: test-merge_patch_cpp11 +48/98 Test #48: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 49: test-meta_cpp11 +49/98 Test #49: test-meta_cpp11 .............................. Passed 0.00 sec + Start 50: test-modifiers_cpp11 +50/98 Test #50: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 51: test-msgpack_cpp11 +51/98 Test #51: test-msgpack_cpp11 ........................... Passed 38.19 sec + Start 52: test-no-mem-leak-on-adl-serialize_cpp11 +52/98 Test #52: test-no-mem-leak-on-adl-serialize_cpp11 ...... Passed 0.00 sec + Start 53: test-noexcept_cpp11 +53/98 Test #53: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 54: test-ordered_json_cpp11 +54/98 Test #54: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 55: test-ordered_map_cpp11 +55/98 Test #55: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 56: test-pointer_access_cpp11 +56/98 Test #56: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 57: test-readme_cpp11 +57/98 Test #57: test-readme_cpp11 ............................ Passed 0.00 sec + Start 58: test-reference_access_cpp11 +58/98 Test #58: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 59: test-regression1_cpp11 +59/98 Test #59: test-regression1_cpp11 ....................... Passed 6.03 sec + Start 60: test-regression1_cpp17 +60/98 Test #60: test-regression1_cpp17 ....................... Passed 7.02 sec + Start 61: test-regression2_cpp11 +61/98 Test #61: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 62: test-regression2_cpp17 +62/98 Test #62: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 63: test-regression2_cpp20 +63/98 Test #63: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 64: test-serialization_cpp11 +64/98 Test #64: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 65: test-testsuites_cpp11 +65/98 Test #65: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 66: test-to_chars_cpp11 +66/98 Test #66: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 67: test-type_traits_cpp11 +67/98 Test #67: test-type_traits_cpp11 ....................... Passed 0.00 sec + Start 68: test-ubjson_cpp11 +68/98 Test #68: test-ubjson_cpp11 ............................ Passed 12.59 sec + Start 69: test-udl_cpp11 +69/98 Test #69: test-udl_cpp11 ............................... Passed 0.00 sec + Start 70: test-udt_cpp11 +70/98 Test #70: test-udt_cpp11 ............................... Passed 0.00 sec + Start 71: test-udt_macro_cpp11 +71/98 Test #71: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 72: test-unicode1_cpp11 +72/98 Test #72: test-unicode1_cpp11 .......................... Passed 5.75 sec + Start 73: test-unicode2_cpp11 +73/98 Test #73: test-unicode2_cpp11 .......................... Passed 10.53 sec + Start 74: test-unicode3_cpp11 +74/98 Test #74: test-unicode3_cpp11 .......................... Passed 38.50 sec + Start 75: test-unicode4_cpp11 +75/98 Test #75: test-unicode4_cpp11 .......................... Passed 127.43 sec + Start 76: test-unicode5_cpp11 +76/98 Test #76: test-unicode5_cpp11 .......................... Passed 30.41 sec + Start 77: test-user_defined_input_cpp11 +77/98 Test #77: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 78: test-windows_h_cpp11 +78/98 Test #78: test-windows_h_cpp11 ......................... Passed 0.00 sec + Start 79: test-wstring_cpp11 +79/98 Test #79: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 80: test-comparison_legacy_cpp11 +80/98 Test #80: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 81: test-comparison_legacy_cpp20 +81/98 Test #81: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 82: test-abi_config_default +82/98 Test #82: test-abi_config_default ...................... Passed 0.00 sec + Start 83: test-abi_config_noversion +83/98 Test #83: test-abi_config_noversion .................... Passed 0.00 sec + Start 84: test-abi_config_custom +84/98 Test #84: test-abi_config_custom ....................... Passed 0.00 sec + Start 85: test-abi_compat_diag +85/98 Test #85: test-abi_compat_diag ......................... Passed 0.00 sec + Start 86: test-abi_compat_inline_ns +86/98 Test #86: test-abi_compat_inline_ns .................... Passed 0.00 sec + Start 87: cmake_import_configure +87/98 Test #87: cmake_import_configure ....................... Passed 0.20 sec + Start 88: cmake_import_build +88/98 Test #88: cmake_import_build ........................... Passed 2.98 sec + Start 89: cmake_import_minver_configure +89/98 Test #89: cmake_import_minver_configure ................ Passed 0.20 sec + Start 90: cmake_import_minver_build +90/98 Test #90: cmake_import_minver_build .................... Passed 1.51 sec + Start 91: cmake_add_subdirectory_configure +91/98 Test #91: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 92: cmake_add_subdirectory_build +92/98 Test #92: cmake_add_subdirectory_build ................. Passed 4.39 sec + Start 93: cmake_fetch_content_configure +93/98 Test #93: cmake_fetch_content_configure ................ Passed 0.96 sec + Start 94: cmake_fetch_content_build +94/98 Test #94: cmake_fetch_content_build .................... Passed 3.01 sec + Start 95: cmake_fetch_content2_configure +95/98 Test #95: cmake_fetch_content2_configure ............... Passed 0.69 sec + Start 96: cmake_fetch_content2_build +96/98 Test #96: cmake_fetch_content2_build ................... Passed 2.98 sec + Start 97: cmake_target_include_directories_configure +97/98 Test #97: cmake_target_include_directories_configure ... Passed 0.21 sec + Start 98: cmake_target_include_directories_build +98/98 Test #98: cmake_target_include_directories_build ....... Passed 5.27 sec + +99% tests passed, 1 tests failed out of 98 + +Label Time Summary: +all = 356.45 sec*proc (80 tests) +git_required = 7.63 sec*proc (4 tests) +not_reproducible = 22.60 sec*proc (12 tests) + +Total Test time (real) = 379.18 sec + +The following tests FAILED: + 4 - test-alt-string_cpp11 (Failed) +Errors while running CTest +Output from these tests are in: /home/json/build/Testing/Temporary/LastTest.log +Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/fix.patch new file mode 100644 index 000000000..b8ce403c0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/fix.patch @@ -0,0 +1,106 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 763fd957..0de24208 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -4702,7 +4702,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + // the valid JSON Patch operations + enum class patch_operations {add, remove, replace, move, copy, test, invalid}; + +- const auto get_op = [](const std::string & op) ++ const auto get_op = [](const string_t & op) + { + if (op == "add") + { +@@ -4839,8 +4839,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + for (const auto& val : json_patch) + { + // wrapper to get a value for an operation +- const auto get_value = [&val](const std::string & op, +- const std::string & member, ++ const auto get_value = [&val](const string_t & op, ++ const string_t & member, + bool string_type) -> basic_json & + { + // find value +@@ -4874,8 +4874,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + // collect mandatory members +- const auto op = get_value("op", "op", true).template get(); +- const auto path = get_value(op, "path", true).template get(); ++ const auto op = get_value("op", "op", true).template get(); ++ const auto path = get_value(op, "path", true).template get(); + json_pointer ptr(path); + + switch (get_op(op)) +@@ -4901,7 +4901,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + + case patch_operations::move: + { +- const auto from_path = get_value("move", "from", true).template get(); ++ const auto from_path = get_value("move", "from", true).template get(); + json_pointer from_ptr(from_path); + + // the "from" location must exist - use at() +@@ -4918,7 +4918,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + + case patch_operations::copy: + { +- const auto from_path = get_value("copy", "from", true).template get(); ++ const auto from_path = get_value("copy", "from", true).template get(); + const json_pointer from_ptr(from_path); + + // the "from" location must exist - use at() +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 7979227a..ecb38dcd 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -24249,7 +24249,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + // the valid JSON Patch operations + enum class patch_operations {add, remove, replace, move, copy, test, invalid}; + +- const auto get_op = [](const std::string & op) ++ const auto get_op = [](const string_t & op) + { + if (op == "add") + { +@@ -24386,8 +24386,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + for (const auto& val : json_patch) + { + // wrapper to get a value for an operation +- const auto get_value = [&val](const std::string & op, +- const std::string & member, ++ const auto get_value = [&val](const string_t & op, ++ const string_t & member, + bool string_type) -> basic_json & + { + // find value +@@ -24421,8 +24421,8 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + // collect mandatory members +- const auto op = get_value("op", "op", true).template get(); +- const auto path = get_value(op, "path", true).template get(); ++ const auto op = get_value("op", "op", true).template get(); ++ const auto path = get_value(op, "path", true).template get(); + json_pointer ptr(path); + + switch (get_op(op)) +@@ -24448,7 +24448,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + + case patch_operations::move: + { +- const auto from_path = get_value("move", "from", true).template get(); ++ const auto from_path = get_value("move", "from", true).template get(); + json_pointer from_ptr(from_path); + + // the "from" location must exist - use at() +@@ -24465,7 +24465,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + + case patch_operations::copy: + { +- const auto from_path = get_value("copy", "from", true).template get(); ++ const auto from_path = get_value("copy", "from", true).template get(); + const json_pointer from_ptr(from_path); + + // the "from" location must exist - use at() diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/report.json new file mode 100644 index 000000000..7a12f1a1a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4536/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 4536, "valid": true, "error_msg": "", "fixed_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-custom-base-class_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_config_custom": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-no-mem-leak-on-adl-serialize_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-type_traits_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_config_noversion": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_compat_diag": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_config_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-locale-cpp_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-windows_h_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_compat_inline_ns": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators3_cpp14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udl_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-custom-base-class_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_config_custom": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-no-mem-leak-on-adl-serialize_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-type_traits_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_config_noversion": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_compat_diag": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_config_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-locale-cpp_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-windows_h_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-abi_compat_inline_ns": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators3_cpp14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_cpp14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udl_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators3_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 98, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-abi_config_custom", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-iterators3_cpp14", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-iterators3_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 97, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "test-abi_config_custom", "cmake_fetch_content2_build", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "test-iterators3_cpp14", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-iterators3_cpp11", "test-modifiers_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/fix-patch-run.log new file mode 100644 index 000000000..642ed4cfd --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/fix-patch-run.log @@ -0,0 +1,737 @@ +检测到 Debian 12 系统 +进入12+系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bookworm InRelease [151 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm-updates InRelease [55.4 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bookworm-security InRelease [48.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 Packages [8790 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm-updates/main amd64 Packages [6924 B] +Get:6 http://mirrors.tools.huawei.com/debian-security bookworm-security/main amd64 Packages [316 kB] +Fetched 9368 kB in 1s (6547 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +patch is already the newest version (2.7.6-7). +build-essential is already the newest version (12.9). +libpcre2-dev is already the newest version (10.42-1). +libpcre2-dev set to manually installed. +libncurses-dev is already the newest version (6.4-4). +libncurses-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +The following additional packages will be installed: + libonig5 libssl3 openssl +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl3 openssl +3 upgraded, 2 newly installed, 0 to remove and 156 not upgraded. +Need to get 6203 kB of archives. +After this operation, 780 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig5 amd64 6.9.8-1 [188 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libonig-dev amd64 6.9.8-1 [96.7 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl-dev amd64 3.0.20-1~deb12u2 [2443 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libssl3 amd64 3.0.20-1~deb12u2 [2036 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 openssl amd64 3.0.20-1~deb12u2 [1439 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 6203 kB in 0s (17.4 MB/s) +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30609 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.8-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.8-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.8-1_amd64.deb ... +Unpacking libonig-dev (6.9.8-1) ... +Preparing to unpack .../libssl-dev_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl-dev:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../libssl3_3.0.20-1~deb12u2_amd64.deb ... +Unpacking libssl3:amd64 (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Preparing to unpack .../openssl_3.0.20-1~deb12u2_amd64.deb ... +Unpacking openssl (3.0.20-1~deb12u2) over (3.0.15-1~deb12u1) ... +Setting up libssl3:amd64 (3.0.20-1~deb12u2) ... +Setting up libssl-dev:amd64 (3.0.20-1~deb12u2) ... +Setting up openssl (3.0.20-1~deb12u2) ... +Setting up libonig5:amd64 (6.9.8-1) ... +Setting up libonig-dev (6.9.8-1) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.25.1-1). +zlib1g-dev is already the newest version (1:1.2.13.dfsg-1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.21.3-1+deb12u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 libsodium23 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 libsodium23 vim vim-common vim-runtime xxd +0 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 8980 kB of archives. +After this operation, 41.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-common all 2:9.0.1378-2+deb12u2 [125 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libgpm2 amd64 1.20.7-10+b1 [14.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libsodium23 amd64 1.0.18-1+deb12u1 [162 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim-runtime all 2:9.0.1378-2+deb12u2 [7027 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 vim amd64 2:9.0.1378-2+deb12u2 [1568 kB] +Get:6 http://mirrors.tools.huawei.com/debian bookworm/main amd64 xxd amd64 2:9.0.1378-2+deb12u2 [84.1 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8980 kB in 0s (21.7 MB/s) +Selecting previously unselected package vim-common. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 30652 files and directories currently installed.) +Preparing to unpack .../0-vim-common_2%3a9.0.1378-2+deb12u2_all.deb ... +Unpacking vim-common (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../1-libgpm2_1.20.7-10+b1_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-10+b1) ... +Selecting previously unselected package libsodium23:amd64. +Preparing to unpack .../2-libsodium23_1.0.18-1+deb12u1_amd64.deb ... +Unpacking libsodium23:amd64 (1.0.18-1+deb12u1) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../3-vim-runtime_2%3a9.0.1378-2+deb12u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim90/doc/help.txt to /usr/share/vim/vim90/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim90/doc/tags to /usr/share/vim/vim90/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../4-vim_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking vim (2:9.0.1378-2+deb12u2) ... +Selecting previously unselected package xxd. +Preparing to unpack .../5-xxd_2%3a9.0.1378-2+deb12u2_amd64.deb ... +Unpacking xxd (2:9.0.1378-2+deb12u2) ... +Setting up libsodium23:amd64 (1.0.18-1+deb12u1) ... +Setting up libgpm2:amd64 (1.20.7-10+b1) ... +Setting up xxd (2:9.0.1378-2+deb12u2) ... +Setting up vim-common (2:9.0.1378-2+deb12u2) ... +Setting up vim-runtime (2:9.0.1378-2+deb12u2) ... +Setting up vim (2:9.0.1378-2+deb12u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +Processing triggers for libc-bin (2.36-9+deb12u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl3-gnutls libcurl3-nss libcurl4 libcurl4-openssl-dev +5 upgraded, 0 newly installed, 0 to remove and 151 not upgraded. +Need to get 1982 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4-openssl-dev amd64 7.88.1-10+deb12u15 [493 kB] +Get:2 http://mirrors.tools.huawei.com/debian bookworm/main amd64 curl amd64 7.88.1-10+deb12u15 [316 kB] +Get:3 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl4 amd64 7.88.1-10+deb12u15 [392 kB] +Get:4 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-gnutls amd64 7.88.1-10+deb12u15 [386 kB] +Get:5 http://mirrors.tools.huawei.com/debian bookworm/main amd64 libcurl3-nss amd64 7.88.1-10+deb12u15 [396 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1982 kB in 0s (5546 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 32809 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../curl_7.88.1-10+deb12u15_amd64.deb ... +Unpacking curl (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl4_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl4:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-gnutls_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Preparing to unpack .../libcurl3-nss_7.88.1-10+deb12u15_amd64.deb ... +Unpacking libcurl3-nss:amd64 (7.88.1-10+deb12u15) over (7.88.1-10+deb12u12) ... +Setting up libcurl3-gnutls:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl3-nss:amd64 (7.88.1-10+deb12u15) ... +Setting up libcurl4:amd64 (7.88.1-10+deb12u15) ... +Setting up curl (7.88.1-10+deb12u15) ... +Setting up libcurl4-openssl-dev:amd64 (7.88.1-10+deb12u15) ... +Processing triggers for libc-bin (2.36-9+deb12u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.LTQQzQQy +[abcert][INFO] Operating system: Debian GNU/Linux 12 (bookworm) +[abcert][INFO] Installing certificates +'.tmp.pems.LTQQzQQy/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.LTQQzQQy/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.LTQQzQQy/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.LTQQzQQy/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.LTQQzQQy/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.LTQQzQQy +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=a80b9bdc3883 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.XHKk0RKbIV/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=14.2.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file tests/src/unit-diagnostics.cpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 14.2.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the multi-header code from /home/json/include/ +-- Found Git: /usr/bin/git (found version "2.39.5") +-- Operating system: Linux-6.8.0-41-generic; Linux a80b9bdc3883 6.8.0-41-generic #41-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 2 20:41:06 UTC 2024 x86_64 GNU/Linux +-- Compiler: c++ (GCC) 14.2.0; Copyright (C) 2024 Free Software Foundation, Inc.; This is free software; see the source for copying conditions. There is NO; warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. +-- Testing standards: 11 14 17 20 23 +-- Looking for C++ include sys/types.h +-- Looking for C++ include sys/types.h - found +-- Looking for C++ include stdint.h +-- Looking for C++ include stdint.h - found +-- Looking for C++ include stddef.h +-- Looking for C++ include stddef.h - found +-- Check size of size_t +-- Check size of size_t - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +[ 1%] Building CXX object tests/CMakeFiles/test_main.dir/src/unit.cpp.o +[ 1%] Built target test_main +[ 1%] Building CXX object tests/CMakeFiles/test-algorithms_cpp11.dir/src/unit-algorithms.cpp.o +[ 2%] Linking CXX executable test-algorithms_cpp11 +[ 2%] Built target test-algorithms_cpp11 +[ 2%] Building CXX object tests/CMakeFiles/test-allocator_cpp11.dir/src/unit-allocator.cpp.o +[ 3%] Linking CXX executable test-allocator_cpp11 +[ 3%] Built target test-allocator_cpp11 +[ 3%] Building CXX object tests/CMakeFiles/test-alt-string_cpp11.dir/src/unit-alt-string.cpp.o +[ 4%] Linking CXX executable test-alt-string_cpp11 +[ 4%] Built target test-alt-string_cpp11 +[ 4%] Building CXX object tests/CMakeFiles/test-assert_macro_cpp11.dir/src/unit-assert_macro.cpp.o +[ 5%] Linking CXX executable test-assert_macro_cpp11 +[ 5%] Built target test-assert_macro_cpp11 +[ 6%] Building CXX object tests/CMakeFiles/test-binary_formats_cpp11.dir/src/unit-binary_formats.cpp.o +[ 6%] Linking CXX executable test-binary_formats_cpp11 +[ 6%] Built target test-binary_formats_cpp11 +[ 7%] Building CXX object tests/CMakeFiles/test-bjdata_cpp11.dir/src/unit-bjdata.cpp.o +[ 7%] Linking CXX executable test-bjdata_cpp11 +[ 7%] Built target test-bjdata_cpp11 +[ 8%] Building CXX object tests/CMakeFiles/test-bson_cpp11.dir/src/unit-bson.cpp.o +[ 8%] Linking CXX executable test-bson_cpp11 +[ 8%] Built target test-bson_cpp11 +[ 9%] Building CXX object tests/CMakeFiles/test-byte_container_with_subtype_cpp11.dir/src/unit-byte_container_with_subtype.cpp.o +[ 9%] Linking CXX executable test-byte_container_with_subtype_cpp11 +[ 9%] Built target test-byte_container_with_subtype_cpp11 +[ 10%] Building CXX object tests/CMakeFiles/test-capacity_cpp11.dir/src/unit-capacity.cpp.o +[ 11%] Linking CXX executable test-capacity_cpp11 +[ 11%] Built target test-capacity_cpp11 +[ 11%] Building CXX object tests/CMakeFiles/test-cbor_cpp11.dir/src/unit-cbor.cpp.o +[ 12%] Linking CXX executable test-cbor_cpp11 +[ 12%] Built target test-cbor_cpp11 +[ 12%] Building CXX object tests/CMakeFiles/test-class_const_iterator_cpp11.dir/src/unit-class_const_iterator.cpp.o +[ 13%] Linking CXX executable test-class_const_iterator_cpp11 +[ 13%] Built target test-class_const_iterator_cpp11 +[ 13%] Building CXX object tests/CMakeFiles/test-class_iterator_cpp11.dir/src/unit-class_iterator.cpp.o +[ 14%] Linking CXX executable test-class_iterator_cpp11 +[ 14%] Built target test-class_iterator_cpp11 +[ 15%] Building CXX object tests/CMakeFiles/test-class_lexer_cpp11.dir/src/unit-class_lexer.cpp.o +[ 15%] Linking CXX executable test-class_lexer_cpp11 +[ 15%] Built target test-class_lexer_cpp11 +[ 16%] Building CXX object tests/CMakeFiles/test-class_parser_cpp11.dir/src/unit-class_parser.cpp.o +[ 16%] Linking CXX executable test-class_parser_cpp11 +[ 16%] Built target test-class_parser_cpp11 +[ 17%] Building CXX object tests/CMakeFiles/test-comparison_cpp11.dir/src/unit-comparison.cpp.o +[ 17%] Linking CXX executable test-comparison_cpp11 +[ 17%] Built target test-comparison_cpp11 +[ 18%] Building CXX object tests/CMakeFiles/test-comparison_cpp20.dir/src/unit-comparison.cpp.o +[ 18%] Linking CXX executable test-comparison_cpp20 +[ 18%] Built target test-comparison_cpp20 +[ 18%] Building CXX object tests/CMakeFiles/test-concepts_cpp11.dir/src/unit-concepts.cpp.o +[ 19%] Linking CXX executable test-concepts_cpp11 +[ 19%] Built target test-concepts_cpp11 +[ 19%] Building CXX object tests/CMakeFiles/test-constructor1_cpp11.dir/src/unit-constructor1.cpp.o +[ 20%] Linking CXX executable test-constructor1_cpp11 +[ 20%] Built target test-constructor1_cpp11 +[ 20%] Building CXX object tests/CMakeFiles/test-constructor2_cpp11.dir/src/unit-constructor2.cpp.o +[ 21%] Linking CXX executable test-constructor2_cpp11 +[ 21%] Built target test-constructor2_cpp11 +[ 22%] Building CXX object tests/CMakeFiles/test-convenience_cpp11.dir/src/unit-convenience.cpp.o +[ 22%] Linking CXX executable test-convenience_cpp11 +[ 22%] Built target test-convenience_cpp11 +[ 23%] Building CXX object tests/CMakeFiles/test-conversions_cpp11.dir/src/unit-conversions.cpp.o +[ 23%] Linking CXX executable test-conversions_cpp11 +[ 23%] Built target test-conversions_cpp11 +[ 24%] Building CXX object tests/CMakeFiles/test-conversions_cpp14.dir/src/unit-conversions.cpp.o +[ 24%] Linking CXX executable test-conversions_cpp14 +[ 24%] Built target test-conversions_cpp14 +[ 25%] Building CXX object tests/CMakeFiles/test-conversions_cpp17.dir/src/unit-conversions.cpp.o +[ 25%] Linking CXX executable test-conversions_cpp17 +[ 25%] Built target test-conversions_cpp17 +[ 26%] Building CXX object tests/CMakeFiles/test-custom-base-class_cpp11.dir/src/unit-custom-base-class.cpp.o +[ 27%] Linking CXX executable test-custom-base-class_cpp11 +[ 27%] Built target test-custom-base-class_cpp11 +[ 27%] Building CXX object tests/CMakeFiles/test-deserialization_cpp11.dir/src/unit-deserialization.cpp.o +[ 28%] Linking CXX executable test-deserialization_cpp11 +[ 28%] Built target test-deserialization_cpp11 +[ 28%] Building CXX object tests/CMakeFiles/test-deserialization_cpp20.dir/src/unit-deserialization.cpp.o +[ 29%] Linking CXX executable test-deserialization_cpp20 +[ 29%] Built target test-deserialization_cpp20 +[ 29%] Building CXX object tests/CMakeFiles/test-diagnostics_cpp11.dir/src/unit-diagnostics.cpp.o +[ 30%] Linking CXX executable test-diagnostics_cpp11 +[ 30%] Built target test-diagnostics_cpp11 +[ 31%] Building CXX object tests/CMakeFiles/test-disabled_exceptions_cpp11.dir/src/unit-disabled_exceptions.cpp.o +[ 31%] Linking CXX executable test-disabled_exceptions_cpp11 +[ 31%] Built target test-disabled_exceptions_cpp11 +[ 32%] Building CXX object tests/CMakeFiles/test-element_access1_cpp11.dir/src/unit-element_access1.cpp.o +[ 32%] Linking CXX executable test-element_access1_cpp11 +[ 32%] Built target test-element_access1_cpp11 +[ 33%] Building CXX object tests/CMakeFiles/test-element_access2_cpp11.dir/src/unit-element_access2.cpp.o +[ 33%] Linking CXX executable test-element_access2_cpp11 +[ 33%] Built target test-element_access2_cpp11 +[ 34%] Building CXX object tests/CMakeFiles/test-element_access2_cpp14.dir/src/unit-element_access2.cpp.o +[ 34%] Linking CXX executable test-element_access2_cpp14 +[ 34%] Built target test-element_access2_cpp14 +[ 35%] Building CXX object tests/CMakeFiles/test-element_access2_cpp17.dir/src/unit-element_access2.cpp.o +[ 36%] Linking CXX executable test-element_access2_cpp17 +[ 36%] Built target test-element_access2_cpp17 +[ 36%] Building CXX object tests/CMakeFiles/test-hash_cpp11.dir/src/unit-hash.cpp.o +[ 37%] Linking CXX executable test-hash_cpp11 +[ 37%] Built target test-hash_cpp11 +[ 37%] Building CXX object tests/CMakeFiles/test-inspection_cpp11.dir/src/unit-inspection.cpp.o +[ 38%] Linking CXX executable test-inspection_cpp11 +[ 38%] Built target test-inspection_cpp11 +[ 38%] Building CXX object tests/CMakeFiles/test-items_cpp11.dir/src/unit-items.cpp.o +[ 39%] Linking CXX executable test-items_cpp11 +[ 39%] Built target test-items_cpp11 +[ 39%] Building CXX object tests/CMakeFiles/test-items_cpp17.dir/src/unit-items.cpp.o +[ 40%] Linking CXX executable test-items_cpp17 +[ 40%] Built target test-items_cpp17 +[ 41%] Building CXX object tests/CMakeFiles/test-iterators1_cpp11.dir/src/unit-iterators1.cpp.o +[ 41%] Linking CXX executable test-iterators1_cpp11 +[ 41%] Built target test-iterators1_cpp11 +[ 42%] Building CXX object tests/CMakeFiles/test-iterators2_cpp11.dir/src/unit-iterators2.cpp.o +[ 42%] Linking CXX executable test-iterators2_cpp11 +[ 42%] Built target test-iterators2_cpp11 +[ 43%] Building CXX object tests/CMakeFiles/test-iterators2_cpp20.dir/src/unit-iterators2.cpp.o +[ 43%] Linking CXX executable test-iterators2_cpp20 +[ 43%] Built target test-iterators2_cpp20 +[ 44%] Building CXX object tests/CMakeFiles/test-iterators3_cpp11.dir/src/unit-iterators3.cpp.o +[ 44%] Linking CXX executable test-iterators3_cpp11 +[ 44%] Built target test-iterators3_cpp11 +[ 45%] Building CXX object tests/CMakeFiles/test-iterators3_cpp14.dir/src/unit-iterators3.cpp.o +[ 46%] Linking CXX executable test-iterators3_cpp14 +[ 46%] Built target test-iterators3_cpp14 +[ 46%] Building CXX object tests/CMakeFiles/test-json_patch_cpp11.dir/src/unit-json_patch.cpp.o +[ 47%] Linking CXX executable test-json_patch_cpp11 +[ 47%] Built target test-json_patch_cpp11 +[ 47%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp11.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer_cpp11 +[ 48%] Built target test-json_pointer_cpp11 +[ 48%] Building CXX object tests/CMakeFiles/test-json_pointer_cpp20.dir/src/unit-json_pointer.cpp.o +[ 49%] Linking CXX executable test-json_pointer_cpp20 +[ 49%] Built target test-json_pointer_cpp20 +[ 50%] Building CXX object tests/CMakeFiles/test-large_json_cpp11.dir/src/unit-large_json.cpp.o +[ 50%] Linking CXX executable test-large_json_cpp11 +[ 50%] Built target test-large_json_cpp11 +[ 51%] Building CXX object tests/CMakeFiles/test-locale-cpp_cpp11.dir/src/unit-locale-cpp.cpp.o +[ 51%] Linking CXX executable test-locale-cpp_cpp11 +[ 51%] Built target test-locale-cpp_cpp11 +[ 52%] Building CXX object tests/CMakeFiles/test-merge_patch_cpp11.dir/src/unit-merge_patch.cpp.o +[ 52%] Linking CXX executable test-merge_patch_cpp11 +[ 52%] Built target test-merge_patch_cpp11 +[ 53%] Building CXX object tests/CMakeFiles/test-meta_cpp11.dir/src/unit-meta.cpp.o +[ 53%] Linking CXX executable test-meta_cpp11 +[ 53%] Built target test-meta_cpp11 +[ 54%] Building CXX object tests/CMakeFiles/test-modifiers_cpp11.dir/src/unit-modifiers.cpp.o +[ 55%] Linking CXX executable test-modifiers_cpp11 +[ 55%] Built target test-modifiers_cpp11 +[ 55%] Building CXX object tests/CMakeFiles/test-msgpack_cpp11.dir/src/unit-msgpack.cpp.o +[ 56%] Linking CXX executable test-msgpack_cpp11 +[ 56%] Built target test-msgpack_cpp11 +[ 56%] Building CXX object tests/CMakeFiles/test-no-mem-leak-on-adl-serialize_cpp11.dir/src/unit-no-mem-leak-on-adl-serialize.cpp.o +[ 57%] Linking CXX executable test-no-mem-leak-on-adl-serialize_cpp11 +[ 57%] Built target test-no-mem-leak-on-adl-serialize_cpp11 +[ 57%] Building CXX object tests/CMakeFiles/test-noexcept_cpp11.dir/src/unit-noexcept.cpp.o +[ 58%] Linking CXX executable test-noexcept_cpp11 +[ 58%] Built target test-noexcept_cpp11 +[ 58%] Building CXX object tests/CMakeFiles/test-ordered_json_cpp11.dir/src/unit-ordered_json.cpp.o +[ 59%] Linking CXX executable test-ordered_json_cpp11 +[ 59%] Built target test-ordered_json_cpp11 +[ 60%] Building CXX object tests/CMakeFiles/test-ordered_map_cpp11.dir/src/unit-ordered_map.cpp.o +[ 60%] Linking CXX executable test-ordered_map_cpp11 +[ 60%] Built target test-ordered_map_cpp11 +[ 61%] Building CXX object tests/CMakeFiles/test-pointer_access_cpp11.dir/src/unit-pointer_access.cpp.o +[ 61%] Linking CXX executable test-pointer_access_cpp11 +[ 61%] Built target test-pointer_access_cpp11 +[ 62%] Building CXX object tests/CMakeFiles/test-readme_cpp11.dir/src/unit-readme.cpp.o +[ 62%] Linking CXX executable test-readme_cpp11 +[ 62%] Built target test-readme_cpp11 +[ 63%] Building CXX object tests/CMakeFiles/test-reference_access_cpp11.dir/src/unit-reference_access.cpp.o +[ 63%] Linking CXX executable test-reference_access_cpp11 +[ 63%] Built target test-reference_access_cpp11 +[ 64%] Building CXX object tests/CMakeFiles/test-regression1_cpp11.dir/src/unit-regression1.cpp.o +[ 65%] Linking CXX executable test-regression1_cpp11 +[ 65%] Built target test-regression1_cpp11 +[ 65%] Building CXX object tests/CMakeFiles/test-regression1_cpp17.dir/src/unit-regression1.cpp.o +[ 66%] Linking CXX executable test-regression1_cpp17 +[ 66%] Built target test-regression1_cpp17 +[ 66%] Building CXX object tests/CMakeFiles/test-regression2_cpp11.dir/src/unit-regression2.cpp.o +[ 67%] Linking CXX executable test-regression2_cpp11 +[ 67%] Built target test-regression2_cpp11 +[ 67%] Building CXX object tests/CMakeFiles/test-regression2_cpp17.dir/src/unit-regression2.cpp.o +[ 68%] Linking CXX executable test-regression2_cpp17 +[ 68%] Built target test-regression2_cpp17 +[ 69%] Building CXX object tests/CMakeFiles/test-regression2_cpp20.dir/src/unit-regression2.cpp.o +[ 69%] Linking CXX executable test-regression2_cpp20 +[ 69%] Built target test-regression2_cpp20 +[ 70%] Building CXX object tests/CMakeFiles/test-serialization_cpp11.dir/src/unit-serialization.cpp.o +[ 70%] Linking CXX executable test-serialization_cpp11 +[ 70%] Built target test-serialization_cpp11 +[ 71%] Building CXX object tests/CMakeFiles/test-testsuites_cpp11.dir/src/unit-testsuites.cpp.o +[ 71%] Linking CXX executable test-testsuites_cpp11 +[ 71%] Built target test-testsuites_cpp11 +[ 72%] Building CXX object tests/CMakeFiles/test-to_chars_cpp11.dir/src/unit-to_chars.cpp.o +[ 72%] Linking CXX executable test-to_chars_cpp11 +[ 72%] Built target test-to_chars_cpp11 +[ 73%] Building CXX object tests/CMakeFiles/test-type_traits_cpp11.dir/src/unit-type_traits.cpp.o +[ 74%] Linking CXX executable test-type_traits_cpp11 +[ 74%] Built target test-type_traits_cpp11 +[ 74%] Building CXX object tests/CMakeFiles/test-ubjson_cpp11.dir/src/unit-ubjson.cpp.o +[ 75%] Linking CXX executable test-ubjson_cpp11 +[ 75%] Built target test-ubjson_cpp11 +[ 75%] Building CXX object tests/CMakeFiles/test-udl_cpp11.dir/src/unit-udl.cpp.o +[ 76%] Linking CXX executable test-udl_cpp11 +[ 76%] Built target test-udl_cpp11 +[ 76%] Building CXX object tests/CMakeFiles/test-udt_cpp11.dir/src/unit-udt.cpp.o +[ 77%] Linking CXX executable test-udt_cpp11 +[ 77%] Built target test-udt_cpp11 +[ 77%] Building CXX object tests/CMakeFiles/test-udt_macro_cpp11.dir/src/unit-udt_macro.cpp.o +[ 78%] Linking CXX executable test-udt_macro_cpp11 +[ 78%] Built target test-udt_macro_cpp11 +[ 79%] Building CXX object tests/CMakeFiles/test-unicode1_cpp11.dir/src/unit-unicode1.cpp.o +[ 79%] Linking CXX executable test-unicode1_cpp11 +[ 79%] Built target test-unicode1_cpp11 +[ 80%] Building CXX object tests/CMakeFiles/test-unicode2_cpp11.dir/src/unit-unicode2.cpp.o +[ 80%] Linking CXX executable test-unicode2_cpp11 +[ 80%] Built target test-unicode2_cpp11 +[ 81%] Building CXX object tests/CMakeFiles/test-unicode3_cpp11.dir/src/unit-unicode3.cpp.o +[ 81%] Linking CXX executable test-unicode3_cpp11 +[ 81%] Built target test-unicode3_cpp11 +[ 82%] Building CXX object tests/CMakeFiles/test-unicode4_cpp11.dir/src/unit-unicode4.cpp.o +[ 82%] Linking CXX executable test-unicode4_cpp11 +[ 82%] Built target test-unicode4_cpp11 +[ 83%] Building CXX object tests/CMakeFiles/test-unicode5_cpp11.dir/src/unit-unicode5.cpp.o +[ 84%] Linking CXX executable test-unicode5_cpp11 +[ 84%] Built target test-unicode5_cpp11 +[ 84%] Building CXX object tests/CMakeFiles/test-user_defined_input_cpp11.dir/src/unit-user_defined_input.cpp.o +[ 85%] Linking CXX executable test-user_defined_input_cpp11 +[ 85%] Built target test-user_defined_input_cpp11 +[ 85%] Building CXX object tests/CMakeFiles/test-windows_h_cpp11.dir/src/unit-windows_h.cpp.o +[ 86%] Linking CXX executable test-windows_h_cpp11 +[ 86%] Built target test-windows_h_cpp11 +[ 86%] Building CXX object tests/CMakeFiles/test-wstring_cpp11.dir/src/unit-wstring.cpp.o +[ 87%] Linking CXX executable test-wstring_cpp11 +[ 87%] Built target test-wstring_cpp11 +[ 88%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp11.dir/src/unit-comparison.cpp.o +[ 89%] Linking CXX executable test-comparison_legacy_cpp11 +[ 89%] Built target test-comparison_legacy_cpp11 +[ 89%] Building CXX object tests/CMakeFiles/test-comparison_legacy_cpp20.dir/src/unit-comparison.cpp.o +[ 90%] Linking CXX executable test-comparison_legacy_cpp20 +[ 90%] Built target test-comparison_legacy_cpp20 +[ 90%] Building CXX object tests/abi/CMakeFiles/abi_compat_main.dir/main.cpp.o +[ 91%] Linking CXX static library libabi_compat_main.a +[ 91%] Built target abi_compat_main +[ 91%] Building CXX object tests/abi/config/CMakeFiles/abi_config_default.dir/default.cpp.o +[ 92%] Linking CXX executable abi_config_default +[ 92%] Built target abi_config_default +[ 92%] Building CXX object tests/abi/config/CMakeFiles/abi_config_noversion.dir/noversion.cpp.o +[ 93%] Linking CXX executable abi_config_noversion +[ 93%] Built target abi_config_noversion +[ 93%] Building CXX object tests/abi/config/CMakeFiles/abi_config_custom.dir/custom.cpp.o +[ 94%] Linking CXX executable abi_config_custom +[ 94%] Built target abi_config_custom +[ 94%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_on.dir/diag_on.cpp.o +[ 95%] Linking CXX static library libabi_compat_diag_on.a +[ 95%] Built target abi_compat_diag_on +[ 95%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag_off.dir/diag_off.cpp.o +[ 96%] Linking CXX static library libabi_compat_diag_off.a +[ 96%] Built target abi_compat_diag_off +[ 96%] Building CXX object tests/abi/diag/CMakeFiles/abi_compat_diag.dir/diag.cpp.o +[ 97%] Linking CXX executable abi_compat_diag +[ 97%] Built target abi_compat_diag +[ 97%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_v3_10_5.cpp.o +[ 98%] Building CXX object tests/abi/inline_ns/CMakeFiles/abi_compat_inline_ns.dir/use_current.cpp.o +[100%] Linking CXX executable abi_compat_inline_ns +[100%] Built target abi_compat_inline_ns +Test project /home/json/build + Start 1: download_test_data + 1/98 Test #1: download_test_data ........................... Passed 0.09 sec + Start 2: test-algorithms_cpp11 + 2/98 Test #2: test-algorithms_cpp11 ........................ Passed 0.00 sec + Start 3: test-allocator_cpp11 + 3/98 Test #3: test-allocator_cpp11 ......................... Passed 0.00 sec + Start 4: test-alt-string_cpp11 + 4/98 Test #4: test-alt-string_cpp11 ........................ Passed 0.00 sec + Start 5: test-assert_macro_cpp11 + 5/98 Test #5: test-assert_macro_cpp11 ...................... Passed 0.00 sec + Start 6: test-binary_formats_cpp11 + 6/98 Test #6: test-binary_formats_cpp11 .................... Passed 20.55 sec + Start 7: test-bjdata_cpp11 + 7/98 Test #7: test-bjdata_cpp11 ............................ Passed 10.20 sec + Start 8: test-bson_cpp11 + 8/98 Test #8: test-bson_cpp11 .............................. Passed 0.01 sec + Start 9: test-byte_container_with_subtype_cpp11 + 9/98 Test #9: test-byte_container_with_subtype_cpp11 ....... Passed 0.00 sec + Start 10: test-capacity_cpp11 +10/98 Test #10: test-capacity_cpp11 .......................... Passed 0.00 sec + Start 11: test-cbor_cpp11 +11/98 Test #11: test-cbor_cpp11 .............................. Passed 38.50 sec + Start 12: test-class_const_iterator_cpp11 +12/98 Test #12: test-class_const_iterator_cpp11 .............. Passed 0.00 sec + Start 13: test-class_iterator_cpp11 +13/98 Test #13: test-class_iterator_cpp11 .................... Passed 0.00 sec + Start 14: test-class_lexer_cpp11 +14/98 Test #14: test-class_lexer_cpp11 ....................... Passed 0.00 sec + Start 15: test-class_parser_cpp11 +15/98 Test #15: test-class_parser_cpp11 ...................... Passed 0.07 sec + Start 16: test-comparison_cpp11 +16/98 Test #16: test-comparison_cpp11 ........................ Passed 0.00 sec + Start 17: test-comparison_cpp20 +17/98 Test #17: test-comparison_cpp20 ........................ Passed 0.00 sec + Start 18: test-concepts_cpp11 +18/98 Test #18: test-concepts_cpp11 .......................... Passed 0.00 sec + Start 19: test-constructor1_cpp11 +19/98 Test #19: test-constructor1_cpp11 ...................... Passed 0.00 sec + Start 20: test-constructor2_cpp11 +20/98 Test #20: test-constructor2_cpp11 ...................... Passed 0.00 sec + Start 21: test-convenience_cpp11 +21/98 Test #21: test-convenience_cpp11 ....................... Passed 0.00 sec + Start 22: test-conversions_cpp11 +22/98 Test #22: test-conversions_cpp11 ....................... Passed 0.01 sec + Start 23: test-conversions_cpp14 +23/98 Test #23: test-conversions_cpp14 ....................... Passed 0.01 sec + Start 24: test-conversions_cpp17 +24/98 Test #24: test-conversions_cpp17 ....................... Passed 0.01 sec + Start 25: test-custom-base-class_cpp11 +25/98 Test #25: test-custom-base-class_cpp11 ................. Passed 0.00 sec + Start 26: test-deserialization_cpp11 +26/98 Test #26: test-deserialization_cpp11 ................... Passed 0.01 sec + Start 27: test-deserialization_cpp20 +27/98 Test #27: test-deserialization_cpp20 ................... Passed 0.01 sec + Start 28: test-diagnostics_cpp11 +28/98 Test #28: test-diagnostics_cpp11 ....................... Passed 0.00 sec + Start 29: test-disabled_exceptions_cpp11 +29/98 Test #29: test-disabled_exceptions_cpp11 ............... Passed 0.00 sec + Start 30: test-element_access1_cpp11 +30/98 Test #30: test-element_access1_cpp11 ................... Passed 0.00 sec + Start 31: test-element_access2_cpp11 +31/98 Test #31: test-element_access2_cpp11 ................... Passed 0.01 sec + Start 32: test-element_access2_cpp14 +32/98 Test #32: test-element_access2_cpp14 ................... Passed 0.01 sec + Start 33: test-element_access2_cpp17 +33/98 Test #33: test-element_access2_cpp17 ................... Passed 0.01 sec + Start 34: test-hash_cpp11 +34/98 Test #34: test-hash_cpp11 .............................. Passed 0.00 sec + Start 35: test-inspection_cpp11 +35/98 Test #35: test-inspection_cpp11 ........................ Passed 5.05 sec + Start 36: test-items_cpp11 +36/98 Test #36: test-items_cpp11 ............................. Passed 0.00 sec + Start 37: test-items_cpp17 +37/98 Test #37: test-items_cpp17 ............................. Passed 0.00 sec + Start 38: test-iterators1_cpp11 +38/98 Test #38: test-iterators1_cpp11 ........................ Passed 0.00 sec + Start 39: test-iterators2_cpp11 +39/98 Test #39: test-iterators2_cpp11 ........................ Passed 0.01 sec + Start 40: test-iterators2_cpp20 +40/98 Test #40: test-iterators2_cpp20 ........................ Passed 0.01 sec + Start 41: test-iterators3_cpp11 +41/98 Test #41: test-iterators3_cpp11 ........................ Passed 0.00 sec + Start 42: test-iterators3_cpp14 +42/98 Test #42: test-iterators3_cpp14 ........................ Passed 0.00 sec + Start 43: test-json_patch_cpp11 +43/98 Test #43: test-json_patch_cpp11 ........................ Passed 0.01 sec + Start 44: test-json_pointer_cpp11 +44/98 Test #44: test-json_pointer_cpp11 ...................... Passed 0.00 sec + Start 45: test-json_pointer_cpp20 +45/98 Test #45: test-json_pointer_cpp20 ...................... Passed 0.00 sec + Start 46: test-large_json_cpp11 +46/98 Test #46: test-large_json_cpp11 ........................ Passed 4.90 sec + Start 47: test-locale-cpp_cpp11 +47/98 Test #47: test-locale-cpp_cpp11 ........................ Passed 0.00 sec + Start 48: test-merge_patch_cpp11 +48/98 Test #48: test-merge_patch_cpp11 ....................... Passed 0.00 sec + Start 49: test-meta_cpp11 +49/98 Test #49: test-meta_cpp11 .............................. Passed 0.00 sec + Start 50: test-modifiers_cpp11 +50/98 Test #50: test-modifiers_cpp11 ......................... Passed 0.00 sec + Start 51: test-msgpack_cpp11 +51/98 Test #51: test-msgpack_cpp11 ........................... Passed 38.27 sec + Start 52: test-no-mem-leak-on-adl-serialize_cpp11 +52/98 Test #52: test-no-mem-leak-on-adl-serialize_cpp11 ...... Passed 0.00 sec + Start 53: test-noexcept_cpp11 +53/98 Test #53: test-noexcept_cpp11 .......................... Passed 0.00 sec + Start 54: test-ordered_json_cpp11 +54/98 Test #54: test-ordered_json_cpp11 ...................... Passed 0.00 sec + Start 55: test-ordered_map_cpp11 +55/98 Test #55: test-ordered_map_cpp11 ....................... Passed 0.00 sec + Start 56: test-pointer_access_cpp11 +56/98 Test #56: test-pointer_access_cpp11 .................... Passed 0.00 sec + Start 57: test-readme_cpp11 +57/98 Test #57: test-readme_cpp11 ............................ Passed 0.00 sec + Start 58: test-reference_access_cpp11 +58/98 Test #58: test-reference_access_cpp11 .................. Passed 0.00 sec + Start 59: test-regression1_cpp11 +59/98 Test #59: test-regression1_cpp11 ....................... Passed 6.03 sec + Start 60: test-regression1_cpp17 +60/98 Test #60: test-regression1_cpp17 ....................... Passed 7.02 sec + Start 61: test-regression2_cpp11 +61/98 Test #61: test-regression2_cpp11 ....................... Passed 0.00 sec + Start 62: test-regression2_cpp17 +62/98 Test #62: test-regression2_cpp17 ....................... Passed 0.00 sec + Start 63: test-regression2_cpp20 +63/98 Test #63: test-regression2_cpp20 ....................... Passed 0.00 sec + Start 64: test-serialization_cpp11 +64/98 Test #64: test-serialization_cpp11 ..................... Passed 0.00 sec + Start 65: test-testsuites_cpp11 +65/98 Test #65: test-testsuites_cpp11 ........................ Passed 0.07 sec + Start 66: test-to_chars_cpp11 +66/98 Test #66: test-to_chars_cpp11 .......................... Passed 0.00 sec + Start 67: test-type_traits_cpp11 +67/98 Test #67: test-type_traits_cpp11 ....................... Passed 0.00 sec + Start 68: test-ubjson_cpp11 +68/98 Test #68: test-ubjson_cpp11 ............................ Passed 12.67 sec + Start 69: test-udl_cpp11 +69/98 Test #69: test-udl_cpp11 ............................... Passed 0.00 sec + Start 70: test-udt_cpp11 +70/98 Test #70: test-udt_cpp11 ............................... Passed 0.00 sec + Start 71: test-udt_macro_cpp11 +71/98 Test #71: test-udt_macro_cpp11 ......................... Passed 0.00 sec + Start 72: test-unicode1_cpp11 +72/98 Test #72: test-unicode1_cpp11 .......................... Passed 5.75 sec + Start 73: test-unicode2_cpp11 +73/98 Test #73: test-unicode2_cpp11 .......................... Passed 10.58 sec + Start 74: test-unicode3_cpp11 +74/98 Test #74: test-unicode3_cpp11 .......................... Passed 38.71 sec + Start 75: test-unicode4_cpp11 +75/98 Test #75: test-unicode4_cpp11 .......................... Passed 127.27 sec + Start 76: test-unicode5_cpp11 +76/98 Test #76: test-unicode5_cpp11 .......................... Passed 30.48 sec + Start 77: test-user_defined_input_cpp11 +77/98 Test #77: test-user_defined_input_cpp11 ................ Passed 0.00 sec + Start 78: test-windows_h_cpp11 +78/98 Test #78: test-windows_h_cpp11 ......................... Passed 0.00 sec + Start 79: test-wstring_cpp11 +79/98 Test #79: test-wstring_cpp11 ........................... Passed 0.00 sec + Start 80: test-comparison_legacy_cpp11 +80/98 Test #80: test-comparison_legacy_cpp11 ................. Passed 0.00 sec + Start 81: test-comparison_legacy_cpp20 +81/98 Test #81: test-comparison_legacy_cpp20 ................. Passed 0.01 sec + Start 82: test-abi_config_default +82/98 Test #82: test-abi_config_default ...................... Passed 0.00 sec + Start 83: test-abi_config_noversion +83/98 Test #83: test-abi_config_noversion .................... Passed 0.00 sec + Start 84: test-abi_config_custom +84/98 Test #84: test-abi_config_custom ....................... Passed 0.00 sec + Start 85: test-abi_compat_diag +85/98 Test #85: test-abi_compat_diag ......................... Passed 0.00 sec + Start 86: test-abi_compat_inline_ns +86/98 Test #86: test-abi_compat_inline_ns .................... Passed 0.00 sec + Start 87: cmake_import_configure +87/98 Test #87: cmake_import_configure ....................... Passed 0.20 sec + Start 88: cmake_import_build +88/98 Test #88: cmake_import_build ........................... Passed 2.97 sec + Start 89: cmake_import_minver_configure +89/98 Test #89: cmake_import_minver_configure ................ Passed 0.20 sec + Start 90: cmake_import_minver_build +90/98 Test #90: cmake_import_minver_build .................... Passed 1.50 sec + Start 91: cmake_add_subdirectory_configure +91/98 Test #91: cmake_add_subdirectory_configure ............. Passed 0.21 sec + Start 92: cmake_add_subdirectory_build +92/98 Test #92: cmake_add_subdirectory_build ................. Passed 4.45 sec + Start 93: cmake_fetch_content_configure +93/98 Test #93: cmake_fetch_content_configure ................ Passed 0.95 sec + Start 94: cmake_fetch_content_build +94/98 Test #94: cmake_fetch_content_build .................... Passed 2.98 sec + Start 95: cmake_fetch_content2_configure +95/98 Test #95: cmake_fetch_content2_configure ............... Passed 0.69 sec + Start 96: cmake_fetch_content2_build +96/98 Test #96: cmake_fetch_content2_build ................... Passed 3.02 sec + Start 97: cmake_target_include_directories_configure +97/98 Test #97: cmake_target_include_directories_configure ... Passed 0.21 sec + Start 98: cmake_target_include_directories_build +98/98 Test #98: cmake_target_include_directories_build ....... Passed 5.19 sec + +100% tests passed, 0 tests failed out of 98 + +Label Time Summary: +all = 356.36 sec*proc (80 tests) +git_required = 7.64 sec*proc (4 tests) +not_reproducible = 22.57 sec*proc (12 tests) + +Total Test time (real) = 379.05 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/fix.patch new file mode 100644 index 000000000..73d0b1b3f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/fix.patch @@ -0,0 +1,24 @@ +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index 763fd957..8ec9720e 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -3401,6 +3401,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + m_data.m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator); ++ set_parents(); + } + + /// @brief updates a JSON object from another object, overwriting existing keys +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 7979227a..01649921 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -22948,6 +22948,7 @@ class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-spec + } + + m_data.m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator); ++ set_parents(); + } + + /// @brief updates a JSON object from another object, overwriting existing keys diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/report.json new file mode 100644 index 000000000..b5fd32eca --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-4537/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 4537, "valid": true, "error_msg": "", "fixed_tests": {"test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"test-unicode3_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode5_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-convenience_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-large_json_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content2_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-custom-base-class_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bjdata_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_map_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-msgpack_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content2_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_custom": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ubjson_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-no-mem-leak-on-adl-serialize_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-type_traits_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-merge_patch_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_noversion": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-inspection_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-noexcept_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-meta_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-allocator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_lexer_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_compat_diag": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-assert_macro_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-serialization_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_legacy_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-binary_formats_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-capacity_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-concepts_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-disabled_exceptions_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-bson_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_config_default": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-deserialization_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_iterator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_minver_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-comparison_legacy_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_const_iterator_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-locale-cpp_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-windows_h_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_target_include_directories_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-reference_access_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-abi_compat_inline_ns": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-ordered_json_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-to_chars_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-user_defined_input_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators2_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_macro_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_import_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp20": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-readme_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-items_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-element_access2_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_pointer_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-class_parser_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-regression1_cpp17": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-cbor_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-algorithms_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_add_subdirectory_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators3_cpp14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-byte_container_with_subtype_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-conversions_cpp14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udl_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor2_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-json_patch_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-wstring_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-pointer_access_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-udt_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-unicode4_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-modifiers_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators3_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-hash_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-alt-string_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-constructor1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_build": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "cmake_fetch_content_configure": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-testsuites_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "test-iterators1_cpp11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "download_test_data": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-diagnostics_cpp11": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 98, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-abi_config_custom", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-iterators3_cpp14", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-iterators3_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 97, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "cmake_fetch_content2_build", "test-abi_config_custom", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-disabled_exceptions_cpp11", "test-bson_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "cmake_add_subdirectory_configure", "test-iterators3_cpp14", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-modifiers_cpp11", "test-iterators3_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 98, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-unicode5_cpp11", "test-convenience_cpp11", "test-large_json_cpp11", "cmake_fetch_content2_configure", "cmake_target_include_directories_configure", "test-iterators2_cpp11", "test-comparison_cpp11", "test-comparison_cpp20", "test-element_access1_cpp11", "test-ordered_map_cpp11", "test-abi_config_custom", "cmake_fetch_content2_build", "test-no-mem-leak-on-adl-serialize_cpp11", "test-merge_patch_cpp11", "test-inspection_cpp11", "test-meta_cpp11", "test-allocator_cpp11", "test-class_lexer_cpp11", "test-abi_compat_diag", "test-assert_macro_cpp11", "test-comparison_legacy_cpp11", "test-items_cpp17", "test-binary_formats_cpp11", "cmake_import_minver_configure", "test-deserialization_cpp11", "cmake_import_minver_build", "test-comparison_legacy_cpp20", "cmake_add_subdirectory_build", "test-locale-cpp_cpp11", "test-reference_access_cpp11", "test-abi_compat_inline_ns", "test-ordered_json_cpp11", "test-unicode2_cpp11", "test-conversions_cpp17", "test-udt_macro_cpp11", "test-element_access2_cpp11", "test-items_cpp11", "test-class_parser_cpp11", "test-regression2_cpp11", "test-regression1_cpp17", "test-algorithms_cpp11", "test-byte_container_with_subtype_cpp11", "test-udl_cpp11", "test-diagnostics_cpp11", "test-pointer_access_cpp11", "test-hash_cpp11", "cmake_fetch_content_build", "test-iterators1_cpp11", "download_test_data", "test-unicode3_cpp11", "test-custom-base-class_cpp11", "test-bjdata_cpp11", "test-deserialization_cpp20", "test-msgpack_cpp11", "test-ubjson_cpp11", "test-type_traits_cpp11", "test-abi_config_noversion", "test-noexcept_cpp11", "test-serialization_cpp11", "test-regression1_cpp11", "cmake_import_configure", "test-capacity_cpp11", "test-concepts_cpp11", "test-bson_cpp11", "test-disabled_exceptions_cpp11", "test-abi_config_default", "test-class_iterator_cpp11", "test-conversions_cpp11", "test-element_access2_cpp14", "test-class_const_iterator_cpp11", "test-windows_h_cpp11", "cmake_target_include_directories_build", "test-regression2_cpp17", "test-json_pointer_cpp20", "test-to_chars_cpp11", "test-user_defined_input_cpp11", "test-iterators2_cpp20", "cmake_import_build", "test-regression2_cpp20", "test-readme_cpp11", "test-element_access2_cpp17", "test-json_pointer_cpp11", "test-cbor_cpp11", "test-iterators3_cpp14", "cmake_add_subdirectory_configure", "test-unicode1_cpp11", "test-conversions_cpp14", "test-constructor2_cpp11", "test-json_patch_cpp11", "test-wstring_cpp11", "test-udt_cpp11", "test-unicode4_cpp11", "test-iterators3_cpp11", "test-modifiers_cpp11", "test-alt-string_cpp11", "test-constructor1_cpp11", "cmake_fetch_content_configure", "test-testsuites_cpp11"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/fix-patch-run.log new file mode 100644 index 000000000..759f2060d --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/fix-patch-run.log @@ -0,0 +1,294 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5545 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.9 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (18.3 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.rc3ehLo9 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.rc3ehLo9/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.rc3ehLo9/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.rc3ehLo9/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.rc3ehLo9/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.rc3ehLo9/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.rc3ehLo9 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=b71fa6a0ca40 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.xQ3jvGc4Bo/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-conversions.cpp +patching file src/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- cotire 1.7.9 loaded. +-- CXX target json_unit cotired without unity build. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 2%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 2%] Built target catch_main +[ 5%] Generating CXX prefix source test/cotire/json_unit_CXX_prefix.cxx +[ 7%] Generating CXX prefix header test/cotire/json_unit_CXX_prefix.hxx +[ 10%] Building CXX precompiled header test/cotire/json_unit_CXX_prefix.hxx.gch +Scanning dependencies of target json_unit +[ 12%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-algorithms.cpp.o +[ 15%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-allocator.cpp.o +[ 17%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-capacity.cpp.o +[ 20%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-cbor.cpp.o +[ 22%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_const_iterator.cpp.o +[ 25%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_iterator.cpp.o +[ 27%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_lexer.cpp.o +[ 30%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_parser.cpp.o +[ 32%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-comparison.cpp.o +[ 35%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-concepts.cpp.o +[ 37%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-constructor1.cpp.o +[ 40%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-constructor2.cpp.o +[ 42%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-convenience.cpp.o +[ 45%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-conversions.cpp.o +[ 47%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-deserialization.cpp.o +[ 50%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-element_access1.cpp.o +[ 52%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-element_access2.cpp.o +[ 55%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-inspection.cpp.o +[ 57%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterator_wrapper.cpp.o +[ 60%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterators1.cpp.o +[ 62%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterators2.cpp.o +[ 65%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-json_patch.cpp.o +[ 67%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-json_pointer.cpp.o +[ 70%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-meta.cpp.o +[ 72%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-modifiers.cpp.o +[ 75%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-msgpack.cpp.o +[ 77%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-noexcept.cpp.o +[ 80%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-pointer_access.cpp.o +[ 82%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-readme.cpp.o +[ 85%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-reference_access.cpp.o +[ 87%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-regression.cpp.o +[ 90%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-serialization.cpp.o +[ 92%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-testsuites.cpp.o +[ 95%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-udt.cpp.o +[ 97%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-unicode.cpp.o +[100%] Linking CXX executable json_unit +[100%] Built target json_unit +Test project /home/json/build + Start 1: json_unit_default +1/2 Test #1: json_unit_default ................ Passed 4.86 sec + Start 2: json_unit_all +2/2 Test #2: json_unit_all .................... Passed 35.48 sec + +100% tests passed, 0 tests failed out of 2 + +Total Test time (real) = 40.34 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/fix.patch new file mode 100644 index 000000000..18bddbc32 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/fix.patch @@ -0,0 +1,40 @@ +diff --git a/src/json.hpp b/src/json.hpp +index cbf12dc5..66b40b86 100644 +--- a/src/json.hpp ++++ b/src/json.hpp +@@ -791,6 +791,13 @@ void to_json(BasicJsonType& j, const CompatibleArrayType& arr) + external_constructor::construct(j, arr); + } + ++template::value, int> = 0> ++void to_json(BasicJsonType& j, const T (&arr)[N]) ++{ ++ external_constructor::construct(j, arr); ++} ++ + template < + typename BasicJsonType, typename CompatibleObjectType, + enable_if_t::value, +@@ -961,6 +968,21 @@ void from_json(const BasicJsonType& j, CompatibleArrayType& arr) + from_json_array_impl(j, arr, priority_tag<1> {}); + } + ++template::value, int> = 0> ++void from_json(const BasicJsonType& j, T (&arr)[N]) ++{ ++ if (not j.is_array()) ++ { ++ JSON_THROW(type_error(302, "type must be array, but is " + j.type_name())); ++ } ++ ++ for (std::size_t i = 0; i < N; ++i) ++ { ++ arr[i] = j[i].template get(); ++ } ++} ++ + template::value, int> = 0> + void from_json(const BasicJsonType& j, CompatibleObjectType& obj) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/report.json new file mode 100644 index 000000000..95105574c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-508/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 508, "valid": true, "error_msg": "", "fixed_tests": {"json_unit_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json_unit_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"json_unit_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json_unit_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 2, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit_all", "json_unit_default"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 2, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit_all", "json_unit_default"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/fix-patch-run.log new file mode 100644 index 000000000..7e151dd32 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/fix-patch-run.log @@ -0,0 +1,348 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5829 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.5 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.7 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.5xzxBVBa +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.5xzxBVBa/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.5xzxBVBa/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.5xzxBVBa/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.5xzxBVBa/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.5xzxBVBa/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.5xzxBVBa +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=62d45322277e +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.afocChgUYL/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-conversions.cpp +patching file src/json.hpp +patching file src/json.hpp.re2c +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- cotire 1.7.9 loaded. +-- CXX target json_unit cotired without unity build. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 2%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 2%] Built target catch_main +[ 5%] Generating CXX prefix source test/cotire/json_unit_CXX_prefix.cxx +[ 7%] Generating CXX prefix header test/cotire/json_unit_CXX_prefix.hxx +[ 10%] Building CXX precompiled header test/cotire/json_unit_CXX_prefix.hxx.gch +Scanning dependencies of target json_unit +[ 12%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-algorithms.cpp.o +[ 15%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-allocator.cpp.o +[ 17%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-capacity.cpp.o +[ 20%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-cbor.cpp.o +[ 22%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_const_iterator.cpp.o +[ 25%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_iterator.cpp.o +[ 27%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_lexer.cpp.o +[ 30%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_parser.cpp.o +[ 32%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-comparison.cpp.o +[ 35%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-concepts.cpp.o +[ 37%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-constructor1.cpp.o +[ 40%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-constructor2.cpp.o +[ 42%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-convenience.cpp.o +[ 45%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-conversions.cpp.o +[ 47%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-deserialization.cpp.o +/home/json/test/src/unit-deserialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-deserialization.cpp:67:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << ss; + ^~ +In file included from /home/json/test/src/prefix.hpp:6:0, + from /home/json/build/test/cotire/json_unit_CXX_prefix.cxx:4, + from /home/json/build/test/cotire/json_unit_CXX_prefix.hxx:4: +/home/json/src/json.hpp:7402:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/prefix.hpp:3:0, + from /home/json/build/test/cotire/json_unit_CXX_prefix.cxx:4, + from /home/json/build/test/cotire/json_unit_CXX_prefix.hxx:4: +/home/json/test/src/unit-deserialization.cpp:112:34: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_AS(j << ss1, json::parse_error); + ^ +In file included from /home/json/test/src/prefix.hpp:6:0, + from /home/json/build/test/cotire/json_unit_CXX_prefix.cxx:4, + from /home/json/build/test/cotire/json_unit_CXX_prefix.hxx:4: +/home/json/src/json.hpp:7402:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/prefix.hpp:3:0, + from /home/json/build/test/cotire/json_unit_CXX_prefix.cxx:4, + from /home/json/build/test/cotire/json_unit_CXX_prefix.hxx:4: +/home/json/test/src/unit-deserialization.cpp:113:36: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_WITH(j << ss2, + ^ +In file included from /home/json/test/src/prefix.hpp:6:0, + from /home/json/build/test/cotire/json_unit_CXX_prefix.cxx:4, + from /home/json/build/test/cotire/json_unit_CXX_prefix.hxx:4: +/home/json/src/json.hpp:7402:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +[ 50%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-element_access1.cpp.o +[ 52%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-element_access2.cpp.o +[ 55%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-inspection.cpp.o +[ 57%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterator_wrapper.cpp.o +[ 60%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterators1.cpp.o +[ 62%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterators2.cpp.o +[ 65%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-json_patch.cpp.o +[ 67%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-json_pointer.cpp.o +[ 70%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-meta.cpp.o +[ 72%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-modifiers.cpp.o +[ 75%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-msgpack.cpp.o +[ 77%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-noexcept.cpp.o +[ 80%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-pointer_access.cpp.o +[ 82%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-readme.cpp.o +[ 85%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-reference_access.cpp.o +[ 87%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-regression.cpp.o +[ 90%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-serialization.cpp.o +/home/json/test/src/unit-serialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-serialization.cpp:62:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/prefix.hpp:6:0, + from /home/json/build/test/cotire/json_unit_CXX_prefix.cxx:4, + from /home/json/build/test/cotire/json_unit_CXX_prefix.hxx:4: +/home/json/src/json.hpp:7122:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:71:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/prefix.hpp:6:0, + from /home/json/build/test/cotire/json_unit_CXX_prefix.cxx:4, + from /home/json/build/test/cotire/json_unit_CXX_prefix.hxx:4: +/home/json/src/json.hpp:7122:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +[ 92%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-testsuites.cpp.o +[ 95%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-udt.cpp.o +[ 97%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-unicode.cpp.o +[100%] Linking CXX executable json_unit +[100%] Built target json_unit +Test project /home/json/build + Start 1: json_unit_default +1/2 Test #1: json_unit_default ................ Passed 4.99 sec + Start 2: json_unit_all +2/2 Test #2: json_unit_all .................... Passed 35.22 sec + +100% tests passed, 0 tests failed out of 2 + +Total Test time (real) = 40.21 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/fix.patch new file mode 100644 index 000000000..7ff1e223f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/fix.patch @@ -0,0 +1,92 @@ +diff --git a/src/json.hpp b/src/json.hpp +index 90a48538..4239b38b 100644 +--- a/src/json.hpp ++++ b/src/json.hpp +@@ -460,6 +460,11 @@ using is_unscoped_enum = + std::integral_constant::value and + std::is_enum::value>; + ++template ++using is_scoped_enum = ++ std::integral_constant::value and ++ std::is_enum::value>; ++ + /* + Implementation of two C++17 constructs: conjunction, negation. This is needed + to avoid evaluating all the traits in a condition +@@ -825,6 +830,13 @@ void to_json(BasicJsonType& j, UnscopedEnumType e) noexcept + external_constructor::construct(j, e); + } + ++template::value, int> = 0> ++void to_json(BasicJsonType& j, ScopedEnumType e) noexcept ++{ ++ external_constructor::construct(j, static_cast::type>(e)); ++} ++ + template + void to_json(BasicJsonType& j, const std::vector& e) + { +@@ -946,6 +958,15 @@ void from_json(const BasicJsonType& j, UnscopedEnumType& e) + e = static_cast(val); + } + ++template::value, int> = 0> ++void from_json(const BasicJsonType& j, ScopedEnumType& e) ++{ ++ typename std::underlying_type::type val; ++ get_arithmetic_value(j, val); ++ e = static_cast(val); ++} ++ + template + void from_json(const BasicJsonType& j, typename BasicJsonType::array_t& arr) + { +diff --git a/src/json.hpp.re2c b/src/json.hpp.re2c +index d88830b9..12253933 100644 +--- a/src/json.hpp.re2c ++++ b/src/json.hpp.re2c +@@ -460,6 +460,11 @@ using is_unscoped_enum = + std::integral_constant::value and + std::is_enum::value>; + ++template ++using is_scoped_enum = ++ std::integral_constant::value and ++ std::is_enum::value>; ++ + /* + Implementation of two C++17 constructs: conjunction, negation. This is needed + to avoid evaluating all the traits in a condition +@@ -825,6 +830,13 @@ void to_json(BasicJsonType& j, UnscopedEnumType e) noexcept + external_constructor::construct(j, e); + } + ++template::value, int> = 0> ++void to_json(BasicJsonType& j, ScopedEnumType e) noexcept ++{ ++ external_constructor::construct(j, static_cast::type>(e)); ++} ++ + template + void to_json(BasicJsonType& j, const std::vector& e) + { +@@ -946,6 +958,15 @@ void from_json(const BasicJsonType& j, UnscopedEnumType& e) + e = static_cast(val); + } + ++template::value, int> = 0> ++void from_json(const BasicJsonType& j, ScopedEnumType& e) ++{ ++ typename std::underlying_type::type val; ++ get_arithmetic_value(j, val); ++ e = static_cast(val); ++} ++ + template + void from_json(const BasicJsonType& j, typename BasicJsonType::array_t& arr) + { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/report.json new file mode 100644 index 000000000..56924cbed --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-545/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 545, "valid": true, "error_msg": "", "fixed_tests": {"json_unit_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json_unit_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"json_unit_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json_unit_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 2, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit_all", "json_unit_default"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 2, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit_all", "json_unit_default"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/fix-patch-run.log new file mode 100644 index 000000000..240a29fd3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/fix-patch-run.log @@ -0,0 +1,371 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5590 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.3 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (15.3 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.dOhiRUS3 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.dOhiRUS3/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.dOhiRUS3/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.dOhiRUS3/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.dOhiRUS3/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.dOhiRUS3/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.dOhiRUS3 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=f106aeef9cc5 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.nE90Frn12c/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-constructor1.cpp +patching file src/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- cotire 1.7.9 loaded. +-- CXX target json_unit cotired without unity build. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 2%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 2%] Built target catch_main +[ 5%] Generating CXX prefix source test/cotire/json_unit_CXX_prefix.cxx +[ 7%] Generating CXX prefix header test/cotire/json_unit_CXX_prefix.hxx +[ 10%] Building CXX precompiled header test/cotire/json_unit_CXX_prefix.hxx.gch +Scanning dependencies of target json_unit +[ 12%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-algorithms.cpp.o +[ 15%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-allocator.cpp.o +[ 17%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-capacity.cpp.o +[ 20%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-cbor.cpp.o +[ 22%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_const_iterator.cpp.o +[ 25%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_iterator.cpp.o +[ 27%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_lexer.cpp.o +[ 30%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_parser.cpp.o +[ 32%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-comparison.cpp.o +[ 35%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-concepts.cpp.o +[ 37%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-constructor1.cpp.o +In file included from /home/json/test/src/prefix.hpp:6:0, + from /home/json/build/test/cotire/json_unit_CXX_prefix.cxx:4, + from /home/json/build/test/cotire/json_unit_CXX_prefix.hxx:4: +/home/json/src/json.hpp: In instantiation of 'void nlohmann::detail::to_json_fn::call(BasicJsonType&, T&&, nlohmann::detail::priority_tag<0>) const [with BasicJsonType = nlohmann::basic_json<>; T = std::pair, std::__cxx11::basic_string >&]': +/home/json/src/json.hpp:1113:64: required from 'void nlohmann::detail::to_json_fn::operator()(BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = std::pair, std::__cxx11::basic_string >&]' +/home/json/src/json.hpp:1203:28: required from 'static void nlohmann::adl_serializer< , >::to_json(BasicJsonType&, ValueType&&) [with BasicJsonType = nlohmann::basic_json<>; ValueType = std::pair, std::__cxx11::basic_string >&; = std::pair, std::__cxx11::basic_string >; = void]' +/home/json/src/json.hpp:2289:35: required from 'nlohmann::basic_json::basic_json(CompatibleType&&) [with CompatibleType = std::pair, std::__cxx11::basic_string >&; U = std::pair, std::__cxx11::basic_string >; typename std::enable_if<((((! std::is_base_of, U>::value) && (! std::is_same >::value)) && (! nlohmann::detail::is_basic_json_nested_type, U>::value)) && nlohmann::detail::has_to_json, U>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' +/home/json/test/src/unit-constructor1.cpp:162:21: required from here +/home/json/src/json.hpp:1104:9: error: static assertion failed: could not find to_json() method in T's namespace + static_assert(sizeof(BasicJsonType) == 0, + ^~~~~~~~~~~~~ +/home/json/src/json.hpp: In instantiation of 'void nlohmann::detail::from_json_fn::call(const BasicJsonType&, T&, nlohmann::detail::priority_tag<0>) const [with BasicJsonType = nlohmann::basic_json<>; T = std::pair, std::__cxx11::basic_string >]': +/home/json/src/json.hpp:1140:47: required from 'void nlohmann::detail::from_json_fn::operator()(const BasicJsonType&, T&) const [with BasicJsonType = nlohmann::basic_json<>; T = std::pair, std::__cxx11::basic_string >]' +/home/json/src/json.hpp:1187:30: required from 'static void nlohmann::adl_serializer< , >::from_json(BasicJsonType&&, ValueType&) [with BasicJsonType = const nlohmann::basic_json<>&; ValueType = std::pair, std::__cxx11::basic_string >; = std::pair, std::__cxx11::basic_string >; = void]' +/home/json/src/json.hpp:3492:45: required from 'ValueType nlohmann::basic_json::get() const [with ValueTypeCV = std::pair, std::__cxx11::basic_string >; ValueType = std::pair, std::__cxx11::basic_string >; typename std::enable_if<(((! std::is_same, ValueType>::value) && nlohmann::detail::has_from_json, ValueType>::value) && (! nlohmann::detail::has_non_default_from_json, ValueType>::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' +/home/json/test/src/unit-constructor1.cpp:164:13: required from here +/home/json/src/json.hpp:1131:9: error: static assertion failed: could not find from_json() method in T's namespace + static_assert(sizeof(BasicJsonType) == 0, + ^~~~~~~~~~~~~ +/home/json/src/json.hpp: In instantiation of 'void nlohmann::detail::to_json_fn::call(BasicJsonType&, T&&, nlohmann::detail::priority_tag<0>) const [with BasicJsonType = nlohmann::basic_json<>; T = std::pair]': +/home/json/src/json.hpp:1113:64: required from 'void nlohmann::detail::to_json_fn::operator()(BasicJsonType&, T&&) const [with BasicJsonType = nlohmann::basic_json<>; T = std::pair]' +/home/json/src/json.hpp:1203:28: required from 'static void nlohmann::adl_serializer< , >::to_json(BasicJsonType&, ValueType&&) [with BasicJsonType = nlohmann::basic_json<>; ValueType = std::pair; = std::pair; = void]' +/home/json/src/json.hpp:2289:35: required from 'nlohmann::basic_json::basic_json(CompatibleType&&) [with CompatibleType = std::pair; U = std::pair; typename std::enable_if<((((! std::is_base_of, U>::value) && (! std::is_same >::value)) && (! nlohmann::detail::is_basic_json_nested_type, U>::value)) && nlohmann::detail::has_to_json, U>::value), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' +/home/json/test/src/unit-constructor1.cpp:168:47: required from here +/home/json/src/json.hpp:1104:9: error: static assertion failed: could not find to_json() method in T's namespace + static_assert(sizeof(BasicJsonType) == 0, + ^~~~~~~~~~~~~ +/home/json/src/json.hpp: In instantiation of 'void nlohmann::detail::from_json_fn::call(const BasicJsonType&, T&, nlohmann::detail::priority_tag<0>) const [with BasicJsonType = nlohmann::basic_json<>; T = std::pair, int>]': +/home/json/src/json.hpp:1140:47: required from 'void nlohmann::detail::from_json_fn::operator()(const BasicJsonType&, T&) const [with BasicJsonType = nlohmann::basic_json<>; T = std::pair, int>]' +/home/json/src/json.hpp:1187:30: required from 'static void nlohmann::adl_serializer< , >::from_json(BasicJsonType&&, ValueType&) [with BasicJsonType = const nlohmann::basic_json<>&; ValueType = std::pair, int>; = std::pair, int>; = void]' +/home/json/src/json.hpp:3492:45: required from 'ValueType nlohmann::basic_json::get() const [with ValueTypeCV = std::pair, int>; ValueType = std::pair, int>; typename std::enable_if<(((! std::is_same, ValueType>::value) && nlohmann::detail::has_from_json, ValueType>::value) && (! nlohmann::detail::has_non_default_from_json, ValueType>::value)), int>::type = 0; ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer]' +/home/json/test/src/unit-constructor1.cpp:170:13: required from here +/home/json/src/json.hpp:1131:9: error: static assertion failed: could not find from_json() method in T's namespace + static_assert(sizeof(BasicJsonType) == 0, + ^~~~~~~~~~~~~ +make[2]: *** [test/CMakeFiles/json_unit.dir/build.make:218: test/CMakeFiles/json_unit.dir/src/unit-constructor1.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:96: test/CMakeFiles/json_unit.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: json_unit_default +Could not find executable /home/json/build/test/json_unit +Looked in the following places: +/home/json/build/test/json_unit +/home/json/build/test/json_unit +/home/json/build/test/Release/json_unit +/home/json/build/test/Release/json_unit +/home/json/build/test/Debug/json_unit +/home/json/build/test/Debug/json_unit +/home/json/build/test/MinSizeRel/json_unit +/home/json/build/test/MinSizeRel/json_unit +/home/json/build/test/RelWithDebInfo/json_unit +/home/json/build/test/RelWithDebInfo/json_unit +/home/json/build/test/Deployment/json_unit +/home/json/build/test/Deployment/json_unit +/home/json/build/test/Development/json_unit +/home/json/build/test/Development/json_unit +home/json/build/test/json_unit +home/json/build/test/json_unit +home/json/build/test/Release/json_unit +home/json/build/test/Release/json_unit +home/json/build/test/Debug/json_unit +home/json/build/test/Debug/json_unit +home/json/build/test/MinSizeRel/json_unit +home/json/build/test/MinSizeRel/json_unit +home/json/build/test/RelWithDebInfo/json_unit +home/json/build/test/RelWithDebInfo/json_unit +home/json/build/test/Deployment/json_unit +home/json/build/test/Deployment/json_unit +home/json/build/test/Development/json_unit +home/json/build/test/Development/json_unit +1/2 Test #1: json_unit_default ................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/json_unit + Start 2: json_unit_all +Could not find executable /home/json/build/test/json_unit +Looked in the following places: +/home/json/build/test/json_unit +/home/json/build/test/json_unit +/home/json/build/test/Release/json_unit +/home/json/build/test/Release/json_unit +/home/json/build/test/Debug/json_unit +/home/json/build/test/Debug/json_unit +/home/json/build/test/MinSizeRel/json_unit +/home/json/build/test/MinSizeRel/json_unit +/home/json/build/test/RelWithDebInfo/json_unit +/home/json/build/test/RelWithDebInfo/json_unit +/home/json/build/test/Deployment/json_unit +/home/json/build/test/Deployment/json_unit +/home/json/build/test/Development/json_unit +/home/json/build/test/Development/json_unit +home/json/build/test/json_unit +home/json/build/test/json_unit +home/json/build/test/Release/json_unit +Unable to find executable: /home/json/build/test/json_unit +home/json/build/test/Release/json_unit +home/json/build/test/Debug/json_unit +home/json/build/test/Debug/json_unit +home/json/build/test/MinSizeRel/json_unit +home/json/build/test/MinSizeRel/json_unit +home/json/build/test/RelWithDebInfo/json_unit +home/json/build/test/RelWithDebInfo/json_unit +home/json/build/test/Deployment/json_unit +home/json/build/test/Deployment/json_unit +home/json/build/test/Development/json_unit +home/json/build/test/Development/json_unit +2/2 Test #2: json_unit_all ....................***Not Run 0.00 sec + +0% tests passed, 2 tests failed out of 2 + +Total Test time (real) = 0.00 sec + +The following tests FAILED: + 1 - json_unit_default (Not Run) + 2 - json_unit_all (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/fix.patch new file mode 100644 index 000000000..ea3d07e91 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/fix.patch @@ -0,0 +1,21 @@ +diff --git a/src/json.hpp b/src/json.hpp +index 8e1186ae..71b094d9 100644 +--- a/src/json.hpp ++++ b/src/json.hpp +@@ -1037,10 +1037,12 @@ void from_json(const BasicJsonType& j, CompatibleObjectType& obj) + auto inner_object = j.template get_ptr(); + using std::begin; + using std::end; +- // we could avoid the assignment, but this might require a for loop, which +- // might be less efficient than the container constructor for some +- // containers (would it?) +- obj = CompatibleObjectType(begin(*inner_object), end(*inner_object)); ++ using value_type = typename CompatibleObjectType::value_type; ++ std::transform(begin(*inner_object), end(*inner_object), ++ std::inserter(obj, obj.end()), [](const typename BasicJsonType::object_t::value_type& p) ++ { ++ return value_type(p.first, p.second.template get()); ++ }); + } + + // overload for arithmetic types, not chosen for basic_json template arguments diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/report.json new file mode 100644 index 000000000..3f3b45441 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-609/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 609, "valid": false, "error_msg": "After applying the fix patch, no test results were captured when executing the test command. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (2, 0, 0)\n test = (0, 0, 0)\n fix = (0, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 2, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit_all", "json_unit_default"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/fix-patch-run.log new file mode 100644 index 000000000..1a8381b8b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/fix-patch-run.log @@ -0,0 +1,335 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5830 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.8 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.2 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.HA4wS5Ap +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.HA4wS5Ap/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.HA4wS5Ap/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.HA4wS5Ap/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.HA4wS5Ap/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.HA4wS5Ap/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.HA4wS5Ap +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d16e6776c0bf +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.TeX0ea37sJ/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-constructor1.cpp +patching file src/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 2%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 2%] Built target catch_main +Scanning dependencies of target json_unit +[ 5%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-algorithms.cpp.o +[ 8%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-allocator.cpp.o +[ 10%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-capacity.cpp.o +[ 13%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-cbor.cpp.o +[ 16%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_const_iterator.cpp.o +[ 18%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_iterator.cpp.o +[ 21%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_lexer.cpp.o +[ 24%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-class_parser.cpp.o +[ 27%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-comparison.cpp.o +[ 29%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-concepts.cpp.o +[ 32%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-constructor1.cpp.o +[ 35%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-constructor2.cpp.o +[ 37%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-convenience.cpp.o +[ 40%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-conversions.cpp.o +[ 43%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-deserialization.cpp.o +/home/json/test/src/unit-deserialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-deserialization.cpp:71:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << ss; + ^~ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/src/json.hpp:12825:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:29:0: +/home/json/test/src/unit-deserialization.cpp:128:34: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_AS(j << ss1, json::parse_error&); + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/src/json.hpp:12825:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:29:0: +/home/json/test/src/unit-deserialization.cpp:129:36: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_WITH(j << ss2, + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/src/json.hpp:12825:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +[ 45%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-element_access1.cpp.o +[ 48%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-element_access2.cpp.o +[ 51%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-inspection.cpp.o +[ 54%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterator_wrapper.cpp.o +[ 56%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterators1.cpp.o +[ 59%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-iterators2.cpp.o +[ 62%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-json_patch.cpp.o +[ 64%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-json_pointer.cpp.o +[ 67%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-meta.cpp.o +[ 70%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-modifiers.cpp.o +[ 72%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-msgpack.cpp.o +[ 75%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-noexcept.cpp.o +[ 78%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-pointer_access.cpp.o +[ 81%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-readme.cpp.o +[ 83%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-reference_access.cpp.o +[ 86%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-regression.cpp.o +[ 89%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-serialization.cpp.o +/home/json/test/src/unit-serialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-serialization.cpp:71:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/src/json.hpp:12642:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:80:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/src/json.hpp:12642:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:91:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/src/json.hpp:12642:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +[ 91%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-testsuites.cpp.o +[ 94%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-udt.cpp.o +[ 97%] Building CXX object test/CMakeFiles/json_unit.dir/src/unit-unicode.cpp.o +[100%] Linking CXX executable json_unit +[100%] Built target json_unit +Test project /home/json/build + Start 1: json_unit_default +1/2 Test #1: json_unit_default ................ Passed 8.36 sec + Start 2: json_unit_all +2/2 Test #2: json_unit_all .................... Passed 155.51 sec + +100% tests passed, 0 tests failed out of 2 + +Total Test time (real) = 163.87 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/fix.patch new file mode 100644 index 000000000..5e5ee13d3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/fix.patch @@ -0,0 +1,26 @@ +diff --git a/src/json.hpp b/src/json.hpp +index 83c9ef2e..6ec8a15b 100644 +--- a/src/json.hpp ++++ b/src/json.hpp +@@ -1235,16 +1235,17 @@ void from_json(const BasicJsonType& j, ArithmeticType& val) + } + } + +-template +-void from_json(const BasicJsonType& j, std::pair& p) ++template ++void from_json(const BasicJsonType& j, std::pair& p) + { +- p = {j.at(0), j.at(1)}; ++ p.first = j.at(0).template get(); ++ p.second = j.at(1).template get(); + } + + template + void from_json_tuple_impl(const BasicJsonType& j, Tuple& t, index_sequence) + { +- t = std::make_tuple(j.at(Idx)...); ++ t = std::make_tuple(j.at(Idx).template get::type>()...); + } + + template diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/report.json new file mode 100644 index 000000000..d434d9991 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-708/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 708, "valid": true, "error_msg": "", "fixed_tests": {"json_unit_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json_unit_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"json_unit_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json_unit_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 2, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit_all", "json_unit_default"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 2, "failed_count": 0, "skipped_count": 0, "passed_tests": ["json_unit_all", "json_unit_default"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/fix-patch-run.log new file mode 100644 index 000000000..c68608e74 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/fix-patch-run.log @@ -0,0 +1,591 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5767 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.5 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.4 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.UGOw3nhj +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.UGOw3nhj/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.UGOw3nhj/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.UGOw3nhj/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.UGOw3nhj/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.UGOw3nhj/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.UGOw3nhj +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=ecc4ac2db30d +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.DUnbFPikDt/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-regression.cpp +patching file src/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-conversions +[ 2%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 4%] Linking CXX executable test-conversions +[ 4%] Built target test-conversions +Scanning dependencies of target test-convenience +[ 5%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 7%] Linking CXX executable test-convenience +[ 7%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 8%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 9%] Linking CXX executable test-class_iterator +[ 9%] Built target test-class_iterator +Scanning dependencies of target test-reference_access +[ 11%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 12%] Linking CXX executable test-reference_access +[ 12%] Built target test-reference_access +Scanning dependencies of target test-constructor2 +[ 14%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 15%] Linking CXX executable test-constructor2 +[ 15%] Built target test-constructor2 +Scanning dependencies of target test-deserialization +[ 16%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +/home/json/test/src/unit-deserialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-deserialization.cpp:72:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << ss; + ^~ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/src/json.hpp:12998:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:29:0: +/home/json/test/src/unit-deserialization.cpp:129:34: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_AS(j << ss1, json::parse_error&); + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/src/json.hpp:12998:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:29:0: +/home/json/test/src/unit-deserialization.cpp:130:36: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_WITH(j << ss2, + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/src/json.hpp:12998:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:532:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/src/json.hpp:12998:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:534:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/src/json.hpp:12998:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +[ 18%] Linking CXX executable test-deserialization +[ 18%] Built target test-deserialization +Scanning dependencies of target test-constructor1 +[ 19%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 21%] Linking CXX executable test-constructor1 +[ 21%] Built target test-constructor1 +Scanning dependencies of target test-class_parser +[ 22%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 23%] Linking CXX executable test-class_parser +[ 23%] Built target test-class_parser +Scanning dependencies of target test-class_lexer +[ 25%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 26%] Linking CXX executable test-class_lexer +[ 26%] Built target test-class_lexer +Scanning dependencies of target test-concepts +[ 28%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 29%] Linking CXX executable test-concepts +[ 29%] Built target test-concepts +Scanning dependencies of target test-testsuites +[ 30%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 32%] Linking CXX executable test-testsuites +[ 32%] Built target test-testsuites +Scanning dependencies of target test-element_access2 +[ 33%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 35%] Linking CXX executable test-element_access2 +[ 35%] Built target test-element_access2 +Scanning dependencies of target test-udt +[ 36%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 38%] Linking CXX executable test-udt +[ 38%] Built target test-udt +Scanning dependencies of target test-comparison +[ 39%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 40%] Linking CXX executable test-comparison +[ 40%] Built target test-comparison +Scanning dependencies of target test-regression +[ 42%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 43%] Linking CXX executable test-regression +[ 43%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 45%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 46%] Linking CXX executable test-json_pointer +[ 46%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 47%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 49%] Linking CXX executable test-modifiers +[ 49%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 50%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 52%] Linking CXX executable test-allocator +[ 52%] Built target test-allocator +Scanning dependencies of target test-algorithms +[ 53%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 54%] Linking CXX executable test-algorithms +[ 54%] Built target test-algorithms +Scanning dependencies of target test-cbor +[ 56%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 57%] Linking CXX executable test-cbor +[ 57%] Built target test-cbor +Scanning dependencies of target test-pointer_access +[ 59%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 60%] Linking CXX executable test-pointer_access +[ 60%] Built target test-pointer_access +Scanning dependencies of target test-unicode +[ 61%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 63%] Linking CXX executable test-unicode +[ 63%] Built target test-unicode +Scanning dependencies of target test-class_const_iterator +[ 64%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 66%] Linking CXX executable test-class_const_iterator +[ 66%] Built target test-class_const_iterator +Scanning dependencies of target test-capacity +[ 67%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 69%] Linking CXX executable test-capacity +[ 69%] Built target test-capacity +Scanning dependencies of target test-iterators2 +[ 70%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 71%] Linking CXX executable test-iterators2 +[ 71%] Built target test-iterators2 +Scanning dependencies of target test-json_patch +[ 73%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 74%] Linking CXX executable test-json_patch +[ 74%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 76%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 77%] Linking CXX executable test-noexcept +[ 77%] Built target test-noexcept +Scanning dependencies of target test-element_access1 +[ 78%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 80%] Linking CXX executable test-element_access1 +[ 80%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 81%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 83%] Linking CXX executable test-meta +[ 83%] Built target test-meta +Scanning dependencies of target test-inspection +[ 84%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 85%] Linking CXX executable test-inspection +[ 85%] Built target test-inspection +Scanning dependencies of target test-readme +[ 87%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 88%] Linking CXX executable test-readme +[ 88%] Built target test-readme +Scanning dependencies of target test-iterator_wrapper +[ 90%] Building CXX object test/CMakeFiles/test-iterator_wrapper.dir/src/unit-iterator_wrapper.cpp.o +[ 91%] Linking CXX executable test-iterator_wrapper +[ 91%] Built target test-iterator_wrapper +Scanning dependencies of target test-iterators1 +[ 92%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 94%] Linking CXX executable test-iterators1 +[ 94%] Built target test-iterators1 +Scanning dependencies of target test-msgpack +[ 95%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 97%] Linking CXX executable test-msgpack +[ 97%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 98%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +/home/json/test/src/unit-serialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-serialization.cpp:71:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/src/json.hpp:12812:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:80:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/src/json.hpp:12812:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:91:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/src/json.hpp:12812:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +[100%] Linking CXX executable test-serialization +[100%] Built target test-serialization +Test project /home/json/build + Start 1: test-algorithms_default + 1/70 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/70 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/70 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/70 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-capacity_default + 5/70 Test #5: test-capacity_default ............... Passed 0.00 sec + Start 6: test-capacity_all + 6/70 Test #6: test-capacity_all ................... Passed 0.00 sec + Start 7: test-cbor_default + 7/70 Test #7: test-cbor_default ................... Passed 1.40 sec + Start 8: test-cbor_all + 8/70 Test #8: test-cbor_all ....................... Passed 19.12 sec + Start 9: test-class_const_iterator_default + 9/70 Test #9: test-class_const_iterator_default ... Passed 0.00 sec + Start 10: test-class_const_iterator_all +10/70 Test #10: test-class_const_iterator_all ....... Passed 0.00 sec + Start 11: test-class_iterator_default +11/70 Test #11: test-class_iterator_default ......... Passed 0.00 sec + Start 12: test-class_iterator_all +12/70 Test #12: test-class_iterator_all ............. Passed 0.00 sec + Start 13: test-class_lexer_default +13/70 Test #13: test-class_lexer_default ............ Passed 0.00 sec + Start 14: test-class_lexer_all +14/70 Test #14: test-class_lexer_all ................ Passed 0.00 sec + Start 15: test-class_parser_default +15/70 Test #15: test-class_parser_default ........... Passed 0.08 sec + Start 16: test-class_parser_all +16/70 Test #16: test-class_parser_all ............... Passed 0.08 sec + Start 17: test-comparison_default +17/70 Test #17: test-comparison_default ............. Passed 0.01 sec + Start 18: test-comparison_all +18/70 Test #18: test-comparison_all ................. Passed 0.01 sec + Start 19: test-concepts_default +19/70 Test #19: test-concepts_default ............... Passed 0.00 sec + Start 20: test-concepts_all +20/70 Test #20: test-concepts_all ................... Passed 0.00 sec + Start 21: test-constructor1_default +21/70 Test #21: test-constructor1_default ........... Passed 0.01 sec + Start 22: test-constructor1_all +22/70 Test #22: test-constructor1_all ............... Passed 0.01 sec + Start 23: test-constructor2_default +23/70 Test #23: test-constructor2_default ........... Passed 0.00 sec + Start 24: test-constructor2_all +24/70 Test #24: test-constructor2_all ............... Passed 0.00 sec + Start 25: test-convenience_default +25/70 Test #25: test-convenience_default ............ Passed 0.00 sec + Start 26: test-convenience_all +26/70 Test #26: test-convenience_all ................ Passed 0.00 sec + Start 27: test-conversions_default +27/70 Test #27: test-conversions_default ............ Passed 0.01 sec + Start 28: test-conversions_all +28/70 Test #28: test-conversions_all ................ Passed 0.01 sec + Start 29: test-deserialization_default +29/70 Test #29: test-deserialization_default ........ Passed 0.01 sec + Start 30: test-deserialization_all +30/70 Test #30: test-deserialization_all ............ Passed 0.01 sec + Start 31: test-element_access1_default +31/70 Test #31: test-element_access1_default ........ Passed 0.01 sec + Start 32: test-element_access1_all +32/70 Test #32: test-element_access1_all ............ Passed 0.01 sec + Start 33: test-element_access2_default +33/70 Test #33: test-element_access2_default ........ Passed 0.01 sec + Start 34: test-element_access2_all +34/70 Test #34: test-element_access2_all ............ Passed 0.01 sec + Start 35: test-inspection_default +35/70 Test #35: test-inspection_default ............. Passed 3.65 sec + Start 36: test-inspection_all +36/70 Test #36: test-inspection_all ................. Passed 3.64 sec + Start 37: test-iterator_wrapper_default +37/70 Test #37: test-iterator_wrapper_default ....... Passed 0.00 sec + Start 38: test-iterator_wrapper_all +38/70 Test #38: test-iterator_wrapper_all ........... Passed 0.00 sec + Start 39: test-iterators1_default +39/70 Test #39: test-iterators1_default ............. Passed 0.01 sec + Start 40: test-iterators1_all +40/70 Test #40: test-iterators1_all ................. Passed 0.01 sec + Start 41: test-iterators2_default +41/70 Test #41: test-iterators2_default ............. Passed 0.03 sec + Start 42: test-iterators2_all +42/70 Test #42: test-iterators2_all ................. Passed 0.03 sec + Start 43: test-json_patch_default +43/70 Test #43: test-json_patch_default ............. Passed 0.01 sec + Start 44: test-json_patch_all +44/70 Test #44: test-json_patch_all ................. Passed 0.01 sec + Start 45: test-json_pointer_default +45/70 Test #45: test-json_pointer_default ........... Passed 0.00 sec + Start 46: test-json_pointer_all +46/70 Test #46: test-json_pointer_all ............... Passed 0.00 sec + Start 47: test-meta_default +47/70 Test #47: test-meta_default ................... Passed 0.00 sec + Start 48: test-meta_all +48/70 Test #48: test-meta_all ....................... Passed 0.00 sec + Start 49: test-modifiers_default +49/70 Test #49: test-modifiers_default .............. Passed 0.01 sec + Start 50: test-modifiers_all +50/70 Test #50: test-modifiers_all .................. Passed 0.01 sec + Start 51: test-msgpack_default +51/70 Test #51: test-msgpack_default ................ Passed 1.28 sec + Start 52: test-msgpack_all +52/70 Test #52: test-msgpack_all .................... Passed 18.93 sec + Start 53: test-noexcept_default +53/70 Test #53: test-noexcept_default ............... Passed 0.00 sec + Start 54: test-noexcept_all +54/70 Test #54: test-noexcept_all ................... Passed 0.00 sec + Start 55: test-pointer_access_default +55/70 Test #55: test-pointer_access_default ......... Passed 0.00 sec + Start 56: test-pointer_access_all +56/70 Test #56: test-pointer_access_all ............. Passed 0.00 sec + Start 57: test-readme_default +57/70 Test #57: test-readme_default ................. Passed 0.00 sec + Start 58: test-readme_all +58/70 Test #58: test-readme_all ..................... Passed 0.00 sec + Start 59: test-reference_access_default +59/70 Test #59: test-reference_access_default ....... Passed 0.00 sec + Start 60: test-reference_access_all +60/70 Test #60: test-reference_access_all ........... Passed 0.00 sec + Start 61: test-regression_default +61/70 Test #61: test-regression_default ............. Passed 2.99 sec + Start 62: test-regression_all +62/70 Test #62: test-regression_all ................. Passed 2.98 sec + Start 63: test-serialization_default +63/70 Test #63: test-serialization_default .......... Passed 0.00 sec + Start 64: test-serialization_all +64/70 Test #64: test-serialization_all .............. Passed 0.00 sec + Start 65: test-testsuites_default +65/70 Test #65: test-testsuites_default ............. Passed 0.04 sec + Start 66: test-testsuites_all +66/70 Test #66: test-testsuites_all ................. Passed 0.04 sec + Start 67: test-udt_default +67/70 Test #67: test-udt_default .................... Passed 0.00 sec + Start 68: test-udt_all +68/70 Test #68: test-udt_all ........................ Passed 0.00 sec + Start 69: test-unicode_default +69/70 Test #69: test-unicode_default ................ Passed 0.00 sec + Start 70: test-unicode_all +70/70 Test #70: test-unicode_all .................... Passed 126.53 sec + +100% tests passed, 0 tests failed out of 70 + +Label Time Summary: +all = 171.46 sec*proc (35 tests) +default = 9.58 sec*proc (35 tests) + +Total Test time (real) = 181.06 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/fix.patch new file mode 100644 index 000000000..e568babd5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/fix.patch @@ -0,0 +1,13 @@ +diff --git a/src/json.hpp b/src/json.hpp +index 5c6515bf..e8941302 100644 +--- a/src/json.hpp ++++ b/src/json.hpp +@@ -6789,7 +6789,7 @@ class json_ref + {} + + template +- json_ref(Args... args) ++ json_ref(Args&&... args) + : owned_value(std::forward(args)...), + value_ref(&owned_value), + is_rvalue(true) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/report.json new file mode 100644 index 000000000..ac863fdee --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-807/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 807, "valid": true, "error_msg": "", "fixed_tests": {"test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterator_wrapper_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterator_wrapper_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterator_wrapper_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterator_wrapper_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 70, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-pointer_access_all", "test-iterators2_default", "test-reference_access_default", "test-noexcept_default", "test-class_iterator_default", "test-conversions_all", "test-element_access2_all", "test-allocator_all", "test-iterators1_default", "test-reference_access_all", "test-iterator_wrapper_default", "test-class_lexer_all", "test-pointer_access_default", "test-json_patch_default", "test-modifiers_all", "test-meta_all", "test-deserialization_default", "test-json_pointer_all", "test-comparison_default", "test-cbor_all", "test-readme_default", "test-iterators1_all", "test-capacity_all", "test-serialization_all", "test-concepts_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-element_access1_all", "test-algorithms_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-cbor_default", "test-capacity_default", "test-modifiers_default", "test-element_access1_default", "test-element_access2_default", "test-class_iterator_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-udt_all", "test-json_patch_all", "test-iterator_wrapper_all", "test-allocator_default", "test-unicode_all", "test-constructor2_default", "test-class_parser_all", "test-conversions_default", "test-inspection_all", "test-udt_default", "test-readme_all", "test-regression_default", "test-meta_default", "test-serialization_default", "test-msgpack_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 70, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-pointer_access_all", "test-iterators2_default", "test-class_lexer_all", "test-class_iterator_default", "test-allocator_all", "test-conversions_all", "test-element_access2_all", "test-iterators1_default", "test-noexcept_default", "test-pointer_access_default", "test-iterator_wrapper_default", "test-reference_access_default", "test-reference_access_all", "test-json_patch_default", "test-modifiers_all", "test-deserialization_default", "test-meta_all", "test-json_pointer_all", "test-comparison_default", "test-capacity_all", "test-cbor_all", "test-iterators1_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-algorithms_default", "test-element_access1_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-capacity_default", "test-modifiers_default", "test-element_access1_default", "test-element_access2_default", "test-class_iterator_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-json_patch_all", "test-udt_all", "test-iterator_wrapper_all", "test-allocator_default", "test-unicode_all", "test-class_parser_all", "test-constructor2_default", "test-conversions_default", "test-inspection_all", "test-meta_default", "test-readme_all", "test-regression_default", "test-udt_default", "test-serialization_default", "test-msgpack_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/fix-patch-run.log new file mode 100644 index 000000000..c8609e669 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/fix-patch-run.log @@ -0,0 +1,2888 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5628 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (15.0 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.6 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.XRKqBCuL +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.XRKqBCuL/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.XRKqBCuL/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.XRKqBCuL/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.XRKqBCuL/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.XRKqBCuL/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.XRKqBCuL +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=ca0b1fbaf92c +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.kkDEFS1GfZ/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/CMakeLists.txt +patching file test/Makefile +patching file test/src/fuzzer-parse_cbor.cpp +patching file test/src/fuzzer-parse_json.cpp +patching file test/src/fuzzer-parse_msgpack.cpp +patching file test/src/fuzzer-parse_ubjson.cpp +patching file test/src/unit-algorithms.cpp +patching file test/src/unit-allocator.cpp +patching file test/src/unit-capacity.cpp +patching file test/src/unit-cbor.cpp +patching file test/src/unit-class_const_iterator.cpp +patching file test/src/unit-class_iterator.cpp +patching file test/src/unit-class_lexer.cpp +patching file test/src/unit-class_parser.cpp +patching file test/src/unit-comparison.cpp +patching file test/src/unit-concepts.cpp +patching file test/src/unit-constructor1.cpp +patching file test/src/unit-constructor2.cpp +patching file test/src/unit-convenience.cpp +patching file test/src/unit-conversions.cpp +patching file test/src/unit-deserialization.cpp +patching file test/src/unit-element_access1.cpp +patching file test/src/unit-element_access2.cpp +patching file test/src/unit-inspection.cpp +patching file test/src/unit-items.cpp +patching file test/src/unit-iterators1.cpp +patching file test/src/unit-iterators2.cpp +patching file test/src/unit-json_patch.cpp +patching file test/src/unit-json_pointer.cpp +patching file test/src/unit-merge_patch.cpp +patching file test/src/unit-meta.cpp +patching file test/src/unit-modifiers.cpp +patching file test/src/unit-msgpack.cpp +patching file test/src/unit-noexcept.cpp +patching file test/src/unit-pointer_access.cpp +patching file test/src/unit-readme.cpp +patching file test/src/unit-reference_access.cpp +patching file test/src/unit-regression.cpp +patching file test/src/unit-serialization.cpp +patching file test/src/unit-testsuites.cpp +patching file test/src/unit-to_chars.cpp +patching file test/src/unit-ubjson.cpp +patching file test/src/unit-udt.cpp +patching file test/src/unit-unicode.cpp +patching file develop/detail/meta.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-unicode +[ 2%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +/home/json/test/src/unit-unicode.cpp:32:10: fatal error: nlohmann/json.hpp: No such file or directory + #include + ^~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [test/CMakeFiles/test-unicode.dir/build.make:63: test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:1063: test/CMakeFiles/test-unicode.dir/all] Error 2 +make: *** [Makefile:141: all] Error 2 +Test project /home/json/build + Start 1: test-algorithms_default +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms + 1/76 Test #1: test-algorithms_default .............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-algorithms + Start 2: test-algorithms_all +Could not find executable /home/json/build/test/test-algorithms +Looked in the following places: +/home/json/build/test/test-algorithms +/home/json/build/test/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Release/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/Debug/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/MinSizeRel/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/RelWithDebInfo/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Deployment/test-algorithms +/home/json/build/test/Development/test-algorithms +/home/json/build/test/Development/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Release/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/Debug/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/MinSizeRel/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/RelWithDebInfo/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Deployment/test-algorithms +home/json/build/test/Development/test-algorithms +home/json/build/test/Development/test-algorithms +Unable to find executable: /home/json/build/test/test-algorithms + 2/76 Test #2: test-algorithms_all .................***Not Run 0.00 sec + Start 3: test-allocator_default +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +Unable to find executable: /home/json/build/test/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +home/json/build/test/Development/test-allocator + 3/76 Test #3: test-allocator_default ..............***Not Run 0.00 sec + Start 4: test-allocator_all +Could not find executable /home/json/build/test/test-allocator +Looked in the following places: +/home/json/build/test/test-allocator +/home/json/build/test/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Release/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/Debug/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/MinSizeRel/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/RelWithDebInfo/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Deployment/test-allocator +/home/json/build/test/Development/test-allocator +/home/json/build/test/Development/test-allocator +home/json/build/test/test-allocator +home/json/build/test/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Release/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/Debug/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/MinSizeRel/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/RelWithDebInfo/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Deployment/test-allocator +home/json/build/test/Development/test-allocator +Unable to find executable: /home/json/build/test/test-allocator +home/json/build/test/Development/test-allocator + 4/76 Test #4: test-allocator_all ..................***Not Run 0.00 sec + Start 5: test-capacity_default +Could not find executable /home/json/build/test/test-capacity +Looked in the following places: +/home/json/build/test/test-capacity +/home/json/build/test/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Development/test-capacity +/home/json/build/test/Development/test-capacity +home/json/build/test/test-capacity +home/json/build/test/test-capacity +Unable to find executable: /home/json/build/test/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Development/test-capacity +home/json/build/test/Development/test-capacity + 5/76 Test #5: test-capacity_default ...............***Not Run 0.00 sec + Start 6: test-capacity_all +Could not find executable /home/json/build/test/test-capacity +Looked in the following places: +/home/json/build/test/test-capacity +/home/json/build/test/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Release/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/Debug/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/MinSizeRel/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/RelWithDebInfo/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Deployment/test-capacity +/home/json/build/test/Development/test-capacity +/home/json/build/test/Development/test-capacity +home/json/build/test/test-capacity +home/json/build/test/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Release/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/Debug/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/MinSizeRel/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/RelWithDebInfo/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Deployment/test-capacity +home/json/build/test/Development/test-capacity +home/json/build/test/Development/test-capacity +Unable to find executable: /home/json/build/test/test-capacity + 6/76 Test #6: test-capacity_all ...................***Not Run 0.00 sec + Start 7: test-cbor_default +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +Unable to find executable: /home/json/build/test/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor + 7/76 Test #7: test-cbor_default ...................***Not Run 0.00 sec + Start 8: test-cbor_all +Could not find executable /home/json/build/test/test-cbor +Looked in the following places: +/home/json/build/test/test-cbor +/home/json/build/test/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Release/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/Debug/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/MinSizeRel/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/RelWithDebInfo/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Deployment/test-cbor +/home/json/build/test/Development/test-cbor +/home/json/build/test/Development/test-cbor +home/json/build/test/test-cbor +home/json/build/test/test-cbor +home/json/build/test/Release/test-cbor +home/json/build/test/Release/test-cbor +Unable to find executable: /home/json/build/test/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/Debug/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/MinSizeRel/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/RelWithDebInfo/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Deployment/test-cbor +home/json/build/test/Development/test-cbor +home/json/build/test/Development/test-cbor + 8/76 Test #8: test-cbor_all .......................***Not Run 0.00 sec + Start 9: test-class_const_iterator_default +Could not find executable /home/json/build/test/test-class_const_iterator +Looked in the following places: +/home/json/build/test/test-class_const_iterator +/home/json/build/test/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator + 9/76 Test #9: test-class_const_iterator_default ...***Not Run 0.00 sec + Start 10: test-class_const_iterator_all +Could not find executable /home/json/build/test/test-class_const_iterator +Looked in the following places: +/home/json/build/test/test-class_const_iterator +/home/json/build/test/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +/home/json/build/test/Release/test-class_const_iterator +Unable to find executable: /home/json/build/test/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/Debug/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/MinSizeRel/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/RelWithDebInfo/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Deployment/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +/home/json/build/test/Development/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Release/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/Debug/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/MinSizeRel/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/RelWithDebInfo/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Deployment/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +home/json/build/test/Development/test-class_const_iterator +10/76 Test #10: test-class_const_iterator_all .......***Not Run 0.00 sec + Start 11: test-class_iterator_default +Could not find executable /home/json/build/test/test-class_iterator +Looked in the following places: +/home/json/build/test/test-class_iterator +/home/json/build/test/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Development/test-class_iterator +/home/json/build/test/Development/test-class_iterator +Unable to find executable: /home/json/build/test/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Development/test-class_iterator +home/json/build/test/Development/test-class_iterator +11/76 Test #11: test-class_iterator_default .........***Not Run 0.00 sec + Start 12: test-class_iterator_all +Could not find executable /home/json/build/test/test-class_iterator +Looked in the following places: +/home/json/build/test/test-class_iterator +/home/json/build/test/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Release/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/Debug/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/MinSizeRel/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/RelWithDebInfo/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Deployment/test-class_iterator +/home/json/build/test/Development/test-class_iterator +/home/json/build/test/Development/test-class_iterator +home/json/build/test/test-class_iterator +home/json/build/test/test-class_iterator +Unable to find executable: /home/json/build/test/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Release/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/Debug/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/MinSizeRel/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/RelWithDebInfo/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Deployment/test-class_iterator +home/json/build/test/Development/test-class_iterator +home/json/build/test/Development/test-class_iterator +12/76 Test #12: test-class_iterator_all .............***Not Run 0.00 sec + Start 13: test-class_lexer_default +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +13/76 Test #13: test-class_lexer_default ............***Not Run 0.00 sec + Start 14: test-class_lexer_all +Could not find executable /home/json/build/test/test-class_lexer +Looked in the following places: +/home/json/build/test/test-class_lexer +/home/json/build/test/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Release/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/Debug/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/MinSizeRel/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/RelWithDebInfo/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Deployment/test-class_lexer +/home/json/build/test/Development/test-class_lexer +/home/json/build/test/Development/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Release/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/Debug/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/MinSizeRel/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/RelWithDebInfo/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Deployment/test-class_lexer +home/json/build/test/Development/test-class_lexer +home/json/build/test/Development/test-class_lexer +Unable to find executable: /home/json/build/test/test-class_lexer +14/76 Test #14: test-class_lexer_all ................***Not Run 0.00 sec + Start 15: test-class_parser_default +Could not find executable /home/json/build/test/test-class_parser +Looked in the following places: +/home/json/build/test/test-class_parser +/home/json/build/test/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Development/test-class_parser +/home/json/build/test/Development/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Debug/test-class_parser +Unable to find executable: /home/json/build/test/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Development/test-class_parser +home/json/build/test/Development/test-class_parser +15/76 Test #15: test-class_parser_default ...........***Not Run 0.00 sec + Start 16: test-class_parser_all +Could not find executable /home/json/build/test/test-class_parser +Looked in the following places: +/home/json/build/test/test-class_parser +/home/json/build/test/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Release/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/Debug/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/MinSizeRel/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/RelWithDebInfo/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Deployment/test-class_parser +/home/json/build/test/Development/test-class_parser +/home/json/build/test/Development/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Release/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/Debug/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/MinSizeRel/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/RelWithDebInfo/test-class_parser +home/json/build/test/Deployment/test-class_parser +home/json/build/test/Deployment/test-class_parser +Unable to find executable: /home/json/build/test/test-class_parser +home/json/build/test/Development/test-class_parser +home/json/build/test/Development/test-class_parser +16/76 Test #16: test-class_parser_all ...............***Not Run 0.00 sec + Start 17: test-comparison_default +Could not find executable /home/json/build/test/test-comparison +Looked in the following places: +/home/json/build/test/test-comparison +/home/json/build/test/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Development/test-comparison +/home/json/build/test/Development/test-comparison +home/json/build/test/test-comparison +home/json/build/test/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Development/test-comparison +home/json/build/test/Development/test-comparison +17/76 Test #17: test-comparison_default .............***Not Run 0.00 sec + Start 18: test-comparison_all +Unable to find executable: /home/json/build/test/test-comparison +Could not find executable /home/json/build/test/test-comparison +Looked in the following places: +/home/json/build/test/test-comparison +/home/json/build/test/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Release/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/Debug/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/MinSizeRel/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +/home/json/build/test/RelWithDebInfo/test-comparison +Unable to find executable: /home/json/build/test/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Deployment/test-comparison +/home/json/build/test/Development/test-comparison +/home/json/build/test/Development/test-comparison +home/json/build/test/test-comparison +home/json/build/test/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Release/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/Debug/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/MinSizeRel/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/RelWithDebInfo/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Deployment/test-comparison +home/json/build/test/Development/test-comparison +home/json/build/test/Development/test-comparison +18/76 Test #18: test-comparison_all .................***Not Run 0.00 sec + Start 19: test-concepts_default +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +Unable to find executable: /home/json/build/test/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +19/76 Test #19: test-concepts_default ...............***Not Run 0.00 sec + Start 20: test-concepts_all +Could not find executable /home/json/build/test/test-concepts +Looked in the following places: +/home/json/build/test/test-concepts +/home/json/build/test/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Release/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/Debug/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/MinSizeRel/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/RelWithDebInfo/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Deployment/test-concepts +/home/json/build/test/Development/test-concepts +/home/json/build/test/Development/test-concepts +home/json/build/test/test-concepts +home/json/build/test/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Release/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/Debug/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/MinSizeRel/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/RelWithDebInfo/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Deployment/test-concepts +home/json/build/test/Development/test-concepts +home/json/build/test/Development/test-concepts +20/76 Test #20: test-concepts_all ...................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-concepts + Start 21: test-constructor1_default +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +21/76 Test #21: test-constructor1_default ...........***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-constructor1 + Start 22: test-constructor1_all +Could not find executable /home/json/build/test/test-constructor1 +Looked in the following places: +/home/json/build/test/test-constructor1 +/home/json/build/test/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Release/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/Debug/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/MinSizeRel/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/RelWithDebInfo/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Deployment/test-constructor1 +/home/json/build/test/Development/test-constructor1 +/home/json/build/test/Development/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Release/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/Debug/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +home/json/build/test/MinSizeRel/test-constructor1 +Unable to find executable: /home/json/build/test/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/RelWithDebInfo/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Deployment/test-constructor1 +home/json/build/test/Development/test-constructor1 +home/json/build/test/Development/test-constructor1 +22/76 Test #22: test-constructor1_all ...............***Not Run 0.00 sec + Start 23: test-constructor2_default +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +23/76 Test #23: test-constructor2_default ...........***Not Run 0.00 sec + Start 24: test-constructor2_all +Could not find executable /home/json/build/test/test-constructor2 +Looked in the following places: +/home/json/build/test/test-constructor2 +/home/json/build/test/test-constructor2 +/home/json/build/test/Release/test-constructor2 +/home/json/build/test/Release/test-constructor2 +Unable to find executable: /home/json/build/test/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/Debug/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/MinSizeRel/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/RelWithDebInfo/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Deployment/test-constructor2 +/home/json/build/test/Development/test-constructor2 +/home/json/build/test/Development/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Release/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/Debug/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/MinSizeRel/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/RelWithDebInfo/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Deployment/test-constructor2 +home/json/build/test/Development/test-constructor2 +home/json/build/test/Development/test-constructor2 +24/76 Test #24: test-constructor2_all ...............***Not Run 0.00 sec + Start 25: test-convenience_default +Could not find executable /home/json/build/test/test-convenience +Looked in the following places: +/home/json/build/test/test-convenience +/home/json/build/test/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Development/test-convenience +/home/json/build/test/Development/test-convenience +home/json/build/test/test-convenience +home/json/build/test/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/Debug/test-convenience +Unable to find executable: /home/json/build/test/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Development/test-convenience +home/json/build/test/Development/test-convenience +25/76 Test #25: test-convenience_default ............***Not Run 0.00 sec + Start 26: test-convenience_all +Could not find executable /home/json/build/test/test-convenience +Looked in the following places: +/home/json/build/test/test-convenience +/home/json/build/test/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Release/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/Debug/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/MinSizeRel/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/RelWithDebInfo/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Deployment/test-convenience +/home/json/build/test/Development/test-convenience +/home/json/build/test/Development/test-convenience +home/json/build/test/test-convenience +home/json/build/test/test-convenience +home/json/build/test/Release/test-convenience +home/json/build/test/Release/test-convenience +Unable to find executable: /home/json/build/test/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/Debug/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/MinSizeRel/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/RelWithDebInfo/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Deployment/test-convenience +home/json/build/test/Development/test-convenience +home/json/build/test/Development/test-convenience +26/76 Test #26: test-convenience_all ................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-conversions + Start 27: test-conversions_default +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +27/76 Test #27: test-conversions_default ............***Not Run 0.00 sec + Start 28: test-conversions_all +Could not find executable /home/json/build/test/test-conversions +Looked in the following places: +/home/json/build/test/test-conversions +/home/json/build/test/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Release/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/Debug/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/MinSizeRel/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/RelWithDebInfo/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Deployment/test-conversions +/home/json/build/test/Development/test-conversions +/home/json/build/test/Development/test-conversions +home/json/build/test/test-conversions +home/json/build/test/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Release/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/Debug/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/MinSizeRel/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/RelWithDebInfo/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Deployment/test-conversions +home/json/build/test/Development/test-conversions +home/json/build/test/Development/test-conversions +28/76 Test #28: test-conversions_all ................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-conversions + Start 29: test-deserialization_default +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +29/76 Test #29: test-deserialization_default ........***Not Run 0.00 sec + Start 30: test-deserialization_all +Could not find executable /home/json/build/test/test-deserialization +Looked in the following places: +/home/json/build/test/test-deserialization +/home/json/build/test/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Release/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/Debug/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/MinSizeRel/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/RelWithDebInfo/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Deployment/test-deserialization +/home/json/build/test/Development/test-deserialization +/home/json/build/test/Development/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Release/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/Debug/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/MinSizeRel/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +Unable to find executable: /home/json/build/test/test-deserialization +home/json/build/test/RelWithDebInfo/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Deployment/test-deserialization +home/json/build/test/Development/test-deserialization +home/json/build/test/Development/test-deserialization +30/76 Test #30: test-deserialization_all ............***Not Run 0.00 sec + Start 31: test-element_access1_default +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +Unable to find executable: /home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +31/76 Test #31: test-element_access1_default ........***Not Run 0.00 sec + Start 32: test-element_access1_all +Could not find executable /home/json/build/test/test-element_access1 +Looked in the following places: +/home/json/build/test/test-element_access1 +/home/json/build/test/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Release/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/Debug/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/MinSizeRel/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/RelWithDebInfo/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Deployment/test-element_access1 +/home/json/build/test/Development/test-element_access1 +/home/json/build/test/Development/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Release/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/Debug/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/MinSizeRel/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/RelWithDebInfo/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Deployment/test-element_access1 +home/json/build/test/Development/test-element_access1 +home/json/build/test/Development/test-element_access1 +32/76 Test #32: test-element_access1_all ............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-element_access1 + Start 33: test-element_access2_default +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +33/76 Test #33: test-element_access2_default ........***Not Run 0.00 sec + Start 34: test-element_access2_all +Could not find executable /home/json/build/test/test-element_access2 +Looked in the following places: +/home/json/build/test/test-element_access2 +/home/json/build/test/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Release/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/Debug/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/MinSizeRel/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/RelWithDebInfo/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Deployment/test-element_access2 +/home/json/build/test/Development/test-element_access2 +/home/json/build/test/Development/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +Unable to find executable: /home/json/build/test/test-element_access2 +home/json/build/test/Release/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/Debug/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/MinSizeRel/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/RelWithDebInfo/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Deployment/test-element_access2 +home/json/build/test/Development/test-element_access2 +home/json/build/test/Development/test-element_access2 +34/76 Test #34: test-element_access2_all ............***Not Run 0.00 sec + Start 35: test-inspection_default +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +Unable to find executable: /home/json/build/test/test-inspection +35/76 Test #35: test-inspection_default .............***Not Run 0.00 sec + Start 36: test-inspection_all +Could not find executable /home/json/build/test/test-inspection +Looked in the following places: +/home/json/build/test/test-inspection +/home/json/build/test/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Release/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/Debug/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/MinSizeRel/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/RelWithDebInfo/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Deployment/test-inspection +/home/json/build/test/Development/test-inspection +/home/json/build/test/Development/test-inspection +home/json/build/test/test-inspection +home/json/build/test/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Release/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/Debug/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/MinSizeRel/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/RelWithDebInfo/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Deployment/test-inspection +home/json/build/test/Development/test-inspection +home/json/build/test/Development/test-inspection +36/76 Test #36: test-inspection_all .................***Not Run 0.00 sec + Start 37: test-items_default +Unable to find executable: /home/json/build/test/test-inspection +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +Unable to find executable: /home/json/build/test/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +37/76 Test #37: test-items_default ..................***Not Run 0.00 sec + Start 38: test-items_all +Could not find executable /home/json/build/test/test-items +Looked in the following places: +/home/json/build/test/test-items +/home/json/build/test/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Release/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/Debug/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/MinSizeRel/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/RelWithDebInfo/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Deployment/test-items +/home/json/build/test/Development/test-items +/home/json/build/test/Development/test-items +home/json/build/test/test-items +home/json/build/test/test-items +home/json/build/test/Release/test-items +home/json/build/test/Release/test-items +home/json/build/test/Debug/test-items +home/json/build/test/Debug/test-items +Unable to find executable: /home/json/build/test/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/MinSizeRel/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/RelWithDebInfo/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Deployment/test-items +home/json/build/test/Development/test-items +home/json/build/test/Development/test-items +38/76 Test #38: test-items_all ......................***Not Run 0.00 sec + Start 39: test-iterators1_default +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +39/76 Test #39: test-iterators1_default .............***Not Run 0.00 sec + Start 40: test-iterators1_all +Could not find executable /home/json/build/test/test-iterators1 +Looked in the following places: +/home/json/build/test/test-iterators1 +/home/json/build/test/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Release/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/Debug/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/MinSizeRel/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/RelWithDebInfo/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Deployment/test-iterators1 +/home/json/build/test/Development/test-iterators1 +/home/json/build/test/Development/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Release/test-iterators1 +home/json/build/test/Debug/test-iterators1 +home/json/build/test/Debug/test-iterators1 +Unable to find executable: /home/json/build/test/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/MinSizeRel/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/RelWithDebInfo/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Deployment/test-iterators1 +home/json/build/test/Development/test-iterators1 +home/json/build/test/Development/test-iterators1 +40/76 Test #40: test-iterators1_all .................***Not Run 0.00 sec + Start 41: test-iterators2_default +Could not find executable /home/json/build/test/test-iterators2 +Looked in the following places: +/home/json/build/test/test-iterators2 +/home/json/build/test/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Development/test-iterators2 +/home/json/build/test/Development/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Development/test-iterators2 +home/json/build/test/Development/test-iterators2 +41/76 Test #41: test-iterators2_default .............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-iterators2 + Start 42: test-iterators2_all +Could not find executable /home/json/build/test/test-iterators2 +Looked in the following places: +/home/json/build/test/test-iterators2 +/home/json/build/test/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Release/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/Debug/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/MinSizeRel/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/RelWithDebInfo/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Deployment/test-iterators2 +/home/json/build/test/Development/test-iterators2 +/home/json/build/test/Development/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Release/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/Debug/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/MinSizeRel/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/RelWithDebInfo/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Deployment/test-iterators2 +home/json/build/test/Development/test-iterators2 +home/json/build/test/Development/test-iterators2 +42/76 Test #42: test-iterators2_all .................***Not Run 0.00 sec + Start 43: test-json_patch_default +Unable to find executable: /home/json/build/test/test-iterators2 +Could not find executable /home/json/build/test/test-json_patch +Looked in the following places: +/home/json/build/test/test-json_patch +/home/json/build/test/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Development/test-json_patch +/home/json/build/test/Development/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +Unable to find executable: /home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Development/test-json_patch +home/json/build/test/Development/test-json_patch +43/76 Test #43: test-json_patch_default .............***Not Run 0.00 sec + Start 44: test-json_patch_all +Could not find executable /home/json/build/test/test-json_patch +Looked in the following places: +/home/json/build/test/test-json_patch +/home/json/build/test/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Release/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/Debug/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/MinSizeRel/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/RelWithDebInfo/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Deployment/test-json_patch +/home/json/build/test/Development/test-json_patch +/home/json/build/test/Development/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Release/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/Debug/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/MinSizeRel/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/RelWithDebInfo/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Deployment/test-json_patch +home/json/build/test/Development/test-json_patch +home/json/build/test/Development/test-json_patch +Unable to find executable: /home/json/build/test/test-json_patch +44/76 Test #44: test-json_patch_all .................***Not Run 0.00 sec + Start 45: test-json_pointer_default +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +Unable to find executable: /home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +45/76 Test #45: test-json_pointer_default ...........***Not Run 0.00 sec + Start 46: test-json_pointer_all +Could not find executable /home/json/build/test/test-json_pointer +Looked in the following places: +/home/json/build/test/test-json_pointer +/home/json/build/test/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Release/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/Debug/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/MinSizeRel/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/RelWithDebInfo/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Deployment/test-json_pointer +/home/json/build/test/Development/test-json_pointer +/home/json/build/test/Development/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Release/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/Debug/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/MinSizeRel/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/RelWithDebInfo/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Deployment/test-json_pointer +home/json/build/test/Development/test-json_pointer +home/json/build/test/Development/test-json_pointer +46/76 Test #46: test-json_pointer_all ...............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-json_pointer + Start 47: test-merge_patch_default +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +47/76 Test #47: test-merge_patch_default ............***Not Run 0.00 sec + Start 48: test-merge_patch_all +Could not find executable /home/json/build/test/test-merge_patch +Looked in the following places: +/home/json/build/test/test-merge_patch +/home/json/build/test/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Release/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/Debug/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/MinSizeRel/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/RelWithDebInfo/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Deployment/test-merge_patch +/home/json/build/test/Development/test-merge_patch +/home/json/build/test/Development/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Release/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/Debug/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/MinSizeRel/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/RelWithDebInfo/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Deployment/test-merge_patch +home/json/build/test/Development/test-merge_patch +home/json/build/test/Development/test-merge_patch +Unable to find executable: /home/json/build/test/test-merge_patch +48/76 Test #48: test-merge_patch_all ................***Not Run 0.00 sec + Start 49: test-meta_default +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +49/76 Test #49: test-meta_default ...................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-meta + Start 50: test-meta_all +Could not find executable /home/json/build/test/test-meta +Looked in the following places: +/home/json/build/test/test-meta +/home/json/build/test/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Release/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/Debug/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/MinSizeRel/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/RelWithDebInfo/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Deployment/test-meta +/home/json/build/test/Development/test-meta +/home/json/build/test/Development/test-meta +home/json/build/test/test-meta +home/json/build/test/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Release/test-meta +home/json/build/test/Debug/test-meta +Unable to find executable: /home/json/build/test/test-meta +home/json/build/test/Debug/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/MinSizeRel/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/RelWithDebInfo/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Deployment/test-meta +home/json/build/test/Development/test-meta +home/json/build/test/Development/test-meta +50/76 Test #50: test-meta_all .......................***Not Run 0.00 sec + Start 51: test-modifiers_default +Unable to find executable: /home/json/build/test/test-modifiers +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +51/76 Test #51: test-modifiers_default ..............***Not Run 0.00 sec + Start 52: test-modifiers_all +Could not find executable /home/json/build/test/test-modifiers +Looked in the following places: +/home/json/build/test/test-modifiers +/home/json/build/test/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Release/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/Debug/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/MinSizeRel/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/RelWithDebInfo/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Deployment/test-modifiers +/home/json/build/test/Development/test-modifiers +/home/json/build/test/Development/test-modifiers +Unable to find executable: /home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Release/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/Debug/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/MinSizeRel/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/RelWithDebInfo/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Deployment/test-modifiers +home/json/build/test/Development/test-modifiers +home/json/build/test/Development/test-modifiers +52/76 Test #52: test-modifiers_all ..................***Not Run 0.00 sec + Start 53: test-msgpack_default +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +53/76 Test #53: test-msgpack_default ................***Not Run 0.00 sec + Start 54: test-msgpack_all +Could not find executable /home/json/build/test/test-msgpack +Looked in the following places: +/home/json/build/test/test-msgpack +/home/json/build/test/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Release/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/Debug/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/MinSizeRel/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/RelWithDebInfo/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Deployment/test-msgpack +/home/json/build/test/Development/test-msgpack +/home/json/build/test/Development/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Release/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/Debug/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/MinSizeRel/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/RelWithDebInfo/test-msgpack +home/json/build/test/Deployment/test-msgpack +Unable to find executable: /home/json/build/test/test-msgpack +home/json/build/test/Deployment/test-msgpack +home/json/build/test/Development/test-msgpack +home/json/build/test/Development/test-msgpack +54/76 Test #54: test-msgpack_all ....................***Not Run 0.00 sec + Start 55: test-noexcept_default +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +Unable to find executable: /home/json/build/test/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Development/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +55/76 Test #55: test-noexcept_default ...............***Not Run 0.00 sec + Start 56: test-noexcept_all +Could not find executable /home/json/build/test/test-noexcept +Looked in the following places: +/home/json/build/test/test-noexcept +/home/json/build/test/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Release/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/Debug/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/MinSizeRel/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/RelWithDebInfo/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Deployment/test-noexcept +/home/json/build/test/Development/test-noexcept +/home/json/build/test/Development/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Release/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/Debug/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/MinSizeRel/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/RelWithDebInfo/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Deployment/test-noexcept +home/json/build/test/Development/test-noexcept +home/json/build/test/Development/test-noexcept +56/76 Test #56: test-noexcept_all ...................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-noexcept + Start 57: test-pointer_access_default +Could not find executable /home/json/build/test/test-pointer_access +Looked in the following places: +/home/json/build/test/test-pointer_access +/home/json/build/test/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Development/test-pointer_access +/home/json/build/test/Development/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/test-pointer_access +Unable to find executable: /home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Development/test-pointer_access +home/json/build/test/Development/test-pointer_access +57/76 Test #57: test-pointer_access_default .........***Not Run 0.00 sec + Start 58: test-pointer_access_all +Could not find executable /home/json/build/test/test-pointer_access +Looked in the following places: +/home/json/build/test/test-pointer_access +/home/json/build/test/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Release/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/Debug/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/MinSizeRel/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/RelWithDebInfo/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Deployment/test-pointer_access +/home/json/build/test/Development/test-pointer_access +/home/json/build/test/Development/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Release/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/Debug/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/MinSizeRel/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/RelWithDebInfo/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +home/json/build/test/Deployment/test-pointer_access +Unable to find executable: /home/json/build/test/test-pointer_access +home/json/build/test/Development/test-pointer_access +home/json/build/test/Development/test-pointer_access +58/76 Test #58: test-pointer_access_all .............***Not Run 0.00 sec + Start 59: test-readme_default +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +Unable to find executable: /home/json/build/test/test-readme +59/76 Test #59: test-readme_default .................***Not Run 0.00 sec + Start 60: test-readme_all +Could not find executable /home/json/build/test/test-readme +Looked in the following places: +/home/json/build/test/test-readme +/home/json/build/test/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Release/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/Debug/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/MinSizeRel/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/RelWithDebInfo/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Deployment/test-readme +/home/json/build/test/Development/test-readme +/home/json/build/test/Development/test-readme +home/json/build/test/test-readme +home/json/build/test/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Release/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/Debug/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/MinSizeRel/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/RelWithDebInfo/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Deployment/test-readme +home/json/build/test/Development/test-readme +home/json/build/test/Development/test-readme +Unable to find executable: /home/json/build/test/test-readme +60/76 Test #60: test-readme_all .....................***Not Run 0.00 sec + Start 61: test-reference_access_default +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +Unable to find executable: /home/json/build/test/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +61/76 Test #61: test-reference_access_default .......***Not Run 0.00 sec + Start 62: test-reference_access_all +Could not find executable /home/json/build/test/test-reference_access +Looked in the following places: +/home/json/build/test/test-reference_access +/home/json/build/test/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Release/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/Debug/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/MinSizeRel/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/RelWithDebInfo/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Deployment/test-reference_access +/home/json/build/test/Development/test-reference_access +/home/json/build/test/Development/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Release/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/Debug/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/MinSizeRel/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/RelWithDebInfo/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Deployment/test-reference_access +home/json/build/test/Development/test-reference_access +home/json/build/test/Development/test-reference_access +62/76 Test #62: test-reference_access_all ...........***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-reference_access + Start 63: test-regression_default +Could not find executable /home/json/build/test/test-regression +Looked in the following places: +/home/json/build/test/test-regression +/home/json/build/test/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Development/test-regression +/home/json/build/test/Development/test-regression +home/json/build/test/test-regression +home/json/build/test/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Release/test-regression +Unable to find executable: /home/json/build/test/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Development/test-regression +home/json/build/test/Development/test-regression +63/76 Test #63: test-regression_default .............***Not Run 0.00 sec + Start 64: test-regression_all +Could not find executable /home/json/build/test/test-regression +Looked in the following places: +/home/json/build/test/test-regression +/home/json/build/test/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Release/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/Debug/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/MinSizeRel/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/RelWithDebInfo/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Deployment/test-regression +/home/json/build/test/Development/test-regression +/home/json/build/test/Development/test-regression +home/json/build/test/test-regression +home/json/build/test/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Release/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/Debug/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/MinSizeRel/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/RelWithDebInfo/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Deployment/test-regression +home/json/build/test/Development/test-regression +home/json/build/test/Development/test-regression +64/76 Test #64: test-regression_all .................***Not Run 0.00 sec + Start 65: test-serialization_default +Unable to find executable: /home/json/build/test/test-regression +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +65/76 Test #65: test-serialization_default ..........***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-serialization + Start 66: test-serialization_all +Could not find executable /home/json/build/test/test-serialization +Looked in the following places: +/home/json/build/test/test-serialization +/home/json/build/test/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Release/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/Debug/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/MinSizeRel/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/RelWithDebInfo/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Deployment/test-serialization +/home/json/build/test/Development/test-serialization +/home/json/build/test/Development/test-serialization +home/json/build/test/test-serialization +home/json/build/test/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Release/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/Debug/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/MinSizeRel/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/RelWithDebInfo/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Deployment/test-serialization +home/json/build/test/Development/test-serialization +home/json/build/test/Development/test-serialization +Unable to find executable: /home/json/build/test/test-serialization +66/76 Test #66: test-serialization_all ..............***Not Run 0.00 sec + Start 67: test-testsuites_default +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +67/76 Test #67: test-testsuites_default .............***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-testsuites + Start 68: test-testsuites_all +Could not find executable /home/json/build/test/test-testsuites +Looked in the following places: +/home/json/build/test/test-testsuites +/home/json/build/test/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Release/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/Debug/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/MinSizeRel/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/RelWithDebInfo/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Deployment/test-testsuites +/home/json/build/test/Development/test-testsuites +/home/json/build/test/Development/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Release/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/Debug/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/MinSizeRel/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/RelWithDebInfo/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Deployment/test-testsuites +home/json/build/test/Development/test-testsuites +home/json/build/test/Development/test-testsuites +Unable to find executable: /home/json/build/test/test-testsuites +68/76 Test #68: test-testsuites_all .................***Not Run 0.00 sec + Start 69: test-to_chars_default +Could not find executable /home/json/build/test/test-to_chars +Looked in the following places: +/home/json/build/test/test-to_chars +/home/json/build/test/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Development/test-to_chars +/home/json/build/test/Development/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Development/test-to_chars +Unable to find executable: /home/json/build/test/test-to_chars +home/json/build/test/Development/test-to_chars +69/76 Test #69: test-to_chars_default ...............***Not Run 0.00 sec + Start 70: test-to_chars_all +Could not find executable /home/json/build/test/test-to_chars +Looked in the following places: +/home/json/build/test/test-to_chars +/home/json/build/test/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Release/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/Debug/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/MinSizeRel/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/RelWithDebInfo/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Deployment/test-to_chars +/home/json/build/test/Development/test-to_chars +/home/json/build/test/Development/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Release/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/Debug/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +home/json/build/test/MinSizeRel/test-to_chars +Unable to find executable: /home/json/build/test/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/RelWithDebInfo/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Deployment/test-to_chars +home/json/build/test/Development/test-to_chars +home/json/build/test/Development/test-to_chars +70/76 Test #70: test-to_chars_all ...................***Not Run 0.00 sec + Start 71: test-ubjson_default +Could not find executable /home/json/build/test/test-ubjson +Looked in the following places: +/home/json/build/test/test-ubjson +/home/json/build/test/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Development/test-ubjson +/home/json/build/test/Development/test-ubjson +Unable to find executable: /home/json/build/test/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Development/test-ubjson +home/json/build/test/Development/test-ubjson +71/76 Test #71: test-ubjson_default .................***Not Run 0.00 sec + Start 72: test-ubjson_all +Could not find executable /home/json/build/test/test-ubjson +Looked in the following places: +/home/json/build/test/test-ubjson +/home/json/build/test/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Release/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/Debug/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/MinSizeRel/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/RelWithDebInfo/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Deployment/test-ubjson +/home/json/build/test/Development/test-ubjson +/home/json/build/test/Development/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Release/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/Debug/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/MinSizeRel/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/RelWithDebInfo/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Deployment/test-ubjson +home/json/build/test/Development/test-ubjson +home/json/build/test/Development/test-ubjson +Unable to find executable: /home/json/build/test/test-ubjson +72/76 Test #72: test-ubjson_all .....................***Not Run 0.00 sec + Start 73: test-udt_default +Could not find executable /home/json/build/test/test-udt +Looked in the following places: +/home/json/build/test/test-udt +/home/json/build/test/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Development/test-udt +/home/json/build/test/Development/test-udt +home/json/build/test/test-udt +home/json/build/test/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Development/test-udt +home/json/build/test/Development/test-udt +Unable to find executable: /home/json/build/test/test-udt +73/76 Test #73: test-udt_default ....................***Not Run 0.00 sec + Start 74: test-udt_all +Could not find executable /home/json/build/test/test-udt +Looked in the following places: +/home/json/build/test/test-udt +/home/json/build/test/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Release/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/Debug/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/MinSizeRel/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/RelWithDebInfo/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Deployment/test-udt +/home/json/build/test/Development/test-udt +/home/json/build/test/Development/test-udt +home/json/build/test/test-udt +home/json/build/test/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Release/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/Debug/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/MinSizeRel/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/RelWithDebInfo/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Deployment/test-udt +home/json/build/test/Development/test-udt +home/json/build/test/Development/test-udt +74/76 Test #74: test-udt_all ........................***Not Run 0.00 sec +Unable to find executable: /home/json/build/test/test-udt + Start 75: test-unicode_default +Could not find executable /home/json/build/test/test-unicode +Looked in the following places: +/home/json/build/test/test-unicode +/home/json/build/test/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Development/test-unicode +Unable to find executable: /home/json/build/test/test-unicode +/home/json/build/test/Development/test-unicode +home/json/build/test/test-unicode +home/json/build/test/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Development/test-unicode +home/json/build/test/Development/test-unicode +75/76 Test #75: test-unicode_default ................***Not Run 0.00 sec + Start 76: test-unicode_all +Could not find executable /home/json/build/test/test-unicode +Looked in the following places: +/home/json/build/test/test-unicode +/home/json/build/test/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Release/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/Debug/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/MinSizeRel/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/RelWithDebInfo/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Deployment/test-unicode +/home/json/build/test/Development/test-unicode +/home/json/build/test/Development/test-unicode +home/json/build/test/test-unicode +home/json/build/test/test-unicode +Unable to find executable: /home/json/build/test/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Release/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/Debug/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/MinSizeRel/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/RelWithDebInfo/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Deployment/test-unicode +home/json/build/test/Development/test-unicode +home/json/build/test/Development/test-unicode +76/76 Test #76: test-unicode_all ....................***Not Run 0.00 sec + +0% tests passed, 76 tests failed out of 76 + +Label Time Summary: +all = 0.00 sec*proc (38 tests) +default = 0.00 sec*proc (38 tests) + +Total Test time (real) = 0.01 sec + +The following tests FAILED: + 1 - test-algorithms_default (Not Run) + 2 - test-algorithms_all (Not Run) + 3 - test-allocator_default (Not Run) + 4 - test-allocator_all (Not Run) + 5 - test-capacity_default (Not Run) + 6 - test-capacity_all (Not Run) + 7 - test-cbor_default (Not Run) + 8 - test-cbor_all (Not Run) + 9 - test-class_const_iterator_default (Not Run) + 10 - test-class_const_iterator_all (Not Run) + 11 - test-class_iterator_default (Not Run) + 12 - test-class_iterator_all (Not Run) + 13 - test-class_lexer_default (Not Run) + 14 - test-class_lexer_all (Not Run) + 15 - test-class_parser_default (Not Run) + 16 - test-class_parser_all (Not Run) + 17 - test-comparison_default (Not Run) + 18 - test-comparison_all (Not Run) + 19 - test-concepts_default (Not Run) + 20 - test-concepts_all (Not Run) + 21 - test-constructor1_default (Not Run) + 22 - test-constructor1_all (Not Run) + 23 - test-constructor2_default (Not Run) + 24 - test-constructor2_all (Not Run) + 25 - test-convenience_default (Not Run) + 26 - test-convenience_all (Not Run) + 27 - test-conversions_default (Not Run) + 28 - test-conversions_all (Not Run) + 29 - test-deserialization_default (Not Run) + 30 - test-deserialization_all (Not Run) + 31 - test-element_access1_default (Not Run) + 32 - test-element_access1_all (Not Run) + 33 - test-element_access2_default (Not Run) + 34 - test-element_access2_all (Not Run) + 35 - test-inspection_default (Not Run) + 36 - test-inspection_all (Not Run) + 37 - test-items_default (Not Run) + 38 - test-items_all (Not Run) + 39 - test-iterators1_default (Not Run) + 40 - test-iterators1_all (Not Run) + 41 - test-iterators2_default (Not Run) + 42 - test-iterators2_all (Not Run) + 43 - test-json_patch_default (Not Run) + 44 - test-json_patch_all (Not Run) + 45 - test-json_pointer_default (Not Run) + 46 - test-json_pointer_all (Not Run) + 47 - test-merge_patch_default (Not Run) + 48 - test-merge_patch_all (Not Run) + 49 - test-meta_default (Not Run) + 50 - test-meta_all (Not Run) + 51 - test-modifiers_default (Not Run) + 52 - test-modifiers_all (Not Run) + 53 - test-msgpack_default (Not Run) + 54 - test-msgpack_all (Not Run) + 55 - test-noexcept_default (Not Run) + 56 - test-noexcept_all (Not Run) + 57 - test-pointer_access_default (Not Run) + 58 - test-pointer_access_all (Not Run) + 59 - test-readme_default (Not Run) + 60 - test-readme_all (Not Run) + 61 - test-reference_access_default (Not Run) + 62 - test-reference_access_all (Not Run) + 63 - test-regression_default (Not Run) + 64 - test-regression_all (Not Run) + 65 - test-serialization_default (Not Run) + 66 - test-serialization_all (Not Run) + 67 - test-testsuites_default (Not Run) + 68 - test-testsuites_all (Not Run) + 69 - test-to_chars_default (Not Run) + 70 - test-to_chars_all (Not Run) + 71 - test-ubjson_default (Not Run) + 72 - test-ubjson_all (Not Run) + 73 - test-udt_default (Not Run) + 74 - test-udt_all (Not Run) + 75 - test-unicode_default (Not Run) + 76 - test-unicode_all (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/fix.patch new file mode 100644 index 000000000..b66c2230f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/fix.patch @@ -0,0 +1,13 @@ +diff --git a/develop/detail/meta.hpp b/develop/detail/meta.hpp +index 585b8d44..c32dfdce 100644 +--- a/develop/detail/meta.hpp ++++ b/develop/detail/meta.hpp +@@ -6,7 +6,7 @@ + #include // conditional, enable_if, false_type, integral_constant, is_constructible, is_integral, is_same, remove_cv, remove_reference, true_type + #include // declval + +-#include "json_fwd.hpp" ++#include "../json_fwd.hpp" + #include "detail/macro_scope.hpp" + + namespace nlohmann diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/report.json new file mode 100644 index 000000000..9ae8ea385 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-944/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 944, "valid": false, "error_msg": "After applying the fix patch, no test results were captured when executing the test command. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (76, 0, 0)\n test = (0, 0, 0)\n fix = (0, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 76, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-reference_access_default", "test-noexcept_default", "test-class_iterator_default", "test-conversions_all", "test-element_access2_all", "test-allocator_all", "test-iterators1_default", "test-reference_access_all", "test-class_lexer_all", "test-pointer_access_default", "test-json_patch_default", "test-modifiers_all", "test-meta_all", "test-deserialization_default", "test-json_pointer_all", "test-comparison_default", "test-cbor_all", "test-readme_default", "test-iterators1_all", "test-capacity_all", "test-serialization_all", "test-concepts_default", "test-to_chars_all", "test-merge_patch_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-element_access1_all", "test-algorithms_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-cbor_default", "test-items_all", "test-capacity_default", "test-modifiers_default", "test-element_access1_default", "test-element_access2_default", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-merge_patch_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-udt_all", "test-json_patch_all", "test-allocator_default", "test-unicode_all", "test-constructor2_default", "test-items_default", "test-class_parser_all", "test-conversions_default", "test-inspection_all", "test-udt_default", "test-readme_all", "test-ubjson_default", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-meta_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/fix-patch-run.log new file mode 100644 index 000000000..41d1c42c5 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/fix-patch-run.log @@ -0,0 +1,787 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5802 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (15.3 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.9 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.08qQTiPi +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.08qQTiPi/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.08qQTiPi/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.08qQTiPi/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.08qQTiPi/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.08qQTiPi/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.08qQTiPi +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=8a3c4cf55684 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.GHtn39C6q7/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-inspection.cpp +patching file test/src/unit-udt.cpp +patching file include/nlohmann/detail/conversions/from_json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-unicode +[ 2%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 3%] Linking CXX executable test-unicode +[ 3%] Built target test-unicode +Scanning dependencies of target test-udt +[ 5%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 6%] Linking CXX executable test-udt +[ 6%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 7%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 9%] Linking CXX executable test-ubjson +[ 9%] Built target test-ubjson +Scanning dependencies of target test-conversions +[ 10%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 11%] Linking CXX executable test-conversions +[ 11%] Built target test-conversions +Scanning dependencies of target test-convenience +[ 12%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 14%] Linking CXX executable test-convenience +[ 14%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 15%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 16%] Linking CXX executable test-class_iterator +[ 16%] Built target test-class_iterator +Scanning dependencies of target test-reference_access +[ 18%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 19%] Linking CXX executable test-reference_access +[ 19%] Built target test-reference_access +Scanning dependencies of target test-constructor2 +[ 20%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 22%] Linking CXX executable test-constructor2 +[ 22%] Built target test-constructor2 +Scanning dependencies of target test-deserialization +[ 23%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +/home/json/test/src/unit-deserialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-deserialization.cpp:72:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << ss; + ^~ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15598:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:29:0: +/home/json/test/src/unit-deserialization.cpp:129:34: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_AS(j << ss1, json::parse_error&); + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15598:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:29:0: +/home/json/test/src/unit-deserialization.cpp:130:36: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_WITH(j << ss2, + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15598:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:532:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15598:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:534:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15598:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +[ 24%] Linking CXX executable test-deserialization +[ 24%] Built target test-deserialization +Scanning dependencies of target test-constructor1 +[ 25%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +Scanning dependencies of target test-class_parser +[ 28%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 29%] Linking CXX executable test-class_parser +[ 29%] Built target test-class_parser +Scanning dependencies of target test-class_lexer +[ 31%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 32%] Linking CXX executable test-class_lexer +[ 32%] Built target test-class_lexer +Scanning dependencies of target test-concepts +[ 33%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 35%] Linking CXX executable test-concepts +[ 35%] Built target test-concepts +Scanning dependencies of target test-testsuites +[ 36%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 37%] Linking CXX executable test-testsuites +[ 37%] Built target test-testsuites +Scanning dependencies of target test-element_access2 +[ 38%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2 +[ 40%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 41%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 42%] Linking CXX executable test-comparison +[ 42%] Built target test-comparison +Scanning dependencies of target test-regression +[ 44%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 45%] Linking CXX executable test-regression +[ 45%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 46%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer +[ 48%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 49%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 50%] Linking CXX executable test-modifiers +[ 50%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 51%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 53%] Linking CXX executable test-allocator +[ 53%] Built target test-allocator +Scanning dependencies of target test-items +[ 54%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +/home/json/test/src/unit-items.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-items.cpp:43:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:76:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:120:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:153:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:189:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:222:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:255:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:288:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:324:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:357:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:401:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:434:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:470:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:503:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:536:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:569:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:605:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:620:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:641:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:656:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13758:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:674:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:689:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:704:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:719:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13767:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +[ 55%] Linking CXX executable test-items +[ 55%] Built target test-items +Scanning dependencies of target test-algorithms +[ 57%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 58%] Linking CXX executable test-algorithms +[ 58%] Built target test-algorithms +Scanning dependencies of target test-cbor +[ 59%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 61%] Linking CXX executable test-cbor +[ 61%] Built target test-cbor +Scanning dependencies of target test-pointer_access +[ 62%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 63%] Linking CXX executable test-pointer_access +[ 63%] Built target test-pointer_access +Scanning dependencies of target test-class_const_iterator +[ 64%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 66%] Linking CXX executable test-class_const_iterator +[ 66%] Built target test-class_const_iterator +Scanning dependencies of target test-capacity +[ 67%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 68%] Linking CXX executable test-capacity +[ 68%] Built target test-capacity +Scanning dependencies of target test-iterators2 +[ 70%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 71%] Linking CXX executable test-iterators2 +[ 71%] Built target test-iterators2 +Scanning dependencies of target test-json_patch +[ 72%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 74%] Linking CXX executable test-json_patch +[ 74%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 75%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 76%] Linking CXX executable test-noexcept +[ 76%] Built target test-noexcept +Scanning dependencies of target test-element_access1 +[ 77%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 79%] Linking CXX executable test-element_access1 +[ 79%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 80%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 81%] Linking CXX executable test-meta +[ 81%] Built target test-meta +Scanning dependencies of target test-inspection +[ 83%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 84%] Linking CXX executable test-inspection +[ 84%] Built target test-inspection +Scanning dependencies of target test-readme +[ 85%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 87%] Linking CXX executable test-readme +[ 87%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 88%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 89%] Linking CXX executable test-iterators1 +[ 89%] Built target test-iterators1 +Scanning dependencies of target test-merge_patch +[ 90%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 92%] Linking CXX executable test-merge_patch +[ 92%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 93%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 94%] Linking CXX executable test-msgpack +[ 94%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 96%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +/home/json/test/src/unit-serialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-serialization.cpp:71:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15412:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:80:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15412:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:91:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15412:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +[ 97%] Linking CXX executable test-serialization +[ 97%] Built target test-serialization +Scanning dependencies of target test-to_chars +[ 98%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[100%] Linking CXX executable test-to_chars +[100%] Built target test-to_chars +Test project /home/json/build + Start 1: test-algorithms_default + 1/76 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/76 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/76 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/76 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-capacity_default + 5/76 Test #5: test-capacity_default ............... Passed 0.00 sec + Start 6: test-capacity_all + 6/76 Test #6: test-capacity_all ................... Passed 0.00 sec + Start 7: test-cbor_default + 7/76 Test #7: test-cbor_default ................... Passed 1.43 sec + Start 8: test-cbor_all + 8/76 Test #8: test-cbor_all ....................... Passed 19.58 sec + Start 9: test-class_const_iterator_default + 9/76 Test #9: test-class_const_iterator_default ... Passed 0.00 sec + Start 10: test-class_const_iterator_all +10/76 Test #10: test-class_const_iterator_all ....... Passed 0.00 sec + Start 11: test-class_iterator_default +11/76 Test #11: test-class_iterator_default ......... Passed 0.00 sec + Start 12: test-class_iterator_all +12/76 Test #12: test-class_iterator_all ............. Passed 0.00 sec + Start 13: test-class_lexer_default +13/76 Test #13: test-class_lexer_default ............ Passed 0.00 sec + Start 14: test-class_lexer_all +14/76 Test #14: test-class_lexer_all ................ Passed 0.00 sec + Start 15: test-class_parser_default +15/76 Test #15: test-class_parser_default ........... Passed 0.08 sec + Start 16: test-class_parser_all +16/76 Test #16: test-class_parser_all ............... Passed 0.08 sec + Start 17: test-comparison_default +17/76 Test #17: test-comparison_default ............. Passed 0.01 sec + Start 18: test-comparison_all +18/76 Test #18: test-comparison_all ................. Passed 0.01 sec + Start 19: test-concepts_default +19/76 Test #19: test-concepts_default ............... Passed 0.00 sec + Start 20: test-concepts_all +20/76 Test #20: test-concepts_all ................... Passed 0.00 sec + Start 21: test-constructor1_default +21/76 Test #21: test-constructor1_default ........... Passed 0.01 sec + Start 22: test-constructor1_all +22/76 Test #22: test-constructor1_all ............... Passed 0.01 sec + Start 23: test-constructor2_default +23/76 Test #23: test-constructor2_default ........... Passed 0.00 sec + Start 24: test-constructor2_all +24/76 Test #24: test-constructor2_all ............... Passed 0.00 sec + Start 25: test-convenience_default +25/76 Test #25: test-convenience_default ............ Passed 0.00 sec + Start 26: test-convenience_all +26/76 Test #26: test-convenience_all ................ Passed 0.00 sec + Start 27: test-conversions_default +27/76 Test #27: test-conversions_default ............ Passed 0.01 sec + Start 28: test-conversions_all +28/76 Test #28: test-conversions_all ................ Passed 0.01 sec + Start 29: test-deserialization_default +29/76 Test #29: test-deserialization_default ........ Passed 0.01 sec + Start 30: test-deserialization_all +30/76 Test #30: test-deserialization_all ............ Passed 0.01 sec + Start 31: test-element_access1_default +31/76 Test #31: test-element_access1_default ........ Passed 0.01 sec + Start 32: test-element_access1_all +32/76 Test #32: test-element_access1_all ............ Passed 0.01 sec + Start 33: test-element_access2_default +33/76 Test #33: test-element_access2_default ........ Passed 0.01 sec + Start 34: test-element_access2_all +34/76 Test #34: test-element_access2_all ............ Passed 0.01 sec + Start 35: test-inspection_default +35/76 Test #35: test-inspection_default ............. Passed 3.71 sec + Start 36: test-inspection_all +36/76 Test #36: test-inspection_all ................. Passed 3.75 sec + Start 37: test-items_default +37/76 Test #37: test-items_default .................. Passed 0.00 sec + Start 38: test-items_all +38/76 Test #38: test-items_all ...................... Passed 0.00 sec + Start 39: test-iterators1_default +39/76 Test #39: test-iterators1_default ............. Passed 0.01 sec + Start 40: test-iterators1_all +40/76 Test #40: test-iterators1_all ................. Passed 0.01 sec + Start 41: test-iterators2_default +41/76 Test #41: test-iterators2_default ............. Passed 0.03 sec + Start 42: test-iterators2_all +42/76 Test #42: test-iterators2_all ................. Passed 0.03 sec + Start 43: test-json_patch_default +43/76 Test #43: test-json_patch_default ............. Passed 0.01 sec + Start 44: test-json_patch_all +44/76 Test #44: test-json_patch_all ................. Passed 0.01 sec + Start 45: test-json_pointer_default +45/76 Test #45: test-json_pointer_default ........... Passed 0.00 sec + Start 46: test-json_pointer_all +46/76 Test #46: test-json_pointer_all ............... Passed 0.00 sec + Start 47: test-merge_patch_default +47/76 Test #47: test-merge_patch_default ............ Passed 0.00 sec + Start 48: test-merge_patch_all +48/76 Test #48: test-merge_patch_all ................ Passed 0.00 sec + Start 49: test-meta_default +49/76 Test #49: test-meta_default ................... Passed 0.00 sec + Start 50: test-meta_all +50/76 Test #50: test-meta_all ....................... Passed 0.00 sec + Start 51: test-modifiers_default +51/76 Test #51: test-modifiers_default .............. Passed 0.01 sec + Start 52: test-modifiers_all +52/76 Test #52: test-modifiers_all .................. Passed 0.01 sec + Start 53: test-msgpack_default +53/76 Test #53: test-msgpack_default ................ Passed 1.30 sec + Start 54: test-msgpack_all +54/76 Test #54: test-msgpack_all .................... Passed 20.23 sec + Start 55: test-noexcept_default +55/76 Test #55: test-noexcept_default ............... Passed 0.00 sec + Start 56: test-noexcept_all +56/76 Test #56: test-noexcept_all ................... Passed 0.00 sec + Start 57: test-pointer_access_default +57/76 Test #57: test-pointer_access_default ......... Passed 0.00 sec + Start 58: test-pointer_access_all +58/76 Test #58: test-pointer_access_all ............. Passed 0.00 sec + Start 59: test-readme_default +59/76 Test #59: test-readme_default ................. Passed 0.00 sec + Start 60: test-readme_all +60/76 Test #60: test-readme_all ..................... Passed 0.00 sec + Start 61: test-reference_access_default +61/76 Test #61: test-reference_access_default ....... Passed 0.00 sec + Start 62: test-reference_access_all +62/76 Test #62: test-reference_access_all ........... Passed 0.00 sec + Start 63: test-regression_default +63/76 Test #63: test-regression_default ............. Passed 3.52 sec + Start 64: test-regression_all +64/76 Test #64: test-regression_all ................. Passed 3.51 sec + Start 65: test-serialization_default +65/76 Test #65: test-serialization_default .......... Passed 0.00 sec + Start 66: test-serialization_all +66/76 Test #66: test-serialization_all .............. Passed 0.00 sec + Start 67: test-testsuites_default +67/76 Test #67: test-testsuites_default ............. Passed 0.12 sec + Start 68: test-testsuites_all +68/76 Test #68: test-testsuites_all ................. Passed 0.04 sec + Start 69: test-to_chars_default +69/76 Test #69: test-to_chars_default ............... Passed 0.00 sec + Start 70: test-to_chars_all +70/76 Test #70: test-to_chars_all ................... Passed 0.00 sec + Start 71: test-ubjson_default +71/76 Test #71: test-ubjson_default ................. Passed 0.63 sec + Start 72: test-ubjson_all +72/76 Test #72: test-ubjson_all ..................... Passed 7.39 sec + Start 73: test-udt_default +73/76 Test #73: test-udt_default .................... Passed 0.00 sec + Start 74: test-udt_all +74/76 Test #74: test-udt_all ........................ Passed 0.00 sec + Start 75: test-unicode_default +75/76 Test #75: test-unicode_default ................ Passed 0.00 sec + Start 76: test-unicode_all +76/76 Test #76: test-unicode_all .................... Passed 121.56 sec + +100% tests passed, 0 tests failed out of 76 + +Label Time Summary: +all = 176.28 sec*proc (38 tests) +default = 10.95 sec*proc (38 tests) + +Total Test time (real) = 187.25 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/fix.patch new file mode 100644 index 000000000..e382e35a9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/fix.patch @@ -0,0 +1,62 @@ +diff --git a/include/nlohmann/detail/conversions/from_json.hpp b/include/nlohmann/detail/conversions/from_json.hpp +index 8ea0284a..96072cc6 100644 +--- a/include/nlohmann/detail/conversions/from_json.hpp ++++ b/include/nlohmann/detail/conversions/from_json.hpp +@@ -109,7 +109,7 @@ void from_json(const BasicJsonType& j, typename BasicJsonType::array_t& arr) + + // forward_list doesn't have an insert method + template::value, int> = 0> ++ enable_if_t::value, int> = 0> + void from_json(const BasicJsonType& j, std::forward_list& l) + { + if (JSON_UNLIKELY(not j.is_array())) +@@ -125,7 +125,7 @@ void from_json(const BasicJsonType& j, std::forward_list& l) + + // valarray doesn't have an insert method + template::value, int> = 0> ++ enable_if_t::value, int> = 0> + void from_json(const BasicJsonType& j, std::valarray& l) + { + if (JSON_UNLIKELY(not j.is_array())) +@@ -179,7 +179,7 @@ void from_json_array_impl(const BasicJsonType& j, std::array& arr, priorit + + template::value and +- std::is_convertible::value and ++ std::is_default_constructible::value and + not std::is_same::value, int> = 0> + void from_json(const BasicJsonType& j, CompatibleArrayType& arr) + { +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index a7c009c0..483a041f 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -1016,7 +1016,7 @@ void from_json(const BasicJsonType& j, typename BasicJsonType::array_t& arr) + + // forward_list doesn't have an insert method + template::value, int> = 0> ++ enable_if_t::value, int> = 0> + void from_json(const BasicJsonType& j, std::forward_list& l) + { + if (JSON_UNLIKELY(not j.is_array())) +@@ -1032,7 +1032,7 @@ void from_json(const BasicJsonType& j, std::forward_list& l) + + // valarray doesn't have an insert method + template::value, int> = 0> ++ enable_if_t::value, int> = 0> + void from_json(const BasicJsonType& j, std::valarray& l) + { + if (JSON_UNLIKELY(not j.is_array())) +@@ -1086,7 +1086,7 @@ void from_json_array_impl(const BasicJsonType& j, std::array& arr, priorit + + template::value and +- std::is_convertible::value and ++ std::is_default_constructible::value and + not std::is_same::value, int> = 0> + void from_json(const BasicJsonType& j, CompatibleArrayType& arr) + { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/report.json new file mode 100644 index 000000000..701b6e85e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-969/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 969, "valid": true, "error_msg": "", "fixed_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"test-to_chars_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-to_chars_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-items_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-conversions_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-udt_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-ubjson_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-regression_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-pointer_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_lexer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-allocator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-reference_access_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-comparison_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-readme_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-capacity_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-serialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-noexcept_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_const_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_pointer_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-cbor_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-modifiers_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-element_access2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_iterator_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-algorithms_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-convenience_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor1_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-merge_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-deserialization_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-testsuites_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-iterators2_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-json_patch_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-unicode_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-constructor2_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-class_parser_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-inspection_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-meta_default": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-msgpack_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "test-concepts_all": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 76, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-reference_access_default", "test-noexcept_default", "test-class_iterator_default", "test-conversions_all", "test-element_access2_all", "test-allocator_all", "test-iterators1_default", "test-reference_access_all", "test-class_lexer_all", "test-pointer_access_default", "test-json_patch_default", "test-modifiers_all", "test-meta_all", "test-deserialization_default", "test-json_pointer_all", "test-comparison_default", "test-cbor_all", "test-readme_default", "test-iterators1_all", "test-capacity_all", "test-serialization_all", "test-concepts_default", "test-to_chars_all", "test-merge_patch_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-element_access1_all", "test-algorithms_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-cbor_default", "test-items_all", "test-capacity_default", "test-modifiers_default", "test-element_access1_default", "test-element_access2_default", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-merge_patch_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-udt_all", "test-json_patch_all", "test-allocator_default", "test-unicode_all", "test-constructor2_default", "test-items_default", "test-class_parser_all", "test-conversions_default", "test-inspection_all", "test-udt_default", "test-readme_all", "test-ubjson_default", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-meta_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 76, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-class_lexer_all", "test-class_iterator_default", "test-allocator_all", "test-conversions_all", "test-element_access2_all", "test-iterators1_default", "test-noexcept_default", "test-pointer_access_default", "test-reference_access_default", "test-reference_access_all", "test-json_patch_default", "test-modifiers_all", "test-deserialization_default", "test-meta_all", "test-json_pointer_all", "test-comparison_default", "test-capacity_all", "test-cbor_all", "test-iterators1_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-to_chars_all", "test-merge_patch_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-algorithms_default", "test-element_access1_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-capacity_default", "test-items_all", "test-modifiers_default", "test-element_access1_default", "test-element_access2_default", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-merge_patch_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-json_patch_all", "test-udt_all", "test-allocator_default", "test-unicode_all", "test-class_parser_all", "test-constructor2_default", "test-items_default", "test-conversions_default", "test-inspection_all", "test-meta_default", "test-readme_all", "test-regression_default", "test-ubjson_default", "test-serialization_default", "test-msgpack_default", "test-udt_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/fix-patch-run.log new file mode 100644 index 000000000..cc91bda75 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/fix-patch-run.log @@ -0,0 +1,791 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5810 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 150 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.7 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29065 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/json +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch json json_test_data prepare.sh run.sh test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 150 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.6 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29232 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +curl is already the newest version (7.64.0-4+deb10u9). +0 upgraded, 0 newly installed, 0 to remove and 150 not upgraded. +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.wh4RbR6O +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.wh4RbR6O/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.wh4RbR6O/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.wh4RbR6O/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.wh4RbR6O/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.wh4RbR6O/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.wh4RbR6O +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=ffd849a40ba0 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.aUY1TLyDa0/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/json +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake .. +cmake --build . +ctest + +========================================= +patching file test/src/unit-inspection.cpp +patching file test/src/unit-udt.cpp +patching file include/nlohmann/detail/meta.hpp +patching file include/nlohmann/json.hpp +patching file single_include/nlohmann/json.hpp +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Using the single-header code from /home/json/single_include/ +-- Configuring done +-- Generating done +-- Build files have been written to: /home/json/build +Scanning dependencies of target catch_main +[ 1%] Building CXX object test/CMakeFiles/catch_main.dir/src/unit.cpp.o +[ 1%] Built target catch_main +Scanning dependencies of target test-unicode +[ 2%] Building CXX object test/CMakeFiles/test-unicode.dir/src/unit-unicode.cpp.o +[ 3%] Linking CXX executable test-unicode +[ 3%] Built target test-unicode +Scanning dependencies of target test-udt +[ 5%] Building CXX object test/CMakeFiles/test-udt.dir/src/unit-udt.cpp.o +[ 6%] Linking CXX executable test-udt +[ 6%] Built target test-udt +Scanning dependencies of target test-ubjson +[ 7%] Building CXX object test/CMakeFiles/test-ubjson.dir/src/unit-ubjson.cpp.o +[ 9%] Linking CXX executable test-ubjson +[ 9%] Built target test-ubjson +Scanning dependencies of target test-conversions +[ 10%] Building CXX object test/CMakeFiles/test-conversions.dir/src/unit-conversions.cpp.o +[ 11%] Linking CXX executable test-conversions +[ 11%] Built target test-conversions +Scanning dependencies of target test-convenience +[ 12%] Building CXX object test/CMakeFiles/test-convenience.dir/src/unit-convenience.cpp.o +[ 14%] Linking CXX executable test-convenience +[ 14%] Built target test-convenience +Scanning dependencies of target test-class_iterator +[ 15%] Building CXX object test/CMakeFiles/test-class_iterator.dir/src/unit-class_iterator.cpp.o +[ 16%] Linking CXX executable test-class_iterator +[ 16%] Built target test-class_iterator +Scanning dependencies of target test-reference_access +[ 18%] Building CXX object test/CMakeFiles/test-reference_access.dir/src/unit-reference_access.cpp.o +[ 19%] Linking CXX executable test-reference_access +[ 19%] Built target test-reference_access +Scanning dependencies of target test-constructor2 +[ 20%] Building CXX object test/CMakeFiles/test-constructor2.dir/src/unit-constructor2.cpp.o +[ 22%] Linking CXX executable test-constructor2 +[ 22%] Built target test-constructor2 +Scanning dependencies of target test-deserialization +[ 23%] Building CXX object test/CMakeFiles/test-deserialization.dir/src/unit-deserialization.cpp.o +/home/json/test/src/unit-deserialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-deserialization.cpp:72:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << ss; + ^~ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15687:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:29:0: +/home/json/test/src/unit-deserialization.cpp:129:34: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_AS(j << ss1, json::parse_error&); + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15687:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +In file included from /home/json/test/src/unit-deserialization.cpp:29:0: +/home/json/test/src/unit-deserialization.cpp:130:36: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + CHECK_THROWS_WITH(j << ss2, + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15687:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:532:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15687:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +/home/json/test/src/unit-deserialization.cpp:534:18: warning: 'std::istream& nlohmann::operator<<(nlohmann::basic_json<>&, std::istream&)' is deprecated [-Wdeprecated-declarations] + j << s; + ^ +In file included from /home/json/test/src/unit-deserialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15687:26: note: declared here + friend std::istream& operator<<(basic_json& j, std::istream& i) + ^~~~~~~~ +[ 24%] Linking CXX executable test-deserialization +[ 24%] Built target test-deserialization +Scanning dependencies of target test-constructor1 +[ 25%] Building CXX object test/CMakeFiles/test-constructor1.dir/src/unit-constructor1.cpp.o +[ 27%] Linking CXX executable test-constructor1 +[ 27%] Built target test-constructor1 +Scanning dependencies of target test-class_parser +[ 28%] Building CXX object test/CMakeFiles/test-class_parser.dir/src/unit-class_parser.cpp.o +[ 29%] Linking CXX executable test-class_parser +[ 29%] Built target test-class_parser +Scanning dependencies of target test-class_lexer +[ 31%] Building CXX object test/CMakeFiles/test-class_lexer.dir/src/unit-class_lexer.cpp.o +[ 32%] Linking CXX executable test-class_lexer +[ 32%] Built target test-class_lexer +Scanning dependencies of target test-concepts +[ 33%] Building CXX object test/CMakeFiles/test-concepts.dir/src/unit-concepts.cpp.o +[ 35%] Linking CXX executable test-concepts +[ 35%] Built target test-concepts +Scanning dependencies of target test-testsuites +[ 36%] Building CXX object test/CMakeFiles/test-testsuites.dir/src/unit-testsuites.cpp.o +[ 37%] Linking CXX executable test-testsuites +[ 37%] Built target test-testsuites +Scanning dependencies of target test-element_access2 +[ 38%] Building CXX object test/CMakeFiles/test-element_access2.dir/src/unit-element_access2.cpp.o +[ 40%] Linking CXX executable test-element_access2 +[ 40%] Built target test-element_access2 +Scanning dependencies of target test-comparison +[ 41%] Building CXX object test/CMakeFiles/test-comparison.dir/src/unit-comparison.cpp.o +[ 42%] Linking CXX executable test-comparison +[ 42%] Built target test-comparison +Scanning dependencies of target test-regression +[ 44%] Building CXX object test/CMakeFiles/test-regression.dir/src/unit-regression.cpp.o +[ 45%] Linking CXX executable test-regression +[ 45%] Built target test-regression +Scanning dependencies of target test-json_pointer +[ 46%] Building CXX object test/CMakeFiles/test-json_pointer.dir/src/unit-json_pointer.cpp.o +[ 48%] Linking CXX executable test-json_pointer +[ 48%] Built target test-json_pointer +Scanning dependencies of target test-modifiers +[ 49%] Building CXX object test/CMakeFiles/test-modifiers.dir/src/unit-modifiers.cpp.o +[ 50%] Linking CXX executable test-modifiers +[ 50%] Built target test-modifiers +Scanning dependencies of target test-allocator +[ 51%] Building CXX object test/CMakeFiles/test-allocator.dir/src/unit-allocator.cpp.o +[ 53%] Linking CXX executable test-allocator +[ 53%] Built target test-allocator +Scanning dependencies of target test-items +[ 54%] Building CXX object test/CMakeFiles/test-items.dir/src/unit-items.cpp.o +/home/json/test/src/unit-items.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-items.cpp:43:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:76:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:120:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:153:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:189:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:222:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:255:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:288:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:324:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:357:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:401:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:434:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:470:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:503:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:536:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:569:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:605:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:620:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:641:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:656:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::reference = nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13847:38: note: declared here + static iteration_proxy iterator_wrapper(reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:674:51: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:689:52: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:704:57: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +/home/json/test/src/unit-items.cpp:719:58: warning: 'static nlohmann::basic_json::iteration_proxy > > nlohmann::basic_json::iterator_wrapper(nlohmann::basic_json::const_reference) [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; nlohmann::basic_json::iteration_proxy > > = nlohmann::detail::iteration_proxy > >; nlohmann::basic_json::const_reference = const nlohmann::basic_json<>&; nlohmann::basic_json::value_type = nlohmann::basic_json<>]' is deprecated [-Wdeprecated-declarations] + for (const auto& i : json::iterator_wrapper(j)) + ^ +In file included from /home/json/test/src/unit-items.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:13856:44: note: declared here + static iteration_proxy iterator_wrapper(const_reference ref) noexcept + ^~~~~~~~~~~~~~~~ +[ 55%] Linking CXX executable test-items +[ 55%] Built target test-items +Scanning dependencies of target test-algorithms +[ 57%] Building CXX object test/CMakeFiles/test-algorithms.dir/src/unit-algorithms.cpp.o +[ 58%] Linking CXX executable test-algorithms +[ 58%] Built target test-algorithms +Scanning dependencies of target test-cbor +[ 59%] Building CXX object test/CMakeFiles/test-cbor.dir/src/unit-cbor.cpp.o +[ 61%] Linking CXX executable test-cbor +[ 61%] Built target test-cbor +Scanning dependencies of target test-pointer_access +[ 62%] Building CXX object test/CMakeFiles/test-pointer_access.dir/src/unit-pointer_access.cpp.o +[ 63%] Linking CXX executable test-pointer_access +[ 63%] Built target test-pointer_access +Scanning dependencies of target test-class_const_iterator +[ 64%] Building CXX object test/CMakeFiles/test-class_const_iterator.dir/src/unit-class_const_iterator.cpp.o +[ 66%] Linking CXX executable test-class_const_iterator +[ 66%] Built target test-class_const_iterator +Scanning dependencies of target test-capacity +[ 67%] Building CXX object test/CMakeFiles/test-capacity.dir/src/unit-capacity.cpp.o +[ 68%] Linking CXX executable test-capacity +[ 68%] Built target test-capacity +Scanning dependencies of target test-iterators2 +[ 70%] Building CXX object test/CMakeFiles/test-iterators2.dir/src/unit-iterators2.cpp.o +[ 71%] Linking CXX executable test-iterators2 +[ 71%] Built target test-iterators2 +Scanning dependencies of target test-json_patch +[ 72%] Building CXX object test/CMakeFiles/test-json_patch.dir/src/unit-json_patch.cpp.o +[ 74%] Linking CXX executable test-json_patch +[ 74%] Built target test-json_patch +Scanning dependencies of target test-noexcept +[ 75%] Building CXX object test/CMakeFiles/test-noexcept.dir/src/unit-noexcept.cpp.o +[ 76%] Linking CXX executable test-noexcept +[ 76%] Built target test-noexcept +Scanning dependencies of target test-element_access1 +[ 77%] Building CXX object test/CMakeFiles/test-element_access1.dir/src/unit-element_access1.cpp.o +[ 79%] Linking CXX executable test-element_access1 +[ 79%] Built target test-element_access1 +Scanning dependencies of target test-meta +[ 80%] Building CXX object test/CMakeFiles/test-meta.dir/src/unit-meta.cpp.o +[ 81%] Linking CXX executable test-meta +[ 81%] Built target test-meta +Scanning dependencies of target test-inspection +[ 83%] Building CXX object test/CMakeFiles/test-inspection.dir/src/unit-inspection.cpp.o +[ 84%] Linking CXX executable test-inspection +[ 84%] Built target test-inspection +Scanning dependencies of target test-readme +[ 85%] Building CXX object test/CMakeFiles/test-readme.dir/src/unit-readme.cpp.o +[ 87%] Linking CXX executable test-readme +[ 87%] Built target test-readme +Scanning dependencies of target test-iterators1 +[ 88%] Building CXX object test/CMakeFiles/test-iterators1.dir/src/unit-iterators1.cpp.o +[ 89%] Linking CXX executable test-iterators1 +[ 89%] Built target test-iterators1 +Scanning dependencies of target test-merge_patch +[ 90%] Building CXX object test/CMakeFiles/test-merge_patch.dir/src/unit-merge_patch.cpp.o +[ 92%] Linking CXX executable test-merge_patch +[ 92%] Built target test-merge_patch +Scanning dependencies of target test-msgpack +[ 93%] Building CXX object test/CMakeFiles/test-msgpack.dir/src/unit-msgpack.cpp.o +[ 94%] Linking CXX executable test-msgpack +[ 94%] Built target test-msgpack +Scanning dependencies of target test-serialization +[ 96%] Building CXX object test/CMakeFiles/test-serialization.dir/src/unit-serialization.cpp.o +/home/json/test/src/unit-serialization.cpp: In function 'void ____C_A_T_C_H____T_E_S_T____0()': +/home/json/test/src/unit-serialization.cpp:71:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15501:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:80:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15501:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +/home/json/test/src/unit-serialization.cpp:91:18: warning: 'std::ostream& nlohmann::operator>>(const nlohmann::basic_json<>&, std::ostream&)' is deprecated [-Wdeprecated-declarations] + j >> ss; + ^~ +In file included from /home/json/test/src/unit-serialization.cpp:31:0: +/home/json/single_include/nlohmann/json.hpp:15501:26: note: declared here + friend std::ostream& operator>>(const basic_json& j, std::ostream& o) + ^~~~~~~~ +[ 97%] Linking CXX executable test-serialization +[ 97%] Built target test-serialization +Scanning dependencies of target test-to_chars +[ 98%] Building CXX object test/CMakeFiles/test-to_chars.dir/src/unit-to_chars.cpp.o +[100%] Linking CXX executable test-to_chars +[100%] Built target test-to_chars +Test project /home/json/build + Start 1: test-algorithms_default + 1/76 Test #1: test-algorithms_default ............. Passed 0.00 sec + Start 2: test-algorithms_all + 2/76 Test #2: test-algorithms_all ................. Passed 0.00 sec + Start 3: test-allocator_default + 3/76 Test #3: test-allocator_default .............. Passed 0.00 sec + Start 4: test-allocator_all + 4/76 Test #4: test-allocator_all .................. Passed 0.00 sec + Start 5: test-capacity_default + 5/76 Test #5: test-capacity_default ............... Passed 0.00 sec + Start 6: test-capacity_all + 6/76 Test #6: test-capacity_all ................... Passed 0.00 sec + Start 7: test-cbor_default + 7/76 Test #7: test-cbor_default ................... Passed 1.42 sec + Start 8: test-cbor_all + 8/76 Test #8: test-cbor_all ....................... Passed 19.54 sec + Start 9: test-class_const_iterator_default + 9/76 Test #9: test-class_const_iterator_default ... Passed 0.00 sec + Start 10: test-class_const_iterator_all +10/76 Test #10: test-class_const_iterator_all ....... Passed 0.00 sec + Start 11: test-class_iterator_default +11/76 Test #11: test-class_iterator_default ......... Passed 0.00 sec + Start 12: test-class_iterator_all +12/76 Test #12: test-class_iterator_all ............. Passed 0.00 sec + Start 13: test-class_lexer_default +13/76 Test #13: test-class_lexer_default ............ Passed 0.00 sec + Start 14: test-class_lexer_all +14/76 Test #14: test-class_lexer_all ................ Passed 0.00 sec + Start 15: test-class_parser_default +15/76 Test #15: test-class_parser_default ........... Passed 0.08 sec + Start 16: test-class_parser_all +16/76 Test #16: test-class_parser_all ............... Passed 0.08 sec + Start 17: test-comparison_default +17/76 Test #17: test-comparison_default ............. Passed 0.01 sec + Start 18: test-comparison_all +18/76 Test #18: test-comparison_all ................. Passed 0.01 sec + Start 19: test-concepts_default +19/76 Test #19: test-concepts_default ............... Passed 0.00 sec + Start 20: test-concepts_all +20/76 Test #20: test-concepts_all ................... Passed 0.00 sec + Start 21: test-constructor1_default +21/76 Test #21: test-constructor1_default ........... Passed 0.01 sec + Start 22: test-constructor1_all +22/76 Test #22: test-constructor1_all ............... Passed 0.01 sec + Start 23: test-constructor2_default +23/76 Test #23: test-constructor2_default ........... Passed 0.00 sec + Start 24: test-constructor2_all +24/76 Test #24: test-constructor2_all ............... Passed 0.00 sec + Start 25: test-convenience_default +25/76 Test #25: test-convenience_default ............ Passed 0.00 sec + Start 26: test-convenience_all +26/76 Test #26: test-convenience_all ................ Passed 0.00 sec + Start 27: test-conversions_default +27/76 Test #27: test-conversions_default ............ Passed 0.01 sec + Start 28: test-conversions_all +28/76 Test #28: test-conversions_all ................ Passed 0.01 sec + Start 29: test-deserialization_default +29/76 Test #29: test-deserialization_default ........ Passed 0.01 sec + Start 30: test-deserialization_all +30/76 Test #30: test-deserialization_all ............ Passed 0.01 sec + Start 31: test-element_access1_default +31/76 Test #31: test-element_access1_default ........ Passed 0.01 sec + Start 32: test-element_access1_all +32/76 Test #32: test-element_access1_all ............ Passed 0.01 sec + Start 33: test-element_access2_default +33/76 Test #33: test-element_access2_default ........ Passed 0.01 sec + Start 34: test-element_access2_all +34/76 Test #34: test-element_access2_all ............ Passed 0.01 sec + Start 35: test-inspection_default +35/76 Test #35: test-inspection_default ............. Passed 3.71 sec + Start 36: test-inspection_all +36/76 Test #36: test-inspection_all ................. Passed 3.71 sec + Start 37: test-items_default +37/76 Test #37: test-items_default .................. Passed 0.00 sec + Start 38: test-items_all +38/76 Test #38: test-items_all ...................... Passed 0.00 sec + Start 39: test-iterators1_default +39/76 Test #39: test-iterators1_default ............. Passed 0.01 sec + Start 40: test-iterators1_all +40/76 Test #40: test-iterators1_all ................. Passed 0.01 sec + Start 41: test-iterators2_default +41/76 Test #41: test-iterators2_default ............. Passed 0.03 sec + Start 42: test-iterators2_all +42/76 Test #42: test-iterators2_all ................. Passed 0.03 sec + Start 43: test-json_patch_default +43/76 Test #43: test-json_patch_default ............. Passed 0.01 sec + Start 44: test-json_patch_all +44/76 Test #44: test-json_patch_all ................. Passed 0.01 sec + Start 45: test-json_pointer_default +45/76 Test #45: test-json_pointer_default ........... Passed 0.00 sec + Start 46: test-json_pointer_all +46/76 Test #46: test-json_pointer_all ............... Passed 0.00 sec + Start 47: test-merge_patch_default +47/76 Test #47: test-merge_patch_default ............ Passed 0.00 sec + Start 48: test-merge_patch_all +48/76 Test #48: test-merge_patch_all ................ Passed 0.00 sec + Start 49: test-meta_default +49/76 Test #49: test-meta_default ................... Passed 0.00 sec + Start 50: test-meta_all +50/76 Test #50: test-meta_all ....................... Passed 0.00 sec + Start 51: test-modifiers_default +51/76 Test #51: test-modifiers_default .............. Passed 0.01 sec + Start 52: test-modifiers_all +52/76 Test #52: test-modifiers_all .................. Passed 0.01 sec + Start 53: test-msgpack_default +53/76 Test #53: test-msgpack_default ................ Passed 1.29 sec + Start 54: test-msgpack_all +54/76 Test #54: test-msgpack_all .................... Passed 19.83 sec + Start 55: test-noexcept_default +55/76 Test #55: test-noexcept_default ............... Passed 0.00 sec + Start 56: test-noexcept_all +56/76 Test #56: test-noexcept_all ................... Passed 0.00 sec + Start 57: test-pointer_access_default +57/76 Test #57: test-pointer_access_default ......... Passed 0.00 sec + Start 58: test-pointer_access_all +58/76 Test #58: test-pointer_access_all ............. Passed 0.00 sec + Start 59: test-readme_default +59/76 Test #59: test-readme_default ................. Passed 0.00 sec + Start 60: test-readme_all +60/76 Test #60: test-readme_all ..................... Passed 0.00 sec + Start 61: test-reference_access_default +61/76 Test #61: test-reference_access_default ....... Passed 0.00 sec + Start 62: test-reference_access_all +62/76 Test #62: test-reference_access_all ........... Passed 0.00 sec + Start 63: test-regression_default +63/76 Test #63: test-regression_default ............. Passed 3.54 sec + Start 64: test-regression_all +64/76 Test #64: test-regression_all ................. Passed 3.54 sec + Start 65: test-serialization_default +65/76 Test #65: test-serialization_default .......... Passed 0.00 sec + Start 66: test-serialization_all +66/76 Test #66: test-serialization_all .............. Passed 0.00 sec + Start 67: test-testsuites_default +67/76 Test #67: test-testsuites_default ............. Passed 0.04 sec + Start 68: test-testsuites_all +68/76 Test #68: test-testsuites_all ................. Passed 0.04 sec + Start 69: test-to_chars_default +69/76 Test #69: test-to_chars_default ............... Passed 0.00 sec + Start 70: test-to_chars_all +70/76 Test #70: test-to_chars_all ................... Passed 0.00 sec + Start 71: test-ubjson_default +71/76 Test #71: test-ubjson_default ................. Passed 0.62 sec + Start 72: test-ubjson_all +72/76 Test #72: test-ubjson_all ..................... Passed 7.27 sec + Start 73: test-udt_default +73/76 Test #73: test-udt_default ....................***Failed 0.00 sec + Start 74: test-udt_all +74/76 Test #74: test-udt_all ........................***Failed 0.00 sec + Start 75: test-unicode_default +75/76 Test #75: test-unicode_default ................ Passed 0.00 sec + Start 76: test-unicode_all +76/76 Test #76: test-unicode_all .................... Passed 124.38 sec + +97% tests passed, 2 tests failed out of 76 + +Label Time Summary: +all = 178.55 sec*proc (38 tests) +default = 10.85 sec*proc (38 tests) + +Total Test time (real) = 189.41 sec + +The following tests FAILED: + 73 - test-udt_default (Failed) + 74 - test-udt_all (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/fix.patch new file mode 100644 index 000000000..3077d15c0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/fix.patch @@ -0,0 +1,220 @@ +diff --git a/include/nlohmann/detail/meta.hpp b/include/nlohmann/detail/meta.hpp +index 49f1069f..11ec9f49 100644 +--- a/include/nlohmann/detail/meta.hpp ++++ b/include/nlohmann/detail/meta.hpp +@@ -235,6 +235,7 @@ struct is_compatible_complete_type + not std::is_base_of::value and + not std::is_same::value and + not is_basic_json_nested_type::value and ++ not is_basic_json::value and + has_to_json::value; + }; + +diff --git a/include/nlohmann/json.hpp b/include/nlohmann/json.hpp +index f92729f3..3763fb34 100644 +--- a/include/nlohmann/json.hpp ++++ b/include/nlohmann/json.hpp +@@ -172,6 +172,13 @@ class basic_json + template + friend class ::nlohmann::detail::binary_reader; + ++ template class, ++ template class, ++ class, class, class, class, class, ++ template class, ++ template class> ++ friend class basic_json; ++ + /// workaround type for MSVC + using basic_json_t = NLOHMANN_BASIC_JSON_TPL; + +@@ -1242,6 +1249,81 @@ class basic_json + assert_invariant(); + } + ++ /*! ++ @brief create a JSON value from an existing JSON value of a different type ++ ++ This constructor creates a JSON value by copying from a different ++ @ref basic_json specialization. It recursively converts the internal data ++ structure, avoiding infinite recursion that would occur if the general ++ "compatible type" constructor were used. ++ ++ @tparam OtherBasicJsonType a different specialization of @ref basic_json ++ ++ @param[in] other the JSON value to copy from ++ ++ @since version 3.1.2 ++ */ ++ template ::value and ++ not std::is_same::value, ++ int>::type = 0> ++ basic_json(const OtherBasicJsonType& other) ++ : m_type(other.m_type) ++ { ++ switch (m_type) ++ { ++ case value_t::boolean: ++ { ++ m_value = other.m_value.boolean; ++ break; ++ } ++ ++ case value_t::number_float: ++ { ++ m_value = other.m_value.number_float; ++ break; ++ } ++ ++ case value_t::number_integer: ++ { ++ m_value = other.m_value.number_integer; ++ break; ++ } ++ ++ case value_t::number_unsigned: ++ { ++ m_value = other.m_value.number_unsigned; ++ break; ++ } ++ ++ case value_t::string: ++ { ++ m_value = *other.m_value.string; ++ break; ++ } ++ ++ case value_t::array: ++ { ++ m_value.array = create(other.m_value.array->begin(), ++ other.m_value.array->end()); ++ break; ++ } ++ ++ case value_t::object: ++ { ++ m_value.object = create(other.m_value.object->begin(), ++ other.m_value.object->end()); ++ break; ++ } ++ ++ default: ++ break; ++ } ++ ++ assert_invariant(); ++ } ++ + /*! + @brief create a container (array or object) from an initializer list + +diff --git a/single_include/nlohmann/json.hpp b/single_include/nlohmann/json.hpp +index 3dcb834b..b250472c 100644 +--- a/single_include/nlohmann/json.hpp ++++ b/single_include/nlohmann/json.hpp +@@ -468,6 +468,7 @@ struct is_compatible_complete_type + not std::is_base_of::value and + not std::is_same::value and + not is_basic_json_nested_type::value and ++ not is_basic_json::value and + has_to_json::value; + }; + +@@ -9770,6 +9771,13 @@ class basic_json + template + friend class ::nlohmann::detail::binary_reader; + ++ template class, ++ template class, ++ class, class, class, class, class, ++ template class, ++ template class> ++ friend class basic_json; ++ + /// workaround type for MSVC + using basic_json_t = NLOHMANN_BASIC_JSON_TPL; + +@@ -10840,6 +10848,81 @@ class basic_json + assert_invariant(); + } + ++ /*! ++ @brief create a JSON value from an existing JSON value of a different type ++ ++ This constructor creates a JSON value by copying from a different ++ @ref basic_json specialization. It recursively converts the internal data ++ structure, avoiding infinite recursion that would occur if the general ++ "compatible type" constructor were used. ++ ++ @tparam OtherBasicJsonType a different specialization of @ref basic_json ++ ++ @param[in] other the JSON value to copy from ++ ++ @since version 3.1.2 ++ */ ++ template ::value and ++ not std::is_same::value, ++ int>::type = 0> ++ basic_json(const OtherBasicJsonType& other) ++ : m_type(other.m_type) ++ { ++ switch (m_type) ++ { ++ case value_t::boolean: ++ { ++ m_value = other.m_value.boolean; ++ break; ++ } ++ ++ case value_t::number_float: ++ { ++ m_value = other.m_value.number_float; ++ break; ++ } ++ ++ case value_t::number_integer: ++ { ++ m_value = other.m_value.number_integer; ++ break; ++ } ++ ++ case value_t::number_unsigned: ++ { ++ m_value = other.m_value.number_unsigned; ++ break; ++ } ++ ++ case value_t::string: ++ { ++ m_value = *other.m_value.string; ++ break; ++ } ++ ++ case value_t::array: ++ { ++ m_value.array = create(other.m_value.array->begin(), ++ other.m_value.array->end()); ++ break; ++ } ++ ++ case value_t::object: ++ { ++ m_value.object = create(other.m_value.object->begin(), ++ other.m_value.object->end()); ++ break; ++ } ++ ++ default: ++ break; ++ } ++ ++ assert_invariant(); ++ } ++ + /*! + @brief create a container (array or object) from an initializer list + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/report.json new file mode 100644 index 000000000..b77f370be --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/nlohmann/json/evals/pr-986/report.json @@ -0,0 +1 @@ +{"org": "nlohmann", "repo": "json", "number": 986, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (76, 0, 0)\n test = (74, 0, 0)\n fix = (74, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 76, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-reference_access_default", "test-noexcept_default", "test-class_iterator_default", "test-conversions_all", "test-element_access2_all", "test-allocator_all", "test-iterators1_default", "test-reference_access_all", "test-class_lexer_all", "test-pointer_access_default", "test-json_patch_default", "test-modifiers_all", "test-meta_all", "test-deserialization_default", "test-json_pointer_all", "test-comparison_default", "test-cbor_all", "test-readme_default", "test-iterators1_all", "test-capacity_all", "test-serialization_all", "test-concepts_default", "test-to_chars_all", "test-merge_patch_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-element_access1_all", "test-algorithms_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-cbor_default", "test-items_all", "test-capacity_default", "test-modifiers_default", "test-element_access1_default", "test-element_access2_default", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-merge_patch_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-udt_all", "test-json_patch_all", "test-allocator_default", "test-unicode_all", "test-constructor2_default", "test-items_default", "test-class_parser_all", "test-conversions_default", "test-inspection_all", "test-udt_default", "test-readme_all", "test-ubjson_default", "test-regression_default", "test-serialization_default", "test-msgpack_default", "test-meta_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 74, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-reference_access_default", "test-noexcept_default", "test-class_iterator_default", "test-conversions_all", "test-element_access2_all", "test-allocator_all", "test-iterators1_default", "test-reference_access_all", "test-class_lexer_all", "test-pointer_access_default", "test-json_patch_default", "test-modifiers_all", "test-meta_all", "test-deserialization_default", "test-json_pointer_all", "test-comparison_default", "test-cbor_all", "test-readme_default", "test-iterators1_all", "test-capacity_all", "test-serialization_all", "test-concepts_default", "test-to_chars_all", "test-merge_patch_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-element_access1_all", "test-algorithms_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-cbor_default", "test-items_all", "test-capacity_default", "test-modifiers_default", "test-element_access1_default", "test-element_access2_default", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-merge_patch_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-json_patch_all", "test-allocator_default", "test-unicode_all", "test-constructor2_default", "test-items_default", "test-class_parser_all", "test-conversions_default", "test-inspection_all", "test-readme_all", "test-ubjson_default", "test-regression_default", "test-meta_default", "test-serialization_default", "test-msgpack_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 74, "failed_count": 0, "skipped_count": 0, "passed_tests": ["test-pointer_access_all", "test-to_chars_default", "test-iterators2_default", "test-class_lexer_all", "test-class_iterator_default", "test-allocator_all", "test-conversions_all", "test-element_access2_all", "test-iterators1_default", "test-noexcept_default", "test-pointer_access_default", "test-reference_access_default", "test-reference_access_all", "test-json_patch_default", "test-modifiers_all", "test-deserialization_default", "test-meta_all", "test-json_pointer_all", "test-comparison_default", "test-capacity_all", "test-cbor_all", "test-iterators1_all", "test-readme_default", "test-serialization_all", "test-concepts_default", "test-to_chars_all", "test-merge_patch_default", "test-noexcept_all", "test-inspection_default", "test-class_parser_default", "test-comparison_all", "test-convenience_default", "test-algorithms_default", "test-element_access1_all", "test-cbor_default", "test-class_const_iterator_all", "test-json_pointer_default", "test-capacity_default", "test-items_all", "test-modifiers_default", "test-element_access1_default", "test-element_access2_default", "test-class_iterator_all", "test-ubjson_all", "test-testsuites_all", "test-algorithms_all", "test-class_lexer_default", "test-convenience_all", "test-constructor2_all", "test-unicode_default", "test-class_const_iterator_default", "test-constructor1_default", "test-constructor1_all", "test-merge_patch_all", "test-deserialization_all", "test-regression_all", "test-testsuites_default", "test-iterators2_all", "test-json_patch_all", "test-allocator_default", "test-unicode_all", "test-class_parser_all", "test-constructor2_default", "test-items_default", "test-conversions_default", "test-inspection_all", "test-meta_default", "test-readme_all", "test-regression_default", "test-ubjson_default", "test-serialization_default", "test-msgpack_default", "test-msgpack_all", "test-concepts_all"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/fix-patch-run.log new file mode 100644 index 000000000..13ae79947 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/fix-patch-run.log @@ -0,0 +1,1026 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (6069 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (10.4 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3505 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (19.1 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (3843 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.kiqCVyfp +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.kiqCVyfp/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.kiqCVyfp/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.kiqCVyfp/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.kiqCVyfp/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.kiqCVyfp/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.kiqCVyfp +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=12b8765d1102 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.VhFaZFjRn1/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/ondemand/CMakeLists.txt +patching file tests/ondemand/ondemand_json_pointer_tests.cpp +patching file include/simdjson/generic/ondemand/array-inl.h +patching file include/simdjson/generic/ondemand/array.h +patching file include/simdjson/generic/ondemand/document-inl.h +patching file include/simdjson/generic/ondemand/document.h +patching file include/simdjson/generic/ondemand/object-inl.h +patching file include/simdjson/generic/ondemand/object.h +patching file include/simdjson/generic/ondemand/value-inl.h +patching file include/simdjson/generic/ondemand/value.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@8982e1e) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git Version: v0.2.1-40cba172-dirty +-- Version: 0.2.1 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.9.1) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@b32cd94) +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@aa33ec5) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 1%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 1%] Linking CXX static library libsimdjson.a +[ 1%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 2%] Linking C static library libcjson.a +[ 2%] Built target cjson +Scanning dependencies of target boostjson +[ 3%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 3%] Linking CXX static library libboostjson.a +[ 3%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 3%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 5%] Linking CXX static library libjsoncpp.a +[ 5%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 6%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 6%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 6%] Linking C static library libujson4c.a +[ 6%] Built target ujson4c +Scanning dependencies of target fastjson +[ 7%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 7%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 9%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 9%] Linking CXX static library libfastjson.a +[ 9%] Built target fastjson +Scanning dependencies of target gason +[ 9%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 9%] Linking CXX static library libgason.a +[ 9%] Built target gason +Scanning dependencies of target yyjson +[ 9%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 10%] Linking C static library libyyjson.a +[ 10%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 10%] Linking C static library libjsmn.a +[ 10%] Built target jsmn +Scanning dependencies of target json11 +[ 11%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 11%] Linking CXX static library libjson11.a +[ 11%] Built target json11 +Scanning dependencies of target benchmark +[ 11%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 15%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 15%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 19%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 19%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 19%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 22%] Linking CXX static library libbenchmark.a +[ 22%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 22%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 22%] Linking CXX static library libbenchmark_main.a +[ 22%] Built target benchmark_main +Scanning dependencies of target minify +[ 22%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 23%] Linking CXX executable minify +[ 23%] Built target minify +Scanning dependencies of target jsonpointer +[ 23%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 23%] Linking CXX executable jsonpointer +[ 23%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 25%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 25%] Linking CXX executable jsonstats +[ 25%] Built target jsonstats +Scanning dependencies of target json2json +[ 26%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 26%] Linking CXX executable json2json +[ 26%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 26%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 26%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 26%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 27%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +timestamp is 2021-06-09 16:42:37 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Creating /home/simdjson/build/singleheader/simdjson.cpp +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 165 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 1188 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 527262 Jul 14 01:48 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 976990 Jul 14 01:48 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + +[ 27%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 27%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 28%] Linking CXX executable amalgamate_demo +[ 28%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 28%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 30%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 30%] Linking CXX executable unicode_tests +[ 30%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 31%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 31%] Linking CXX executable checkimplementation +[ 31%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 31%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 32%] Linking CXX executable minify_tests +[ 32%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 34%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 34%] Linking CXX executable padded_string_tests +[ 34%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 34%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 35%] Linking CXX executable pointercheck +[ 35%] Built target pointercheck +Scanning dependencies of target document_tests +[ 36%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 36%] Linking CXX executable document_tests +[ 36%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 36%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 36%] Linking CXX executable numberparsingcheck +[ 36%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 36%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 38%] Linking CXX executable basictests +[ 38%] Built target basictests +Scanning dependencies of target integer_tests +[ 39%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 39%] Linking CXX executable integer_tests +[ 39%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 39%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 40%] Linking CXX executable jsoncheck +[ 40%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 40%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 40%] Linking CXX executable document_stream_tests +[ 40%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 42%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 42%] Linking CXX executable minefieldcheck +[ 42%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 42%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 43%] Linking CXX executable parse_many_test +[ 43%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 43%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 43%] Linking CXX executable random_string_number_tests +[ 43%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 44%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 44%] Linking CXX executable trivially_copyable_test +[ 44%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 44%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 44%] Linking CXX executable extracting_values_example +[ 44%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 44%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 44%] Linking CXX executable stringparsingcheck +[ 44%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 46%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 46%] Linking CXX executable errortests +[ 46%] Built target errortests +Scanning dependencies of target ondemand_object_tests +[ 47%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 47%] Linking CXX executable ondemand_object_tests +[ 47%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_object_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 48%] Linking CXX executable ondemand_object_error_tests +[ 48%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 50%] Linking CXX executable ondemand_misc_tests +[ 50%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_error_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 51%] Linking CXX executable ondemand_error_tests +[ 51%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 51%] Linking CXX executable ondemand_compilation_tests +[ 51%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_array_error_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 52%] Linking CXX executable ondemand_array_error_tests +[ 52%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_key_string_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +[ 53%] Linking CXX executable ondemand_key_string_tests +[ 53%] Built target ondemand_key_string_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 55%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 55%] Linking CXX executable ondemand_json_pointer_tests +[ 55%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_array_tests +[ 55%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 56%] Linking CXX executable ondemand_array_tests +[ 56%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_active_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 57%] Linking CXX executable ondemand_active_tests +[ 57%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_tostring_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 59%] Linking CXX executable ondemand_tostring_tests +[ 59%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_ordering_tests +[ 59%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 60%] Linking CXX executable ondemand_ordering_tests +[ 60%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_readme_examples +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_readme_examples.dir/ondemand_readme_examples.cpp.o +[ 60%] Linking CXX executable ondemand_readme_examples +[ 60%] Built target ondemand_readme_examples +Scanning dependencies of target ondemand_number_tests +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_tests.dir/ondemand_number_tests.cpp.o +[ 60%] Linking CXX executable ondemand_number_tests +[ 60%] Built target ondemand_number_tests +Scanning dependencies of target ondemand_parse_api_tests +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_parse_api_tests.dir/ondemand_parse_api_tests.cpp.o +[ 61%] Linking CXX executable ondemand_parse_api_tests +[ 61%] Built target ondemand_parse_api_tests +Scanning dependencies of target ondemand_scalar_tests +[ 63%] Building CXX object tests/ondemand/CMakeFiles/ondemand_scalar_tests.dir/ondemand_scalar_tests.cpp.o +[ 63%] Linking CXX executable ondemand_scalar_tests +[ 63%] Built target ondemand_scalar_tests +Scanning dependencies of target ondemand_twitter_tests +[ 63%] Building CXX object tests/ondemand/CMakeFiles/ondemand_twitter_tests.dir/ondemand_twitter_tests.cpp.o +[ 64%] Linking CXX executable ondemand_twitter_tests +[ 64%] Built target ondemand_twitter_tests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 64%] Linking CXX executable ondemand_wrong_type_error_tests +[ 64%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_assert_out_of_order_values +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_assert_out_of_order_values.dir/ondemand_assert_out_of_order_values.cpp.o +[ 65%] Linking CXX executable ondemand_assert_out_of_order_values +[ 65%] Built target ondemand_assert_out_of_order_values +Scanning dependencies of target benchfeatures +[ 67%] Building CXX object benchmark/CMakeFiles/benchfeatures.dir/benchfeatures.cpp.o +[ 67%] Linking CXX executable benchfeatures +[ 67%] Built target benchfeatures +Scanning dependencies of target get_corpus_benchmark +[ 68%] Building CXX object benchmark/CMakeFiles/get_corpus_benchmark.dir/get_corpus_benchmark.cpp.o +[ 68%] Linking CXX executable get_corpus_benchmark +[ 68%] Built target get_corpus_benchmark +Scanning dependencies of target bench_parse_call +[ 69%] Building CXX object benchmark/CMakeFiles/bench_parse_call.dir/bench_parse_call.cpp.o +[ 69%] Linking CXX executable bench_parse_call +[ 69%] Built target bench_parse_call +Scanning dependencies of target bench_dom_api +[ 69%] Building CXX object benchmark/CMakeFiles/bench_dom_api.dir/bench_dom_api.cpp.o +[ 71%] Linking CXX executable bench_dom_api +[ 71%] Built target bench_dom_api +Scanning dependencies of target bench_ondemand +[ 71%] Building CXX object benchmark/CMakeFiles/bench_ondemand.dir/bench_ondemand.cpp.o +[ 71%] Linking CXX executable bench_ondemand +[ 71%] Built target bench_ondemand +Scanning dependencies of target perfdiff +[ 71%] Building CXX object benchmark/dom/CMakeFiles/perfdiff.dir/perfdiff.cpp.o +[ 72%] Linking CXX executable perfdiff +[ 72%] Built target perfdiff +Scanning dependencies of target parse_noutf8validation +[ 73%] Building CXX object benchmark/dom/CMakeFiles/parse_noutf8validation.dir/parse.cpp.o +[ 73%] Linking CXX executable parse_noutf8validation +[ 73%] Built target parse_noutf8validation +Scanning dependencies of target parse +[ 75%] Building CXX object benchmark/dom/CMakeFiles/parse.dir/parse.cpp.o +[ 75%] Linking CXX executable parse +[ 75%] Built target parse +Scanning dependencies of target parse_stream +[ 76%] Building CXX object benchmark/dom/CMakeFiles/parse_stream.dir/parse_stream.cpp.o +[ 76%] Linking CXX executable parse_stream +[ 76%] Built target parse_stream +Scanning dependencies of target statisticalmodel +[ 76%] Building CXX object benchmark/dom/CMakeFiles/statisticalmodel.dir/statisticalmodel.cpp.o +[ 77%] Linking CXX executable statisticalmodel +[ 77%] Built target statisticalmodel +Scanning dependencies of target parse_nonumberparsing +[ 77%] Building CXX object benchmark/dom/CMakeFiles/parse_nonumberparsing.dir/parse.cpp.o +[ 78%] Linking CXX executable parse_nonumberparsing +[ 78%] Built target parse_nonumberparsing +Scanning dependencies of target parse_nostringparsing +[ 78%] Building CXX object benchmark/dom/CMakeFiles/parse_nostringparsing.dir/parse.cpp.o +[ 78%] Linking CXX executable parse_nostringparsing +[ 78%] Built target parse_nostringparsing +Scanning dependencies of target fuzz_print_json +[ 80%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/fuzz_print_json.cpp.o +[ 80%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/main.cpp.o +[ 80%] Linking CXX executable fuzz_print_json +[ 80%] Built target fuzz_print_json +Scanning dependencies of target fuzz_padded +[ 80%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/fuzz_padded.cpp.o +[ 81%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/main.cpp.o +[ 81%] Linking CXX executable fuzz_padded +[ 81%] Built target fuzz_padded +Scanning dependencies of target fuzz_dump +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/fuzz_dump.cpp.o +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/main.cpp.o +[ 82%] Linking CXX executable fuzz_dump +[ 82%] Built target fuzz_dump +Scanning dependencies of target fuzz_minifyimpl +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/fuzz_minifyimpl.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/main.cpp.o +[ 84%] Linking CXX executable fuzz_minifyimpl +[ 84%] Built target fuzz_minifyimpl +Scanning dependencies of target fuzz_element +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/fuzz_element.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/main.cpp.o +[ 85%] Linking CXX executable fuzz_element +[ 85%] Built target fuzz_element +Scanning dependencies of target fuzz_ondemand +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/fuzz_ondemand.cpp.o +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/main.cpp.o +[ 86%] Linking CXX executable fuzz_ondemand +[ 86%] Built target fuzz_ondemand +Scanning dependencies of target fuzz_utf8 +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/fuzz_utf8.cpp.o +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/main.cpp.o +[ 89%] Linking CXX executable fuzz_utf8 +[ 89%] Built target fuzz_utf8 +Scanning dependencies of target fuzz_implementations +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/fuzz_implementations.cpp.o +[ 90%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/main.cpp.o +[ 90%] Linking CXX executable fuzz_implementations +[ 90%] Built target fuzz_implementations +Scanning dependencies of target fuzz_parser +[ 90%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/fuzz_parser.cpp.o +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/main.cpp.o +[ 92%] Linking CXX executable fuzz_parser +[ 92%] Built target fuzz_parser +Scanning dependencies of target fuzz_atpointer +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/fuzz_atpointer.cpp.o +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/main.cpp.o +[ 93%] Linking CXX executable fuzz_atpointer +[ 93%] Built target fuzz_atpointer +Scanning dependencies of target fuzz_dump_raw_tape +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/fuzz_dump_raw_tape.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/main.cpp.o +[ 96%] Linking CXX executable fuzz_dump_raw_tape +[ 96%] Built target fuzz_dump_raw_tape +Scanning dependencies of target fuzz_minify +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/fuzz_minify.cpp.o +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/main.cpp.o +[ 97%] Linking CXX executable fuzz_minify +[ 97%] Built target fuzz_minify +Scanning dependencies of target fuzz_ndjson +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/fuzz_ndjson.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/main.cpp.o +[100%] Linking CXX executable fuzz_ndjson +[100%] Built target fuzz_ndjson +Test project /home/simdjson/build + Start 1: avoid_abort + 1/88 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/88 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/88 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/88 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/88 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/88 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/88 Test #7: amalgamate_demo ...................................... Passed 0.01 sec + Start 8: simdjson-singleheader + 8/88 Test #8: simdjson-singleheader ................................ Passed 5.11 sec + Start 9: amalgamate_demo_direct_from_repository + 9/88 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.01 sec + Start 10: unicode_tests +10/88 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +11/88 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/88 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: checkimplementation +13/88 Test #13: checkimplementation .................................. Passed 0.00 sec + Start 14: random_string_number_tests +14/88 Test #14: random_string_number_tests ........................... Passed 0.99 sec + Start 15: basictests +15/88 Test #15: basictests ........................................... Passed 0.01 sec + Start 16: document_stream_tests +16/88 Test #16: document_stream_tests ................................ Passed 2.56 sec + Start 17: document_tests +17/88 Test #17: document_tests ....................................... Passed 0.16 sec + Start 18: errortests +18/88 Test #18: errortests ........................................... Passed 0.00 sec + Start 19: extracting_values_example +19/88 Test #19: extracting_values_example ............................ Passed 0.00 sec + Start 20: integer_tests +20/88 Test #20: integer_tests ........................................ Passed 0.00 sec + Start 21: jsoncheck +21/88 Test #21: jsoncheck ............................................ Passed 0.00 sec + Start 22: minefieldcheck +22/88 Test #22: minefieldcheck ....................................... Passed 0.01 sec + Start 23: numberparsingcheck +23/88 Test #23: numberparsingcheck ................................... Passed 0.04 sec + Start 24: parse_many_test +24/88 Test #24: parse_many_test ...................................... Passed 0.00 sec + Start 25: pointercheck +25/88 Test #25: pointercheck ......................................... Passed 0.00 sec + Start 26: stringparsingcheck +26/88 Test #26: stringparsingcheck ................................... Passed 0.04 sec + Start 27: trivially_copyable_test +27/88 Test #27: trivially_copyable_test .............................. Passed 0.00 sec + Start 29: json2json +28/88 Test #29: json2json ............................................ Passed 0.01 sec + Start 28: testjson2json +29/88 Test #28: testjson2json ........................................ Passed 0.67 sec + Start 30: simdjson_force_implementation_error +30/88 Test #30: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 31: readme_examples +31/88 Test #31: readme_examples ...................................... Passed 3.27 sec + Start 32: readme_examples11 +32/88 Test #32: readme_examples11 .................................... Passed 3.23 sec + Start 33: readme_examples_noexceptions +33/88 Test #33: readme_examples_noexceptions ......................... Passed 2.32 sec + Start 34: readme_examples_noexceptions11 +34/88 Test #34: readme_examples_noexceptions11 ....................... Passed 2.11 sec + Start 35: readme_examples_will_fail_with_exceptions_off +35/88 Test #35: readme_examples_will_fail_with_exceptions_off ........ Passed 1.47 sec + Start 36: ondemand_tostring_tests +36/88 Test #36: ondemand_tostring_tests .............................. Passed 0.13 sec + Start 37: ondemand_active_tests +37/88 Test #37: ondemand_active_tests ................................ Passed 0.00 sec + Start 38: ondemand_array_tests +38/88 Test #38: ondemand_array_tests ................................. Passed 0.00 sec + Start 39: ondemand_array_error_tests +39/88 Test #39: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 40: ondemand_compilation_tests +40/88 Test #40: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 41: ondemand_error_tests +41/88 Test #41: ondemand_error_tests ................................. Passed 0.00 sec + Start 42: ondemand_json_pointer_tests +42/88 Test #42: ondemand_json_pointer_tests .......................... Passed 0.00 sec + Start 43: ondemand_key_string_tests +43/88 Test #43: ondemand_key_string_tests ............................ Passed 0.00 sec + Start 44: ondemand_misc_tests +44/88 Test #44: ondemand_misc_tests .................................. Passed 0.00 sec + Start 45: ondemand_number_tests +45/88 Test #45: ondemand_number_tests ................................ Passed 0.01 sec + Start 46: ondemand_object_tests +46/88 Test #46: ondemand_object_tests ................................ Passed 0.00 sec + Start 47: ondemand_object_error_tests +47/88 Test #47: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 48: ondemand_ordering_tests +48/88 Test #48: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 49: ondemand_parse_api_tests +49/88 Test #49: ondemand_parse_api_tests ............................. Passed 0.00 sec + Start 50: ondemand_readme_examples +50/88 Test #50: ondemand_readme_examples ............................. Passed 0.00 sec + Start 51: ondemand_scalar_tests +51/88 Test #51: ondemand_scalar_tests ................................ Passed 0.00 sec + Start 52: ondemand_twitter_tests +52/88 Test #52: ondemand_twitter_tests ............................... Passed 0.00 sec + Start 53: ondemand_wrong_type_error_tests +53/88 Test #53: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 54: ondemand_assert_out_of_order_values +54/88 Test #54: ondemand_assert_out_of_order_values .................. Passed 0.00 sec + Start 55: iterate_char_star_should_compile +55/88 Test #55: iterate_char_star_should_compile ..................... Passed 1.61 sec + Start 56: iterate_char_star_should_not_compile +56/88 Test #56: iterate_char_star_should_not_compile ................. Passed 1.48 sec + Start 57: iterate_string_view_should_compile +57/88 Test #57: iterate_string_view_should_compile ................... Passed 1.61 sec + Start 58: iterate_string_view_should_not_compile +58/88 Test #58: iterate_string_view_should_not_compile ............... Passed 1.42 sec + Start 59: iterate_temporary_buffer_should_compile +59/88 Test #59: iterate_temporary_buffer_should_compile .............. Passed 1.60 sec + Start 60: iterate_temporary_buffer_should_not_compile +60/88 Test #60: iterate_temporary_buffer_should_not_compile .......... Passed 1.43 sec + Start 61: example_compiletest_should_compile +61/88 Test #61: example_compiletest_should_compile ................... Passed 0.26 sec + Start 62: example_compiletest_should_not_compile +62/88 Test #62: example_compiletest_should_not_compile ............... Passed 0.17 sec + Start 63: bad_array_count_should_compile +63/88 Test #63: bad_array_count_should_compile ....................... Passed 1.73 sec + Start 64: bad_array_count_should_not_compile +64/88 Test #64: bad_array_count_should_not_compile ................... Passed 1.44 sec + Start 65: dangling_parser_load_should_compile +65/88 Test #65: dangling_parser_load_should_compile .................. Passed 1.87 sec + Start 66: dangling_parser_load_should_not_compile +66/88 Test #66: dangling_parser_load_should_not_compile .............. Passed 1.46 sec + Start 67: dangling_parser_parse_uint8_should_compile +67/88 Test #67: dangling_parser_parse_uint8_should_compile ........... Passed 1.83 sec + Start 68: dangling_parser_parse_uint8_should_not_compile +68/88 Test #68: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.51 sec + Start 69: dangling_parser_parse_uchar_should_compile +69/88 Test #69: dangling_parser_parse_uchar_should_compile ........... Passed 1.86 sec + Start 70: dangling_parser_parse_uchar_should_not_compile +70/88 Test #70: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.45 sec + Start 71: dangling_parser_parse_stdstring_should_compile +71/88 Test #71: dangling_parser_parse_stdstring_should_compile ....... Passed 1.85 sec + Start 72: dangling_parser_parse_stdstring_should_not_compile +72/88 Test #72: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.44 sec + Start 73: dangling_parser_parse_padstring_should_compile +73/88 Test #73: dangling_parser_parse_padstring_should_compile ....... Passed 1.91 sec + Start 74: dangling_parser_parse_padstring_should_not_compile +74/88 Test #74: dangling_parser_parse_padstring_should_not_compile ... Passed 1.44 sec + Start 75: unsafe_parse_many_should_compile +75/88 Test #75: unsafe_parse_many_should_compile ..................... Passed 2.06 sec + Start 76: unsafe_parse_many_should_not_compile +76/88 Test #76: unsafe_parse_many_should_not_compile ................. Passed 1.49 sec + Start 77: quickstart +77/88 Test #77: quickstart ........................................... Passed 5.84 sec + Start 78: quickstart11 +78/88 Test #78: quickstart11 ......................................... Passed 5.29 sec + Start 79: quickstart14 +79/88 Test #79: quickstart14 ......................................... Passed 5.41 sec + Start 80: quickstart_noexceptions +80/88 Test #80: quickstart_noexceptions .............................. Passed 5.43 sec + Start 81: quickstart_noexceptions11 +81/88 Test #81: quickstart_noexceptions11 ............................ Passed 5.08 sec + Start 82: quickstart2_noexceptions +82/88 Test #82: quickstart2_noexceptions ............................. Passed 5.28 sec + Start 83: quickstart2_noexceptions11 +83/88 Test #83: quickstart2_noexceptions11 ........................... Passed 5.01 sec + Start 84: quickstart_ondemand +84/88 Test #84: quickstart_ondemand .................................. Passed 5.59 sec + Start 85: quickstart_ondemand11 +85/88 Test #85: quickstart_ondemand11 ................................ Passed 5.24 sec + Start 86: quickstart_ondemand14 +86/88 Test #86: quickstart_ondemand14 ................................ Passed 5.32 sec + Start 87: quickstart_ondemand_noexceptions +87/88 Test #87: quickstart_ondemand_noexceptions ..................... Passed 5.41 sec + Start 88: quickstart_ondemand_noexceptions11 +88/88 Test #88: quickstart_ondemand_noexceptions11 ................... Passed 5.06 sec + +100% tests passed, 0 tests failed out of 88 + +Label Time Summary: +acceptance = 69.36 sec*proc (59 tests) +assert = 0.00 sec*proc (1 test) +compile = 63.95 sec*proc (12 tests) +dom = 3.87 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 96.88 sec*proc (34 tests) +ondemand = 9.33 sec*proc (25 tests) +other = 0.11 sec*proc (3 tests) +per_implementation = 9.96 sec*proc (41 tests) +quickstart = 63.95 sec*proc (12 tests) +quickstart_ondemand = 26.61 sec*proc (5 tests) +singleheader = 5.12 sec*proc (3 tests) + +Total Test time (real) = 119.29 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/fix.patch new file mode 100644 index 000000000..17ad2a8a3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/fix.patch @@ -0,0 +1,450 @@ +diff --git a/include/simdjson/generic/ondemand/array-inl.h b/include/simdjson/generic/ondemand/array-inl.h +index c0fc42ce..f6bbb3d1 100644 +--- a/include/simdjson/generic/ondemand/array-inl.h ++++ b/include/simdjson/generic/ondemand/array-inl.h +@@ -93,6 +93,54 @@ simdjson_really_inline simdjson_result array::count_elements() & noexcep + return count; + } + ++inline simdjson_result array::at_pointer(std::string_view json_pointer) & noexcept { ++ if(json_pointer.empty()) { ++ iter.move_at_start(); ++ return value::start(iter); ++ } ++ if(json_pointer[0] != '/') { ++ return INVALID_JSON_POINTER; ++ } ++ json_pointer = json_pointer.substr(1); ++ // - means "the append position" or "the element after the end of the array" ++ // We don't support this, because we're returning a real element, not a position. ++ if(json_pointer == "-") { return INDEX_OUT_OF_BOUNDS; } ++ ++ // Read the array index ++ size_t array_index = 0; ++ size_t i; ++ for(i = 0; i < json_pointer.length() && json_pointer[i] != '/'; i++) { ++ uint8_t digit = uint8_t(json_pointer[i] - '0'); ++ if(digit > 9) { return INCORRECT_TYPE; } ++ array_index = array_index * 10 + digit; ++ } ++ ++ // 0 followed by other digits is invalid ++ if(i > 1 && json_pointer[0] == '0') { return INVALID_JSON_POINTER; } ++ ++ // Empty string is invalid; so is a "/" with no digits before it ++ if(i == 0) { return INVALID_JSON_POINTER; } ++ ++ // Get the child at the given index ++ simdjson_result child = INDEX_OUT_OF_BOUNDS; ++ size_t current_index = 0; ++ for(auto element : *this) { ++ if(current_index == array_index) { ++ child = element; ++ break; ++ } ++ current_index++; ++ } ++ if(child.error()) { ++ return child.error() == SUCCESS ? INDEX_OUT_OF_BOUNDS : child.error(); ++ } ++ // If there is a /, we have to recurse and look up more of the path ++ if(i < json_pointer.length()) { ++ return child.at_pointer(json_pointer.substr(i)); ++ } ++ return child; ++} ++ + } // namespace ondemand + } // namespace SIMDJSON_IMPLEMENTATION + } // namespace simdjson +@@ -126,4 +174,8 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::at_pointer(std::string_view json_pointer) & noexcept { ++ if (error()) { return error(); } ++ return first.at_pointer(json_pointer); ++} + } // namespace simdjson +diff --git a/include/simdjson/generic/ondemand/array.h b/include/simdjson/generic/ondemand/array.h +index 3336ccfd..058ab900 100644 +--- a/include/simdjson/generic/ondemand/array.h ++++ b/include/simdjson/generic/ondemand/array.h +@@ -43,6 +43,24 @@ public: + * safe to continue. + */ + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ ++ /** ++ * Get the value associated with the given JSON pointer. We use the RFC 6901 ++ * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node ++ * as the root of its own JSON document. ++ * ++ * ondemand::parser parser; ++ * auto a = parser.parse(R"([ { "foo": { "a": [ 10, 20, 30 ] }} ])"_padded); ++ * a.at_pointer("/0/foo/a/1") == 20 ++ * a.at_pointer("0")["foo"]["a"].at_pointer("/1") == 20 ++ * ++ * @return The value associated with the given JSON pointer, or: ++ * - NO_SUCH_FIELD if a field does not exist in an object ++ * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length ++ * - INCORRECT_TYPE if a non-integer is used to access an array ++ * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed ++ */ ++ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept; + protected: + /** + * Begin array iteration. +@@ -110,6 +128,7 @@ public: + simdjson_really_inline simdjson_result begin() noexcept; + simdjson_really_inline simdjson_result end() noexcept; + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept; + }; + + } // namespace simdjson +diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h +index a5c0877b..08d5824b 100644 +--- a/include/simdjson/generic/ondemand/document-inl.h ++++ b/include/simdjson/generic/ondemand/document-inl.h +@@ -125,6 +125,13 @@ simdjson_really_inline simdjson_result document::operator[](const char *k + return resume_value()[key]; + } + ++inline simdjson_result document::at_pointer(std::string_view json_pointer) & noexcept { ++ if(json_pointer.empty()) { ++ return resume_value(); ++ } ++ return resume_value().at_pointer(json_pointer); ++} ++ + simdjson_really_inline simdjson_result document::type() noexcept { + return get_root_value_iterator().type(); + } +@@ -180,6 +187,10 @@ simdjson_really_inline simdjson_result + if (error()) { return error(); } + return first.find_field_unordered(key); + } ++inline simdjson_result simdjson_result::at_pointer(std::string_view json_pointer) & noexcept { ++ if (error()) { return error(); } ++ return first.at_pointer(json_pointer); ++} + simdjson_really_inline simdjson_result simdjson_result::operator[](std::string_view key) & noexcept { + if (error()) { return error(); } + return first[key]; +diff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h +index 581d8a7c..e9af461d 100644 +--- a/include/simdjson/generic/ondemand/document.h ++++ b/include/simdjson/generic/ondemand/document.h +@@ -274,6 +274,30 @@ public: + /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept; */ + simdjson_really_inline simdjson_result operator[](const char *key) & noexcept; + ++ /** ++ * Get the value associated with the given JSON pointer. We use the RFC 6901 ++ * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node ++ * as the root of its own JSON document. ++ * ++ * ondemand::parser parser; ++ * auto doc = parser.parse(R"({ "foo": { "a": [ 10, 20, 30 ] }})"_padded); ++ * doc.at_pointer("/foo/a/1") == 20 ++ * doc.at_pointer("/foo")["a"].at_pointer("/1") == 20 ++ * ++ * It is allowed for a key to be the empty string: ++ * ++ * ondemand::parser parser; ++ * auto doc = parser.parse(R"({ "": { "a": [ 10, 20, 30 ] }})"_padded); ++ * doc.at_pointer("//a/1") == 20 ++ * ++ * @return The value associated with the given JSON pointer, or: ++ * - NO_SUCH_FIELD if a field does not exist in an object ++ * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length ++ * - INCORRECT_TYPE if a non-integer is used to access an array ++ * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed ++ */ ++ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept; ++ + /** + * Get the type of this JSON value. + * +@@ -392,6 +416,8 @@ public: + simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept; + simdjson_really_inline simdjson_result find_field_unordered(const char *key) & noexcept; + ++ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept; ++ + simdjson_really_inline simdjson_result type() noexcept; + + /** @copydoc simdjson_really_inline std::string_view document::raw_json_token() const noexcept */ +diff --git a/include/simdjson/generic/ondemand/object-inl.h b/include/simdjson/generic/ondemand/object-inl.h +index fa689590..bbf27625 100644 +--- a/include/simdjson/generic/ondemand/object-inl.h ++++ b/include/simdjson/generic/ondemand/object-inl.h +@@ -2,6 +2,18 @@ namespace simdjson { + namespace SIMDJSON_IMPLEMENTATION { + namespace ondemand { + ++simdjson_really_inline simdjson_result object::find_field(const std::string_view key) & noexcept { ++ bool has_value; ++ SIMDJSON_TRY( iter.find_field_raw(key).get(has_value) ); ++ if (!has_value) { return NO_SUCH_FIELD; } ++ return value(iter.child()); ++} ++simdjson_really_inline simdjson_result object::find_field(const std::string_view key) && noexcept { ++ bool has_value; ++ SIMDJSON_TRY( iter.find_field_raw(key).get(has_value) ); ++ if (!has_value) { return NO_SUCH_FIELD; } ++ return value(iter.child()); ++} + simdjson_really_inline simdjson_result object::find_field_unordered(const std::string_view key) & noexcept { + bool has_value; + SIMDJSON_TRY( iter.find_field_unordered_raw(key).get(has_value) ); +@@ -20,17 +32,89 @@ simdjson_really_inline simdjson_result object::operator[](const std::stri + simdjson_really_inline simdjson_result object::operator[](const std::string_view key) && noexcept { + return std::forward(*this).find_field_unordered(key); + } +-simdjson_really_inline simdjson_result object::find_field(const std::string_view key) & noexcept { +- bool has_value; +- SIMDJSON_TRY( iter.find_field_raw(key).get(has_value) ); +- if (!has_value) { return NO_SUCH_FIELD; } +- return value(iter.child()); ++ ++inline simdjson_result object::at_pointer(std::string_view json_pointer) & noexcept { ++ if(json_pointer.empty()) { ++ iter.move_at_start(); ++ return value::start(iter); ++ } ++ if(json_pointer[0] != '/') { ++ return INVALID_JSON_POINTER; ++ } ++ json_pointer = json_pointer.substr(1); ++ size_t slash = json_pointer.find('/'); ++ std::string_view key = json_pointer.substr(0, slash); ++ ++ simdjson_result child; ++ size_t escape = key.find('~'); ++ if(escape != std::string_view::npos) { ++ std::string unescaped(key); ++ do { ++ switch(unescaped[escape+1]) { ++ case '0': ++ unescaped.replace(escape, 2, "~"); ++ break; ++ case '1': ++ unescaped.replace(escape, 2, "/"); ++ break; ++ default: ++ return INVALID_JSON_POINTER; ++ } ++ escape = unescaped.find('~', escape+1); ++ } while(escape != std::string::npos); ++ child = find_field_unordered(unescaped); ++ } else { ++ child = find_field_unordered(key); ++ } ++ if(child.error()) { ++ return child; ++ } ++ if(slash != std::string_view::npos) { ++ return child.at_pointer(json_pointer.substr(slash)); ++ } ++ return child; + } +-simdjson_really_inline simdjson_result object::find_field(const std::string_view key) && noexcept { +- bool has_value; +- SIMDJSON_TRY( iter.find_field_raw(key).get(has_value) ); +- if (!has_value) { return NO_SUCH_FIELD; } +- return value(iter.child()); ++ ++inline simdjson_result object::at_pointer(std::string_view json_pointer) && noexcept { ++ if(json_pointer.empty()) { ++ iter.move_at_start(); ++ return value::start(iter); ++ } ++ if(json_pointer[0] != '/') { ++ return INVALID_JSON_POINTER; ++ } ++ json_pointer = json_pointer.substr(1); ++ size_t slash = json_pointer.find('/'); ++ std::string_view key = json_pointer.substr(0, slash); ++ ++ simdjson_result child; ++ size_t escape = key.find('~'); ++ if(escape != std::string_view::npos) { ++ std::string unescaped(key); ++ do { ++ switch(unescaped[escape+1]) { ++ case '0': ++ unescaped.replace(escape, 2, "~"); ++ break; ++ case '1': ++ unescaped.replace(escape, 2, "/"); ++ break; ++ default: ++ return INVALID_JSON_POINTER; ++ } ++ escape = unescaped.find('~', escape+1); ++ } while(escape != std::string::npos); ++ child = std::forward(*this).find_field_unordered(unescaped); ++ } else { ++ child = std::forward(*this).find_field_unordered(key); ++ } ++ if(child.error()) { ++ return child; ++ } ++ if(slash != std::string_view::npos) { ++ return child.at_pointer(json_pointer.substr(slash)); ++ } ++ return child; + } + + simdjson_really_inline simdjson_result object::start(value_iterator &iter) noexcept { +@@ -112,4 +196,13 @@ simdjson_really_inline simdjson_result + return std::forward(first).find_field(key); + } + ++inline simdjson_result simdjson_result::at_pointer(std::string_view key) & noexcept { ++ if (error()) { return error(); } ++ return first.at_pointer(key); ++} ++inline simdjson_result simdjson_result::at_pointer(std::string_view key) && noexcept { ++ if (error()) { return error(); } ++ return std::forward(first).at_pointer(key); ++} ++ + } // namespace simdjson +diff --git a/include/simdjson/generic/ondemand/object.h b/include/simdjson/generic/ondemand/object.h +index 5dd72fe9..1954cc30 100644 +--- a/include/simdjson/generic/ondemand/object.h ++++ b/include/simdjson/generic/ondemand/object.h +@@ -74,6 +74,26 @@ public: + /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept; */ + simdjson_really_inline simdjson_result operator[](std::string_view key) && noexcept; + ++ /** ++ * Get the value associated with the given JSON pointer. We use the RFC 6901 ++ * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node ++ * as the root of its own JSON document. ++ * ++ * ondemand::parser parser; ++ * auto obj = parser.parse(R"({ "foo": { "a": [ 10, 20, 30 ] }})"_padded); ++ * obj.at_pointer("/foo/a/1") == 20 ++ * obj.at_pointer("/foo")["a"].at_pointer("/1") == 20 ++ * ++ * @return The value associated with the given JSON pointer, or: ++ * - NO_SUCH_FIELD if a field does not exist in an object ++ * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length ++ * - INCORRECT_TYPE if a non-integer is used to access an array ++ * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed ++ */ ++ inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept; ++ /** @overload inline simdjson_result at_pointer(std::string_view json_pointer) & noexcept; */ ++ inline simdjson_result at_pointer(std::string_view json_pointer) && noexcept; ++ + protected: + static simdjson_really_inline simdjson_result start(value_iterator &iter) noexcept; + static simdjson_really_inline simdjson_result start_root(value_iterator &iter) noexcept; +@@ -111,6 +131,8 @@ public: + simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) && noexcept; + simdjson_really_inline simdjson_result operator[](std::string_view key) & noexcept; + simdjson_really_inline simdjson_result operator[](std::string_view key) && noexcept; ++ inline simdjson_result at_pointer(std::string_view key) & noexcept; ++ inline simdjson_result at_pointer(std::string_view key) && noexcept; + }; + + } // namespace simdjson +diff --git a/include/simdjson/generic/ondemand/value-inl.h b/include/simdjson/generic/ondemand/value-inl.h +index 91ed6bac..f673aac2 100644 +--- a/include/simdjson/generic/ondemand/value-inl.h ++++ b/include/simdjson/generic/ondemand/value-inl.h +@@ -127,6 +127,28 @@ simdjson_really_inline simdjson_result value::operator[](const char *key) + return start_or_resume_object()[key]; + } + ++inline simdjson_result value::at_pointer(std::string_view json_pointer) noexcept { ++ if(json_pointer.empty()) { ++ return std::move(*this); ++ } ++ json_type t; ++ if(auto err = type().get(t)) { return err; } ++ switch(t) { ++ case json_type::object: { ++ object obj; ++ if(auto err = get_object().get(obj)) { return err; } ++ return obj.at_pointer(json_pointer); ++ } ++ case json_type::array: { ++ array arr; ++ if(auto err = get_array().get(arr)) { return err; } ++ return arr.at_pointer(json_pointer); ++ } ++ default: ++ return INVALID_JSON_POINTER; ++ } ++} ++ + simdjson_really_inline simdjson_result value::type() noexcept { + return iter.type(); + } +@@ -195,6 +217,11 @@ simdjson_really_inline simdjson_result + return first[key]; + } + ++inline simdjson_result simdjson_result::at_pointer(std::string_view json_pointer) noexcept { ++ if (error()) { return error(); } ++ return first.at_pointer(json_pointer); ++} ++ + simdjson_really_inline simdjson_result simdjson_result::get_array() noexcept { + if (error()) { return error(); } + return first.get_array(); +diff --git a/include/simdjson/generic/ondemand/value.h b/include/simdjson/generic/ondemand/value.h +index a8a5f48d..2def266a 100644 +--- a/include/simdjson/generic/ondemand/value.h ++++ b/include/simdjson/generic/ondemand/value.h +@@ -276,6 +276,24 @@ public: + /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) noexcept; */ + simdjson_really_inline simdjson_result operator[](const char *key) noexcept; + ++ /** ++ * Get the value associated with the given JSON pointer. We use the RFC 6901 ++ * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node ++ * as the root of its own JSON document. ++ * ++ * ondemand::parser parser; ++ * auto doc = parser.parse(R"({ "foo": { "a": [ 10, 20, 30 ] }})"_padded); ++ * doc.at_pointer("/foo/a/1") == 20 ++ * doc.at_pointer("/foo")["a"].at_pointer("/1") == 20 ++ * ++ * @return The value associated with the given JSON pointer, or: ++ * - NO_SUCH_FIELD if a field does not exist in an object ++ * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length ++ * - INCORRECT_TYPE if a non-integer is used to access an array ++ * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed ++ */ ++ inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; ++ + /** + * Get the type of this JSON value. + * +@@ -349,6 +367,7 @@ protected: + + friend class document; + friend class array_iterator; ++ friend class array; + friend class field; + friend class object; + friend struct simdjson_result; +@@ -445,9 +464,11 @@ public: + simdjson_really_inline simdjson_result find_field_unordered(const char *key) noexcept; + /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) noexcept; */ + simdjson_really_inline simdjson_result operator[](std::string_view key) noexcept; +- /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) noexcept; */ ++ /** @overload simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) noexcept; */ + simdjson_really_inline simdjson_result operator[](const char *key) noexcept; + ++ inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; ++ + /** + * Get the type of this JSON value. + * diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/report.json new file mode 100644 index 000000000..bc60bddf0 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1615/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 1615, "valid": true, "error_msg": "", "fixed_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_assert_out_of_order_values": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_assert_out_of_order_values": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "NONE", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 87, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_readme_examples", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "basictests", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/fix-patch-run.log new file mode 100644 index 000000000..d3bc12cfc --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/fix-patch-run.log @@ -0,0 +1,1022 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (5917 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (9485 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3207 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (19.4 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (3300 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.JJWEFCue +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.JJWEFCue/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.JJWEFCue/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.JJWEFCue/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.JJWEFCue/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.JJWEFCue/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.JJWEFCue +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=6453b774870a +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.0EMGJVlxF1/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/ondemand/ondemand_json_pointer_tests.cpp +patching file include/simdjson/generic/ondemand/array.h +patching file include/simdjson/generic/ondemand/document-inl.h +patching file include/simdjson/generic/ondemand/document.h +patching file include/simdjson/generic/ondemand/object.h +patching file include/simdjson/generic/ondemand/value.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@8982e1e) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git Version: v0.2.1-6cd04aa8-dirty +-- Version: 0.2.1 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.9.1) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@b32cd94) +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@aa33ec5) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 1%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 1%] Linking CXX static library libsimdjson.a +[ 1%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 2%] Linking C static library libcjson.a +[ 2%] Built target cjson +Scanning dependencies of target boostjson +[ 3%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 3%] Linking CXX static library libboostjson.a +[ 3%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 3%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 5%] Linking CXX static library libjsoncpp.a +[ 5%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 6%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 6%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 6%] Linking C static library libujson4c.a +[ 6%] Built target ujson4c +Scanning dependencies of target fastjson +[ 7%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 7%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 9%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 9%] Linking CXX static library libfastjson.a +[ 9%] Built target fastjson +Scanning dependencies of target gason +[ 9%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 9%] Linking CXX static library libgason.a +[ 9%] Built target gason +Scanning dependencies of target yyjson +[ 9%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 10%] Linking C static library libyyjson.a +[ 10%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 10%] Linking C static library libjsmn.a +[ 10%] Built target jsmn +Scanning dependencies of target json11 +[ 11%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 11%] Linking CXX static library libjson11.a +[ 11%] Built target json11 +Scanning dependencies of target benchmark +[ 11%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 15%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 15%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 19%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 19%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 19%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 22%] Linking CXX static library libbenchmark.a +[ 22%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 22%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 22%] Linking CXX static library libbenchmark_main.a +[ 22%] Built target benchmark_main +Scanning dependencies of target minify +[ 22%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 23%] Linking CXX executable minify +[ 23%] Built target minify +Scanning dependencies of target jsonpointer +[ 23%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 23%] Linking CXX executable jsonpointer +[ 23%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 25%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 25%] Linking CXX executable jsonstats +[ 25%] Built target jsonstats +Scanning dependencies of target json2json +[ 26%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 26%] Linking CXX executable json2json +[ 26%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 26%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 26%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 26%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 27%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +timestamp is 2021-06-18 09:59:20 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Creating /home/simdjson/build/singleheader/simdjson.cpp +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 165 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 1188 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 527262 Jul 14 01:48 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 977449 Jul 14 01:48 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + +[ 27%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 27%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 28%] Linking CXX executable amalgamate_demo +[ 28%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 28%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 30%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 30%] Linking CXX executable unicode_tests +[ 30%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 31%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 31%] Linking CXX executable checkimplementation +[ 31%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 31%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 32%] Linking CXX executable minify_tests +[ 32%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 34%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 34%] Linking CXX executable padded_string_tests +[ 34%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 34%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 35%] Linking CXX executable pointercheck +[ 35%] Built target pointercheck +Scanning dependencies of target document_tests +[ 36%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 36%] Linking CXX executable document_tests +[ 36%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 36%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 36%] Linking CXX executable numberparsingcheck +[ 36%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 36%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 38%] Linking CXX executable basictests +[ 38%] Built target basictests +Scanning dependencies of target integer_tests +[ 39%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 39%] Linking CXX executable integer_tests +[ 39%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 39%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 40%] Linking CXX executable jsoncheck +[ 40%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 40%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 40%] Linking CXX executable document_stream_tests +[ 40%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 42%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 42%] Linking CXX executable minefieldcheck +[ 42%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 42%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 43%] Linking CXX executable parse_many_test +[ 43%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 43%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 43%] Linking CXX executable random_string_number_tests +[ 43%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 44%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 44%] Linking CXX executable trivially_copyable_test +[ 44%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 44%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 44%] Linking CXX executable extracting_values_example +[ 44%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 44%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 44%] Linking CXX executable stringparsingcheck +[ 44%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 46%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 46%] Linking CXX executable errortests +[ 46%] Built target errortests +Scanning dependencies of target ondemand_object_tests +[ 47%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 47%] Linking CXX executable ondemand_object_tests +[ 47%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_object_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 48%] Linking CXX executable ondemand_object_error_tests +[ 48%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 50%] Linking CXX executable ondemand_misc_tests +[ 50%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_error_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 51%] Linking CXX executable ondemand_error_tests +[ 51%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 51%] Linking CXX executable ondemand_compilation_tests +[ 51%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_array_error_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 52%] Linking CXX executable ondemand_array_error_tests +[ 52%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_key_string_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +[ 53%] Linking CXX executable ondemand_key_string_tests +[ 53%] Built target ondemand_key_string_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 55%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 55%] Linking CXX executable ondemand_json_pointer_tests +[ 55%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_array_tests +[ 55%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 56%] Linking CXX executable ondemand_array_tests +[ 56%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_active_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 57%] Linking CXX executable ondemand_active_tests +[ 57%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_tostring_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 59%] Linking CXX executable ondemand_tostring_tests +[ 59%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_ordering_tests +[ 59%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 60%] Linking CXX executable ondemand_ordering_tests +[ 60%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_readme_examples +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_readme_examples.dir/ondemand_readme_examples.cpp.o +[ 60%] Linking CXX executable ondemand_readme_examples +[ 60%] Built target ondemand_readme_examples +Scanning dependencies of target ondemand_number_tests +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_tests.dir/ondemand_number_tests.cpp.o +[ 60%] Linking CXX executable ondemand_number_tests +[ 60%] Built target ondemand_number_tests +Scanning dependencies of target ondemand_parse_api_tests +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_parse_api_tests.dir/ondemand_parse_api_tests.cpp.o +[ 61%] Linking CXX executable ondemand_parse_api_tests +[ 61%] Built target ondemand_parse_api_tests +Scanning dependencies of target ondemand_scalar_tests +[ 63%] Building CXX object tests/ondemand/CMakeFiles/ondemand_scalar_tests.dir/ondemand_scalar_tests.cpp.o +[ 63%] Linking CXX executable ondemand_scalar_tests +[ 63%] Built target ondemand_scalar_tests +Scanning dependencies of target ondemand_twitter_tests +[ 63%] Building CXX object tests/ondemand/CMakeFiles/ondemand_twitter_tests.dir/ondemand_twitter_tests.cpp.o +[ 64%] Linking CXX executable ondemand_twitter_tests +[ 64%] Built target ondemand_twitter_tests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 64%] Linking CXX executable ondemand_wrong_type_error_tests +[ 64%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_assert_out_of_order_values +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_assert_out_of_order_values.dir/ondemand_assert_out_of_order_values.cpp.o +[ 65%] Linking CXX executable ondemand_assert_out_of_order_values +[ 65%] Built target ondemand_assert_out_of_order_values +Scanning dependencies of target benchfeatures +[ 67%] Building CXX object benchmark/CMakeFiles/benchfeatures.dir/benchfeatures.cpp.o +[ 67%] Linking CXX executable benchfeatures +[ 67%] Built target benchfeatures +Scanning dependencies of target get_corpus_benchmark +[ 68%] Building CXX object benchmark/CMakeFiles/get_corpus_benchmark.dir/get_corpus_benchmark.cpp.o +[ 68%] Linking CXX executable get_corpus_benchmark +[ 68%] Built target get_corpus_benchmark +Scanning dependencies of target bench_parse_call +[ 69%] Building CXX object benchmark/CMakeFiles/bench_parse_call.dir/bench_parse_call.cpp.o +[ 69%] Linking CXX executable bench_parse_call +[ 69%] Built target bench_parse_call +Scanning dependencies of target bench_dom_api +[ 69%] Building CXX object benchmark/CMakeFiles/bench_dom_api.dir/bench_dom_api.cpp.o +[ 71%] Linking CXX executable bench_dom_api +[ 71%] Built target bench_dom_api +Scanning dependencies of target bench_ondemand +[ 71%] Building CXX object benchmark/CMakeFiles/bench_ondemand.dir/bench_ondemand.cpp.o +[ 71%] Linking CXX executable bench_ondemand +[ 71%] Built target bench_ondemand +Scanning dependencies of target perfdiff +[ 71%] Building CXX object benchmark/dom/CMakeFiles/perfdiff.dir/perfdiff.cpp.o +[ 72%] Linking CXX executable perfdiff +[ 72%] Built target perfdiff +Scanning dependencies of target parse_noutf8validation +[ 73%] Building CXX object benchmark/dom/CMakeFiles/parse_noutf8validation.dir/parse.cpp.o +[ 73%] Linking CXX executable parse_noutf8validation +[ 73%] Built target parse_noutf8validation +Scanning dependencies of target parse +[ 75%] Building CXX object benchmark/dom/CMakeFiles/parse.dir/parse.cpp.o +[ 75%] Linking CXX executable parse +[ 75%] Built target parse +Scanning dependencies of target parse_stream +[ 76%] Building CXX object benchmark/dom/CMakeFiles/parse_stream.dir/parse_stream.cpp.o +[ 76%] Linking CXX executable parse_stream +[ 76%] Built target parse_stream +Scanning dependencies of target statisticalmodel +[ 76%] Building CXX object benchmark/dom/CMakeFiles/statisticalmodel.dir/statisticalmodel.cpp.o +[ 77%] Linking CXX executable statisticalmodel +[ 77%] Built target statisticalmodel +Scanning dependencies of target parse_nonumberparsing +[ 77%] Building CXX object benchmark/dom/CMakeFiles/parse_nonumberparsing.dir/parse.cpp.o +[ 78%] Linking CXX executable parse_nonumberparsing +[ 78%] Built target parse_nonumberparsing +Scanning dependencies of target parse_nostringparsing +[ 78%] Building CXX object benchmark/dom/CMakeFiles/parse_nostringparsing.dir/parse.cpp.o +[ 78%] Linking CXX executable parse_nostringparsing +[ 78%] Built target parse_nostringparsing +Scanning dependencies of target fuzz_print_json +[ 80%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/fuzz_print_json.cpp.o +[ 80%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/main.cpp.o +[ 80%] Linking CXX executable fuzz_print_json +[ 80%] Built target fuzz_print_json +Scanning dependencies of target fuzz_padded +[ 80%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/fuzz_padded.cpp.o +[ 81%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/main.cpp.o +[ 81%] Linking CXX executable fuzz_padded +[ 81%] Built target fuzz_padded +Scanning dependencies of target fuzz_dump +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/fuzz_dump.cpp.o +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/main.cpp.o +[ 82%] Linking CXX executable fuzz_dump +[ 82%] Built target fuzz_dump +Scanning dependencies of target fuzz_minifyimpl +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/fuzz_minifyimpl.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/main.cpp.o +[ 84%] Linking CXX executable fuzz_minifyimpl +[ 84%] Built target fuzz_minifyimpl +Scanning dependencies of target fuzz_element +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/fuzz_element.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/main.cpp.o +[ 85%] Linking CXX executable fuzz_element +[ 85%] Built target fuzz_element +Scanning dependencies of target fuzz_ondemand +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/fuzz_ondemand.cpp.o +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/main.cpp.o +[ 86%] Linking CXX executable fuzz_ondemand +[ 86%] Built target fuzz_ondemand +Scanning dependencies of target fuzz_utf8 +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/fuzz_utf8.cpp.o +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/main.cpp.o +[ 89%] Linking CXX executable fuzz_utf8 +[ 89%] Built target fuzz_utf8 +Scanning dependencies of target fuzz_implementations +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/fuzz_implementations.cpp.o +[ 90%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/main.cpp.o +[ 90%] Linking CXX executable fuzz_implementations +[ 90%] Built target fuzz_implementations +Scanning dependencies of target fuzz_parser +[ 90%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/fuzz_parser.cpp.o +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/main.cpp.o +[ 92%] Linking CXX executable fuzz_parser +[ 92%] Built target fuzz_parser +Scanning dependencies of target fuzz_atpointer +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/fuzz_atpointer.cpp.o +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/main.cpp.o +[ 93%] Linking CXX executable fuzz_atpointer +[ 93%] Built target fuzz_atpointer +Scanning dependencies of target fuzz_dump_raw_tape +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/fuzz_dump_raw_tape.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/main.cpp.o +[ 96%] Linking CXX executable fuzz_dump_raw_tape +[ 96%] Built target fuzz_dump_raw_tape +Scanning dependencies of target fuzz_minify +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/fuzz_minify.cpp.o +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/main.cpp.o +[ 97%] Linking CXX executable fuzz_minify +[ 97%] Built target fuzz_minify +Scanning dependencies of target fuzz_ndjson +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/fuzz_ndjson.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/main.cpp.o +[100%] Linking CXX executable fuzz_ndjson +[100%] Built target fuzz_ndjson +Test project /home/simdjson/build + Start 1: avoid_abort + 1/88 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/88 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/88 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/88 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/88 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/88 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/88 Test #7: amalgamate_demo ...................................... Passed 0.01 sec + Start 8: simdjson-singleheader + 8/88 Test #8: simdjson-singleheader ................................ Passed 5.04 sec + Start 9: amalgamate_demo_direct_from_repository + 9/88 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.01 sec + Start 10: unicode_tests +10/88 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +11/88 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/88 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: checkimplementation +13/88 Test #13: checkimplementation .................................. Passed 0.00 sec + Start 14: random_string_number_tests +14/88 Test #14: random_string_number_tests ........................... Passed 0.99 sec + Start 15: basictests +15/88 Test #15: basictests ........................................... Passed 0.01 sec + Start 16: document_stream_tests +16/88 Test #16: document_stream_tests ................................ Passed 2.66 sec + Start 17: document_tests +17/88 Test #17: document_tests ....................................... Passed 0.16 sec + Start 18: errortests +18/88 Test #18: errortests ........................................... Passed 0.00 sec + Start 19: extracting_values_example +19/88 Test #19: extracting_values_example ............................ Passed 0.00 sec + Start 20: integer_tests +20/88 Test #20: integer_tests ........................................ Passed 0.00 sec + Start 21: jsoncheck +21/88 Test #21: jsoncheck ............................................ Passed 0.00 sec + Start 22: minefieldcheck +22/88 Test #22: minefieldcheck ....................................... Passed 0.01 sec + Start 23: numberparsingcheck +23/88 Test #23: numberparsingcheck ................................... Passed 0.04 sec + Start 24: parse_many_test +24/88 Test #24: parse_many_test ...................................... Passed 0.00 sec + Start 25: pointercheck +25/88 Test #25: pointercheck ......................................... Passed 0.00 sec + Start 26: stringparsingcheck +26/88 Test #26: stringparsingcheck ................................... Passed 0.04 sec + Start 27: trivially_copyable_test +27/88 Test #27: trivially_copyable_test .............................. Passed 0.00 sec + Start 29: json2json +28/88 Test #29: json2json ............................................ Passed 0.01 sec + Start 28: testjson2json +29/88 Test #28: testjson2json ........................................ Passed 0.69 sec + Start 30: simdjson_force_implementation_error +30/88 Test #30: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 31: readme_examples +31/88 Test #31: readme_examples ...................................... Passed 3.22 sec + Start 32: readme_examples11 +32/88 Test #32: readme_examples11 .................................... Passed 3.19 sec + Start 33: readme_examples_noexceptions +33/88 Test #33: readme_examples_noexceptions ......................... Passed 2.32 sec + Start 34: readme_examples_noexceptions11 +34/88 Test #34: readme_examples_noexceptions11 ....................... Passed 2.09 sec + Start 35: readme_examples_will_fail_with_exceptions_off +35/88 Test #35: readme_examples_will_fail_with_exceptions_off ........ Passed 1.47 sec + Start 36: ondemand_tostring_tests +36/88 Test #36: ondemand_tostring_tests .............................. Passed 0.13 sec + Start 37: ondemand_active_tests +37/88 Test #37: ondemand_active_tests ................................ Passed 0.00 sec + Start 38: ondemand_array_tests +38/88 Test #38: ondemand_array_tests ................................. Passed 0.00 sec + Start 39: ondemand_array_error_tests +39/88 Test #39: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 40: ondemand_compilation_tests +40/88 Test #40: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 41: ondemand_error_tests +41/88 Test #41: ondemand_error_tests ................................. Passed 0.00 sec + Start 42: ondemand_json_pointer_tests +42/88 Test #42: ondemand_json_pointer_tests .......................... Passed 0.00 sec + Start 43: ondemand_key_string_tests +43/88 Test #43: ondemand_key_string_tests ............................ Passed 0.00 sec + Start 44: ondemand_misc_tests +44/88 Test #44: ondemand_misc_tests .................................. Passed 0.00 sec + Start 45: ondemand_number_tests +45/88 Test #45: ondemand_number_tests ................................ Passed 0.01 sec + Start 46: ondemand_object_tests +46/88 Test #46: ondemand_object_tests ................................ Passed 0.00 sec + Start 47: ondemand_object_error_tests +47/88 Test #47: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 48: ondemand_ordering_tests +48/88 Test #48: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 49: ondemand_parse_api_tests +49/88 Test #49: ondemand_parse_api_tests ............................. Passed 0.00 sec + Start 50: ondemand_readme_examples +50/88 Test #50: ondemand_readme_examples ............................. Passed 0.00 sec + Start 51: ondemand_scalar_tests +51/88 Test #51: ondemand_scalar_tests ................................ Passed 0.00 sec + Start 52: ondemand_twitter_tests +52/88 Test #52: ondemand_twitter_tests ............................... Passed 0.00 sec + Start 53: ondemand_wrong_type_error_tests +53/88 Test #53: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 54: ondemand_assert_out_of_order_values +54/88 Test #54: ondemand_assert_out_of_order_values .................. Passed 0.00 sec + Start 55: iterate_char_star_should_compile +55/88 Test #55: iterate_char_star_should_compile ..................... Passed 1.60 sec + Start 56: iterate_char_star_should_not_compile +56/88 Test #56: iterate_char_star_should_not_compile ................. Passed 1.51 sec + Start 57: iterate_string_view_should_compile +57/88 Test #57: iterate_string_view_should_compile ................... Passed 1.60 sec + Start 58: iterate_string_view_should_not_compile +58/88 Test #58: iterate_string_view_should_not_compile ............... Passed 1.44 sec + Start 59: iterate_temporary_buffer_should_compile +59/88 Test #59: iterate_temporary_buffer_should_compile .............. Passed 1.60 sec + Start 60: iterate_temporary_buffer_should_not_compile +60/88 Test #60: iterate_temporary_buffer_should_not_compile .......... Passed 1.44 sec + Start 61: example_compiletest_should_compile +61/88 Test #61: example_compiletest_should_compile ................... Passed 0.26 sec + Start 62: example_compiletest_should_not_compile +62/88 Test #62: example_compiletest_should_not_compile ............... Passed 0.18 sec + Start 63: bad_array_count_should_compile +63/88 Test #63: bad_array_count_should_compile ....................... Passed 1.75 sec + Start 64: bad_array_count_should_not_compile +64/88 Test #64: bad_array_count_should_not_compile ................... Passed 1.43 sec + Start 65: dangling_parser_load_should_compile +65/88 Test #65: dangling_parser_load_should_compile .................. Passed 1.86 sec + Start 66: dangling_parser_load_should_not_compile +66/88 Test #66: dangling_parser_load_should_not_compile .............. Passed 1.44 sec + Start 67: dangling_parser_parse_uint8_should_compile +67/88 Test #67: dangling_parser_parse_uint8_should_compile ........... Passed 1.83 sec + Start 68: dangling_parser_parse_uint8_should_not_compile +68/88 Test #68: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.44 sec + Start 69: dangling_parser_parse_uchar_should_compile +69/88 Test #69: dangling_parser_parse_uchar_should_compile ........... Passed 1.85 sec + Start 70: dangling_parser_parse_uchar_should_not_compile +70/88 Test #70: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.43 sec + Start 71: dangling_parser_parse_stdstring_should_compile +71/88 Test #71: dangling_parser_parse_stdstring_should_compile ....... Passed 1.85 sec + Start 72: dangling_parser_parse_stdstring_should_not_compile +72/88 Test #72: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.51 sec + Start 73: dangling_parser_parse_padstring_should_compile +73/88 Test #73: dangling_parser_parse_padstring_should_compile ....... Passed 1.84 sec + Start 74: dangling_parser_parse_padstring_should_not_compile +74/88 Test #74: dangling_parser_parse_padstring_should_not_compile ... Passed 1.44 sec + Start 75: unsafe_parse_many_should_compile +75/88 Test #75: unsafe_parse_many_should_compile ..................... Passed 2.03 sec + Start 76: unsafe_parse_many_should_not_compile +76/88 Test #76: unsafe_parse_many_should_not_compile ................. Passed 1.46 sec + Start 77: quickstart +77/88 Test #77: quickstart ........................................... Passed 5.55 sec + Start 78: quickstart11 +78/88 Test #78: quickstart11 ......................................... Passed 5.53 sec + Start 79: quickstart14 +79/88 Test #79: quickstart14 ......................................... Passed 5.36 sec + Start 80: quickstart_noexceptions +80/88 Test #80: quickstart_noexceptions .............................. Passed 5.48 sec + Start 81: quickstart_noexceptions11 +81/88 Test #81: quickstart_noexceptions11 ............................ Passed 5.11 sec + Start 82: quickstart2_noexceptions +82/88 Test #82: quickstart2_noexceptions ............................. Passed 5.34 sec + Start 83: quickstart2_noexceptions11 +83/88 Test #83: quickstart2_noexceptions11 ........................... Passed 5.02 sec + Start 84: quickstart_ondemand +84/88 Test #84: quickstart_ondemand .................................. Passed 5.60 sec + Start 85: quickstart_ondemand11 +85/88 Test #85: quickstart_ondemand11 ................................ Passed 5.34 sec + Start 86: quickstart_ondemand14 +86/88 Test #86: quickstart_ondemand14 ................................ Passed 5.55 sec + Start 87: quickstart_ondemand_noexceptions +87/88 Test #87: quickstart_ondemand_noexceptions ..................... Passed 5.42 sec + Start 88: quickstart_ondemand_noexceptions11 +88/88 Test #88: quickstart_ondemand_noexceptions11 ................... Passed 5.07 sec + +100% tests passed, 0 tests failed out of 88 + +Label Time Summary: +acceptance = 69.51 sec*proc (59 tests) +assert = 0.00 sec*proc (1 test) +compile = 64.37 sec*proc (12 tests) +dom = 3.96 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 97.16 sec*proc (34 tests) +ondemand = 9.37 sec*proc (25 tests) +other = 0.12 sec*proc (3 tests) +per_implementation = 9.99 sec*proc (41 tests) +quickstart = 64.37 sec*proc (12 tests) +quickstart_ondemand = 26.97 sec*proc (5 tests) +singleheader = 5.05 sec*proc (3 tests) + +Total Test time (real) = 119.49 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/fix.patch new file mode 100644 index 000000000..c751ba12c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/fix.patch @@ -0,0 +1,68 @@ +diff --git a/include/simdjson/generic/ondemand/array.h b/include/simdjson/generic/ondemand/array.h +index 27d06078..6638ed2d 100644 +--- a/include/simdjson/generic/ondemand/array.h ++++ b/include/simdjson/generic/ondemand/array.h +@@ -54,7 +54,8 @@ public: + * auto doc = parser.iterate(json); + * doc.at_pointer("/0/foo/a/1") == 20 + * +- * Note that at_pointer() does not automatically rewind between each call (call rewind() to reset). ++ * Note that at_pointer() does not automatically rewind between each call on ++ * array values (call rewind() on the document to reset). + * Also note that at_pointer() relies on find_field() which implies that we do not unescape keys when matching. + * @return The value associated with the given JSON pointer, or: + * - NO_SUCH_FIELD if a field does not exist in an object +diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h +index fc158694..8d7cb345 100644 +--- a/include/simdjson/generic/ondemand/document-inl.h ++++ b/include/simdjson/generic/ondemand/document-inl.h +@@ -135,6 +135,7 @@ simdjson_really_inline simdjson_result document::raw_json_toke + } + + simdjson_really_inline simdjson_result document::at_pointer(std::string_view json_pointer) noexcept { ++ rewind(); + if (json_pointer.empty()) { + return this->resume_value(); + } +diff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h +index edc26948..6c54bad7 100644 +--- a/include/simdjson/generic/ondemand/document.h ++++ b/include/simdjson/generic/ondemand/document.h +@@ -335,7 +335,8 @@ public: + * auto doc = parser.iterate(json); + * doc.at_pointer("//a/1") == 20 + * +- * Note that at_pointer() does not automatically rewind between each call (call rewind() to reset). ++ * Note that at_pointer() automatically rewinds between each call, which ++ * may be unexpected if you have already begun iterating the document. + * Also note that at_pointer() relies on find_field() which implies that we do not unescape keys when matching + * + * @return The value associated with the given JSON pointer, or: +diff --git a/include/simdjson/generic/ondemand/object.h b/include/simdjson/generic/ondemand/object.h +index 2eb71c97..848529a0 100644 +--- a/include/simdjson/generic/ondemand/object.h ++++ b/include/simdjson/generic/ondemand/object.h +@@ -91,7 +91,8 @@ public: + * auto doc = parser.iterate(json); + * doc.at_pointer("//a/1") == 20 + * +- * Note that at_pointer() does not automatically rewind between each call (call rewind() to reset). ++ * Note that at_pointer() does not automatically rewind between each call on ++ * object values (call rewind() on the document to reset). + * Also note that at_pointer() relies on find_field() which implies that we do not unescape keys when matching. + * + * @return The value associated with the given JSON pointer, or: +diff --git a/include/simdjson/generic/ondemand/value.h b/include/simdjson/generic/ondemand/value.h +index 631c254f..505b2a40 100644 +--- a/include/simdjson/generic/ondemand/value.h ++++ b/include/simdjson/generic/ondemand/value.h +@@ -330,7 +330,8 @@ public: + * auto doc = parser.iterate(json); + * doc.at_pointer("//a/1") == 20 + * +- * Note that at_pointer() does not automatically rewind between each call (call rewind() to reset). ++ * Note that at_pointer() does not automatically rewind between each call on ++ * value instances (call rewind() on the document to reset). + * Also note that at_pointer() relies on find_field() which implies that we do not unescape keys when matching + * + * @return The value associated with the given JSON pointer, or: diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/report.json new file mode 100644 index 000000000..2c8e50625 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1624/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 1624, "valid": true, "error_msg": "", "fixed_tests": {"ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"document_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_assert_out_of_order_values": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 87, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_readme_examples", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 88, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "basictests", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/fix-patch-run.log new file mode 100644 index 000000000..f52162153 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/fix-patch-run.log @@ -0,0 +1,1353 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (6243 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 1s (6788 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3821 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (20.4 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (3292 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.6qrrB0XW +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.6qrrB0XW/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.6qrrB0XW/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.6qrrB0XW/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.6qrrB0XW/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.6qrrB0XW/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.6qrrB0XW +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=f6fff85c4a4b +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.VLv4ORSXnD/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/ondemand/CMakeLists.txt +patching file tests/ondemand/ondemand_number_in_string_tests.cpp +patching file include/simdjson/dom/element-inl.h +patching file include/simdjson/dom/element.h +patching file include/simdjson/generic/ondemand/document-inl.h +patching file include/simdjson/generic/ondemand/document.h +patching file include/simdjson/generic/ondemand/value-inl.h +patching file include/simdjson/generic/ondemand/value.h +patching file include/simdjson/generic/ondemand/value_iterator-inl.h +patching file include/simdjson/generic/ondemand/value_iterator.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@8982e1e) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git Version: v0.2.1-47a62db5-dirty +-- Version: 0.2.1 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.9.1) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@b32cd94) +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@aa33ec5) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 0%] Linking CXX static library libsimdjson.a +[ 0%] Built target simdjson +Scanning dependencies of target cjson +[ 0%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 0%] Linking C static library libcjson.a +[ 0%] Built target cjson +Scanning dependencies of target boostjson +[ 1%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 1%] Linking CXX static library libboostjson.a +[ 1%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 1%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 2%] Linking CXX static library libjsoncpp.a +[ 2%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 3%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 3%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 3%] Linking C static library libujson4c.a +[ 3%] Built target ujson4c +Scanning dependencies of target fastjson +[ 3%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 5%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 5%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 6%] Linking CXX static library libfastjson.a +[ 6%] Built target fastjson +Scanning dependencies of target gason +[ 6%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 7%] Linking CXX static library libgason.a +[ 7%] Built target gason +Scanning dependencies of target yyjson +[ 7%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 9%] Linking C static library libyyjson.a +[ 9%] Built target yyjson +Scanning dependencies of target jsmn +[ 9%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 10%] Linking C static library libjsmn.a +[ 10%] Built target jsmn +Scanning dependencies of target json11 +[ 10%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 10%] Linking CXX static library libjson11.a +[ 10%] Built target json11 +Scanning dependencies of target benchmark +[ 10%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 11%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 11%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 11%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 12%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 12%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 15%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 15%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 19%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 19%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 19%] Linking CXX static library libbenchmark.a +[ 19%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 20%] Linking CXX static library libbenchmark_main.a +[ 20%] Built target benchmark_main +Scanning dependencies of target minify +[ 20%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 22%] Linking CXX executable minify +[ 22%] Built target minify +Scanning dependencies of target jsonpointer +[ 22%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 22%] Linking CXX executable jsonpointer +[ 22%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 23%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 23%] Linking CXX executable jsonstats +[ 23%] Built target jsonstats +Scanning dependencies of target json2json +[ 24%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 24%] Linking CXX executable json2json +[ 24%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 24%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 24%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 24%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 25%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +timestamp is 2021-07-23 11:32:26 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Creating /home/simdjson/build/singleheader/simdjson.cpp +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 170 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 1188 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 533227 Jul 14 01:45 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 1080997 Jul 14 01:45 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +[ 25%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 25%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 27%] Linking CXX executable amalgamate_demo +[ 27%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 27%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 28%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 28%] Linking CXX executable unicode_tests +[ 28%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 28%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 29%] Linking CXX executable checkimplementation +[ 29%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 29%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 31%] Linking CXX executable minify_tests +[ 31%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 31%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 32%] Linking CXX executable padded_string_tests +[ 32%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 32%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 33%] Linking CXX executable pointercheck +[ 33%] Built target pointercheck +Scanning dependencies of target document_tests +[ 33%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 35%] Linking CXX executable document_tests +[ 35%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 35%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 35%] Linking CXX executable numberparsingcheck +[ 35%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 35%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 36%] Linking CXX executable basictests +[ 36%] Built target basictests +Scanning dependencies of target integer_tests +[ 37%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 37%] Linking CXX executable integer_tests +[ 37%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 38%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 38%] Linking CXX executable jsoncheck +[ 38%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 40%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 40%] Linking CXX executable document_stream_tests +[ 40%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 41%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 41%] Linking CXX executable minefieldcheck +[ 41%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 42%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 42%] Linking CXX executable parse_many_test +[ 42%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 42%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 44%] Linking CXX executable random_string_number_tests +[ 44%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 45%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 45%] Linking CXX executable trivially_copyable_test +[ 45%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 46%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 46%] Linking CXX executable extracting_values_example +[ 46%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 46%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 46%] Linking CXX executable stringparsingcheck +[ 46%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 46%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 48%] Linking CXX executable errortests +[ 48%] Built target errortests +Scanning dependencies of target ondemand_object_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 49%] Linking CXX executable ondemand_object_error_tests +[ 49%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 50%] Linking CXX executable ondemand_misc_tests +[ 50%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_number_in_string_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o +In file included from /home/simdjson/tests/ondemand/../cast_tester.h:5, + from /home/simdjson/tests/ondemand/test_ondemand.h:6, + from /home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:2: +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::array_double()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:49:34: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 49 | ASSERT_SUCCESS(value.get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::array_int()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:65:34: error: 'struct simdjson::simdjson_result' has no member named 'get_int64_in_string'; did you mean 'get_int64_from_string'? + 65 | ASSERT_SUCCESS(value.get_int64_in_string().get(i)); + | ^~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::array_unsigned()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:81:34: error: 'struct simdjson::simdjson_result' has no member named 'get_uint64_in_string'; did you mean 'get_uint64_from_string'? + 81 | ASSERT_SUCCESS(value.get_uint64_in_string().get(u)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::object()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:99:44: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 99 | ASSERT_SUCCESS(doc.find_field("a").get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:101:44: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 101 | ASSERT_SUCCESS(doc.find_field("b").get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:104:44: error: 'struct simdjson::simdjson_result' has no member named 'get_int64_in_string'; did you mean 'get_int64_from_string'? + 104 | ASSERT_SUCCESS(doc.find_field("c").get_int64_in_string().get(i)); + | ^~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:106:44: error: 'struct simdjson::simdjson_result' has no member named 'get_int64_in_string'; did you mean 'get_int64_from_string'? + 106 | ASSERT_SUCCESS(doc.find_field("d").get_int64_in_string().get(i)); + | ^~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:109:44: error: 'struct simdjson::simdjson_result' has no member named 'get_uint64_in_string'; did you mean 'get_uint64_from_string'? + 109 | ASSERT_SUCCESS(doc.find_field("e").get_uint64_in_string().get(u)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:111:44: error: 'struct simdjson::simdjson_result' has no member named 'get_uint64_in_string'; did you mean 'get_uint64_from_string'? + 111 | ASSERT_SUCCESS(doc.find_field("f").get_uint64_in_string().get(u)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::docs()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:128:28: error: 'class simdjson::fallback::ondemand::document' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 128 | ASSERT_SUCCESS(doc.get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:132:28: error: 'class simdjson::fallback::ondemand::document' has no member named 'get_int64_in_string'; did you mean 'get_int64_from_string'? + 132 | ASSERT_SUCCESS(doc.get_int64_in_string().get(i)); + | ^~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:136:28: error: 'class simdjson::fallback::ondemand::document' has no member named 'get_uint64_in_string'; did you mean 'get_uint64_from_string'? + 136 | ASSERT_SUCCESS(doc.get_uint64_in_string().get(u)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::number_parsing_error()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:152:32: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 152 | ASSERT_ERROR(value.get_double_in_string().get(d),NUMBER_ERROR); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:108:69: note: in definition of macro 'ASSERT_ERROR' + 108 | #define ASSERT_ERROR(ACTUAL, EXPECTED) do { if (!::assert_error ((ACTUAL), (EXPECTED), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::incorrect_type_error()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:171:32: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 171 | ASSERT_ERROR(value.get_double_in_string().get(d),INCORRECT_TYPE); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:108:69: note: in definition of macro 'ASSERT_ERROR' + 108 | #define ASSERT_ERROR(ACTUAL, EXPECTED) do { if (!::assert_error ((ACTUAL), (EXPECTED), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::json_pointer_test()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:188:45: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 188 | ASSERT_SUCCESS(doc.at_pointer("/0").get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:190:49: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 190 | ASSERT_SUCCESS(doc.at_pointer("/1/a/1").get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:192:49: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 192 | ASSERT_SUCCESS(doc.at_pointer("/1/b/c").get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:194:47: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 194 | ASSERT_SUCCESS(doc.at_pointer("/2/0").get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:196:47: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 196 | ASSERT_SUCCESS(doc.at_pointer("/2/1").get_double_in_string().get(d)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::crypto_timestamp()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:208:56: error: 'struct simdjson::simdjson_result' has no member named 'get_uint64_in_string'; did you mean 'get_uint64_from_string'? + 208 | ASSERT_SUCCESS(doc.at_pointer("/timestampstr").get_uint64_in_string().get(u)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::crypto_market()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:230:54: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 230 | ASSERT_SUCCESS(value.find_field("price").get_double_in_string().get(price)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:232:55: error: 'struct simdjson::simdjson_result' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 232 | ASSERT_SUCCESS(value.find_field("volume").get_double_in_string().get(volume)); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:107:69: note: in definition of macro 'ASSERT_SUCCESS' + 107 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp: In function 'bool number_in_string_tests::crypto_infinity()': +/home/simdjson/tests/ondemand/ondemand_number_in_string_tests.cpp:249:28: error: 'class simdjson::fallback::ondemand::value' has no member named 'get_double_in_string'; did you mean 'get_double_from_string'? + 249 | ASSERT_ERROR(value.get_double_in_string().get(d), INCORRECT_TYPE); + | ^~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:108:69: note: in definition of macro 'ASSERT_ERROR' + 108 | #define ASSERT_ERROR(ACTUAL, EXPECTED) do { if (!::assert_error ((ACTUAL), (EXPECTED), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +gmake[2]: *** [tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/build.make:82: tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:2366: tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/all] Error 2 +gmake: *** [Makefile:182: all] Error 2 +Test project /home/simdjson/build + Start 1: avoid_abort + 1/90 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/90 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/90 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/90 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/90 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/90 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/90 Test #7: amalgamate_demo ...................................... Passed 0.01 sec + Start 8: simdjson-singleheader + 8/90 Test #8: simdjson-singleheader ................................ Passed 5.25 sec + Start 9: amalgamate_demo_direct_from_repository + 9/90 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.01 sec + Start 10: unicode_tests +10/90 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +11/90 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/90 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: checkimplementation +13/90 Test #13: checkimplementation .................................. Passed 0.00 sec + Start 14: random_string_number_tests +14/90 Test #14: random_string_number_tests ........................... Passed 0.99 sec + Start 15: basictests +15/90 Test #15: basictests ........................................... Passed 0.01 sec + Start 16: document_stream_tests +16/90 Test #16: document_stream_tests ................................ Passed 2.96 sec + Start 17: document_tests +17/90 Test #17: document_tests ....................................... Passed 0.16 sec + Start 18: errortests +18/90 Test #18: errortests ........................................... Passed 0.00 sec + Start 19: extracting_values_example +19/90 Test #19: extracting_values_example ............................ Passed 0.00 sec + Start 20: integer_tests +20/90 Test #20: integer_tests ........................................ Passed 0.00 sec + Start 21: jsoncheck +21/90 Test #21: jsoncheck ............................................ Passed 0.00 sec + Start 22: minefieldcheck +22/90 Test #22: minefieldcheck ....................................... Passed 0.01 sec + Start 23: numberparsingcheck +23/90 Test #23: numberparsingcheck ................................... Passed 0.04 sec + Start 24: parse_many_test +24/90 Test #24: parse_many_test ...................................... Passed 0.00 sec + Start 25: pointercheck +25/90 Test #25: pointercheck ......................................... Passed 0.00 sec + Start 26: stringparsingcheck +26/90 Test #26: stringparsingcheck ................................... Passed 0.04 sec + Start 27: trivially_copyable_test +27/90 Test #27: trivially_copyable_test .............................. Passed 0.00 sec + Start 29: json2json +28/90 Test #29: json2json ............................................ Passed 0.01 sec + Start 28: testjson2json +29/90 Test #28: testjson2json ........................................ Passed 0.68 sec + Start 30: simdjson_force_implementation_error +30/90 Test #30: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 31: readme_examples +31/90 Test #31: readme_examples ...................................... Passed 3.37 sec + Start 32: readme_examples11 +32/90 Test #32: readme_examples11 .................................... Passed 3.32 sec + Start 33: readme_examples_noexceptions +33/90 Test #33: readme_examples_noexceptions ......................... Passed 2.37 sec + Start 34: readme_examples_noexceptions11 +34/90 Test #34: readme_examples_noexceptions11 ....................... Passed 2.14 sec + Start 35: readme_examples_will_fail_with_exceptions_off +35/90 Test #35: readme_examples_will_fail_with_exceptions_off ........ Passed 1.52 sec + Start 36: ondemand_tostring_tests +Could not find executable ondemand_tostring_tests +Looked in the following places: +ondemand_tostring_tests +ondemand_tostring_tests +Release/ondemand_tostring_tests +Release/ondemand_tostring_tests +Debug/ondemand_tostring_tests +Unable to find executable: ondemand_tostring_tests +Debug/ondemand_tostring_tests +MinSizeRel/ondemand_tostring_tests +MinSizeRel/ondemand_tostring_tests +RelWithDebInfo/ondemand_tostring_tests +RelWithDebInfo/ondemand_tostring_tests +Deployment/ondemand_tostring_tests +Deployment/ondemand_tostring_tests +Development/ondemand_tostring_tests +Development/ondemand_tostring_tests +36/90 Test #36: ondemand_tostring_tests ..............................***Not Run 0.00 sec + Start 37: ondemand_active_tests +Unable to find executable: ondemand_active_tests +Could not find executable ondemand_active_tests +Looked in the following places: +ondemand_active_tests +ondemand_active_tests +Release/ondemand_active_tests +Release/ondemand_active_tests +Debug/ondemand_active_tests +Debug/ondemand_active_tests +MinSizeRel/ondemand_active_tests +MinSizeRel/ondemand_active_tests +RelWithDebInfo/ondemand_active_tests +RelWithDebInfo/ondemand_active_tests +Deployment/ondemand_active_tests +Deployment/ondemand_active_tests +Development/ondemand_active_tests +Development/ondemand_active_tests +37/90 Test #37: ondemand_active_tests ................................***Not Run 0.00 sec + Start 38: ondemand_array_tests +Unable to find executable: ondemand_array_tests +Could not find executable ondemand_array_tests +Looked in the following places: +ondemand_array_tests +ondemand_array_tests +Release/ondemand_array_tests +Release/ondemand_array_tests +Debug/ondemand_array_tests +Debug/ondemand_array_tests +MinSizeRel/ondemand_array_tests +MinSizeRel/ondemand_array_tests +RelWithDebInfo/ondemand_array_tests +RelWithDebInfo/ondemand_array_tests +Deployment/ondemand_array_tests +Deployment/ondemand_array_tests +Development/ondemand_array_tests +Development/ondemand_array_tests +38/90 Test #38: ondemand_array_tests .................................***Not Run 0.00 sec + Start 39: ondemand_array_error_tests +Could not find executable ondemand_array_error_tests +Looked in the following places: +ondemand_array_error_tests +ondemand_array_error_tests +Release/ondemand_array_error_tests +Release/ondemand_array_error_tests +Debug/ondemand_array_error_tests +Debug/ondemand_array_error_tests +MinSizeRel/ondemand_array_error_tests +MinSizeRel/ondemand_array_error_tests +RelWithDebInfo/ondemand_array_error_tests +RelWithDebInfo/ondemand_array_error_tests +Deployment/ondemand_array_error_tests +Deployment/ondemand_array_error_tests +Development/ondemand_array_error_tests +Development/ondemand_array_error_tests +Unable to find executable: ondemand_array_error_tests +39/90 Test #39: ondemand_array_error_tests ...........................***Not Run 0.00 sec + Start 40: ondemand_compilation_tests +Could not find executable ondemand_compilation_tests +Looked in the following places: +ondemand_compilation_tests +ondemand_compilation_tests +Release/ondemand_compilation_tests +Release/ondemand_compilation_tests +Debug/ondemand_compilation_tests +Debug/ondemand_compilation_tests +MinSizeRel/ondemand_compilation_tests +MinSizeRel/ondemand_compilation_tests +RelWithDebInfo/ondemand_compilation_tests +RelWithDebInfo/ondemand_compilation_tests +Deployment/ondemand_compilation_tests +Unable to find executable: ondemand_compilation_tests +Deployment/ondemand_compilation_tests +Development/ondemand_compilation_tests +Development/ondemand_compilation_tests +40/90 Test #40: ondemand_compilation_tests ...........................***Not Run 0.00 sec + Start 41: ondemand_document_stream_tests +Could not find executable ondemand_document_stream_tests +Looked in the following places: +ondemand_document_stream_tests +ondemand_document_stream_tests +Release/ondemand_document_stream_tests +Release/ondemand_document_stream_tests +Debug/ondemand_document_stream_tests +Debug/ondemand_document_stream_tests +MinSizeRel/ondemand_document_stream_tests +MinSizeRel/ondemand_document_stream_tests +RelWithDebInfo/ondemand_document_stream_tests +RelWithDebInfo/ondemand_document_stream_tests +Deployment/ondemand_document_stream_tests +Deployment/ondemand_document_stream_tests +Development/ondemand_document_stream_tests +Development/ondemand_document_stream_tests +Unable to find executable: ondemand_document_stream_tests +41/90 Test #41: ondemand_document_stream_tests .......................***Not Run 0.00 sec + Start 42: ondemand_error_tests +Could not find executable ondemand_error_tests +Looked in the following places: +ondemand_error_tests +ondemand_error_tests +Release/ondemand_error_tests +Release/ondemand_error_tests +Unable to find executable: ondemand_error_tests +Debug/ondemand_error_tests +Debug/ondemand_error_tests +MinSizeRel/ondemand_error_tests +MinSizeRel/ondemand_error_tests +RelWithDebInfo/ondemand_error_tests +RelWithDebInfo/ondemand_error_tests +Deployment/ondemand_error_tests +Deployment/ondemand_error_tests +Development/ondemand_error_tests +Development/ondemand_error_tests +42/90 Test #42: ondemand_error_tests .................................***Not Run 0.00 sec + Start 43: ondemand_json_pointer_tests +Unable to find executable: ondemand_json_pointer_tests +Could not find executable ondemand_json_pointer_tests +Looked in the following places: +ondemand_json_pointer_tests +ondemand_json_pointer_tests +Release/ondemand_json_pointer_tests +Release/ondemand_json_pointer_tests +Debug/ondemand_json_pointer_tests +Debug/ondemand_json_pointer_tests +MinSizeRel/ondemand_json_pointer_tests +MinSizeRel/ondemand_json_pointer_tests +RelWithDebInfo/ondemand_json_pointer_tests +RelWithDebInfo/ondemand_json_pointer_tests +Deployment/ondemand_json_pointer_tests +Deployment/ondemand_json_pointer_tests +Development/ondemand_json_pointer_tests +Development/ondemand_json_pointer_tests +43/90 Test #43: ondemand_json_pointer_tests ..........................***Not Run 0.00 sec + Start 44: ondemand_key_string_tests +Could not find executable ondemand_key_string_tests +Looked in the following places: +ondemand_key_string_tests +ondemand_key_string_tests +Release/ondemand_key_string_tests +Release/ondemand_key_string_tests +Debug/ondemand_key_string_tests +Debug/ondemand_key_string_tests +MinSizeRel/ondemand_key_string_tests +MinSizeRel/ondemand_key_string_tests +RelWithDebInfo/ondemand_key_string_tests +RelWithDebInfo/ondemand_key_string_tests +Deployment/ondemand_key_string_tests +Deployment/ondemand_key_string_tests +Development/ondemand_key_string_tests +Unable to find executable: ondemand_key_string_tests +Development/ondemand_key_string_tests +44/90 Test #44: ondemand_key_string_tests ............................***Not Run 0.00 sec + Start 45: ondemand_misc_tests +45/90 Test #45: ondemand_misc_tests .................................. Passed 0.00 sec + Start 46: ondemand_number_tests +Could not find executable ondemand_number_tests +Looked in the following places: +ondemand_number_tests +ondemand_number_tests +Release/ondemand_number_tests +Release/ondemand_number_tests +Debug/ondemand_number_tests +Debug/ondemand_number_tests +MinSizeRel/ondemand_number_tests +MinSizeRel/ondemand_number_tests +RelWithDebInfo/ondemand_number_tests +RelWithDebInfo/ondemand_number_tests +Deployment/ondemand_number_tests +Deployment/ondemand_number_tests +Development/ondemand_number_tests +Development/ondemand_number_tests +46/90 Test #46: ondemand_number_tests ................................***Not Run 0.00 sec +Unable to find executable: ondemand_number_tests +Unable to find executable: ondemand_number_in_string_tests + Start 47: ondemand_number_in_string_tests +Could not find executable ondemand_number_in_string_tests +Looked in the following places: +ondemand_number_in_string_tests +ondemand_number_in_string_tests +Release/ondemand_number_in_string_tests +Release/ondemand_number_in_string_tests +Debug/ondemand_number_in_string_tests +Debug/ondemand_number_in_string_tests +MinSizeRel/ondemand_number_in_string_tests +MinSizeRel/ondemand_number_in_string_tests +RelWithDebInfo/ondemand_number_in_string_tests +RelWithDebInfo/ondemand_number_in_string_tests +Deployment/ondemand_number_in_string_tests +Deployment/ondemand_number_in_string_tests +Development/ondemand_number_in_string_tests +Development/ondemand_number_in_string_tests +47/90 Test #47: ondemand_number_in_string_tests ......................***Not Run 0.00 sec + Start 48: ondemand_object_tests +Unable to find executable: ondemand_object_tests +Could not find executable ondemand_object_tests +Looked in the following places: +ondemand_object_tests +ondemand_object_tests +Release/ondemand_object_tests +Release/ondemand_object_tests +Debug/ondemand_object_tests +Debug/ondemand_object_tests +MinSizeRel/ondemand_object_tests +MinSizeRel/ondemand_object_tests +RelWithDebInfo/ondemand_object_tests +RelWithDebInfo/ondemand_object_tests +Deployment/ondemand_object_tests +Deployment/ondemand_object_tests +Development/ondemand_object_tests +Development/ondemand_object_tests +48/90 Test #48: ondemand_object_tests ................................***Not Run 0.00 sec + Start 49: ondemand_object_error_tests +49/90 Test #49: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 50: ondemand_ordering_tests +Could not find executable ondemand_ordering_tests +Looked in the following places: +ondemand_ordering_tests +ondemand_ordering_tests +Release/ondemand_ordering_tests +Release/ondemand_ordering_tests +Debug/ondemand_ordering_tests +Debug/ondemand_ordering_tests +MinSizeRel/ondemand_ordering_tests +MinSizeRel/ondemand_ordering_tests +RelWithDebInfo/ondemand_ordering_tests +RelWithDebInfo/ondemand_ordering_tests +Deployment/ondemand_ordering_tests +Deployment/ondemand_ordering_tests +Development/ondemand_ordering_tests +Development/ondemand_ordering_tests +Unable to find executable: ondemand_ordering_tests +50/90 Test #50: ondemand_ordering_tests ..............................***Not Run 0.00 sec + Start 51: ondemand_parse_api_tests +Unable to find executable: ondemand_parse_api_tests +Could not find executable ondemand_parse_api_tests +Looked in the following places: +ondemand_parse_api_tests +ondemand_parse_api_tests +Release/ondemand_parse_api_tests +Release/ondemand_parse_api_tests +Debug/ondemand_parse_api_tests +Debug/ondemand_parse_api_tests +MinSizeRel/ondemand_parse_api_tests +MinSizeRel/ondemand_parse_api_tests +RelWithDebInfo/ondemand_parse_api_tests +RelWithDebInfo/ondemand_parse_api_tests +Deployment/ondemand_parse_api_tests +Deployment/ondemand_parse_api_tests +Development/ondemand_parse_api_tests +Development/ondemand_parse_api_tests +51/90 Test #51: ondemand_parse_api_tests .............................***Not Run 0.00 sec + Start 52: ondemand_readme_examples +Could not find executable ondemand_readme_examples +Looked in the following places: +ondemand_readme_examples +ondemand_readme_examples +Release/ondemand_readme_examples +Release/ondemand_readme_examples +Debug/ondemand_readme_examples +Debug/ondemand_readme_examples +MinSizeRel/ondemand_readme_examples +MinSizeRel/ondemand_readme_examples +RelWithDebInfo/ondemand_readme_examples +RelWithDebInfo/ondemand_readme_examples +Deployment/ondemand_readme_examples +Deployment/ondemand_readme_examples +Development/ondemand_readme_examples +Development/ondemand_readme_examples +Unable to find executable: ondemand_readme_examples +52/90 Test #52: ondemand_readme_examples .............................***Not Run 0.00 sec + Start 53: ondemand_scalar_tests +Unable to find executable: ondemand_scalar_tests +Could not find executable ondemand_scalar_tests +Looked in the following places: +ondemand_scalar_tests +ondemand_scalar_tests +Release/ondemand_scalar_tests +Release/ondemand_scalar_tests +Debug/ondemand_scalar_tests +Debug/ondemand_scalar_tests +MinSizeRel/ondemand_scalar_tests +MinSizeRel/ondemand_scalar_tests +RelWithDebInfo/ondemand_scalar_tests +RelWithDebInfo/ondemand_scalar_tests +Deployment/ondemand_scalar_tests +Deployment/ondemand_scalar_tests +Development/ondemand_scalar_tests +Development/ondemand_scalar_tests +53/90 Test #53: ondemand_scalar_tests ................................***Not Run 0.00 sec + Start 54: ondemand_twitter_tests +Could not find executable ondemand_twitter_tests +Looked in the following places: +Unable to find executable: ondemand_twitter_tests +ondemand_twitter_tests +ondemand_twitter_tests +Release/ondemand_twitter_tests +Release/ondemand_twitter_tests +Debug/ondemand_twitter_tests +Debug/ondemand_twitter_tests +MinSizeRel/ondemand_twitter_tests +MinSizeRel/ondemand_twitter_tests +RelWithDebInfo/ondemand_twitter_tests +RelWithDebInfo/ondemand_twitter_tests +Deployment/ondemand_twitter_tests +Deployment/ondemand_twitter_tests +Development/ondemand_twitter_tests +Development/ondemand_twitter_tests +54/90 Test #54: ondemand_twitter_tests ...............................***Not Run 0.00 sec + Start 55: ondemand_wrong_type_error_tests +Unable to find executable: ondemand_wrong_type_error_tests +Could not find executable ondemand_wrong_type_error_tests +Looked in the following places: +ondemand_wrong_type_error_tests +ondemand_wrong_type_error_tests +Release/ondemand_wrong_type_error_tests +Release/ondemand_wrong_type_error_tests +Debug/ondemand_wrong_type_error_tests +Debug/ondemand_wrong_type_error_tests +MinSizeRel/ondemand_wrong_type_error_tests +MinSizeRel/ondemand_wrong_type_error_tests +RelWithDebInfo/ondemand_wrong_type_error_tests +RelWithDebInfo/ondemand_wrong_type_error_tests +Deployment/ondemand_wrong_type_error_tests +Deployment/ondemand_wrong_type_error_tests +Development/ondemand_wrong_type_error_tests +Development/ondemand_wrong_type_error_tests +55/90 Test #55: ondemand_wrong_type_error_tests ......................***Not Run 0.00 sec + Start 56: ondemand_assert_out_of_order_values +Unable to find executable: ondemand_assert_out_of_order_values +Could not find executable ondemand_assert_out_of_order_values +Looked in the following places: +ondemand_assert_out_of_order_values +ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +56/90 Test #56: ondemand_assert_out_of_order_values ..................***Not Run 0.00 sec + Start 57: iterate_char_star_should_compile +57/90 Test #57: iterate_char_star_should_compile ..................... Passed 1.62 sec + Start 58: iterate_char_star_should_not_compile +58/90 Test #58: iterate_char_star_should_not_compile ................. Passed 1.53 sec + Start 59: iterate_string_view_should_compile +59/90 Test #59: iterate_string_view_should_compile ................... Passed 1.63 sec + Start 60: iterate_string_view_should_not_compile +60/90 Test #60: iterate_string_view_should_not_compile ............... Passed 1.47 sec + Start 61: iterate_temporary_buffer_should_compile +61/90 Test #61: iterate_temporary_buffer_should_compile .............. Passed 1.65 sec + Start 62: iterate_temporary_buffer_should_not_compile +62/90 Test #62: iterate_temporary_buffer_should_not_compile .......... Passed 1.46 sec + Start 63: example_compiletest_should_compile +63/90 Test #63: example_compiletest_should_compile ................... Passed 0.26 sec + Start 64: example_compiletest_should_not_compile +64/90 Test #64: example_compiletest_should_not_compile ............... Passed 0.18 sec + Start 65: bad_array_count_should_compile +65/90 Test #65: bad_array_count_should_compile ....................... Passed 1.80 sec + Start 66: bad_array_count_should_not_compile +66/90 Test #66: bad_array_count_should_not_compile ................... Passed 1.49 sec + Start 67: dangling_parser_load_should_compile +67/90 Test #67: dangling_parser_load_should_compile .................. Passed 2.13 sec + Start 68: dangling_parser_load_should_not_compile +68/90 Test #68: dangling_parser_load_should_not_compile .............. Passed 1.52 sec + Start 69: dangling_parser_parse_uint8_should_compile +69/90 Test #69: dangling_parser_parse_uint8_should_compile ........... Passed 1.93 sec + Start 70: dangling_parser_parse_uint8_should_not_compile +70/90 Test #70: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.51 sec + Start 71: dangling_parser_parse_uchar_should_compile +71/90 Test #71: dangling_parser_parse_uchar_should_compile ........... Passed 1.93 sec + Start 72: dangling_parser_parse_uchar_should_not_compile +72/90 Test #72: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.57 sec + Start 73: dangling_parser_parse_stdstring_should_compile +73/90 Test #73: dangling_parser_parse_stdstring_should_compile ....... Passed 1.92 sec + Start 74: dangling_parser_parse_stdstring_should_not_compile +74/90 Test #74: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.49 sec + Start 75: dangling_parser_parse_padstring_should_compile +75/90 Test #75: dangling_parser_parse_padstring_should_compile ....... Passed 1.92 sec + Start 76: dangling_parser_parse_padstring_should_not_compile +76/90 Test #76: dangling_parser_parse_padstring_should_not_compile ... Passed 1.48 sec + Start 77: unsafe_parse_many_should_compile +77/90 Test #77: unsafe_parse_many_should_compile ..................... Passed 2.11 sec + Start 78: unsafe_parse_many_should_not_compile +78/90 Test #78: unsafe_parse_many_should_not_compile ................. Passed 1.50 sec + Start 79: quickstart +79/90 Test #79: quickstart ........................................... Passed 5.60 sec + Start 80: quickstart11 +80/90 Test #80: quickstart11 ......................................... Passed 5.35 sec + Start 81: quickstart14 +81/90 Test #81: quickstart14 ......................................... Passed 5.35 sec + Start 82: quickstart_noexceptions +82/90 Test #82: quickstart_noexceptions .............................. Passed 5.44 sec + Start 83: quickstart_noexceptions11 +83/90 Test #83: quickstart_noexceptions11 ............................ Passed 5.12 sec + Start 84: quickstart2_noexceptions +84/90 Test #84: quickstart2_noexceptions ............................. Passed 5.37 sec + Start 85: quickstart2_noexceptions11 +85/90 Test #85: quickstart2_noexceptions11 ........................... Passed 5.09 sec + Start 86: quickstart_ondemand +86/90 Test #86: quickstart_ondemand .................................. Passed 5.63 sec + Start 87: quickstart_ondemand11 +87/90 Test #87: quickstart_ondemand11 ................................ Passed 5.45 sec + Start 88: quickstart_ondemand14 +88/90 Test #88: quickstart_ondemand14 ................................ Passed 5.48 sec + Start 89: quickstart_ondemand_noexceptions +89/90 Test #89: quickstart_ondemand_noexceptions ..................... Passed 5.48 sec + Start 90: quickstart_ondemand_noexceptions11 +90/90 Test #90: quickstart_ondemand_noexceptions11 ................... Passed 5.18 sec + +79% tests passed, 19 tests failed out of 90 + +Label Time Summary: +acceptance = 70.60 sec*proc (61 tests) +assert = 0.00 sec*proc (1 test) +compile = 64.54 sec*proc (12 tests) +dom = 4.26 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 98.63 sec*proc (34 tests) +ondemand = 9.36 sec*proc (27 tests) +other = 0.12 sec*proc (3 tests) +per_implementation = 10.32 sec*proc (43 tests) +quickstart = 64.54 sec*proc (12 tests) +quickstart_ondemand = 27.22 sec*proc (5 tests) +singleheader = 5.26 sec*proc (3 tests) + +Total Test time (real) = 121.72 sec + +The following tests FAILED: + 36 - ondemand_tostring_tests (Not Run) + 37 - ondemand_active_tests (Not Run) + 38 - ondemand_array_tests (Not Run) + 39 - ondemand_array_error_tests (Not Run) + 40 - ondemand_compilation_tests (Not Run) + 41 - ondemand_document_stream_tests (Not Run) + 42 - ondemand_error_tests (Not Run) + 43 - ondemand_json_pointer_tests (Not Run) + 44 - ondemand_key_string_tests (Not Run) + 46 - ondemand_number_tests (Not Run) + 47 - ondemand_number_in_string_tests (Not Run) + 48 - ondemand_object_tests (Not Run) + 50 - ondemand_ordering_tests (Not Run) + 51 - ondemand_parse_api_tests (Not Run) + 52 - ondemand_readme_examples (Not Run) + 53 - ondemand_scalar_tests (Not Run) + 54 - ondemand_twitter_tests (Not Run) + 55 - ondemand_wrong_type_error_tests (Not Run) + 56 - ondemand_assert_out_of_order_values (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/fix.patch new file mode 100644 index 000000000..b0ab99b47 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/fix.patch @@ -0,0 +1,521 @@ +diff --git a/include/simdjson/dom/element-inl.h b/include/simdjson/dom/element-inl.h +index ef48891f..b56c3b3e 100644 +--- a/include/simdjson/dom/element-inl.h ++++ b/include/simdjson/dom/element-inl.h +@@ -70,6 +70,18 @@ simdjson_really_inline simdjson_result simdjson_result::ge + if (error()) { return error(); } + return first.get_double(); + } ++simdjson_really_inline simdjson_result simdjson_result::get_double_from_string() const noexcept { ++ if (error()) { return error(); } ++ return first.get_double_from_string(); ++} ++simdjson_really_inline simdjson_result simdjson_result::get_uint64_from_string() const noexcept { ++ if (error()) { return error(); } ++ return first.get_uint64_from_string(); ++} ++simdjson_really_inline simdjson_result simdjson_result::get_int64_from_string() const noexcept { ++ if (error()) { return error(); } ++ return first.get_int64_from_string(); ++} + simdjson_really_inline simdjson_result simdjson_result::get_bool() const noexcept { + if (error()) { return error(); } + return first.get_bool(); +@@ -272,6 +284,112 @@ inline simdjson_result element::get_double() const noexcept { + // this is common: + return tape.next_tape_value(); + } ++inline simdjson_result element::get_double_from_string() const noexcept { ++ if(simdjson_unlikely(!tape.is_double())) { ++ if(tape.is_uint64()) { ++ return double(tape.next_tape_value()); ++ } else if(tape.is_int64()) { ++ return double(tape.next_tape_value()); ++ } else if(tape.tape_ref_type() == internal::tape_type::STRING) { ++ std::string_view str = tape.get_string_view(); ++ // Validate the string is a valid number representation ++ const char *p = str.data(); ++ const char *end = p + str.length(); ++ if (*p == '-') { p++; } ++ if (p == end || *p < '0' || *p > '9') { return INCORRECT_TYPE; } ++ bool leading_zero = (*p == '0'); ++ while (p != end && *p >= '0' && *p <= '9') { p++; } ++ if (leading_zero && p - str.data() - (str[0] == '-' ? 1 : 0) > 1) { return NUMBER_ERROR; } ++ if (p != end && *p == '.') { ++ p++; ++ if (p == end || *p < '0' || *p > '9') { return NUMBER_ERROR; } ++ while (p != end && *p >= '0' && *p <= '9') { p++; } ++ } ++ if (p != end && (*p == 'e' || *p == 'E')) { ++ p++; ++ if (p != end && (*p == '+' || *p == '-')) { p++; } ++ if (p == end || *p < '0' || *p > '9') { return NUMBER_ERROR; } ++ while (p != end && *p >= '0' && *p <= '9') { p++; } ++ } ++ if (p != end) { return INCORRECT_TYPE; } ++ double d = simdjson::internal::from_chars(str.data(), str.data() + str.length()); ++ if(d > (std::numeric_limits::max)() || d < std::numeric_limits::lowest()) { ++ return NUMBER_ERROR; ++ } ++ return d; ++ } ++ return INCORRECT_TYPE; ++ } ++ return tape.next_tape_value(); ++} ++inline simdjson_result element::get_uint64_from_string() const noexcept { ++ if(simdjson_unlikely(!tape.is_uint64())) { ++ if(tape.is_int64()) { ++ int64_t result = tape.next_tape_value(); ++ if (result < 0) { ++ return NUMBER_OUT_OF_RANGE; ++ } ++ return uint64_t(result); ++ } else if(tape.tape_ref_type() == internal::tape_type::STRING) { ++ std::string_view str = tape.get_string_view(); ++ // Parse the string as a uint64_t ++ const uint8_t *src = reinterpret_cast(str.data()); ++ const uint8_t *const src_end = src + str.length(); ++ const uint8_t *p = src; ++ const uint8_t *const start_digits = p; ++ uint64_t i = 0; ++ while ((p != src_end) && (*p >= '0') && (*p <= '9')) { ++ i = 10 * i + (*p - '0'); ++ p++; ++ } ++ size_t digit_count = size_t(p - start_digits); ++ if ((digit_count == 0) || (digit_count > 20)) { return INCORRECT_TYPE; } ++ if (('0' == *start_digits) && (digit_count > 1)) { return NUMBER_ERROR; } ++ if (p != src_end) { return INCORRECT_TYPE; } ++ if (digit_count == 20) { ++ if (src[0] != uint8_t('1') || i <= uint64_t(INT64_MAX)) { return NUMBER_OUT_OF_RANGE; } ++ } ++ return i; ++ } ++ return INCORRECT_TYPE; ++ } ++ return tape.next_tape_value(); ++} ++inline simdjson_result element::get_int64_from_string() const noexcept { ++ if(simdjson_unlikely(!tape.is_int64())) { ++ if(tape.is_uint64()) { ++ uint64_t result = tape.next_tape_value(); ++ if (result > uint64_t((std::numeric_limits::max)())) { ++ return NUMBER_OUT_OF_RANGE; ++ } ++ return static_cast(result); ++ } else if(tape.tape_ref_type() == internal::tape_type::STRING) { ++ std::string_view str = tape.get_string_view(); ++ const uint8_t *src = reinterpret_cast(str.data()); ++ const uint8_t *const src_end = src + str.length(); ++ bool negative = (*src == '-'); ++ if (negative) { src++; } ++ const uint8_t *start_digits = src; ++ uint64_t i = 0; ++ while ((src != src_end) && (*src >= '0') && (*src <= '9')) { ++ i = 10 * i + (*src - '0'); ++ src++; ++ } ++ size_t digit_count = size_t(src - start_digits); ++ if ((digit_count == 0) || (digit_count > 19)) { return INCORRECT_TYPE; } ++ if (('0' == *start_digits) && (digit_count > 1)) { return NUMBER_ERROR; } ++ if (src != src_end) { return INCORRECT_TYPE; } ++ if (negative) { ++ if (i > uint64_t(INT64_MAX) + 1) { return NUMBER_OUT_OF_RANGE; } ++ return -static_cast(i); ++ } ++ if (i > uint64_t(INT64_MAX)) { return NUMBER_OUT_OF_RANGE; } ++ return static_cast(i); ++ } ++ return INCORRECT_TYPE; ++ } ++ return tape.next_tape_value(); ++} + inline simdjson_result element::get_array() const noexcept { + switch (tape.tape_ref_type()) { + case internal::tape_type::START_ARRAY: +diff --git a/include/simdjson/dom/element.h b/include/simdjson/dom/element.h +index 186fb1f7..6cdc07a1 100644 +--- a/include/simdjson/dom/element.h ++++ b/include/simdjson/dom/element.h +@@ -104,6 +104,15 @@ public: + * if it is negative. + */ + inline simdjson_result get_int64() const noexcept; ++ /** ++ * Cast this element (which must be a string) to a signed integer. ++ * ++ * The string must contain a valid signed integer (e.g., "-42", "100"). ++ * ++ * @returns A signed 64-bit integer parsed from the string content. ++ * Returns INCORRECT_TYPE if the JSON element is not a string, or the string is not a valid integer. ++ */ ++ inline simdjson_result get_int64_from_string() const noexcept; + /** + * Cast this element to an unsigned integer. + * +@@ -112,6 +121,15 @@ public: + * if it is too large. + */ + inline simdjson_result get_uint64() const noexcept; ++ /** ++ * Cast this element (which must be a string) to an unsigned integer. ++ * ++ * The string must contain a valid unsigned integer (e.g., "42"). ++ * ++ * @returns An unsigned 64-bit integer parsed from the string content. ++ * Returns INCORRECT_TYPE if the JSON element is not a string, or the string is not a valid unsigned integer. ++ */ ++ inline simdjson_result get_uint64_from_string() const noexcept; + /** + * Cast this element to a double floating-point. + * +@@ -119,6 +137,15 @@ public: + * Returns INCORRECT_TYPE if the JSON element is not a number. + */ + inline simdjson_result get_double() const noexcept; ++ /** ++ * Cast this element (which must be a string) to a double floating-point. ++ * ++ * The string must contain a valid floating-point number (e.g., "1.5", "-3.14e2"). ++ * ++ * @returns A double value parsed from the string content. ++ * Returns INCORRECT_TYPE if the JSON element is not a string, or the string is not a valid number. ++ */ ++ inline simdjson_result get_double_from_string() const noexcept; + /** + * Cast this element to a bool. + * +@@ -501,6 +528,9 @@ public: + simdjson_really_inline simdjson_result get_int64() const noexcept; + simdjson_really_inline simdjson_result get_uint64() const noexcept; + simdjson_really_inline simdjson_result get_double() const noexcept; ++ simdjson_really_inline simdjson_result get_int64_from_string() const noexcept; ++ simdjson_really_inline simdjson_result get_uint64_from_string() const noexcept; ++ simdjson_really_inline simdjson_result get_double_from_string() const noexcept; + simdjson_really_inline simdjson_result get_bool() const noexcept; + + simdjson_really_inline bool is_array() const noexcept; +diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h +index 045411d5..710c0294 100644 +--- a/include/simdjson/generic/ondemand/document-inl.h ++++ b/include/simdjson/generic/ondemand/document-inl.h +@@ -70,6 +70,15 @@ simdjson_really_inline simdjson_result document::get_int64() noexcept { + simdjson_really_inline simdjson_result document::get_double() noexcept { + return get_root_value_iterator().get_root_double(); + } ++simdjson_really_inline simdjson_result document::get_double_from_string() noexcept { ++ return get_root_value_iterator().get_root_double_from_string(); ++} ++simdjson_really_inline simdjson_result document::get_uint64_from_string() noexcept { ++ return get_root_value_iterator().get_root_uint64_from_string(); ++} ++simdjson_really_inline simdjson_result document::get_int64_from_string() noexcept { ++ return get_root_value_iterator().get_root_int64_from_string(); ++} + simdjson_really_inline simdjson_result document::get_string() noexcept { + return get_root_value_iterator().get_root_string(); + } +@@ -274,6 +283,18 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::get_uint64_from_string() noexcept { ++ if (error()) { return error(); } ++ return first.get_uint64_from_string(); ++} ++simdjson_really_inline simdjson_result simdjson_result::get_int64_from_string() noexcept { ++ if (error()) { return error(); } ++ return first.get_int64_from_string(); ++} ++simdjson_really_inline simdjson_result simdjson_result::get_double_from_string() noexcept { ++ if (error()) { return error(); } ++ return first.get_double_from_string(); ++} + simdjson_really_inline simdjson_result simdjson_result::get_string() noexcept { + if (error()) { return error(); } + return first.get_string(); +diff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h +index 2d65fc9c..d3252577 100644 +--- a/include/simdjson/generic/ondemand/document.h ++++ b/include/simdjson/generic/ondemand/document.h +@@ -53,6 +53,15 @@ public: + * @returns INCORRECT_TYPE If the JSON value is not a 64-bit unsigned integer. + */ + simdjson_really_inline simdjson_result get_uint64() noexcept; ++ /** ++ * Cast this JSON string to an unsigned integer. ++ * ++ * The string must contain a valid unsigned integer (e.g., "42"). ++ * ++ * @returns A uint64_t parsed from the string content. ++ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid unsigned integer. ++ */ ++ simdjson_really_inline simdjson_result get_uint64_from_string() noexcept; + /** + * Cast this JSON value to a signed integer. + * +@@ -60,6 +69,15 @@ public: + * @returns INCORRECT_TYPE If the JSON value is not a 64-bit integer. + */ + simdjson_really_inline simdjson_result get_int64() noexcept; ++ /** ++ * Cast this JSON string to a signed integer. ++ * ++ * The string must contain a valid signed integer (e.g., "-42", "100"). ++ * ++ * @returns An int64_t parsed from the string content. ++ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid integer. ++ */ ++ simdjson_really_inline simdjson_result get_int64_from_string() noexcept; + /** + * Cast this JSON value to a double. + * +@@ -67,6 +85,15 @@ public: + * @returns INCORRECT_TYPE If the JSON value is not a valid floating-point number. + */ + simdjson_really_inline simdjson_result get_double() noexcept; ++ /** ++ * Cast this JSON string to a double. ++ * ++ * The string must contain a valid floating-point number (e.g., "1.5", "-3.14e2"). ++ * ++ * @returns A double parsed from the string content. ++ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid number. ++ */ ++ simdjson_really_inline simdjson_result get_double_from_string() noexcept; + /** + * Cast this JSON value to a string. + * +@@ -408,6 +435,9 @@ public: + simdjson_really_inline simdjson_result get_uint64() noexcept; + simdjson_really_inline simdjson_result get_int64() noexcept; + simdjson_really_inline simdjson_result get_double() noexcept; ++ simdjson_really_inline simdjson_result get_uint64_from_string() noexcept; ++ simdjson_really_inline simdjson_result get_int64_from_string() noexcept; ++ simdjson_really_inline simdjson_result get_double_from_string() noexcept; + simdjson_really_inline simdjson_result get_string() noexcept; + simdjson_really_inline simdjson_result get_raw_json_string() noexcept; + simdjson_really_inline simdjson_result get_bool() noexcept; +diff --git a/include/simdjson/generic/ondemand/value-inl.h b/include/simdjson/generic/ondemand/value-inl.h +index 5b6e4fbc..ef2135ab 100644 +--- a/include/simdjson/generic/ondemand/value-inl.h ++++ b/include/simdjson/generic/ondemand/value-inl.h +@@ -36,6 +36,15 @@ simdjson_really_inline simdjson_result value::get_string() noe + simdjson_really_inline simdjson_result value::get_double() noexcept { + return iter.get_double(); + } ++simdjson_really_inline simdjson_result value::get_uint64_from_string() noexcept { ++ return iter.get_uint64_from_string(); ++} ++simdjson_really_inline simdjson_result value::get_int64_from_string() noexcept { ++ return iter.get_int64_from_string(); ++} ++simdjson_really_inline simdjson_result value::get_double_from_string() noexcept { ++ return iter.get_double_from_string(); ++} + simdjson_really_inline simdjson_result value::get_uint64() noexcept { + return iter.get_uint64(); + } +@@ -229,6 +238,18 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::get_uint64_from_string() noexcept { ++ if (error()) { return error(); } ++ return first.get_uint64_from_string(); ++} ++simdjson_really_inline simdjson_result simdjson_result::get_int64_from_string() noexcept { ++ if (error()) { return error(); } ++ return first.get_int64_from_string(); ++} ++simdjson_really_inline simdjson_result simdjson_result::get_double_from_string() noexcept { ++ if (error()) { return error(); } ++ return first.get_double_from_string(); ++} + simdjson_really_inline simdjson_result simdjson_result::get_string() noexcept { + if (error()) { return error(); } + return first.get_string(); +diff --git a/include/simdjson/generic/ondemand/value.h b/include/simdjson/generic/ondemand/value.h +index 65de6bc6..7db3fdcc 100644 +--- a/include/simdjson/generic/ondemand/value.h ++++ b/include/simdjson/generic/ondemand/value.h +@@ -74,6 +74,16 @@ public: + */ + simdjson_really_inline simdjson_result get_uint64() noexcept; + ++ /** ++ * Cast this JSON string to an unsigned integer. ++ * ++ * The string must contain a valid unsigned integer (e.g., "42"). ++ * ++ * @returns A uint64_t parsed from the string content. ++ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid unsigned integer. ++ */ ++ simdjson_really_inline simdjson_result get_uint64_from_string() noexcept; ++ + /** + * Cast this JSON value to a signed integer. + * +@@ -82,6 +92,16 @@ public: + */ + simdjson_really_inline simdjson_result get_int64() noexcept; + ++ /** ++ * Cast this JSON string to a signed integer. ++ * ++ * The string must contain a valid signed integer (e.g., "-42", "100"). ++ * ++ * @returns An int64_t parsed from the string content. ++ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid integer. ++ */ ++ simdjson_really_inline simdjson_result get_int64_from_string() noexcept; ++ + /** + * Cast this JSON value to a double. + * +@@ -90,6 +110,16 @@ public: + */ + simdjson_really_inline simdjson_result get_double() noexcept; + ++ /** ++ * Cast this JSON string to a double. ++ * ++ * The string must contain a valid floating-point number (e.g., "1.5", "-3.14e2"). ++ * ++ * @returns A double parsed from the string content. ++ * @returns INCORRECT_TYPE If the JSON value is not a string, or the string is not a valid number. ++ */ ++ simdjson_really_inline simdjson_result get_double_from_string() noexcept; ++ + /** + * Cast this JSON value to a string. + * +@@ -418,6 +448,9 @@ public: + simdjson_really_inline simdjson_result get_uint64() noexcept; + simdjson_really_inline simdjson_result get_int64() noexcept; + simdjson_really_inline simdjson_result get_double() noexcept; ++ simdjson_really_inline simdjson_result get_uint64_from_string() noexcept; ++ simdjson_really_inline simdjson_result get_int64_from_string() noexcept; ++ simdjson_really_inline simdjson_result get_double_from_string() noexcept; + simdjson_really_inline simdjson_result get_string() noexcept; + simdjson_really_inline simdjson_result get_raw_json_string() noexcept; + simdjson_really_inline simdjson_result get_bool() noexcept; +diff --git a/include/simdjson/generic/ondemand/value_iterator-inl.h b/include/simdjson/generic/ondemand/value_iterator-inl.h +index 258e75cf..f7b1494b 100644 +--- a/include/simdjson/generic/ondemand/value_iterator-inl.h ++++ b/include/simdjson/generic/ondemand/value_iterator-inl.h +@@ -473,6 +473,43 @@ simdjson_really_inline bool value_iterator::is_null() noexcept { + return result; + } + ++simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_double_from_string() noexcept { ++ std::string_view str; ++ auto err = get_string().get(str); ++ if (err) { return err; } ++#ifdef SIMDJSON_SKIPNUMBERPARSING ++ return 0; ++#else ++ const uint8_t *src = reinterpret_cast(str.data()); ++ const uint8_t *const src_end = src + str.length(); ++ return numberparsing::parse_double(src, src_end); ++#endif ++} ++simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_uint64_from_string() noexcept { ++ std::string_view str; ++ auto err = get_string().get(str); ++ if (err) { return err; } ++#ifdef SIMDJSON_SKIPNUMBERPARSING ++ return 0; ++#else ++ const uint8_t *src = reinterpret_cast(str.data()); ++ const uint8_t *const src_end = src + str.length(); ++ return numberparsing::parse_unsigned(src, src_end); ++#endif ++} ++simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_int64_from_string() noexcept { ++ std::string_view str; ++ auto err = get_string().get(str); ++ if (err) { return err; } ++#ifdef SIMDJSON_SKIPNUMBERPARSING ++ return 0; ++#else ++ const uint8_t *src = reinterpret_cast(str.data()); ++ const uint8_t *const src_end = src + str.length(); ++ return numberparsing::parse_integer(src, src_end); ++#endif ++} ++ + constexpr const uint32_t MAX_INT_LENGTH = 1024; + + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_string() noexcept { +@@ -538,6 +575,43 @@ simdjson_really_inline bool value_iterator::is_root_null() noexcept { + return result; + } + ++simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_double_from_string() noexcept { ++ std::string_view str; ++ auto err = get_root_string().get(str); ++ if (err) { return err; } ++#ifdef SIMDJSON_SKIPNUMBERPARSING ++ return 0; ++#else ++ const uint8_t *src = reinterpret_cast(str.data()); ++ const uint8_t *const src_end = src + str.length(); ++ return numberparsing::parse_double(src, src_end); ++#endif ++} ++simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_uint64_from_string() noexcept { ++ std::string_view str; ++ auto err = get_root_string().get(str); ++ if (err) { return err; } ++#ifdef SIMDJSON_SKIPNUMBERPARSING ++ return 0; ++#else ++ const uint8_t *src = reinterpret_cast(str.data()); ++ const uint8_t *const src_end = src + str.length(); ++ return numberparsing::parse_unsigned(src, src_end); ++#endif ++} ++simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_int64_from_string() noexcept { ++ std::string_view str; ++ auto err = get_root_string().get(str); ++ if (err) { return err; } ++#ifdef SIMDJSON_SKIPNUMBERPARSING ++ return 0; ++#else ++ const uint8_t *src = reinterpret_cast(str.data()); ++ const uint8_t *const src_end = src + str.length(); ++ return numberparsing::parse_integer(src, src_end); ++#endif ++} ++ + simdjson_warn_unused simdjson_really_inline error_code value_iterator::skip_child() noexcept { + SIMDJSON_ASSUME( _json_iter->token._position > _start_position ); + SIMDJSON_ASSUME( _json_iter->_depth >= _depth ); +diff --git a/include/simdjson/generic/ondemand/value_iterator.h b/include/simdjson/generic/ondemand/value_iterator.h +index e742198a..59f12d26 100644 +--- a/include/simdjson/generic/ondemand/value_iterator.h ++++ b/include/simdjson/generic/ondemand/value_iterator.h +@@ -288,6 +288,10 @@ public: + simdjson_warn_unused simdjson_really_inline simdjson_result get_bool() noexcept; + simdjson_really_inline bool is_null() noexcept; + ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_uint64_from_string() noexcept; ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_int64_from_string() noexcept; ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_double_from_string() noexcept; ++ + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_string() noexcept; + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_raw_json_string() noexcept; + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_uint64() noexcept; +@@ -296,6 +300,10 @@ public: + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_bool() noexcept; + simdjson_really_inline bool is_root_null() noexcept; + ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_root_uint64_from_string() noexcept; ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_root_int64_from_string() noexcept; ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_root_double_from_string() noexcept; ++ + simdjson_really_inline error_code error() const noexcept; + simdjson_really_inline uint8_t *&string_buf_loc() noexcept; + simdjson_really_inline const json_iterator &json_iter() const noexcept; diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/report.json new file mode 100644 index 000000000..64082f77f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1667/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 1667, "valid": true, "error_msg": "", "fixed_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 89, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 71, "failed_count": 0, "skipped_count": 0, "passed_tests": ["document_tests", "quickstart_noexceptions", "quickstart11", "dangling_parser_parse_stdstring_should_compile", "pointercheck", "avoid_printf", "iterate_temporary_buffer_should_not_compile", "iterate_char_star_should_not_compile", "avoid_stderr", "random_string_number_tests", "iterate_char_star_should_compile", "trivially_copyable_test", "quickstart14", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "readme_examples", "quickstart_ondemand_noexceptions11", "avoid_cerr", "quickstart_noexceptions11", "bad_array_count_should_compile", "unicode_tests", "dangling_parser_parse_uchar_should_compile", "iterate_temporary_buffer_should_compile", "quickstart2_noexceptions", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "ondemand_object_error_tests", "readme_examples11", "amalgamate_demo_direct_from_repository", "example_compiletest_should_compile", "ondemand_misc_tests", "quickstart_ondemand14", "minify_tests", "unsafe_parse_many_should_not_compile", "checkimplementation", "numberparsingcheck", "avoid_cout", "extracting_values_example", "integer_tests", "stringparsingcheck", "avoid_abort", "bad_array_count_should_not_compile", "quickstart_ondemand", "jsoncheck", "quickstart", "dangling_parser_parse_padstring_should_not_compile", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "avoid_stdout", "readme_examples_noexceptions", "basictests", "minefieldcheck", "iterate_string_view_should_compile", "quickstart_ondemand11", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "example_compiletest_should_not_compile", "quickstart_ondemand_noexceptions", "readme_examples_noexceptions11", "errortests", "json2json", "simdjson_force_implementation_error", "dangling_parser_parse_padstring_should_compile", "amalgamate_demo", "simdjson-singleheader", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile", "padded_string_tests", "iterate_string_view_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/fix-patch-run.log new file mode 100644 index 000000000..13103ccb6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/fix-patch-run.log @@ -0,0 +1,1164 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (5890 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (8021 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3465 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (22.7 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (3725 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.LDKop4B7 +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.LDKop4B7/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.LDKop4B7/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.LDKop4B7/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.LDKop4B7/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.LDKop4B7/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.LDKop4B7 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d0774f15594a +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.Xq1MNKgzW6/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/ondemand/CMakeLists.txt +patching file tests/ondemand/ondemand_error_location_tests.cpp +patching file tests/ondemand/ondemand_readme_examples.cpp +patching file include/simdjson/generic/ondemand/document-inl.h +patching file include/simdjson/generic/ondemand/document.h +patching file include/simdjson/generic/ondemand/json_iterator-inl.h +patching file include/simdjson/generic/ondemand/json_iterator.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@8982e1e) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git Version: v0.2.1-35158257-dirty +-- Version: 0.2.1 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.9.1) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@b32cd94) +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@aa33ec5) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 0%] Linking CXX static library libsimdjson.a +[ 0%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 1%] Linking C static library libcjson.a +[ 1%] Built target cjson +Scanning dependencies of target boostjson +[ 1%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 2%] Linking CXX static library libboostjson.a +[ 2%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 4%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 4%] Linking CXX static library libjsoncpp.a +[ 4%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 5%] Linking C static library libujson4c.a +[ 5%] Built target ujson4c +Scanning dependencies of target fastjson +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 8%] Linking CXX static library libfastjson.a +[ 8%] Built target fastjson +Scanning dependencies of target gason +[ 9%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 9%] Linking CXX static library libgason.a +[ 9%] Built target gason +Scanning dependencies of target yyjson +[ 9%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 10%] Linking C static library libyyjson.a +[ 10%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 12%] Linking C static library libjsmn.a +[ 12%] Built target jsmn +Scanning dependencies of target json11 +[ 12%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 13%] Linking CXX static library libjson11.a +[ 13%] Built target json11 +Scanning dependencies of target benchmark +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 22%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 22%] Linking CXX static library libbenchmark.a +[ 22%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 22%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 24%] Linking CXX static library libbenchmark_main.a +[ 24%] Built target benchmark_main +Scanning dependencies of target minify +[ 25%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 25%] Linking CXX executable minify +[ 25%] Built target minify +Scanning dependencies of target jsonpointer +[ 25%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 26%] Linking CXX executable jsonpointer +[ 26%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 26%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 26%] Linking CXX executable jsonstats +[ 26%] Built target jsonstats +Scanning dependencies of target json2json +[ 26%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 26%] Linking CXX executable json2json +[ 26%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 26%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 26%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 26%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 26%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +timestamp is 2021-08-27 10:26:01 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Creating /home/simdjson/build/singleheader/simdjson.cpp +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 170 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 2549 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 533474 Jul 14 01:42 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 1169385 Jul 14 01:42 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +[ 26%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 26%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 28%] Linking CXX executable amalgamate_demo +[ 28%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 28%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 29%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 29%] Linking CXX executable unicode_tests +[ 29%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 29%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 29%] Linking CXX executable checkimplementation +[ 29%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 29%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 30%] Linking CXX executable minify_tests +[ 30%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 32%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 32%] Linking CXX executable padded_string_tests +[ 32%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 33%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 33%] Linking CXX executable pointercheck +[ 33%] Built target pointercheck +Scanning dependencies of target document_tests +[ 34%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 34%] Linking CXX executable document_tests +[ 34%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 34%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 34%] Linking CXX executable numberparsingcheck +[ 34%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 34%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 36%] Linking CXX executable basictests +[ 36%] Built target basictests +Scanning dependencies of target integer_tests +[ 36%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 37%] Linking CXX executable integer_tests +[ 37%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 38%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 38%] Linking CXX executable jsoncheck +[ 38%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 38%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 38%] Linking CXX executable document_stream_tests +[ 38%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 40%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 40%] Linking CXX executable minefieldcheck +[ 40%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 40%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 41%] Linking CXX executable parse_many_test +[ 41%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 42%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 42%] Linking CXX executable random_string_number_tests +[ 42%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 42%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 42%] Linking CXX executable trivially_copyable_test +[ 42%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 42%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 42%] Linking CXX executable extracting_values_example +[ 42%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 42%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 44%] Linking CXX executable stringparsingcheck +[ 44%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 45%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 45%] Linking CXX executable errortests +[ 45%] Built target errortests +Scanning dependencies of target ondemand_object_error_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 46%] Linking CXX executable ondemand_object_error_tests +[ 46%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 48%] Linking CXX executable ondemand_misc_tests +[ 48%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 48%] Linking CXX executable ondemand_wrong_type_error_tests +[ 48%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 49%] Linking CXX executable ondemand_error_tests +[ 49%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 49%] Linking CXX executable ondemand_compilation_tests +[ 49%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_array_error_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 50%] Linking CXX executable ondemand_array_error_tests +[ 50%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_key_string_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +[ 52%] Linking CXX executable ondemand_key_string_tests +[ 52%] Built target ondemand_key_string_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 52%] Linking CXX executable ondemand_json_pointer_tests +[ 52%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_array_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 53%] Linking CXX executable ondemand_array_tests +[ 53%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_active_tests +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 54%] Linking CXX executable ondemand_active_tests +[ 54%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_document_stream_tests +[ 56%] Building CXX object tests/ondemand/CMakeFiles/ondemand_document_stream_tests.dir/ondemand_document_stream_tests.cpp.o +[ 56%] Linking CXX executable ondemand_document_stream_tests +[ 56%] Built target ondemand_document_stream_tests +Scanning dependencies of target ondemand_object_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 57%] Linking CXX executable ondemand_object_tests +[ 57%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_tostring_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 58%] Linking CXX executable ondemand_tostring_tests +[ 58%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_number_in_string_tests +[ 58%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o +[ 60%] Linking CXX executable ondemand_number_in_string_tests +[ 60%] Built target ondemand_number_in_string_tests +Scanning dependencies of target ondemand_ordering_tests +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 61%] Linking CXX executable ondemand_ordering_tests +[ 61%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_error_location_tests +[ 61%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/ondemand_error_location_tests.cpp.o +In file included from /home/simdjson/tests/ondemand/../cast_tester.h:5, + from /home/simdjson/tests/ondemand/test_ondemand.h:7, + from /home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:2: +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::array()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:21:51: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 21 | ASSERT_SUCCESS(doc.current_location().get(c)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:28:46: error: 'OUT_OF_BOUNDS' was not declared in this scope + 28 | ASSERT_ERROR(doc.current_location(), OUT_OF_BOUNDS); + | ^~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:117:79: note: in definition of macro 'ASSERT_ERROR' + 117 | #define ASSERT_ERROR(ACTUAL, EXPECTED) do { if (!::assert_error ((ACTUAL), (EXPECTED), #ACTUAL)) { return false; } } while (0); + | ^~~~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::object()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:45:51: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 45 | ASSERT_SUCCESS(doc.current_location().get(c)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:52:46: error: 'OUT_OF_BOUNDS' was not declared in this scope + 52 | ASSERT_ERROR(doc.current_location(), OUT_OF_BOUNDS); + | ^~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:117:79: note: in definition of macro 'ASSERT_ERROR' + 117 | #define ASSERT_ERROR(ACTUAL, EXPECTED) do { if (!::assert_error ((ACTUAL), (EXPECTED), #ACTUAL)) { return false; } } while (0); + | ^~~~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::json_pointer()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:66:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 66 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:71:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 71 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::json_pointer_with_errors()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:85:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 85 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:89:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 89 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::broken_json1()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:102:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 102 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::broken_json2()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:117:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 117 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::broken_json3()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:138:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 138 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::broken_json4()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:151:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 151 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::incomplete_json()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:166:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 166 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::boolean_error()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:181:46: error: 'OUT_OF_BOUNDS' was not declared in this scope + 181 | ASSERT_ERROR(doc.current_location(), OUT_OF_BOUNDS); + | ^~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:117:79: note: in definition of macro 'ASSERT_ERROR' + 117 | #define ASSERT_ERROR(ACTUAL, EXPECTED) do { if (!::assert_error ((ACTUAL), (EXPECTED), #ACTUAL)) { return false; } } while (0); + | ^~~~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::no_such_field()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:192:46: error: 'OUT_OF_BOUNDS' was not declared in this scope + 192 | ASSERT_ERROR(doc.current_location(), OUT_OF_BOUNDS); + | ^~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:117:79: note: in definition of macro 'ASSERT_ERROR' + 117 | #define ASSERT_ERROR(ACTUAL, EXPECTED) do { if (!::assert_error ((ACTUAL), (EXPECTED), #ACTUAL)) { return false; } } while (0); + | ^~~~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::object_with_no_such_field()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:206:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 206 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:209:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 209 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp: In function 'bool error_location_tests::number_parsing_error()': +/home/simdjson/tests/ondemand/ondemand_error_location_tests.cpp:223:47: error: request for member 'get' in 'doc.simdjson::fallback::ondemand::document::current_location()', which is of non-class type 'const uint8_t*' {aka 'const unsigned char*'} + 223 | ASSERT_SUCCESS(doc.current_location().get(ptr)); + | ^~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +gmake[2]: *** [tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/build.make:82: tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/ondemand_error_location_tests.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:2811: tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/all] Error 2 +gmake: *** [Makefile:182: all] Error 2 +Test project /home/simdjson/build + Start 1: avoid_abort + 1/93 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/93 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/93 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/93 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/93 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/93 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/93 Test #7: amalgamate_demo ...................................... Passed 0.00 sec + Start 8: simdjson-singleheader + 8/93 Test #8: simdjson-singleheader ................................ Passed 5.30 sec + Start 9: amalgamate_demo_direct_from_repository + 9/93 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 10: unicode_tests +10/93 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +11/93 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/93 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: checkimplementation +13/93 Test #13: checkimplementation .................................. Passed 0.00 sec + Start 14: random_string_number_tests +14/93 Test #14: random_string_number_tests ........................... Passed 1.00 sec + Start 15: basictests +15/93 Test #15: basictests ........................................... Passed 0.01 sec + Start 16: document_stream_tests +16/93 Test #16: document_stream_tests ................................ Passed 0.24 sec + Start 17: document_tests +17/93 Test #17: document_tests ....................................... Passed 0.00 sec + Start 18: errortests +18/93 Test #18: errortests ........................................... Passed 0.00 sec + Start 19: extracting_values_example +19/93 Test #19: extracting_values_example ............................ Passed 0.00 sec + Start 20: integer_tests +20/93 Test #20: integer_tests ........................................ Passed 0.00 sec + Start 21: jsoncheck +21/93 Test #21: jsoncheck ............................................ Passed 0.00 sec + Start 22: minefieldcheck +22/93 Test #22: minefieldcheck ....................................... Passed 0.01 sec + Start 23: numberparsingcheck +23/93 Test #23: numberparsingcheck ................................... Passed 0.04 sec + Start 24: parse_many_test +24/93 Test #24: parse_many_test ...................................... Passed 0.01 sec + Start 25: pointercheck +25/93 Test #25: pointercheck ......................................... Passed 0.00 sec + Start 26: stringparsingcheck +26/93 Test #26: stringparsingcheck ................................... Passed 0.04 sec + Start 27: trivially_copyable_test +27/93 Test #27: trivially_copyable_test .............................. Passed 0.00 sec + Start 29: json2json +28/93 Test #29: json2json ............................................ Passed 0.01 sec + Start 28: testjson2json +29/93 Test #28: testjson2json ........................................ Passed 0.70 sec + Start 30: simdjson_force_implementation_error +30/93 Test #30: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 31: readme_examples +31/93 Test #31: readme_examples ...................................... Passed 3.47 sec + Start 32: readme_examples11 +32/93 Test #32: readme_examples11 .................................... Passed 3.36 sec + Start 33: readme_examples_noexceptions +33/93 Test #33: readme_examples_noexceptions ......................... Passed 2.50 sec + Start 34: readme_examples_noexceptions11 +34/93 Test #34: readme_examples_noexceptions11 ....................... Passed 2.22 sec + Start 35: readme_examples_will_fail_with_exceptions_off +35/93 Test #35: readme_examples_will_fail_with_exceptions_off ........ Passed 1.62 sec + Start 36: ondemand_tostring_tests +36/93 Test #36: ondemand_tostring_tests .............................. Passed 0.01 sec + Start 37: ondemand_active_tests +37/93 Test #37: ondemand_active_tests ................................ Passed 0.00 sec + Start 38: ondemand_array_tests +38/93 Test #38: ondemand_array_tests ................................. Passed 0.00 sec + Start 39: ondemand_array_error_tests +39/93 Test #39: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 40: ondemand_compilation_tests +40/93 Test #40: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 41: ondemand_document_stream_tests +41/93 Test #41: ondemand_document_stream_tests ....................... Passed 0.03 sec + Start 42: ondemand_error_tests +42/93 Test #42: ondemand_error_tests ................................. Passed 0.00 sec + Start 43: ondemand_error_location_tests +Unable to find executable: ondemand_error_location_tests +Could not find executable ondemand_error_location_tests +Looked in the following places: +ondemand_error_location_tests +ondemand_error_location_tests +Release/ondemand_error_location_tests +Release/ondemand_error_location_tests +Debug/ondemand_error_location_tests +Debug/ondemand_error_location_tests +MinSizeRel/ondemand_error_location_tests +MinSizeRel/ondemand_error_location_tests +RelWithDebInfo/ondemand_error_location_tests +RelWithDebInfo/ondemand_error_location_tests +Deployment/ondemand_error_location_tests +Deployment/ondemand_error_location_tests +Development/ondemand_error_location_tests +Development/ondemand_error_location_tests +43/93 Test #43: ondemand_error_location_tests ........................***Not Run 0.00 sec + Start 44: ondemand_json_pointer_tests +44/93 Test #44: ondemand_json_pointer_tests .......................... Passed 0.00 sec + Start 45: ondemand_key_string_tests +45/93 Test #45: ondemand_key_string_tests ............................ Passed 0.00 sec + Start 46: ondemand_misc_tests +46/93 Test #46: ondemand_misc_tests .................................. Passed 0.00 sec + Start 47: ondemand_number_tests +Could not find executable ondemand_number_tests +Looked in the following places: +ondemand_number_tests +ondemand_number_tests +Release/ondemand_number_tests +Release/ondemand_number_tests +Debug/ondemand_number_tests +Debug/ondemand_number_tests +MinSizeRel/ondemand_number_tests +MinSizeRel/ondemand_number_tests +RelWithDebInfo/ondemand_number_tests +RelWithDebInfo/ondemand_number_tests +Deployment/ondemand_number_tests +Deployment/ondemand_number_tests +Development/ondemand_number_tests +Development/ondemand_number_tests +47/93 Test #47: ondemand_number_tests ................................***Not Run 0.00 sec +Unable to find executable: ondemand_number_tests + Start 48: ondemand_number_in_string_tests +48/93 Test #48: ondemand_number_in_string_tests ...................... Passed 0.00 sec + Start 49: ondemand_object_tests +49/93 Test #49: ondemand_object_tests ................................ Passed 0.00 sec + Start 50: ondemand_object_error_tests +50/93 Test #50: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 51: ondemand_ordering_tests +51/93 Test #51: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 52: ondemand_parse_api_tests +Could not find executable ondemand_parse_api_tests +Looked in the following places: +ondemand_parse_api_tests +ondemand_parse_api_tests +Release/ondemand_parse_api_tests +Unable to find executable: ondemand_parse_api_tests +Release/ondemand_parse_api_tests +Debug/ondemand_parse_api_tests +Debug/ondemand_parse_api_tests +MinSizeRel/ondemand_parse_api_tests +MinSizeRel/ondemand_parse_api_tests +RelWithDebInfo/ondemand_parse_api_tests +RelWithDebInfo/ondemand_parse_api_tests +Deployment/ondemand_parse_api_tests +Deployment/ondemand_parse_api_tests +Development/ondemand_parse_api_tests +Development/ondemand_parse_api_tests +52/93 Test #52: ondemand_parse_api_tests .............................***Not Run 0.00 sec + Start 53: ondemand_readme_examples +Could not find executable ondemand_readme_examples +Looked in the following places: +ondemand_readme_examples +ondemand_readme_examples +Release/ondemand_readme_examples +Release/ondemand_readme_examples +Debug/ondemand_readme_examples +Debug/ondemand_readme_examples +MinSizeRel/ondemand_readme_examples +MinSizeRel/ondemand_readme_examples +RelWithDebInfo/ondemand_readme_examples +RelWithDebInfo/ondemand_readme_examples +Deployment/ondemand_readme_examples +Deployment/ondemand_readme_examples +Development/ondemand_readme_examples +Development/ondemand_readme_examples +53/93 Test #53: ondemand_readme_examples .............................***Not Run 0.00 sec +Unable to find executable: ondemand_readme_examples + Start 54: ondemand_scalar_tests +Unable to find executable: ondemand_scalar_tests +Could not find executable ondemand_scalar_tests +Looked in the following places: +ondemand_scalar_tests +ondemand_scalar_tests +Release/ondemand_scalar_tests +Release/ondemand_scalar_tests +Debug/ondemand_scalar_tests +Debug/ondemand_scalar_tests +MinSizeRel/ondemand_scalar_tests +MinSizeRel/ondemand_scalar_tests +RelWithDebInfo/ondemand_scalar_tests +RelWithDebInfo/ondemand_scalar_tests +Deployment/ondemand_scalar_tests +Deployment/ondemand_scalar_tests +Development/ondemand_scalar_tests +Development/ondemand_scalar_tests +54/93 Test #54: ondemand_scalar_tests ................................***Not Run 0.00 sec + Start 55: ondemand_twitter_tests +Could not find executable ondemand_twitter_tests +Looked in the following places: +ondemand_twitter_tests +ondemand_twitter_tests +Release/ondemand_twitter_tests +Release/ondemand_twitter_tests +Debug/ondemand_twitter_tests +Debug/ondemand_twitter_tests +MinSizeRel/ondemand_twitter_tests +MinSizeRel/ondemand_twitter_tests +RelWithDebInfo/ondemand_twitter_tests +RelWithDebInfo/ondemand_twitter_tests +Deployment/ondemand_twitter_tests +Deployment/ondemand_twitter_tests +Development/ondemand_twitter_tests +Development/ondemand_twitter_tests +55/93 Test #55: ondemand_twitter_tests ...............................***Not Run 0.00 sec + Start 56: ondemand_wrong_type_error_tests +Unable to find executable: ondemand_twitter_tests +56/93 Test #56: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 57: ondemand_assert_out_of_order_values +Could not find executable ondemand_assert_out_of_order_values +Looked in the following places: +ondemand_assert_out_of_order_values +ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +57/93 Test #57: ondemand_assert_out_of_order_values ..................***Not Run 0.00 sec +Unable to find executable: ondemand_assert_out_of_order_values + Start 58: iterate_char_star_should_compile +58/93 Test #58: iterate_char_star_should_compile ..................... Passed 1.71 sec + Start 59: iterate_char_star_should_not_compile +59/93 Test #59: iterate_char_star_should_not_compile ................. Passed 1.60 sec + Start 60: iterate_string_view_should_compile +60/93 Test #60: iterate_string_view_should_compile ................... Passed 1.74 sec + Start 61: iterate_string_view_should_not_compile +61/93 Test #61: iterate_string_view_should_not_compile ............... Passed 1.53 sec + Start 62: iterate_temporary_buffer_should_compile +62/93 Test #62: iterate_temporary_buffer_should_compile .............. Passed 1.71 sec + Start 63: iterate_temporary_buffer_should_not_compile +63/93 Test #63: iterate_temporary_buffer_should_not_compile .......... Passed 1.51 sec + Start 64: first_second_access_should_compile +64/93 Test #64: first_second_access_should_compile ................... Passed 1.98 sec + Start 65: first_second_access_should_not_compile +65/93 Test #65: first_second_access_should_not_compile ............... Passed 1.54 sec + Start 66: example_compiletest_should_compile +66/93 Test #66: example_compiletest_should_compile ................... Passed 0.27 sec + Start 67: example_compiletest_should_not_compile +67/93 Test #67: example_compiletest_should_not_compile ............... Passed 0.18 sec + Start 68: bad_array_count_should_compile +68/93 Test #68: bad_array_count_should_compile ....................... Passed 1.90 sec + Start 69: bad_array_count_should_not_compile +69/93 Test #69: bad_array_count_should_not_compile ................... Passed 1.51 sec + Start 70: dangling_parser_load_should_compile +70/93 Test #70: dangling_parser_load_should_compile .................. Passed 1.97 sec + Start 71: dangling_parser_load_should_not_compile +71/93 Test #71: dangling_parser_load_should_not_compile .............. Passed 1.55 sec + Start 72: dangling_parser_parse_uint8_should_compile +72/93 Test #72: dangling_parser_parse_uint8_should_compile ........... Passed 1.97 sec + Start 73: dangling_parser_parse_uint8_should_not_compile +73/93 Test #73: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.53 sec + Start 74: dangling_parser_parse_uchar_should_compile +74/93 Test #74: dangling_parser_parse_uchar_should_compile ........... Passed 1.93 sec + Start 75: dangling_parser_parse_uchar_should_not_compile +75/93 Test #75: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.50 sec + Start 76: dangling_parser_parse_stdstring_should_compile +76/93 Test #76: dangling_parser_parse_stdstring_should_compile ....... Passed 1.95 sec + Start 77: dangling_parser_parse_stdstring_should_not_compile +77/93 Test #77: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.52 sec + Start 78: dangling_parser_parse_padstring_should_compile +78/93 Test #78: dangling_parser_parse_padstring_should_compile ....... Passed 1.92 sec + Start 79: dangling_parser_parse_padstring_should_not_compile +79/93 Test #79: dangling_parser_parse_padstring_should_not_compile ... Passed 1.55 sec + Start 80: unsafe_parse_many_should_compile +80/93 Test #80: unsafe_parse_many_should_compile ..................... Passed 2.12 sec + Start 81: unsafe_parse_many_should_not_compile +81/93 Test #81: unsafe_parse_many_should_not_compile ................. Passed 1.67 sec + Start 82: quickstart +82/93 Test #82: quickstart ........................................... Passed 5.70 sec + Start 83: quickstart11 +83/93 Test #83: quickstart11 ......................................... Passed 5.61 sec + Start 84: quickstart14 +84/93 Test #84: quickstart14 ......................................... Passed 5.51 sec + Start 85: quickstart_noexceptions +85/93 Test #85: quickstart_noexceptions .............................. Passed 5.51 sec + Start 86: quickstart_noexceptions11 +86/93 Test #86: quickstart_noexceptions11 ............................ Passed 5.22 sec + Start 87: quickstart2_noexceptions +87/93 Test #87: quickstart2_noexceptions ............................. Passed 5.47 sec + Start 88: quickstart2_noexceptions11 +88/93 Test #88: quickstart2_noexceptions11 ........................... Passed 5.17 sec + Start 89: quickstart_ondemand +89/93 Test #89: quickstart_ondemand .................................. Passed 5.69 sec + Start 90: quickstart_ondemand11 +90/93 Test #90: quickstart_ondemand11 ................................ Passed 5.57 sec + Start 91: quickstart_ondemand14 +91/93 Test #91: quickstart_ondemand14 ................................ Passed 5.42 sec + Start 92: quickstart_ondemand_noexceptions +92/93 Test #92: quickstart_ondemand_noexceptions ..................... Passed 5.53 sec + Start 93: quickstart_ondemand_noexceptions11 +93/93 Test #93: quickstart_ondemand_noexceptions11 ................... Passed 5.26 sec + +92% tests passed, 7 tests failed out of 93 + +Label Time Summary: +acceptance = 71.02 sec*proc (63 tests) +assert = 0.00 sec*proc (1 test) +compile = 65.67 sec*proc (12 tests) +dom = 1.40 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 104.01 sec*proc (36 tests) +ondemand = 13.40 sec*proc (30 tests) +other = 0.11 sec*proc (3 tests) +per_implementation = 7.61 sec*proc (44 tests) +quickstart = 65.67 sec*proc (12 tests) +quickstart_ondemand = 27.48 sec*proc (5 tests) +singleheader = 5.31 sec*proc (3 tests) + +Total Test time (real) = 124.84 sec + +The following tests FAILED: + 43 - ondemand_error_location_tests (Not Run) + 47 - ondemand_number_tests (Not Run) + 52 - ondemand_parse_api_tests (Not Run) + 53 - ondemand_readme_examples (Not Run) + 54 - ondemand_scalar_tests (Not Run) + 55 - ondemand_twitter_tests (Not Run) + 57 - ondemand_assert_out_of_order_values (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/fix.patch new file mode 100644 index 000000000..7fd7dc178 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/fix.patch @@ -0,0 +1,135 @@ +diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h +index 794a59ff..980cfc79 100644 +--- a/include/simdjson/generic/ondemand/document-inl.h ++++ b/include/simdjson/generic/ondemand/document-inl.h +@@ -22,6 +22,10 @@ inline std::string document::to_debug_string() noexcept { + inline bool document::is_alive() noexcept { + return iter.is_alive(); + } ++inline const uint8_t *document::current_location() const noexcept { ++ if(!iter.is_alive()) { return nullptr; } ++ return iter.current_location(); ++} + simdjson_really_inline value_iterator document::resume_value_iterator() noexcept { + return value_iterator(&iter, 1, iter.root_position()); + } +@@ -447,6 +451,11 @@ simdjson_really_inline simdjson_result + return first.at_pointer(json_pointer); + } + ++simdjson_really_inline simdjson_result simdjson_result::current_location() const noexcept { ++ if (error()) { return error(); } ++ return first.current_location(); ++} ++ + + } // namespace simdjson + +@@ -497,6 +506,7 @@ simdjson_really_inline simdjson_result document_reference::is_integer() no + simdjson_really_inline simdjson_result document_reference::get_number() noexcept { return doc->get_number(); } + simdjson_really_inline simdjson_result document_reference::raw_json_token() noexcept { return doc->raw_json_token(); } + simdjson_really_inline simdjson_result document_reference::at_pointer(std::string_view json_pointer) noexcept { return doc->at_pointer(json_pointer); } ++simdjson_really_inline const uint8_t *document_reference::current_location() const noexcept { return doc->current_location(); } + simdjson_really_inline simdjson_result document_reference::raw_json() noexcept { return doc->raw_json();} + simdjson_really_inline document_reference::operator document&() const noexcept { return *doc; } + +@@ -664,5 +674,10 @@ simdjson_really_inline simdjson_result + return first.at_pointer(json_pointer); + } + ++simdjson_really_inline simdjson_result simdjson_result::current_location() const noexcept { ++ if (error()) { return error(); } ++ return first.current_location(); ++} ++ + + } // namespace simdjson +\ No newline at end of file +diff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h +index 4c4b7d7f..7c3effcd 100644 +--- a/include/simdjson/generic/ondemand/document.h ++++ b/include/simdjson/generic/ondemand/document.h +@@ -426,6 +426,21 @@ public: + */ + inline bool is_alive() noexcept; + ++ /** ++ * Get a pointer to the current location in the JSON input buffer. ++ * ++ * This can be useful for identifying the location of an error when using the On Demand API. ++ * The pointer points into the original JSON buffer; it is not null-terminated. ++ * ++ * You may be pointing outside of the input buffer: it is not generally ++ * safe to dereference this pointer. Always check that the pointer is ++ * within bounds before dereferencing. ++ * ++ * @returns A pointer to the current position in the JSON buffer, or nullptr ++ * if the document is not alive (e.g., after an unrecoverable error). ++ */ ++ inline const uint8_t *current_location() const noexcept; ++ + /** + * Get the value associated with the given JSON pointer. We use the RFC 6901 + * https://tools.ietf.org/html/rfc6901 standard. +@@ -547,6 +562,7 @@ public: + simdjson_really_inline simdjson_result get_number() noexcept; + simdjson_really_inline simdjson_result raw_json_token() noexcept; + simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; ++ simdjson_really_inline const uint8_t *current_location() const noexcept; + private: + document *doc{nullptr}; + }; +@@ -612,9 +628,8 @@ public: + simdjson_really_inline simdjson_result raw_json_token() noexcept; + + simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; ++ simdjson_really_inline simdjson_result current_location() const noexcept; + }; +- +- + } // namespace simdjson + + +@@ -669,6 +684,7 @@ public: + simdjson_really_inline simdjson_result raw_json_token() noexcept; + + simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; ++ simdjson_really_inline simdjson_result current_location() const noexcept; + }; + + +diff --git a/include/simdjson/generic/ondemand/json_iterator-inl.h b/include/simdjson/generic/ondemand/json_iterator-inl.h +index 16979e80..05663c18 100644 +--- a/include/simdjson/generic/ondemand/json_iterator-inl.h ++++ b/include/simdjson/generic/ondemand/json_iterator-inl.h +@@ -216,6 +216,10 @@ simdjson_really_inline const uint8_t *json_iterator::unsafe_pointer() const noex + return token.peek(0); + } + ++simdjson_really_inline const uint8_t *json_iterator::current_location() const noexcept { ++ return token.peek(0); ++} ++ + simdjson_really_inline const uint8_t *json_iterator::peek(int32_t delta) const noexcept { + #if SIMDJSON_CHECK_EOF + assert_more_tokens(delta+1); +diff --git a/include/simdjson/generic/ondemand/json_iterator.h b/include/simdjson/generic/ondemand/json_iterator.h +index d18ab48c..70bb43f6 100644 +--- a/include/simdjson/generic/ondemand/json_iterator.h ++++ b/include/simdjson/generic/ondemand/json_iterator.h +@@ -157,6 +157,15 @@ public: + * safe to derefence this pointer. + */ + simdjson_really_inline const uint8_t *unsafe_pointer() const noexcept; ++ /** ++ * Get a pointer to the current location in the input buffer. ++ * ++ * This is not null-terminated; it is a view into the JSON. ++ * ++ * You may be pointing outside of the input buffer: it is not generally ++ * safe to derefence this pointer. ++ */ ++ simdjson_really_inline const uint8_t *current_location() const noexcept; + /** + * Get the JSON text for a given token. + * diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/report.json new file mode 100644 index 000000000..d160cffe8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1695/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 1695, "valid": true, "error_msg": "", "fixed_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 92, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 86, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "basictests", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "amalgamate_demo_direct_from_repository", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "ondemand_number_in_string_tests", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/fix-patch-run.log new file mode 100644 index 000000000..c1ae4100e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/fix-patch-run.log @@ -0,0 +1,1055 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (6089 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (9784 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3546 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (16.5 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (3771 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.myiZb0PR +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.myiZb0PR/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.myiZb0PR/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.myiZb0PR/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.myiZb0PR/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.myiZb0PR/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.myiZb0PR +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=c9dc1adcd100 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.PAy7JpAi4M/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/ondemand/ondemand_array_tests.cpp +patching file tests/ondemand/ondemand_object_tests.cpp +patching file tests/ondemand/ondemand_readme_examples.cpp +Hunk #1 succeeded at 225 (offset 29 lines). +Hunk #2 succeeded at 888 (offset 110 lines). +patching file include/simdjson/generic/ondemand/document-inl.h +patching file include/simdjson/generic/ondemand/document.h +patching file include/simdjson/generic/ondemand/object-inl.h +patching file include/simdjson/generic/ondemand/object.h +patching file include/simdjson/generic/ondemand/value-inl.h +patching file include/simdjson/generic/ondemand/value.h +patching file singleheader/simdjson.cpp +patching file singleheader/simdjson.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@8982e1e) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git Version: v0.2.1-cebe3fb2-dirty +-- Version: 0.2.1 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.9.1) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@b32cd94) +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@aa33ec5) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 0%] Linking CXX static library libsimdjson.a +[ 0%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 1%] Linking C static library libcjson.a +[ 1%] Built target cjson +Scanning dependencies of target boostjson +[ 1%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 2%] Linking CXX static library libboostjson.a +[ 2%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 4%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 4%] Linking CXX static library libjsoncpp.a +[ 4%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 5%] Linking C static library libujson4c.a +[ 5%] Built target ujson4c +Scanning dependencies of target fastjson +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 8%] Linking CXX static library libfastjson.a +[ 8%] Built target fastjson +Scanning dependencies of target gason +[ 9%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 9%] Linking CXX static library libgason.a +[ 9%] Built target gason +Scanning dependencies of target yyjson +[ 9%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 10%] Linking C static library libyyjson.a +[ 10%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 12%] Linking C static library libjsmn.a +[ 12%] Built target jsmn +Scanning dependencies of target json11 +[ 12%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 13%] Linking CXX static library libjson11.a +[ 13%] Built target json11 +Scanning dependencies of target benchmark +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 22%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 22%] Linking CXX static library libbenchmark.a +[ 22%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 22%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 24%] Linking CXX static library libbenchmark_main.a +[ 24%] Built target benchmark_main +Scanning dependencies of target minify +[ 25%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 25%] Linking CXX executable minify +[ 25%] Built target minify +Scanning dependencies of target jsonpointer +[ 25%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 26%] Linking CXX executable jsonpointer +[ 26%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 26%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 26%] Linking CXX executable jsonstats +[ 26%] Built target jsonstats +Scanning dependencies of target json2json +[ 26%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 26%] Linking CXX executable json2json +[ 26%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 26%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 26%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 26%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 26%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +timestamp is 2021-08-28 20:19:30 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Creating /home/simdjson/build/singleheader/simdjson.cpp +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 170 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 2549 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 533549 Jul 14 01:42 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 1173374 Jul 14 01:42 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +[ 26%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 26%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 28%] Linking CXX executable amalgamate_demo +[ 28%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 28%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 29%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 29%] Linking CXX executable unicode_tests +[ 29%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 29%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 29%] Linking CXX executable checkimplementation +[ 29%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 29%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 30%] Linking CXX executable minify_tests +[ 30%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 32%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 32%] Linking CXX executable padded_string_tests +[ 32%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 33%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 33%] Linking CXX executable pointercheck +[ 33%] Built target pointercheck +Scanning dependencies of target document_tests +[ 34%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 34%] Linking CXX executable document_tests +[ 34%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 34%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 34%] Linking CXX executable numberparsingcheck +[ 34%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 34%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 36%] Linking CXX executable basictests +[ 36%] Built target basictests +Scanning dependencies of target integer_tests +[ 36%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 37%] Linking CXX executable integer_tests +[ 37%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 38%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 38%] Linking CXX executable jsoncheck +[ 38%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 38%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 38%] Linking CXX executable document_stream_tests +[ 38%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 40%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 40%] Linking CXX executable minefieldcheck +[ 40%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 40%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 41%] Linking CXX executable parse_many_test +[ 41%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 42%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 42%] Linking CXX executable random_string_number_tests +[ 42%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 42%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 42%] Linking CXX executable trivially_copyable_test +[ 42%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 42%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 42%] Linking CXX executable extracting_values_example +[ 42%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 42%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 44%] Linking CXX executable stringparsingcheck +[ 44%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 45%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 45%] Linking CXX executable errortests +[ 45%] Built target errortests +Scanning dependencies of target ondemand_object_error_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 46%] Linking CXX executable ondemand_object_error_tests +[ 46%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 48%] Linking CXX executable ondemand_misc_tests +[ 48%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 48%] Linking CXX executable ondemand_wrong_type_error_tests +[ 48%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 49%] Linking CXX executable ondemand_error_tests +[ 49%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 49%] Linking CXX executable ondemand_compilation_tests +[ 49%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_array_error_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 50%] Linking CXX executable ondemand_array_error_tests +[ 50%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_key_string_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +[ 52%] Linking CXX executable ondemand_key_string_tests +[ 52%] Built target ondemand_key_string_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 52%] Linking CXX executable ondemand_json_pointer_tests +[ 52%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_array_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 53%] Linking CXX executable ondemand_array_tests +[ 53%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_active_tests +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 54%] Linking CXX executable ondemand_active_tests +[ 54%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_document_stream_tests +[ 56%] Building CXX object tests/ondemand/CMakeFiles/ondemand_document_stream_tests.dir/ondemand_document_stream_tests.cpp.o +[ 56%] Linking CXX executable ondemand_document_stream_tests +[ 56%] Built target ondemand_document_stream_tests +Scanning dependencies of target ondemand_object_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 57%] Linking CXX executable ondemand_object_tests +[ 57%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_tostring_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 58%] Linking CXX executable ondemand_tostring_tests +[ 58%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_number_in_string_tests +[ 58%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o +[ 60%] Linking CXX executable ondemand_number_in_string_tests +[ 60%] Built target ondemand_number_in_string_tests +Scanning dependencies of target ondemand_ordering_tests +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 61%] Linking CXX executable ondemand_ordering_tests +[ 61%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_error_location_tests +[ 61%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/ondemand_error_location_tests.cpp.o +[ 62%] Linking CXX executable ondemand_error_location_tests +[ 62%] Built target ondemand_error_location_tests +Scanning dependencies of target ondemand_readme_examples +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_readme_examples.dir/ondemand_readme_examples.cpp.o +[ 64%] Linking CXX executable ondemand_readme_examples +[ 64%] Built target ondemand_readme_examples +Scanning dependencies of target ondemand_number_tests +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_tests.dir/ondemand_number_tests.cpp.o +[ 64%] Linking CXX executable ondemand_number_tests +[ 64%] Built target ondemand_number_tests +Scanning dependencies of target ondemand_parse_api_tests +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_parse_api_tests.dir/ondemand_parse_api_tests.cpp.o +[ 64%] Linking CXX executable ondemand_parse_api_tests +[ 64%] Built target ondemand_parse_api_tests +Scanning dependencies of target ondemand_twitter_tests +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_twitter_tests.dir/ondemand_twitter_tests.cpp.o +[ 65%] Linking CXX executable ondemand_twitter_tests +[ 65%] Built target ondemand_twitter_tests +Scanning dependencies of target ondemand_scalar_tests +[ 66%] Building CXX object tests/ondemand/CMakeFiles/ondemand_scalar_tests.dir/ondemand_scalar_tests.cpp.o +[ 66%] Linking CXX executable ondemand_scalar_tests +[ 66%] Built target ondemand_scalar_tests +Scanning dependencies of target ondemand_assert_out_of_order_values +[ 66%] Building CXX object tests/ondemand/CMakeFiles/ondemand_assert_out_of_order_values.dir/ondemand_assert_out_of_order_values.cpp.o +[ 68%] Linking CXX executable ondemand_assert_out_of_order_values +[ 68%] Built target ondemand_assert_out_of_order_values +Scanning dependencies of target benchfeatures +[ 68%] Building CXX object benchmark/CMakeFiles/benchfeatures.dir/benchfeatures.cpp.o +[ 69%] Linking CXX executable benchfeatures +[ 69%] Built target benchfeatures +Scanning dependencies of target get_corpus_benchmark +[ 69%] Building CXX object benchmark/CMakeFiles/get_corpus_benchmark.dir/get_corpus_benchmark.cpp.o +[ 70%] Linking CXX executable get_corpus_benchmark +[ 70%] Built target get_corpus_benchmark +Scanning dependencies of target bench_parse_call +[ 72%] Building CXX object benchmark/CMakeFiles/bench_parse_call.dir/bench_parse_call.cpp.o +[ 72%] Linking CXX executable bench_parse_call +[ 72%] Built target bench_parse_call +Scanning dependencies of target bench_dom_api +[ 72%] Building CXX object benchmark/CMakeFiles/bench_dom_api.dir/bench_dom_api.cpp.o +[ 72%] Linking CXX executable bench_dom_api +[ 72%] Built target bench_dom_api +Scanning dependencies of target bench_ondemand +[ 73%] Building CXX object benchmark/CMakeFiles/bench_ondemand.dir/bench_ondemand.cpp.o +[ 73%] Linking CXX executable bench_ondemand +[ 73%] Built target bench_ondemand +Scanning dependencies of target perfdiff +[ 73%] Building CXX object benchmark/dom/CMakeFiles/perfdiff.dir/perfdiff.cpp.o +[ 73%] Linking CXX executable perfdiff +[ 73%] Built target perfdiff +Scanning dependencies of target parse_noutf8validation +[ 73%] Building CXX object benchmark/dom/CMakeFiles/parse_noutf8validation.dir/parse.cpp.o +[ 74%] Linking CXX executable parse_noutf8validation +[ 74%] Built target parse_noutf8validation +Scanning dependencies of target parse +[ 74%] Building CXX object benchmark/dom/CMakeFiles/parse.dir/parse.cpp.o +[ 76%] Linking CXX executable parse +[ 76%] Built target parse +Scanning dependencies of target parse_stream +[ 76%] Building CXX object benchmark/dom/CMakeFiles/parse_stream.dir/parse_stream.cpp.o +[ 77%] Linking CXX executable parse_stream +[ 77%] Built target parse_stream +Scanning dependencies of target statisticalmodel +[ 77%] Building CXX object benchmark/dom/CMakeFiles/statisticalmodel.dir/statisticalmodel.cpp.o +[ 78%] Linking CXX executable statisticalmodel +[ 78%] Built target statisticalmodel +Scanning dependencies of target parse_nonumberparsing +[ 78%] Building CXX object benchmark/dom/CMakeFiles/parse_nonumberparsing.dir/parse.cpp.o +[ 78%] Linking CXX executable parse_nonumberparsing +[ 78%] Built target parse_nonumberparsing +Scanning dependencies of target parse_nostringparsing +[ 80%] Building CXX object benchmark/dom/CMakeFiles/parse_nostringparsing.dir/parse.cpp.o +[ 80%] Linking CXX executable parse_nostringparsing +[ 80%] Built target parse_nostringparsing +Scanning dependencies of target fuzz_print_json +[ 80%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/fuzz_print_json.cpp.o +[ 81%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/main.cpp.o +[ 81%] Linking CXX executable fuzz_print_json +[ 81%] Built target fuzz_print_json +Scanning dependencies of target fuzz_padded +[ 81%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/fuzz_padded.cpp.o +[ 81%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/main.cpp.o +[ 82%] Linking CXX executable fuzz_padded +[ 82%] Built target fuzz_padded +Scanning dependencies of target fuzz_dump +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/fuzz_dump.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/main.cpp.o +[ 85%] Linking CXX executable fuzz_dump +[ 85%] Built target fuzz_dump +Scanning dependencies of target fuzz_minifyimpl +[ 86%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/fuzz_minifyimpl.cpp.o +[ 86%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/main.cpp.o +[ 86%] Linking CXX executable fuzz_minifyimpl +[ 86%] Built target fuzz_minifyimpl +Scanning dependencies of target fuzz_element +[ 86%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/fuzz_element.cpp.o +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/main.cpp.o +[ 88%] Linking CXX executable fuzz_element +[ 88%] Built target fuzz_element +Scanning dependencies of target fuzz_ondemand +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/fuzz_ondemand.cpp.o +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/main.cpp.o +[ 90%] Linking CXX executable fuzz_ondemand +[ 90%] Built target fuzz_ondemand +Scanning dependencies of target fuzz_utf8 +[ 90%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/fuzz_utf8.cpp.o +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/main.cpp.o +[ 92%] Linking CXX executable fuzz_utf8 +[ 92%] Built target fuzz_utf8 +Scanning dependencies of target fuzz_implementations +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/fuzz_implementations.cpp.o +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/main.cpp.o +[ 93%] Linking CXX executable fuzz_implementations +[ 93%] Built target fuzz_implementations +Scanning dependencies of target fuzz_parser +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/fuzz_parser.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/main.cpp.o +[ 94%] Linking CXX executable fuzz_parser +[ 94%] Built target fuzz_parser +Scanning dependencies of target fuzz_atpointer +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/fuzz_atpointer.cpp.o +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/main.cpp.o +[ 96%] Linking CXX executable fuzz_atpointer +[ 96%] Built target fuzz_atpointer +Scanning dependencies of target fuzz_dump_raw_tape +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/fuzz_dump_raw_tape.cpp.o +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/main.cpp.o +[ 97%] Linking CXX executable fuzz_dump_raw_tape +[ 97%] Built target fuzz_dump_raw_tape +Scanning dependencies of target fuzz_minify +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/fuzz_minify.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/main.cpp.o +[ 98%] Linking CXX executable fuzz_minify +[ 98%] Built target fuzz_minify +Scanning dependencies of target fuzz_ndjson +[100%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/fuzz_ndjson.cpp.o +[100%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/main.cpp.o +[100%] Linking CXX executable fuzz_ndjson +[100%] Built target fuzz_ndjson +Test project /home/simdjson/build + Start 1: avoid_abort + 1/93 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/93 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/93 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/93 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/93 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/93 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/93 Test #7: amalgamate_demo ...................................... Passed 0.00 sec + Start 8: simdjson-singleheader + 8/93 Test #8: simdjson-singleheader ................................ Passed 5.19 sec + Start 9: amalgamate_demo_direct_from_repository + 9/93 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 10: unicode_tests +10/93 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +11/93 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/93 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: checkimplementation +13/93 Test #13: checkimplementation .................................. Passed 0.00 sec + Start 14: random_string_number_tests +14/93 Test #14: random_string_number_tests ........................... Passed 1.00 sec + Start 15: basictests +15/93 Test #15: basictests ........................................... Passed 0.01 sec + Start 16: document_stream_tests +16/93 Test #16: document_stream_tests ................................ Passed 0.27 sec + Start 17: document_tests +17/93 Test #17: document_tests ....................................... Passed 0.00 sec + Start 18: errortests +18/93 Test #18: errortests ........................................... Passed 0.00 sec + Start 19: extracting_values_example +19/93 Test #19: extracting_values_example ............................ Passed 0.00 sec + Start 20: integer_tests +20/93 Test #20: integer_tests ........................................ Passed 0.00 sec + Start 21: jsoncheck +21/93 Test #21: jsoncheck ............................................ Passed 0.00 sec + Start 22: minefieldcheck +22/93 Test #22: minefieldcheck ....................................... Passed 0.01 sec + Start 23: numberparsingcheck +23/93 Test #23: numberparsingcheck ................................... Passed 0.04 sec + Start 24: parse_many_test +24/93 Test #24: parse_many_test ...................................... Passed 0.00 sec + Start 25: pointercheck +25/93 Test #25: pointercheck ......................................... Passed 0.00 sec + Start 26: stringparsingcheck +26/93 Test #26: stringparsingcheck ................................... Passed 0.04 sec + Start 27: trivially_copyable_test +27/93 Test #27: trivially_copyable_test .............................. Passed 0.00 sec + Start 29: json2json +28/93 Test #29: json2json ............................................ Passed 0.01 sec + Start 28: testjson2json +29/93 Test #28: testjson2json ........................................ Passed 0.69 sec + Start 30: simdjson_force_implementation_error +30/93 Test #30: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 31: readme_examples +31/93 Test #31: readme_examples ...................................... Passed 3.35 sec + Start 32: readme_examples11 +32/93 Test #32: readme_examples11 .................................... Passed 3.27 sec + Start 33: readme_examples_noexceptions +33/93 Test #33: readme_examples_noexceptions ......................... Passed 2.37 sec + Start 34: readme_examples_noexceptions11 +34/93 Test #34: readme_examples_noexceptions11 ....................... Passed 2.15 sec + Start 35: readme_examples_will_fail_with_exceptions_off +35/93 Test #35: readme_examples_will_fail_with_exceptions_off ........ Passed 1.53 sec + Start 36: ondemand_tostring_tests +36/93 Test #36: ondemand_tostring_tests .............................. Passed 0.01 sec + Start 37: ondemand_active_tests +37/93 Test #37: ondemand_active_tests ................................ Passed 0.00 sec + Start 38: ondemand_array_tests +38/93 Test #38: ondemand_array_tests ................................. Passed 0.00 sec + Start 39: ondemand_array_error_tests +39/93 Test #39: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 40: ondemand_compilation_tests +40/93 Test #40: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 41: ondemand_document_stream_tests +41/93 Test #41: ondemand_document_stream_tests ....................... Passed 0.03 sec + Start 42: ondemand_error_tests +42/93 Test #42: ondemand_error_tests ................................. Passed 0.00 sec + Start 43: ondemand_error_location_tests +43/93 Test #43: ondemand_error_location_tests ........................ Passed 0.00 sec + Start 44: ondemand_json_pointer_tests +44/93 Test #44: ondemand_json_pointer_tests .......................... Passed 0.00 sec + Start 45: ondemand_key_string_tests +45/93 Test #45: ondemand_key_string_tests ............................ Passed 0.00 sec + Start 46: ondemand_misc_tests +46/93 Test #46: ondemand_misc_tests .................................. Passed 0.00 sec + Start 47: ondemand_number_tests +47/93 Test #47: ondemand_number_tests ................................ Passed 0.01 sec + Start 48: ondemand_number_in_string_tests +48/93 Test #48: ondemand_number_in_string_tests ...................... Passed 0.00 sec + Start 49: ondemand_object_tests +49/93 Test #49: ondemand_object_tests ................................ Passed 0.00 sec + Start 50: ondemand_object_error_tests +50/93 Test #50: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 51: ondemand_ordering_tests +51/93 Test #51: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 52: ondemand_parse_api_tests +52/93 Test #52: ondemand_parse_api_tests ............................. Passed 0.00 sec + Start 53: ondemand_readme_examples +53/93 Test #53: ondemand_readme_examples ............................. Passed 0.00 sec + Start 54: ondemand_scalar_tests +54/93 Test #54: ondemand_scalar_tests ................................ Passed 0.00 sec + Start 55: ondemand_twitter_tests +55/93 Test #55: ondemand_twitter_tests ............................... Passed 0.00 sec + Start 56: ondemand_wrong_type_error_tests +56/93 Test #56: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 57: ondemand_assert_out_of_order_values +57/93 Test #57: ondemand_assert_out_of_order_values .................. Passed 0.00 sec + Start 58: iterate_char_star_should_compile +58/93 Test #58: iterate_char_star_should_compile ..................... Passed 1.66 sec + Start 59: iterate_char_star_should_not_compile +59/93 Test #59: iterate_char_star_should_not_compile ................. Passed 1.57 sec + Start 60: iterate_string_view_should_compile +60/93 Test #60: iterate_string_view_should_compile ................... Passed 1.66 sec + Start 61: iterate_string_view_should_not_compile +61/93 Test #61: iterate_string_view_should_not_compile ............... Passed 1.48 sec + Start 62: iterate_temporary_buffer_should_compile +62/93 Test #62: iterate_temporary_buffer_should_compile .............. Passed 1.66 sec + Start 63: iterate_temporary_buffer_should_not_compile +63/93 Test #63: iterate_temporary_buffer_should_not_compile .......... Passed 1.51 sec + Start 64: first_second_access_should_compile +64/93 Test #64: first_second_access_should_compile ................... Passed 1.99 sec + Start 65: first_second_access_should_not_compile +65/93 Test #65: first_second_access_should_not_compile ............... Passed 1.51 sec + Start 66: example_compiletest_should_compile +66/93 Test #66: example_compiletest_should_compile ................... Passed 0.26 sec + Start 67: example_compiletest_should_not_compile +67/93 Test #67: example_compiletest_should_not_compile ............... Passed 0.17 sec + Start 68: bad_array_count_should_compile +68/93 Test #68: bad_array_count_should_compile ....................... Passed 1.80 sec + Start 69: bad_array_count_should_not_compile +69/93 Test #69: bad_array_count_should_not_compile ................... Passed 1.50 sec + Start 70: dangling_parser_load_should_compile +70/93 Test #70: dangling_parser_load_should_compile .................. Passed 1.92 sec + Start 71: dangling_parser_load_should_not_compile +71/93 Test #71: dangling_parser_load_should_not_compile .............. Passed 1.48 sec + Start 72: dangling_parser_parse_uint8_should_compile +72/93 Test #72: dangling_parser_parse_uint8_should_compile ........... Passed 1.92 sec + Start 73: dangling_parser_parse_uint8_should_not_compile +73/93 Test #73: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.51 sec + Start 74: dangling_parser_parse_uchar_should_compile +74/93 Test #74: dangling_parser_parse_uchar_should_compile ........... Passed 1.89 sec + Start 75: dangling_parser_parse_uchar_should_not_compile +75/93 Test #75: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.49 sec + Start 76: dangling_parser_parse_stdstring_should_compile +76/93 Test #76: dangling_parser_parse_stdstring_should_compile ....... Passed 1.93 sec + Start 77: dangling_parser_parse_stdstring_should_not_compile +77/93 Test #77: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.53 sec + Start 78: dangling_parser_parse_padstring_should_compile +78/93 Test #78: dangling_parser_parse_padstring_should_compile ....... Passed 2.15 sec + Start 79: dangling_parser_parse_padstring_should_not_compile +79/93 Test #79: dangling_parser_parse_padstring_should_not_compile ... Passed 1.55 sec + Start 80: unsafe_parse_many_should_compile +80/93 Test #80: unsafe_parse_many_should_compile ..................... Passed 2.23 sec + Start 81: unsafe_parse_many_should_not_compile +81/93 Test #81: unsafe_parse_many_should_not_compile ................. Passed 1.54 sec + Start 82: quickstart +82/93 Test #82: quickstart ........................................... Passed 5.79 sec + Start 83: quickstart11 +83/93 Test #83: quickstart11 ......................................... Passed 5.55 sec + Start 84: quickstart14 +84/93 Test #84: quickstart14 ......................................... Passed 5.65 sec + Start 85: quickstart_noexceptions +85/93 Test #85: quickstart_noexceptions .............................. Passed 5.47 sec + Start 86: quickstart_noexceptions11 +86/93 Test #86: quickstart_noexceptions11 ............................ Passed 5.15 sec + Start 87: quickstart2_noexceptions +87/93 Test #87: quickstart2_noexceptions ............................. Passed 5.44 sec + Start 88: quickstart2_noexceptions11 +88/93 Test #88: quickstart2_noexceptions11 ........................... Passed 5.18 sec + Start 89: quickstart_ondemand +89/93 Test #89: quickstart_ondemand .................................. Passed 5.72 sec + Start 90: quickstart_ondemand11 +90/93 Test #90: quickstart_ondemand11 ................................ Passed 5.44 sec + Start 91: quickstart_ondemand14 +91/93 Test #91: quickstart_ondemand14 ................................ Passed 5.40 sec + Start 92: quickstart_ondemand_noexceptions +92/93 Test #92: quickstart_ondemand_noexceptions ..................... Passed 5.58 sec + Start 93: quickstart_ondemand_noexceptions11 +93/93 Test #93: quickstart_ondemand_noexceptions11 ................... Passed 5.48 sec + +100% tests passed, 0 tests failed out of 93 + +Label Time Summary: +acceptance = 70.13 sec*proc (63 tests) +assert = 0.00 sec*proc (1 test) +compile = 65.86 sec*proc (12 tests) +dom = 1.42 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 103.77 sec*proc (36 tests) +ondemand = 13.14 sec*proc (30 tests) +other = 0.11 sec*proc (3 tests) +per_implementation = 7.52 sec*proc (44 tests) +quickstart = 65.86 sec*proc (12 tests) +quickstart_ondemand = 27.63 sec*proc (5 tests) +singleheader = 5.20 sec*proc (3 tests) + +Total Test time (real) = 124.02 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/fix.patch new file mode 100644 index 000000000..c9f5c7bf7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/fix.patch @@ -0,0 +1,1880 @@ +diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h +index 6aad8504..f656e933 100644 +--- a/include/simdjson/generic/ondemand/document-inl.h ++++ b/include/simdjson/generic/ondemand/document-inl.h +@@ -141,6 +141,16 @@ simdjson_really_inline simdjson_result document::count_elements() & noex + } + return answer; + } ++simdjson_really_inline simdjson_result document::count_fields() & noexcept { ++ auto o = get_object(); ++ simdjson_result answer = o.count_fields(); ++ /* If there was an object, we are now left pointing at its first field. */ ++ if(answer.error() == SUCCESS) { ++ iter._depth = 1 ; /* undoing the increment so we go back at the doc depth.*/ ++ iter.assert_at_document_depth(); ++ } ++ return answer; ++} + simdjson_really_inline simdjson_result document::at(size_t index) & noexcept { + auto a = get_array(); + return a.at(index); +@@ -262,6 +272,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept { ++ if (error()) { return error(); } ++ return first.count_fields(); ++} + simdjson_really_inline simdjson_result simdjson_result::at(size_t index) & noexcept { + if (error()) { return error(); } + return first.at(index); +@@ -492,6 +506,7 @@ simdjson_really_inline document_reference::operator bool() noexcept(false) { ret + simdjson_really_inline document_reference::operator value() noexcept(false) { return value(*doc); } + #endif + simdjson_really_inline simdjson_result document_reference::count_elements() & noexcept { return doc->count_elements(); } ++simdjson_really_inline simdjson_result document_reference::count_fields() & noexcept { return doc->count_fields(); } + simdjson_really_inline simdjson_result document_reference::at(size_t index) & noexcept { return doc->at(index); } + simdjson_really_inline simdjson_result document_reference::begin() & noexcept { return doc->begin(); } + simdjson_really_inline simdjson_result document_reference::end() & noexcept { return doc->end(); } +@@ -527,6 +542,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept { ++ if (error()) { return error(); } ++ return first.count_fields(); ++} + simdjson_really_inline simdjson_result simdjson_result::at(size_t index) & noexcept { + if (error()) { return error(); } + return first.at(index); +diff --git a/include/simdjson/generic/ondemand/document.h b/include/simdjson/generic/ondemand/document.h +index 097752b8..bf9f84b8 100644 +--- a/include/simdjson/generic/ondemand/document.h ++++ b/include/simdjson/generic/ondemand/document.h +@@ -250,6 +250,18 @@ public: + * safe to continue. + */ + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ /** ++ * This method scans the object and counts the number of fields. ++ * The count_fields method should always be called before you have begun ++ * iterating through the object: it is expected that you are pointing at ++ * the beginning of the object. ++ * The runtime complexity is linear in the size of the object. After ++ * calling this function, if successful, the object is 'rewinded' at its ++ * beginning as if it had never been accessed. If the JSON is malformed (e.g., ++ * there is a missing comma), then an error is returned and it is no longer ++ * safe to continue. ++ */ ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + /** + * Get the value at the given index in the array. This function has linear-time complexity. + * This function should only be called once as the array iterator is not reset between each call. +@@ -535,6 +547,7 @@ public: + simdjson_really_inline operator value() noexcept(false); + #endif + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) & noexcept; + simdjson_really_inline simdjson_result begin() & noexcept; + simdjson_really_inline simdjson_result end() & noexcept; +@@ -601,6 +614,7 @@ public: + simdjson_really_inline operator SIMDJSON_IMPLEMENTATION::ondemand::value() noexcept(false); + #endif + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) & noexcept; + simdjson_really_inline simdjson_result begin() & noexcept; + simdjson_really_inline simdjson_result end() & noexcept; +@@ -659,6 +673,7 @@ public: + simdjson_really_inline operator SIMDJSON_IMPLEMENTATION::ondemand::value() noexcept(false); + #endif + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) & noexcept; + simdjson_really_inline simdjson_result begin() & noexcept; + simdjson_really_inline simdjson_result end() & noexcept; +diff --git a/include/simdjson/generic/ondemand/object-inl.h b/include/simdjson/generic/ondemand/object-inl.h +index aa788a6b..37533abc 100644 +--- a/include/simdjson/generic/ondemand/object-inl.h ++++ b/include/simdjson/generic/ondemand/object-inl.h +@@ -140,6 +140,14 @@ inline simdjson_result object::at_pointer(std::string_view json_pointer) + } + + ++simdjson_really_inline simdjson_result object::count_fields() & noexcept { ++ size_t count{0}; ++ for(simdjson_unused auto v : *this) { count++; } ++ if(iter.error()) { return iter.error(); } ++ iter.reset_object(); ++ return count; ++} ++ + simdjson_really_inline simdjson_result object::is_empty() & noexcept { + bool is_not_empty; + auto error = iter.reset_object().get(is_not_empty); +@@ -210,4 +218,9 @@ inline simdjson_result simdjson_result simdjson_result::count_fields() noexcept { ++ if (error()) { return error(); } ++ return first.count_fields(); ++} ++ + } // namespace simdjson +diff --git a/include/simdjson/generic/ondemand/object.h b/include/simdjson/generic/ondemand/object.h +index bac28867..2870b643 100644 +--- a/include/simdjson/generic/ondemand/object.h ++++ b/include/simdjson/generic/ondemand/object.h +@@ -120,6 +120,21 @@ public: + * @returns true if the object contains some elements (not empty) + */ + inline simdjson_result reset() & noexcept; ++ /** ++ * This method scans the object and counts the number of fields. ++ * The count_fields method should always be called before you have begun ++ * iterating through the object: it is expected that you are pointing at ++ * the beginning of the object. ++ * The runtime complexity is linear in the size of the object. After ++ * calling this function, if successful, the object is 'rewinded' at its ++ * beginning as if it had never been accessed. If the JSON is malformed (e.g., ++ * there is a missing comma), then an error is returned and it is no longer ++ * safe to continue. ++ * ++ * To check that an object is empty, it is more performant to use ++ * the is_empty() method. ++ */ ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + /** + * This method scans the beginning of the object and checks whether the + * object is empty. +@@ -181,6 +196,7 @@ public: + simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; + inline simdjson_result reset() noexcept; + inline simdjson_result is_empty() noexcept; ++ inline simdjson_result count_fields() noexcept; + + }; + +diff --git a/include/simdjson/generic/ondemand/value-inl.h b/include/simdjson/generic/ondemand/value-inl.h +index 520e3fe1..e36a5c2b 100644 +--- a/include/simdjson/generic/ondemand/value-inl.h ++++ b/include/simdjson/generic/ondemand/value-inl.h +@@ -114,6 +114,16 @@ simdjson_really_inline simdjson_result value::count_elements() & noexcep + iter.move_at_start(); + return answer; + } ++simdjson_really_inline simdjson_result value::count_fields() & noexcept { ++ simdjson_result answer; ++ auto o = get_object(); ++ answer = o.count_fields(); ++ // count_fields leaves you pointing inside the object, at the first field. ++ // We need to move back so that the user can create a new object (which requires that ++ // we point at '{'). ++ iter.move_at_start(); ++ return answer; ++} + simdjson_really_inline simdjson_result value::at(size_t index) noexcept { + auto a = get_array(); + return a.at(index); +@@ -204,6 +214,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept { ++ if (error()) { return error(); } ++ return first.count_fields(); ++} + simdjson_really_inline simdjson_result simdjson_result::at(size_t index) noexcept { + if (error()) { return error(); } + return first.at(index); +diff --git a/include/simdjson/generic/ondemand/value.h b/include/simdjson/generic/ondemand/value.h +index a0d07e43..8e90eb56 100644 +--- a/include/simdjson/generic/ondemand/value.h ++++ b/include/simdjson/generic/ondemand/value.h +@@ -244,6 +244,18 @@ public: + * safe to continue. + */ + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ /** ++ * This method scans the object and counts the number of fields. ++ * The count_fields method should always be called before you have begun ++ * iterating through the object: it is expected that you are pointing at ++ * the beginning of the object. ++ * The runtime complexity is linear in the size of the object. After ++ * calling this function, if successful, the object is 'rewinded' at its ++ * beginning as if it had never been accessed. If the JSON is malformed (e.g., ++ * there is a missing comma), then an error is returned and it is no longer ++ * safe to continue. ++ */ ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + /** + * Get the value at the given index in the array. This function has linear-time complexity. + * This function should only be called once as the array iterator is not reset between each call. +@@ -535,6 +547,7 @@ public: + simdjson_really_inline operator bool() noexcept(false); + #endif + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) noexcept; + simdjson_really_inline simdjson_result begin() & noexcept; + simdjson_really_inline simdjson_result end() & noexcept; +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index b84ac74b..51f130ea 100644 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on 2021-08-06 20:25:05 -0400. Do not edit! */ ++/* auto-generated on 2026-07-03 00:03:12 +0000. Do not edit! */ + /* begin file src/simdjson.cpp */ + #include "simdjson.h" + +@@ -1587,7 +1587,9 @@ namespace internal { + { PARSER_IN_USE, "Cannot parse a new document while a document is still in use." }, + { OUT_OF_ORDER_ITERATION, "Objects and arrays can only be iterated when they are first encountered." }, + { INSUFFICIENT_PADDING, "simdjson requires the input JSON string to have at least SIMDJSON_PADDING extra bytes allocated, beyond the string's length. Consider using the simdjson::padded_string class if needed." }, +- { INCOMPLETE_ARRAY_OR_OBJECT, "JSON document ended early in the middle of an object or array." } ++ { INCOMPLETE_ARRAY_OR_OBJECT, "JSON document ended early in the middle of an object or array." }, ++ { SCALAR_DOCUMENT_AS_VALUE, "A JSON document made of a scalar (number, Boolean, null or string) is treated as a value. Use get_bool(), get_double(), etc. on the document instead. "}, ++ { OUT_OF_BOUNDS, "Attempted to access location outside of document."} + }; // error_messages[] + + } // namespace internal +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index fc114bdb..e5a088dc 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -1,4 +1,4 @@ +-/* auto-generated on 2021-08-06 20:25:05 -0400. Do not edit! */ ++/* auto-generated on 2026-07-03 00:03:12 +0000. Do not edit! */ + /* begin file include/simdjson.h */ + #ifndef SIMDJSON_H + #define SIMDJSON_H +@@ -2250,6 +2250,8 @@ enum error_code { + OUT_OF_ORDER_ITERATION, ///< tried to iterate an array or object out of order + INSUFFICIENT_PADDING, ///< The JSON doesn't have enough padding for simdjson to safely parse it. + INCOMPLETE_ARRAY_OR_OBJECT, ///< The document ends early. ++ SCALAR_DOCUMENT_AS_VALUE, ///< A scalar document is treated as a value. ++ OUT_OF_BOUNDS, ///< Attempted to access location outside of document. + NUM_ERROR_CODES + }; + +@@ -6333,7 +6335,7 @@ dom::parser build_parsed_json(const char *buf) noexcept = delete; + + #include + #include +-#include ++#include + #include + #include + #include +@@ -6343,7 +6345,7 @@ dom::parser build_parsed_json(const char *buf) noexcept = delete; + #define SIMDJSON_INTERNAL_JSONFORMATUTILS_H + + #include +-#include ++#include + #include + + namespace simdjson { +@@ -11131,7 +11133,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; } +- ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; } ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; } + #else + + // parse the number at src +@@ -11645,6 +11648,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + return d; + } + ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { ++ return (*src == '-'); ++} ++ ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { ++ bool negative = (*src == '-'); ++ src += negative; ++ const uint8_t *p = src; ++ while(static_cast(*p - '0') <= 9) { p++; } ++ if ( p == src ) { return NUMBER_ERROR; } ++ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; } ++ return false; ++} + + // Never read at src_end or beyond + simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept { +@@ -12916,7 +12932,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; } +- ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; } ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; } + #else + + // parse the number at src +@@ -13430,6 +13447,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + return d; + } + ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { ++ return (*src == '-'); ++} ++ ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { ++ bool negative = (*src == '-'); ++ src += negative; ++ const uint8_t *p = src; ++ while(static_cast(*p - '0') <= 9) { p++; } ++ if ( p == src ) { return NUMBER_ERROR; } ++ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; } ++ return false; ++} + + // Never read at src_end or beyond + simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept { +@@ -15185,7 +15215,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; } +- ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; } ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; } + #else + + // parse the number at src +@@ -15699,6 +15730,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + return d; + } + ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { ++ return (*src == '-'); ++} ++ ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { ++ bool negative = (*src == '-'); ++ src += negative; ++ const uint8_t *p = src; ++ while(static_cast(*p - '0') <= 9) { p++; } ++ if ( p == src ) { return NUMBER_ERROR; } ++ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; } ++ return false; ++} + + // Never read at src_end or beyond + simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept { +@@ -17553,7 +17597,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; } +- ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; } ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; } + #else + + // parse the number at src +@@ -18067,6 +18112,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + return d; + } + ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { ++ return (*src == '-'); ++} ++ ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { ++ bool negative = (*src == '-'); ++ src += negative; ++ const uint8_t *p = src; ++ while(static_cast(*p - '0') <= 9) { p++; } ++ if ( p == src ) { return NUMBER_ERROR; } ++ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; } ++ return false; ++} + + // Never read at src_end or beyond + simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept { +@@ -19779,7 +19837,8 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + simdjson_unused simdjson_really_inline simdjson_result parse_unsigned_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_integer_in_string(const uint8_t * const src) noexcept { return 0; } + simdjson_unused simdjson_really_inline simdjson_result parse_double_in_string(const uint8_t * const src) noexcept { return 0; } +- ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { return false; } ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { return false; } + #else + + // parse the number at src +@@ -20293,6 +20352,19 @@ simdjson_unused simdjson_really_inline simdjson_result parse_double(cons + return d; + } + ++simdjson_unused simdjson_really_inline bool is_negative(const uint8_t * src) noexcept { ++ return (*src == '-'); ++} ++ ++simdjson_unused simdjson_really_inline simdjson_result is_integer(const uint8_t * src) noexcept { ++ bool negative = (*src == '-'); ++ src += negative; ++ const uint8_t *p = src; ++ while(static_cast(*p - '0') <= 9) { p++; } ++ if ( p == src ) { return NUMBER_ERROR; } ++ if (jsoncharutils::is_structural_or_whitespace(*p)) { return true; } ++ return false; ++} + + // Never read at src_end or beyond + simdjson_unused simdjson_really_inline simdjson_result parse_double(const uint8_t * src, const uint8_t * const src_end) noexcept { +@@ -20650,7 +20722,6 @@ using depth_t = int32_t; + namespace simdjson { + namespace SIMDJSON_BUILTIN_IMPLEMENTATION { + namespace ondemand { +- + /** + * The type of a JSON value. + */ +@@ -20664,6 +20735,109 @@ enum class json_type { + null ///< A JSON null (null) + }; + ++/** ++ * The type of a JSON number ++ */ ++enum class number_type { ++ floating_point_number=1, /// a binary64 number ++ signed_integer, /// a signed integer that fits in a 64-bit word using two's complement ++ unsigned_integer /// a positive integer larger or equal to 1<<63 ++}; ++ ++class value_iterator; ++ ++/** ++ * A type representing a JSON number. ++ * The design of the struct is deliberately straight-forward. All ++ * functions return standard values with no error check. ++ */ ++struct number { ++ ++ /** ++ * return the automatically determined type of ++ * the number: number_type::floating_point_number, ++ * number_type::signed_integer or number_type::unsigned_integer. ++ */ ++ simdjson_really_inline number_type get_number_type() const noexcept; ++ /** ++ * return true if the automatically determined type of ++ * the number is number_type::unsigned_integer. ++ */ ++ simdjson_really_inline bool is_uint64() const noexcept; ++ /** ++ * return the value as a uint64_t, only valid if is_uint64() is true. ++ */ ++ simdjson_really_inline uint64_t get_uint64() const noexcept; ++ simdjson_really_inline operator uint64_t() const noexcept; ++ ++ /** ++ * return true if the automatically determined type of ++ * the number is number_type::signed_integer. ++ */ ++ simdjson_really_inline bool is_int64() const noexcept; ++ /** ++ * return the value as a int64_t, only valid if is_int64() is true. ++ */ ++ simdjson_really_inline int64_t get_int64() const noexcept; ++ simdjson_really_inline operator int64_t() const noexcept; ++ ++ ++ /** ++ * return true if the automatically determined type of ++ * the number is number_type::floating_point_number. ++ */ ++ simdjson_really_inline bool is_double() const noexcept; ++ /** ++ * return the value as a double, only valid if is_double() is true. ++ */ ++ simdjson_really_inline double get_double() const noexcept; ++ simdjson_really_inline operator double() const noexcept; ++ ++ /** ++ * Convert the number to a double. Though it always succeed, the conversion ++ * may be lossy if the number cannot be represented exactly. ++ */ ++ simdjson_really_inline double as_double() const noexcept; ++ ++ ++protected: ++ /** ++ * The next block of declaration is designed so that we can call the number parsing ++ * functions on a number type. They are protected and should never be used outside ++ * of the core simdjson library. ++ */ ++ friend class value_iterator; ++ template ++ friend error_code numberparsing::write_float(const uint8_t *const src, bool negative, uint64_t i, const uint8_t * start_digits, size_t digit_count, int64_t exponent, W &writer); ++ template ++ friend error_code numberparsing::parse_number(const uint8_t *const src, W &writer); ++ template ++ friend error_code numberparsing::slow_float_parsing(simdjson_unused const uint8_t * src, W writer); ++ /** Store a signed 64-bit value to the number. */ ++ simdjson_really_inline void append_s64(int64_t value) noexcept; ++ /** Store an unsigned 64-bit value to the number. */ ++ simdjson_really_inline void append_u64(uint64_t value) noexcept; ++ /** Store a double value to the number. */ ++ simdjson_really_inline void append_double(double value) noexcept; ++ /** Specifies that the value is a double, but leave it undefined. */ ++ simdjson_really_inline void skip_double() noexcept; ++ /** ++ * End of friend declarations. ++ */ ++ ++ /** ++ * Our attributes are a union type (size = 64 bits) ++ * followed by a type indicator. ++ */ ++ union { ++ double floating_point_number; ++ int64_t signed_integer; ++ uint64_t unsigned_integer; ++ } payload{0}; ++ number_type type{number_type::signed_integer}; ++ friend class value_iterator; ++}; ++ + /** + * Write the JSON type to the output stream + * +@@ -20671,6 +20845,7 @@ enum class json_type { + * @param type The json_type. + */ + inline std::ostream& operator<<(std::ostream& out, json_type type) noexcept; ++inline std::ostream& operator<<(std::ostream& out, number_type type) noexcept; + + #if SIMDJSON_EXCEPTIONS + /** +@@ -21183,9 +21358,12 @@ public: + * Get the root value iterator + */ + simdjson_really_inline token_position root_position() const noexcept; +- + /** +- * Assert if the iterator is not at the start ++ * Assert that we are at the document depth (== 1) ++ */ ++ simdjson_really_inline void assert_at_document_depth() const noexcept; ++ /** ++ * Assert that we are at the root of the document + */ + simdjson_really_inline void assert_at_root() const noexcept; + +@@ -21308,7 +21486,7 @@ public: + simdjson_really_inline uint8_t *&string_buf_loc() noexcept; + + /** +- * Report an error, preventing further iteration. ++ * Report an unrecoverable error, preventing further iteration. + * + * @param error The error to report. Must not be SUCCESS, UNINITIALIZED, INCORRECT_TYPE, or NO_SUCH_FIELD. + * @param message An error message to report with the error. +@@ -21332,6 +21510,12 @@ public: + #endif + /* Useful for debugging and logging purposes. */ + inline std::string to_string() const noexcept; ++ ++ /** ++ * Returns the current location in the document if in bounds. ++ */ ++ inline simdjson_result current_location() noexcept; ++ + /** + * Updates this json iterator so that it is back at the beginning of the document, + * as if it had just been created. +@@ -21668,6 +21852,9 @@ public: + simdjson_warn_unused simdjson_really_inline simdjson_result get_double_in_string() noexcept; + simdjson_warn_unused simdjson_really_inline simdjson_result get_bool() noexcept; + simdjson_really_inline bool is_null() noexcept; ++ simdjson_warn_unused simdjson_really_inline bool is_negative() noexcept; ++ simdjson_warn_unused simdjson_really_inline simdjson_result is_integer() noexcept; ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_number() noexcept; + + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_string() noexcept; + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_raw_json_string() noexcept; +@@ -21678,6 +21865,9 @@ public: + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_double() noexcept; + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_double_in_string() noexcept; + simdjson_warn_unused simdjson_really_inline simdjson_result get_root_bool() noexcept; ++ simdjson_warn_unused simdjson_really_inline bool is_root_negative() noexcept; ++ simdjson_warn_unused simdjson_really_inline simdjson_result is_root_integer() noexcept; ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_root_number() noexcept; + simdjson_really_inline bool is_root_null() noexcept; + + simdjson_really_inline error_code error() const noexcept; +@@ -22044,9 +22234,32 @@ public: + * beginning as if it had never been accessed. If the JSON is malformed (e.g., + * there is a missing comma), then an error is returned and it is no longer + * safe to continue. ++ * ++ * To check that an array is empty, it is more performant to use ++ * the is_empty() method. + */ + simdjson_really_inline simdjson_result count_elements() & noexcept; +- ++ /** ++ * This method scans the beginning of the array and checks whether the ++ * array is empty. ++ * The runtime complexity is constant time. After ++ * calling this function, if successful, the array is 'rewinded' at its ++ * beginning as if it had never been accessed. If the JSON is malformed (e.g., ++ * there is a missing comma), then an error is returned and it is no longer ++ * safe to continue. ++ */ ++ simdjson_really_inline simdjson_result is_empty() & noexcept; ++ /** ++ * Reset the iterator so that we are pointing back at the ++ * beginning of the array. You should still consume values only once even if you ++ * can iterate through the array more than once. If you unescape a string ++ * within the array more than once, you have unsafe code. Note that rewinding ++ * an array means that you may need to reparse it anew: it is not a free ++ * operation. ++ * ++ * @returns true if the array contains some elements (not empty) ++ */ ++ inline simdjson_result reset() & noexcept; + /** + * Get the value associated with the given JSON pointer. We use the RFC 6901 + * https://tools.ietf.org/html/rfc6901 standard, interpreting the current node +@@ -22082,6 +22295,14 @@ public: + */ + simdjson_really_inline simdjson_result raw_json() noexcept; + ++ /** ++ * Get the value at the given index. This function has linear-time complexity. ++ * This function should only be called once as the array iterator is not reset between each call. ++ * ++ * @return The value at the given index, or: ++ * - INDEX_OUT_OF_BOUNDS if the array index is larger than an array length ++ */ ++ simdjson_really_inline simdjson_result at(size_t index) noexcept; + protected: + /** + * Go to the end of the array, no matter where you are right now. +@@ -22124,15 +22345,6 @@ protected: + */ + simdjson_really_inline array(const value_iterator &iter) noexcept; + +- /** +- * Get the value at the given index. This function has linear-time complexity. +- * This function should only be called once as the array iterator is not reset between each call. +- * +- * @return The value at the given index, or: +- * - INDEX_OUT_OF_BOUNDS if the array index is larger than an array length +- */ +- simdjson_really_inline simdjson_result at(size_t index) noexcept; +- + /** + * Iterator marking current position. + * +@@ -22162,7 +22374,9 @@ public: + + simdjson_really_inline simdjson_result begin() noexcept; + simdjson_really_inline simdjson_result end() noexcept; +- simdjson_really_inline simdjson_result count_elements() & noexcept; ++ inline simdjson_result count_elements() & noexcept; ++ inline simdjson_result is_empty() & noexcept; ++ inline simdjson_result reset() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) noexcept; + simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; + }; +@@ -22286,6 +22500,14 @@ public: + * @returns INCORRECT_TYPE if the JSON value is not true or false. + */ + simdjson_really_inline simdjson_result get_bool() noexcept; ++ /** ++ * Cast this JSON value to a value when the document is an object or an array. ++ * ++ * @returns A value if a JSON array or object cannot be found. ++ * @returns SCALAR_DOCUMENT_AS_VALUE error is the document is a scalar (see is_scalar() function). ++ */ ++ simdjson_really_inline simdjson_result get_value() noexcept; ++ + /** + * Checks if this JSON value is null. + * +@@ -22319,7 +22541,9 @@ public: + /** + * Get this value as the given type. + * +- * Supported types: object, array, raw_json_string, string_view, uint64_t, int64_t, double, bool ++ * Supported types: object, array, raw_json_string, string_view, uint64_t, int64_t, double, bool, value ++ * ++ * Be mindful that the document instance must remain in scope while you are accessing object, array and value instances. + * + * @param out This is set to a value of the given type, parsed from the JSON. If there is an error, this may not be initialized. + * @returns INCORRECT_TYPE If the JSON value is not an object. +@@ -22391,6 +22615,13 @@ public: + * @exception simdjson_error(INCORRECT_TYPE) if the JSON value is not true or false. + */ + simdjson_really_inline operator bool() noexcept(false); ++ /** ++ * Cast this JSON value to a value. ++ * ++ * @returns A value value. ++ * @exception if a JSON value cannot be found ++ */ ++ simdjson_really_inline operator value() noexcept(false); + #endif + /** + * This method scans the array and counts the number of elements. +@@ -22404,6 +22635,18 @@ public: + * safe to continue. + */ + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ /** ++ * This method scans the object and counts the number of fields. ++ * The count_fields method should always be called before you have begun ++ * iterating through the object: it is expected that you are pointing at ++ * the beginning of the object. ++ * The runtime complexity is linear in the size of the object. After ++ * calling this function, if successful, the object is 'rewinded' at its ++ * beginning as if it had never been accessed. If the JSON is malformed (e.g., ++ * there is a missing comma), then an error is returned and it is no longer ++ * safe to continue. ++ */ ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + /** + * Get the value at the given index in the array. This function has linear-time complexity. + * This function should only be called once as the array iterator is not reset between each call. +@@ -22487,6 +22730,59 @@ public: + */ + simdjson_really_inline simdjson_result type() noexcept; + ++ /** ++ * Checks whether the document is a scalar (string, number, null, Boolean). ++ * Returns false when there it is an array or object. ++ * ++ * @returns true if the type is string, number, null, Boolean ++ * @error TAPE_ERROR when the JSON value is a bad token like "}" "," or "alse". ++ */ ++ simdjson_really_inline simdjson_result is_scalar() noexcept; ++ ++ /** ++ * Checks whether the document is a negative number. ++ * ++ * @returns true if the number if negative. ++ */ ++ simdjson_really_inline bool is_negative() noexcept; ++ /** ++ * Checks whether the document is an integer number. Note that ++ * this requires to partially parse the number string. If ++ * the value is determined to be an integer, it may still ++ * not parse properly as an integer in subsequent steps ++ * (e.g., it might overflow). ++ * ++ * @returns true if the number if negative. ++ */ ++ simdjson_really_inline simdjson_result is_integer() noexcept; ++ /** ++ * Attempt to parse an ondemand::number. An ondemand::number may ++ * contain an integer value or a floating-point value, the simdjson ++ * library will autodetect the type. Thus it is a dynamically typed ++ * number. Before accessing the value, you must determine the detected ++ * type. ++ * ++ * number.get_number_type() is number_type::signed_integer if we have ++ * a integer in [-9223372036854775808,9223372036854775808) ++ * You can recover the value by calling number.get_int64() and you ++ * have that number.is_int64() is true. ++ * ++ * number.get_number_type() is number_type::unsigned_integer if we have ++ * an integer in [9223372036854775808,18446744073709551616) ++ * You can recover the value by calling number.get_uint64() and you ++ * have that number.is_uint64() is true. ++ * ++ * Otherwise, number.get_number_type() has value number_type::floating_point_number ++ * and we have a binary64 number. ++ * You can recover the value by calling number.get_double() and you ++ * have that number.is_double() is true. ++ * ++ * You must check the type before accessing the value: it is an error ++ * to call "get_int64()" when number.get_number_type() is not ++ * number_type::signed_integer and when number.is_int64() is false. ++ */ ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_number() noexcept; ++ + /** + * Get the raw JSON for this token. + * +@@ -22521,6 +22817,16 @@ public: + * Returns debugging information. + */ + inline std::string to_debug_string() noexcept; ++ /** ++ * Some unrecoverable error conditions may render the document instance unusable. ++ * The is_alive() method returns true when the document is still suitable. ++ */ ++ inline bool is_alive() noexcept; ++ ++ /** ++ * Returns the current location in the document if in bounds. ++ */ ++ inline simdjson_result current_location() noexcept; + + /** + * Get the value associated with the given JSON pointer. We use the RFC 6901 +@@ -22551,6 +22857,7 @@ public: + * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length + * - INCORRECT_TYPE if a non-integer is used to access an array + * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed ++ * - SCALAR_DOCUMENT_AS_VALUE if the json_pointer is empty and the document is not a scalar (see is_scalar() function). + */ + simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; + /** +@@ -22570,7 +22877,6 @@ protected: + + simdjson_really_inline value_iterator resume_value_iterator() noexcept; + simdjson_really_inline value_iterator get_root_value_iterator() noexcept; +- simdjson_really_inline simdjson_result get_value_unsafe() noexcept; + simdjson_really_inline simdjson_result start_or_resume_object() noexcept; + static simdjson_really_inline document start(ondemand::json_iterator &&iter) noexcept; + +@@ -22608,6 +22914,8 @@ public: + simdjson_really_inline simdjson_result get_string() noexcept; + simdjson_really_inline simdjson_result get_raw_json_string() noexcept; + simdjson_really_inline simdjson_result get_bool() noexcept; ++ simdjson_really_inline simdjson_result get_value() noexcept; ++ + simdjson_really_inline bool is_null() noexcept; + simdjson_really_inline simdjson_result raw_json() noexcept; + simdjson_really_inline operator document&() const noexcept; +@@ -22621,8 +22929,10 @@ public: + simdjson_really_inline operator std::string_view() noexcept(false); + simdjson_really_inline operator raw_json_string() noexcept(false); + simdjson_really_inline operator bool() noexcept(false); ++ simdjson_really_inline operator value() noexcept(false); + #endif + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) & noexcept; + simdjson_really_inline simdjson_result begin() & noexcept; + simdjson_really_inline simdjson_result end() & noexcept; +@@ -22634,6 +22944,12 @@ public: + simdjson_really_inline simdjson_result find_field_unordered(const char *key) & noexcept; + + simdjson_really_inline simdjson_result type() noexcept; ++ simdjson_really_inline simdjson_result is_scalar() noexcept; ++ ++ simdjson_really_inline simdjson_result current_location() noexcept; ++ simdjson_really_inline bool is_negative() noexcept; ++ simdjson_really_inline simdjson_result is_integer() noexcept; ++ simdjson_really_inline simdjson_result get_number() noexcept; + simdjson_really_inline simdjson_result raw_json_token() noexcept; + simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; + private: +@@ -22662,6 +22978,7 @@ public: + simdjson_really_inline simdjson_result get_string() noexcept; + simdjson_really_inline simdjson_result get_raw_json_string() noexcept; + simdjson_really_inline simdjson_result get_bool() noexcept; ++ simdjson_really_inline simdjson_result get_value() noexcept; + simdjson_really_inline bool is_null() noexcept; + + template simdjson_really_inline simdjson_result get() & noexcept; +@@ -22679,8 +22996,10 @@ public: + simdjson_really_inline operator std::string_view() noexcept(false); + simdjson_really_inline operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::raw_json_string() noexcept(false); + simdjson_really_inline operator bool() noexcept(false); ++ simdjson_really_inline operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::value() noexcept(false); + #endif + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) & noexcept; + simdjson_really_inline simdjson_result begin() & noexcept; + simdjson_really_inline simdjson_result end() & noexcept; +@@ -22690,9 +23009,12 @@ public: + simdjson_really_inline simdjson_result operator[](const char *key) & noexcept; + simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept; + simdjson_really_inline simdjson_result find_field_unordered(const char *key) & noexcept; +- + simdjson_really_inline simdjson_result type() noexcept; +- ++ simdjson_really_inline simdjson_result is_scalar() noexcept; ++ simdjson_really_inline simdjson_result current_location() noexcept; ++ simdjson_really_inline bool is_negative() noexcept; ++ simdjson_really_inline simdjson_result is_integer() noexcept; ++ simdjson_really_inline simdjson_result get_number() noexcept; + /** @copydoc simdjson_really_inline std::string_view document::raw_json_token() const noexcept */ + simdjson_really_inline simdjson_result raw_json_token() noexcept; + +@@ -22721,6 +23043,7 @@ public: + simdjson_really_inline simdjson_result get_string() noexcept; + simdjson_really_inline simdjson_result get_raw_json_string() noexcept; + simdjson_really_inline simdjson_result get_bool() noexcept; ++ simdjson_really_inline simdjson_result get_value() noexcept; + simdjson_really_inline bool is_null() noexcept; + + #if SIMDJSON_EXCEPTIONS +@@ -22732,8 +23055,10 @@ public: + simdjson_really_inline operator std::string_view() noexcept(false); + simdjson_really_inline operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::raw_json_string() noexcept(false); + simdjson_really_inline operator bool() noexcept(false); ++ simdjson_really_inline operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::value() noexcept(false); + #endif + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) & noexcept; + simdjson_really_inline simdjson_result begin() & noexcept; + simdjson_really_inline simdjson_result end() & noexcept; +@@ -22743,9 +23068,12 @@ public: + simdjson_really_inline simdjson_result operator[](const char *key) & noexcept; + simdjson_really_inline simdjson_result find_field_unordered(std::string_view key) & noexcept; + simdjson_really_inline simdjson_result find_field_unordered(const char *key) & noexcept; +- + simdjson_really_inline simdjson_result type() noexcept; +- ++ simdjson_really_inline simdjson_result is_scalar() noexcept; ++ simdjson_really_inline simdjson_result current_location() noexcept; ++ simdjson_really_inline bool is_negative() noexcept; ++ simdjson_really_inline simdjson_result is_integer() noexcept; ++ simdjson_really_inline simdjson_result get_number() noexcept; + /** @copydoc simdjson_really_inline std::string_view document_reference::raw_json_token() const noexcept */ + simdjson_really_inline simdjson_result raw_json_token() noexcept; + +@@ -23001,6 +23329,18 @@ public: + * safe to continue. + */ + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ /** ++ * This method scans the object and counts the number of fields. ++ * The count_fields method should always be called before you have begun ++ * iterating through the object: it is expected that you are pointing at ++ * the beginning of the object. ++ * The runtime complexity is linear in the size of the object. After ++ * calling this function, if successful, the object is 'rewinded' at its ++ * beginning as if it had never been accessed. If the JSON is malformed (e.g., ++ * there is a missing comma), then an error is returned and it is no longer ++ * safe to continue. ++ */ ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + /** + * Get the value at the given index in the array. This function has linear-time complexity. + * This function should only be called once as the array iterator is not reset between each call. +@@ -23078,6 +23418,68 @@ public: + */ + simdjson_really_inline simdjson_result type() noexcept; + ++ /** ++ * Checks whether the value is a scalar (string, number, null, Boolean). ++ * Returns false when there it is an array or object. ++ * ++ * @returns true if the type is string, number, null, Boolean ++ * @error TAPE_ERROR when the JSON value is a bad token like "}" "," or "alse". ++ */ ++ simdjson_really_inline simdjson_result is_scalar() noexcept; ++ ++ /** ++ * Checks whether the value is a negative number. ++ * ++ * @returns true if the number if negative. ++ */ ++ simdjson_really_inline bool is_negative() noexcept; ++ /** ++ * Checks whether the value is an integer number. Note that ++ * this requires to partially parse the number string. If ++ * the value is determined to be an integer, it may still ++ * not parse properly as an integer in subsequent steps ++ * (e.g., it might overflow). ++ * ++ * Performance note: if you call this function systematically ++ * before parsing a number, you may have fallen for a performance ++ * anti-pattern. ++ * ++ * @returns true if the number if negative. ++ */ ++ simdjson_really_inline simdjson_result is_integer() noexcept; ++ /** ++ * Attempt to parse an ondemand::number. An ondemand::number may ++ * contain an integer value or a floating-point value, the simdjson ++ * library will autodetect the type. Thus it is a dynamically typed ++ * number. Before accessing the value, you must determine the detected ++ * type. ++ * ++ * number.get_number_type() is number_type::signed_integer if we have ++ * a integer in [-9223372036854775808,9223372036854775808) ++ * You can recover the value by calling number.get_int64() and you ++ * have that number.is_int64() is true. ++ * ++ * number.get_number_type() is number_type::unsigned_integer if we have ++ * an integer in [9223372036854775808,18446744073709551616) ++ * You can recover the value by calling number.get_uint64() and you ++ * have that number.is_uint64() is true. ++ * ++ * Otherwise, number.get_number_type() has value number_type::floating_point_number ++ * and we have a binary64 number. ++ * You can recover the value by calling number.get_double() and you ++ * have that number.is_double() is true. ++ * ++ * You must check the type before accessing the value: it is an error ++ * to call "get_int64()" when number.get_number_type() is not ++ * number_type::signed_integer and when number.is_int64() is false. ++ * ++ * Performance note: this is designed with performance in mind. When ++ * calling 'get_number()', you scan the number string only once, determining ++ * efficiently the type and storing it in an efficient manner. ++ */ ++ simdjson_warn_unused simdjson_really_inline simdjson_result get_number() noexcept; ++ ++ + /** + * Get the raw JSON for this token. + * +@@ -23230,6 +23632,7 @@ public: + simdjson_really_inline operator bool() noexcept(false); + #endif + simdjson_really_inline simdjson_result count_elements() & noexcept; ++ simdjson_really_inline simdjson_result count_fields() & noexcept; + simdjson_really_inline simdjson_result at(size_t index) noexcept; + simdjson_really_inline simdjson_result begin() & noexcept; + simdjson_really_inline simdjson_result end() & noexcept; +@@ -23293,6 +23696,10 @@ public: + * let it throw an exception). + */ + simdjson_really_inline simdjson_result type() noexcept; ++ simdjson_really_inline simdjson_result is_scalar() noexcept; ++ simdjson_really_inline simdjson_result is_negative() noexcept; ++ simdjson_really_inline simdjson_result is_integer() noexcept; ++ simdjson_really_inline simdjson_result get_number() noexcept; + + /** @copydoc simdjson_really_inline std::string_view value::raw_json_token() const noexcept */ + simdjson_really_inline simdjson_result raw_json_token() noexcept; +@@ -23487,6 +23894,41 @@ public: + */ + inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; + ++ /** ++ * Reset the iterator so that we are pointing back at the ++ * beginning of the object. You should still consume values only once even if you ++ * can iterate through the object more than once. If you unescape a string within ++ * the object more than once, you have unsafe code. Note that rewinding an object ++ * means that you may need to reparse it anew: it is not a free operation. ++ * ++ * @returns true if the object contains some elements (not empty) ++ */ ++ inline simdjson_result reset() & noexcept; ++ /** ++ * This method scans the object and counts the number of fields. ++ * The count_fields method should always be called before you have begun ++ * iterating through the object: it is expected that you are pointing at ++ * the beginning of the object. ++ * The runtime complexity is linear in the size of the object. After ++ * calling this function, if successful, the object is 'rewinded' at its ++ * beginning as if it had never been accessed. If the JSON is malformed (e.g., ++ * there is a missing comma), then an error is returned and it is no longer ++ * safe to continue. ++ * ++ * To check that an object is empty, it is more performant to use ++ * the is_empty() method. ++ */ ++ simdjson_really_inline simdjson_result count_fields() & noexcept; ++ /** ++ * This method scans the beginning of the object and checks whether the ++ * object is empty. ++ * The runtime complexity is constant time. After ++ * calling this function, if successful, the object is 'rewinded' at its ++ * beginning as if it had never been accessed. If the JSON is malformed (e.g., ++ * there is a missing comma), then an error is returned and it is no longer ++ * safe to continue. ++ */ ++ inline simdjson_result is_empty() & noexcept; + /** + * Consumes the object and returns a string_view instance corresponding to the + * object as represented in JSON. It points inside the original byte array containg +@@ -23536,6 +23978,10 @@ public: + simdjson_really_inline simdjson_result operator[](std::string_view key) & noexcept; + simdjson_really_inline simdjson_result operator[](std::string_view key) && noexcept; + simdjson_really_inline simdjson_result at_pointer(std::string_view json_pointer) noexcept; ++ inline simdjson_result reset() noexcept; ++ inline simdjson_result is_empty() noexcept; ++ inline simdjson_result count_fields() noexcept; ++ + }; + + } // namespace simdjson +@@ -23665,6 +24111,9 @@ public: + * iteration to ensure intermediate buffers can be accessed. Any document must be destroyed before + * you call parse() again or destroy the parser. + * ++ * The ondemand::document instance holds the iterator. The document must remain in scope ++ * while you are accessing instances of ondemand::value, ondemand::object, ondemand::array. ++ * + * ### REQUIRED: Buffer Padding + * + * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +@@ -24330,12 +24779,93 @@ inline std::ostream& operator<<(std::ostream& out, json_type type) noexcept { + return out; + } + ++inline std::ostream& operator<<(std::ostream& out, number_type type) noexcept { ++ switch (type) { ++ case number_type::signed_integer: out << "integer in [-9223372036854775808,9223372036854775808)"; break; ++ case number_type::unsigned_integer: out << "unsigned integer in [9223372036854775808,18446744073709551616)"; break; ++ case number_type::floating_point_number: out << "floating-point number (binary64)"; break; ++ default: SIMDJSON_UNREACHABLE(); ++ } ++ return out; ++} + #if SIMDJSON_EXCEPTIONS + inline std::ostream& operator<<(std::ostream& out, simdjson_result &type) noexcept(false) { + return out << type.value(); + } + #endif + ++ ++ ++simdjson_really_inline number_type number::get_number_type() const noexcept { ++ return type; ++} ++ ++simdjson_really_inline bool number::is_uint64() const noexcept { ++ return get_number_type() == number_type::unsigned_integer; ++} ++ ++simdjson_really_inline uint64_t number::get_uint64() const noexcept { ++ return payload.unsigned_integer; ++} ++ ++simdjson_really_inline number::operator uint64_t() const noexcept { ++ return get_uint64(); ++} ++ ++ ++simdjson_really_inline bool number::is_int64() const noexcept { ++ return get_number_type() == number_type::signed_integer; ++} ++ ++simdjson_really_inline int64_t number::get_int64() const noexcept { ++ return payload.signed_integer; ++} ++ ++simdjson_really_inline number::operator int64_t() const noexcept { ++ return get_int64(); ++} ++ ++simdjson_really_inline bool number::is_double() const noexcept { ++ return get_number_type() == number_type::floating_point_number; ++} ++ ++simdjson_really_inline double number::get_double() const noexcept { ++ return payload.floating_point_number; ++} ++ ++simdjson_really_inline number::operator double() const noexcept { ++ return get_double(); ++} ++ ++simdjson_really_inline double number::as_double() const noexcept { ++ if(is_double()) { ++ return payload.floating_point_number; ++ } ++ if(is_int64()) { ++ return double(payload.signed_integer); ++ } ++ return double(payload.unsigned_integer); ++} ++ ++simdjson_really_inline void number::append_s64(int64_t value) noexcept { ++ payload.signed_integer = value; ++ type = number_type::signed_integer; ++} ++ ++simdjson_really_inline void number::append_u64(uint64_t value) noexcept { ++ payload.unsigned_integer = value; ++ type = number_type::unsigned_integer; ++} ++ ++simdjson_really_inline void number::append_double(double value) noexcept { ++ payload.floating_point_number = value; ++ type = number_type::floating_point_number; ++} ++ ++simdjson_really_inline void number::skip_double() noexcept { ++ type = number_type::floating_point_number; ++} ++ + } // namespace ondemand + } // namespace SIMDJSON_BUILTIN_IMPLEMENTATION + } // namespace simdjson +@@ -24949,6 +25479,10 @@ simdjson_really_inline token_position json_iterator::root_position() const noexc + return _root; + } + ++simdjson_really_inline void json_iterator::assert_at_document_depth() const noexcept { ++ SIMDJSON_ASSUME( _depth == 1 ); ++} ++ + simdjson_really_inline void json_iterator::assert_at_root() const noexcept { + SIMDJSON_ASSUME( _depth == 1 ); + #ifndef SIMDJSON_CLANG_VISUAL_STUDIO +@@ -24987,6 +25521,20 @@ inline std::string json_iterator::to_string() const noexcept { + + std::string(" ]"); + } + ++inline simdjson_result json_iterator::current_location() noexcept { ++ if (!is_alive()) { // Unrecoverable error ++ if (!at_root()) { ++ return reinterpret_cast(token.peek(-1)); ++ } else { ++ return reinterpret_cast(token.peek()); ++ } ++ } ++ if (at_end()) { ++ return OUT_OF_BOUNDS; ++ } ++ return reinterpret_cast(token.peek()); ++} ++ + simdjson_really_inline bool json_iterator::is_alive() const noexcept { + return parser; + } +@@ -25184,6 +25732,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator + // Note that adding a check for 'streaming' is not expensive since we only have at most + // one root element. + if (! _json_iter->streaming() && (*_json_iter->peek_last() != '}')) { ++ _json_iter->abandon(); + return report_error(INCOMPLETE_ARRAY_OR_OBJECT, "missing } at end"); + } + return started_object(); +@@ -25552,6 +26101,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator + // Note that adding a check for 'streaming' is not expensive since we only have at most + // one root element. + if ( ! _json_iter->streaming() && (*_json_iter->peek_last() != ']')) { ++ _json_iter->abandon(); + return report_error(INCOMPLETE_ARRAY_OR_OBJECT, "missing ] at end"); + } + return started_array(); +@@ -25596,37 +26146,37 @@ simdjson_warn_unused simdjson_really_inline simdjson_result val + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_uint64() noexcept { + auto result = numberparsing::parse_unsigned(peek_non_root_scalar("uint64")); +- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar("uint64"); } ++ if(result.error() == SUCCESS) { advance_non_root_scalar("uint64"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_uint64_in_string() noexcept { + auto result = numberparsing::parse_unsigned_in_string(peek_non_root_scalar("uint64")); +- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar("uint64"); } ++ if(result.error() == SUCCESS) { advance_non_root_scalar("uint64"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_int64() noexcept { + auto result = numberparsing::parse_integer(peek_non_root_scalar("int64")); +- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar("int64"); } ++ if(result.error() == SUCCESS) { advance_non_root_scalar("int64"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_int64_in_string() noexcept { + auto result = numberparsing::parse_integer_in_string(peek_non_root_scalar("int64")); +- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar("int64"); } ++ if(result.error() == SUCCESS) { advance_non_root_scalar("int64"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_double() noexcept { + auto result = numberparsing::parse_double(peek_non_root_scalar("double")); +- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar("double"); } ++ if(result.error() == SUCCESS) { advance_non_root_scalar("double"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_double_in_string() noexcept { + auto result = numberparsing::parse_double_in_string(peek_non_root_scalar("double")); +- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar("double"); } ++ if(result.error() == SUCCESS) { advance_non_root_scalar("double"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_bool() noexcept { + auto result = parse_bool(peek_non_root_scalar("bool")); +- if(result.error() != INCORRECT_TYPE) { advance_non_root_scalar("bool"); } ++ if(result.error() == SUCCESS) { advance_non_root_scalar("bool"); } + return result; + } + simdjson_really_inline bool value_iterator::is_null() noexcept { +@@ -25634,8 +26184,51 @@ simdjson_really_inline bool value_iterator::is_null() noexcept { + if(result) { advance_non_root_scalar("null"); } + return result; + } ++simdjson_really_inline bool value_iterator::is_negative() noexcept { ++ return numberparsing::is_negative(peek_non_root_scalar("numbersign")); ++} ++simdjson_really_inline bool value_iterator::is_root_negative() noexcept { ++ return numberparsing::is_negative(peek_root_scalar("numbersign")); ++} ++simdjson_really_inline simdjson_result value_iterator::is_integer() noexcept { ++ return numberparsing::is_integer(peek_non_root_scalar("integer")); ++} + +-constexpr const uint32_t MAX_INT_LENGTH = 1024; ++simdjson_really_inline simdjson_result value_iterator::get_number() noexcept { ++ number num; ++ error_code error = numberparsing::parse_number(peek_non_root_scalar("number"), num); ++ if(error) { return error; } ++ return num; ++} ++ ++ ++simdjson_really_inline simdjson_result value_iterator::is_root_integer() noexcept { ++ auto max_len = peek_start_length(); ++ auto json = peek_root_scalar("is_root_integer"); ++ uint8_t tmpbuf[20+1]; // <20 digits> is the longest possible unsigned integer ++ if (!_json_iter->copy_to_buffer(json, max_len, tmpbuf)) { ++ return false; // if there are more than 20 characters, it cannot be represented as an integer. ++ } ++ return numberparsing::is_integer(tmpbuf); ++} ++ ++simdjson_really_inline simdjson_result value_iterator::get_root_number() noexcept { ++ auto max_len = peek_start_length(); ++ auto json = peek_root_scalar("number"); ++ // Per https://www.exploringbinary.com/maximum-number-of-decimal-digits-in-binary-floating-point-numbers/, ++ // 1074 is the maximum number of significant fractional digits. Add 8 more digits for the biggest ++ // number: -0.e-308. ++ uint8_t tmpbuf[1074+8+1]; ++ if (!_json_iter->copy_to_buffer(json, max_len, tmpbuf)) { ++ logger::log_error(*_json_iter, start_position(), depth(), "Root number more than 1082 characters"); ++ return NUMBER_ERROR; ++ } ++ number num; ++ error_code error = numberparsing::parse_number(tmpbuf, num); ++ if(error) { return error; } ++ advance_root_scalar("number"); ++ return num; ++} + + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_string() noexcept { + return get_string(); +@@ -25652,7 +26245,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iter + return NUMBER_ERROR; + } + auto result = numberparsing::parse_unsigned(tmpbuf); +- if(result.error() != INCORRECT_TYPE) { advance_root_scalar("uint64"); } ++ if(result.error() == SUCCESS) { advance_root_scalar("uint64"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_uint64_in_string() noexcept { +@@ -25664,7 +26257,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iter + return NUMBER_ERROR; + } + auto result = numberparsing::parse_unsigned_in_string(tmpbuf); +- if(result.error() != INCORRECT_TYPE) { advance_root_scalar("uint64"); } ++ if(result.error() == SUCCESS) { advance_root_scalar("uint64"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_int64() noexcept { +@@ -25677,7 +26270,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_itera + } + + auto result = numberparsing::parse_integer(tmpbuf); +- if(result.error() != INCORRECT_TYPE) { advance_root_scalar("int64"); } ++ if(result.error() == SUCCESS) { advance_root_scalar("int64"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_int64_in_string() noexcept { +@@ -25690,7 +26283,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_itera + } + + auto result = numberparsing::parse_integer_in_string(tmpbuf); +- if(result.error() != INCORRECT_TYPE) { advance_root_scalar("int64"); } ++ if(result.error() == SUCCESS) { advance_root_scalar("int64"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_double() noexcept { +@@ -25705,9 +26298,10 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterat + return NUMBER_ERROR; + } + auto result = numberparsing::parse_double(tmpbuf); +- if(result.error() != INCORRECT_TYPE) { advance_root_scalar("double"); } ++ if(result.error() == SUCCESS) { advance_root_scalar("double"); } + return result; + } ++ + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_double_in_string() noexcept { + auto max_len = peek_start_length(); + auto json = peek_root_scalar("double"); +@@ -25720,7 +26314,7 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterat + return NUMBER_ERROR; + } + auto result = numberparsing::parse_double_in_string(tmpbuf); +- if(result.error() != INCORRECT_TYPE) { advance_root_scalar("double"); } ++ if(result.error() == SUCCESS) { advance_root_scalar("double"); } + return result; + } + simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator::get_root_bool() noexcept { +@@ -25728,13 +26322,14 @@ simdjson_warn_unused simdjson_really_inline simdjson_result value_iterator + auto json = peek_root_scalar("bool"); + uint8_t tmpbuf[5+1]; + if (!_json_iter->copy_to_buffer(json, max_len, tmpbuf)) { return incorrect_type_error("Not a boolean"); } +- advance_root_scalar("bool"); +- return parse_bool(tmpbuf); ++ auto result = parse_bool(tmpbuf); ++ if(result.error() == SUCCESS) { advance_root_scalar("bool"); } ++ return result; + } + simdjson_really_inline bool value_iterator::is_root_null() noexcept { + auto max_len = peek_start_length(); + auto json = peek_root_scalar("null"); +- auto result = (max_len >= 4 && !atomparsing::str4ncmp(json, "null") && ++ bool result = (max_len >= 4 && !atomparsing::str4ncmp(json, "null") && + (max_len == 4 || jsoncharutils::is_structural_or_whitespace(json[5]))); + if(result) { advance_root_scalar("null"); } + return result; +@@ -26317,6 +26912,17 @@ simdjson_really_inline simdjson_result array::count_elements() & noexcep + return count; + } + ++simdjson_really_inline simdjson_result array::is_empty() & noexcept { ++ bool is_not_empty; ++ auto error = iter.reset_array().get(is_not_empty); ++ if(error) { return error; } ++ return !is_not_empty; ++} ++ ++inline simdjson_result array::reset() & noexcept { ++ return iter.reset_array(); ++} ++ + inline simdjson_result array::at_pointer(std::string_view json_pointer) noexcept { + if (json_pointer[0] != '/') { return INVALID_JSON_POINTER; } + json_pointer = json_pointer.substr(1); +@@ -26395,6 +27001,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::is_empty() & noexcept { ++ if (error()) { return error(); } ++ return first.is_empty(); ++} + simdjson_really_inline simdjson_result simdjson_result::at(size_t index) noexcept { + if (error()) { return error(); } + return first.at(index); +@@ -26428,6 +27038,13 @@ inline std::string document::to_debug_string() noexcept { + return iter.to_string(); + } + ++inline simdjson_result document::current_location() noexcept { ++ return iter.current_location(); ++} ++ ++inline bool document::is_alive() noexcept { ++ return iter.is_alive(); ++} + simdjson_really_inline value_iterator document::resume_value_iterator() noexcept { + return value_iterator(&iter, 1, iter.root_position()); + } +@@ -26441,24 +27058,19 @@ simdjson_really_inline simdjson_result document::start_or_resume_object( + return object::resume(resume_value_iterator()); + } + } +-simdjson_really_inline simdjson_result document::get_value_unsafe() noexcept { ++simdjson_really_inline simdjson_result document::get_value() noexcept { + // Make sure we start any arrays or objects before returning, so that start_root_() + // gets called. ++ iter.assert_at_document_depth(); + switch (*iter.peek()) { +- case '[': { +- array result; +- SIMDJSON_TRY( get_array().get(result) ); +- return value(result.iter); +- } +- case '{': { +- object result; +- SIMDJSON_TRY( get_object().get(result) ); +- return value(result.iter); +- } +- default: +- // TODO it is still wrong to convert this to a value! get_root_bool / etc. will not be +- // called if you do this. ++ case '[': ++ case '{': + return value(get_root_value_iterator()); ++ default: ++ // Unfortunately, scalar documents are a special case in simdjson and they cannot ++ // be safely converted to value instances. ++ return SCALAR_DOCUMENT_AS_VALUE; ++ // return value(get_root_value_iterator()); + } + } + simdjson_really_inline simdjson_result document::get_array() & noexcept { +@@ -26508,6 +27120,7 @@ template<> simdjson_really_inline simdjson_result document::get() & noex + template<> simdjson_really_inline simdjson_result document::get() & noexcept { return get_uint64(); } + template<> simdjson_really_inline simdjson_result document::get() & noexcept { return get_int64(); } + template<> simdjson_really_inline simdjson_result document::get() & noexcept { return get_bool(); } ++template<> simdjson_really_inline simdjson_result document::get() & noexcept { return get_value(); } + + template<> simdjson_really_inline simdjson_result document::get() && noexcept { return get_raw_json_string(); } + template<> simdjson_really_inline simdjson_result document::get() && noexcept { return get_string(); } +@@ -26515,6 +27128,7 @@ template<> simdjson_really_inline simdjson_result document::get() && noe + template<> simdjson_really_inline simdjson_result document::get() && noexcept { return std::forward(*this).get_uint64(); } + template<> simdjson_really_inline simdjson_result document::get() && noexcept { return std::forward(*this).get_int64(); } + template<> simdjson_really_inline simdjson_result document::get() && noexcept { return std::forward(*this).get_bool(); } ++template<> simdjson_really_inline simdjson_result document::get() && noexcept { return get_value(); } + + template simdjson_really_inline error_code document::get(T &out) & noexcept { + return get().get(out); +@@ -26532,12 +27146,27 @@ simdjson_really_inline document::operator double() noexcept(false) { return get_ + simdjson_really_inline document::operator std::string_view() noexcept(false) { return get_string(); } + simdjson_really_inline document::operator raw_json_string() noexcept(false) { return get_raw_json_string(); } + simdjson_really_inline document::operator bool() noexcept(false) { return get_bool(); } ++simdjson_really_inline document::operator value() noexcept(false) { return get_value(); } ++ + #endif + simdjson_really_inline simdjson_result document::count_elements() & noexcept { + auto a = get_array(); + simdjson_result answer = a.count_elements(); + /* If there was an array, we are now left pointing at its first element. */ +- if(answer.error() == SUCCESS) { iter._depth -= 1 ; /* undoing the increment so we go back at the doc depth.*/ } ++ if(answer.error() == SUCCESS) { ++ iter._depth = 1 ; /* undoing the increment so we go back at the doc depth.*/ ++ iter.assert_at_document_depth(); ++ } ++ return answer; ++} ++simdjson_really_inline simdjson_result document::count_fields() & noexcept { ++ auto o = get_object(); ++ simdjson_result answer = o.count_fields(); ++ /* If there was an object, we are now left pointing at its first field. */ ++ if(answer.error() == SUCCESS) { ++ iter._depth = 1 ; /* undoing the increment so we go back at the doc depth.*/ ++ iter.assert_at_document_depth(); ++ } + return answer; + } + simdjson_really_inline simdjson_result document::at(size_t index) & noexcept { +@@ -26592,6 +27221,26 @@ simdjson_really_inline simdjson_result document::type() noexcept { + return get_root_value_iterator().type(); + } + ++simdjson_really_inline simdjson_result document::is_scalar() noexcept { ++ json_type this_type; ++ auto error = type().get(this_type); ++ if(error) { return error; } ++ return ! ((this_type == json_type::array) || (this_type == json_type::object)); ++} ++ ++simdjson_really_inline bool document::is_negative() noexcept { ++ return get_root_value_iterator().is_root_negative(); ++} ++ ++simdjson_really_inline simdjson_result document::is_integer() noexcept { ++ return get_root_value_iterator().is_root_integer(); ++} ++ ++simdjson_really_inline simdjson_result document::get_number() noexcept { ++ return get_root_value_iterator().get_root_number(); ++} ++ ++ + simdjson_really_inline simdjson_result document::raw_json_token() noexcept { + auto _iter = get_root_value_iterator(); + return std::string_view(reinterpret_cast(_iter.peek_start()), _iter.peek_start_length()); +@@ -26600,7 +27249,7 @@ simdjson_really_inline simdjson_result document::raw_json_toke + simdjson_really_inline simdjson_result document::at_pointer(std::string_view json_pointer) noexcept { + rewind(); // Rewind the document each time at_pointer is called + if (json_pointer.empty()) { +- return this->get_value_unsafe(); ++ return this->get_value(); + } + json_type t; + SIMDJSON_TRY(type().get(t)); +@@ -26641,6 +27290,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept { ++ if (error()) { return error(); } ++ return first.count_fields(); ++} + simdjson_really_inline simdjson_result simdjson_result::at(size_t index) & noexcept { + if (error()) { return error(); } + return first.at(index); +@@ -26713,6 +27366,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::get_value() noexcept { ++ if (error()) { return error(); } ++ return first.get_value(); ++} + simdjson_really_inline bool simdjson_result::is_null() noexcept { + if (error()) { return error(); } + return first.is_null(); +@@ -26756,6 +27413,28 @@ simdjson_really_inline simdjson_result simdjson_result::is_scalar() noexcept { ++ if (error()) { return error(); } ++ return first.is_scalar(); ++} ++ ++ ++simdjson_really_inline bool simdjson_result::is_negative() noexcept { ++ if (error()) { return error(); } ++ return first.is_negative(); ++} ++ ++simdjson_really_inline simdjson_result simdjson_result::is_integer() noexcept { ++ if (error()) { return error(); } ++ return first.is_integer(); ++} ++ ++simdjson_really_inline simdjson_result simdjson_result::get_number() noexcept { ++ if (error()) { return error(); } ++ return first.get_number(); ++} ++ ++ + #if SIMDJSON_EXCEPTIONS + simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::array() & noexcept(false) { + if (error()) { throw simdjson_error(error()); } +@@ -26789,8 +27468,18 @@ simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::value() noexcept(false) { ++ if (error()) { throw simdjson_error(error()); } ++ return first; ++} + #endif + ++ ++simdjson_really_inline simdjson_result simdjson_result::current_location() noexcept { ++ if (error()) { return error(); } ++ return first.current_location(); ++} ++ + simdjson_really_inline simdjson_result simdjson_result::raw_json_token() noexcept { + if (error()) { return error(); } + return first.raw_json_token(); +@@ -26820,6 +27509,7 @@ simdjson_really_inline simdjson_result document_reference::get_double() + simdjson_really_inline simdjson_result document_reference::get_string() noexcept { return doc->get_string(); } + simdjson_really_inline simdjson_result document_reference::get_raw_json_string() noexcept { return doc->get_raw_json_string(); } + simdjson_really_inline simdjson_result document_reference::get_bool() noexcept { return doc->get_bool(); } ++simdjson_really_inline simdjson_result document_reference::get_value() noexcept { return doc->get_value(); } + simdjson_really_inline bool document_reference::is_null() noexcept { return doc->is_null(); } + + #if SIMDJSON_EXCEPTIONS +@@ -26831,8 +27521,10 @@ simdjson_really_inline document_reference::operator double() noexcept(false) { r + simdjson_really_inline document_reference::operator std::string_view() noexcept(false) { return std::string_view(*doc); } + simdjson_really_inline document_reference::operator raw_json_string() noexcept(false) { return raw_json_string(*doc); } + simdjson_really_inline document_reference::operator bool() noexcept(false) { return bool(*doc); } ++simdjson_really_inline document_reference::operator value() noexcept(false) { return value(*doc); } + #endif + simdjson_really_inline simdjson_result document_reference::count_elements() & noexcept { return doc->count_elements(); } ++simdjson_really_inline simdjson_result document_reference::count_fields() & noexcept { return doc->count_fields(); } + simdjson_really_inline simdjson_result document_reference::at(size_t index) & noexcept { return doc->at(index); } + simdjson_really_inline simdjson_result document_reference::begin() & noexcept { return doc->begin(); } + simdjson_really_inline simdjson_result document_reference::end() & noexcept { return doc->end(); } +@@ -26842,8 +27534,12 @@ simdjson_really_inline simdjson_result document_reference::operator[](std + simdjson_really_inline simdjson_result document_reference::operator[](const char *key) & noexcept { return (*doc)[key]; } + simdjson_really_inline simdjson_result document_reference::find_field_unordered(std::string_view key) & noexcept { return doc->find_field_unordered(key); } + simdjson_really_inline simdjson_result document_reference::find_field_unordered(const char *key) & noexcept { return doc->find_field_unordered(key); } +- + simdjson_really_inline simdjson_result document_reference::type() noexcept { return doc->type(); } ++simdjson_really_inline simdjson_result document_reference::is_scalar() noexcept { return doc->is_scalar(); } ++simdjson_really_inline simdjson_result document_reference::current_location() noexcept { return doc->current_location(); }; ++simdjson_really_inline bool document_reference::is_negative() noexcept { return doc->is_negative(); } ++simdjson_really_inline simdjson_result document_reference::is_integer() noexcept { return doc->is_integer(); } ++simdjson_really_inline simdjson_result document_reference::get_number() noexcept { return doc->get_number(); } + simdjson_really_inline simdjson_result document_reference::raw_json_token() noexcept { return doc->raw_json_token(); } + simdjson_really_inline simdjson_result document_reference::at_pointer(std::string_view json_pointer) noexcept { return doc->at_pointer(json_pointer); } + simdjson_really_inline simdjson_result document_reference::raw_json() noexcept { return doc->raw_json();} +@@ -26864,6 +27560,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept { ++ if (error()) { return error(); } ++ return first.count_fields(); ++} + simdjson_really_inline simdjson_result simdjson_result::at(size_t index) & noexcept { + if (error()) { return error(); } + return first.at(index); +@@ -26936,6 +27636,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::get_value() noexcept { ++ if (error()) { return error(); } ++ return first.get_value(); ++} + simdjson_really_inline bool simdjson_result::is_null() noexcept { + if (error()) { return error(); } + return first.is_null(); +@@ -26944,7 +27648,22 @@ simdjson_really_inline simdjson_result simdjson_result::is_scalar() noexcept { ++ if (error()) { return error(); } ++ return first.is_scalar(); ++} ++simdjson_really_inline bool simdjson_result::is_negative() noexcept { ++ if (error()) { return error(); } ++ return first.is_negative(); ++} ++simdjson_really_inline simdjson_result simdjson_result::is_integer() noexcept { ++ if (error()) { return error(); } ++ return first.is_integer(); ++} ++simdjson_really_inline simdjson_result simdjson_result::get_number() noexcept { ++ if (error()) { return error(); } ++ return first.get_number(); ++} + #if SIMDJSON_EXCEPTIONS + simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::array() & noexcept(false) { + if (error()) { throw simdjson_error(error()); } +@@ -26978,8 +27697,17 @@ simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::value() noexcept(false) { ++ if (error()) { throw simdjson_error(error()); } ++ return first; ++} + #endif + ++simdjson_really_inline simdjson_result simdjson_result::current_location() noexcept { ++ if (error()) { return error(); } ++ return first.current_location(); ++} ++ + simdjson_really_inline simdjson_result simdjson_result::raw_json_token() noexcept { + if (error()) { return error(); } + return first.raw_json_token(); +@@ -27110,6 +27838,16 @@ simdjson_really_inline simdjson_result value::count_elements() & noexcep + iter.move_at_start(); + return answer; + } ++simdjson_really_inline simdjson_result value::count_fields() & noexcept { ++ simdjson_result answer; ++ auto o = get_object(); ++ answer = o.count_fields(); ++ // count_fields leaves you pointing inside the object, at the first field. ++ // We need to move back so that the user can create a new object (which requires that ++ // we point at '{'). ++ iter.move_at_start(); ++ return answer; ++} + simdjson_really_inline simdjson_result value::at(size_t index) noexcept { + auto a = get_array(); + return a.at(index); +@@ -27140,6 +27878,24 @@ simdjson_really_inline simdjson_result value::type() noexcept { + return iter.type(); + } + ++simdjson_really_inline simdjson_result value::is_scalar() noexcept { ++ json_type this_type; ++ auto error = type().get(this_type); ++ if(error) { return error; } ++ return ! ((this_type == json_type::array) || (this_type == json_type::object)); ++} ++ ++simdjson_really_inline bool value::is_negative() noexcept { ++ return iter.is_negative(); ++} ++ ++simdjson_really_inline simdjson_result value::is_integer() noexcept { ++ return iter.is_integer(); ++} ++simdjson_warn_unused simdjson_really_inline simdjson_result value::get_number() noexcept { ++ return iter.get_number(); ++} ++ + simdjson_really_inline std::string_view value::raw_json_token() noexcept { + return std::string_view(reinterpret_cast(iter.peek_start()), iter.peek_start_length()); + } +@@ -27182,6 +27938,10 @@ simdjson_really_inline simdjson_result simdjson_result simdjson_result::count_fields() & noexcept { ++ if (error()) { return error(); } ++ return first.count_fields(); ++} + simdjson_really_inline simdjson_result simdjson_result::at(size_t index) noexcept { + if (error()) { return error(); } + return first.at(index); +@@ -27294,7 +28054,22 @@ simdjson_really_inline simdjson_result simdjson_result::is_scalar() noexcept { ++ if (error()) { return error(); } ++ return first.is_scalar(); ++} ++simdjson_really_inline simdjson_result simdjson_result::is_negative() noexcept { ++ if (error()) { return error(); } ++ return first.is_negative(); ++} ++simdjson_really_inline simdjson_result simdjson_result::is_integer() noexcept { ++ if (error()) { return error(); } ++ return first.is_integer(); ++} ++simdjson_really_inline simdjson_result simdjson_result::get_number() noexcept { ++ if (error()) { return error(); } ++ return first.get_number(); ++} + #if SIMDJSON_EXCEPTIONS + simdjson_really_inline simdjson_result::operator SIMDJSON_BUILTIN_IMPLEMENTATION::ondemand::array() noexcept(false) { + if (error()) { throw simdjson_error(error()); } +@@ -27564,6 +28339,26 @@ inline simdjson_result object::at_pointer(std::string_view json_pointer) + return child; + } + ++ ++simdjson_really_inline simdjson_result object::count_fields() & noexcept { ++ size_t count{0}; ++ for(simdjson_unused auto v : *this) { count++; } ++ if(iter.error()) { return iter.error(); } ++ iter.reset_object(); ++ return count; ++} ++ ++simdjson_really_inline simdjson_result object::is_empty() & noexcept { ++ bool is_not_empty; ++ auto error = iter.reset_object().get(is_not_empty); ++ if(error) { return error; } ++ return !is_not_empty; ++} ++ ++simdjson_really_inline simdjson_result object::reset() & noexcept { ++ return iter.reset_object(); ++} ++ + } // namespace ondemand + } // namespace SIMDJSON_BUILTIN_IMPLEMENTATION + } // namespace simdjson +@@ -27613,6 +28408,21 @@ simdjson_really_inline simdjson_result simdjson_result::reset() noexcept { ++ if (error()) { return error(); } ++ return first.reset(); ++} ++ ++inline simdjson_result simdjson_result::is_empty() noexcept { ++ if (error()) { return error(); } ++ return first.is_empty(); ++} ++ ++inline simdjson_result simdjson_result::count_fields() noexcept { ++ if (error()) { return error(); } ++ return first.count_fields(); ++} ++ + } // namespace simdjson + /* end file include/simdjson/generic/ondemand/object-inl.h */ + /* begin file include/simdjson/generic/ondemand/parser-inl.h */ diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/report.json new file mode 100644 index 000000000..3b2be127b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1712/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 1712, "valid": true, "error_msg": "", "fixed_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_assert_out_of_order_values": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_assert_out_of_order_values": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 93, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 93, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "basictests", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "ondemand_error_location_tests", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "ondemand_number_in_string_tests", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/fix-patch-run.log new file mode 100644 index 000000000..f20826f2e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/fix-patch-run.log @@ -0,0 +1,1055 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 2s (5751 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (9773 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3115 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (18.8 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (2572 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.uFSe4jiM +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.uFSe4jiM/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.uFSe4jiM/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.uFSe4jiM/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.uFSe4jiM/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.uFSe4jiM/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.uFSe4jiM +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=99d050837588 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.gMIwqdIV1G/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/ondemand/ondemand_misc_tests.cpp +patching file singleheader/simdjson.cpp +patching file src/generic/stage2/stringparsing.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@f91b6b4) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git version: v2.2.2-7-gd4ac1b51-dirty normalized to 2.2.2.7 +-- Version: 2.2.2.7 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC +-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.10.5) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@f54b0e4) +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@c385651) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 1%] Linking CXX static library libsimdjson.a +[ 1%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 1%] Linking C static library libcjson.a +[ 1%] Built target cjson +Scanning dependencies of target boostjson +[ 1%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 2%] Linking CXX static library libboostjson.a +[ 2%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 4%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 4%] Linking CXX static library libjsoncpp.a +[ 4%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 5%] Linking C static library libujson4c.a +[ 5%] Built target ujson4c +Scanning dependencies of target fastjson +[ 5%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 5%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 6%] Linking CXX static library libfastjson.a +[ 6%] Built target fastjson +Scanning dependencies of target gason +[ 8%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 8%] Linking CXX static library libgason.a +[ 8%] Built target gason +Scanning dependencies of target yyjson +[ 8%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 9%] Linking C static library libyyjson.a +[ 9%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 10%] Linking C static library libjsmn.a +[ 10%] Built target jsmn +Scanning dependencies of target json11 +[ 10%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 12%] Linking CXX static library libjson11.a +[ 12%] Built target json11 +Scanning dependencies of target benchmark +[ 12%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 12%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/perf_counters.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 21%] Linking CXX static library libbenchmark.a +[ 21%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 22%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 22%] Linking CXX static library libbenchmark_main.a +[ 22%] Built target benchmark_main +Scanning dependencies of target minify +[ 24%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 24%] Linking CXX executable minify +[ 24%] Built target minify +Scanning dependencies of target jsonpointer +[ 24%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 25%] Linking CXX executable jsonpointer +[ 25%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 25%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 26%] Linking CXX executable jsonstats +[ 26%] Built target jsonstats +Scanning dependencies of target json2json +[ 26%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 28%] Linking CXX executable json2json +[ 28%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 28%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 28%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 28%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 28%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +timestamp is 2022-09-27 23:22:47 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Creating /home/simdjson/build/singleheader/simdjson.cpp +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 170 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 2734 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 661643 Jul 14 01:42 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 1261428 Jul 14 01:42 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +[ 28%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 28%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 29%] Linking CXX executable amalgamate_demo +[ 29%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 29%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 30%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 30%] Linking CXX executable unicode_tests +[ 30%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 30%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 32%] Linking CXX executable checkimplementation +[ 32%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 32%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 33%] Linking CXX executable minify_tests +[ 33%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 34%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 34%] Linking CXX executable padded_string_tests +[ 34%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 36%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 36%] Linking CXX executable pointercheck +[ 36%] Built target pointercheck +Scanning dependencies of target document_tests +[ 36%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 36%] Linking CXX executable document_tests +[ 36%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 36%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 37%] Linking CXX executable numberparsingcheck +[ 37%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 37%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 38%] Linking CXX executable basictests +[ 38%] Built target basictests +Scanning dependencies of target integer_tests +[ 38%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 40%] Linking CXX executable integer_tests +[ 40%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 40%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 40%] Linking CXX executable jsoncheck +[ 40%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 40%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 41%] Linking CXX executable document_stream_tests +[ 41%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 41%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 41%] Linking CXX executable minefieldcheck +[ 41%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 41%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 42%] Linking CXX executable parse_many_test +[ 42%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 44%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 44%] Linking CXX executable random_string_number_tests +[ 44%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 44%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 44%] Linking CXX executable trivially_copyable_test +[ 44%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 44%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 45%] Linking CXX executable extracting_values_example +[ 45%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 45%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 46%] Linking CXX executable stringparsingcheck +[ 46%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 48%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 48%] Linking CXX executable errortests +[ 48%] Built target errortests +Scanning dependencies of target ondemand_object_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 48%] Linking CXX executable ondemand_object_error_tests +[ 48%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 49%] Linking CXX executable ondemand_misc_tests +[ 49%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 49%] Linking CXX executable ondemand_wrong_type_error_tests +[ 49%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_error_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 50%] Linking CXX executable ondemand_error_tests +[ 50%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 50%] Linking CXX executable ondemand_compilation_tests +[ 50%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_array_error_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 52%] Linking CXX executable ondemand_array_error_tests +[ 52%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_key_string_tests +[ 53%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +[ 53%] Linking CXX executable ondemand_key_string_tests +[ 53%] Built target ondemand_key_string_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 53%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 53%] Linking CXX executable ondemand_json_pointer_tests +[ 53%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_array_tests +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 54%] Linking CXX executable ondemand_array_tests +[ 54%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_active_tests +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 54%] Linking CXX executable ondemand_active_tests +[ 54%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_document_stream_tests +[ 56%] Building CXX object tests/ondemand/CMakeFiles/ondemand_document_stream_tests.dir/ondemand_document_stream_tests.cpp.o +[ 56%] Linking CXX executable ondemand_document_stream_tests +[ 56%] Built target ondemand_document_stream_tests +Scanning dependencies of target ondemand_object_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 57%] Linking CXX executable ondemand_object_tests +[ 57%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_tostring_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 58%] Linking CXX executable ondemand_tostring_tests +[ 58%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_number_in_string_tests +[ 58%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o +[ 60%] Linking CXX executable ondemand_number_in_string_tests +[ 60%] Built target ondemand_number_in_string_tests +Scanning dependencies of target ondemand_ordering_tests +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 61%] Linking CXX executable ondemand_ordering_tests +[ 61%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_error_location_tests +[ 62%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/ondemand_error_location_tests.cpp.o +[ 62%] Linking CXX executable ondemand_error_location_tests +[ 62%] Built target ondemand_error_location_tests +Scanning dependencies of target ondemand_readme_examples +[ 62%] Building CXX object tests/ondemand/CMakeFiles/ondemand_readme_examples.dir/ondemand_readme_examples.cpp.o +[ 62%] Linking CXX executable ondemand_readme_examples +[ 62%] Built target ondemand_readme_examples +Scanning dependencies of target ondemand_number_tests +[ 62%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_tests.dir/ondemand_number_tests.cpp.o +[ 64%] Linking CXX executable ondemand_number_tests +[ 64%] Built target ondemand_number_tests +Scanning dependencies of target ondemand_parse_api_tests +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_parse_api_tests.dir/ondemand_parse_api_tests.cpp.o +[ 65%] Linking CXX executable ondemand_parse_api_tests +[ 65%] Built target ondemand_parse_api_tests +Scanning dependencies of target ondemand_twitter_tests +[ 65%] Building CXX object tests/ondemand/CMakeFiles/ondemand_twitter_tests.dir/ondemand_twitter_tests.cpp.o +[ 66%] Linking CXX executable ondemand_twitter_tests +[ 66%] Built target ondemand_twitter_tests +Scanning dependencies of target ondemand_scalar_tests +[ 68%] Building CXX object tests/ondemand/CMakeFiles/ondemand_scalar_tests.dir/ondemand_scalar_tests.cpp.o +[ 68%] Linking CXX executable ondemand_scalar_tests +[ 68%] Built target ondemand_scalar_tests +Scanning dependencies of target ondemand_assert_out_of_order_values +[ 68%] Building CXX object tests/ondemand/CMakeFiles/ondemand_assert_out_of_order_values.dir/ondemand_assert_out_of_order_values.cpp.o +[ 69%] Linking CXX executable ondemand_assert_out_of_order_values +[ 69%] Built target ondemand_assert_out_of_order_values +Scanning dependencies of target benchfeatures +[ 69%] Building CXX object benchmark/CMakeFiles/benchfeatures.dir/benchfeatures.cpp.o +[ 70%] Linking CXX executable benchfeatures +[ 70%] Built target benchfeatures +Scanning dependencies of target get_corpus_benchmark +[ 72%] Building CXX object benchmark/CMakeFiles/get_corpus_benchmark.dir/get_corpus_benchmark.cpp.o +[ 72%] Linking CXX executable get_corpus_benchmark +[ 72%] Built target get_corpus_benchmark +Scanning dependencies of target bench_parse_call +[ 73%] Building CXX object benchmark/CMakeFiles/bench_parse_call.dir/bench_parse_call.cpp.o +[ 73%] Linking CXX executable bench_parse_call +[ 73%] Built target bench_parse_call +Scanning dependencies of target bench_dom_api +[ 73%] Building CXX object benchmark/CMakeFiles/bench_dom_api.dir/bench_dom_api.cpp.o +[ 73%] Linking CXX executable bench_dom_api +[ 73%] Built target bench_dom_api +Scanning dependencies of target bench_ondemand +[ 74%] Building CXX object benchmark/CMakeFiles/bench_ondemand.dir/bench_ondemand.cpp.o +[ 74%] Linking CXX executable bench_ondemand +[ 74%] Built target bench_ondemand +Scanning dependencies of target perfdiff +[ 74%] Building CXX object benchmark/dom/CMakeFiles/perfdiff.dir/perfdiff.cpp.o +[ 74%] Linking CXX executable perfdiff +[ 74%] Built target perfdiff +Scanning dependencies of target parse_noutf8validation +[ 76%] Building CXX object benchmark/dom/CMakeFiles/parse_noutf8validation.dir/parse.cpp.o +[ 76%] Linking CXX executable parse_noutf8validation +[ 76%] Built target parse_noutf8validation +Scanning dependencies of target parse +[ 76%] Building CXX object benchmark/dom/CMakeFiles/parse.dir/parse.cpp.o +[ 77%] Linking CXX executable parse +[ 77%] Built target parse +Scanning dependencies of target parse_stream +[ 77%] Building CXX object benchmark/dom/CMakeFiles/parse_stream.dir/parse_stream.cpp.o +[ 78%] Linking CXX executable parse_stream +[ 78%] Built target parse_stream +Scanning dependencies of target statisticalmodel +[ 78%] Building CXX object benchmark/dom/CMakeFiles/statisticalmodel.dir/statisticalmodel.cpp.o +[ 80%] Linking CXX executable statisticalmodel +[ 80%] Built target statisticalmodel +Scanning dependencies of target parse_nonumberparsing +[ 80%] Building CXX object benchmark/dom/CMakeFiles/parse_nonumberparsing.dir/parse.cpp.o +[ 80%] Linking CXX executable parse_nonumberparsing +[ 80%] Built target parse_nonumberparsing +Scanning dependencies of target parse_nostringparsing +[ 81%] Building CXX object benchmark/dom/CMakeFiles/parse_nostringparsing.dir/parse.cpp.o +[ 81%] Linking CXX executable parse_nostringparsing +[ 81%] Built target parse_nostringparsing +Scanning dependencies of target fuzz_print_json +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/fuzz_print_json.cpp.o +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/main.cpp.o +[ 82%] Linking CXX executable fuzz_print_json +[ 82%] Built target fuzz_print_json +Scanning dependencies of target fuzz_padded +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/fuzz_padded.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/main.cpp.o +[ 84%] Linking CXX executable fuzz_padded +[ 84%] Built target fuzz_padded +Scanning dependencies of target fuzz_dump +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/fuzz_dump.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/main.cpp.o +[ 85%] Linking CXX executable fuzz_dump +[ 85%] Built target fuzz_dump +Scanning dependencies of target fuzz_minifyimpl +[ 86%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/fuzz_minifyimpl.cpp.o +[ 86%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/main.cpp.o +[ 88%] Linking CXX executable fuzz_minifyimpl +[ 88%] Built target fuzz_minifyimpl +Scanning dependencies of target fuzz_element +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/fuzz_element.cpp.o +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/main.cpp.o +[ 89%] Linking CXX executable fuzz_element +[ 89%] Built target fuzz_element +Scanning dependencies of target fuzz_ondemand +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/fuzz_ondemand.cpp.o +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/main.cpp.o +[ 90%] Linking CXX executable fuzz_ondemand +[ 90%] Built target fuzz_ondemand +Scanning dependencies of target fuzz_utf8 +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/fuzz_utf8.cpp.o +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/main.cpp.o +[ 92%] Linking CXX executable fuzz_utf8 +[ 92%] Built target fuzz_utf8 +Scanning dependencies of target fuzz_implementations +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/fuzz_implementations.cpp.o +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/main.cpp.o +[ 93%] Linking CXX executable fuzz_implementations +[ 93%] Built target fuzz_implementations +Scanning dependencies of target fuzz_parser +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/fuzz_parser.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/main.cpp.o +[ 94%] Linking CXX executable fuzz_parser +[ 94%] Built target fuzz_parser +Scanning dependencies of target fuzz_atpointer +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/fuzz_atpointer.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/main.cpp.o +[ 96%] Linking CXX executable fuzz_atpointer +[ 96%] Built target fuzz_atpointer +Scanning dependencies of target fuzz_dump_raw_tape +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/fuzz_dump_raw_tape.cpp.o +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/main.cpp.o +[ 97%] Linking CXX executable fuzz_dump_raw_tape +[ 97%] Built target fuzz_dump_raw_tape +Scanning dependencies of target fuzz_minify +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/fuzz_minify.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/main.cpp.o +[ 98%] Linking CXX executable fuzz_minify +[ 98%] Built target fuzz_minify +Scanning dependencies of target fuzz_ndjson +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/fuzz_ndjson.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/main.cpp.o +[100%] Linking CXX executable fuzz_ndjson +[100%] Built target fuzz_ndjson +Test project /home/simdjson/build + Start 1: avoid_abort + 1/93 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/93 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/93 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/93 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/93 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/93 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/93 Test #7: amalgamate_demo ...................................... Passed 0.00 sec + Start 8: simdjson-singleheader + 8/93 Test #8: simdjson-singleheader ................................ Passed 6.62 sec + Start 9: amalgamate_demo_direct_from_repository + 9/93 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 10: unicode_tests +10/93 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +11/93 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/93 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: checkimplementation +13/93 Test #13: checkimplementation .................................. Passed 0.00 sec + Start 14: random_string_number_tests +14/93 Test #14: random_string_number_tests ........................... Passed 1.01 sec + Start 15: basictests +15/93 Test #15: basictests ........................................... Passed 0.01 sec + Start 16: document_stream_tests +16/93 Test #16: document_stream_tests ................................ Passed 0.26 sec + Start 17: document_tests +17/93 Test #17: document_tests ....................................... Passed 0.00 sec + Start 18: errortests +18/93 Test #18: errortests ........................................... Passed 0.00 sec + Start 19: extracting_values_example +19/93 Test #19: extracting_values_example ............................ Passed 0.00 sec + Start 20: integer_tests +20/93 Test #20: integer_tests ........................................ Passed 0.00 sec + Start 21: jsoncheck +21/93 Test #21: jsoncheck ............................................ Passed 0.00 sec + Start 22: minefieldcheck +22/93 Test #22: minefieldcheck ....................................... Passed 0.01 sec + Start 23: numberparsingcheck +23/93 Test #23: numberparsingcheck ................................... Passed 0.03 sec + Start 24: parse_many_test +24/93 Test #24: parse_many_test ...................................... Passed 0.00 sec + Start 25: pointercheck +25/93 Test #25: pointercheck ......................................... Passed 0.00 sec + Start 26: stringparsingcheck +26/93 Test #26: stringparsingcheck ................................... Passed 0.04 sec + Start 27: trivially_copyable_test +27/93 Test #27: trivially_copyable_test .............................. Passed 0.00 sec + Start 29: json2json +28/93 Test #29: json2json ............................................ Passed 0.01 sec + Start 28: testjson2json +29/93 Test #28: testjson2json ........................................ Passed 0.71 sec + Start 30: simdjson_force_implementation_error +30/93 Test #30: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 31: readme_examples +31/93 Test #31: readme_examples ...................................... Passed 3.39 sec + Start 32: readme_examples11 +32/93 Test #32: readme_examples11 .................................... Passed 3.39 sec + Start 33: readme_examples_noexceptions +33/93 Test #33: readme_examples_noexceptions ......................... Passed 2.44 sec + Start 34: readme_examples_noexceptions11 +34/93 Test #34: readme_examples_noexceptions11 ....................... Passed 2.22 sec + Start 35: readme_examples_will_fail_with_exceptions_off +35/93 Test #35: readme_examples_will_fail_with_exceptions_off ........ Passed 1.60 sec + Start 36: ondemand_tostring_tests +36/93 Test #36: ondemand_tostring_tests .............................. Passed 0.01 sec + Start 37: ondemand_active_tests +37/93 Test #37: ondemand_active_tests ................................ Passed 0.00 sec + Start 38: ondemand_array_tests +38/93 Test #38: ondemand_array_tests ................................. Passed 0.00 sec + Start 39: ondemand_array_error_tests +39/93 Test #39: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 40: ondemand_compilation_tests +40/93 Test #40: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 41: ondemand_document_stream_tests +41/93 Test #41: ondemand_document_stream_tests ....................... Passed 0.03 sec + Start 42: ondemand_error_tests +42/93 Test #42: ondemand_error_tests ................................. Passed 0.00 sec + Start 43: ondemand_error_location_tests +43/93 Test #43: ondemand_error_location_tests ........................ Passed 0.00 sec + Start 44: ondemand_json_pointer_tests +44/93 Test #44: ondemand_json_pointer_tests .......................... Passed 0.00 sec + Start 45: ondemand_key_string_tests +45/93 Test #45: ondemand_key_string_tests ............................ Passed 0.00 sec + Start 46: ondemand_misc_tests +46/93 Test #46: ondemand_misc_tests .................................. Passed 0.00 sec + Start 47: ondemand_number_tests +47/93 Test #47: ondemand_number_tests ................................ Passed 0.01 sec + Start 48: ondemand_number_in_string_tests +48/93 Test #48: ondemand_number_in_string_tests ...................... Passed 0.00 sec + Start 49: ondemand_object_tests +49/93 Test #49: ondemand_object_tests ................................ Passed 0.00 sec + Start 50: ondemand_object_error_tests +50/93 Test #50: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 51: ondemand_ordering_tests +51/93 Test #51: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 52: ondemand_parse_api_tests +52/93 Test #52: ondemand_parse_api_tests ............................. Passed 0.00 sec + Start 53: ondemand_readme_examples +53/93 Test #53: ondemand_readme_examples ............................. Passed 0.00 sec + Start 54: ondemand_scalar_tests +54/93 Test #54: ondemand_scalar_tests ................................ Passed 0.00 sec + Start 55: ondemand_twitter_tests +55/93 Test #55: ondemand_twitter_tests ............................... Passed 0.00 sec + Start 56: ondemand_wrong_type_error_tests +56/93 Test #56: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 57: ondemand_assert_out_of_order_values +57/93 Test #57: ondemand_assert_out_of_order_values .................. Passed 0.00 sec + Start 58: iterate_char_star_should_compile +58/93 Test #58: iterate_char_star_should_compile ..................... Passed 1.72 sec + Start 59: iterate_char_star_should_not_compile +59/93 Test #59: iterate_char_star_should_not_compile ................. Passed 1.62 sec + Start 60: iterate_string_view_should_compile +60/93 Test #60: iterate_string_view_should_compile ................... Passed 1.87 sec + Start 61: iterate_string_view_should_not_compile +61/93 Test #61: iterate_string_view_should_not_compile ............... Passed 1.53 sec + Start 62: iterate_temporary_buffer_should_compile +62/93 Test #62: iterate_temporary_buffer_should_compile .............. Passed 1.74 sec + Start 63: iterate_temporary_buffer_should_not_compile +63/93 Test #63: iterate_temporary_buffer_should_not_compile .......... Passed 1.57 sec + Start 64: first_second_access_should_compile +64/93 Test #64: first_second_access_should_compile ................... Passed 2.06 sec + Start 65: first_second_access_should_not_compile +65/93 Test #65: first_second_access_should_not_compile ............... Passed 1.65 sec + Start 66: example_compiletest_should_compile +66/93 Test #66: example_compiletest_should_compile ................... Passed 0.27 sec + Start 67: example_compiletest_should_not_compile +67/93 Test #67: example_compiletest_should_not_compile ............... Passed 0.17 sec + Start 68: bad_array_count_should_compile +68/93 Test #68: bad_array_count_should_compile ....................... Passed 1.91 sec + Start 69: bad_array_count_should_not_compile +69/93 Test #69: bad_array_count_should_not_compile ................... Passed 1.59 sec + Start 70: dangling_parser_load_should_compile +70/93 Test #70: dangling_parser_load_should_compile .................. Passed 2.04 sec + Start 71: dangling_parser_load_should_not_compile +71/93 Test #71: dangling_parser_load_should_not_compile .............. Passed 1.59 sec + Start 72: dangling_parser_parse_uint8_should_compile +72/93 Test #72: dangling_parser_parse_uint8_should_compile ........... Passed 2.02 sec + Start 73: dangling_parser_parse_uint8_should_not_compile +73/93 Test #73: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.59 sec + Start 74: dangling_parser_parse_uchar_should_compile +74/93 Test #74: dangling_parser_parse_uchar_should_compile ........... Passed 2.02 sec + Start 75: dangling_parser_parse_uchar_should_not_compile +75/93 Test #75: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.74 sec + Start 76: dangling_parser_parse_stdstring_should_compile +76/93 Test #76: dangling_parser_parse_stdstring_should_compile ....... Passed 2.00 sec + Start 77: dangling_parser_parse_stdstring_should_not_compile +77/93 Test #77: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.56 sec + Start 78: dangling_parser_parse_padstring_should_compile +78/93 Test #78: dangling_parser_parse_padstring_should_compile ....... Passed 1.97 sec + Start 79: dangling_parser_parse_padstring_should_not_compile +79/93 Test #79: dangling_parser_parse_padstring_should_not_compile ... Passed 1.57 sec + Start 80: unsafe_parse_many_should_compile +80/93 Test #80: unsafe_parse_many_should_compile ..................... Passed 2.17 sec + Start 81: unsafe_parse_many_should_not_compile +81/93 Test #81: unsafe_parse_many_should_not_compile ................. Passed 1.59 sec + Start 82: quickstart +82/93 Test #82: quickstart ........................................... Passed 3.57 sec + Start 83: quickstart11 +83/93 Test #83: quickstart11 ......................................... Passed 3.33 sec + Start 84: quickstart14 +84/93 Test #84: quickstart14 ......................................... Passed 3.36 sec + Start 85: quickstart_noexceptions +85/93 Test #85: quickstart_noexceptions .............................. Passed 3.52 sec + Start 86: quickstart_noexceptions11 +86/93 Test #86: quickstart_noexceptions11 ............................ Passed 3.26 sec + Start 87: quickstart2_noexceptions +87/93 Test #87: quickstart2_noexceptions ............................. Passed 3.46 sec + Start 88: quickstart2_noexceptions11 +88/93 Test #88: quickstart2_noexceptions11 ........................... Passed 3.20 sec + Start 89: quickstart_ondemand +89/93 Test #89: quickstart_ondemand .................................. Passed 3.54 sec + Start 90: quickstart_ondemand11 +90/93 Test #90: quickstart_ondemand11 ................................ Passed 3.33 sec + Start 91: quickstart_ondemand14 +91/93 Test #91: quickstart_ondemand14 ................................ Passed 3.30 sec + Start 92: quickstart_ondemand_noexceptions +92/93 Test #92: quickstart_ondemand_noexceptions ..................... Passed 3.55 sec + Start 93: quickstart_ondemand_noexceptions11 +93/93 Test #93: quickstart_ondemand_noexceptions11 ................... Passed 3.40 sec + +100% tests passed, 0 tests failed out of 93 + +Label Time Summary: +acceptance = 56.73 sec*proc (63 tests) +assert = 0.00 sec*proc (1 test) +compile = 40.83 sec*proc (12 tests) +dom = 1.42 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 80.38 sec*proc (36 tests) +ondemand = 13.86 sec*proc (30 tests) +other = 0.11 sec*proc (3 tests) +per_implementation = 8.97 sec*proc (44 tests) +quickstart = 40.83 sec*proc (12 tests) +quickstart_ondemand = 17.12 sec*proc (5 tests) +singleheader = 6.63 sec*proc (3 tests) + +Total Test time (real) = 102.44 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/fix.patch new file mode 100644 index 000000000..8288c1226 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/fix.patch @@ -0,0 +1,127 @@ +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index 963f7121..10a6221b 100644 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -4194,12 +4194,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + } + uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2); + +- // if the first code point is invalid we will get here, as we will go past +- // the check for being outside the Basic Multilingual plane. If we don't +- // find a \u immediately afterwards we fail out anyhow, but if we do, +- // this check catches both the case of the first code point being invalid +- // or the second code point being invalid. +- if ((code_point | code_point_2) >> 16) { ++ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF. ++ // This also catches the case where hex_to_u32_nocheck returns high bits ++ // set due to invalid hex digits. ++ if ((code_point_2 - 0xdc00) >> 10) { + return false; + } + +@@ -5668,12 +5666,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + } + uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2); + +- // if the first code point is invalid we will get here, as we will go past +- // the check for being outside the Basic Multilingual plane. If we don't +- // find a \u immediately afterwards we fail out anyhow, but if we do, +- // this check catches both the case of the first code point being invalid +- // or the second code point being invalid. +- if ((code_point | code_point_2) >> 16) { ++ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF. ++ // This also catches the case where hex_to_u32_nocheck returns high bits ++ // set due to invalid hex digits. ++ if ((code_point_2 - 0xdc00) >> 10) { + return false; + } + +@@ -8020,12 +8016,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + } + uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2); + +- // if the first code point is invalid we will get here, as we will go past +- // the check for being outside the Basic Multilingual plane. If we don't +- // find a \u immediately afterwards we fail out anyhow, but if we do, +- // this check catches both the case of the first code point being invalid +- // or the second code point being invalid. +- if ((code_point | code_point_2) >> 16) { ++ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF. ++ // This also catches the case where hex_to_u32_nocheck returns high bits ++ // set due to invalid hex digits. ++ if ((code_point_2 - 0xdc00) >> 10) { + return false; + } + +@@ -10354,12 +10348,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + } + uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2); + +- // if the first code point is invalid we will get here, as we will go past +- // the check for being outside the Basic Multilingual plane. If we don't +- // find a \u immediately afterwards we fail out anyhow, but if we do, +- // this check catches both the case of the first code point being invalid +- // or the second code point being invalid. +- if ((code_point | code_point_2) >> 16) { ++ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF. ++ // This also catches the case where hex_to_u32_nocheck returns high bits ++ // set due to invalid hex digits. ++ if ((code_point_2 - 0xdc00) >> 10) { + return false; + } + +@@ -12651,12 +12643,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + } + uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2); + +- // if the first code point is invalid we will get here, as we will go past +- // the check for being outside the Basic Multilingual plane. If we don't +- // find a \u immediately afterwards we fail out anyhow, but if we do, +- // this check catches both the case of the first code point being invalid +- // or the second code point being invalid. +- if ((code_point | code_point_2) >> 16) { ++ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF. ++ // This also catches the case where hex_to_u32_nocheck returns high bits ++ // set due to invalid hex digits. ++ if ((code_point_2 - 0xdc00) >> 10) { + return false; + } + +@@ -14983,12 +14973,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + } + uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2); + +- // if the first code point is invalid we will get here, as we will go past +- // the check for being outside the Basic Multilingual plane. If we don't +- // find a \u immediately afterwards we fail out anyhow, but if we do, +- // this check catches both the case of the first code point being invalid +- // or the second code point being invalid. +- if ((code_point | code_point_2) >> 16) { ++ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF. ++ // This also catches the case where hex_to_u32_nocheck returns high bits ++ // set due to invalid hex digits. ++ if ((code_point_2 - 0xdc00) >> 10) { + return false; + } + +diff --git a/src/generic/stage2/stringparsing.h b/src/generic/stage2/stringparsing.h +index 47ecd025..3b6873b0 100644 +--- a/src/generic/stage2/stringparsing.h ++++ b/src/generic/stage2/stringparsing.h +@@ -58,12 +58,10 @@ simdjson_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + } + uint32_t code_point_2 = jsoncharutils::hex_to_u32_nocheck(*src_ptr + 2); + +- // if the first code point is invalid we will get here, as we will go past +- // the check for being outside the Basic Multilingual plane. If we don't +- // find a \u immediately afterwards we fail out anyhow, but if we do, +- // this check catches both the case of the first code point being invalid +- // or the second code point being invalid. +- if ((code_point | code_point_2) >> 16) { ++ // code_point_2 must be a low surrogate in the range U+DC00..U+DFFF. ++ // This also catches the case where hex_to_u32_nocheck returns high bits ++ // set due to invalid hex digits. ++ if ((code_point_2 - 0xdc00) >> 10) { + return false; + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/report.json new file mode 100644 index 000000000..4691718f7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1896/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 1896, "valid": true, "error_msg": "", "fixed_tests": {"ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"document_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_assert_out_of_order_values": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 93, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 92, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 93, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "basictests", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "ondemand_error_location_tests", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "ondemand_number_in_string_tests", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/fix-patch-run.log new file mode 100644 index 000000000..0d3b11eaa --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/fix-patch-run.log @@ -0,0 +1,1057 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (6183 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (9413 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}") + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3358 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (19.0 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (3653 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.CS1MuwTk +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.CS1MuwTk/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.CS1MuwTk/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.CS1MuwTk/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.CS1MuwTk/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.CS1MuwTk/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.CS1MuwTk +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=22c6bf6ec8bd +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.lKwJCrche5/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/dom/basictests.cpp +patching file tests/ondemand/ondemand_number_tests.cpp +patching file include/simdjson/generic/numberparsing.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@f91b6b4) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git version: v2.2.2-10-g5809e51a-dirty normalized to 2.2.2.10 +-- Version: 2.2.2.10 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC +-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.10.5) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@f54b0e4) +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@c385651) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 1%] Linking CXX static library libsimdjson.a +[ 1%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 1%] Linking C static library libcjson.a +[ 1%] Built target cjson +Scanning dependencies of target boostjson +[ 1%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 2%] Linking CXX static library libboostjson.a +[ 2%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 4%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 4%] Linking CXX static library libjsoncpp.a +[ 4%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 5%] Linking C static library libujson4c.a +[ 5%] Built target ujson4c +Scanning dependencies of target fastjson +[ 5%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 5%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 6%] Linking CXX static library libfastjson.a +[ 6%] Built target fastjson +Scanning dependencies of target gason +[ 8%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 8%] Linking CXX static library libgason.a +[ 8%] Built target gason +Scanning dependencies of target yyjson +[ 8%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 9%] Linking C static library libyyjson.a +[ 9%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 10%] Linking C static library libjsmn.a +[ 10%] Built target jsmn +Scanning dependencies of target json11 +[ 10%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 12%] Linking CXX static library libjson11.a +[ 12%] Built target json11 +Scanning dependencies of target benchmark +[ 12%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 12%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 13%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 14%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 16%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 17%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/perf_counters.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 18%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 20%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 21%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 21%] Linking CXX static library libbenchmark.a +[ 21%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 22%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 22%] Linking CXX static library libbenchmark_main.a +[ 22%] Built target benchmark_main +Scanning dependencies of target minify +[ 24%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 24%] Linking CXX executable minify +[ 24%] Built target minify +Scanning dependencies of target jsonpointer +[ 24%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 25%] Linking CXX executable jsonpointer +[ 25%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 25%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 26%] Linking CXX executable jsonstats +[ 26%] Built target jsonstats +Scanning dependencies of target json2json +[ 26%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 28%] Linking CXX executable json2json +[ 28%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 28%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 28%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 28%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 28%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +timestamp is 2022-09-30 12:13:16 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Creating /home/simdjson/build/singleheader/simdjson.cpp +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 170 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 2734 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 661979 Jul 14 01:42 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 1261554 Jul 14 01:42 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +[ 28%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 28%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 29%] Linking CXX executable amalgamate_demo +[ 29%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 29%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 30%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 30%] Linking CXX executable unicode_tests +[ 30%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 30%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 32%] Linking CXX executable checkimplementation +[ 32%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 32%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 33%] Linking CXX executable minify_tests +[ 33%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 34%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 34%] Linking CXX executable padded_string_tests +[ 34%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 36%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 36%] Linking CXX executable pointercheck +[ 36%] Built target pointercheck +Scanning dependencies of target document_tests +[ 36%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 36%] Linking CXX executable document_tests +[ 36%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 36%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 37%] Linking CXX executable numberparsingcheck +[ 37%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 37%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 38%] Linking CXX executable basictests +[ 38%] Built target basictests +Scanning dependencies of target integer_tests +[ 38%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 40%] Linking CXX executable integer_tests +[ 40%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 40%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 40%] Linking CXX executable jsoncheck +[ 40%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 40%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 41%] Linking CXX executable document_stream_tests +[ 41%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 41%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 41%] Linking CXX executable minefieldcheck +[ 41%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 41%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 42%] Linking CXX executable parse_many_test +[ 42%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 44%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 44%] Linking CXX executable random_string_number_tests +[ 44%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 44%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 44%] Linking CXX executable trivially_copyable_test +[ 44%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 44%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 45%] Linking CXX executable extracting_values_example +[ 45%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 45%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 46%] Linking CXX executable stringparsingcheck +[ 46%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 48%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 48%] Linking CXX executable errortests +[ 48%] Built target errortests +Scanning dependencies of target ondemand_object_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 48%] Linking CXX executable ondemand_object_error_tests +[ 48%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 49%] Linking CXX executable ondemand_misc_tests +[ 49%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 49%] Linking CXX executable ondemand_wrong_type_error_tests +[ 49%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_error_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 50%] Linking CXX executable ondemand_error_tests +[ 50%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 50%] Linking CXX executable ondemand_compilation_tests +[ 50%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_array_error_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 52%] Linking CXX executable ondemand_array_error_tests +[ 52%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_key_string_tests +[ 53%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +[ 53%] Linking CXX executable ondemand_key_string_tests +[ 53%] Built target ondemand_key_string_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 53%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 53%] Linking CXX executable ondemand_json_pointer_tests +[ 53%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_array_tests +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 54%] Linking CXX executable ondemand_array_tests +[ 54%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_active_tests +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 54%] Linking CXX executable ondemand_active_tests +[ 54%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_document_stream_tests +[ 56%] Building CXX object tests/ondemand/CMakeFiles/ondemand_document_stream_tests.dir/ondemand_document_stream_tests.cpp.o +[ 56%] Linking CXX executable ondemand_document_stream_tests +[ 56%] Built target ondemand_document_stream_tests +Scanning dependencies of target ondemand_object_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 57%] Linking CXX executable ondemand_object_tests +[ 57%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_tostring_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 58%] Linking CXX executable ondemand_tostring_tests +[ 58%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_number_in_string_tests +[ 58%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o +[ 60%] Linking CXX executable ondemand_number_in_string_tests +[ 60%] Built target ondemand_number_in_string_tests +Scanning dependencies of target ondemand_ordering_tests +[ 60%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 61%] Linking CXX executable ondemand_ordering_tests +[ 61%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_error_location_tests +[ 62%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/ondemand_error_location_tests.cpp.o +[ 62%] Linking CXX executable ondemand_error_location_tests +[ 62%] Built target ondemand_error_location_tests +Scanning dependencies of target ondemand_readme_examples +[ 62%] Building CXX object tests/ondemand/CMakeFiles/ondemand_readme_examples.dir/ondemand_readme_examples.cpp.o +[ 62%] Linking CXX executable ondemand_readme_examples +[ 62%] Built target ondemand_readme_examples +Scanning dependencies of target ondemand_number_tests +[ 62%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_tests.dir/ondemand_number_tests.cpp.o +[ 64%] Linking CXX executable ondemand_number_tests +[ 64%] Built target ondemand_number_tests +Scanning dependencies of target ondemand_parse_api_tests +[ 64%] Building CXX object tests/ondemand/CMakeFiles/ondemand_parse_api_tests.dir/ondemand_parse_api_tests.cpp.o +[ 65%] Linking CXX executable ondemand_parse_api_tests +[ 65%] Built target ondemand_parse_api_tests +Scanning dependencies of target ondemand_twitter_tests +[ 65%] Building CXX object tests/ondemand/CMakeFiles/ondemand_twitter_tests.dir/ondemand_twitter_tests.cpp.o +[ 66%] Linking CXX executable ondemand_twitter_tests +[ 66%] Built target ondemand_twitter_tests +Scanning dependencies of target ondemand_scalar_tests +[ 68%] Building CXX object tests/ondemand/CMakeFiles/ondemand_scalar_tests.dir/ondemand_scalar_tests.cpp.o +[ 68%] Linking CXX executable ondemand_scalar_tests +[ 68%] Built target ondemand_scalar_tests +Scanning dependencies of target ondemand_assert_out_of_order_values +[ 68%] Building CXX object tests/ondemand/CMakeFiles/ondemand_assert_out_of_order_values.dir/ondemand_assert_out_of_order_values.cpp.o +[ 69%] Linking CXX executable ondemand_assert_out_of_order_values +[ 69%] Built target ondemand_assert_out_of_order_values +Scanning dependencies of target benchfeatures +[ 69%] Building CXX object benchmark/CMakeFiles/benchfeatures.dir/benchfeatures.cpp.o +[ 70%] Linking CXX executable benchfeatures +[ 70%] Built target benchfeatures +Scanning dependencies of target get_corpus_benchmark +[ 72%] Building CXX object benchmark/CMakeFiles/get_corpus_benchmark.dir/get_corpus_benchmark.cpp.o +[ 72%] Linking CXX executable get_corpus_benchmark +[ 72%] Built target get_corpus_benchmark +Scanning dependencies of target bench_parse_call +[ 73%] Building CXX object benchmark/CMakeFiles/bench_parse_call.dir/bench_parse_call.cpp.o +[ 73%] Linking CXX executable bench_parse_call +[ 73%] Built target bench_parse_call +Scanning dependencies of target bench_dom_api +[ 73%] Building CXX object benchmark/CMakeFiles/bench_dom_api.dir/bench_dom_api.cpp.o +[ 73%] Linking CXX executable bench_dom_api +[ 73%] Built target bench_dom_api +Scanning dependencies of target bench_ondemand +[ 74%] Building CXX object benchmark/CMakeFiles/bench_ondemand.dir/bench_ondemand.cpp.o +[ 74%] Linking CXX executable bench_ondemand +[ 74%] Built target bench_ondemand +Scanning dependencies of target perfdiff +[ 74%] Building CXX object benchmark/dom/CMakeFiles/perfdiff.dir/perfdiff.cpp.o +[ 74%] Linking CXX executable perfdiff +[ 74%] Built target perfdiff +Scanning dependencies of target parse_noutf8validation +[ 76%] Building CXX object benchmark/dom/CMakeFiles/parse_noutf8validation.dir/parse.cpp.o +[ 76%] Linking CXX executable parse_noutf8validation +[ 76%] Built target parse_noutf8validation +Scanning dependencies of target parse +[ 76%] Building CXX object benchmark/dom/CMakeFiles/parse.dir/parse.cpp.o +[ 77%] Linking CXX executable parse +[ 77%] Built target parse +Scanning dependencies of target parse_stream +[ 77%] Building CXX object benchmark/dom/CMakeFiles/parse_stream.dir/parse_stream.cpp.o +[ 78%] Linking CXX executable parse_stream +[ 78%] Built target parse_stream +Scanning dependencies of target statisticalmodel +[ 78%] Building CXX object benchmark/dom/CMakeFiles/statisticalmodel.dir/statisticalmodel.cpp.o +[ 80%] Linking CXX executable statisticalmodel +[ 80%] Built target statisticalmodel +Scanning dependencies of target parse_nonumberparsing +[ 80%] Building CXX object benchmark/dom/CMakeFiles/parse_nonumberparsing.dir/parse.cpp.o +[ 80%] Linking CXX executable parse_nonumberparsing +[ 80%] Built target parse_nonumberparsing +Scanning dependencies of target parse_nostringparsing +[ 81%] Building CXX object benchmark/dom/CMakeFiles/parse_nostringparsing.dir/parse.cpp.o +[ 81%] Linking CXX executable parse_nostringparsing +[ 81%] Built target parse_nostringparsing +Scanning dependencies of target fuzz_print_json +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/fuzz_print_json.cpp.o +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/main.cpp.o +[ 82%] Linking CXX executable fuzz_print_json +[ 82%] Built target fuzz_print_json +Scanning dependencies of target fuzz_padded +[ 82%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/fuzz_padded.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/main.cpp.o +[ 84%] Linking CXX executable fuzz_padded +[ 84%] Built target fuzz_padded +Scanning dependencies of target fuzz_dump +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/fuzz_dump.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/main.cpp.o +[ 85%] Linking CXX executable fuzz_dump +[ 85%] Built target fuzz_dump +Scanning dependencies of target fuzz_minifyimpl +[ 86%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/fuzz_minifyimpl.cpp.o +[ 86%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/main.cpp.o +[ 88%] Linking CXX executable fuzz_minifyimpl +[ 88%] Built target fuzz_minifyimpl +Scanning dependencies of target fuzz_element +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/fuzz_element.cpp.o +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/main.cpp.o +[ 89%] Linking CXX executable fuzz_element +[ 89%] Built target fuzz_element +Scanning dependencies of target fuzz_ondemand +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/fuzz_ondemand.cpp.o +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/main.cpp.o +[ 90%] Linking CXX executable fuzz_ondemand +[ 90%] Built target fuzz_ondemand +Scanning dependencies of target fuzz_utf8 +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/fuzz_utf8.cpp.o +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/main.cpp.o +[ 92%] Linking CXX executable fuzz_utf8 +[ 92%] Built target fuzz_utf8 +Scanning dependencies of target fuzz_implementations +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/fuzz_implementations.cpp.o +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/main.cpp.o +[ 93%] Linking CXX executable fuzz_implementations +[ 93%] Built target fuzz_implementations +Scanning dependencies of target fuzz_parser +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/fuzz_parser.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/main.cpp.o +[ 94%] Linking CXX executable fuzz_parser +[ 94%] Built target fuzz_parser +Scanning dependencies of target fuzz_atpointer +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/fuzz_atpointer.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/main.cpp.o +[ 96%] Linking CXX executable fuzz_atpointer +[ 96%] Built target fuzz_atpointer +Scanning dependencies of target fuzz_dump_raw_tape +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/fuzz_dump_raw_tape.cpp.o +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/main.cpp.o +[ 97%] Linking CXX executable fuzz_dump_raw_tape +[ 97%] Built target fuzz_dump_raw_tape +Scanning dependencies of target fuzz_minify +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/fuzz_minify.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/main.cpp.o +[ 98%] Linking CXX executable fuzz_minify +[ 98%] Built target fuzz_minify +Scanning dependencies of target fuzz_ndjson +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/fuzz_ndjson.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/main.cpp.o +[100%] Linking CXX executable fuzz_ndjson +[100%] Built target fuzz_ndjson +Test project /home/simdjson/build + Start 1: avoid_abort + 1/93 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/93 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/93 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/93 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/93 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/93 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/93 Test #7: amalgamate_demo ...................................... Passed 0.00 sec + Start 8: simdjson-singleheader + 8/93 Test #8: simdjson-singleheader ................................ Passed 6.66 sec + Start 9: amalgamate_demo_direct_from_repository + 9/93 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 10: unicode_tests +10/93 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +11/93 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/93 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: checkimplementation +13/93 Test #13: checkimplementation .................................. Passed 0.00 sec + Start 14: random_string_number_tests +14/93 Test #14: random_string_number_tests ........................... Passed 1.02 sec + Start 15: basictests +15/93 Test #15: basictests ...........................................***Failed 0.01 sec + Start 16: document_stream_tests +16/93 Test #16: document_stream_tests ................................ Passed 0.23 sec + Start 17: document_tests +17/93 Test #17: document_tests ....................................... Passed 0.00 sec + Start 18: errortests +18/93 Test #18: errortests ........................................... Passed 0.00 sec + Start 19: extracting_values_example +19/93 Test #19: extracting_values_example ............................ Passed 0.00 sec + Start 20: integer_tests +20/93 Test #20: integer_tests ........................................ Passed 0.00 sec + Start 21: jsoncheck +21/93 Test #21: jsoncheck ............................................ Passed 0.00 sec + Start 22: minefieldcheck +22/93 Test #22: minefieldcheck ....................................... Passed 0.01 sec + Start 23: numberparsingcheck +23/93 Test #23: numberparsingcheck ................................... Passed 0.03 sec + Start 24: parse_many_test +24/93 Test #24: parse_many_test ...................................... Passed 0.00 sec + Start 25: pointercheck +25/93 Test #25: pointercheck ......................................... Passed 0.00 sec + Start 26: stringparsingcheck +26/93 Test #26: stringparsingcheck ................................... Passed 0.04 sec + Start 27: trivially_copyable_test +27/93 Test #27: trivially_copyable_test .............................. Passed 0.00 sec + Start 29: json2json +28/93 Test #29: json2json ............................................ Passed 0.01 sec + Start 28: testjson2json +29/93 Test #28: testjson2json ........................................ Passed 0.68 sec + Start 30: simdjson_force_implementation_error +30/93 Test #30: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 31: readme_examples +31/93 Test #31: readme_examples ...................................... Passed 3.40 sec + Start 32: readme_examples11 +32/93 Test #32: readme_examples11 .................................... Passed 3.36 sec + Start 33: readme_examples_noexceptions +33/93 Test #33: readme_examples_noexceptions ......................... Passed 2.46 sec + Start 34: readme_examples_noexceptions11 +34/93 Test #34: readme_examples_noexceptions11 ....................... Passed 2.20 sec + Start 35: readme_examples_will_fail_with_exceptions_off +35/93 Test #35: readme_examples_will_fail_with_exceptions_off ........ Passed 1.61 sec + Start 36: ondemand_tostring_tests +36/93 Test #36: ondemand_tostring_tests .............................. Passed 0.01 sec + Start 37: ondemand_active_tests +37/93 Test #37: ondemand_active_tests ................................ Passed 0.00 sec + Start 38: ondemand_array_tests +38/93 Test #38: ondemand_array_tests ................................. Passed 0.00 sec + Start 39: ondemand_array_error_tests +39/93 Test #39: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 40: ondemand_compilation_tests +40/93 Test #40: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 41: ondemand_document_stream_tests +41/93 Test #41: ondemand_document_stream_tests ....................... Passed 0.03 sec + Start 42: ondemand_error_tests +42/93 Test #42: ondemand_error_tests ................................. Passed 0.00 sec + Start 43: ondemand_error_location_tests +43/93 Test #43: ondemand_error_location_tests ........................ Passed 0.00 sec + Start 44: ondemand_json_pointer_tests +44/93 Test #44: ondemand_json_pointer_tests .......................... Passed 0.00 sec + Start 45: ondemand_key_string_tests +45/93 Test #45: ondemand_key_string_tests ............................ Passed 0.00 sec + Start 46: ondemand_misc_tests +46/93 Test #46: ondemand_misc_tests .................................. Passed 0.00 sec + Start 47: ondemand_number_tests +47/93 Test #47: ondemand_number_tests ................................ Passed 0.01 sec + Start 48: ondemand_number_in_string_tests +48/93 Test #48: ondemand_number_in_string_tests ...................... Passed 0.00 sec + Start 49: ondemand_object_tests +49/93 Test #49: ondemand_object_tests ................................ Passed 0.00 sec + Start 50: ondemand_object_error_tests +50/93 Test #50: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 51: ondemand_ordering_tests +51/93 Test #51: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 52: ondemand_parse_api_tests +52/93 Test #52: ondemand_parse_api_tests ............................. Passed 0.00 sec + Start 53: ondemand_readme_examples +53/93 Test #53: ondemand_readme_examples ............................. Passed 0.00 sec + Start 54: ondemand_scalar_tests +54/93 Test #54: ondemand_scalar_tests ................................ Passed 0.00 sec + Start 55: ondemand_twitter_tests +55/93 Test #55: ondemand_twitter_tests ............................... Passed 0.00 sec + Start 56: ondemand_wrong_type_error_tests +56/93 Test #56: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 57: ondemand_assert_out_of_order_values +57/93 Test #57: ondemand_assert_out_of_order_values .................. Passed 0.00 sec + Start 58: iterate_char_star_should_compile +58/93 Test #58: iterate_char_star_should_compile ..................... Passed 1.74 sec + Start 59: iterate_char_star_should_not_compile +59/93 Test #59: iterate_char_star_should_not_compile ................. Passed 1.63 sec + Start 60: iterate_string_view_should_compile +60/93 Test #60: iterate_string_view_should_compile ................... Passed 1.72 sec + Start 61: iterate_string_view_should_not_compile +61/93 Test #61: iterate_string_view_should_not_compile ............... Passed 1.55 sec + Start 62: iterate_temporary_buffer_should_compile +62/93 Test #62: iterate_temporary_buffer_should_compile .............. Passed 1.72 sec + Start 63: iterate_temporary_buffer_should_not_compile +63/93 Test #63: iterate_temporary_buffer_should_not_compile .......... Passed 1.56 sec + Start 64: first_second_access_should_compile +64/93 Test #64: first_second_access_should_compile ................... Passed 2.05 sec + Start 65: first_second_access_should_not_compile +65/93 Test #65: first_second_access_should_not_compile ............... Passed 1.56 sec + Start 66: example_compiletest_should_compile +66/93 Test #66: example_compiletest_should_compile ................... Passed 0.26 sec + Start 67: example_compiletest_should_not_compile +67/93 Test #67: example_compiletest_should_not_compile ............... Passed 0.18 sec + Start 68: bad_array_count_should_compile +68/93 Test #68: bad_array_count_should_compile ....................... Passed 1.90 sec + Start 69: bad_array_count_should_not_compile +69/93 Test #69: bad_array_count_should_not_compile ................... Passed 1.55 sec + Start 70: dangling_parser_load_should_compile +70/93 Test #70: dangling_parser_load_should_compile .................. Passed 2.01 sec + Start 71: dangling_parser_load_should_not_compile +71/93 Test #71: dangling_parser_load_should_not_compile .............. Passed 1.55 sec + Start 72: dangling_parser_parse_uint8_should_compile +72/93 Test #72: dangling_parser_parse_uint8_should_compile ........... Passed 2.00 sec + Start 73: dangling_parser_parse_uint8_should_not_compile +73/93 Test #73: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.60 sec + Start 74: dangling_parser_parse_uchar_should_compile +74/93 Test #74: dangling_parser_parse_uchar_should_compile ........... Passed 2.02 sec + Start 75: dangling_parser_parse_uchar_should_not_compile +75/93 Test #75: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.60 sec + Start 76: dangling_parser_parse_stdstring_should_compile +76/93 Test #76: dangling_parser_parse_stdstring_should_compile ....... Passed 2.10 sec + Start 77: dangling_parser_parse_stdstring_should_not_compile +77/93 Test #77: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.59 sec + Start 78: dangling_parser_parse_padstring_should_compile +78/93 Test #78: dangling_parser_parse_padstring_should_compile ....... Passed 2.02 sec + Start 79: dangling_parser_parse_padstring_should_not_compile +79/93 Test #79: dangling_parser_parse_padstring_should_not_compile ... Passed 1.60 sec + Start 80: unsafe_parse_many_should_compile +80/93 Test #80: unsafe_parse_many_should_compile ..................... Passed 2.19 sec + Start 81: unsafe_parse_many_should_not_compile +81/93 Test #81: unsafe_parse_many_should_not_compile ................. Passed 1.58 sec + Start 82: quickstart +82/93 Test #82: quickstart ........................................... Passed 3.58 sec + Start 83: quickstart11 +83/93 Test #83: quickstart11 ......................................... Passed 3.36 sec + Start 84: quickstart14 +84/93 Test #84: quickstart14 ......................................... Passed 3.36 sec + Start 85: quickstart_noexceptions +85/93 Test #85: quickstart_noexceptions .............................. Passed 3.55 sec + Start 86: quickstart_noexceptions11 +86/93 Test #86: quickstart_noexceptions11 ............................ Passed 3.25 sec + Start 87: quickstart2_noexceptions +87/93 Test #87: quickstart2_noexceptions ............................. Passed 3.43 sec + Start 88: quickstart2_noexceptions11 +88/93 Test #88: quickstart2_noexceptions11 ........................... Passed 3.21 sec + Start 89: quickstart_ondemand +89/93 Test #89: quickstart_ondemand .................................. Passed 3.52 sec + Start 90: quickstart_ondemand11 +90/93 Test #90: quickstart_ondemand11 ................................ Passed 3.27 sec + Start 91: quickstart_ondemand14 +91/93 Test #91: quickstart_ondemand14 ................................ Passed 3.35 sec + Start 92: quickstart_ondemand_noexceptions +92/93 Test #92: quickstart_ondemand_noexceptions ..................... Passed 3.49 sec + Start 93: quickstart_ondemand_noexceptions11 +93/93 Test #93: quickstart_ondemand_noexceptions11 ................... Passed 3.25 sec + +99% tests passed, 1 tests failed out of 93 + +Label Time Summary: +acceptance = 56.39 sec*proc (63 tests) +assert = 0.00 sec*proc (1 test) +compile = 40.63 sec*proc (12 tests) +dom = 1.40 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 79.89 sec*proc (36 tests) +ondemand = 13.61 sec*proc (30 tests) +other = 0.11 sec*proc (3 tests) +per_implementation = 8.96 sec*proc (44 tests) +quickstart = 40.63 sec*proc (12 tests) +quickstart_ondemand = 16.88 sec*proc (5 tests) +singleheader = 6.66 sec*proc (3 tests) + +Total Test time (real) = 101.94 sec + +The following tests FAILED: + 15 - basictests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/fix.patch new file mode 100644 index 000000000..4b45926f9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/fix.patch @@ -0,0 +1,13 @@ +diff --git a/include/simdjson/generic/numberparsing.h b/include/simdjson/generic/numberparsing.h +index 557818c1..13a8bc64 100644 +--- a/include/simdjson/generic/numberparsing.h ++++ b/include/simdjson/generic/numberparsing.h +@@ -497,7 +497,7 @@ simdjson_inline error_code write_float(const uint8_t *const src, bool negative, + static_assert(simdjson::internal::smallest_power <= -342, "smallest_power is not small enough"); + // + if((exponent < simdjson::internal::smallest_power) || (i == 0)) { +- WRITE_DOUBLE(0, src, writer); ++ WRITE_DOUBLE(negative ? -0.0 : 0.0, src, writer); + return SUCCESS; + } else { // (exponent > largest_power) and (i != 0) + // We have, for sure, an infinite value and simdjson refuses to parse infinite values. diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/report.json new file mode 100644 index 000000000..d3f3e3520 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-1899/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 1899, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (93, 0, 0)\n test = (92, 0, 0)\n fix = (92, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 93, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 92, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 92, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "ondemand_error_location_tests", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "ondemand_number_in_string_tests", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/fix-patch-run.log new file mode 100644 index 000000000..cf0fa5118 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/fix-patch-run.log @@ -0,0 +1,1145 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (6011 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (9364 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}" EXCLUDE_FROM_ALL) + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}" EXCLUDE_FROM_ALL) + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3542 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (20.1 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (2666 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.W0t2vU7i +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.W0t2vU7i/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.W0t2vU7i/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.W0t2vU7i/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.W0t2vU7i/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.W0t2vU7i/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.W0t2vU7i +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=6e153380be83 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.1TPOq6wpHq/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/ondemand/CMakeLists.txt +patching file tests/ondemand/ondemand_iterate_many_csv.cpp +patch: **** Only garbage was found in the patch input. +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Adding -Og to compile flag +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@v1.7.1) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git version: v3.1.8-17-g74bb7b25-dirty normalized to 3.1.8.17 +-- Version: 3.1.8.17 +-- Looking for shm_open in rt +-- Looking for shm_open in rt - found +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL +-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC +-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Compiling and running to test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Compiling and running to test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Compiling and running to test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Compiling and running to test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.10.5) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@f54b0e4) +-- Check if the system is big endian +-- Searching 16 bit integer +-- Looking for sys/types.h +-- Looking for sys/types.h - found +-- Looking for stdint.h +-- Looking for stdint.h - found +-- Looking for stddef.h +-- Looking for stddef.h - found +-- Check size of unsigned short +-- Check size of unsigned short - done +-- Searching 16 bit integer - Using unsigned short +-- Check if the system is big endian - little endian +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@c385651) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 1%] Linking CXX static library libsimdjson.a +[ 1%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 1%] Linking C static library libcjson.a +[ 1%] Built target cjson +Scanning dependencies of target boostjson +[ 1%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 2%] Linking CXX static library libboostjson.a +[ 2%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 3%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 3%] Linking CXX static library libjsoncpp.a +[ 3%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 6%] Linking C static library libujson4c.a +[ 6%] Built target ujson4c +Scanning dependencies of target fastjson +[ 7%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 7%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 7%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 9%] Linking CXX static library libfastjson.a +[ 9%] Built target fastjson +Scanning dependencies of target gason +[ 9%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 9%] Linking CXX static library libgason.a +[ 9%] Built target gason +Scanning dependencies of target yyjson +[ 9%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 10%] Linking C static library libyyjson.a +[ 10%] Built target yyjson +Scanning dependencies of target jsmn +[ 11%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 11%] Linking C static library libjsmn.a +[ 11%] Built target jsmn +Scanning dependencies of target json11 +[ 11%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 13%] Linking CXX static library libjson11.a +[ 13%] Built target json11 +Scanning dependencies of target minify +[ 14%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 14%] Linking CXX executable minify +[ 14%] Built target minify +Scanning dependencies of target jsonpointer +[ 14%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 15%] Linking CXX executable jsonpointer +[ 15%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 15%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 15%] Linking CXX executable jsonstats +[ 15%] Built target jsonstats +Scanning dependencies of target json2json +[ 15%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 15%] Linking CXX executable json2json +[ 15%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 15%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 15%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 15%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 15%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +timestamp is 2023-06-05 09:04:36 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Creating /home/simdjson/build/singleheader/simdjson.cpp +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +// #undef SIMDJSON_IMPLEMENTATION +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 170 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 2734 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 690133 Jul 14 01:41 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 1293284 Jul 14 01:41 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +[ 15%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 15%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 17%] Linking CXX executable amalgamate_demo +[ 17%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 17%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 17%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 17%] Linking CXX executable unicode_tests +[ 17%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 17%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 18%] Linking CXX executable checkimplementation +[ 18%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 18%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 19%] Linking CXX executable minify_tests +[ 19%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 19%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 21%] Linking CXX executable padded_string_tests +[ 21%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 21%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 22%] Linking CXX executable pointercheck +[ 22%] Built target pointercheck +Scanning dependencies of target document_tests +[ 23%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 23%] Linking CXX executable document_tests +[ 23%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 23%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 23%] Linking CXX executable numberparsingcheck +[ 23%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 23%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 25%] Linking CXX executable basictests +[ 25%] Built target basictests +Scanning dependencies of target integer_tests +[ 25%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 26%] Linking CXX executable integer_tests +[ 26%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 27%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 27%] Linking CXX executable jsoncheck +[ 27%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 27%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 27%] Linking CXX executable document_stream_tests +[ 27%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 28%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 28%] Linking CXX executable minefieldcheck +[ 28%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 30%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 30%] Linking CXX executable parse_many_test +[ 30%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 30%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 30%] Linking CXX executable random_string_number_tests +[ 30%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 30%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 30%] Linking CXX executable trivially_copyable_test +[ 30%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 31%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 31%] Linking CXX executable extracting_values_example +[ 31%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 31%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 32%] Linking CXX executable stringparsingcheck +[ 32%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 34%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 34%] Linking CXX executable errortests +[ 34%] Built target errortests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 35%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 35%] Linking CXX executable ondemand_wrong_type_error_tests +[ 35%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 35%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 36%] Linking CXX executable ondemand_misc_tests +[ 36%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_error_tests +[ 36%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 36%] Linking CXX executable ondemand_error_tests +[ 36%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 38%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 38%] Linking CXX executable ondemand_compilation_tests +[ 38%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_active_tests +[ 39%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 39%] Linking CXX executable ondemand_active_tests +[ 39%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_tostring_tests +[ 39%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 39%] Linking CXX executable ondemand_tostring_tests +[ 39%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_log_error_tests +[ 39%] Building CXX object tests/ondemand/CMakeFiles/ondemand_log_error_tests.dir/ondemand_log_error_tests.cpp.o +[ 39%] Linking CXX executable ondemand_log_error_tests +[ 39%] Built target ondemand_log_error_tests +Scanning dependencies of target ondemand_document_stream_tests +[ 39%] Building CXX object tests/ondemand/CMakeFiles/ondemand_document_stream_tests.dir/ondemand_document_stream_tests.cpp.o +[ 40%] Linking CXX executable ondemand_document_stream_tests +[ 40%] Built target ondemand_document_stream_tests +Scanning dependencies of target ondemand_object_tests +[ 40%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 42%] Linking CXX executable ondemand_object_tests +[ 42%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_array_tests +[ 42%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 43%] Linking CXX executable ondemand_array_tests +[ 43%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_scalar_tests +[ 43%] Building CXX object tests/ondemand/CMakeFiles/ondemand_scalar_tests.dir/ondemand_scalar_tests.cpp.o +[ 44%] Linking CXX executable ondemand_scalar_tests +[ 44%] Built target ondemand_scalar_tests +Scanning dependencies of target ondemand_twitter_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_twitter_tests.dir/ondemand_twitter_tests.cpp.o +[ 46%] Linking CXX executable ondemand_twitter_tests +[ 46%] Built target ondemand_twitter_tests +Scanning dependencies of target ondemand_log_tests +[ 47%] Building CXX object tests/ondemand/CMakeFiles/ondemand_log_tests.dir/ondemand_log_tests.cpp.o +[ 47%] Linking CXX executable ondemand_log_tests +[ 47%] Built target ondemand_log_tests +Scanning dependencies of target ondemand_object_error_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 48%] Linking CXX executable ondemand_object_error_tests +[ 48%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_number_in_string_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o +[ 48%] Linking CXX executable ondemand_number_in_string_tests +[ 48%] Built target ondemand_number_in_string_tests +Scanning dependencies of target ondemand_ordering_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 48%] Linking CXX executable ondemand_ordering_tests +[ 48%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_error_location_tests +[ 48%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/ondemand_error_location_tests.cpp.o +[ 50%] Linking CXX executable ondemand_error_location_tests +[ 50%] Built target ondemand_error_location_tests +Scanning dependencies of target ondemand_readme_examples +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_readme_examples.dir/ondemand_readme_examples.cpp.o +[ 51%] Linking CXX executable ondemand_readme_examples +[ 51%] Built target ondemand_readme_examples +Scanning dependencies of target ondemand_number_tests +[ 52%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_tests.dir/ondemand_number_tests.cpp.o +[ 52%] Linking CXX executable ondemand_number_tests +[ 52%] Built target ondemand_number_tests +Scanning dependencies of target ondemand_parse_api_tests +[ 53%] Building CXX object tests/ondemand/CMakeFiles/ondemand_parse_api_tests.dir/ondemand_parse_api_tests.cpp.o +[ 53%] Linking CXX executable ondemand_parse_api_tests +[ 53%] Built target ondemand_parse_api_tests +Scanning dependencies of target ondemand_key_string_tests +[ 53%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +[ 55%] Linking CXX executable ondemand_key_string_tests +[ 55%] Built target ondemand_key_string_tests +Scanning dependencies of target ondemand_array_error_tests +[ 55%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 56%] Linking CXX executable ondemand_array_error_tests +[ 56%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 56%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 57%] Linking CXX executable ondemand_json_pointer_tests +[ 57%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_iterate_many_csv +[ 59%] Building CXX object tests/ondemand/CMakeFiles/ondemand_iterate_many_csv.dir/ondemand_iterate_many_csv.cpp.o +In file included from /home/simdjson/tests/ondemand/../cast_tester.h:5, + from /home/simdjson/tests/ondemand/test_ondemand.h:7, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:2: +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp: In function 'bool iterate_many_csv_tests::normal()': +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:16:37: error: no matching function for call to 'simdjson::fallback::ondemand::parser::iterate_many(simdjson::padded_string&, size_t, bool)' + 16 | ASSERT_SUCCESS(parser.iterate_many(json, json.size(), true).get(doc_stream)); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +In file included from /home/simdjson/include/simdjson/generic/ondemand-inl.h:14, + from /home/simdjson/include/simdjson/builtin.h:35, + from /home/simdjson/include/simdjson.h:39, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:1: +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const uint8_t*, size_t, size_t)' + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:77: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const uint8_t*' {aka 'const unsigned char*'} + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const char*, size_t, size_t)' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:74: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const char*' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const string&, size_t)' + 94 | inline simdjson_result parser::iterate_many(const std::string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate expects 2 arguments, 3 provided +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const simdjson::padded_string&, size_t)' + 97 | inline simdjson_result parser::iterate_many(const padded_string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate expects 2 arguments, 3 provided +In file included from /home/simdjson/tests/ondemand/../cast_tester.h:5, + from /home/simdjson/tests/ondemand/test_ondemand.h:7, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:2: +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp: In function 'bool iterate_many_csv_tests::small_batch_size()': +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:31:37: error: no matching function for call to 'simdjson::fallback::ondemand::parser::iterate_many(simdjson::padded_string&, int, bool)' + 31 | ASSERT_SUCCESS(parser.iterate_many(json, 32, true).get(doc_stream)); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +In file included from /home/simdjson/include/simdjson/generic/ondemand-inl.h:14, + from /home/simdjson/include/simdjson/builtin.h:35, + from /home/simdjson/include/simdjson.h:39, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:1: +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const uint8_t*, size_t, size_t)' + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:77: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const uint8_t*' {aka 'const unsigned char*'} + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const char*, size_t, size_t)' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:74: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const char*' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const string&, size_t)' + 94 | inline simdjson_result parser::iterate_many(const std::string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate expects 2 arguments, 3 provided +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const simdjson::padded_string&, size_t)' + 97 | inline simdjson_result parser::iterate_many(const padded_string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate expects 2 arguments, 3 provided +In file included from /home/simdjson/tests/ondemand/../cast_tester.h:5, + from /home/simdjson/tests/ondemand/test_ondemand.h:7, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:2: +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp: In function 'bool iterate_many_csv_tests::trailing_comma()': +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:46:37: error: no matching function for call to 'simdjson::fallback::ondemand::parser::iterate_many(simdjson::padded_string&, size_t, bool)' + 46 | ASSERT_SUCCESS(parser.iterate_many(json, json.size(), true).get(doc_stream)); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +In file included from /home/simdjson/include/simdjson/generic/ondemand-inl.h:14, + from /home/simdjson/include/simdjson/builtin.h:35, + from /home/simdjson/include/simdjson.h:39, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:1: +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const uint8_t*, size_t, size_t)' + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:77: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const uint8_t*' {aka 'const unsigned char*'} + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const char*, size_t, size_t)' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:74: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const char*' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const string&, size_t)' + 94 | inline simdjson_result parser::iterate_many(const std::string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate expects 2 arguments, 3 provided +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const simdjson::padded_string&, size_t)' + 97 | inline simdjson_result parser::iterate_many(const padded_string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate expects 2 arguments, 3 provided +In file included from /home/simdjson/tests/ondemand/../cast_tester.h:5, + from /home/simdjson/tests/ondemand/test_ondemand.h:7, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:2: +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp: In function 'bool iterate_many_csv_tests::check_parsed_values()': +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:62:37: error: no matching function for call to 'simdjson::fallback::ondemand::parser::iterate_many(simdjson::padded_string&, size_t, bool)' + 62 | ASSERT_SUCCESS(parser.iterate_many(json, json.size(), true).get(doc_stream)); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +In file included from /home/simdjson/include/simdjson/generic/ondemand-inl.h:14, + from /home/simdjson/include/simdjson/builtin.h:35, + from /home/simdjson/include/simdjson.h:39, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:1: +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const uint8_t*, size_t, size_t)' + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:77: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const uint8_t*' {aka 'const unsigned char*'} + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const char*, size_t, size_t)' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:74: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const char*' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const string&, size_t)' + 94 | inline simdjson_result parser::iterate_many(const std::string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate expects 2 arguments, 3 provided +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const simdjson::padded_string&, size_t)' + 97 | inline simdjson_result parser::iterate_many(const padded_string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate expects 2 arguments, 3 provided +In file included from /home/simdjson/tests/ondemand/../cast_tester.h:5, + from /home/simdjson/tests/ondemand/test_ondemand.h:7, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:2: +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp: In function 'bool iterate_many_csv_tests::leading_comma()': +/home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:130:37: error: no matching function for call to 'simdjson::fallback::ondemand::parser::iterate_many(simdjson::padded_string&, size_t, bool)' + 130 | ASSERT_SUCCESS(parser.iterate_many(json, json.size(), true).get(doc_stream)); + | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ +/home/simdjson/tests/ondemand/../test_macros.h:116:69: note: in definition of macro 'ASSERT_SUCCESS' + 116 | #define ASSERT_SUCCESS(ACTUAL) do { if (!::assert_success((ACTUAL), #ACTUAL)) { return false; } } while (0); + | ^~~~~~ +In file included from /home/simdjson/include/simdjson/generic/ondemand-inl.h:14, + from /home/simdjson/include/simdjson/builtin.h:35, + from /home/simdjson/include/simdjson.h:39, + from /home/simdjson/tests/ondemand/ondemand_iterate_many_csv.cpp:1: +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const uint8_t*, size_t, size_t)' + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:87:77: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const uint8_t*' {aka 'const unsigned char*'} + 87 | inline simdjson_result parser::iterate_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const char*, size_t, size_t)' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:91:74: note: no known conversion for argument 1 from 'simdjson::padded_string' to 'const char*' + 91 | inline simdjson_result parser::iterate_many(const char *buf, size_t len, size_t batch_size) noexcept { + | ~~~~~~~~~~~~^~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const string&, size_t)' + 94 | inline simdjson_result parser::iterate_many(const std::string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:94:41: note: candidate expects 2 arguments, 3 provided +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate: 'simdjson::simdjson_result simdjson::fallback::ondemand::parser::iterate_many(const simdjson::padded_string&, size_t)' + 97 | inline simdjson_result parser::iterate_many(const padded_string &s, size_t batch_size) noexcept { + | ^~~~~~ +/home/simdjson/include/simdjson/generic/ondemand/parser-inl.h:97:41: note: candidate expects 2 arguments, 3 provided +gmake[2]: *** [tests/ondemand/CMakeFiles/ondemand_iterate_many_csv.dir/build.make:82: tests/ondemand/CMakeFiles/ondemand_iterate_many_csv.dir/ondemand_iterate_many_csv.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:3072: tests/ondemand/CMakeFiles/ondemand_iterate_many_csv.dir/all] Error 2 +gmake: *** [Makefile:182: all] Error 2 +Test project /home/simdjson/build + Start 1: avoid_abort + 1/96 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/96 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/96 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/96 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/96 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/96 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/96 Test #7: amalgamate_demo ...................................... Passed 0.00 sec + Start 8: simdjson-singleheader + 8/96 Test #8: simdjson-singleheader ................................ Passed 6.90 sec + Start 9: amalgamate_demo_direct_from_repository + 9/96 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 10: unicode_tests +10/96 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +11/96 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/96 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: checkimplementation +13/96 Test #13: checkimplementation .................................. Passed 0.00 sec + Start 14: random_string_number_tests +14/96 Test #14: random_string_number_tests ........................... Passed 1.02 sec + Start 15: basictests +15/96 Test #15: basictests ........................................... Passed 0.01 sec + Start 16: document_stream_tests +16/96 Test #16: document_stream_tests ................................ Passed 0.24 sec + Start 17: document_tests +17/96 Test #17: document_tests ....................................... Passed 0.00 sec + Start 18: errortests +18/96 Test #18: errortests ........................................... Passed 0.00 sec + Start 19: extracting_values_example +19/96 Test #19: extracting_values_example ............................ Passed 0.00 sec + Start 20: integer_tests +20/96 Test #20: integer_tests ........................................ Passed 0.00 sec + Start 21: jsoncheck +21/96 Test #21: jsoncheck ............................................ Passed 0.00 sec + Start 22: minefieldcheck +22/96 Test #22: minefieldcheck ....................................... Passed 0.01 sec + Start 23: numberparsingcheck +23/96 Test #23: numberparsingcheck ................................... Passed 0.03 sec + Start 24: parse_many_test +24/96 Test #24: parse_many_test ...................................... Passed 0.00 sec + Start 25: pointercheck +25/96 Test #25: pointercheck ......................................... Passed 0.00 sec + Start 26: stringparsingcheck +26/96 Test #26: stringparsingcheck ................................... Passed 0.04 sec + Start 27: trivially_copyable_test +27/96 Test #27: trivially_copyable_test .............................. Passed 0.00 sec + Start 29: json2json +28/96 Test #29: json2json ............................................ Passed 0.01 sec + Start 28: testjson2json +29/96 Test #28: testjson2json ........................................ Passed 0.69 sec + Start 30: simdjson_force_implementation_error +30/96 Test #30: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 31: readme_examples +31/96 Test #31: readme_examples ...................................... Passed 3.49 sec + Start 32: readme_examples11 +32/96 Test #32: readme_examples11 .................................... Passed 3.39 sec + Start 33: readme_examples_noexceptions +33/96 Test #33: readme_examples_noexceptions ......................... Passed 2.54 sec + Start 34: readme_examples_noexceptions11 +34/96 Test #34: readme_examples_noexceptions11 ....................... Passed 2.27 sec + Start 35: readme_examples_will_fail_with_exceptions_off +35/96 Test #35: readme_examples_will_fail_with_exceptions_off ........ Passed 1.62 sec + Start 36: ondemand_log_tests +36/96 Test #36: ondemand_log_tests ................................... Passed 0.00 sec + Start 37: ondemand_log_error_tests +37/96 Test #37: ondemand_log_error_tests ............................. Passed 0.00 sec + Start 38: ondemand_tostring_tests +38/96 Test #38: ondemand_tostring_tests .............................. Passed 0.01 sec + Start 39: ondemand_active_tests +39/96 Test #39: ondemand_active_tests ................................ Passed 0.00 sec + Start 40: ondemand_array_tests +40/96 Test #40: ondemand_array_tests ................................. Passed 0.00 sec + Start 41: ondemand_array_error_tests +41/96 Test #41: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 42: ondemand_compilation_tests +42/96 Test #42: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 43: ondemand_document_stream_tests +43/96 Test #43: ondemand_document_stream_tests ....................... Passed 0.04 sec + Start 44: ondemand_error_tests +44/96 Test #44: ondemand_error_tests ................................. Passed 0.00 sec + Start 45: ondemand_error_location_tests +45/96 Test #45: ondemand_error_location_tests ........................ Passed 0.00 sec + Start 46: ondemand_json_pointer_tests +46/96 Test #46: ondemand_json_pointer_tests .......................... Passed 0.00 sec + Start 47: ondemand_key_string_tests +47/96 Test #47: ondemand_key_string_tests ............................ Passed 0.00 sec + Start 48: ondemand_misc_tests +48/96 Test #48: ondemand_misc_tests .................................. Passed 0.00 sec + Start 49: ondemand_number_tests +49/96 Test #49: ondemand_number_tests ................................ Passed 0.01 sec + Start 50: ondemand_number_in_string_tests +50/96 Test #50: ondemand_number_in_string_tests ...................... Passed 0.00 sec + Start 51: ondemand_object_tests +51/96 Test #51: ondemand_object_tests ................................ Passed 0.00 sec + Start 52: ondemand_object_error_tests +52/96 Test #52: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 53: ondemand_ordering_tests +53/96 Test #53: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 54: ondemand_parse_api_tests +54/96 Test #54: ondemand_parse_api_tests ............................. Passed 0.00 sec + Start 55: ondemand_readme_examples +55/96 Test #55: ondemand_readme_examples ............................. Passed 0.00 sec + Start 56: ondemand_scalar_tests +56/96 Test #56: ondemand_scalar_tests ................................ Passed 0.00 sec + Start 57: ondemand_twitter_tests +57/96 Test #57: ondemand_twitter_tests ............................... Passed 0.00 sec + Start 58: ondemand_wrong_type_error_tests +58/96 Test #58: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 59: ondemand_iterate_many_csv +Could not find executable ondemand_iterate_many_csv +Looked in the following places: +ondemand_iterate_many_csv +ondemand_iterate_many_csv +Unable to find executable: ondemand_iterate_many_csv +Release/ondemand_iterate_many_csv +Release/ondemand_iterate_many_csv +Debug/ondemand_iterate_many_csv +Debug/ondemand_iterate_many_csv +MinSizeRel/ondemand_iterate_many_csv +MinSizeRel/ondemand_iterate_many_csv +RelWithDebInfo/ondemand_iterate_many_csv +RelWithDebInfo/ondemand_iterate_many_csv +Deployment/ondemand_iterate_many_csv +Deployment/ondemand_iterate_many_csv +Development/ondemand_iterate_many_csv +Development/ondemand_iterate_many_csv +59/96 Test #59: ondemand_iterate_many_csv ............................***Not Run 0.00 sec + Start 60: ondemand_assert_out_of_order_values +Unable to find executable: ondemand_assert_out_of_order_values +Could not find executable ondemand_assert_out_of_order_values +Looked in the following places: +ondemand_assert_out_of_order_values +ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +60/96 Test #60: ondemand_assert_out_of_order_values ..................***Not Run 0.00 sec + Start 61: iterate_char_star_should_compile +61/96 Test #61: iterate_char_star_should_compile ..................... Passed 1.77 sec + Start 62: iterate_char_star_should_not_compile +62/96 Test #62: iterate_char_star_should_not_compile ................. Passed 1.65 sec + Start 63: iterate_string_view_should_compile +63/96 Test #63: iterate_string_view_should_compile ................... Passed 1.75 sec + Start 64: iterate_string_view_should_not_compile +64/96 Test #64: iterate_string_view_should_not_compile ............... Passed 1.61 sec + Start 65: iterate_temporary_buffer_should_compile +65/96 Test #65: iterate_temporary_buffer_should_compile .............. Passed 1.77 sec + Start 66: iterate_temporary_buffer_should_not_compile +66/96 Test #66: iterate_temporary_buffer_should_not_compile .......... Passed 1.59 sec + Start 67: first_second_access_should_compile +67/96 Test #67: first_second_access_should_compile ................... Passed 2.16 sec + Start 68: first_second_access_should_not_compile +68/96 Test #68: first_second_access_should_not_compile ............... Passed 1.60 sec + Start 69: example_compiletest_should_compile +69/96 Test #69: example_compiletest_should_compile ................... Passed 0.27 sec + Start 70: example_compiletest_should_not_compile +70/96 Test #70: example_compiletest_should_not_compile ............... Passed 0.18 sec + Start 71: bad_array_count_should_compile +71/96 Test #71: bad_array_count_should_compile ....................... Passed 1.95 sec + Start 72: bad_array_count_should_not_compile +72/96 Test #72: bad_array_count_should_not_compile ................... Passed 1.61 sec + Start 73: dangling_parser_load_should_compile +73/96 Test #73: dangling_parser_load_should_compile .................. Passed 2.04 sec + Start 74: dangling_parser_load_should_not_compile +74/96 Test #74: dangling_parser_load_should_not_compile .............. Passed 1.60 sec + Start 75: dangling_parser_parse_uint8_should_compile +75/96 Test #75: dangling_parser_parse_uint8_should_compile ........... Passed 2.02 sec + Start 76: dangling_parser_parse_uint8_should_not_compile +76/96 Test #76: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.60 sec + Start 77: dangling_parser_parse_uchar_should_compile +77/96 Test #77: dangling_parser_parse_uchar_should_compile ........... Passed 2.01 sec + Start 78: dangling_parser_parse_uchar_should_not_compile +78/96 Test #78: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.58 sec + Start 79: dangling_parser_parse_stdstring_should_compile +79/96 Test #79: dangling_parser_parse_stdstring_should_compile ....... Passed 2.03 sec + Start 80: dangling_parser_parse_stdstring_should_not_compile +80/96 Test #80: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.56 sec + Start 81: dangling_parser_parse_padstring_should_compile +81/96 Test #81: dangling_parser_parse_padstring_should_compile ....... Passed 1.99 sec + Start 82: dangling_parser_parse_padstring_should_not_compile +82/96 Test #82: dangling_parser_parse_padstring_should_not_compile ... Passed 1.57 sec + Start 83: unsafe_parse_many_should_compile +83/96 Test #83: unsafe_parse_many_should_compile ..................... Passed 2.19 sec + Start 84: unsafe_parse_many_should_not_compile +84/96 Test #84: unsafe_parse_many_should_not_compile ................. Passed 1.58 sec + Start 85: quickstart +85/96 Test #85: quickstart ........................................... Passed 3.60 sec + Start 86: quickstart11 +86/96 Test #86: quickstart11 ......................................... Passed 3.51 sec + Start 87: quickstart14 +87/96 Test #87: quickstart14 ......................................... Passed 3.38 sec + Start 88: quickstart_noexceptions +88/96 Test #88: quickstart_noexceptions .............................. Passed 3.55 sec + Start 89: quickstart_noexceptions11 +89/96 Test #89: quickstart_noexceptions11 ............................ Passed 3.37 sec + Start 90: quickstart2_noexceptions +90/96 Test #90: quickstart2_noexceptions ............................. Passed 3.54 sec + Start 91: quickstart2_noexceptions11 +91/96 Test #91: quickstart2_noexceptions11 ........................... Passed 3.26 sec + Start 92: quickstart_ondemand +92/96 Test #92: quickstart_ondemand .................................. Passed 3.62 sec + Start 93: quickstart_ondemand11 +93/96 Test #93: quickstart_ondemand11 ................................ Passed 3.45 sec + Start 94: quickstart_ondemand14 +94/96 Test #94: quickstart_ondemand14 ................................ Passed 3.39 sec + Start 95: quickstart_ondemand_noexceptions +95/96 Test #95: quickstart_ondemand_noexceptions ..................... Passed 3.54 sec + Start 96: quickstart_ondemand_noexceptions11 +96/96 Test #96: quickstart_ondemand_noexceptions11 ................... Passed 3.31 sec + +98% tests passed, 2 tests failed out of 96 + +Label Time Summary: +acceptance = 57.49 sec*proc (66 tests) +assert = 0.00 sec*proc (1 test) +compile = 41.53 sec*proc (12 tests) +dom = 1.41 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 81.21 sec*proc (36 tests) +ondemand = 14.02 sec*proc (33 tests) +other = 0.12 sec*proc (3 tests) +per_implementation = 9.23 sec*proc (47 tests) +quickstart = 41.53 sec*proc (12 tests) +quickstart_ondemand = 17.31 sec*proc (5 tests) +singleheader = 6.91 sec*proc (3 tests) + +Total Test time (real) = 103.81 sec + +The following tests FAILED: +Errors while running CTest + 59 - ondemand_iterate_many_csv (Not Run) + 60 - ondemand_assert_out_of_order_values (Not Run) diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/fix.patch new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/fix.patch @@ -0,0 +1 @@ + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/report.json new file mode 100644 index 000000000..1b26dd6da --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2016/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 2016, "valid": true, "error_msg": "", "fixed_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_key_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 95, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_log_error_tests", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "ondemand_log_tests", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 94, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "basictests", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "ondemand_error_location_tests", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_log_error_tests", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "ondemand_number_in_string_tests", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "ondemand_log_tests", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/fix-patch-run.log new file mode 100644 index 000000000..9a2526196 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/fix-patch-run.log @@ -0,0 +1,1549 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (5933 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (8339 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}" EXCLUDE_FROM_ALL) + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}" EXCLUDE_FROM_ALL) + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3432 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (18.6 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (3197 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.YlacUoqm +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.YlacUoqm/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.YlacUoqm/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.YlacUoqm/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.YlacUoqm/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.YlacUoqm/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.YlacUoqm +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=80ea4b15a3ef +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.9oqpNoPzef/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/CMakeLists.txt +patching file tests/prettify_tests.cpp +patching file include/simdjson/dom/serialization-inl.h +patching file include/simdjson/dom/serialization.h +patching file singleheader/simdjson.cpp +patching file singleheader/simdjson.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Adding -Og to compile flag +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@v1.7.1) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git version: v3.2.1-dirty normalized to 3.2.1 +-- Version: 3.2.1 +-- Looking for shm_open in rt +-- Looking for shm_open in rt - found +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL +-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC +-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Compiling and running to test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Compiling and running to test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Compiling and running to test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Compiling and running to test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test USE_BOOST_JSON +-- Performing Test USE_BOOST_JSON - Success +-- Importing boostjson (boostorg/json@ee8d72d) +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.10.5) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@f54b0e4) +-- Check if the system is big endian +-- Searching 16 bit integer +-- Looking for sys/types.h +-- Looking for sys/types.h - found +-- Looking for stdint.h +-- Looking for stdint.h - found +-- Looking for stddef.h +-- Looking for stddef.h - found +-- Check size of unsigned short +-- Check size of unsigned short - done +-- Searching 16 bit integer - Using unsigned short +-- Check if the system is big endian - little endian +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@c385651) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 1%] Linking CXX static library libsimdjson.a +[ 1%] Built target simdjson +Scanning dependencies of target cjson +[ 2%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 2%] Linking C static library libcjson.a +[ 2%] Built target cjson +Scanning dependencies of target boostjson +[ 2%] Building CXX object dependencies/CMakeFiles/boostjson.dir/.cache/boostjson/src/src.cpp.o +[ 4%] Linking CXX static library libboostjson.a +[ 4%] Built target boostjson +Scanning dependencies of target jsoncpp +[ 4%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 4%] Linking CXX static library libjsoncpp.a +[ 4%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 5%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 6%] Linking C static library libujson4c.a +[ 6%] Built target ujson4c +Scanning dependencies of target fastjson +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 8%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 8%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 8%] Linking CXX static library libfastjson.a +[ 8%] Built target fastjson +Scanning dependencies of target gason +[ 9%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 9%] Linking CXX static library libgason.a +[ 9%] Built target gason +Scanning dependencies of target yyjson +[ 9%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 10%] Linking C static library libyyjson.a +[ 10%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 12%] Linking C static library libjsmn.a +[ 12%] Built target jsmn +Scanning dependencies of target json11 +[ 12%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 12%] Linking CXX static library libjson11.a +[ 12%] Built target json11 +Scanning dependencies of target minify +[ 12%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 12%] Linking CXX executable minify +[ 12%] Built target minify +Scanning dependencies of target jsonpointer +[ 13%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 13%] Linking CXX executable jsonpointer +[ 13%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 14%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 14%] Linking CXX executable jsonstats +[ 14%] Built target jsonstats +Scanning dependencies of target json2json +[ 16%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 16%] Linking CXX executable json2json +[ 16%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 16%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 16%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 16%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target singleheader-files +[ 16%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +the commandline is ['git', 'show', '-s', '--format=%ci', 'HEAD'] +timestamp is 2023-07-06 21:48:59 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +Creating /home/simdjson/build/singleheader/simdjson.cpp +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 170 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 2734 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 690133 Jul 14 01:41 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 1304818 Jul 14 01:41 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +[ 16%] Built target singleheader-files +Scanning dependencies of target amalgamate_demo +[ 16%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 17%] Linking CXX executable amalgamate_demo +[ 17%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 17%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 17%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 17%] Linking CXX executable unicode_tests +[ 17%] Built target unicode_tests +Scanning dependencies of target prettify_tests +[ 17%] Building CXX object tests/CMakeFiles/prettify_tests.dir/prettify_tests.cpp.o +/home/simdjson/tests/prettify_tests.cpp: In function 'bool load_prettify(const char*)': +/home/simdjson/tests/prettify_tests.cpp:36:28: error: 'prettify' is not a member of 'simdjson'; did you mean 'pretty'? + 36 | auto serial1 = simdjson::prettify(doc); + | ^~~~~~~~ + | pretty +/home/simdjson/tests/prettify_tests.cpp:39:28: error: 'prettify' is not a member of 'simdjson'; did you mean 'pretty'? + 39 | auto serial2 = simdjson::prettify(doc); + | ^~~~~~~~ + | pretty +gmake[2]: *** [tests/CMakeFiles/prettify_tests.dir/build.make:82: tests/CMakeFiles/prettify_tests.dir/prettify_tests.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:1531: tests/CMakeFiles/prettify_tests.dir/all] Error 2 +gmake: *** [Makefile:182: all] Error 2 +Test project /home/simdjson/build + Start 1: avoid_abort + 1/97 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/97 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/97 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/97 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/97 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/97 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/97 Test #7: amalgamate_demo ...................................... Passed 0.00 sec + Start 8: simdjson-singleheader + 8/97 Test #8: simdjson-singleheader ................................ Passed 6.90 sec + Start 9: amalgamate_demo_direct_from_repository + 9/97 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 10: unicode_tests +10/97 Test #10: unicode_tests ........................................ Passed 0.05 sec + Start 11: minify_tests +Could not find executable minify_tests +Looked in the following places: +minify_tests +minify_tests +Release/minify_tests +Unable to find executable: minify_tests +Release/minify_tests +Debug/minify_tests +Debug/minify_tests +MinSizeRel/minify_tests +MinSizeRel/minify_tests +RelWithDebInfo/minify_tests +RelWithDebInfo/minify_tests +Deployment/minify_tests +Deployment/minify_tests +Development/minify_tests +Development/minify_tests +11/97 Test #11: minify_tests .........................................***Not Run 0.00 sec + Start 12: padded_string_tests +Could not find executable padded_string_tests +Looked in the following places: +padded_string_tests +padded_string_tests +Release/padded_string_tests +Release/padded_string_tests +Debug/padded_string_tests +Debug/padded_string_tests +MinSizeRel/padded_string_tests +MinSizeRel/padded_string_tests +RelWithDebInfo/padded_string_tests +RelWithDebInfo/padded_string_tests +Deployment/padded_string_tests +Deployment/padded_string_tests +Development/padded_string_tests +Development/padded_string_tests +Unable to find executable: padded_string_tests +12/97 Test #12: padded_string_tests ..................................***Not Run 0.00 sec + Start 13: prettify_tests +Unable to find executable: prettify_tests +Could not find executable prettify_tests +Looked in the following places: +prettify_tests +prettify_tests +Release/prettify_tests +Release/prettify_tests +Debug/prettify_tests +Debug/prettify_tests +MinSizeRel/prettify_tests +MinSizeRel/prettify_tests +RelWithDebInfo/prettify_tests +RelWithDebInfo/prettify_tests +Deployment/prettify_tests +Deployment/prettify_tests +Development/prettify_tests +Development/prettify_tests +13/97 Test #13: prettify_tests .......................................***Not Run 0.00 sec + Start 14: checkimplementation +Unable to find executable: checkimplementation +Could not find executable checkimplementation +Looked in the following places: +checkimplementation +checkimplementation +Release/checkimplementation +Release/checkimplementation +Debug/checkimplementation +Debug/checkimplementation +MinSizeRel/checkimplementation +MinSizeRel/checkimplementation +RelWithDebInfo/checkimplementation +RelWithDebInfo/checkimplementation +Deployment/checkimplementation +Deployment/checkimplementation +Development/checkimplementation +Development/checkimplementation +14/97 Test #14: checkimplementation ..................................***Not Run 0.00 sec + Start 15: random_string_number_tests +Unable to find executable: random_string_number_tests +Could not find executable random_string_number_tests +Looked in the following places: +random_string_number_tests +random_string_number_tests +Release/random_string_number_tests +Release/random_string_number_tests +Debug/random_string_number_tests +Debug/random_string_number_tests +MinSizeRel/random_string_number_tests +MinSizeRel/random_string_number_tests +RelWithDebInfo/random_string_number_tests +RelWithDebInfo/random_string_number_tests +Deployment/random_string_number_tests +Deployment/random_string_number_tests +Development/random_string_number_tests +Development/random_string_number_tests +15/97 Test #15: random_string_number_tests ...........................***Not Run 0.00 sec + Start 16: basictests +Could not find executable basictests +Looked in the following places: +basictests +basictests +Release/basictests +Release/basictests +Debug/basictests +Debug/basictests +MinSizeRel/basictests +MinSizeRel/basictests +RelWithDebInfo/basictests +RelWithDebInfo/basictests +Deployment/basictests +Deployment/basictests +Development/basictests +Development/basictests +16/97 Test #16: basictests ...........................................***Not Run 0.00 sec +Unable to find executable: basictests + Start 17: document_stream_tests +Could not find executable document_stream_tests +Looked in the following places: +document_stream_tests +document_stream_tests +Release/document_stream_tests +Release/document_stream_tests +Debug/document_stream_tests +Debug/document_stream_tests +MinSizeRel/document_stream_tests +MinSizeRel/document_stream_tests +RelWithDebInfo/document_stream_tests +RelWithDebInfo/document_stream_tests +Unable to find executable: document_stream_tests +Deployment/document_stream_tests +Deployment/document_stream_tests +Development/document_stream_tests +Development/document_stream_tests +17/97 Test #17: document_stream_tests ................................***Not Run 0.00 sec + Start 18: document_tests +Unable to find executable: document_tests +Could not find executable document_tests +Looked in the following places: +document_tests +document_tests +Release/document_tests +Release/document_tests +Debug/document_tests +Debug/document_tests +MinSizeRel/document_tests +MinSizeRel/document_tests +RelWithDebInfo/document_tests +RelWithDebInfo/document_tests +Deployment/document_tests +Deployment/document_tests +Development/document_tests +Development/document_tests +18/97 Test #18: document_tests .......................................***Not Run 0.00 sec + Start 19: errortests +Could not find executable errortests +Looked in the following places: +errortests +errortests +Release/errortests +Release/errortests +Debug/errortests +Debug/errortests +MinSizeRel/errortests +MinSizeRel/errortests +RelWithDebInfo/errortests +RelWithDebInfo/errortests +Deployment/errortests +Deployment/errortests +Development/errortests +Development/errortests +19/97 Test #19: errortests ...........................................***Not Run 0.00 sec + Start 20: extracting_values_example +Unable to find executable: errortests +Could not find executable extracting_values_example +Looked in the following places: +extracting_values_example +extracting_values_example +Release/extracting_values_example +Release/extracting_values_example +Debug/extracting_values_example +Debug/extracting_values_example +MinSizeRel/extracting_values_example +MinSizeRel/extracting_values_example +RelWithDebInfo/extracting_values_example +RelWithDebInfo/extracting_values_example +Deployment/extracting_values_example +Deployment/extracting_values_example +Development/extracting_values_example +Development/extracting_values_example +20/97 Test #20: extracting_values_example ............................***Not Run 0.00 sec +Unable to find executable: extracting_values_example + Start 21: integer_tests +Could not find executable integer_tests +Looked in the following places: +integer_tests +integer_tests +Release/integer_tests +Release/integer_tests +Debug/integer_tests +Debug/integer_tests +MinSizeRel/integer_tests +MinSizeRel/integer_tests +RelWithDebInfo/integer_tests +RelWithDebInfo/integer_tests +Deployment/integer_tests +Unable to find executable: integer_tests +Deployment/integer_tests +Development/integer_tests +Development/integer_tests +21/97 Test #21: integer_tests ........................................***Not Run 0.00 sec + Start 22: jsoncheck +Could not find executable jsoncheck +Looked in the following places: +jsoncheck +jsoncheck +Release/jsoncheck +Release/jsoncheck +Debug/jsoncheck +Debug/jsoncheck +MinSizeRel/jsoncheck +MinSizeRel/jsoncheck +RelWithDebInfo/jsoncheck +RelWithDebInfo/jsoncheck +Deployment/jsoncheck +Unable to find executable: jsoncheck +Deployment/jsoncheck +Development/jsoncheck +Development/jsoncheck +22/97 Test #22: jsoncheck ............................................***Not Run 0.00 sec + Start 23: minefieldcheck +Could not find executable minefieldcheck +Looked in the following places: +minefieldcheck +minefieldcheck +Release/minefieldcheck +Unable to find executable: minefieldcheck +Release/minefieldcheck +Debug/minefieldcheck +Debug/minefieldcheck +MinSizeRel/minefieldcheck +MinSizeRel/minefieldcheck +RelWithDebInfo/minefieldcheck +RelWithDebInfo/minefieldcheck +Deployment/minefieldcheck +Deployment/minefieldcheck +Development/minefieldcheck +Development/minefieldcheck +23/97 Test #23: minefieldcheck .......................................***Not Run 0.00 sec + Start 24: numberparsingcheck +Could not find executable numberparsingcheck +Looked in the following places: +numberparsingcheck +numberparsingcheck +Release/numberparsingcheck +Release/numberparsingcheck +Debug/numberparsingcheck +Debug/numberparsingcheck +MinSizeRel/numberparsingcheck +MinSizeRel/numberparsingcheck +RelWithDebInfo/numberparsingcheck +RelWithDebInfo/numberparsingcheck +Deployment/numberparsingcheck +Deployment/numberparsingcheck +Development/numberparsingcheck +Development/numberparsingcheck +Unable to find executable: numberparsingcheck +24/97 Test #24: numberparsingcheck ...................................***Not Run 0.00 sec + Start 25: parse_many_test +Unable to find executable: parse_many_test +Could not find executable parse_many_test +Looked in the following places: +parse_many_test +parse_many_test +Release/parse_many_test +Release/parse_many_test +Debug/parse_many_test +Debug/parse_many_test +MinSizeRel/parse_many_test +MinSizeRel/parse_many_test +RelWithDebInfo/parse_many_test +RelWithDebInfo/parse_many_test +Deployment/parse_many_test +Deployment/parse_many_test +Development/parse_many_test +Development/parse_many_test +25/97 Test #25: parse_many_test ......................................***Not Run 0.00 sec + Start 26: pointercheck +Could not find executable pointercheck +Looked in the following places: +pointercheck +pointercheck +Release/pointercheck +Release/pointercheck +Debug/pointercheck +Debug/pointercheck +MinSizeRel/pointercheck +MinSizeRel/pointercheck +RelWithDebInfo/pointercheck +RelWithDebInfo/pointercheck +Deployment/pointercheck +Deployment/pointercheck +Development/pointercheck +Development/pointercheck +26/97 Test #26: pointercheck .........................................***Not Run 0.00 sec +Unable to find executable: pointercheck + Start 27: stringparsingcheck +Could not find executable stringparsingcheck +Looked in the following places: +stringparsingcheck +stringparsingcheck +Release/stringparsingcheck +Release/stringparsingcheck +Debug/stringparsingcheck +Debug/stringparsingcheck +MinSizeRel/stringparsingcheck +MinSizeRel/stringparsingcheck +RelWithDebInfo/stringparsingcheck +RelWithDebInfo/stringparsingcheck +Deployment/stringparsingcheck +Deployment/stringparsingcheck +Unable to find executable: stringparsingcheck +Development/stringparsingcheck +Development/stringparsingcheck +27/97 Test #27: stringparsingcheck ...................................***Not Run 0.00 sec + Start 28: trivially_copyable_test +Could not find executable trivially_copyable_test +Looked in the following places: +trivially_copyable_test +trivially_copyable_test +Release/trivially_copyable_test +Unable to find executable: trivially_copyable_test +Release/trivially_copyable_test +Debug/trivially_copyable_test +Debug/trivially_copyable_test +MinSizeRel/trivially_copyable_test +MinSizeRel/trivially_copyable_test +RelWithDebInfo/trivially_copyable_test +RelWithDebInfo/trivially_copyable_test +Deployment/trivially_copyable_test +Deployment/trivially_copyable_test +Development/trivially_copyable_test +Development/trivially_copyable_test +28/97 Test #28: trivially_copyable_test ..............................***Not Run 0.00 sec + Start 30: json2json +29/97 Test #30: json2json ............................................ Passed 0.01 sec + Start 29: testjson2json +30/97 Test #29: testjson2json ........................................ Passed 0.69 sec + Start 31: simdjson_force_implementation_error +31/97 Test #31: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 32: readme_examples +32/97 Test #32: readme_examples ...................................... Passed 3.50 sec + Start 33: readme_examples11 +33/97 Test #33: readme_examples11 .................................... Passed 3.43 sec + Start 34: readme_examples_noexceptions +34/97 Test #34: readme_examples_noexceptions ......................... Passed 2.47 sec + Start 35: readme_examples_noexceptions11 +35/97 Test #35: readme_examples_noexceptions11 ....................... Passed 2.29 sec + Start 36: readme_examples_will_fail_with_exceptions_off +36/97 Test #36: readme_examples_will_fail_with_exceptions_off ........ Passed 1.64 sec + Start 37: ondemand_log_tests +Could not find executable ondemand_log_tests +Unable to find executable: ondemand_log_tests +Looked in the following places: +ondemand_log_tests +ondemand_log_tests +Release/ondemand_log_tests +Release/ondemand_log_tests +Debug/ondemand_log_tests +Debug/ondemand_log_tests +MinSizeRel/ondemand_log_tests +MinSizeRel/ondemand_log_tests +RelWithDebInfo/ondemand_log_tests +RelWithDebInfo/ondemand_log_tests +Deployment/ondemand_log_tests +Deployment/ondemand_log_tests +Development/ondemand_log_tests +Development/ondemand_log_tests +37/97 Test #37: ondemand_log_tests ...................................***Not Run 0.00 sec + Start 38: ondemand_log_error_tests +Could not find executable ondemand_log_error_tests +Looked in the following places: +ondemand_log_error_tests +ondemand_log_error_tests +Unable to find executable: ondemand_log_error_tests +Release/ondemand_log_error_tests +Release/ondemand_log_error_tests +Debug/ondemand_log_error_tests +Debug/ondemand_log_error_tests +MinSizeRel/ondemand_log_error_tests +MinSizeRel/ondemand_log_error_tests +RelWithDebInfo/ondemand_log_error_tests +RelWithDebInfo/ondemand_log_error_tests +Deployment/ondemand_log_error_tests +Deployment/ondemand_log_error_tests +Development/ondemand_log_error_tests +Development/ondemand_log_error_tests +38/97 Test #38: ondemand_log_error_tests .............................***Not Run 0.00 sec + Start 39: ondemand_tostring_tests +Could not find executable ondemand_tostring_tests +Looked in the following places: +ondemand_tostring_tests +ondemand_tostring_tests +Release/ondemand_tostring_tests +Release/ondemand_tostring_tests +Debug/ondemand_tostring_tests +Debug/ondemand_tostring_tests +MinSizeRel/ondemand_tostring_tests +MinSizeRel/ondemand_tostring_tests +RelWithDebInfo/ondemand_tostring_tests +RelWithDebInfo/ondemand_tostring_tests +Deployment/ondemand_tostring_tests +Deployment/ondemand_tostring_tests +Development/ondemand_tostring_tests +Development/ondemand_tostring_tests +Unable to find executable: ondemand_tostring_tests +39/97 Test #39: ondemand_tostring_tests ..............................***Not Run 0.00 sec + Start 40: ondemand_active_tests +Unable to find executable: ondemand_active_tests +Could not find executable ondemand_active_tests +Looked in the following places: +ondemand_active_tests +ondemand_active_tests +Release/ondemand_active_tests +Release/ondemand_active_tests +Debug/ondemand_active_tests +Debug/ondemand_active_tests +MinSizeRel/ondemand_active_tests +MinSizeRel/ondemand_active_tests +RelWithDebInfo/ondemand_active_tests +RelWithDebInfo/ondemand_active_tests +Deployment/ondemand_active_tests +Deployment/ondemand_active_tests +Development/ondemand_active_tests +Development/ondemand_active_tests +40/97 Test #40: ondemand_active_tests ................................***Not Run 0.00 sec + Start 41: ondemand_array_tests +Could not find executable ondemand_array_tests +Looked in the following places: +ondemand_array_tests +ondemand_array_tests +Release/ondemand_array_tests +Release/ondemand_array_tests +Debug/ondemand_array_tests +Debug/ondemand_array_tests +MinSizeRel/ondemand_array_tests +MinSizeRel/ondemand_array_tests +RelWithDebInfo/ondemand_array_tests +RelWithDebInfo/ondemand_array_tests +Deployment/ondemand_array_tests +Deployment/ondemand_array_tests +Development/ondemand_array_tests +Development/ondemand_array_tests +Unable to find executable: ondemand_array_tests +41/97 Test #41: ondemand_array_tests .................................***Not Run 0.00 sec + Start 42: ondemand_array_error_tests +Could not find executable ondemand_array_error_tests +Looked in the following places: +ondemand_array_error_tests +ondemand_array_error_tests +Release/ondemand_array_error_tests +Release/ondemand_array_error_tests +Debug/ondemand_array_error_tests +Debug/ondemand_array_error_tests +Unable to find executable: ondemand_array_error_tests +MinSizeRel/ondemand_array_error_tests +MinSizeRel/ondemand_array_error_tests +RelWithDebInfo/ondemand_array_error_tests +RelWithDebInfo/ondemand_array_error_tests +Deployment/ondemand_array_error_tests +Deployment/ondemand_array_error_tests +Development/ondemand_array_error_tests +Development/ondemand_array_error_tests +42/97 Test #42: ondemand_array_error_tests ...........................***Not Run 0.00 sec + Start 43: ondemand_compilation_tests +Could not find executable ondemand_compilation_tests +Looked in the following places: +ondemand_compilation_tests +ondemand_compilation_tests +Release/ondemand_compilation_tests +Release/ondemand_compilation_tests +Debug/ondemand_compilation_tests +Debug/ondemand_compilation_tests +Unable to find executable: ondemand_compilation_tests +MinSizeRel/ondemand_compilation_tests +MinSizeRel/ondemand_compilation_tests +RelWithDebInfo/ondemand_compilation_tests +RelWithDebInfo/ondemand_compilation_tests +Deployment/ondemand_compilation_tests +Deployment/ondemand_compilation_tests +Development/ondemand_compilation_tests +Development/ondemand_compilation_tests +43/97 Test #43: ondemand_compilation_tests ...........................***Not Run 0.00 sec + Start 44: ondemand_document_stream_tests +Unable to find executable: ondemand_document_stream_tests +Could not find executable ondemand_document_stream_tests +Looked in the following places: +ondemand_document_stream_tests +ondemand_document_stream_tests +Release/ondemand_document_stream_tests +Release/ondemand_document_stream_tests +Debug/ondemand_document_stream_tests +Debug/ondemand_document_stream_tests +MinSizeRel/ondemand_document_stream_tests +MinSizeRel/ondemand_document_stream_tests +RelWithDebInfo/ondemand_document_stream_tests +RelWithDebInfo/ondemand_document_stream_tests +Deployment/ondemand_document_stream_tests +Deployment/ondemand_document_stream_tests +Development/ondemand_document_stream_tests +Development/ondemand_document_stream_tests +44/97 Test #44: ondemand_document_stream_tests .......................***Not Run 0.00 sec + Start 45: ondemand_error_tests +Could not find executable ondemand_error_tests +Looked in the following places: +ondemand_error_tests +ondemand_error_tests +Release/ondemand_error_tests +Release/ondemand_error_tests +Debug/ondemand_error_tests +Debug/ondemand_error_tests +MinSizeRel/ondemand_error_tests +MinSizeRel/ondemand_error_tests +RelWithDebInfo/ondemand_error_tests +RelWithDebInfo/ondemand_error_tests +Deployment/ondemand_error_tests +Deployment/ondemand_error_tests +Development/ondemand_error_tests +Development/ondemand_error_tests +Unable to find executable: ondemand_error_tests +45/97 Test #45: ondemand_error_tests .................................***Not Run 0.00 sec + Start 46: ondemand_error_location_tests +Could not find executable ondemand_error_location_tests +Looked in the following places: +ondemand_error_location_tests +ondemand_error_location_tests +Release/ondemand_error_location_tests +Release/ondemand_error_location_tests +Debug/ondemand_error_location_tests +Debug/ondemand_error_location_tests +MinSizeRel/ondemand_error_location_tests +Unable to find executable: ondemand_error_location_tests +MinSizeRel/ondemand_error_location_tests +RelWithDebInfo/ondemand_error_location_tests +RelWithDebInfo/ondemand_error_location_tests +Deployment/ondemand_error_location_tests +Deployment/ondemand_error_location_tests +Development/ondemand_error_location_tests +Development/ondemand_error_location_tests +46/97 Test #46: ondemand_error_location_tests ........................***Not Run 0.00 sec + Start 47: ondemand_json_pointer_tests +Could not find executable ondemand_json_pointer_tests +Looked in the following places: +ondemand_json_pointer_tests +ondemand_json_pointer_tests +Release/ondemand_json_pointer_tests +Release/ondemand_json_pointer_tests +Debug/ondemand_json_pointer_tests +Debug/ondemand_json_pointer_tests +MinSizeRel/ondemand_json_pointer_tests +MinSizeRel/ondemand_json_pointer_tests +RelWithDebInfo/ondemand_json_pointer_tests +RelWithDebInfo/ondemand_json_pointer_tests +Deployment/ondemand_json_pointer_tests +Deployment/ondemand_json_pointer_tests +Unable to find executable: ondemand_json_pointer_tests +Development/ondemand_json_pointer_tests +Development/ondemand_json_pointer_tests +47/97 Test #47: ondemand_json_pointer_tests ..........................***Not Run 0.00 sec + Start 48: ondemand_key_string_tests +Could not find executable ondemand_key_string_tests +Looked in the following places: +ondemand_key_string_tests +ondemand_key_string_tests +Release/ondemand_key_string_tests +Release/ondemand_key_string_tests +Debug/ondemand_key_string_tests +Debug/ondemand_key_string_tests +MinSizeRel/ondemand_key_string_tests +MinSizeRel/ondemand_key_string_tests +RelWithDebInfo/ondemand_key_string_tests +RelWithDebInfo/ondemand_key_string_tests +Deployment/ondemand_key_string_tests +Deployment/ondemand_key_string_tests +Development/ondemand_key_string_tests +Development/ondemand_key_string_tests +Unable to find executable: ondemand_key_string_tests +48/97 Test #48: ondemand_key_string_tests ............................***Not Run 0.00 sec + Start 49: ondemand_misc_tests +Could not find executable ondemand_misc_tests +Unable to find executable: ondemand_misc_tests +Looked in the following places: +ondemand_misc_tests +ondemand_misc_tests +Release/ondemand_misc_tests +Release/ondemand_misc_tests +Debug/ondemand_misc_tests +Debug/ondemand_misc_tests +MinSizeRel/ondemand_misc_tests +MinSizeRel/ondemand_misc_tests +RelWithDebInfo/ondemand_misc_tests +RelWithDebInfo/ondemand_misc_tests +Deployment/ondemand_misc_tests +Deployment/ondemand_misc_tests +Development/ondemand_misc_tests +Development/ondemand_misc_tests +49/97 Test #49: ondemand_misc_tests ..................................***Not Run 0.00 sec + Start 50: ondemand_number_tests +Could not find executable ondemand_number_tests +Looked in the following places: +ondemand_number_tests +ondemand_number_tests +Release/ondemand_number_tests +Release/ondemand_number_tests +Debug/ondemand_number_tests +Debug/ondemand_number_tests +MinSizeRel/ondemand_number_tests +MinSizeRel/ondemand_number_tests +RelWithDebInfo/ondemand_number_tests +RelWithDebInfo/ondemand_number_tests +Deployment/ondemand_number_tests +Deployment/ondemand_number_tests +Development/ondemand_number_tests +Development/ondemand_number_tests +50/97 Test #50: ondemand_number_tests ................................***Not Run 0.00 sec +Unable to find executable: ondemand_number_tests + Start 51: ondemand_number_in_string_tests +Could not find executable ondemand_number_in_string_tests +Looked in the following places: +ondemand_number_in_string_tests +ondemand_number_in_string_tests +Release/ondemand_number_in_string_tests +Release/ondemand_number_in_string_tests +Debug/ondemand_number_in_string_tests +Debug/ondemand_number_in_string_tests +MinSizeRel/ondemand_number_in_string_tests +MinSizeRel/ondemand_number_in_string_tests +RelWithDebInfo/ondemand_number_in_string_tests +RelWithDebInfo/ondemand_number_in_string_tests +Deployment/ondemand_number_in_string_tests +Deployment/ondemand_number_in_string_tests +Development/ondemand_number_in_string_tests +Development/ondemand_number_in_string_tests +51/97 Test #51: ondemand_number_in_string_tests ......................***Not Run 0.00 sec +Unable to find executable: ondemand_number_in_string_tests + Start 52: ondemand_object_tests +Could not find executable ondemand_object_tests +Looked in the following places: +ondemand_object_tests +ondemand_object_tests +Release/ondemand_object_tests +Release/ondemand_object_tests +Unable to find executable: ondemand_object_tests +Debug/ondemand_object_tests +Debug/ondemand_object_tests +MinSizeRel/ondemand_object_tests +MinSizeRel/ondemand_object_tests +RelWithDebInfo/ondemand_object_tests +RelWithDebInfo/ondemand_object_tests +Deployment/ondemand_object_tests +Deployment/ondemand_object_tests +Development/ondemand_object_tests +Development/ondemand_object_tests +52/97 Test #52: ondemand_object_tests ................................***Not Run 0.00 sec + Start 53: ondemand_object_error_tests +Could not find executable ondemand_object_error_tests +Looked in the following places: +ondemand_object_error_tests +ondemand_object_error_tests +Release/ondemand_object_error_tests +Release/ondemand_object_error_tests +Debug/ondemand_object_error_tests +Debug/ondemand_object_error_tests +MinSizeRel/ondemand_object_error_tests +Unable to find executable: ondemand_object_error_tests +MinSizeRel/ondemand_object_error_tests +RelWithDebInfo/ondemand_object_error_tests +RelWithDebInfo/ondemand_object_error_tests +Deployment/ondemand_object_error_tests +Deployment/ondemand_object_error_tests +Development/ondemand_object_error_tests +Development/ondemand_object_error_tests +53/97 Test #53: ondemand_object_error_tests ..........................***Not Run 0.00 sec + Start 54: ondemand_ordering_tests +Could not find executable ondemand_ordering_tests +Looked in the following places: +Unable to find executable: ondemand_ordering_tests +ondemand_ordering_tests +ondemand_ordering_tests +Release/ondemand_ordering_tests +Release/ondemand_ordering_tests +Debug/ondemand_ordering_tests +Debug/ondemand_ordering_tests +MinSizeRel/ondemand_ordering_tests +MinSizeRel/ondemand_ordering_tests +RelWithDebInfo/ondemand_ordering_tests +RelWithDebInfo/ondemand_ordering_tests +Deployment/ondemand_ordering_tests +Deployment/ondemand_ordering_tests +Development/ondemand_ordering_tests +Development/ondemand_ordering_tests +54/97 Test #54: ondemand_ordering_tests ..............................***Not Run 0.00 sec + Start 55: ondemand_parse_api_tests +Could not find executable ondemand_parse_api_tests +Looked in the following places: +Unable to find executable: ondemand_parse_api_tests +ondemand_parse_api_tests +ondemand_parse_api_tests +Release/ondemand_parse_api_tests +Release/ondemand_parse_api_tests +Debug/ondemand_parse_api_tests +Debug/ondemand_parse_api_tests +MinSizeRel/ondemand_parse_api_tests +MinSizeRel/ondemand_parse_api_tests +RelWithDebInfo/ondemand_parse_api_tests +RelWithDebInfo/ondemand_parse_api_tests +Deployment/ondemand_parse_api_tests +Deployment/ondemand_parse_api_tests +Development/ondemand_parse_api_tests +Development/ondemand_parse_api_tests +55/97 Test #55: ondemand_parse_api_tests .............................***Not Run 0.00 sec + Start 56: ondemand_readme_examples +Could not find executable ondemand_readme_examples +Looked in the following places: +ondemand_readme_examples +ondemand_readme_examples +Release/ondemand_readme_examples +Release/ondemand_readme_examples +Debug/ondemand_readme_examples +Debug/ondemand_readme_examples +MinSizeRel/ondemand_readme_examples +MinSizeRel/ondemand_readme_examples +RelWithDebInfo/ondemand_readme_examples +RelWithDebInfo/ondemand_readme_examples +Deployment/ondemand_readme_examples +Deployment/ondemand_readme_examples +Development/ondemand_readme_examples +Development/ondemand_readme_examples +56/97 Test #56: ondemand_readme_examples .............................***Not Run 0.00 sec + Start 57: ondemand_scalar_tests +Unable to find executable: ondemand_readme_examples +Could not find executable ondemand_scalar_tests +Looked in the following places: +ondemand_scalar_tests +ondemand_scalar_tests +Release/ondemand_scalar_tests +Release/ondemand_scalar_tests +Debug/ondemand_scalar_tests +Debug/ondemand_scalar_tests +MinSizeRel/ondemand_scalar_tests +MinSizeRel/ondemand_scalar_tests +RelWithDebInfo/ondemand_scalar_tests +RelWithDebInfo/ondemand_scalar_tests +Deployment/ondemand_scalar_tests +Deployment/ondemand_scalar_tests +Development/ondemand_scalar_tests +Development/ondemand_scalar_tests +57/97 Test #57: ondemand_scalar_tests ................................***Not Run 0.00 sec + Start 58: ondemand_twitter_tests +Unable to find executable: ondemand_scalar_tests +Could not find executable ondemand_twitter_tests +Looked in the following places: +ondemand_twitter_tests +ondemand_twitter_tests +Release/ondemand_twitter_tests +Release/ondemand_twitter_tests +Debug/ondemand_twitter_tests +Debug/ondemand_twitter_tests +MinSizeRel/ondemand_twitter_tests +MinSizeRel/ondemand_twitter_tests +RelWithDebInfo/ondemand_twitter_tests +RelWithDebInfo/ondemand_twitter_tests +Deployment/ondemand_twitter_tests +Deployment/ondemand_twitter_tests +Development/ondemand_twitter_tests +Development/ondemand_twitter_tests +Unable to find executable: ondemand_twitter_tests +58/97 Test #58: ondemand_twitter_tests ...............................***Not Run 0.00 sec + Start 59: ondemand_wrong_type_error_tests +Unable to find executable: ondemand_wrong_type_error_tests +Could not find executable ondemand_wrong_type_error_tests +Looked in the following places: +ondemand_wrong_type_error_tests +ondemand_wrong_type_error_tests +Release/ondemand_wrong_type_error_tests +Release/ondemand_wrong_type_error_tests +Debug/ondemand_wrong_type_error_tests +Debug/ondemand_wrong_type_error_tests +MinSizeRel/ondemand_wrong_type_error_tests +MinSizeRel/ondemand_wrong_type_error_tests +RelWithDebInfo/ondemand_wrong_type_error_tests +RelWithDebInfo/ondemand_wrong_type_error_tests +Deployment/ondemand_wrong_type_error_tests +Deployment/ondemand_wrong_type_error_tests +Development/ondemand_wrong_type_error_tests +Development/ondemand_wrong_type_error_tests +59/97 Test #59: ondemand_wrong_type_error_tests ......................***Not Run 0.00 sec + Start 60: ondemand_iterate_many_csv +Could not find executable ondemand_iterate_many_csv +Looked in the following places: +ondemand_iterate_many_csv +ondemand_iterate_many_csv +Release/ondemand_iterate_many_csv +Release/ondemand_iterate_many_csv +Debug/ondemand_iterate_many_csv +Debug/ondemand_iterate_many_csv +MinSizeRel/ondemand_iterate_many_csv +MinSizeRel/ondemand_iterate_many_csv +RelWithDebInfo/ondemand_iterate_many_csv +Unable to find executable: ondemand_iterate_many_csv +RelWithDebInfo/ondemand_iterate_many_csv +Deployment/ondemand_iterate_many_csv +Deployment/ondemand_iterate_many_csv +Development/ondemand_iterate_many_csv +Development/ondemand_iterate_many_csv +60/97 Test #60: ondemand_iterate_many_csv ............................***Not Run 0.00 sec + Start 61: ondemand_assert_out_of_order_values +Unable to find executable: ondemand_assert_out_of_order_values +Could not find executable ondemand_assert_out_of_order_values +Looked in the following places: +ondemand_assert_out_of_order_values +ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +61/97 Test #61: ondemand_assert_out_of_order_values ..................***Not Run 0.00 sec + Start 62: iterate_char_star_should_compile +62/97 Test #62: iterate_char_star_should_compile ..................... Passed 1.77 sec + Start 63: iterate_char_star_should_not_compile +63/97 Test #63: iterate_char_star_should_not_compile ................. Passed 1.66 sec + Start 64: iterate_string_view_should_compile +64/97 Test #64: iterate_string_view_should_compile ................... Passed 1.81 sec + Start 65: iterate_string_view_should_not_compile +65/97 Test #65: iterate_string_view_should_not_compile ............... Passed 1.61 sec + Start 66: iterate_temporary_buffer_should_compile +66/97 Test #66: iterate_temporary_buffer_should_compile .............. Passed 1.78 sec + Start 67: iterate_temporary_buffer_should_not_compile +67/97 Test #67: iterate_temporary_buffer_should_not_compile .......... Passed 1.59 sec + Start 68: first_second_access_should_compile +68/97 Test #68: first_second_access_should_compile ................... Passed 2.09 sec + Start 69: first_second_access_should_not_compile +69/97 Test #69: first_second_access_should_not_compile ............... Passed 1.62 sec + Start 70: example_compiletest_should_compile +70/97 Test #70: example_compiletest_should_compile ................... Passed 0.28 sec + Start 71: example_compiletest_should_not_compile +71/97 Test #71: example_compiletest_should_not_compile ............... Passed 0.18 sec + Start 72: bad_array_count_should_compile +72/97 Test #72: bad_array_count_should_compile ....................... Passed 1.97 sec + Start 73: bad_array_count_should_not_compile +73/97 Test #73: bad_array_count_should_not_compile ................... Passed 1.62 sec + Start 74: dangling_parser_load_should_compile +74/97 Test #74: dangling_parser_load_should_compile .................. Passed 2.08 sec + Start 75: dangling_parser_load_should_not_compile +75/97 Test #75: dangling_parser_load_should_not_compile .............. Passed 1.64 sec + Start 76: dangling_parser_parse_uint8_should_compile +76/97 Test #76: dangling_parser_parse_uint8_should_compile ........... Passed 2.07 sec + Start 77: dangling_parser_parse_uint8_should_not_compile +77/97 Test #77: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.61 sec + Start 78: dangling_parser_parse_uchar_should_compile +78/97 Test #78: dangling_parser_parse_uchar_should_compile ........... Passed 2.06 sec + Start 79: dangling_parser_parse_uchar_should_not_compile +79/97 Test #79: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.61 sec + Start 80: dangling_parser_parse_stdstring_should_compile +80/97 Test #80: dangling_parser_parse_stdstring_should_compile ....... Passed 2.04 sec + Start 81: dangling_parser_parse_stdstring_should_not_compile +81/97 Test #81: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.60 sec + Start 82: dangling_parser_parse_padstring_should_compile +82/97 Test #82: dangling_parser_parse_padstring_should_compile ....... Passed 2.03 sec + Start 83: dangling_parser_parse_padstring_should_not_compile +83/97 Test #83: dangling_parser_parse_padstring_should_not_compile ... Passed 1.60 sec + Start 84: unsafe_parse_many_should_compile +84/97 Test #84: unsafe_parse_many_should_compile ..................... Passed 2.20 sec + Start 85: unsafe_parse_many_should_not_compile +85/97 Test #85: unsafe_parse_many_should_not_compile ................. Passed 1.63 sec + Start 86: quickstart +86/97 Test #86: quickstart ........................................... Passed 3.70 sec + Start 87: quickstart11 +87/97 Test #87: quickstart11 ......................................... Passed 3.45 sec + Start 88: quickstart14 +88/97 Test #88: quickstart14 ......................................... Passed 3.47 sec + Start 89: quickstart_noexceptions +89/97 Test #89: quickstart_noexceptions .............................. Passed 3.65 sec + Start 90: quickstart_noexceptions11 +90/97 Test #90: quickstart_noexceptions11 ............................ Passed 3.41 sec + Start 91: quickstart2_noexceptions +91/97 Test #91: quickstart2_noexceptions ............................. Passed 3.56 sec + Start 92: quickstart2_noexceptions11 +92/97 Test #92: quickstart2_noexceptions11 ........................... Passed 3.32 sec + Start 93: quickstart_ondemand +93/97 Test #93: quickstart_ondemand .................................. Passed 3.69 sec + Start 94: quickstart_ondemand11 +94/97 Test #94: quickstart_ondemand11 ................................ Passed 3.42 sec + Start 95: quickstart_ondemand14 +95/97 Test #95: quickstart_ondemand14 ................................ Passed 3.47 sec + Start 96: quickstart_ondemand_noexceptions +96/97 Test #96: quickstart_ondemand_noexceptions ..................... Passed 3.71 sec + Start 97: quickstart_ondemand_noexceptions11 +97/97 Test #97: quickstart_ondemand_noexceptions11 ................... Passed 3.37 sec + +56% tests passed, 43 tests failed out of 97 + +Label Time Summary: +acceptance = 56.55 sec*proc (67 tests) +assert = 0.00 sec*proc (1 test) +compile = 42.24 sec*proc (12 tests) +dom = 0.05 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 82.40 sec*proc (36 tests) +ondemand = 13.93 sec*proc (33 tests) +other = 0.00 sec*proc (4 tests) +per_implementation = 7.65 sec*proc (48 tests) +quickstart = 42.24 sec*proc (12 tests) +quickstart_ondemand = 17.67 sec*proc (5 tests) +singleheader = 6.91 sec*proc (3 tests) + +Total Test time (real) = 103.44 sec + +The following tests FAILED: + 11 - minify_tests (Not Run) + 12 - padded_string_tests (Not Run) + 13 - prettify_tests (Not Run) + 14 - checkimplementation (Not Run) + 15 - random_string_number_tests (Not Run) + 16 - basictests (Not Run) + 17 - document_stream_tests (Not Run) + 18 - document_tests (Not Run) + 19 - errortests (Not Run) + 20 - extracting_values_example (Not Run) + 21 - integer_tests (Not Run) + 22 - jsoncheck (Not Run) + 23 - minefieldcheck (Not Run) + 24 - numberparsingcheck (Not Run) + 25 - parse_many_test (Not Run) + 26 - pointercheck (Not Run) + 27 - stringparsingcheck (Not Run) + 28 - trivially_copyable_test (Not Run) + 37 - ondemand_log_tests (Not Run) + 38 - ondemand_log_error_tests (Not Run) + 39 - ondemand_tostring_tests (Not Run) + 40 - ondemand_active_tests (Not Run) + 41 - ondemand_array_tests (Not Run) + 42 - ondemand_array_error_tests (Not Run) + 43 - ondemand_compilation_tests (Not Run) + 44 - ondemand_document_stream_tests (Not Run) + 45 - ondemand_error_tests (Not Run) + 46 - ondemand_error_location_tests (Not Run) + 47 - ondemand_json_pointer_tests (Not Run) + 48 - ondemand_key_string_tests (Not Run) + 49 - ondemand_misc_tests (Not Run) + 50 - ondemand_number_tests (Not Run) + 51 - ondemand_number_in_string_tests (Not Run) + 52 - ondemand_object_tests (Not Run) + 53 - ondemand_object_error_tests (Not Run) + 54 - ondemand_ordering_tests (Not Run) + 55 - ondemand_parse_api_tests (Not Run) + 56 - ondemand_readme_examples (Not Run) + 57 - ondemand_scalar_tests (Not Run) + 58 - ondemand_twitter_tests (Not Run) + 59 - ondemand_wrong_type_error_tests (Not Run) + 60 - ondemand_iterate_many_csv (Not Run) + 61 - ondemand_assert_out_of_order_values (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/fix.patch new file mode 100644 index 000000000..be898b6de --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/fix.patch @@ -0,0 +1,814 @@ +diff --git a/include/simdjson/dom/serialization-inl.h b/include/simdjson/dom/serialization-inl.h +index 7299bb5d..761801ad 100644 +--- a/include/simdjson/dom/serialization-inl.h ++++ b/include/simdjson/dom/serialization-inl.h +@@ -152,6 +152,148 @@ simdjson_inline void mini_formatter::key(std::string_view unescaped) { + string(unescaped); + one_char(':'); + } ++simdjson_inline void mini_formatter::newline_indent() { ++ // no-op for mini_formatter ++} ++simdjson_inline void mini_formatter::push_indent() { ++ // no-op for mini_formatter ++} ++simdjson_inline void mini_formatter::pop_indent() { ++ // no-op for mini_formatter ++} ++ ++/*** ++ * Pretty formatter code. ++ **/ ++ ++simdjson_inline void pretty_formatter::one_char(char c) { buffer.push_back(c); } ++ ++simdjson_inline void pretty_formatter::indent() { ++ for (size_t i = 0; i < depth; i++) { ++ one_char(' '); ++ one_char(' '); ++ } ++} ++ ++simdjson_inline void pretty_formatter::newline_indent() { ++ one_char('\n'); ++ indent(); ++} ++ ++simdjson_inline void pretty_formatter::push_indent() { depth++; } ++simdjson_inline void pretty_formatter::pop_indent() { depth--; } ++ ++simdjson_inline void pretty_formatter::number(uint64_t x) { ++ char number_buffer[24]; ++ char *newp = fast_itoa(number_buffer, x); ++ buffer.insert(buffer.end(), number_buffer, newp); ++} ++ ++simdjson_inline void pretty_formatter::number(int64_t x) { ++ char number_buffer[24]; ++ char *newp = fast_itoa(number_buffer, x); ++ buffer.insert(buffer.end(), number_buffer, newp); ++} ++ ++simdjson_inline void pretty_formatter::number(double x) { ++ char number_buffer[24]; ++ char *newp = internal::to_chars(number_buffer, nullptr, x); ++ buffer.insert(buffer.end(), number_buffer, newp); ++} ++ ++simdjson_inline void pretty_formatter::start_array() { one_char('['); } ++simdjson_inline void pretty_formatter::end_array() { one_char(']'); } ++simdjson_inline void pretty_formatter::start_object() { one_char('{'); } ++simdjson_inline void pretty_formatter::end_object() { one_char('}'); } ++simdjson_inline void pretty_formatter::comma() { one_char(','); } ++ ++simdjson_inline void pretty_formatter::true_atom() { ++ const char * s = "true"; ++ buffer.insert(buffer.end(), s, s + 4); ++} ++simdjson_inline void pretty_formatter::false_atom() { ++ const char * s = "false"; ++ buffer.insert(buffer.end(), s, s + 5); ++} ++simdjson_inline void pretty_formatter::null_atom() { ++ const char * s = "null"; ++ buffer.insert(buffer.end(), s, s + 4); ++} ++ ++simdjson_inline void pretty_formatter::key(std::string_view unescaped) { ++ one_char('\n'); ++ indent(); ++ string(unescaped); ++ one_char(':'); ++ one_char(' '); ++} ++ ++simdjson_inline void pretty_formatter::string(std::string_view unescaped) { ++ one_char('\"'); ++ size_t i = 0; ++ constexpr static char needs_escaping[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ++ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; ++ for(;i + 8 <= unescaped.length(); i += 8) { ++ if(needs_escaping[uint8_t(unescaped[i])] | needs_escaping[uint8_t(unescaped[i+1])] ++ | needs_escaping[uint8_t(unescaped[i+2])] | needs_escaping[uint8_t(unescaped[i+3])] ++ | needs_escaping[uint8_t(unescaped[i+4])] | needs_escaping[uint8_t(unescaped[i+5])] ++ | needs_escaping[uint8_t(unescaped[i+6])] | needs_escaping[uint8_t(unescaped[i+7])] ++ ) { break; } ++ } ++ for(;i < unescaped.length(); i++) { ++ if(needs_escaping[uint8_t(unescaped[i])]) { break; } ++ } ++ buffer.insert(buffer.end(), unescaped.data(), unescaped.data() + i); ++ for (; i < unescaped.length(); i++) { ++ switch (unescaped[i]) { ++ case '\"': ++ { ++ const char * s = "\\\""; ++ buffer.insert(buffer.end(), s, s + 2); ++ } ++ break; ++ case '\\': ++ { ++ const char * s = "\\\\"; ++ buffer.insert(buffer.end(), s, s + 2); ++ } ++ break; ++ default: ++ if (uint8_t(unescaped[i]) <= 0x1F) { ++ constexpr static escape_sequence escaped[32] = { ++ {6, "\\u0000"}, {6, "\\u0001"}, {6, "\\u0002"}, {6, "\\u0003"}, ++ {6, "\\u0004"}, {6, "\\u0005"}, {6, "\\u0006"}, {6, "\\u0007"}, ++ {2, "\\b"}, {2, "\\t"}, {2, "\\n"}, {6, "\\u000b"}, ++ {2, "\\f"}, {2, "\\r"}, {6, "\\u000e"}, {6, "\\u000f"}, ++ {6, "\\u0010"}, {6, "\\u0011"}, {6, "\\u0012"}, {6, "\\u0013"}, ++ {6, "\\u0014"}, {6, "\\u0015"}, {6, "\\u0016"}, {6, "\\u0017"}, ++ {6, "\\u0018"}, {6, "\\u0019"}, {6, "\\u001a"}, {6, "\\u001b"}, ++ {6, "\\u001c"}, {6, "\\u001d"}, {6, "\\u001e"}, {6, "\\u001f"}}; ++ auto u = escaped[uint8_t(unescaped[i])]; ++ buffer.insert(buffer.end(), u.string, u.string + u.length); ++ } else { ++ one_char(unescaped[i]); ++ } ++ } ++ } ++ one_char('\"'); ++} ++ ++inline void pretty_formatter::clear() { ++ buffer.clear(); ++ depth = 0; ++} ++ ++simdjson_inline std::string_view pretty_formatter::str() const { ++ return std::string_view(buffer.data(), buffer.size()); ++} + simdjson_inline void mini_formatter::string(std::string_view unescaped) { + one_char('\"'); + size_t i = 0; +@@ -264,6 +406,9 @@ inline void string_builder::append(simdjson::dom::element value) { + if (is_object[depth]) { + format.key(iter.get_string_view()); + iter.json_index++; ++ } else if (depth != 0) { ++ // In an array context (but not at the root), print newline and indent before the value ++ format.newline_indent(); + } + switch (iter.tape_ref_type()) { + +@@ -280,10 +425,12 @@ inline void string_builder::append(simdjson::dom::element value) { + + // Output start [ + format.start_array(); ++ format.push_indent(); + iter.json_index++; + + // Handle empty [] (we don't want to come back around and print commas) + if (iter.tape_ref_type() == tape_type::END_ARRAY) { ++ format.pop_indent(); + format.end_array(); + depth--; + break; +@@ -307,10 +454,12 @@ inline void string_builder::append(simdjson::dom::element value) { + + // Output start { + format.start_object(); ++ format.push_indent(); + iter.json_index++; + + // Handle empty {} (we don't want to come back around and print commas) + if (iter.tape_ref_type() == tape_type::END_OBJECT) { ++ format.pop_indent(); + format.end_object(); + depth--; + break; +@@ -362,6 +511,8 @@ inline void string_builder::append(simdjson::dom::element value) { + // Handle multiple ends in a row + while (depth != 0 && (iter.tape_ref_type() == tape_type::END_ARRAY || + iter.tape_ref_type() == tape_type::END_OBJECT)) { ++ format.pop_indent(); ++ format.newline_indent(); + if (iter.tape_ref_type() == tape_type::END_ARRAY) { + format.end_array(); + } else { +@@ -381,11 +532,14 @@ inline void string_builder::append(simdjson::dom::object value) { + auto pair = value.begin(); + auto end = value.end(); + if (pair != end) { ++ format.push_indent(); + append(*pair); + for (++pair; pair != end; ++pair) { + format.comma(); + append(*pair); + } ++ format.pop_indent(); ++ format.newline_indent(); + } + format.end_object(); + } +@@ -396,11 +550,16 @@ inline void string_builder::append(simdjson::dom::array value) { + auto iter = value.begin(); + auto end = value.end(); + if (iter != end) { ++ format.push_indent(); ++ format.newline_indent(); + append(*iter); + for (++iter; iter != end; ++iter) { + format.comma(); ++ format.newline_indent(); + append(*iter); + } ++ format.pop_indent(); ++ format.newline_indent(); + } + format.end_array(); + } +diff --git a/include/simdjson/dom/serialization.h b/include/simdjson/dom/serialization.h +index aa28622c..d706f178 100644 +--- a/include/simdjson/dom/serialization.h ++++ b/include/simdjson/dom/serialization.h +@@ -21,6 +21,12 @@ namespace internal { + + class mini_formatter; + ++/** ++ * @private The pretty_formatter class is used by string_builder ++ * to produce a pretty-printed (indented) version of a JSON element. ++ */ ++class pretty_formatter; ++ + /** + * @private The string_builder template allows us to construct + * a string from a document element. It is parametrized +@@ -69,9 +75,9 @@ public: + simdjson_inline void start_array(); + /** End an array, prints ] **/ + simdjson_inline void end_array(); +- /** Start an array, prints { **/ ++ /** Start an object, prints { **/ + simdjson_inline void start_object(); +- /** Start an array, prints } **/ ++ /** End an object, prints } **/ + simdjson_inline void end_object(); + /** Prints a true **/ + simdjson_inline void true_atom(); +@@ -96,6 +102,16 @@ public: + * the user can make a copy. + **/ + simdjson_inline std::string_view str() const; ++ /** ++ * Called before a value in an array context. For mini_formatter, ++ * this is a no-op. For pretty_formatter, it prints a newline ++ * and indentation. ++ **/ ++ simdjson_inline void newline_indent(); ++ /** Increase the indentation level (no-op for mini_formatter) **/ ++ simdjson_inline void push_indent(); ++ /** Decrease the indentation level (no-op for mini_formatter) **/ ++ simdjson_inline void pop_indent(); + + private: + // implementation details (subject to change) +@@ -105,6 +121,67 @@ private: + std::vector buffer{}; // not ideal! + }; + ++/** ++ * @private This class is used with the string_builder template ++ * to produce a pretty-printed (indented) version of the JSON element. ++ */ ++class pretty_formatter { ++public: ++ pretty_formatter() = default; ++ /** Add a comma **/ ++ simdjson_inline void comma(); ++ /** Start an array, prints [ **/ ++ simdjson_inline void start_array(); ++ /** End an array, prints ] **/ ++ simdjson_inline void end_array(); ++ /** Start an object, prints { **/ ++ simdjson_inline void start_object(); ++ /** End an object, prints } **/ ++ simdjson_inline void end_object(); ++ /** Prints a true **/ ++ simdjson_inline void true_atom(); ++ /** Prints a false **/ ++ simdjson_inline void false_atom(); ++ /** Prints a null **/ ++ simdjson_inline void null_atom(); ++ /** Prints a number **/ ++ simdjson_inline void number(int64_t x); ++ /** Prints a number **/ ++ simdjson_inline void number(uint64_t x); ++ /** Prints a number **/ ++ simdjson_inline void number(double x); ++ /** Prints a key (string + colon + space), preceded by newline and indentation **/ ++ simdjson_inline void key(std::string_view unescaped); ++ /** Prints a string. The string is escaped as needed. **/ ++ simdjson_inline void string(std::string_view unescaped); ++ /** Clears out the content. **/ ++ simdjson_inline void clear(); ++ /** ++ * Get access to the buffer, it is owned by the instance, but ++ * the user can make a copy. ++ **/ ++ simdjson_inline std::string_view str() const; ++ /** ++ * Prints a newline and indentation, used before values in arrays ++ * and before closing brackets of non-empty containers. ++ **/ ++ simdjson_inline void newline_indent(); ++ /** Increase the indentation level **/ ++ simdjson_inline void push_indent(); ++ /** Decrease the indentation level **/ ++ simdjson_inline void pop_indent(); ++ ++private: ++ /** Prints one character **/ ++ simdjson_inline void one_char(char c); ++ /** Prints the current indentation **/ ++ simdjson_inline void indent(); ++ /** Backing buffer **/ ++ std::vector buffer{}; // not ideal! ++ /** Current indentation level **/ ++ size_t depth{0}; ++}; ++ + } // internal + + namespace dom { +@@ -212,6 +289,56 @@ std::string minify(simdjson_result x) { + } + #endif + ++/** ++ * Converts JSON to a pretty-printed string. ++ * ++ * dom::parser parser; ++ * element doc = parser.parse(" [ 1 , 2 , 3 ] "_padded); ++ * cout << to_pretty_string(doc) << endl; ++ * // prints: ++ * // [ ++ * // 1, ++ * // 2, ++ * // 3 ++ * // ] ++ * ++ */ ++template ++std::string to_pretty_string(T x) { ++ simdjson::internal::string_builder sb; ++ sb.append(x); ++ std::string_view answer = sb.str(); ++ return std::string(answer.data(), answer.size()); ++} ++#if SIMDJSON_EXCEPTIONS ++template ++std::string to_pretty_string(simdjson_result x) { ++ if (x.error()) { throw simdjson_error(x.error()); } ++ return to_pretty_string(x.value()); ++} ++#endif ++ ++/** ++ * Pretty-prints a JSON element or document, with indentation and newlines. ++ * ++ * dom::parser parser; ++ * element doc = parser.parse(" [ 1 , 2 , 3 ] "_padded); ++ * cout << pretty(doc) << endl; ++ * ++ */ ++template ++std::string pretty(T x) { ++ return to_pretty_string(x); ++} ++ ++#if SIMDJSON_EXCEPTIONS ++template ++std::string pretty(simdjson_result x) { ++ if (x.error()) { throw simdjson_error(x.error()); } ++ return to_pretty_string(x.value()); ++} ++#endif ++ + + } // namespace simdjson + +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index bb265297..f469050d 100644 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on 2023-07-06 21:34:14 -0400. Do not edit! */ ++/* auto-generated on 2026-07-03 05:11:08 +0000. Do not edit! */ + /* begin file src/simdjson.cpp */ + #include "simdjson.h" + +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index d57a890d..e2f94531 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -1,4 +1,4 @@ +-/* auto-generated on 2023-07-06 21:34:14 -0400. Do not edit! */ ++/* auto-generated on 2026-07-03 05:11:08 +0000. Do not edit! */ + /* begin file include/simdjson.h */ + #ifndef SIMDJSON_H + #define SIMDJSON_H +@@ -6210,6 +6210,12 @@ namespace internal { + + class mini_formatter; + ++/** ++ * @private The pretty_formatter class is used by string_builder ++ * to produce a pretty-printed (indented) version of a JSON element. ++ */ ++class pretty_formatter; ++ + /** + * @private The string_builder template allows us to construct + * a string from a document element. It is parametrized +@@ -6258,9 +6264,9 @@ public: + simdjson_inline void start_array(); + /** End an array, prints ] **/ + simdjson_inline void end_array(); +- /** Start an array, prints { **/ ++ /** Start an object, prints { **/ + simdjson_inline void start_object(); +- /** Start an array, prints } **/ ++ /** End an object, prints } **/ + simdjson_inline void end_object(); + /** Prints a true **/ + simdjson_inline void true_atom(); +@@ -6285,6 +6291,16 @@ public: + * the user can make a copy. + **/ + simdjson_inline std::string_view str() const; ++ /** ++ * Called before a value in an array context. For mini_formatter, ++ * this is a no-op. For pretty_formatter, it prints a newline ++ * and indentation. ++ **/ ++ simdjson_inline void newline_indent(); ++ /** Increase the indentation level (no-op for mini_formatter) **/ ++ simdjson_inline void push_indent(); ++ /** Decrease the indentation level (no-op for mini_formatter) **/ ++ simdjson_inline void pop_indent(); + + private: + // implementation details (subject to change) +@@ -6294,6 +6310,67 @@ private: + std::vector buffer{}; // not ideal! + }; + ++/** ++ * @private This class is used with the string_builder template ++ * to produce a pretty-printed (indented) version of the JSON element. ++ */ ++class pretty_formatter { ++public: ++ pretty_formatter() = default; ++ /** Add a comma **/ ++ simdjson_inline void comma(); ++ /** Start an array, prints [ **/ ++ simdjson_inline void start_array(); ++ /** End an array, prints ] **/ ++ simdjson_inline void end_array(); ++ /** Start an object, prints { **/ ++ simdjson_inline void start_object(); ++ /** End an object, prints } **/ ++ simdjson_inline void end_object(); ++ /** Prints a true **/ ++ simdjson_inline void true_atom(); ++ /** Prints a false **/ ++ simdjson_inline void false_atom(); ++ /** Prints a null **/ ++ simdjson_inline void null_atom(); ++ /** Prints a number **/ ++ simdjson_inline void number(int64_t x); ++ /** Prints a number **/ ++ simdjson_inline void number(uint64_t x); ++ /** Prints a number **/ ++ simdjson_inline void number(double x); ++ /** Prints a key (string + colon + space), preceded by newline and indentation **/ ++ simdjson_inline void key(std::string_view unescaped); ++ /** Prints a string. The string is escaped as needed. **/ ++ simdjson_inline void string(std::string_view unescaped); ++ /** Clears out the content. **/ ++ simdjson_inline void clear(); ++ /** ++ * Get access to the buffer, it is owned by the instance, but ++ * the user can make a copy. ++ **/ ++ simdjson_inline std::string_view str() const; ++ /** ++ * Prints a newline and indentation, used before values in arrays ++ * and before closing brackets of non-empty containers. ++ **/ ++ simdjson_inline void newline_indent(); ++ /** Increase the indentation level **/ ++ simdjson_inline void push_indent(); ++ /** Decrease the indentation level **/ ++ simdjson_inline void pop_indent(); ++ ++private: ++ /** Prints one character **/ ++ simdjson_inline void one_char(char c); ++ /** Prints the current indentation **/ ++ simdjson_inline void indent(); ++ /** Backing buffer **/ ++ std::vector buffer{}; // not ideal! ++ /** Current indentation level **/ ++ size_t depth{0}; ++}; ++ + } // internal + + namespace dom { +@@ -6401,6 +6478,56 @@ std::string minify(simdjson_result x) { + } + #endif + ++/** ++ * Converts JSON to a pretty-printed string. ++ * ++ * dom::parser parser; ++ * element doc = parser.parse(" [ 1 , 2 , 3 ] "_padded); ++ * cout << to_pretty_string(doc) << endl; ++ * // prints: ++ * // [ ++ * // 1, ++ * // 2, ++ * // 3 ++ * // ] ++ * ++ */ ++template ++std::string to_pretty_string(T x) { ++ simdjson::internal::string_builder sb; ++ sb.append(x); ++ std::string_view answer = sb.str(); ++ return std::string(answer.data(), answer.size()); ++} ++#if SIMDJSON_EXCEPTIONS ++template ++std::string to_pretty_string(simdjson_result x) { ++ if (x.error()) { throw simdjson_error(x.error()); } ++ return to_pretty_string(x.value()); ++} ++#endif ++ ++/** ++ * Pretty-prints a JSON element or document, with indentation and newlines. ++ * ++ * dom::parser parser; ++ * element doc = parser.parse(" [ 1 , 2 , 3 ] "_padded); ++ * cout << pretty(doc) << endl; ++ * ++ */ ++template ++std::string pretty(T x) { ++ return to_pretty_string(x); ++} ++ ++#if SIMDJSON_EXCEPTIONS ++template ++std::string pretty(simdjson_result x) { ++ if (x.error()) { throw simdjson_error(x.error()); } ++ return to_pretty_string(x.value()); ++} ++#endif ++ + + } // namespace simdjson + +@@ -9261,6 +9388,148 @@ simdjson_inline void mini_formatter::key(std::string_view unescaped) { + string(unescaped); + one_char(':'); + } ++simdjson_inline void mini_formatter::newline_indent() { ++ // no-op for mini_formatter ++} ++simdjson_inline void mini_formatter::push_indent() { ++ // no-op for mini_formatter ++} ++simdjson_inline void mini_formatter::pop_indent() { ++ // no-op for mini_formatter ++} ++ ++/*** ++ * Pretty formatter code. ++ **/ ++ ++simdjson_inline void pretty_formatter::one_char(char c) { buffer.push_back(c); } ++ ++simdjson_inline void pretty_formatter::indent() { ++ for (size_t i = 0; i < depth; i++) { ++ one_char(' '); ++ one_char(' '); ++ } ++} ++ ++simdjson_inline void pretty_formatter::newline_indent() { ++ one_char('\n'); ++ indent(); ++} ++ ++simdjson_inline void pretty_formatter::push_indent() { depth++; } ++simdjson_inline void pretty_formatter::pop_indent() { depth--; } ++ ++simdjson_inline void pretty_formatter::number(uint64_t x) { ++ char number_buffer[24]; ++ char *newp = fast_itoa(number_buffer, x); ++ buffer.insert(buffer.end(), number_buffer, newp); ++} ++ ++simdjson_inline void pretty_formatter::number(int64_t x) { ++ char number_buffer[24]; ++ char *newp = fast_itoa(number_buffer, x); ++ buffer.insert(buffer.end(), number_buffer, newp); ++} ++ ++simdjson_inline void pretty_formatter::number(double x) { ++ char number_buffer[24]; ++ char *newp = internal::to_chars(number_buffer, nullptr, x); ++ buffer.insert(buffer.end(), number_buffer, newp); ++} ++ ++simdjson_inline void pretty_formatter::start_array() { one_char('['); } ++simdjson_inline void pretty_formatter::end_array() { one_char(']'); } ++simdjson_inline void pretty_formatter::start_object() { one_char('{'); } ++simdjson_inline void pretty_formatter::end_object() { one_char('}'); } ++simdjson_inline void pretty_formatter::comma() { one_char(','); } ++ ++simdjson_inline void pretty_formatter::true_atom() { ++ const char * s = "true"; ++ buffer.insert(buffer.end(), s, s + 4); ++} ++simdjson_inline void pretty_formatter::false_atom() { ++ const char * s = "false"; ++ buffer.insert(buffer.end(), s, s + 5); ++} ++simdjson_inline void pretty_formatter::null_atom() { ++ const char * s = "null"; ++ buffer.insert(buffer.end(), s, s + 4); ++} ++ ++simdjson_inline void pretty_formatter::key(std::string_view unescaped) { ++ one_char('\n'); ++ indent(); ++ string(unescaped); ++ one_char(':'); ++ one_char(' '); ++} ++ ++simdjson_inline void pretty_formatter::string(std::string_view unescaped) { ++ one_char('\"'); ++ size_t i = 0; ++ constexpr static char needs_escaping[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ++ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ++ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; ++ for(;i + 8 <= unescaped.length(); i += 8) { ++ if(needs_escaping[uint8_t(unescaped[i])] | needs_escaping[uint8_t(unescaped[i+1])] ++ | needs_escaping[uint8_t(unescaped[i+2])] | needs_escaping[uint8_t(unescaped[i+3])] ++ | needs_escaping[uint8_t(unescaped[i+4])] | needs_escaping[uint8_t(unescaped[i+5])] ++ | needs_escaping[uint8_t(unescaped[i+6])] | needs_escaping[uint8_t(unescaped[i+7])] ++ ) { break; } ++ } ++ for(;i < unescaped.length(); i++) { ++ if(needs_escaping[uint8_t(unescaped[i])]) { break; } ++ } ++ buffer.insert(buffer.end(), unescaped.data(), unescaped.data() + i); ++ for (; i < unescaped.length(); i++) { ++ switch (unescaped[i]) { ++ case '\"': ++ { ++ const char * s = "\\\""; ++ buffer.insert(buffer.end(), s, s + 2); ++ } ++ break; ++ case '\\': ++ { ++ const char * s = "\\\\"; ++ buffer.insert(buffer.end(), s, s + 2); ++ } ++ break; ++ default: ++ if (uint8_t(unescaped[i]) <= 0x1F) { ++ constexpr static escape_sequence escaped[32] = { ++ {6, "\\u0000"}, {6, "\\u0001"}, {6, "\\u0002"}, {6, "\\u0003"}, ++ {6, "\\u0004"}, {6, "\\u0005"}, {6, "\\u0006"}, {6, "\\u0007"}, ++ {2, "\\b"}, {2, "\\t"}, {2, "\\n"}, {6, "\\u000b"}, ++ {2, "\\f"}, {2, "\\r"}, {6, "\\u000e"}, {6, "\\u000f"}, ++ {6, "\\u0010"}, {6, "\\u0011"}, {6, "\\u0012"}, {6, "\\u0013"}, ++ {6, "\\u0014"}, {6, "\\u0015"}, {6, "\\u0016"}, {6, "\\u0017"}, ++ {6, "\\u0018"}, {6, "\\u0019"}, {6, "\\u001a"}, {6, "\\u001b"}, ++ {6, "\\u001c"}, {6, "\\u001d"}, {6, "\\u001e"}, {6, "\\u001f"}}; ++ auto u = escaped[uint8_t(unescaped[i])]; ++ buffer.insert(buffer.end(), u.string, u.string + u.length); ++ } else { ++ one_char(unescaped[i]); ++ } ++ } ++ } ++ one_char('\"'); ++} ++ ++inline void pretty_formatter::clear() { ++ buffer.clear(); ++ depth = 0; ++} ++ ++simdjson_inline std::string_view pretty_formatter::str() const { ++ return std::string_view(buffer.data(), buffer.size()); ++} + simdjson_inline void mini_formatter::string(std::string_view unescaped) { + one_char('\"'); + size_t i = 0; +@@ -9373,6 +9642,9 @@ inline void string_builder::append(simdjson::dom::element value) { + if (is_object[depth]) { + format.key(iter.get_string_view()); + iter.json_index++; ++ } else if (depth != 0) { ++ // In an array context (but not at the root), print newline and indent before the value ++ format.newline_indent(); + } + switch (iter.tape_ref_type()) { + +@@ -9389,10 +9661,12 @@ inline void string_builder::append(simdjson::dom::element value) { + + // Output start [ + format.start_array(); ++ format.push_indent(); + iter.json_index++; + + // Handle empty [] (we don't want to come back around and print commas) + if (iter.tape_ref_type() == tape_type::END_ARRAY) { ++ format.pop_indent(); + format.end_array(); + depth--; + break; +@@ -9416,10 +9690,12 @@ inline void string_builder::append(simdjson::dom::element value) { + + // Output start { + format.start_object(); ++ format.push_indent(); + iter.json_index++; + + // Handle empty {} (we don't want to come back around and print commas) + if (iter.tape_ref_type() == tape_type::END_OBJECT) { ++ format.pop_indent(); + format.end_object(); + depth--; + break; +@@ -9471,6 +9747,8 @@ inline void string_builder::append(simdjson::dom::element value) { + // Handle multiple ends in a row + while (depth != 0 && (iter.tape_ref_type() == tape_type::END_ARRAY || + iter.tape_ref_type() == tape_type::END_OBJECT)) { ++ format.pop_indent(); ++ format.newline_indent(); + if (iter.tape_ref_type() == tape_type::END_ARRAY) { + format.end_array(); + } else { +@@ -9490,11 +9768,14 @@ inline void string_builder::append(simdjson::dom::object value) { + auto pair = value.begin(); + auto end = value.end(); + if (pair != end) { ++ format.push_indent(); + append(*pair); + for (++pair; pair != end; ++pair) { + format.comma(); + append(*pair); + } ++ format.pop_indent(); ++ format.newline_indent(); + } + format.end_object(); + } +@@ -9505,11 +9786,16 @@ inline void string_builder::append(simdjson::dom::array value) { + auto iter = value.begin(); + auto end = value.end(); + if (iter != end) { ++ format.push_indent(); ++ format.newline_indent(); + append(*iter); + for (++iter; iter != end; ++iter) { + format.comma(); ++ format.newline_indent(); + append(*iter); + } ++ format.pop_indent(); ++ format.newline_indent(); + } + format.end_array(); + } diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/report.json new file mode 100644 index 000000000..8825a4469 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2026/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 2026, "valid": true, "error_msg": "", "fixed_tests": {"quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 96, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_log_error_tests", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "readme_examples_noexceptions", "ondemand_tostring_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "ondemand_iterate_many_csv", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "ondemand_log_tests", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 54, "failed_count": 0, "skipped_count": 0, "passed_tests": ["quickstart_noexceptions", "quickstart11", "dangling_parser_parse_stdstring_should_compile", "iterate_temporary_buffer_should_not_compile", "avoid_printf", "iterate_char_star_should_not_compile", "avoid_stderr", "first_second_access_should_compile", "iterate_char_star_should_compile", "quickstart14", "dangling_parser_parse_uint8_should_compile", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "readme_examples", "quickstart_ondemand_noexceptions11", "avoid_cerr", "quickstart_noexceptions11", "bad_array_count_should_compile", "unicode_tests", "dangling_parser_parse_uchar_should_compile", "iterate_temporary_buffer_should_compile", "quickstart2_noexceptions", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "example_compiletest_should_compile", "readme_examples11", "amalgamate_demo_direct_from_repository", "quickstart_ondemand14", "unsafe_parse_many_should_not_compile", "avoid_cout", "bad_array_count_should_not_compile", "avoid_abort", "quickstart_ondemand", "quickstart", "dangling_parser_parse_padstring_should_not_compile", "first_second_access_should_not_compile", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "avoid_stdout", "readme_examples_noexceptions", "iterate_string_view_should_compile", "quickstart_ondemand11", "quickstart_ondemand_noexceptions", "readme_examples_will_fail_with_exceptions_off", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "json2json", "dangling_parser_parse_padstring_should_compile", "amalgamate_demo", "simdjson-singleheader", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile", "iterate_string_view_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/fix-patch-run.log new file mode 100644 index 000000000..502cd2fef --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/fix-patch-run.log @@ -0,0 +1,997 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (6033 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (9375 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}" EXCLUDE_FROM_ALL) + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}" EXCLUDE_FROM_ALL) + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3737 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 1s (16.4 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (3000 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.Muw1Yl6x +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.Muw1Yl6x/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.Muw1Yl6x/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.Muw1Yl6x/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.Muw1Yl6x/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.Muw1Yl6x/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.Muw1Yl6x +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=59b32996a3ef +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.UD13qy9tA6/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/ondemand/ondemand_key_string_tests.cpp +patching file include/simdjson/generic/ondemand/field-inl.h +patching file include/simdjson/generic/ondemand/field.h +patching file singleheader/simdjson.cpp +patching file singleheader/simdjson.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Adding -Og to compile flag +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@v1.7.1) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git version: v3.7.1-dirty normalized to 3.7.1 +-- Version: 3.7.1 +-- Looking for shm_open in rt +-- Looking for shm_open in rt - found +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL +-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC +-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Compiling and running to test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Compiling and running to test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Compiling and running to test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Compiling and running to test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test SIMDJSON_FOUND_STRING_VIEW +-- Performing Test SIMDJSON_FOUND_STRING_VIEW - Success +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.10.5) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@f54b0e4) +-- Check if the system is big endian +-- Searching 16 bit integer +-- Looking for sys/types.h +-- Looking for sys/types.h - found +-- Looking for stdint.h +-- Looking for stdint.h - found +-- Looking for stddef.h +-- Looking for stddef.h - found +-- Check size of unsigned short +-- Check size of unsigned short - done +-- Searching 16 bit integer - Using unsigned short +-- Check if the system is big endian - little endian +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@c385651) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 1%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 1%] Linking CXX static library libsimdjson.a +[ 1%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 2%] Linking C static library libcjson.a +[ 2%] Built target cjson +Scanning dependencies of target jsoncpp +[ 3%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 3%] Linking CXX static library libjsoncpp.a +[ 3%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 3%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 3%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 5%] Linking C static library libujson4c.a +[ 5%] Built target ujson4c +Scanning dependencies of target fastjson +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 7%] Linking CXX static library libfastjson.a +[ 7%] Built target fastjson +Scanning dependencies of target gason +[ 7%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 9%] Linking CXX static library libgason.a +[ 9%] Built target gason +Scanning dependencies of target yyjson +[ 9%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 10%] Linking C static library libyyjson.a +[ 10%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 10%] Linking C static library libjsmn.a +[ 10%] Built target jsmn +Scanning dependencies of target json11 +[ 11%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 11%] Linking CXX static library libjson11.a +[ 11%] Built target json11 +Scanning dependencies of target minify +[ 12%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 12%] Linking CXX executable minify +[ 12%] Built target minify +Scanning dependencies of target jsonpointer +[ 12%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 14%] Linking CXX executable jsonpointer +[ 14%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 14%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 15%] Linking CXX executable jsonstats +[ 15%] Built target jsonstats +Scanning dependencies of target json2json +[ 15%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 16%] Linking CXX executable json2json +[ 16%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository_simdjson +[ 18%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository_simdjson.dir/simdjson.cpp.o +[ 18%] Linking CXX static library libamalgamate_demo_direct_from_repository_simdjson.a +[ 18%] Built target amalgamate_demo_direct_from_repository_simdjson +[ 18%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +the commandline is ['git', 'show', '-s', '--format=%ci', 'HEAD'] +timestamp is 2024-03-10 13:25:53 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +Creating /home/simdjson/build/singleheader/simdjson.cpp +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 183 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 2710 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 1828872 Jul 14 01:41 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 3847419 Jul 14 01:41 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp simdjson.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +Scanning dependencies of target amalgamate_demo_simdjson +[ 19%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_simdjson.dir/simdjson.cpp.o +[ 19%] Linking CXX static library libamalgamate_demo_simdjson.a +[ 19%] Built target amalgamate_demo_simdjson +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 19%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 19%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 19%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target amalgamate_demo +[ 19%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 20%] Linking CXX executable amalgamate_demo +[ 20%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 20%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 20%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 20%] Linking CXX executable unicode_tests +[ 20%] Built target unicode_tests +Scanning dependencies of target prettify_tests +[ 22%] Building CXX object tests/CMakeFiles/prettify_tests.dir/prettify_tests.cpp.o +[ 22%] Linking CXX executable prettify_tests +[ 22%] Built target prettify_tests +Scanning dependencies of target checkimplementation +[ 23%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 23%] Linking CXX executable checkimplementation +[ 23%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 23%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 24%] Linking CXX executable minify_tests +[ 24%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 24%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 25%] Linking CXX executable padded_string_tests +[ 25%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 25%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 25%] Linking CXX executable pointercheck +[ 25%] Built target pointercheck +Scanning dependencies of target document_tests +[ 25%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 25%] Linking CXX executable document_tests +[ 25%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 25%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 25%] Linking CXX executable numberparsingcheck +[ 25%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 25%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 25%] Linking CXX executable basictests +[ 25%] Built target basictests +Scanning dependencies of target integer_tests +[ 25%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 25%] Linking CXX executable integer_tests +[ 25%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 25%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 25%] Linking CXX executable jsoncheck +[ 25%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 25%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 27%] Linking CXX executable document_stream_tests +[ 27%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 27%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 27%] Linking CXX executable minefieldcheck +[ 27%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 28%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 28%] Linking CXX executable parse_many_test +[ 28%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 28%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 29%] Linking CXX executable random_string_number_tests +[ 29%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 29%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 31%] Linking CXX executable trivially_copyable_test +[ 31%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 31%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 31%] Linking CXX executable extracting_values_example +[ 31%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 31%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 32%] Linking CXX executable stringparsingcheck +[ 32%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 33%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 33%] Linking CXX executable errortests +[ 33%] Built target errortests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 33%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 35%] Linking CXX executable ondemand_wrong_type_error_tests +[ 35%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 36%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 36%] Linking CXX executable ondemand_misc_tests +[ 36%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_to_string +[ 36%] Building CXX object tests/ondemand/CMakeFiles/ondemand_to_string.dir/ondemand_to_string.cpp.o +[ 37%] Linking CXX executable ondemand_to_string +[ 37%] Built target ondemand_to_string +Scanning dependencies of target ondemand_error_tests +[ 38%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 38%] Linking CXX executable ondemand_error_tests +[ 38%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 40%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 40%] Linking CXX executable ondemand_compilation_tests +[ 40%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_json_path_tests +[ 40%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_path_tests.dir/ondemand_json_path_tests.cpp.o +[ 41%] Linking CXX executable ondemand_json_path_tests +[ 41%] Built target ondemand_json_path_tests +Scanning dependencies of target ondemand_active_tests +[ 42%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 42%] Linking CXX executable ondemand_active_tests +[ 42%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_tostring_tests +[ 42%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 42%] Linking CXX executable ondemand_tostring_tests +[ 42%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_log_error_tests +[ 42%] Building CXX object tests/ondemand/CMakeFiles/ondemand_log_error_tests.dir/ondemand_log_error_tests.cpp.o +[ 44%] Linking CXX executable ondemand_log_error_tests +[ 44%] Built target ondemand_log_error_tests +Scanning dependencies of target ondemand_document_stream_tests +[ 44%] Building CXX object tests/ondemand/CMakeFiles/ondemand_document_stream_tests.dir/ondemand_document_stream_tests.cpp.o +[ 45%] Linking CXX executable ondemand_document_stream_tests +[ 45%] Built target ondemand_document_stream_tests +Scanning dependencies of target ondemand_object_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 46%] Linking CXX executable ondemand_object_tests +[ 46%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_array_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 48%] Linking CXX executable ondemand_array_tests +[ 48%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_scalar_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_scalar_tests.dir/ondemand_scalar_tests.cpp.o +[ 49%] Linking CXX executable ondemand_scalar_tests +[ 49%] Built target ondemand_scalar_tests +Scanning dependencies of target ondemand_twitter_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_twitter_tests.dir/ondemand_twitter_tests.cpp.o +[ 50%] Linking CXX executable ondemand_twitter_tests +[ 50%] Built target ondemand_twitter_tests +Scanning dependencies of target ondemand_log_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_log_tests.dir/ondemand_log_tests.cpp.o +[ 50%] Linking CXX executable ondemand_log_tests +[ 50%] Built target ondemand_log_tests +Scanning dependencies of target ondemand_object_error_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 50%] Linking CXX executable ondemand_object_error_tests +[ 50%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_number_in_string_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o +[ 51%] Linking CXX executable ondemand_number_in_string_tests +[ 51%] Built target ondemand_number_in_string_tests +Scanning dependencies of target ondemand_ordering_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 53%] Linking CXX executable ondemand_ordering_tests +[ 53%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_error_location_tests +[ 53%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/ondemand_error_location_tests.cpp.o +[ 53%] Linking CXX executable ondemand_error_location_tests +[ 53%] Built target ondemand_error_location_tests +Scanning dependencies of target ondemand_readme_examples +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_readme_examples.dir/ondemand_readme_examples.cpp.o +[ 54%] Linking CXX executable ondemand_readme_examples +[ 54%] Built target ondemand_readme_examples +Scanning dependencies of target ondemand_number_tests +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_tests.dir/ondemand_number_tests.cpp.o +[ 55%] Linking CXX executable ondemand_number_tests +[ 55%] Built target ondemand_number_tests +Scanning dependencies of target ondemand_parse_api_tests +[ 55%] Building CXX object tests/ondemand/CMakeFiles/ondemand_parse_api_tests.dir/ondemand_parse_api_tests.cpp.o +[ 55%] Linking CXX executable ondemand_parse_api_tests +[ 55%] Built target ondemand_parse_api_tests +Scanning dependencies of target ondemand_array_error_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 57%] Linking CXX executable ondemand_array_error_tests +[ 57%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 57%] Linking CXX executable ondemand_json_pointer_tests +[ 57%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_key_string_tests +[ 58%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +/home/simdjson/tests/ondemand/ondemand_key_string_tests.cpp: In function 'bool key_string_tests::parser_escaped_key()': +/home/simdjson/tests/ondemand/ondemand_key_string_tests.cpp:27:37: error: 'struct simdjson::simdjson_result' has no member named 'escaped_key'; did you mean 'unescaped_key'? + 27 | std::string_view keyv = field.escaped_key(); + | ^~~~~~~~~~~ + | unescaped_key +gmake[2]: *** [tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/build.make:82: tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o] Error 1 +gmake[1]: *** [CMakeFiles/Makefile2:3172: tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/all] Error 2 +gmake: *** [Makefile:182: all] Error 2 +Test project /home/simdjson/build + Start 1: avoid_abort + 1/99 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/99 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/99 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/99 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/99 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/99 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/99 Test #7: amalgamate_demo ...................................... Passed 0.00 sec + Start 8: simdjson-singleheader + 8/99 Test #8: simdjson-singleheader ................................ Passed 6.28 sec + Start 9: amalgamate_demo_direct_from_repository + 9/99 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 10: unicode_tests +10/99 Test #10: unicode_tests ........................................ Passed 0.04 sec + Start 11: minify_tests +11/99 Test #11: minify_tests ......................................... Passed 0.12 sec + Start 12: padded_string_tests +12/99 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: prettify_tests +13/99 Test #13: prettify_tests ....................................... Passed 0.12 sec + Start 14: checkimplementation +14/99 Test #14: checkimplementation .................................. Passed 0.00 sec + Start 15: random_string_number_tests +15/99 Test #15: random_string_number_tests ........................... Passed 1.01 sec + Start 16: basictests +16/99 Test #16: basictests ........................................... Passed 0.01 sec + Start 17: document_stream_tests +17/99 Test #17: document_stream_tests ................................ Passed 0.24 sec + Start 18: document_tests +18/99 Test #18: document_tests ....................................... Passed 0.00 sec + Start 19: errortests +19/99 Test #19: errortests ........................................... Passed 0.00 sec + Start 20: extracting_values_example +20/99 Test #20: extracting_values_example ............................ Passed 0.00 sec + Start 21: integer_tests +21/99 Test #21: integer_tests ........................................ Passed 0.00 sec + Start 22: jsoncheck +22/99 Test #22: jsoncheck ............................................ Passed 0.00 sec + Start 23: minefieldcheck +23/99 Test #23: minefieldcheck ....................................... Passed 0.01 sec + Start 24: numberparsingcheck +24/99 Test #24: numberparsingcheck ................................... Passed 0.04 sec + Start 25: parse_many_test +25/99 Test #25: parse_many_test ...................................... Passed 0.00 sec + Start 26: pointercheck +26/99 Test #26: pointercheck ......................................... Passed 0.00 sec + Start 27: stringparsingcheck +27/99 Test #27: stringparsingcheck ................................... Passed 0.04 sec + Start 28: trivially_copyable_test +28/99 Test #28: trivially_copyable_test .............................. Passed 0.00 sec + Start 30: json2json +29/99 Test #30: json2json ............................................ Passed 0.01 sec + Start 29: testjson2json +30/99 Test #29: testjson2json ........................................ Passed 0.70 sec + Start 31: simdjson_force_implementation_error +31/99 Test #31: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 32: readme_examples +32/99 Test #32: readme_examples ...................................... Passed 3.03 sec + Start 33: readme_examples11 +33/99 Test #33: readme_examples11 .................................... Passed 2.90 sec + Start 34: readme_examples_noexceptions +34/99 Test #34: readme_examples_noexceptions ......................... Passed 1.90 sec + Start 35: readme_examples_noexceptions11 +35/99 Test #35: readme_examples_noexceptions11 ....................... Passed 1.69 sec + Start 36: readme_examples_will_fail_with_exceptions_off +36/99 Test #36: readme_examples_will_fail_with_exceptions_off ........ Passed 1.10 sec + Start 37: ondemand_log_tests +37/99 Test #37: ondemand_log_tests ................................... Passed 0.00 sec + Start 38: ondemand_log_error_tests +38/99 Test #38: ondemand_log_error_tests ............................. Passed 0.00 sec + Start 39: ondemand_tostring_tests +39/99 Test #39: ondemand_tostring_tests .............................. Passed 0.01 sec + Start 40: ondemand_active_tests +40/99 Test #40: ondemand_active_tests ................................ Passed 0.00 sec + Start 41: ondemand_array_tests +41/99 Test #41: ondemand_array_tests ................................. Passed 0.00 sec + Start 42: ondemand_array_error_tests +42/99 Test #42: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 43: ondemand_compilation_tests +43/99 Test #43: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 44: ondemand_document_stream_tests +44/99 Test #44: ondemand_document_stream_tests ....................... Passed 0.04 sec + Start 45: ondemand_error_tests +45/99 Test #45: ondemand_error_tests ................................. Passed 0.00 sec + Start 46: ondemand_error_location_tests +46/99 Test #46: ondemand_error_location_tests ........................ Passed 0.00 sec + Start 47: ondemand_json_pointer_tests +47/99 Test #47: ondemand_json_pointer_tests .......................... Passed 0.00 sec + Start 48: ondemand_json_path_tests +48/99 Test #48: ondemand_json_path_tests ............................. Passed 0.00 sec + Start 49: ondemand_key_string_tests +Could not find executable ondemand_key_string_tests +Looked in the following places: +ondemand_key_string_tests +ondemand_key_string_tests +Release/ondemand_key_string_tests +Release/ondemand_key_string_tests +Debug/ondemand_key_string_tests +Debug/ondemand_key_string_tests +MinSizeRel/ondemand_key_string_tests +MinSizeRel/ondemand_key_string_tests +RelWithDebInfo/ondemand_key_string_tests +RelWithDebInfo/ondemand_key_string_tests +Deployment/ondemand_key_string_tests +Deployment/ondemand_key_string_tests +Development/ondemand_key_string_tests +Development/ondemand_key_string_tests +49/99 Test #49: ondemand_key_string_tests ............................***Not Run 0.00 sec + Start 50: ondemand_misc_tests +Unable to find executable: ondemand_key_string_tests +50/99 Test #50: ondemand_misc_tests .................................. Passed 0.00 sec + Start 51: ondemand_number_tests +51/99 Test #51: ondemand_number_tests ................................ Passed 0.01 sec + Start 52: ondemand_number_in_string_tests +52/99 Test #52: ondemand_number_in_string_tests ...................... Passed 0.00 sec + Start 53: ondemand_object_tests +53/99 Test #53: ondemand_object_tests ................................ Passed 0.00 sec + Start 54: ondemand_object_error_tests +54/99 Test #54: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 55: ondemand_ordering_tests +55/99 Test #55: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 56: ondemand_parse_api_tests +56/99 Test #56: ondemand_parse_api_tests ............................. Passed 0.00 sec + Start 57: ondemand_readme_examples +57/99 Test #57: ondemand_readme_examples ............................. Passed 0.00 sec + Start 58: ondemand_scalar_tests +58/99 Test #58: ondemand_scalar_tests ................................ Passed 0.00 sec + Start 59: ondemand_to_string +59/99 Test #59: ondemand_to_string ................................... Passed 0.00 sec + Start 60: ondemand_twitter_tests +60/99 Test #60: ondemand_twitter_tests ............................... Passed 0.00 sec + Start 61: ondemand_wrong_type_error_tests +61/99 Test #61: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 62: ondemand_iterate_many_csv +Could not find executable ondemand_iterate_many_csv +Looked in the following places: +ondemand_iterate_many_csv +ondemand_iterate_many_csv +Release/ondemand_iterate_many_csv +Release/ondemand_iterate_many_csv +Debug/ondemand_iterate_many_csv +Unable to find executable: ondemand_iterate_many_csv +Debug/ondemand_iterate_many_csv +MinSizeRel/ondemand_iterate_many_csv +MinSizeRel/ondemand_iterate_many_csv +RelWithDebInfo/ondemand_iterate_many_csv +RelWithDebInfo/ondemand_iterate_many_csv +Deployment/ondemand_iterate_many_csv +Deployment/ondemand_iterate_many_csv +Development/ondemand_iterate_many_csv +Development/ondemand_iterate_many_csv +62/99 Test #62: ondemand_iterate_many_csv ............................***Not Run 0.00 sec + Start 63: ondemand_assert_out_of_order_values +Unable to find executable: ondemand_assert_out_of_order_values +Could not find executable ondemand_assert_out_of_order_values +Looked in the following places: +ondemand_assert_out_of_order_values +ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Release/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +Debug/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +MinSizeRel/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +RelWithDebInfo/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Deployment/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +Development/ondemand_assert_out_of_order_values +63/99 Test #63: ondemand_assert_out_of_order_values ..................***Not Run 0.00 sec + Start 64: iterate_char_star_should_compile +64/99 Test #64: iterate_char_star_should_compile ..................... Passed 1.23 sec + Start 65: iterate_char_star_should_not_compile +65/99 Test #65: iterate_char_star_should_not_compile ................. Passed 1.12 sec + Start 66: iterate_string_view_should_compile +66/99 Test #66: iterate_string_view_should_compile ................... Passed 1.21 sec + Start 67: iterate_string_view_should_not_compile +67/99 Test #67: iterate_string_view_should_not_compile ............... Passed 1.04 sec + Start 68: iterate_temporary_buffer_should_compile +68/99 Test #68: iterate_temporary_buffer_should_compile .............. Passed 1.19 sec + Start 69: iterate_temporary_buffer_should_not_compile +69/99 Test #69: iterate_temporary_buffer_should_not_compile .......... Passed 1.03 sec + Start 70: first_second_access_should_compile +70/99 Test #70: first_second_access_should_compile ................... Passed 1.51 sec + Start 71: first_second_access_should_not_compile +71/99 Test #71: first_second_access_should_not_compile ............... Passed 1.05 sec + Start 72: example_compiletest_should_compile +72/99 Test #72: example_compiletest_should_compile ................... Passed 0.27 sec + Start 73: example_compiletest_should_not_compile +73/99 Test #73: example_compiletest_should_not_compile ............... Passed 0.18 sec + Start 74: bad_array_count_should_compile +74/99 Test #74: bad_array_count_should_compile ....................... Passed 1.38 sec + Start 75: bad_array_count_should_not_compile +75/99 Test #75: bad_array_count_should_not_compile ................... Passed 1.06 sec + Start 76: dangling_parser_load_should_compile +76/99 Test #76: dangling_parser_load_should_compile .................. Passed 1.56 sec + Start 77: dangling_parser_load_should_not_compile +77/99 Test #77: dangling_parser_load_should_not_compile .............. Passed 1.05 sec + Start 78: dangling_parser_parse_uint8_should_compile +78/99 Test #78: dangling_parser_parse_uint8_should_compile ........... Passed 1.47 sec + Start 79: dangling_parser_parse_uint8_should_not_compile +79/99 Test #79: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.06 sec + Start 80: dangling_parser_parse_uchar_should_compile +80/99 Test #80: dangling_parser_parse_uchar_should_compile ........... Passed 1.46 sec + Start 81: dangling_parser_parse_uchar_should_not_compile +81/99 Test #81: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.06 sec + Start 82: dangling_parser_parse_stdstring_should_compile +82/99 Test #82: dangling_parser_parse_stdstring_should_compile ....... Passed 1.45 sec + Start 83: dangling_parser_parse_stdstring_should_not_compile +83/99 Test #83: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.05 sec + Start 84: dangling_parser_parse_padstring_should_compile +84/99 Test #84: dangling_parser_parse_padstring_should_compile ....... Passed 1.48 sec + Start 85: dangling_parser_parse_padstring_should_not_compile +85/99 Test #85: dangling_parser_parse_padstring_should_not_compile ... Passed 1.05 sec + Start 86: unsafe_parse_many_should_compile +86/99 Test #86: unsafe_parse_many_should_compile ..................... Passed 1.64 sec + Start 87: unsafe_parse_many_should_not_compile +87/99 Test #87: unsafe_parse_many_should_not_compile ................. Passed 1.05 sec + Start 88: quickstart +88/99 Test #88: quickstart ........................................... Passed 3.00 sec + Start 89: quickstart11 +89/99 Test #89: quickstart11 ......................................... Passed 2.68 sec + Start 90: quickstart14 +90/99 Test #90: quickstart14 ......................................... Passed 2.67 sec + Start 91: quickstart_noexceptions +91/99 Test #91: quickstart_noexceptions .............................. Passed 2.86 sec + Start 92: quickstart_noexceptions11 +92/99 Test #92: quickstart_noexceptions11 ............................ Passed 2.64 sec + Start 93: quickstart2_noexceptions +93/99 Test #93: quickstart2_noexceptions ............................. Passed 2.76 sec + Start 94: quickstart2_noexceptions11 +94/99 Test #94: quickstart2_noexceptions11 ........................... Passed 2.55 sec + Start 95: quickstart_ondemand +95/99 Test #95: quickstart_ondemand .................................. Passed 2.78 sec + Start 96: quickstart_ondemand11 +96/99 Test #96: quickstart_ondemand11 ................................ Passed 2.73 sec + Start 97: quickstart_ondemand14 +97/99 Test #97: quickstart_ondemand14 ................................ Passed 2.64 sec + Start 98: quickstart_ondemand_noexceptions +98/99 Test #98: quickstart_ondemand_noexceptions ..................... Passed 2.73 sec + Start 99: quickstart_ondemand_noexceptions11 +99/99 Test #99: quickstart_ondemand_noexceptions11 ................... Passed 2.52 sec + +97% tests passed, 3 tests failed out of 99 + +Label Time Summary: +acceptance = 43.76 sec*proc (69 tests) +assert = 0.00 sec*proc (1 test) +compile = 32.58 sec*proc (12 tests) +dom = 1.42 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 60.25 sec*proc (36 tests) +ondemand = 9.50 sec*proc (35 tests) +other = 0.24 sec*proc (4 tests) +per_implementation = 8.75 sec*proc (50 tests) +quickstart = 32.58 sec*proc (12 tests) +quickstart_ondemand = 13.42 sec*proc (5 tests) +singleheader = 6.28 sec*proc (3 tests) + +Total Test time (real) = 79.69 sec + +The following tests FAILED: + 49 - ondemand_key_string_tests (Not Run) + 62 - ondemand_iterate_many_csv (Not Run) + 63 - ondemand_assert_out_of_order_values (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/fix.patch new file mode 100644 index 000000000..4ce9d29f8 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/fix.patch @@ -0,0 +1,371 @@ +diff --git a/include/simdjson/generic/ondemand/field-inl.h b/include/simdjson/generic/ondemand/field-inl.h +index 25021e0b..654083cf 100644 +--- a/include/simdjson/generic/ondemand/field-inl.h ++++ b/include/simdjson/generic/ondemand/field-inl.h +@@ -49,6 +49,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept { + return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1); + } + ++simdjson_inline std::string_view field::key_sv() const noexcept { ++ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us. ++ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1)); ++ // Walk back past any whitespace to find the closing quote ++ const char* p = end; ++ while (p > reinterpret_cast(first.buf) && *(p-1) != '"') { --p; } ++ // p points just past the closing quote; key content is [first.buf, p-1) ++ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf)); ++} ++ + simdjson_inline value &field::value() & noexcept { + return second; + } +@@ -88,6 +98,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept { ++ if (error()) { return error(); } ++ return first.key_sv(); ++} ++ + simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept { + if (error()) { return error(); } + return first.unescaped_key(allow_replacement); +diff --git a/include/simdjson/generic/ondemand/field.h b/include/simdjson/generic/ondemand/field.h +index 082f401b..01b845c1 100644 +--- a/include/simdjson/generic/ondemand/field.h ++++ b/include/simdjson/generic/ondemand/field.h +@@ -47,6 +47,11 @@ public: + * some spaces after the last quote. + */ + simdjson_inline std::string_view key_raw_json_token() const noexcept; ++ /** ++ * Get the key as a string_view, without quotes and without unescaping. ++ * This is faster than unescaped_key() but does not handle escape sequences. ++ */ ++ simdjson_inline std::string_view key_sv() const noexcept; + /** + * Get the field value. + */ +@@ -80,6 +85,7 @@ public: + simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept; + simdjson_inline simdjson_result key() noexcept; + simdjson_inline simdjson_result key_raw_json_token() noexcept; ++ simdjson_inline simdjson_result key_sv() noexcept; + simdjson_inline simdjson_result value() noexcept; + }; + +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index 7c385f42..8fbf5910 100644 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on 2024-03-10 13:24:07 -0400. Do not edit! */ ++/* auto-generated on 2026-07-02 20:39:40 +0000. Do not edit! */ + /* including simdjson.cpp: */ + /* begin file simdjson.cpp */ + #define SIMDJSON_SRC_SIMDJSON_CPP +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index 0166d443..c4cbad5a 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -1,4 +1,4 @@ +-/* auto-generated on 2024-03-10 13:24:07 -0400. Do not edit! */ ++/* auto-generated on 2026-07-02 20:39:40 +0000. Do not edit! */ + /* including simdjson.h: */ + /* begin file simdjson.h */ + #ifndef SIMDJSON_H +@@ -30399,6 +30399,11 @@ public: + * some spaces after the last quote. + */ + simdjson_inline std::string_view key_raw_json_token() const noexcept; ++ /** ++ * Get the key as a string_view, without quotes and without unescaping. ++ * This is faster than unescaped_key() but does not handle escape sequences. ++ */ ++ simdjson_inline std::string_view key_sv() const noexcept; + /** + * Get the field value. + */ +@@ -30432,6 +30437,7 @@ public: + simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept; + simdjson_inline simdjson_result key() noexcept; + simdjson_inline simdjson_result key_raw_json_token() noexcept; ++ simdjson_inline simdjson_result key_sv() noexcept; + simdjson_inline simdjson_result value() noexcept; + }; + +@@ -32654,6 +32660,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept { + return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1); + } + ++simdjson_inline std::string_view field::key_sv() const noexcept { ++ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us. ++ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1)); ++ // Walk back past any whitespace to find the closing quote ++ const char* p = end; ++ while (p > reinterpret_cast(first.buf) && *(p-1) != '"') { --p; } ++ // p points just past the closing quote; key content is [first.buf, p-1) ++ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf)); ++} ++ + simdjson_inline value &field::value() & noexcept { + return second; + } +@@ -32693,6 +32709,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept { ++ if (error()) { return error(); } ++ return first.key_sv(); ++} ++ + simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept { + if (error()) { return error(); } + return first.unescaped_key(allow_replacement); +@@ -40705,6 +40726,11 @@ public: + * some spaces after the last quote. + */ + simdjson_inline std::string_view key_raw_json_token() const noexcept; ++ /** ++ * Get the key as a string_view, without quotes and without unescaping. ++ * This is faster than unescaped_key() but does not handle escape sequences. ++ */ ++ simdjson_inline std::string_view key_sv() const noexcept; + /** + * Get the field value. + */ +@@ -40738,6 +40764,7 @@ public: + simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept; + simdjson_inline simdjson_result key() noexcept; + simdjson_inline simdjson_result key_raw_json_token() noexcept; ++ simdjson_inline simdjson_result key_sv() noexcept; + simdjson_inline simdjson_result value() noexcept; + }; + +@@ -42960,6 +42987,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept { + return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1); + } + ++simdjson_inline std::string_view field::key_sv() const noexcept { ++ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us. ++ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1)); ++ // Walk back past any whitespace to find the closing quote ++ const char* p = end; ++ while (p > reinterpret_cast(first.buf) && *(p-1) != '"') { --p; } ++ // p points just past the closing quote; key content is [first.buf, p-1) ++ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf)); ++} ++ + simdjson_inline value &field::value() & noexcept { + return second; + } +@@ -42999,6 +43036,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept { ++ if (error()) { return error(); } ++ return first.key_sv(); ++} ++ + simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept { + if (error()) { return error(); } + return first.unescaped_key(allow_replacement); +@@ -51503,6 +51545,11 @@ public: + * some spaces after the last quote. + */ + simdjson_inline std::string_view key_raw_json_token() const noexcept; ++ /** ++ * Get the key as a string_view, without quotes and without unescaping. ++ * This is faster than unescaped_key() but does not handle escape sequences. ++ */ ++ simdjson_inline std::string_view key_sv() const noexcept; + /** + * Get the field value. + */ +@@ -51536,6 +51583,7 @@ public: + simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept; + simdjson_inline simdjson_result key() noexcept; + simdjson_inline simdjson_result key_raw_json_token() noexcept; ++ simdjson_inline simdjson_result key_sv() noexcept; + simdjson_inline simdjson_result value() noexcept; + }; + +@@ -53758,6 +53806,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept { + return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1); + } + ++simdjson_inline std::string_view field::key_sv() const noexcept { ++ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us. ++ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1)); ++ // Walk back past any whitespace to find the closing quote ++ const char* p = end; ++ while (p > reinterpret_cast(first.buf) && *(p-1) != '"') { --p; } ++ // p points just past the closing quote; key content is [first.buf, p-1) ++ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf)); ++} ++ + simdjson_inline value &field::value() & noexcept { + return second; + } +@@ -53797,6 +53855,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept { ++ if (error()) { return error(); } ++ return first.key_sv(); ++} ++ + simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept { + if (error()) { return error(); } + return first.unescaped_key(allow_replacement); +@@ -62300,6 +62363,11 @@ public: + * some spaces after the last quote. + */ + simdjson_inline std::string_view key_raw_json_token() const noexcept; ++ /** ++ * Get the key as a string_view, without quotes and without unescaping. ++ * This is faster than unescaped_key() but does not handle escape sequences. ++ */ ++ simdjson_inline std::string_view key_sv() const noexcept; + /** + * Get the field value. + */ +@@ -62333,6 +62401,7 @@ public: + simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept; + simdjson_inline simdjson_result key() noexcept; + simdjson_inline simdjson_result key_raw_json_token() noexcept; ++ simdjson_inline simdjson_result key_sv() noexcept; + simdjson_inline simdjson_result value() noexcept; + }; + +@@ -64555,6 +64624,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept { + return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1); + } + ++simdjson_inline std::string_view field::key_sv() const noexcept { ++ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us. ++ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1)); ++ // Walk back past any whitespace to find the closing quote ++ const char* p = end; ++ while (p > reinterpret_cast(first.buf) && *(p-1) != '"') { --p; } ++ // p points just past the closing quote; key content is [first.buf, p-1) ++ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf)); ++} ++ + simdjson_inline value &field::value() & noexcept { + return second; + } +@@ -64594,6 +64673,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept { ++ if (error()) { return error(); } ++ return first.key_sv(); ++} ++ + simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept { + if (error()) { return error(); } + return first.unescaped_key(allow_replacement); +@@ -73212,6 +73296,11 @@ public: + * some spaces after the last quote. + */ + simdjson_inline std::string_view key_raw_json_token() const noexcept; ++ /** ++ * Get the key as a string_view, without quotes and without unescaping. ++ * This is faster than unescaped_key() but does not handle escape sequences. ++ */ ++ simdjson_inline std::string_view key_sv() const noexcept; + /** + * Get the field value. + */ +@@ -73245,6 +73334,7 @@ public: + simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept; + simdjson_inline simdjson_result key() noexcept; + simdjson_inline simdjson_result key_raw_json_token() noexcept; ++ simdjson_inline simdjson_result key_sv() noexcept; + simdjson_inline simdjson_result value() noexcept; + }; + +@@ -75467,6 +75557,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept { + return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1); + } + ++simdjson_inline std::string_view field::key_sv() const noexcept { ++ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us. ++ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1)); ++ // Walk back past any whitespace to find the closing quote ++ const char* p = end; ++ while (p > reinterpret_cast(first.buf) && *(p-1) != '"') { --p; } ++ // p points just past the closing quote; key content is [first.buf, p-1) ++ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf)); ++} ++ + simdjson_inline value &field::value() & noexcept { + return second; + } +@@ -75506,6 +75606,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept { ++ if (error()) { return error(); } ++ return first.key_sv(); ++} ++ + simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept { + if (error()) { return error(); } + return first.unescaped_key(allow_replacement); +@@ -84447,6 +84552,11 @@ public: + * some spaces after the last quote. + */ + simdjson_inline std::string_view key_raw_json_token() const noexcept; ++ /** ++ * Get the key as a string_view, without quotes and without unescaping. ++ * This is faster than unescaped_key() but does not handle escape sequences. ++ */ ++ simdjson_inline std::string_view key_sv() const noexcept; + /** + * Get the field value. + */ +@@ -84480,6 +84590,7 @@ public: + simdjson_inline simdjson_result unescaped_key(bool allow_replacement = false) noexcept; + simdjson_inline simdjson_result key() noexcept; + simdjson_inline simdjson_result key_raw_json_token() noexcept; ++ simdjson_inline simdjson_result key_sv() noexcept; + simdjson_inline simdjson_result value() noexcept; + }; + +@@ -86702,6 +86813,16 @@ simdjson_inline std::string_view field::key_raw_json_token() const noexcept { + return std::string_view(reinterpret_cast(first.buf-1), second.iter._json_iter->token.peek(-1) - first.buf + 1); + } + ++simdjson_inline std::string_view field::key_sv() const noexcept { ++ SIMDJSON_ASSUME(first.buf != nullptr); // We would like to call .alive() by Visual Studio won't let us. ++ const char* end = reinterpret_cast(second.iter._json_iter->token.peek(-1)); ++ // Walk back past any whitespace to find the closing quote ++ const char* p = end; ++ while (p > reinterpret_cast(first.buf) && *(p-1) != '"') { --p; } ++ // p points just past the closing quote; key content is [first.buf, p-1) ++ return std::string_view(reinterpret_cast(first.buf), p - 1 - reinterpret_cast(first.buf)); ++} ++ + simdjson_inline value &field::value() & noexcept { + return second; + } +@@ -86741,6 +86862,11 @@ simdjson_inline simdjson_result simdjson_result simdjson_result::key_sv() noexcept { ++ if (error()) { return error(); } ++ return first.key_sv(); ++} ++ + simdjson_inline simdjson_result simdjson_result::unescaped_key(bool allow_replacement) noexcept { + if (error()) { return error(); } + return first.unescaped_key(allow_replacement); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/report.json new file mode 100644 index 000000000..15add9525 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2150/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 2150, "valid": true, "error_msg": "", "fixed_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prettify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_to_string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_path_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"document_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_printf": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "random_string_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_char_star_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_compilation_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_ordering_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_parse_api_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_misc_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_in_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "minefieldcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_active_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_array_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson-singleheader": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_wrong_type_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "padded_string_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_location_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_string_view_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "prettify_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "trivially_copyable_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_document_stream_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unsafe_parse_many_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cerr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "bad_array_count_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_number_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "iterate_temporary_buffer_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_object_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_scalar_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_twitter_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_error_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_cout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_pointer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "first_second_access_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_to_string": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_ondemand_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_log_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_tostring_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "ondemand_json_path_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart2_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 99, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_log_error_tests", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "ondemand_to_string", "readme_examples_noexceptions", "ondemand_tostring_tests", "ondemand_json_path_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "prettify_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "ondemand_iterate_many_csv", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "ondemand_log_tests", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 96, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "basictests", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "ondemand_error_location_tests", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_log_error_tests", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "ondemand_to_string", "readme_examples_noexceptions", "ondemand_tostring_tests", "ondemand_json_path_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "ondemand_number_in_string_tests", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "prettify_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "ondemand_log_tests", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/fix-patch-run.log new file mode 100644 index 000000000..3eecfd1de --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/fix-patch-run.log @@ -0,0 +1,1085 @@ +检测到 Debian 11 系统 +进入debian其他系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian bullseye InRelease [75.1 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security InRelease [27.2 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye-updates InRelease [44.0 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 Packages [8066 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 Packages [464 kB] +Get:6 http://mirrors.tools.huawei.com/debian bullseye-updates/main amd64 Packages [18.8 kB] +Fetched 8695 kB in 1s (5891 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.9). +libncurses-dev is already the newest version (6.2+20201114-2+deb11u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-7). +libpcre2-dev is already the newest version (10.36-2+deb11u1). +libpcre2-dev set to manually installed. +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +The following additional packages will be installed: + libonig5 libssl1.1 +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 +The following packages will be upgraded: + libssl-dev libssl1.1 +2 upgraded, 2 newly installed, 0 to remove and 136 not upgraded. +Need to get 3667 kB of archives. +After this operation, 904 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl-dev amd64 1.1.1w-0+deb11u8 [1822 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libssl1.1 amd64 1.1.1w-0+deb11u8 [1566 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig5 amd64 6.9.6-1.1 [185 kB] +Get:4 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libonig-dev amd64 6.9.6-1.1 [94.2 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 3667 kB in 0s (9497 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libssl-dev_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Preparing to unpack .../libssl1.1_1.1.1w-0+deb11u8_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1w-0+deb11u8) over (1.1.1w-0+deb11u1) ... +Setting up libssl1.1:amd64 (1.1.1w-0+deb11u8) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29372 files and directories currently installed.) +Preparing to unpack .../libonig5_6.9.6-1.1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.6-1.1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../libonig-dev_6.9.6-1.1_amd64.deb ... +Unpacking libonig-dev (6.9.6-1.1) ... +Setting up libssl-dev:amd64 (1.1.1w-0+deb11u8) ... +Setting up libonig5:amd64 (6.9.6-1.1) ... +Setting up libonig-dev (6.9.6-1.1) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.18.4-2+deb11u1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-2+deb11u2). +0 upgraded, 0 newly installed, 0 to remove and 136 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +>>> 修复 /home/simdjson/dependencies/import.cmake RENAME 问题... +>>> 修复前内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 file(RENAME "${dir}" "${target}") + 33 + 34 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 35 endfunction() + 36 + 37 # Delegates to the dependency + 38 macro(add_dependency NAME) + 39 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 40 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 41 endif() + 42 + 43 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}" EXCLUDE_FROM_ALL) + 44 endmacro() + 45 + 46 function(set_off NAME) + 47 set("${NAME}" OFF CACHE INTERNAL "") + 48 endfunction() +>>> /home/simdjson/dependencies/import.cmake 已修复: RENAME -> copy_directory+REMOVE +>>> 修复后内容: + 1 set(dep_root "${simdjson_SOURCE_DIR}/dependencies/.cache") + 2 if(DEFINED ENV{simdjson_DEPENDENCY_CACHE_DIR}) + 3 set(dep_root "$ENV{simdjson_DEPENDENCY_CACHE_DIR}") + 4 endif() + 5 + 6 function(import_dependency NAME GITHUB_REPO COMMIT) + 7 message(STATUS "Importing ${NAME} (${GITHUB_REPO}@${COMMIT})") + 8 set(target "${dep_root}/${NAME}") + 9 + 10 # If the folder exists in the cache, then we assume that everything is as + 11 # should be and do nothing + 12 if(EXISTS "${target}") + 13 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 14 return() + 15 endif() + 16 + 17 set(zip_url "https://github.com/${GITHUB_REPO}/archive/${COMMIT}.zip") + 18 set(archive "${dep_root}/archive.zip") + 19 set(dest "${dep_root}/_extract") + 20 + 21 file(DOWNLOAD "${zip_url}" "${archive}") + 22 file(MAKE_DIRECTORY "${dest}") + 23 execute_process( + 24 WORKING_DIRECTORY "${dest}" + 25 COMMAND "${CMAKE_COMMAND}" -E tar xf "${archive}") + 26 file(REMOVE "${archive}") + 27 + 28 # GitHub archives only ever have one folder component at the root, so this + 29 # will always match that single folder + 30 file(GLOB dir LIST_DIRECTORIES YES "${dest}/*") + 31 + 32 execute_process(COMMAND "${CMAKE_COMMAND}" -E copy_directory "${dir}" "${target}") + 33 file(REMOVE_RECURSE "${dir}") + 34 + 35 set("${NAME}_SOURCE_DIR" "${target}" PARENT_SCOPE) + 36 endfunction() + 37 + 38 # Delegates to the dependency + 39 macro(add_dependency NAME) + 40 if(NOT DEFINED "${NAME}_SOURCE_DIR") + 41 message(FATAL_ERROR "Missing ${NAME}_SOURCE_DIR variable") + 42 endif() + 43 + 44 add_subdirectory("${${NAME}_SOURCE_DIR}" "${PROJECT_BINARY_DIR}/_deps/${NAME}" EXCLUDE_FROM_ALL) + 45 endmacro() + 46 + 47 function(set_off NAME) + 48 set("${NAME}" OFF CACHE INTERNAL "") + 49 endfunction() +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following packages will be upgraded: + wget +1 upgraded, 0 newly installed, 0 to remove and 135 not upgraded. +Need to get 964 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 wget amd64 1.21-1+deb11u2 [964 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 964 kB in 0s (3394 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../wget_1.21-1+deb11u2_amd64.deb ... +Unpacking wget (1.21-1+deb11u2) over (1.21-1+deb11u1) ... +Setting up wget (1.21-1+deb11u2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 135 not upgraded. +Need to get 8179 kB of archives. +After this operation, 36.9 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 xxd amd64 2:8.2.2434-3+deb11u3 [193 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-common all 2:8.2.2434-3+deb11u3 [227 kB] +Get:3 http://mirrors.tools.huawei.com/debian bullseye/main amd64 libgpm2 amd64 1.20.7-8 [35.6 kB] +Get:4 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim-runtime all 2:8.2.2434-3+deb11u3 [6229 kB] +Get:5 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 vim amd64 2:8.2.2434-3+deb11u3 [1496 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 8179 kB in 0s (19.8 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 29414 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking xxd (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.2.2434-3+deb11u3_all.deb ... +Unpacking vim-common (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-8_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-8) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.2.2434-3+deb11u3_all.deb ... +Adding 'diversion of /usr/share/vim/vim82/doc/help.txt to /usr/share/vim/vim82/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim82/doc/tags to /usr/share/vim/vim82/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.2.2434-3+deb11u3) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.2.2434-3+deb11u3_amd64.deb ... +Unpacking vim (2:8.2.2434-3+deb11u3) ... +Setting up libgpm2:amd64 (1.20.7-8) ... +Setting up xxd (2:8.2.2434-3+deb11u3) ... +Setting up vim-common (2:8.2.2434-3+deb11u3) ... +Setting up vim-runtime (2:8.2.2434-3+deb11u3) ... +Setting up vim (2:8.2.2434-3+deb11u3) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for libc-bin (2.31-13+deb11u10) ... +Processing triggers for hicolor-icon-theme (0.17-2) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 132 not upgraded. +Need to get 1057 kB of archives. +After this operation, 0 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4-openssl-dev amd64 7.74.0-1.3+deb11u16 [438 kB] +Get:2 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 curl amd64 7.74.0-1.3+deb11u16 [272 kB] +Get:3 http://mirrors.tools.huawei.com/debian-security bullseye-security/main amd64 libcurl4 amd64 7.74.0-1.3+deb11u16 [347 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1057 kB in 0s (2843 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 31386 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../curl_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking curl (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Preparing to unpack .../libcurl4_7.74.0-1.3+deb11u16_amd64.deb ... +Unpacking libcurl4:amd64 (7.74.0-1.3+deb11u16) over (7.74.0-1.3+deb11u14) ... +Setting up libcurl4:amd64 (7.74.0-1.3+deb11u16) ... +Setting up curl (7.74.0-1.3+deb11u16) ... +Setting up libcurl4-openssl-dev:amd64 (7.74.0-1.3+deb11u16) ... +Processing triggers for libc-bin (2.31-13+deb11u10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.G7EN90aL +[abcert][INFO] Operating system: Debian GNU/Linux 11 (bullseye) +[abcert][INFO] Installing certificates +'.tmp.pems.G7EN90aL/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.G7EN90aL/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.G7EN90aL/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.G7EN90aL/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.G7EN90aL/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.G7EN90aL +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=c7ba65226b57 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://mirrors.kernel.org/gnu/gcc https://bigsearcher.com/mirrors/gcc/releases http://www.netgull.com/gcc/releases https://ftpmirror.gnu.org/gcc https://sourceware.org/pub/gcc/releases ftp://ftp.gnu.org/gnu/gcc +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.2PmewjiG2p/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=11.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/dom/pointercheck.cpp +patching file tests/ondemand/ondemand_json_pointer_tests.cpp +patching file include/simdjson/dom/element-inl.h +patching file include/simdjson/generic/ondemand/document-inl.h +patching file include/simdjson/generic/ondemand/value-inl.h +patching file singleheader/simdjson.cpp +patching file singleheader/simdjson.h +-- The CXX compiler identification is GNU 11.5.0 +-- The C compiler identification is GNU 11.5.0 +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Check for working CXX compiler: /usr/local/bin/c++ - skipped +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Check for working C compiler: /usr/local/bin/gcc - skipped +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Adding -Og to compile flag +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD +-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Importing google_benchmarks (google/benchmark@v1.7.1) +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.30.2") +-- git version: v3.9.2-dirty normalized to 3.9.2 +-- Version: 3.9.2 +-- Looking for shm_open in rt +-- Looking for shm_open in rt - found +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL +-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE +-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC +-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS +-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Compiling and running to test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Compiling and running to test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Compiling and running to test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Compiling and running to test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- Importing simdjson-data (simdjson/simdjson-data@a5b13babe65c1bba7186b41b43d4cbdc20a5c470) +-- Performing Test SIMDJSON_FOUND_STRING_VIEW +-- Performing Test SIMDJSON_FOUND_STRING_VIEW - Success +-- Importing cjson (DaveGamble/cJSON@c69134d) +-- Importing fastjson (mikeando/fastjson@485f994) +-- Importing gason (vivkin/gason@7aee524) +-- Importing jsmn (zserge/jsmn@18e9fe4) +-- Importing json (nlohmann/json@v3.10.5) +-- Importing json11 (dropbox/json11@ec4e452) +-- Importing rapidjson (Tencent/rapidjson@f54b0e4) +-- Check if the system is big endian +-- Searching 16 bit integer +-- Looking for sys/types.h +-- Looking for sys/types.h - found +-- Looking for stdint.h +-- Looking for stdint.h - found +-- Looking for stddef.h +-- Looking for stddef.h - found +-- Check size of unsigned short +-- Check size of unsigned short - done +-- Searching 16 bit integer - Using unsigned short +-- Check if the system is big endian - little endian +-- Importing sajson (chadaustin/sajson@2dcfd35) +-- Importing ujson4c (esnme/ujson4c@e14f3fd) +-- Importing yyjson (ibireme/yyjson@c385651) +-- Importing cxxopts (jarro2783/cxxopts@794c975) +-- cxxopts version 2.2.0 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.9 (found version "3.9.2") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 1%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[ 1%] Linking CXX static library libsimdjson.a +[ 1%] Built target simdjson +Scanning dependencies of target cjson +[ 1%] Building C object dependencies/CMakeFiles/cjson.dir/.cache/cjson/cJSON.c.o +[ 2%] Linking C static library libcjson.a +[ 2%] Built target cjson +Scanning dependencies of target jsoncpp +[ 3%] Building CXX object dependencies/CMakeFiles/jsoncpp.dir/jsoncppdist/jsoncpp.cpp.o +[ 3%] Linking CXX static library libjsoncpp.a +[ 3%] Built target jsoncpp +Scanning dependencies of target ujson4c +[ 3%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/src/ujdecode.c.o +[ 3%] Building C object dependencies/CMakeFiles/ujson4c.dir/.cache/ujson4c/3rdparty/ultrajsondec.c.o +[ 5%] Linking C static library libujson4c.a +[ 5%] Built target ujson4c +Scanning dependencies of target fastjson +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson2.cpp.o +[ 6%] Building CXX object dependencies/CMakeFiles/fastjson.dir/.cache/fastjson/src/fastjson_dom.cpp.o +[ 7%] Linking CXX static library libfastjson.a +[ 7%] Built target fastjson +Scanning dependencies of target gason +[ 7%] Building CXX object dependencies/CMakeFiles/gason.dir/.cache/gason/src/gason.cpp.o +[ 9%] Linking CXX static library libgason.a +[ 9%] Built target gason +Scanning dependencies of target yyjson +[ 9%] Building C object dependencies/CMakeFiles/yyjson.dir/.cache/yyjson/src/yyjson.c.o +[ 10%] Linking C static library libyyjson.a +[ 10%] Built target yyjson +Scanning dependencies of target jsmn +[ 10%] Building C object dependencies/CMakeFiles/jsmn.dir/.cache/jsmn/jsmn.c.o +[ 10%] Linking C static library libjsmn.a +[ 10%] Built target jsmn +Scanning dependencies of target json11 +[ 11%] Building CXX object dependencies/CMakeFiles/json11.dir/.cache/json11/json11.cpp.o +[ 11%] Linking CXX static library libjson11.a +[ 11%] Built target json11 +Scanning dependencies of target minify +[ 12%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 12%] Linking CXX executable minify +[ 12%] Built target minify +Scanning dependencies of target jsonpointer +[ 12%] Building CXX object tools/CMakeFiles/jsonpointer.dir/jsonpointer.cpp.o +[ 14%] Linking CXX executable jsonpointer +[ 14%] Built target jsonpointer +Scanning dependencies of target jsonstats +[ 14%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 15%] Linking CXX executable jsonstats +[ 15%] Built target jsonstats +Scanning dependencies of target json2json +[ 15%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 16%] Linking CXX executable json2json +[ 16%] Built target json2json +Scanning dependencies of target amalgamate_demo_direct_from_repository_simdjson +[ 18%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository_simdjson.dir/simdjson.cpp.o +[ 18%] Linking CXX static library libamalgamate_demo_direct_from_repository_simdjson.a +[ 18%] Built target amalgamate_demo_direct_from_repository_simdjson +[ 18%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +SCRIPTPATH=/home/simdjson/singleheader PROJECTPATH=/home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +the commandline is ['git', 'show', '-s', '--format=%ci', 'HEAD'] +timestamp is 2024-05-07 19:15:43 -0400 +Creating /home/simdjson/build/singleheader/simdjson.h +Creating /home/simdjson/build/singleheader/simdjson.cpp +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 183 Mar 18 2025 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 2710 Mar 18 2025 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 2351534 Jul 14 01:41 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 5002424 Jul 14 01:41 /home/simdjson/build/singleheader/simdjson.h +Done with all files generation. + +Giving final instructions: +Try : + +``` + +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp simdjson.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson + + + +Scanning dependencies of target amalgamate_demo_simdjson +[ 19%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_simdjson.dir/simdjson.cpp.o +[ 19%] Linking CXX static library libamalgamate_demo_simdjson.a +[ 19%] Built target amalgamate_demo_simdjson +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 19%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 19%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 19%] Built target amalgamate_demo_direct_from_repository +Scanning dependencies of target amalgamate_demo +[ 19%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 20%] Linking CXX executable amalgamate_demo +[ 20%] Built target amalgamate_demo +Scanning dependencies of target generated-data +[ 20%] Built target generated-data +Scanning dependencies of target unicode_tests +[ 20%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 20%] Linking CXX executable unicode_tests +[ 20%] Built target unicode_tests +Scanning dependencies of target prettify_tests +[ 22%] Building CXX object tests/CMakeFiles/prettify_tests.dir/prettify_tests.cpp.o +[ 22%] Linking CXX executable prettify_tests +[ 22%] Built target prettify_tests +Scanning dependencies of target checkimplementation +[ 23%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 23%] Linking CXX executable checkimplementation +[ 23%] Built target checkimplementation +Scanning dependencies of target minify_tests +[ 23%] Building CXX object tests/CMakeFiles/minify_tests.dir/minify_tests.cpp.o +[ 24%] Linking CXX executable minify_tests +[ 24%] Built target minify_tests +Scanning dependencies of target padded_string_tests +[ 24%] Building CXX object tests/CMakeFiles/padded_string_tests.dir/padded_string_tests.cpp.o +[ 25%] Linking CXX executable padded_string_tests +[ 25%] Built target padded_string_tests +Scanning dependencies of target pointercheck +[ 25%] Building CXX object tests/dom/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 25%] Linking CXX executable pointercheck +[ 25%] Built target pointercheck +Scanning dependencies of target document_tests +[ 25%] Building CXX object tests/dom/CMakeFiles/document_tests.dir/document_tests.cpp.o +[ 25%] Linking CXX executable document_tests +[ 25%] Built target document_tests +Scanning dependencies of target numberparsingcheck +[ 25%] Building CXX object tests/dom/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 25%] Linking CXX executable numberparsingcheck +[ 25%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 25%] Building CXX object tests/dom/CMakeFiles/basictests.dir/basictests.cpp.o +[ 25%] Linking CXX executable basictests +[ 25%] Built target basictests +Scanning dependencies of target integer_tests +[ 25%] Building CXX object tests/dom/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 25%] Linking CXX executable integer_tests +[ 25%] Built target integer_tests +Scanning dependencies of target jsoncheck +[ 25%] Building CXX object tests/dom/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 25%] Linking CXX executable jsoncheck +[ 25%] Built target jsoncheck +Scanning dependencies of target document_stream_tests +[ 25%] Building CXX object tests/dom/CMakeFiles/document_stream_tests.dir/document_stream_tests.cpp.o +[ 27%] Linking CXX executable document_stream_tests +[ 27%] Built target document_stream_tests +Scanning dependencies of target minefieldcheck +[ 27%] Building CXX object tests/dom/CMakeFiles/minefieldcheck.dir/minefieldcheck.cpp.o +[ 27%] Linking CXX executable minefieldcheck +[ 27%] Built target minefieldcheck +Scanning dependencies of target parse_many_test +[ 28%] Building CXX object tests/dom/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 28%] Linking CXX executable parse_many_test +[ 28%] Built target parse_many_test +Scanning dependencies of target random_string_number_tests +[ 28%] Building CXX object tests/dom/CMakeFiles/random_string_number_tests.dir/random_string_number_tests.cpp.o +[ 29%] Linking CXX executable random_string_number_tests +[ 29%] Built target random_string_number_tests +Scanning dependencies of target trivially_copyable_test +[ 29%] Building CXX object tests/dom/CMakeFiles/trivially_copyable_test.dir/trivially_copyable_test.cpp.o +[ 31%] Linking CXX executable trivially_copyable_test +[ 31%] Built target trivially_copyable_test +Scanning dependencies of target extracting_values_example +[ 31%] Building CXX object tests/dom/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 31%] Linking CXX executable extracting_values_example +[ 31%] Built target extracting_values_example +Scanning dependencies of target stringparsingcheck +[ 31%] Building CXX object tests/dom/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 32%] Linking CXX executable stringparsingcheck +[ 32%] Built target stringparsingcheck +Scanning dependencies of target errortests +[ 33%] Building CXX object tests/dom/CMakeFiles/errortests.dir/errortests.cpp.o +[ 33%] Linking CXX executable errortests +[ 33%] Built target errortests +Scanning dependencies of target ondemand_wrong_type_error_tests +[ 33%] Building CXX object tests/ondemand/CMakeFiles/ondemand_wrong_type_error_tests.dir/ondemand_wrong_type_error_tests.cpp.o +[ 35%] Linking CXX executable ondemand_wrong_type_error_tests +[ 35%] Built target ondemand_wrong_type_error_tests +Scanning dependencies of target ondemand_misc_tests +[ 36%] Building CXX object tests/ondemand/CMakeFiles/ondemand_misc_tests.dir/ondemand_misc_tests.cpp.o +[ 36%] Linking CXX executable ondemand_misc_tests +[ 36%] Built target ondemand_misc_tests +Scanning dependencies of target ondemand_to_string +[ 36%] Building CXX object tests/ondemand/CMakeFiles/ondemand_to_string.dir/ondemand_to_string.cpp.o +[ 37%] Linking CXX executable ondemand_to_string +[ 37%] Built target ondemand_to_string +Scanning dependencies of target ondemand_error_tests +[ 38%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_tests.dir/ondemand_error_tests.cpp.o +[ 38%] Linking CXX executable ondemand_error_tests +[ 38%] Built target ondemand_error_tests +Scanning dependencies of target ondemand_compilation_tests +[ 40%] Building CXX object tests/ondemand/CMakeFiles/ondemand_compilation_tests.dir/ondemand_compilation_tests.cpp.o +[ 40%] Linking CXX executable ondemand_compilation_tests +[ 40%] Built target ondemand_compilation_tests +Scanning dependencies of target ondemand_json_path_tests +[ 40%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_path_tests.dir/ondemand_json_path_tests.cpp.o +[ 41%] Linking CXX executable ondemand_json_path_tests +[ 41%] Built target ondemand_json_path_tests +Scanning dependencies of target ondemand_active_tests +[ 42%] Building CXX object tests/ondemand/CMakeFiles/ondemand_active_tests.dir/ondemand_active_tests.cpp.o +[ 42%] Linking CXX executable ondemand_active_tests +[ 42%] Built target ondemand_active_tests +Scanning dependencies of target ondemand_tostring_tests +[ 42%] Building CXX object tests/ondemand/CMakeFiles/ondemand_tostring_tests.dir/ondemand_tostring_tests.cpp.o +[ 42%] Linking CXX executable ondemand_tostring_tests +[ 42%] Built target ondemand_tostring_tests +Scanning dependencies of target ondemand_log_error_tests +[ 42%] Building CXX object tests/ondemand/CMakeFiles/ondemand_log_error_tests.dir/ondemand_log_error_tests.cpp.o +[ 44%] Linking CXX executable ondemand_log_error_tests +[ 44%] Built target ondemand_log_error_tests +Scanning dependencies of target ondemand_document_stream_tests +[ 44%] Building CXX object tests/ondemand/CMakeFiles/ondemand_document_stream_tests.dir/ondemand_document_stream_tests.cpp.o +[ 45%] Linking CXX executable ondemand_document_stream_tests +[ 45%] Built target ondemand_document_stream_tests +Scanning dependencies of target ondemand_object_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_tests.dir/ondemand_object_tests.cpp.o +[ 46%] Linking CXX executable ondemand_object_tests +[ 46%] Built target ondemand_object_tests +Scanning dependencies of target ondemand_array_tests +[ 46%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_tests.dir/ondemand_array_tests.cpp.o +[ 48%] Linking CXX executable ondemand_array_tests +[ 48%] Built target ondemand_array_tests +Scanning dependencies of target ondemand_scalar_tests +[ 49%] Building CXX object tests/ondemand/CMakeFiles/ondemand_scalar_tests.dir/ondemand_scalar_tests.cpp.o +[ 49%] Linking CXX executable ondemand_scalar_tests +[ 49%] Built target ondemand_scalar_tests +Scanning dependencies of target ondemand_twitter_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_twitter_tests.dir/ondemand_twitter_tests.cpp.o +[ 50%] Linking CXX executable ondemand_twitter_tests +[ 50%] Built target ondemand_twitter_tests +Scanning dependencies of target ondemand_log_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_log_tests.dir/ondemand_log_tests.cpp.o +[ 50%] Linking CXX executable ondemand_log_tests +[ 50%] Built target ondemand_log_tests +Scanning dependencies of target ondemand_object_error_tests +[ 50%] Building CXX object tests/ondemand/CMakeFiles/ondemand_object_error_tests.dir/ondemand_object_error_tests.cpp.o +[ 50%] Linking CXX executable ondemand_object_error_tests +[ 50%] Built target ondemand_object_error_tests +Scanning dependencies of target ondemand_number_in_string_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_in_string_tests.dir/ondemand_number_in_string_tests.cpp.o +[ 51%] Linking CXX executable ondemand_number_in_string_tests +[ 51%] Built target ondemand_number_in_string_tests +Scanning dependencies of target ondemand_ordering_tests +[ 51%] Building CXX object tests/ondemand/CMakeFiles/ondemand_ordering_tests.dir/ondemand_ordering_tests.cpp.o +[ 53%] Linking CXX executable ondemand_ordering_tests +[ 53%] Built target ondemand_ordering_tests +Scanning dependencies of target ondemand_error_location_tests +[ 53%] Building CXX object tests/ondemand/CMakeFiles/ondemand_error_location_tests.dir/ondemand_error_location_tests.cpp.o +[ 53%] Linking CXX executable ondemand_error_location_tests +[ 53%] Built target ondemand_error_location_tests +Scanning dependencies of target ondemand_readme_examples +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_readme_examples.dir/ondemand_readme_examples.cpp.o +[ 54%] Linking CXX executable ondemand_readme_examples +[ 54%] Built target ondemand_readme_examples +Scanning dependencies of target ondemand_number_tests +[ 54%] Building CXX object tests/ondemand/CMakeFiles/ondemand_number_tests.dir/ondemand_number_tests.cpp.o +[ 55%] Linking CXX executable ondemand_number_tests +[ 55%] Built target ondemand_number_tests +Scanning dependencies of target ondemand_parse_api_tests +[ 55%] Building CXX object tests/ondemand/CMakeFiles/ondemand_parse_api_tests.dir/ondemand_parse_api_tests.cpp.o +[ 55%] Linking CXX executable ondemand_parse_api_tests +[ 55%] Built target ondemand_parse_api_tests +Scanning dependencies of target ondemand_array_error_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_array_error_tests.dir/ondemand_array_error_tests.cpp.o +[ 57%] Linking CXX executable ondemand_array_error_tests +[ 57%] Built target ondemand_array_error_tests +Scanning dependencies of target ondemand_json_pointer_tests +[ 57%] Building CXX object tests/ondemand/CMakeFiles/ondemand_json_pointer_tests.dir/ondemand_json_pointer_tests.cpp.o +[ 57%] Linking CXX executable ondemand_json_pointer_tests +[ 57%] Built target ondemand_json_pointer_tests +Scanning dependencies of target ondemand_key_string_tests +[ 58%] Building CXX object tests/ondemand/CMakeFiles/ondemand_key_string_tests.dir/ondemand_key_string_tests.cpp.o +[ 58%] Linking CXX executable ondemand_key_string_tests +[ 58%] Built target ondemand_key_string_tests +Scanning dependencies of target ondemand_iterate_many_csv +[ 59%] Building CXX object tests/ondemand/CMakeFiles/ondemand_iterate_many_csv.dir/ondemand_iterate_many_csv.cpp.o +[ 59%] Linking CXX executable ondemand_iterate_many_csv +[ 59%] Built target ondemand_iterate_many_csv +Scanning dependencies of target ondemand_assert_out_of_order_values +[ 59%] Building CXX object tests/ondemand/CMakeFiles/ondemand_assert_out_of_order_values.dir/ondemand_assert_out_of_order_values.cpp.o +[ 59%] Linking CXX executable ondemand_assert_out_of_order_values +[ 59%] Built target ondemand_assert_out_of_order_values +Scanning dependencies of target benchfeatures +[ 61%] Building CXX object benchmark/CMakeFiles/benchfeatures.dir/benchfeatures.cpp.o +[ 61%] Linking CXX executable benchfeatures +[ 61%] Built target benchfeatures +Scanning dependencies of target get_corpus_benchmark +[ 61%] Building CXX object benchmark/CMakeFiles/get_corpus_benchmark.dir/get_corpus_benchmark.cpp.o +[ 62%] Linking CXX executable get_corpus_benchmark +[ 62%] Built target get_corpus_benchmark +Scanning dependencies of target benchmark +[ 62%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 63%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 63%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 64%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 64%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 64%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/check.cc.o +[ 66%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 66%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 66%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 67%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 67%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 67%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 68%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 68%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/perf_counters.cc.o +[ 68%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 70%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 70%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 71%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 71%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 71%] Building CXX object _deps/google_benchmarks/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 72%] Linking CXX static library libbenchmark.a +[ 72%] Built target benchmark +Scanning dependencies of target bench_parse_call +[ 72%] Building CXX object benchmark/CMakeFiles/bench_parse_call.dir/bench_parse_call.cpp.o +[ 72%] Linking CXX executable bench_parse_call +[ 72%] Built target bench_parse_call +Scanning dependencies of target bench_dom_api +[ 74%] Building CXX object benchmark/CMakeFiles/bench_dom_api.dir/bench_dom_api.cpp.o +[ 74%] Linking CXX executable bench_dom_api +[ 74%] Built target bench_dom_api +Scanning dependencies of target bench_ondemand +[ 74%] Building CXX object benchmark/CMakeFiles/bench_ondemand.dir/bench_ondemand.cpp.o +[ 75%] Linking CXX executable bench_ondemand +[ 75%] Built target bench_ondemand +Scanning dependencies of target perfdiff +[ 75%] Building CXX object benchmark/dom/CMakeFiles/perfdiff.dir/perfdiff.cpp.o +[ 76%] Linking CXX executable perfdiff +[ 76%] Built target perfdiff +Scanning dependencies of target parse_noutf8validation +[ 77%] Building CXX object benchmark/dom/CMakeFiles/parse_noutf8validation.dir/parse.cpp.o +[ 77%] Linking CXX executable parse_noutf8validation +[ 77%] Built target parse_noutf8validation +Scanning dependencies of target parse +[ 77%] Building CXX object benchmark/dom/CMakeFiles/parse.dir/parse.cpp.o +[ 77%] Linking CXX executable parse +[ 77%] Built target parse +Scanning dependencies of target parse_stream +[ 77%] Building CXX object benchmark/dom/CMakeFiles/parse_stream.dir/parse_stream.cpp.o +[ 79%] Linking CXX executable parse_stream +[ 79%] Built target parse_stream +Scanning dependencies of target statisticalmodel +[ 80%] Building CXX object benchmark/dom/CMakeFiles/statisticalmodel.dir/statisticalmodel.cpp.o +[ 80%] Linking CXX executable statisticalmodel +[ 80%] Built target statisticalmodel +Scanning dependencies of target parse_nonumberparsing +[ 80%] Building CXX object benchmark/dom/CMakeFiles/parse_nonumberparsing.dir/parse.cpp.o +[ 81%] Linking CXX executable parse_nonumberparsing +[ 81%] Built target parse_nonumberparsing +Scanning dependencies of target parse_nostringparsing +[ 81%] Building CXX object benchmark/dom/CMakeFiles/parse_nostringparsing.dir/parse.cpp.o +[ 81%] Linking CXX executable parse_nostringparsing +[ 81%] Built target parse_nostringparsing +Scanning dependencies of target fuzz_print_json +[ 81%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/fuzz_print_json.cpp.o +[ 83%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/main.cpp.o +[ 83%] Linking CXX executable fuzz_print_json +[ 83%] Built target fuzz_print_json +Scanning dependencies of target fuzz_padded +[ 83%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/fuzz_padded.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_padded.dir/main.cpp.o +[ 84%] Linking CXX executable fuzz_padded +[ 84%] Built target fuzz_padded +Scanning dependencies of target fuzz_dump +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/fuzz_dump.cpp.o +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/main.cpp.o +[ 85%] Linking CXX executable fuzz_dump +[ 85%] Built target fuzz_dump +Scanning dependencies of target fuzz_minifyimpl +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/fuzz_minifyimpl.cpp.o +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_minifyimpl.dir/main.cpp.o +[ 87%] Linking CXX executable fuzz_minifyimpl +[ 87%] Built target fuzz_minifyimpl +Scanning dependencies of target fuzz_element +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/fuzz_element.cpp.o +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_element.dir/main.cpp.o +[ 88%] Linking CXX executable fuzz_element +[ 88%] Built target fuzz_element +Scanning dependencies of target fuzz_ondemand +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/fuzz_ondemand.cpp.o +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_ondemand.dir/main.cpp.o +[ 89%] Linking CXX executable fuzz_ondemand +[ 89%] Built target fuzz_ondemand +Scanning dependencies of target fuzz_utf8 +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/fuzz_utf8.cpp.o +[ 90%] Building CXX object fuzz/CMakeFiles/fuzz_utf8.dir/main.cpp.o +[ 90%] Linking CXX executable fuzz_utf8 +[ 90%] Built target fuzz_utf8 +Scanning dependencies of target fuzz_implementations +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/fuzz_implementations.cpp.o +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_implementations.dir/main.cpp.o +[ 92%] Linking CXX executable fuzz_implementations +[ 92%] Built target fuzz_implementations +Scanning dependencies of target fuzz_parser +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/fuzz_parser.cpp.o +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/main.cpp.o +[ 93%] Linking CXX executable fuzz_parser +[ 93%] Built target fuzz_parser +Scanning dependencies of target fuzz_atpointer +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/fuzz_atpointer.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_atpointer.dir/main.cpp.o +[ 94%] Linking CXX executable fuzz_atpointer +[ 94%] Built target fuzz_atpointer +Scanning dependencies of target fuzz_dump_raw_tape +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/fuzz_dump_raw_tape.cpp.o +[ 96%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/main.cpp.o +[ 96%] Linking CXX executable fuzz_dump_raw_tape +[ 96%] Built target fuzz_dump_raw_tape +Scanning dependencies of target fuzz_minify +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/fuzz_minify.cpp.o +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/main.cpp.o +[ 98%] Linking CXX executable fuzz_minify +[ 98%] Built target fuzz_minify +Scanning dependencies of target fuzz_ndjson +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/fuzz_ndjson.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_ndjson.dir/main.cpp.o +[100%] Linking CXX executable fuzz_ndjson +[100%] Built target fuzz_ndjson +Test project /home/simdjson/build + Start 1: avoid_abort + 1/99 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_cout + 2/99 Test #2: avoid_cout ........................................... Passed 0.00 sec + Start 3: avoid_cerr + 3/99 Test #3: avoid_cerr ........................................... Passed 0.00 sec + Start 4: avoid_printf + 4/99 Test #4: avoid_printf ......................................... Passed 0.00 sec + Start 5: avoid_stdout + 5/99 Test #5: avoid_stdout ......................................... Passed 0.00 sec + Start 6: avoid_stderr + 6/99 Test #6: avoid_stderr ......................................... Passed 0.00 sec + Start 7: amalgamate_demo + 7/99 Test #7: amalgamate_demo ...................................... Passed 0.00 sec + Start 8: simdjson-singleheader + 8/99 Test #8: simdjson-singleheader ................................ Passed 6.17 sec + Start 9: amalgamate_demo_direct_from_repository + 9/99 Test #9: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 10: unicode_tests +10/99 Test #10: unicode_tests ........................................ Passed 0.04 sec + Start 11: minify_tests +11/99 Test #11: minify_tests ......................................... Passed 0.11 sec + Start 12: padded_string_tests +12/99 Test #12: padded_string_tests .................................. Passed 0.00 sec + Start 13: prettify_tests +13/99 Test #13: prettify_tests ....................................... Passed 0.12 sec + Start 14: checkimplementation +14/99 Test #14: checkimplementation .................................. Passed 0.00 sec + Start 15: random_string_number_tests +15/99 Test #15: random_string_number_tests ........................... Passed 1.02 sec + Start 16: basictests +16/99 Test #16: basictests ........................................... Passed 0.01 sec + Start 17: document_stream_tests +17/99 Test #17: document_stream_tests ................................ Passed 0.26 sec + Start 18: document_tests +18/99 Test #18: document_tests ....................................... Passed 0.00 sec + Start 19: errortests +19/99 Test #19: errortests ........................................... Passed 0.00 sec + Start 20: extracting_values_example +20/99 Test #20: extracting_values_example ............................ Passed 0.00 sec + Start 21: integer_tests +21/99 Test #21: integer_tests ........................................ Passed 0.00 sec + Start 22: jsoncheck +22/99 Test #22: jsoncheck ............................................ Passed 0.00 sec + Start 23: minefieldcheck +23/99 Test #23: minefieldcheck ....................................... Passed 0.01 sec + Start 24: numberparsingcheck +24/99 Test #24: numberparsingcheck ................................... Passed 0.04 sec + Start 25: parse_many_test +25/99 Test #25: parse_many_test ...................................... Passed 0.00 sec + Start 26: pointercheck +26/99 Test #26: pointercheck .........................................***Failed 0.00 sec + Start 27: stringparsingcheck +27/99 Test #27: stringparsingcheck ................................... Passed 0.04 sec + Start 28: trivially_copyable_test +28/99 Test #28: trivially_copyable_test .............................. Passed 0.00 sec + Start 30: json2json +29/99 Test #30: json2json ............................................ Passed 0.01 sec + Start 29: testjson2json +30/99 Test #29: testjson2json ........................................ Passed 0.69 sec + Start 31: simdjson_force_implementation_error +31/99 Test #31: simdjson_force_implementation_error .................. Passed 0.01 sec + Start 32: readme_examples +32/99 Test #32: readme_examples ...................................... Passed 3.05 sec + Start 33: readme_examples11 +33/99 Test #33: readme_examples11 .................................... Passed 2.93 sec + Start 34: readme_examples_noexceptions +34/99 Test #34: readme_examples_noexceptions ......................... Passed 1.90 sec + Start 35: readme_examples_noexceptions11 +35/99 Test #35: readme_examples_noexceptions11 ....................... Passed 1.70 sec + Start 36: readme_examples_will_fail_with_exceptions_off +36/99 Test #36: readme_examples_will_fail_with_exceptions_off ........ Passed 1.06 sec + Start 37: ondemand_log_tests +37/99 Test #37: ondemand_log_tests ................................... Passed 0.00 sec + Start 38: ondemand_log_error_tests +38/99 Test #38: ondemand_log_error_tests ............................. Passed 0.00 sec + Start 39: ondemand_tostring_tests +39/99 Test #39: ondemand_tostring_tests .............................. Passed 0.01 sec + Start 40: ondemand_active_tests +40/99 Test #40: ondemand_active_tests ................................ Passed 0.00 sec + Start 41: ondemand_array_tests +41/99 Test #41: ondemand_array_tests ................................. Passed 0.00 sec + Start 42: ondemand_array_error_tests +42/99 Test #42: ondemand_array_error_tests ........................... Passed 0.00 sec + Start 43: ondemand_compilation_tests +43/99 Test #43: ondemand_compilation_tests ........................... Passed 0.00 sec + Start 44: ondemand_document_stream_tests +44/99 Test #44: ondemand_document_stream_tests ....................... Passed 0.03 sec + Start 45: ondemand_error_tests +45/99 Test #45: ondemand_error_tests ................................. Passed 0.00 sec + Start 46: ondemand_error_location_tests +46/99 Test #46: ondemand_error_location_tests ........................ Passed 0.00 sec + Start 47: ondemand_json_pointer_tests +47/99 Test #47: ondemand_json_pointer_tests ..........................***Failed 0.00 sec + Start 48: ondemand_json_path_tests +48/99 Test #48: ondemand_json_path_tests ............................. Passed 0.00 sec + Start 49: ondemand_key_string_tests +49/99 Test #49: ondemand_key_string_tests ............................ Passed 0.00 sec + Start 50: ondemand_misc_tests +50/99 Test #50: ondemand_misc_tests .................................. Passed 0.00 sec + Start 51: ondemand_number_tests +51/99 Test #51: ondemand_number_tests ................................ Passed 0.01 sec + Start 52: ondemand_number_in_string_tests +52/99 Test #52: ondemand_number_in_string_tests ...................... Passed 0.00 sec + Start 53: ondemand_object_tests +53/99 Test #53: ondemand_object_tests ................................ Passed 0.00 sec + Start 54: ondemand_object_error_tests +54/99 Test #54: ondemand_object_error_tests .......................... Passed 0.00 sec + Start 55: ondemand_ordering_tests +55/99 Test #55: ondemand_ordering_tests .............................. Passed 0.00 sec + Start 56: ondemand_parse_api_tests +56/99 Test #56: ondemand_parse_api_tests ............................. Passed 0.00 sec + Start 57: ondemand_readme_examples +57/99 Test #57: ondemand_readme_examples ............................. Passed 0.00 sec + Start 58: ondemand_scalar_tests +58/99 Test #58: ondemand_scalar_tests ................................ Passed 0.00 sec + Start 59: ondemand_to_string +59/99 Test #59: ondemand_to_string ................................... Passed 0.00 sec + Start 60: ondemand_twitter_tests +60/99 Test #60: ondemand_twitter_tests ............................... Passed 0.00 sec + Start 61: ondemand_wrong_type_error_tests +61/99 Test #61: ondemand_wrong_type_error_tests ...................... Passed 0.00 sec + Start 62: ondemand_iterate_many_csv +62/99 Test #62: ondemand_iterate_many_csv ............................ Passed 0.00 sec + Start 63: ondemand_assert_out_of_order_values +63/99 Test #63: ondemand_assert_out_of_order_values .................. Passed 0.00 sec + Start 64: iterate_char_star_should_compile +64/99 Test #64: iterate_char_star_should_compile ..................... Passed 1.19 sec + Start 65: iterate_char_star_should_not_compile +65/99 Test #65: iterate_char_star_should_not_compile ................. Passed 1.09 sec + Start 66: iterate_string_view_should_compile +66/99 Test #66: iterate_string_view_should_compile ................... Passed 1.20 sec + Start 67: iterate_string_view_should_not_compile +67/99 Test #67: iterate_string_view_should_not_compile ............... Passed 1.14 sec + Start 68: iterate_temporary_buffer_should_compile +68/99 Test #68: iterate_temporary_buffer_should_compile .............. Passed 1.20 sec + Start 69: iterate_temporary_buffer_should_not_compile +69/99 Test #69: iterate_temporary_buffer_should_not_compile .......... Passed 1.02 sec + Start 70: first_second_access_should_compile +70/99 Test #70: first_second_access_should_compile ................... Passed 1.49 sec + Start 71: first_second_access_should_not_compile +71/99 Test #71: first_second_access_should_not_compile ............... Passed 1.03 sec + Start 72: example_compiletest_should_compile +72/99 Test #72: example_compiletest_should_compile ................... Passed 0.26 sec + Start 73: example_compiletest_should_not_compile +73/99 Test #73: example_compiletest_should_not_compile ............... Passed 0.17 sec + Start 74: bad_array_count_should_compile +74/99 Test #74: bad_array_count_should_compile ....................... Passed 1.33 sec + Start 75: bad_array_count_should_not_compile +75/99 Test #75: bad_array_count_should_not_compile ................... Passed 1.14 sec + Start 76: dangling_parser_load_should_compile +76/99 Test #76: dangling_parser_load_should_compile .................. Passed 1.48 sec + Start 77: dangling_parser_load_should_not_compile +77/99 Test #77: dangling_parser_load_should_not_compile .............. Passed 1.03 sec + Start 78: dangling_parser_parse_uint8_should_compile +78/99 Test #78: dangling_parser_parse_uint8_should_compile ........... Passed 1.43 sec + Start 79: dangling_parser_parse_uint8_should_not_compile +79/99 Test #79: dangling_parser_parse_uint8_should_not_compile ....... Passed 1.03 sec + Start 80: dangling_parser_parse_uchar_should_compile +80/99 Test #80: dangling_parser_parse_uchar_should_compile ........... Passed 1.44 sec + Start 81: dangling_parser_parse_uchar_should_not_compile +81/99 Test #81: dangling_parser_parse_uchar_should_not_compile ....... Passed 1.05 sec + Start 82: dangling_parser_parse_stdstring_should_compile +82/99 Test #82: dangling_parser_parse_stdstring_should_compile ....... Passed 1.45 sec + Start 83: dangling_parser_parse_stdstring_should_not_compile +83/99 Test #83: dangling_parser_parse_stdstring_should_not_compile ... Passed 1.04 sec + Start 84: dangling_parser_parse_padstring_should_compile +84/99 Test #84: dangling_parser_parse_padstring_should_compile ....... Passed 1.46 sec + Start 85: dangling_parser_parse_padstring_should_not_compile +85/99 Test #85: dangling_parser_parse_padstring_should_not_compile ... Passed 1.02 sec + Start 86: unsafe_parse_many_should_compile +86/99 Test #86: unsafe_parse_many_should_compile ..................... Passed 1.64 sec + Start 87: unsafe_parse_many_should_not_compile +87/99 Test #87: unsafe_parse_many_should_not_compile ................. Passed 1.03 sec + Start 88: quickstart +88/99 Test #88: quickstart ........................................... Passed 2.80 sec + Start 89: quickstart11 +89/99 Test #89: quickstart11 ......................................... Passed 2.64 sec + Start 90: quickstart14 +90/99 Test #90: quickstart14 ......................................... Passed 2.62 sec + Start 91: quickstart_noexceptions +91/99 Test #91: quickstart_noexceptions .............................. Passed 2.78 sec + Start 92: quickstart_noexceptions11 +92/99 Test #92: quickstart_noexceptions11 ............................ Passed 2.59 sec + Start 93: quickstart2_noexceptions +93/99 Test #93: quickstart2_noexceptions ............................. Passed 2.67 sec + Start 94: quickstart2_noexceptions11 +94/99 Test #94: quickstart2_noexceptions11 ........................... Passed 2.62 sec + Start 95: quickstart_ondemand +95/99 Test #95: quickstart_ondemand .................................. Passed 2.80 sec + Start 96: quickstart_ondemand11 +96/99 Test #96: quickstart_ondemand11 ................................ Passed 2.68 sec + Start 97: quickstart_ondemand14 +97/99 Test #97: quickstart_ondemand14 ................................ Passed 2.70 sec + Start 98: quickstart_ondemand_noexceptions +98/99 Test #98: quickstart_ondemand_noexceptions ..................... Passed 2.81 sec + Start 99: quickstart_ondemand_noexceptions11 +99/99 Test #99: quickstart_ondemand_noexceptions11 ................... Passed 2.60 sec + +98% tests passed, 2 tests failed out of 99 + +Label Time Summary: +acceptance = 43.38 sec*proc (69 tests) +assert = 0.00 sec*proc (1 test) +compile = 32.30 sec*proc (12 tests) +dom = 1.43 sec*proc (15 tests) +explicitonly = 0.00 sec*proc (1 test) +no_mingw = 59.64 sec*proc (36 tests) +ondemand = 9.46 sec*proc (35 tests) +other = 0.23 sec*proc (4 tests) +per_implementation = 8.65 sec*proc (50 tests) +quickstart = 32.30 sec*proc (12 tests) +quickstart_ondemand = 13.59 sec*proc (5 tests) +singleheader = 6.18 sec*proc (3 tests) + +Total Test time (real) = 78.99 sec + +The following tests FAILED: + 26 - pointercheck (Failed) + 47 - ondemand_json_pointer_tests (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/fix.patch new file mode 100644 index 000000000..1c75cc963 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/fix.patch @@ -0,0 +1,374 @@ +diff --git a/include/simdjson/dom/element-inl.h b/include/simdjson/dom/element-inl.h +index 1f071da6..19803b3d 100644 +--- a/include/simdjson/dom/element-inl.h ++++ b/include/simdjson/dom/element-inl.h +@@ -384,7 +384,7 @@ inline simdjson_result element::at_pointer(std::string_view json_pointe + return array(tape).at_pointer(json_pointer); + default: { + if(!json_pointer.empty()) { // a non-empty string is invalid on an atom +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + // an empty string means that we return the current node + dom::element copy(*this); +diff --git a/include/simdjson/generic/ondemand/document-inl.h b/include/simdjson/generic/ondemand/document-inl.h +index 70072c42..7be4e347 100644 +--- a/include/simdjson/generic/ondemand/document-inl.h ++++ b/include/simdjson/generic/ondemand/document-inl.h +@@ -312,7 +312,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -329,7 +329,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +diff --git a/include/simdjson/generic/ondemand/value-inl.h b/include/simdjson/generic/ondemand/value-inl.h +index 41e02fa2..247ca97e 100644 +--- a/include/simdjson/generic/ondemand/value-inl.h ++++ b/include/simdjson/generic/ondemand/value-inl.h +@@ -249,7 +249,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -262,7 +262,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index 7a8d24ab..9506c442 100644 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on 2024-05-07 18:04:59 -0400. Do not edit! */ ++/* auto-generated on 2026-07-02 14:38:42 +0000. Do not edit! */ + /* including simdjson.cpp: */ + /* begin file simdjson.cpp */ + #define SIMDJSON_SRC_SIMDJSON_CPP +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index 985ffe11..a5ed44c7 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -1,4 +1,4 @@ +-/* auto-generated on 2024-05-07 18:04:59 -0400. Do not edit! */ ++/* auto-generated on 2026-07-02 14:38:42 +0000. Do not edit! */ + /* including simdjson.h: */ + /* begin file simdjson.h */ + #ifndef SIMDJSON_H +@@ -7449,7 +7449,7 @@ inline simdjson_result element::at_pointer(std::string_view json_pointe + return array(tape).at_pointer(json_pointer); + default: { + if(!json_pointer.empty()) { // a non-empty string is invalid on an atom +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + // an empty string means that we return the current node + dom::element copy(*this); +@@ -36776,7 +36776,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -36793,7 +36793,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -40093,7 +40093,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -40106,7 +40106,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -47113,7 +47113,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -47130,7 +47130,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -50430,7 +50430,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -50443,7 +50443,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -57942,7 +57942,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -57959,7 +57959,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -61259,7 +61259,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -61272,7 +61272,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -68770,7 +68770,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -68787,7 +68787,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -72087,7 +72087,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -72100,7 +72100,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -79713,7 +79713,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -79730,7 +79730,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -83030,7 +83030,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -83043,7 +83043,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -90979,7 +90979,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -90996,7 +90996,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -94296,7 +94296,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -94309,7 +94309,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -101716,7 +101716,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -101733,7 +101733,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -105033,7 +105033,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -105046,7 +105046,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -112466,7 +112466,7 @@ simdjson_inline simdjson_result document::at_pointer(std::string_view jso + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -112483,7 +112483,7 @@ simdjson_inline simdjson_result document::at_path(std::string_view json_p + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -115783,7 +115783,7 @@ simdjson_inline simdjson_result value::at_pointer(std::string_view json_p + case json_type::object: + return (*this).get_object().at_pointer(json_pointer); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + +@@ -115796,7 +115796,7 @@ simdjson_inline simdjson_result value::at_path(std::string_view json_path + case json_type::object: + return (*this).get_object().at_path(json_path); + default: +- return INVALID_JSON_POINTER; ++ return NO_SUCH_FIELD; + } + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/report.json new file mode 100644 index 000000000..c9b929ad6 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-2178/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 2178, "valid": false, "error_msg": "After applying the fix patch, no test cases transitioned from failed to passed. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (99, 0, 0)\n test = (97, 0, 0)\n fix = (97, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 99, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_log_error_tests", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "ondemand_to_string", "readme_examples_noexceptions", "ondemand_tostring_tests", "ondemand_json_path_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "prettify_tests", "pointercheck", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "ondemand_iterate_many_csv", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_json_pointer_tests", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "ondemand_log_tests", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 97, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "dangling_parser_parse_uint8_should_compile", "parse_many_test", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "minefieldcheck", "basictests", "readme_examples_will_fail_with_exceptions_off", "document_stream_tests", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "quickstart2_noexceptions", "ondemand_error_location_tests", "iterate_string_view_should_not_compile", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_log_error_tests", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "ondemand_to_string", "readme_examples_noexceptions", "ondemand_tostring_tests", "ondemand_json_path_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "quickstart_ondemand", "ondemand_number_in_string_tests", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "ondemand_array_error_tests", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "prettify_tests", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "ondemand_iterate_many_csv", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "ondemand_log_tests", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 97, "failed_count": 0, "skipped_count": 0, "passed_tests": ["dangling_parser_parse_stdstring_should_compile", "random_string_number_tests", "iterate_char_star_should_compile", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "ondemand_key_string_tests", "unicode_tests", "quickstart_ondemand14", "ondemand_parse_api_tests", "unsafe_parse_many_should_not_compile", "extracting_values_example", "integer_tests", "jsoncheck", "quickstart", "avoid_stdout", "basictests", "minefieldcheck", "document_stream_tests", "readme_examples_will_fail_with_exceptions_off", "ondemand_active_tests", "ondemand_array_tests", "dangling_parser_parse_padstring_should_compile", "simdjson-singleheader", "padded_string_tests", "iterate_string_view_should_not_compile", "ondemand_error_location_tests", "quickstart2_noexceptions", "quickstart_noexceptions", "iterate_temporary_buffer_should_not_compile", "avoid_stderr", "ondemand_document_stream_tests", "ondemand_assert_out_of_order_values", "dangling_parser_parse_uint8_should_not_compile", "unsafe_parse_many_should_compile", "quickstart_ondemand_noexceptions11", "avoid_cerr", "ondemand_log_error_tests", "ondemand_number_tests", "iterate_temporary_buffer_should_compile", "ondemand_object_error_tests", "ondemand_scalar_tests", "amalgamate_demo_direct_from_repository", "ondemand_twitter_tests", "numberparsingcheck", "ondemand_error_tests", "stringparsingcheck", "dangling_parser_parse_padstring_should_not_compile", "ondemand_to_string", "readme_examples_noexceptions", "ondemand_tostring_tests", "ondemand_json_path_tests", "amalgamate_demo", "document_tests", "quickstart11", "avoid_printf", "iterate_char_star_should_not_compile", "first_second_access_should_compile", "quickstart14", "ondemand_compilation_tests", "ondemand_ordering_tests", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "readme_examples11", "ondemand_misc_tests", "minify_tests", "checkimplementation", "bad_array_count_should_not_compile", "ondemand_number_in_string_tests", "quickstart_ondemand", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "iterate_string_view_should_compile", "quickstart_ondemand11", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "ondemand_array_error_tests", "simdjson_force_implementation_error", "ondemand_wrong_type_error_tests", "prettify_tests", "ondemand_object_tests", "trivially_copyable_test", "readme_examples", "quickstart_noexceptions11", "bad_array_count_should_compile", "dangling_parser_parse_uchar_should_compile", "ondemand_iterate_many_csv", "example_compiletest_should_compile", "avoid_cout", "avoid_abort", "ondemand_readme_examples", "first_second_access_should_not_compile", "quickstart_ondemand_noexceptions", "ondemand_log_tests", "errortests", "json2json", "quickstart2_noexceptions11", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/fix-patch-run.log new file mode 100644 index 000000000..20ca28093 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/fix-patch-run.log @@ -0,0 +1,431 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 2s (5371 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.9 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.8 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (3393 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.4MaVlwI5 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.4MaVlwI5/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.4MaVlwI5/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.4MaVlwI5/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.4MaVlwI5/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.4MaVlwI5/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.4MaVlwI5 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=74c67c8b2697 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.MHbHKCaGkC/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/basictests.cpp +patching file tests/integer_tests.cpp +patching file include/simdjson/jsonparser.h +patching file include/simdjson/parsedjson.h +patching file src/jsonparser.cpp +patching file src/parsedjson.cpp +-- No build type selected, default to Release +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detected x64 processor: x86_64 +-- Assuming Westmere or better +-- Building a dynamic library (default). +-- SIMDJSON_LIB_TYPE: SHARED +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- Looking for C++ include pthread.h +-- Looking for C++ include pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 2%] Building CXX object src/CMakeFiles/simdjson.dir/jsonioutil.cpp.o +[ 4%] Building CXX object src/CMakeFiles/simdjson.dir/jsonminifier.cpp.o +[ 6%] Building CXX object src/CMakeFiles/simdjson.dir/jsonparser.cpp.o +[ 8%] Building CXX object src/CMakeFiles/simdjson.dir/stage1_find_marks.cpp.o +In file included from /home/simdjson/src/haswell/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:2: +/home/simdjson/src/haswell/bitmanipulation.h:18:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/westmere/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:3: +/home/simdjson/src/westmere/bitmanipulation.h:19:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +[ 10%] Building CXX object src/CMakeFiles/simdjson.dir/stage2_build_tape.cpp.o +In file included from /home/simdjson/src/haswell/stringparsing.h:13:0, + from /home/simdjson/src/haswell/stage2_build_tape.h:9, + from /home/simdjson/src/stage2_build_tape.cpp:63: +/home/simdjson/src/haswell/bitmanipulation.h:18:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/westmere/stringparsing.h:13:0, + from /home/simdjson/src/westmere/stage2_build_tape.h:9, + from /home/simdjson/src/stage2_build_tape.cpp:64: +/home/simdjson/src/westmere/bitmanipulation.h:19:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +[ 12%] Building CXX object src/CMakeFiles/simdjson.dir/parsedjson.cpp.o +[ 14%] Building CXX object src/CMakeFiles/simdjson.dir/parsedjsoniterator.cpp.o +[ 17%] Building CXX object src/CMakeFiles/simdjson.dir/simdjson.cpp.o +[ 19%] Linking CXX shared library ../libsimdjson.so +[ 19%] Built target simdjson +Scanning dependencies of target jsonstats +[ 21%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 23%] Linking CXX executable jsonstats +[ 23%] Built target jsonstats +Scanning dependencies of target json2json +[ 25%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 27%] Linking CXX executable json2json +[ 27%] Built target json2json +Scanning dependencies of target minify +[ 29%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 31%] Linking CXX executable minify +[ 31%] Built target minify +Scanning dependencies of target jsoncheck +[ 34%] Building CXX object tests/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 36%] Linking CXX executable jsoncheck +[ 36%] Built target jsoncheck +Scanning dependencies of target basictests +[ 38%] Building CXX object tests/CMakeFiles/basictests.dir/basictests.cpp.o +/home/simdjson/tests/basictests.cpp:13:10: fatal error: simdjson/document.h: No such file or directory + #include "simdjson/document.h" + ^~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [tests/CMakeFiles/basictests.dir/build.make:63: tests/CMakeFiles/basictests.dir/basictests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:324: tests/CMakeFiles/basictests.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/simdjson/build + Start 1: basictests +Unable to find executable: basictests +Could not find executable basictests +Looked in the following places: +basictests +basictests +Release/basictests +Release/basictests +Debug/basictests +Debug/basictests +MinSizeRel/basictests +MinSizeRel/basictests +RelWithDebInfo/basictests +RelWithDebInfo/basictests +Deployment/basictests +Deployment/basictests +Development/basictests +Development/basictests +1/5 Test #1: basictests .......................***Not Run 0.00 sec + Start 2: jsoncheck +2/5 Test #2: jsoncheck ........................ Passed 0.00 sec + Start 3: jsonstream_test +Could not find executable jsonstream_test +Looked in the following places: +jsonstream_test +jsonstream_test +Release/jsonstream_test +Release/jsonstream_test +Debug/jsonstream_test +Debug/jsonstream_test +MinSizeRel/jsonstream_test +MinSizeRel/jsonstream_test +RelWithDebInfo/jsonstream_test +RelWithDebInfo/jsonstream_test +Deployment/jsonstream_test +Deployment/jsonstream_test +Development/jsonstream_test +Development/jsonstream_test +Unable to find executable: jsonstream_test +3/5 Test #3: jsonstream_test ..................***Not Run 0.00 sec + Start 4: pointercheck +Could not find executable pointercheck +Looked in the following places: +pointercheck +pointercheck +Release/pointercheck +Release/pointercheck +Debug/pointercheck +Debug/pointercheck +MinSizeRel/pointercheck +MinSizeRel/pointercheck +RelWithDebInfo/pointercheck +RelWithDebInfo/pointercheck +Deployment/pointercheck +Deployment/pointercheck +Development/pointercheck +Development/pointercheck +Unable to find executable: pointercheck +4/5 Test #4: pointercheck .....................***Not Run 0.00 sec + Start 5: integer_tests +Could not find executable integer_tests +Looked in the following places: +integer_tests +integer_tests +Release/integer_tests +Release/integer_tests +Debug/integer_tests +Debug/integer_tests +MinSizeRel/integer_tests +MinSizeRel/integer_tests +RelWithDebInfo/integer_tests +RelWithDebInfo/integer_tests +Deployment/integer_tests +Deployment/integer_tests +Development/integer_tests +Development/integer_tests +Unable to find executable: integer_tests +5/5 Test #5: integer_tests ....................***Not Run 0.00 sec + +20% tests passed, 4 tests failed out of 5 + +Total Test time (real) = 0.01 sec + +The following tests FAILED: + 1 - basictests (Not Run) + 3 - jsonstream_test (Not Run) + 4 - pointercheck (Not Run) + 5 - integer_tests (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/fix.patch new file mode 100644 index 000000000..cd2a81bfe --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/fix.patch @@ -0,0 +1,899 @@ +diff --git a/include/simdjson/jsonparser.h b/include/simdjson/jsonparser.h +index 4ca162a4..99e0a00e 100644 +--- a/include/simdjson/jsonparser.h ++++ b/include/simdjson/jsonparser.h +@@ -11,10 +11,87 @@ + #include + + namespace simdjson { +-// json_parse_implementation is the generic function, it is specialized for +-// various architectures, e.g., as +-// json_parse_implementation or +-// json_parse_implementation ++ ++class JsonFactory { ++public: ++ JsonFactory()=default; ++ ~JsonFactory()=default; ++ ++ JsonFactory(JsonFactory &&o) = default; ++ JsonFactory(const JsonFactory &o) = delete; ++ JsonFactory &operator=(JsonFactory &&o) = default; ++ JsonFactory &operator=(const JsonFactory &o) = delete; ++ ++ WARN_UNUSED ++ bool allocate(size_t len, size_t max_depth = DEFAULT_MAX_DEPTH); ++ ++ void deallocate(); ++ ++ size_t byte_capacity{0}; ++ size_t depth_capacity{0}; ++ ++ std::unique_ptr structural_indexes; ++ uint32_t n_structural_indexes{0}; ++ ++ std::unique_ptr containing_scope_offset; ++ ++#ifdef SIMDJSON_USE_COMPUTED_GOTO ++ std::unique_ptr ret_address; ++#else ++ std::unique_ptr ret_address; ++#endif ++}; ++ ++template ++int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj, ++ JsonFactory &factory, bool realloc_if_needed = true) { ++ if (pj.byte_capacity < len) { ++ return simdjson::CAPACITY; ++ } ++ bool reallocated = false; ++ if (realloc_if_needed) { ++ const uint8_t *tmp_buf = buf; ++ buf = (uint8_t *)allocate_padded_buffer(len); ++ if (buf == NULL) ++ return simdjson::MEMALLOC; ++ memcpy((void *)buf, tmp_buf, len); ++ reallocated = true; ++ } ++ // Swap factory's temporary buffers into pj for parsing ++ std::swap(pj.structural_indexes, factory.structural_indexes); ++ std::swap(pj.containing_scope_offset, factory.containing_scope_offset); ++ std::swap(pj.ret_address, factory.ret_address); ++ std::swap(pj.n_structural_indexes, factory.n_structural_indexes); ++ std::swap(pj.depth_capacity, factory.depth_capacity); ++ ++ int stage1_is_ok = simdjson::find_structural_bits(buf, len, pj); ++ if (stage1_is_ok != simdjson::SUCCESS) { ++ // Swap back before returning ++ std::swap(pj.structural_indexes, factory.structural_indexes); ++ std::swap(pj.containing_scope_offset, factory.containing_scope_offset); ++ std::swap(pj.ret_address, factory.ret_address); ++ std::swap(pj.n_structural_indexes, factory.n_structural_indexes); ++ std::swap(pj.depth_capacity, factory.depth_capacity); ++ if (reallocated) { ++ aligned_free((void *)buf); ++ } ++ return pj.error_code; ++ } ++ int res = unified_machine(buf, len, pj); ++ ++ // Swap temporary buffers back to factory ++ std::swap(pj.structural_indexes, factory.structural_indexes); ++ std::swap(pj.containing_scope_offset, factory.containing_scope_offset); ++ std::swap(pj.ret_address, factory.ret_address); ++ std::swap(pj.n_structural_indexes, factory.n_structural_indexes); ++ std::swap(pj.depth_capacity, factory.depth_capacity); ++ ++ if (reallocated) { ++ aligned_free((void *)buf); ++ } ++ return res; ++} ++ + template + int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj, + bool realloc_if_needed = true) { +@@ -29,10 +106,10 @@ int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj, + return simdjson::MEMALLOC; + memcpy((void *)buf, tmp_buf, len); + reallocated = true; +- } // if(realloc_if_needed) { ++ } + int stage1_is_ok = simdjson::find_structural_bits(buf, len, pj); + if (stage1_is_ok != simdjson::SUCCESS) { +- if (reallocated) { // must free before we exit ++ if (reallocated) { + aligned_free((void *)buf); + } + return pj.error_code; +@@ -44,178 +121,79 @@ int json_parse_implementation(const uint8_t *buf, size_t len, ParsedJson &pj, + return res; + } + +-// Parse a document found in buf. +-// +-// The content should be a valid JSON document encoded as UTF-8. If there is a +-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are +-// discouraged. +-// +-// You need to preallocate ParsedJson with a capacity of len (e.g., +-// pj.allocate_capacity(len)). +-// +-// The function returns simdjson::SUCCESS (an integer = 0) in case of a success +-// or an error code from simdjson/simdjson.h in case of failure such as +-// simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth; +-// the simdjson::error_message function converts these error codes into a +-// string). +-// +-// You can also check validity by calling pj.is_valid(). The same ParsedJson can +-// be reused for other documents. +-// +-// If realloc_if_needed is true (default) then a temporary buffer is created +-// when needed during processing (a copy of the input string is made). The input +-// buf should be readable up to buf + len + SIMDJSON_PADDING if +-// realloc_if_needed is false, all bytes at and after buf + len are ignored +-// (can be garbage). The ParsedJson object can be reused. ++int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, ++ JsonFactory &factory, bool realloc_if_needed = true); ++ ++int json_parse(const char *buf, size_t len, ParsedJson &pj, ++ JsonFactory &factory, bool realloc_if_needed = true); + + int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, + bool realloc_if_needed = true); + +-// Parse a document found in buf. +-// +-// The content should be a valid JSON document encoded as UTF-8. If there is a +-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are +-// discouraged. +-// +-// You need to preallocate ParsedJson with a capacity of len (e.g., +-// pj.allocate_capacity(len)). +-// +-// The function returns simdjson::SUCCESS (an integer = 0) in case of a success +-// or an error code from simdjson/simdjson.h in case of failure such as +-// simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth; +-// the simdjson::error_message function converts these error codes into a +-// string). +-// +-// You can also check validity +-// by calling pj.is_valid(). The same ParsedJson can be reused for other +-// documents. +-// +-// If realloc_if_needed is true (default) then a temporary buffer is created +-// when needed during processing (a copy of the input string is made). The input +-// buf should be readable up to buf + len + SIMDJSON_PADDING if +-// realloc_if_needed is false, all bytes at and after buf + len are ignored +-// (can be garbage). The ParsedJson object can be reused. + int json_parse(const char *buf, size_t len, ParsedJson &pj, + bool realloc_if_needed = true); + +-// We do not want to allow implicit conversion from C string to std::string. + int json_parse(const char *buf, ParsedJson &pj) = delete; + +-// Parse a document found in in string s. +-// You need to preallocate ParsedJson with a capacity of len (e.g., +-// pj.allocate_capacity(len)). +-// +-// The function returns simdjson::SUCCESS (an integer = 0) in case of a success +-// or an error code from simdjson/simdjson.h in case of failure such as +-// simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth; +-// the simdjson::error_message function converts these error codes into a +-// string). +-// +-// A temporary buffer is created when needed during processing +-// (a copy of the input string is made). ++inline int json_parse(const std::string &s, ParsedJson &pj, JsonFactory &factory) { ++ return json_parse(s.data(), s.length(), pj, factory, true); ++} ++ + inline int json_parse(const std::string &s, ParsedJson &pj) { + return json_parse(s.data(), s.length(), pj, true); + } + +-// Parse a document found in in string s. +-// +-// The content should be a valid JSON document encoded as UTF-8. If there is a +-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are +-// discouraged. +-// +-// You need to preallocate ParsedJson with a capacity of len (e.g., +-// pj.allocate_capacity(len)). +-// +-// The function returns simdjson::SUCCESS (an integer = 0) in case of a success +-// or an error code from simdjson/simdjson.h in case of failure such as +-// simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth; +-// the simdjson::error_message function converts these error codes into a +-// string). +-// +-// You can also check validity +-// by calling pj.is_valid(). The same ParsedJson can be reused for other +-// documents. ++inline int json_parse(const padded_string &s, ParsedJson &pj, JsonFactory &factory) { ++ return json_parse(s.data(), s.length(), pj, factory, false); ++} ++ + inline int json_parse(const padded_string &s, ParsedJson &pj) { + return json_parse(s.data(), s.length(), pj, false); + } + +-// Build a ParsedJson object. You can check validity +-// by calling pj.is_valid(). This does the memory allocation needed for +-// ParsedJson. If realloc_if_needed is true (default) then a temporary buffer is +-// created when needed during processing (a copy of the input string is made). +-// +-// The input buf should be readable up to buf + len + SIMDJSON_PADDING if +-// realloc_if_needed is false, all bytes at and after buf + len are ignored +-// (can be garbage). +-// +-// The content should be a valid JSON document encoded as UTF-8. If there is a +-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are +-// discouraged. +-// +-// This is a convenience function which calls json_parse. + WARN_UNUSED + ParsedJson build_parsed_json(const uint8_t *buf, size_t len, + bool realloc_if_needed = true); + + WARN_UNUSED +-// Build a ParsedJson object. You can check validity +-// by calling pj.is_valid(). This does the memory allocation needed for +-// ParsedJson. If realloc_if_needed is true (default) then a temporary buffer is +-// created when needed during processing (a copy of the input string is made). +-// +-// The input buf should be readable up to buf + len + SIMDJSON_PADDING if +-// realloc_if_needed is false, all bytes at and after buf + len are ignored +-// (can be garbage). +-// +-// +-// The content should be a valid JSON document encoded as UTF-8. If there is a +-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are +-// discouraged. +-// +-// This is a convenience function which calls json_parse. + inline ParsedJson build_parsed_json(const char *buf, size_t len, + bool realloc_if_needed = true) { + return build_parsed_json(reinterpret_cast(buf), len, + realloc_if_needed); + } + +-// We do not want to allow implicit conversion from C string to std::string. + ParsedJson build_parsed_json(const char *buf) = delete; + +-// Parse a document found in in string s. +-// You need to preallocate ParsedJson with a capacity of len (e.g., +-// pj.allocate_capacity(len)). Return SUCCESS (an integer = 0) in case of a +-// success. You can also check validity by calling pj.is_valid(). The same +-// ParsedJson can be reused for other documents. +-// +-// A temporary buffer is created when needed during processing +-// (a copy of the input string is made). +-// +-// The content should be a valid JSON document encoded as UTF-8. If there is a +-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are +-// discouraged. +-// +-// This is a convenience function which calls json_parse. + WARN_UNUSED + inline ParsedJson build_parsed_json(const std::string &s) { + return build_parsed_json(s.data(), s.length(), true); + } + +-// Parse a document found in in string s. +-// You need to preallocate ParsedJson with a capacity of len (e.g., +-// pj.allocate_capacity(len)). Return SUCCESS (an integer = 0) in case of a +-// success. You can also check validity by calling pj.is_valid(). The same +-// ParsedJson can be reused for other documents. +-// +-// The content should be a valid JSON document encoded as UTF-8. If there is a +-// UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are +-// discouraged. +-// +-// This is a convenience function which calls json_parse. + WARN_UNUSED + inline ParsedJson build_parsed_json(const padded_string &s) { + return build_parsed_json(s.data(), s.length(), false); + } + ++WARN_UNUSED ++ParsedJson build_parsed_json(const uint8_t *buf, size_t len, ++ JsonFactory &factory, bool realloc_if_needed = true); ++ ++WARN_UNUSED ++inline ParsedJson build_parsed_json(const char *buf, size_t len, ++ JsonFactory &factory, bool realloc_if_needed = true) { ++ return build_parsed_json(reinterpret_cast(buf), len, ++ factory, realloc_if_needed); ++} ++ ++WARN_UNUSED ++inline ParsedJson build_parsed_json(const std::string &s, JsonFactory &factory) { ++ return build_parsed_json(s.data(), s.length(), factory, true); ++} ++ ++WARN_UNUSED ++inline ParsedJson build_parsed_json(const padded_string &s, JsonFactory &factory) { ++ return build_parsed_json(s.data(), s.length(), factory, false); ++} ++ + } // namespace simdjson + #endif +diff --git a/include/simdjson/parsedjson.h b/include/simdjson/parsedjson.h +index 19e9e555..31362c21 100644 +--- a/include/simdjson/parsedjson.h ++++ b/include/simdjson/parsedjson.h +@@ -13,48 +13,32 @@ + // invalid + + namespace simdjson { +-/************ +- * The JSON is parsed to a tape, see the accompanying tape.md file +- * for documentation. +- ***********/ ++ ++class JsonFactory; ++ + class ParsedJson { + public: +- // create a ParsedJson container with zero capacity, call allocate_capacity to +- // allocate memory + ParsedJson()=default; + ~ParsedJson()=default; + +- // this is a move only class + ParsedJson(ParsedJson &&p) = default; + ParsedJson(const ParsedJson &p) = delete; + ParsedJson &operator=(ParsedJson &&o) = default; + ParsedJson &operator=(const ParsedJson &o) = delete; + +- // if needed, allocate memory so that the object is able to process JSON +- // documents having up to len bytes and max_depth "depth" + WARN_UNUSED + bool allocate_capacity(size_t len, size_t max_depth = DEFAULT_MAX_DEPTH); + +- // returns true if the document parsed was valid + bool is_valid() const; + +- // return an error code corresponding to the last parsing attempt, see +- // simdjson.h will return simdjson::UNITIALIZED if no parsing was attempted + int get_error_code() const; + +- // return the string equivalent of "get_error_code" + std::string get_error_message() const; + +- // deallocate memory and set capacity to zero, called automatically by the +- // destructor + void deallocate(); + +- // this should be called when parsing (right before writing the tapes) + void init(); + +- // print the json to std::ostream (should be valid) +- // return false if the tape is likely wrong (e.g., you did not parse a valid +- // JSON). + WARN_UNUSED + bool print_json(std::ostream &os) const; + WARN_UNUSED +@@ -84,22 +68,17 @@ public: + write_tape(0, '['); + return true; + } +- // TODO we're not checking this bool + really_inline bool on_end_document(uint32_t depth) { +- // write our tape location to the header scope +- // The root scope gets written *at* the previous location. + annotate_previous_loc(containing_scope_offset[depth], get_current_loc()); + write_tape(containing_scope_offset[depth], 'r'); + return true; + } + really_inline bool on_end_object(uint32_t depth) { +- // write our tape location to the header scope + write_tape(containing_scope_offset[depth], '}'); + annotate_previous_loc(containing_scope_offset[depth], get_current_loc()); + return true; + } + really_inline bool on_end_array(uint32_t depth) { +- // write our tape location to the header scope + write_tape(containing_scope_offset[depth], ']'); + annotate_previous_loc(containing_scope_offset[depth], get_current_loc()); + return true; +@@ -119,20 +98,13 @@ public: + } + + really_inline uint8_t *on_start_string() { +- /* we advance the point, accounting for the fact that we have a NULL +- * termination */ + write_tape(current_string_buf_loc - string_buf.get(), '"'); + return current_string_buf_loc + sizeof(uint32_t); + } + + really_inline bool on_end_string(uint8_t *dst) { + uint32_t str_length = dst - (current_string_buf_loc + sizeof(uint32_t)); +- // TODO check for overflow in case someone has a crazy string (>=4GB?) +- // But only add the overflow check when the document itself exceeds 4GB +- // Currently unneeded because we refuse to parse docs larger or equal to 4GB. + memcpy(current_string_buf_loc, &str_length, sizeof(uint32_t)); +- // NULL termination is still handy if you expect all your strings to +- // be NULL terminated? It comes at a small cost + *dst = 0; + current_string_buf_loc = dst + 1; + return true; +@@ -153,7 +125,6 @@ public: + write_tape(0, 'd'); + static_assert(sizeof(value) == sizeof(tape[current_loc]), "mismatch size"); + memcpy(&tape[current_loc++], &value, sizeof(double)); +- // tape[current_loc++] = *((uint64_t *)&d); + return true; + } + +@@ -166,9 +137,9 @@ public: + template class BasicIterator; + using Iterator = BasicIterator; + +- size_t byte_capacity{0}; // indicates how many bits are meant to be supported ++ size_t byte_capacity{0}; + +- size_t depth_capacity{0}; // how deep we can go ++ size_t depth_capacity{0}; + size_t tape_capacity{0}; + size_t string_capacity{0}; + uint32_t current_loc{0}; +@@ -185,27 +156,12 @@ public: + std::unique_ptr ret_address; + #endif + +- std::unique_ptr string_buf;// should be at least byte_capacity ++ std::unique_ptr string_buf; + uint8_t *current_string_buf_loc; + bool valid{false}; + int error_code{simdjson::UNINITIALIZED}; + + private: +- // all nodes are stored on the tape using a 64-bit word. +- // +- // strings, double and ints are stored as +- // a 64-bit word with a pointer to the actual value +- // +- // +- // +- // for objects or arrays, store [ or { at the beginning and } and ] at the +- // end. For the openings ([ or {), we annotate them with a reference to the +- // location on the tape of the end, and for then closings (} and ]), we +- // annotate them with a reference to the location of the opening +- // +- // +- +- // this should be considered a private function + really_inline void write_tape(uint64_t val, uint8_t c) { + tape[current_loc++] = val | ((static_cast(c)) << 56); + } +diff --git a/src/jsonparser.cpp b/src/jsonparser.cpp +index 9ad398e1..2311fa02 100644 +--- a/src/jsonparser.cpp ++++ b/src/jsonparser.cpp +@@ -6,17 +6,13 @@ + + namespace simdjson { + +-// The function that users are expected to call is json_parse. +-// We have more than one such function because we want to support several +-// instruction sets. +- +-// function pointer type for json_parse + using json_parse_functype = int(const uint8_t *buf, size_t len, ParsedJson &pj, + bool realloc); ++using json_parse_factory_functype = int(const uint8_t *buf, size_t len, ParsedJson &pj, ++ JsonFactory &factory, bool realloc); + +-// Pointer that holds the json_parse implementation corresponding to the +-// available SIMD instruction set + extern std::atomic json_parse_ptr; ++extern std::atomic json_parse_factory_ptr; + + int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, + bool realloc) { +@@ -26,7 +22,18 @@ int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, + int json_parse(const char *buf, size_t len, ParsedJson &pj, + bool realloc) { + return json_parse_ptr.load(std::memory_order_relaxed)(reinterpret_cast(buf), len, pj, +- realloc); ++ realloc); ++} ++ ++int json_parse(const uint8_t *buf, size_t len, ParsedJson &pj, ++ JsonFactory &factory, bool realloc) { ++ return json_parse_factory_ptr.load(std::memory_order_relaxed)(buf, len, pj, factory, realloc); ++} ++ ++int json_parse(const char *buf, size_t len, ParsedJson &pj, ++ JsonFactory &factory, bool realloc) { ++ return json_parse_factory_ptr.load(std::memory_order_relaxed)(reinterpret_cast(buf), len, pj, ++ factory, realloc); + } + + Architecture find_best_supported_architecture() { +@@ -37,7 +44,6 @@ Architecture find_best_supported_architecture() { + instruction_set::SSE42 | instruction_set::PCLMULQDQ; + + uint32_t supports = detect_supported_architectures(); +- // Order from best to worst (within architecture) + if ((haswell_flags & supports) == haswell_flags) + return Architecture::HASWELL; + if ((westmere_flags & supports) == westmere_flags) +@@ -55,11 +61,36 @@ Architecture parse_architecture(char *architecture) { + return Architecture::UNSUPPORTED; + } + +-// Responsible to select the best json_parse implementation ++int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj, ++ bool realloc); ++ ++int json_parse_factory_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj, ++ JsonFactory &factory, bool realloc) { ++ Architecture best_implementation = find_best_supported_architecture(); ++ switch (best_implementation) { ++#ifdef IS_X86_64 ++ case Architecture::HASWELL: ++ json_parse_factory_ptr.store(&json_parse_implementation, std::memory_order_relaxed); ++ break; ++ case Architecture::WESTMERE: ++ json_parse_factory_ptr.store(&json_parse_implementation, std::memory_order_relaxed); ++ break; ++#endif ++#ifdef IS_ARM64 ++ case Architecture::ARM64: ++ json_parse_factory_ptr.store(&json_parse_implementation, std::memory_order_relaxed); ++ break; ++#endif ++ default: ++ return simdjson::UNEXPECTED_ERROR; ++ } ++ ++ return json_parse_factory_ptr.load(std::memory_order_relaxed)(buf, len, pj, factory, realloc); ++} ++ + int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj, + bool realloc) { + Architecture best_implementation = find_best_supported_architecture(); +- // Selecting the best implementation + switch (best_implementation) { + #ifdef IS_X86_64 + case Architecture::HASWELL: +@@ -75,7 +106,6 @@ int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj, + break; + #endif + default: +- // The processor is not supported by simdjson. + return simdjson::UNEXPECTED_ERROR; + } + +@@ -83,6 +113,7 @@ int json_parse_dispatch(const uint8_t *buf, size_t len, ParsedJson &pj, + } + + std::atomic json_parse_ptr{&json_parse_dispatch}; ++std::atomic json_parse_factory_ptr{&json_parse_factory_dispatch}; + + WARN_UNUSED + ParsedJson build_parsed_json(const uint8_t *buf, size_t len, +@@ -91,7 +122,18 @@ ParsedJson build_parsed_json(const uint8_t *buf, size_t len, + bool ok = pj.allocate_capacity(len); + if (ok) { + json_parse(buf, len, pj, realloc); +- } ++ } ++ return pj; ++} ++ ++WARN_UNUSED ++ParsedJson build_parsed_json(const uint8_t *buf, size_t len, ++ JsonFactory &factory, bool realloc) { ++ ParsedJson pj; ++ bool ok = pj.allocate_capacity(len); ++ if (ok && factory.allocate(len)) { ++ json_parse(buf, len, pj, factory, realloc); ++ } + return pj; + } + } // namespace simdjson +diff --git a/src/parsedjson.cpp b/src/parsedjson.cpp +index f1c0fcfa..0d0fac6b 100644 +--- a/src/parsedjson.cpp ++++ b/src/parsedjson.cpp +@@ -1,15 +1,16 @@ + #include "simdjson/parsedjson.h" + #include "simdjson/jsonformatutils.h" ++#include "simdjson/jsonparser.h" + + namespace simdjson { + + WARN_UNUSED + bool ParsedJson::allocate_capacity(size_t len, size_t max_depth) { + if (max_depth <= 0) { +- max_depth = 1; // don't let the user allocate nothing ++ max_depth = 1; + } + if (len <= 0) { +- len = 64; // allocating 0 bytes is wasteful. ++ len = 64; + } + if (len > SIMDJSON_MAXSIZE_BYTES) { + return false; +@@ -19,25 +20,17 @@ bool ParsedJson::allocate_capacity(size_t len, size_t max_depth) { + } + deallocate(); + valid = false; +- byte_capacity = 0; // will only set it to len after allocations are a success ++ byte_capacity = 0; + n_structural_indexes = 0; + uint32_t max_structures = ROUNDUP_N(len, 64) + 2 + 7; + structural_indexes.reset( new (std::nothrow) uint32_t[max_structures]); + +- // a pathological input like "[[[[..." would generate len tape elements, so +- // need a capacity of at least len + 1, but it is also possible to do +- // worse with "[7,7,7,7,6,7,7,7,6,7,7,6,[7,7,7,7,6,7,7,7,6,7,7,6,7,7,7,7,7,7,6" +- //where len + 1 tape elements are +- // generated, see issue https://github.com/lemire/simdjson/issues/345 + size_t local_tape_capacity = ROUNDUP_N(len + 2, 64); +- // a document with only zero-length strings... could have len/3 string +- // and we would need len/3 * 5 bytes on the string buffer + size_t local_string_capacity = ROUNDUP_N(5 * len / 3 + 32, 64); + string_buf.reset( new (std::nothrow) uint8_t[local_string_capacity]); + tape.reset(new (std::nothrow) uint64_t[local_tape_capacity]); + containing_scope_offset.reset(new (std::nothrow) uint32_t[max_depth]); + #ifdef SIMDJSON_USE_COMPUTED_GOTO +- //ret_address = new (std::nothrow) void *[max_depth]; + ret_address.reset(new (std::nothrow) void *[max_depth]); + #else + ret_address.reset(new (std::nothrow) char[max_depth]); +@@ -45,16 +38,8 @@ bool ParsedJson::allocate_capacity(size_t len, size_t max_depth) { + if (!string_buf || !tape || + !containing_scope_offset || !ret_address || + !structural_indexes) { +- // Could not allocate memory + return false; + } +- /* +- // We do not need to initialize this content for parsing, though we could +- // need to initialize it for safety. +- memset(string_buf, 0 , local_string_capacity); +- memset(structural_indexes, 0, max_structures * sizeof(uint32_t)); +- memset(tape, 0, local_tape_capacity * sizeof(uint64_t)); +- */ + byte_capacity = len; + depth_capacity = max_depth; + tape_capacity = local_tape_capacity; +@@ -102,17 +87,15 @@ bool ParsedJson::print_json(std::ostream &os) const { + if (type == 'r') { + how_many = tape_val & JSON_VALUE_MASK; + } else { +- // Error: no starting root node? + return false; + } + if (how_many > tape_capacity) { +- // We may be exceeding the tape capacity. Is this a valid document? + return false; + } + tape_idx++; + std::unique_ptr in_object(new bool[depth_capacity]); + std::unique_ptr in_object_idx(new size_t[depth_capacity]); +- int depth = 1; // only root at level 0 ++ int depth = 1; + in_object_idx[depth] = 0; + in_object[depth] = false; + for (; tape_idx < how_many; tape_idx++) { +@@ -124,7 +107,7 @@ bool ParsedJson::print_json(std::ostream &os) const { + os << ","; + } + in_object_idx[depth]++; +- } else { // if (in_object) { ++ } else { + if ((in_object_idx[depth] > 0) && ((in_object_idx[depth] & 1) == 0) && + (type != '}')) { + os << ","; +@@ -135,7 +118,7 @@ bool ParsedJson::print_json(std::ostream &os) const { + in_object_idx[depth]++; + } + switch (type) { +- case '"': // we have a string ++ case '"': + os << '"'; + memcpy(&string_length, string_buf.get() + payload, sizeof(uint32_t)); + print_with_escapes( +@@ -143,7 +126,7 @@ bool ParsedJson::print_json(std::ostream &os) const { + os, string_length); + os << '"'; + break; +- case 'l': // we have a long int ++ case 'l': + if (tape_idx + 1 >= how_many) { + return false; + } +@@ -155,7 +138,7 @@ bool ParsedJson::print_json(std::ostream &os) const { + } + os << tape[++tape_idx]; + break; +- case 'd': // we have a double ++ case 'd': + if (tape_idx + 1 >= how_many) { + return false; + } +@@ -163,40 +146,38 @@ bool ParsedJson::print_json(std::ostream &os) const { + memcpy(&answer, &tape[++tape_idx], sizeof(answer)); + os << answer; + break; +- case 'n': // we have a null ++ case 'n': + os << "null"; + break; +- case 't': // we have a true ++ case 't': + os << "true"; + break; +- case 'f': // we have a false ++ case 'f': + os << "false"; + break; +- case '{': // we have an object ++ case '{': + os << '{'; + depth++; + in_object[depth] = true; + in_object_idx[depth] = 0; + break; +- case '}': // we end an object ++ case '}': + depth--; + os << '}'; + break; +- case '[': // we start an array ++ case '[': + os << '['; + depth++; + in_object[depth] = false; + in_object_idx[depth] = 0; + break; +- case ']': // we end an array ++ case ']': + depth--; + os << ']'; + break; +- case 'r': // we start and end with the root node +- // should we be hitting the root node? ++ case 'r': + return false; + default: +- // bug? + return false; + } + } +@@ -218,7 +199,6 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const { + if (type == 'r') { + how_many = tape_val & JSON_VALUE_MASK; + } else { +- // Error: no starting root node? + return false; + } + os << "\t// pointing to " << how_many << " (right after last node)\n"; +@@ -229,7 +209,7 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const { + payload = tape_val & JSON_VALUE_MASK; + type = (tape_val >> 56); + switch (type) { +- case '"': // we have a string ++ case '"': + os << "string \""; + memcpy(&string_length, string_buf.get() + payload, sizeof(uint32_t)); + print_with_escapes( +@@ -239,19 +219,19 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const { + os << '"'; + os << '\n'; + break; +- case 'l': // we have a long int ++ case 'l': + if (tape_idx + 1 >= how_many) { + return false; + } + os << "integer " << static_cast(tape[++tape_idx]) << "\n"; + break; +- case 'u': // we have a long uint ++ case 'u': + if (tape_idx + 1 >= how_many) { + return false; + } + os << "unsigned integer " << tape[++tape_idx] << "\n"; + break; +- case 'd': // we have a double ++ case 'd': + os << "float "; + if (tape_idx + 1 >= how_many) { + return false; +@@ -260,33 +240,32 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const { + memcpy(&answer, &tape[++tape_idx], sizeof(answer)); + os << answer << '\n'; + break; +- case 'n': // we have a null ++ case 'n': + os << "null\n"; + break; +- case 't': // we have a true ++ case 't': + os << "true\n"; + break; +- case 'f': // we have a false ++ case 'f': + os << "false\n"; + break; +- case '{': // we have an object ++ case '{': + os << "{\t// pointing to next tape location " << payload + << " (first node after the scope) \n"; + break; +- case '}': // we end an object ++ case '}': + os << "}\t// pointing to previous tape location " << payload + << " (start of the scope) \n"; + break; +- case '[': // we start an array ++ case '[': + os << "[\t// pointing to next tape location " << payload + << " (first node after the scope) \n"; + break; +- case ']': // we end an array ++ case ']': + os << "]\t// pointing to previous tape location " << payload + << " (start of the scope) \n"; + break; +- case 'r': // we start and end with the root node +- // should we be hitting the root node? ++ case 'r': + return false; + default: + return false; +@@ -299,4 +278,46 @@ bool ParsedJson::dump_raw_tape(std::ostream &os) const { + << " (start root)\n"; + return true; + } ++ ++WARN_UNUSED ++bool JsonFactory::allocate(size_t len, size_t max_depth) { ++ if (max_depth <= 0) { ++ max_depth = 1; ++ } ++ if (len <= 0) { ++ len = 64; ++ } ++ if (len > SIMDJSON_MAXSIZE_BYTES) { ++ return false; ++ } ++ if ((len <= byte_capacity) && (max_depth <= depth_capacity)) { ++ return true; ++ } ++ deallocate(); ++ byte_capacity = 0; ++ n_structural_indexes = 0; ++ uint32_t max_structures = ROUNDUP_N(len, 64) + 2 + 7; ++ structural_indexes.reset(new (std::nothrow) uint32_t[max_structures]); ++ containing_scope_offset.reset(new (std::nothrow) uint32_t[max_depth]); ++#ifdef SIMDJSON_USE_COMPUTED_GOTO ++ ret_address.reset(new (std::nothrow) void *[max_depth]); ++#else ++ ret_address.reset(new (std::nothrow) char[max_depth]); ++#endif ++ if (!containing_scope_offset || !ret_address || !structural_indexes) { ++ return false; ++ } ++ byte_capacity = len; ++ depth_capacity = max_depth; ++ return true; ++} ++ ++void JsonFactory::deallocate() { ++ byte_capacity = 0; ++ depth_capacity = 0; ++ ret_address.reset(); ++ containing_scope_offset.reset(); ++ structural_indexes.reset(); ++} ++ + } // namespace simdjson diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/report.json new file mode 100644 index 000000000..9fc4500de --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-485/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 485, "valid": true, "error_msg": "", "fixed_tests": {"jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 5, "failed_count": 0, "skipped_count": 0, "passed_tests": ["integer_tests", "pointercheck", "jsoncheck", "jsonstream_test", "basictests"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 1, "failed_count": 0, "skipped_count": 0, "passed_tests": ["jsoncheck"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/fix-patch-run.log new file mode 100644 index 000000000..e1178478c --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/fix-patch-run.log @@ -0,0 +1,459 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5739 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.7 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (21.1 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (3826 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.D48aeBYP +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.D48aeBYP/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.D48aeBYP/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.D48aeBYP/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.D48aeBYP/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.D48aeBYP/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.D48aeBYP +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=eecbf36490d0 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.c8HwOlnLVT/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/allparserscheckfile.cpp +patching file tests/basictests.cpp +patching file tests/integer_tests.cpp +patching file tests/jsoncheck.cpp +patching file tests/jsonstream_test.cpp +patching file tests/numberparsingcheck.cpp +patching file tests/pointercheck.cpp +patching file tests/readme_examples.cpp +patching file tests/stringparsingcheck.cpp +patching file CMakeLists.txt +patching file Makefile +patching file amalgamation.sh +patching file include/simdjson.cpp +patching file include/simdjson/document.h +patching file include/simdjson/jsonstream.h +patching file include/simdjson/simdjson.h +patching file singleheader/amalgamation_demo.cpp +patching file singleheader/simdjson.cpp +patching file singleheader/simdjson.h +patching file src/arm64/simd.h +patching file src/westmere/simd.h +-- No build type selected, default to Release +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detected x64 processor: x86_64 +-- Assuming Westmere or better +-- Building a dynamic library (default). +-- SIMDJSON_LIB_TYPE: SHARED +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- Looking for C++ include pthread.h +-- Looking for C++ include pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 2%] Building CXX object src/CMakeFiles/simdjson.dir/jsonioutil.cpp.o +[ 4%] Building CXX object src/CMakeFiles/simdjson.dir/jsonminifier.cpp.o +[ 6%] Building CXX object src/CMakeFiles/simdjson.dir/stage1_find_marks.cpp.o +In file included from /home/simdjson/src/haswell/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:2: +/home/simdjson/src/haswell/bitmanipulation.h:18:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/westmere/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:3: +/home/simdjson/src/westmere/bitmanipulation.h:19:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +[ 8%] Building CXX object src/CMakeFiles/simdjson.dir/stage2_build_tape.cpp.o +In file included from /home/simdjson/src/haswell/stringparsing.h:13:0, + from /home/simdjson/src/haswell/stage2_build_tape.h:9, + from /home/simdjson/src/stage2_build_tape.cpp:63: +/home/simdjson/src/haswell/bitmanipulation.h:18:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/westmere/stringparsing.h:13:0, + from /home/simdjson/src/westmere/stage2_build_tape.h:9, + from /home/simdjson/src/stage2_build_tape.cpp:64: +/home/simdjson/src/westmere/bitmanipulation.h:19:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +[ 10%] Building CXX object src/CMakeFiles/simdjson.dir/document.cpp.o +[ 13%] Building CXX object src/CMakeFiles/simdjson.dir/implementation.cpp.o +[ 15%] Building CXX object src/CMakeFiles/simdjson.dir/error.cpp.o +[ 17%] Linking CXX shared library ../libsimdjson.so +[ 17%] Built target simdjson +Scanning dependencies of target jsonstats +[ 19%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 21%] Linking CXX executable jsonstats +[ 21%] Built target jsonstats +Scanning dependencies of target json2json +[ 23%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 26%] Linking CXX executable json2json +[ 26%] Built target json2json +Scanning dependencies of target minify +[ 28%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 30%] Linking CXX executable minify +[ 30%] Built target minify +Scanning dependencies of target jsoncheck +[ 32%] Building CXX object tests/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +/home/simdjson/tests/jsoncheck.cpp:15:10: fatal error: simdjson.h: No such file or directory + #include "simdjson.h" + ^~~~~~~~~~~~ +compilation terminated. +make[2]: *** [tests/CMakeFiles/jsoncheck.dir/build.make:63: tests/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:287: tests/CMakeFiles/jsoncheck.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/simdjson/build + Start 1: basictests +Could not find executable basictests +Unable to find executable: basictests +Looked in the following places: +basictests +basictests +Release/basictests +Release/basictests +Debug/basictests +Debug/basictests +MinSizeRel/basictests +MinSizeRel/basictests +RelWithDebInfo/basictests +RelWithDebInfo/basictests +Deployment/basictests +Deployment/basictests +Development/basictests +Development/basictests +1/5 Test #1: basictests .......................***Not Run 0.00 sec + Start 2: jsoncheck +Could not find executable jsoncheck +Looked in the following places: +jsoncheck +jsoncheck +Release/jsoncheck +Release/jsoncheck +Debug/jsoncheck +Debug/jsoncheck +Unable to find executable: jsoncheck +MinSizeRel/jsoncheck +MinSizeRel/jsoncheck +RelWithDebInfo/jsoncheck +RelWithDebInfo/jsoncheck +Deployment/jsoncheck +Deployment/jsoncheck +Development/jsoncheck +Development/jsoncheck +2/5 Test #2: jsoncheck ........................***Not Run 0.00 sec + Start 3: jsonstream_test +Could not find executable jsonstream_test +Looked in the following places: +jsonstream_test +jsonstream_test +Release/jsonstream_test +Release/jsonstream_test +Debug/jsonstream_test +Debug/jsonstream_test +MinSizeRel/jsonstream_test +MinSizeRel/jsonstream_test +RelWithDebInfo/jsonstream_test +RelWithDebInfo/jsonstream_test +Deployment/jsonstream_test +Deployment/jsonstream_test +Development/jsonstream_test +Development/jsonstream_test +3/5 Test #3: jsonstream_test ..................***Not Run 0.00 sec +Unable to find executable: jsonstream_test + Start 4: pointercheck +Could not find executable pointercheck +Looked in the following places: +pointercheck +pointercheck +Release/pointercheck +Release/pointercheck +Debug/pointercheck +Debug/pointercheck +MinSizeRel/pointercheck +MinSizeRel/pointercheck +RelWithDebInfo/pointercheck +RelWithDebInfo/pointercheck +Deployment/pointercheck +Deployment/pointercheck +Development/pointercheck +Development/pointercheck +Unable to find executable: pointercheck +4/5 Test #4: pointercheck .....................***Not Run 0.00 sec + Start 5: integer_tests +Could not find executable integer_tests +Looked in the following places: +integer_tests +integer_tests +Release/integer_tests +Release/integer_tests +Debug/integer_tests +Debug/integer_tests +MinSizeRel/integer_tests +MinSizeRel/integer_tests +RelWithDebInfo/integer_tests +Unable to find executable: integer_tests +RelWithDebInfo/integer_tests +Deployment/integer_tests +Deployment/integer_tests +Development/integer_tests +Development/integer_tests +5/5 Test #5: integer_tests ....................***Not Run 0.00 sec + +0% tests passed, 5 tests failed out of 5 + +Total Test time (real) = 0.00 sec + +The following tests FAILED: + 1 - basictests (Not Run) + 2 - jsoncheck (Not Run) + 3 - jsonstream_test (Not Run) + 4 - pointercheck (Not Run) + 5 - integer_tests (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/fix.patch new file mode 100644 index 000000000..c8e566571 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/fix.patch @@ -0,0 +1,2629 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5eefe0a7..567be756 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -50,6 +50,7 @@ find_package(Options) + + option(SIMDJSON_ENABLE_THREADS "enable threaded operation" ON) + install(DIRECTORY include/${SIMDJSON_LIB_NAME} DESTINATION include) ++install(FILES include/simdjson.cpp DESTINATION include) + set (TEST_DATA_DIR "${CMAKE_CURRENT_SOURCE_DIR}/jsonchecker/") + set (BENCHMARK_DATA_DIR "${CMAKE_CURRENT_SOURCE_DIR}/jsonexamples/") + add_definitions(-DSIMDJSON_TEST_DATA_DIR="${TEST_DATA_DIR}") +diff --git a/Makefile b/Makefile +index 69bc6334..d7ce762a 100644 +--- a/Makefile ++++ b/Makefile +@@ -70,7 +70,7 @@ LIBHEADERS_HASWELL= src/haswell/bitmanipulation.h src/haswell/bitmask.h src/h + LIBHEADERS_WESTMERE=src/westmere/bitmanipulation.h src/westmere/bitmask.h src/westmere/intrinsics.h src/westmere/numberparsing.h src/westmere/simd.h src/westmere/stage1_find_marks.h src/westmere/stage2_build_tape.h src/westmere/stringparsing.h + LIBHEADERS=src/jsoncharutils.h src/simdprune_tables.h $(LIBHEADERS_GENERIC) $(LIBHEADERS_ARM64) $(LIBHEADERS_HASWELL) $(LIBHEADERS_WESTMERE) + +-PUBHEADERS=include/simdjson/common_defs.h include/simdjson/isadetection.h include/simdjson/jsonformatutils.h include/simdjson/jsonioutil.h include/simdjson/jsonminifier.h include/simdjson/jsonparser.h include/simdjson/padded_string.h include/simdjson/document.h include/simdjson/inline/document.h include/simdjson/document_iterator.h include/simdjson/inline/document_iterator.h include/simdjson/implementation.h include/simdjson/parsedjson.h include/simdjson/jsonstream.h include/simdjson/portability.h include/simdjson/error.h include/simdjson/simdjson.h include/simdjson/simdjson_version.h ++PUBHEADERS=include/simdjson/common_defs.h include/simdjson/isadetection.h include/simdjson/jsonformatutils.h include/simdjson/jsonioutil.h include/simdjson/jsonminifier.h include/simdjson/jsonparser.h include/simdjson/padded_string.h include/simdjson/document.h include/simdjson/inline/document.h include/simdjson/document_iterator.h include/simdjson/inline/document_iterator.h include/simdjson/implementation.h include/simdjson/parsedjson.h include/simdjson/jsonstream.h include/simdjson/portability.h include/simdjson/error.h include/simdjson/simdjson.h include/simdjson/simdjson_version.h include/simdjson.cpp + HEADERS=$(PUBHEADERS) $(LIBHEADERS) + + LIBFILES=src/document.cpp src/error.cpp src/jsonioutil.cpp src/implementation.cpp src/stage1_find_marks.cpp src/stage2_build_tape.cpp +diff --git a/amalgamation.sh b/amalgamation.sh +index bb8afb6a..a59fd538 100755 +--- a/amalgamation.sh ++++ b/amalgamation.sh +@@ -30,16 +30,19 @@ ALLCHEADERS=" + simdjson/simdjson_version.h + simdjson/portability.h + simdjson/isadetection.h +-simdjson/jsonformatutils.h +-simdjson/simdjson.h + simdjson/common_defs.h ++simdjson/error.h ++simdjson/jsonformatutils.h + simdjson/padded_string.h + simdjson/jsonioutil.h + simdjson/jsonminifier.h + simdjson/document.h ++simdjson/document_iterator.h + simdjson/parsedjson.h + simdjson/jsonparser.h + simdjson/jsonstream.h ++simdjson/implementation.h ++simdjson/simdjson.h + " + + found_includes=() +diff --git a/include/simdjson.cpp b/include/simdjson.cpp +new file mode 100644 +index 00000000..bf1d4550 +--- /dev/null ++++ b/include/simdjson.cpp +@@ -0,0 +1,13 @@ ++#include "simdjson/simdjson.h" ++ ++#ifdef DMALLOC ++#include "dmalloc.h" ++#endif ++ ++#include "document.cpp" ++#include "error.cpp" ++#include "implementation.cpp" ++#include "jsonioutil.cpp" ++#include "jsonminifier.cpp" ++#include "stage1_find_marks.cpp" ++#include "stage2_build_tape.cpp" +diff --git a/include/simdjson/document.h b/include/simdjson/document.h +index 82eb19f4..71775b8a 100644 +--- a/include/simdjson/document.h ++++ b/include/simdjson/document.h +@@ -6,7 +6,7 @@ + #include + #include + #include "simdjson/common_defs.h" +-#include "simdjson/simdjson.h" ++#include "simdjson/error.h" + #include "simdjson/padded_string.h" + + #define JSON_VALUE_MASK 0x00FFFFFFFFFFFFFF +diff --git a/include/simdjson/jsonstream.h b/include/simdjson/jsonstream.h +index a8824cbd..26f324ef 100644 +--- a/include/simdjson/jsonstream.h ++++ b/include/simdjson/jsonstream.h +@@ -7,7 +7,7 @@ + #include + #include "simdjson/isadetection.h" + #include "simdjson/padded_string.h" +-#include "simdjson/simdjson.h" ++#include "simdjson/error.h" + #include "jsoncharutils.h" + + +diff --git a/include/simdjson/simdjson.h b/include/simdjson/simdjson.h +index 1d736771..096c3b94 100644 +--- a/include/simdjson/simdjson.h ++++ b/include/simdjson/simdjson.h +@@ -17,6 +17,19 @@ + #error simdjson requires a compiler compliant with the C++17 standard + #endif + ++#include "simdjson/simdjson_version.h" ++#include "simdjson/portability.h" ++#include "simdjson/isadetection.h" ++#include "simdjson/common_defs.h" + #include "simdjson/error.h" ++#include "simdjson/padded_string.h" ++#include "simdjson/jsonioutil.h" ++#include "simdjson/jsonminifier.h" ++#include "simdjson/document.h" ++#include "simdjson/parsedjson.h" ++#include "simdjson/jsonparser.h" ++#include "simdjson/jsonstream.h" ++#include "simdjson/document_iterator.h" ++#include "simdjson/implementation.h" + +-#endif // SIMDJSON_H ++#endif // SIMDJSON_SIMDJSON_H +diff --git a/singleheader/amalgamation_demo.cpp b/singleheader/amalgamation_demo.cpp +index d3f18938..361e7894 100755 +--- a/singleheader/amalgamation_demo.cpp ++++ b/singleheader/amalgamation_demo.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on Sat Feb 22 10:41:58 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 19:27:13 UTC 2026. Do not edit! */ + + #include + #include "simdjson.h" +@@ -11,7 +11,9 @@ int main(int argc, char *argv[]) { + simdjson::padded_string p = simdjson::get_corpus(filename); + auto [doc, error] = simdjson::document::parse(p); // do the parsing + if (error) { +- std::cout << "document::parse not valid" << std::endl; ++ std::cout << "document::parse failed" << std::endl; ++ std::cout << "error code: " << error << std::endl; ++ std::cout << error_message(error) << std::endl; + } else { + std::cout << "document::parse valid" << std::endl; + } +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index faa55d97..8b042d66 100755 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on Sat Feb 22 10:41:58 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 19:27:13 UTC 2026. Do not edit! */ + #include "simdjson.h" + + /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */ +@@ -31,8 +31,7 @@ bool document::set_capacity(size_t capacity) { + return string_buf && tape; + } + +-WARN_UNUSED +-bool document::print_json(std::ostream &os, size_t max_depth) const { ++bool document::print_json(std::ostream &os, size_t max_depth) const noexcept { + uint32_t string_length; + size_t tape_idx = 0; + uint64_t tape_val = tape[tape_idx]; +@@ -138,8 +137,7 @@ bool document::print_json(std::ostream &os, size_t max_depth) const { + return true; + } + +-WARN_UNUSED +-bool document::dump_raw_tape(std::ostream &os) const { ++bool document::dump_raw_tape(std::ostream &os) const noexcept { + uint32_t string_length; + size_t tape_idx = 0; + uint64_t tape_val = tape[tape_idx]; +@@ -325,6 +323,9 @@ const std::map error_strings = { + {UNSUPPORTED_ARCHITECTURE, "simdjson does not have an implementation" + " supported by this CPU architecture (perhaps" + " it's a non-SIMD CPU?)."}, ++ {INCORRECT_TYPE, "The JSON element does not have the requested type."}, ++ {NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type."}, ++ {NO_SUCH_FIELD, "The JSON field referenced does not exist in this object."}, + {UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as" + " you may have found a bug in simdjson"}, + }; +@@ -2330,7 +2331,7 @@ really_inline uint64_t follows(const uint64_t match, uint64_t &overflow) { + really_inline uint64_t follows(const uint64_t match, const uint64_t filler, uint64_t &overflow) { + uint64_t follows_match = follows(match, overflow); + uint64_t result; +- overflow |= add_overflow(follows_match, filler, &result); ++ overflow |= uint64_t(add_overflow(follows_match, filler, &result)); + return result; + } + +@@ -2639,7 +2640,6 @@ namespace simdjson::haswell::simd { + really_inline Child operator&(const Child other) const { return _mm256_and_si256(*this, other); } + really_inline Child operator^(const Child other) const { return _mm256_xor_si256(*this, other); } + really_inline Child bit_andnot(const Child other) const { return _mm256_andnot_si256(other, *this); } +- really_inline Child operator~() const { return *this ^ 0xFFu; } + really_inline Child& operator|=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast | other; return *this_cast; } + really_inline Child& operator&=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast & other; return *this_cast; } + really_inline Child& operator^=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast ^ other; return *this_cast; } +@@ -2679,6 +2679,7 @@ namespace simdjson::haswell::simd { + + really_inline int to_bitmask() const { return _mm256_movemask_epi8(*this); } + really_inline bool any() const { return !_mm256_testz_si256(*this, *this); } ++ really_inline simd8 operator~() const { return *this ^ true; } + }; + + template +@@ -2713,6 +2714,9 @@ namespace simdjson::haswell::simd { + really_inline simd8& operator+=(const simd8 other) { *this = *this + other; return *(simd8*)this; } + really_inline simd8& operator-=(const simd8 other) { *this = *this - other; return *(simd8*)this; } + ++ // Override to distinguish from bool version ++ really_inline simd8 operator~() const { return *this ^ 0xFFu; } ++ + // Perform a lookup assuming the value is between 0 and 16 (undefined behavior for out of range values) + template + really_inline simd8 lookup_16(simd8 lookup_table) const { +@@ -3675,7 +3679,7 @@ really_inline uint64_t follows(const uint64_t match, uint64_t &overflow) { + really_inline uint64_t follows(const uint64_t match, const uint64_t filler, uint64_t &overflow) { + uint64_t follows_match = follows(match, overflow); + uint64_t result; +- overflow |= add_overflow(follows_match, filler, &result); ++ overflow |= uint64_t(add_overflow(follows_match, filler, &result)); + return result; + } + +@@ -3982,7 +3986,6 @@ namespace simdjson::westmere::simd { + really_inline Child operator&(const Child other) const { return _mm_and_si128(*this, other); } + really_inline Child operator^(const Child other) const { return _mm_xor_si128(*this, other); } + really_inline Child bit_andnot(const Child other) const { return _mm_andnot_si128(other, *this); } +- really_inline Child operator~() const { return *this ^ 0xFFu; } + really_inline Child& operator|=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast | other; return *this_cast; } + really_inline Child& operator&=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast & other; return *this_cast; } + really_inline Child& operator^=(const Child other) { auto this_cast = (Child*)this; *this_cast = *this_cast ^ other; return *this_cast; } +@@ -4022,6 +4025,7 @@ namespace simdjson::westmere::simd { + + really_inline int to_bitmask() const { return _mm_movemask_epi8(*this); } + really_inline bool any() const { return !_mm_testz_si128(*this, *this); } ++ really_inline simd8 operator~() const { return *this ^ true; } + }; + + template +@@ -4048,6 +4052,9 @@ namespace simdjson::westmere::simd { + // Store to array + really_inline void store(T dst[16]) const { return _mm_storeu_si128(reinterpret_cast<__m128i *>(dst), *this); } + ++ // Override to distinguish from bool version ++ really_inline simd8 operator~() const { return *this ^ 0xFFu; } ++ + // Addition/subtraction are the same for signed and unsigned + really_inline simd8 operator+(const simd8 other) const { return _mm_add_epi8(*this, other); } + really_inline simd8 operator-(const simd8 other) const { return _mm_sub_epi8(*this, other); } +@@ -5032,7 +5039,7 @@ really_inline uint64_t follows(const uint64_t match, uint64_t &overflow) { + really_inline uint64_t follows(const uint64_t match, const uint64_t filler, uint64_t &overflow) { + uint64_t follows_match = follows(match, overflow); + uint64_t result; +- overflow |= add_overflow(follows_match, filler, &result); ++ overflow |= uint64_t(add_overflow(follows_match, filler, &result)); + return result; + } + +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index 54b9cf7f..dcc1642b 100755 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -1,4 +1,4 @@ +-/* auto-generated on Sat Feb 22 10:41:58 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 19:27:13 UTC 2026. Do not edit! */ + /* begin file include/simdjson/simdjson_version.h */ + // /include/simdjson/simdjson_version.h automatically generated by release.py, + // do not change by hand +@@ -289,6 +289,128 @@ static inline uint32_t detect_supported_architectures() { + } // namespace simdjson + #endif + /* end file include/simdjson/isadetection.h */ ++/* begin file include/simdjson/common_defs.h */ ++#ifndef SIMDJSON_COMMON_DEFS_H ++#define SIMDJSON_COMMON_DEFS_H ++ ++#include ++ ++// we support documents up to 4GB ++#define SIMDJSON_MAXSIZE_BYTES 0xFFFFFFFF ++ ++// the input buf should be readable up to buf + SIMDJSON_PADDING ++// this is a stopgap; there should be a better description of the ++// main loop and its behavior that abstracts over this ++// See https://github.com/lemire/simdjson/issues/174 ++#define SIMDJSON_PADDING 32 ++ ++#if defined(__GNUC__) ++// Marks a block with a name so that MCA analysis can see it. ++#define BEGIN_DEBUG_BLOCK(name) __asm volatile("# LLVM-MCA-BEGIN " #name); ++#define END_DEBUG_BLOCK(name) __asm volatile("# LLVM-MCA-END " #name); ++#define DEBUG_BLOCK(name, block) BEGIN_DEBUG_BLOCK(name); block; END_DEBUG_BLOCK(name); ++#else ++#define BEGIN_DEBUG_BLOCK(name) ++#define END_DEBUG_BLOCK(name) ++#define DEBUG_BLOCK(name, block) ++#endif ++ ++#if !defined(_MSC_VER) && !defined(SIMDJSON_NO_COMPUTED_GOTO) ++// Implemented using Labels as Values which works in GCC and CLANG (and maybe ++// also in Intel's compiler), but won't work in MSVC. ++#define SIMDJSON_USE_COMPUTED_GOTO ++#endif ++ ++// Align to N-byte boundary ++#define ROUNDUP_N(a, n) (((a) + ((n)-1)) & ~((n)-1)) ++#define ROUNDDOWN_N(a, n) ((a) & ~((n)-1)) ++ ++#define ISALIGNED_N(ptr, n) (((uintptr_t)(ptr) & ((n)-1)) == 0) ++ ++#ifdef _MSC_VER ++#define really_inline __forceinline ++#define never_inline __declspec(noinline) ++ ++#define UNUSED ++#define WARN_UNUSED ++ ++#ifndef likely ++#define likely(x) x ++#endif ++#ifndef unlikely ++#define unlikely(x) x ++#endif ++ ++ ++#else ++ ++ ++#define really_inline inline __attribute__((always_inline, unused)) ++#define never_inline inline __attribute__((noinline, unused)) ++ ++#define UNUSED __attribute__((unused)) ++#define WARN_UNUSED __attribute__((warn_unused_result)) ++ ++#ifndef likely ++#define likely(x) __builtin_expect(!!(x), 1) ++#endif ++#ifndef unlikely ++#define unlikely(x) __builtin_expect(!!(x), 0) ++#endif ++ ++#endif // MSC_VER ++ ++#endif // SIMDJSON_COMMON_DEFS_H ++/* end file include/simdjson/common_defs.h */ ++/* begin file include/simdjson/error.h */ ++#ifndef SIMDJSON_ERROR_H ++#define SIMDJSON_ERROR_H ++ ++#include ++ ++namespace simdjson { ++ ++enum error_code { ++ SUCCESS = 0, ++ SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data ++ CAPACITY, // This parser can't support a document that big ++ MEMALLOC, // Error allocating memory, most likely out of memory ++ TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this ++ // is a generic error ++ DEPTH_ERROR, // Your document exceeds the user-specified depth limitation ++ STRING_ERROR, // Problem while parsing a string ++ T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't' ++ F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f' ++ N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n' ++ NUMBER_ERROR, // Problem while parsing a number ++ UTF8_ERROR, // the input is not valid UTF-8 ++ UNINITIALIZED, // unknown error, or uninitialized document ++ EMPTY, // no structural element found ++ UNESCAPED_CHARS, // found unescaped characters in a string. ++ UNCLOSED_STRING, // missing quote at the end ++ UNSUPPORTED_ARCHITECTURE, // unsupported architecture ++ INCORRECT_TYPE, // JSON element has a different type than user expected ++ NUMBER_OUT_OF_RANGE, // JSON number does not fit in 64 bits ++ NO_SUCH_FIELD, // JSON field not found in object ++ UNEXPECTED_ERROR // indicative of a bug in simdjson ++}; ++ ++const std::string &error_message(error_code error) noexcept; ++ ++struct invalid_json : public std::exception { ++ invalid_json(error_code _error) : error{_error} { } ++ const char *what() const noexcept { return error_message(error).c_str(); } ++ error_code error; ++}; ++ ++// TODO these are deprecated, remove ++using ErrorValues = error_code; ++inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); } ++ ++} // namespace simdjson ++ ++#endif // SIMDJSON_ERROR_H ++/* end file include/simdjson/error.h */ + /* begin file include/simdjson/jsonformatutils.h */ + #ifndef SIMDJSON_JSONFORMATUTILS_H + #define SIMDJSON_JSONFORMATUTILS_H +@@ -407,242 +529,100 @@ static inline void print_with_escapes(const char *src, std::ostream &os, + + #endif + /* end file include/simdjson/jsonformatutils.h */ +-/* begin file include/simdjson/simdjson.h */ +-#ifndef SIMDJSON_SIMDJSON_H +-#define SIMDJSON_SIMDJSON_H ++/* begin file include/simdjson/padded_string.h */ ++#ifndef SIMDJSON_PADDING_STRING_H ++#define SIMDJSON_PADDING_STRING_H + +-#ifndef __cplusplus +-#error simdjson requires a C++ compiler +-#endif ++#include ++#include ++#include + +-#ifndef SIMDJSON_CPLUSPLUS +-#if defined(_MSVC_LANG) && !defined(__clang__) +-#define SIMDJSON_CPLUSPLUS (_MSC_VER == 1900 ? 201103L : _MSVC_LANG) +-#else +-#define SIMDJSON_CPLUSPLUS __cplusplus +-#endif +-#endif + +-#if (SIMDJSON_CPLUSPLUS < 201703L) +-#error simdjson requires a compiler compliant with the C++17 standard +-#endif ++namespace simdjson { ++// low-level function to allocate memory with padding so we can read past the ++// "length" bytes safely. if you must provide a pointer to some data, create it ++// with this function: length is the max. size in bytes of the string caller is ++// responsible to free the memory (free(...)) ++inline char *allocate_padded_buffer(size_t length) noexcept { ++ // we could do a simple malloc ++ // return (char *) malloc(length + SIMDJSON_PADDING); ++ // However, we might as well align to cache lines... ++ size_t totalpaddedlength = length + SIMDJSON_PADDING; ++ char *padded_buffer = aligned_malloc_char(64, totalpaddedlength); ++#ifndef NDEBUG ++ if (padded_buffer == nullptr) { ++ return nullptr; ++ } ++#endif // NDEBUG ++ memset(padded_buffer + length, 0, totalpaddedlength - length); ++ return padded_buffer; ++} // allocate_padded_buffer + +-/* begin file include/simdjson/error.h */ +-#ifndef SIMDJSON_ERROR_H +-#define SIMDJSON_ERROR_H ++// Simple string with padded allocation. ++// We deliberately forbid copies, users should rely on swap or move ++// constructors. ++struct padded_string final { + +-#include ++ explicit padded_string() noexcept : viable_size(0), data_ptr(nullptr) {} + +-namespace simdjson { ++ explicit padded_string(size_t length) noexcept ++ : viable_size(length), data_ptr(allocate_padded_buffer(length)) { ++ if (data_ptr != nullptr) ++ data_ptr[length] = '\0'; // easier when you need a c_str ++ } + +-enum error_code { +- SUCCESS = 0, +- SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data +- CAPACITY, // This parser can't support a document that big +- MEMALLOC, // Error allocating memory, most likely out of memory +- TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this +- // is a generic error +- DEPTH_ERROR, // Your document exceeds the user-specified depth limitation +- STRING_ERROR, // Problem while parsing a string +- T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't' +- F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f' +- N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n' +- NUMBER_ERROR, // Problem while parsing a number +- UTF8_ERROR, // the input is not valid UTF-8 +- UNINITIALIZED, // unknown error, or uninitialized document +- EMPTY, // no structural element found +- UNESCAPED_CHARS, // found unescaped characters in a string. +- UNCLOSED_STRING, // missing quote at the end +- UNSUPPORTED_ARCHITECTURE, // unsupported architecture +- UNEXPECTED_ERROR // indicative of a bug in simdjson +-}; ++ explicit padded_string(const char *data, size_t length) noexcept ++ : viable_size(length), data_ptr(allocate_padded_buffer(length)) { ++ if ((data != nullptr) and (data_ptr != nullptr)) { ++ memcpy(data_ptr, data, length); ++ data_ptr[length] = '\0'; // easier when you need a c_str ++ } ++ } + +-const std::string &error_message(error_code error) noexcept; ++ // note: do not pass std::string arguments by value ++ padded_string(const std::string & str_ ) noexcept ++ : viable_size(str_.size()), data_ptr(allocate_padded_buffer(str_.size())) { ++ if (data_ptr != nullptr) { ++ memcpy(data_ptr, str_.data(), str_.size()); ++ data_ptr[str_.size()] = '\0'; // easier when you need a c_str ++ } ++ } + +-struct invalid_json : public std::exception { +- invalid_json(error_code _error) : error{_error} {} +- const char *what() const noexcept { return error_message(error).c_str(); } +- error_code error; +-}; ++ // note: do pass std::string_view arguments by value ++ padded_string(std::string_view sv_) noexcept ++ : viable_size(sv_.size()), data_ptr(allocate_padded_buffer(sv_.size())) { ++ if (data_ptr != nullptr) { ++ memcpy(data_ptr, sv_.data(), sv_.size()); ++ data_ptr[sv_.size()] = '\0'; // easier when you need a c_str ++ } ++ } + +-// TODO these are deprecated, remove +-using ErrorValues = error_code; +-inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); } ++ padded_string(padded_string &&o) noexcept ++ : viable_size(o.viable_size), data_ptr(o.data_ptr) { ++ o.data_ptr = nullptr; // we take ownership ++ } + +-} // namespace simdjson ++ padded_string &operator=(padded_string &&o) { ++ aligned_free_char(data_ptr); ++ data_ptr = o.data_ptr; ++ viable_size = o.viable_size; ++ o.data_ptr = nullptr; // we take ownership ++ o.viable_size = 0; ++ return *this; ++ } + +-#endif // SIMDJSON_ERROR_H +-/* end file include/simdjson/error.h */ ++ void swap(padded_string &o) { ++ size_t tmp_viable_size = viable_size; ++ char *tmp_data_ptr = data_ptr; ++ viable_size = o.viable_size; ++ data_ptr = o.data_ptr; ++ o.data_ptr = tmp_data_ptr; ++ o.viable_size = tmp_viable_size; ++ } + +-#endif // SIMDJSON_H +-/* end file include/simdjson/error.h */ +-/* begin file include/simdjson/common_defs.h */ +-#ifndef SIMDJSON_COMMON_DEFS_H +-#define SIMDJSON_COMMON_DEFS_H +- +-#include +- +-// we support documents up to 4GB +-#define SIMDJSON_MAXSIZE_BYTES 0xFFFFFFFF +- +-// the input buf should be readable up to buf + SIMDJSON_PADDING +-// this is a stopgap; there should be a better description of the +-// main loop and its behavior that abstracts over this +-// See https://github.com/lemire/simdjson/issues/174 +-#define SIMDJSON_PADDING 32 +- +-#if defined(__GNUC__) +-// Marks a block with a name so that MCA analysis can see it. +-#define BEGIN_DEBUG_BLOCK(name) __asm volatile("# LLVM-MCA-BEGIN " #name); +-#define END_DEBUG_BLOCK(name) __asm volatile("# LLVM-MCA-END " #name); +-#define DEBUG_BLOCK(name, block) BEGIN_DEBUG_BLOCK(name); block; END_DEBUG_BLOCK(name); +-#else +-#define BEGIN_DEBUG_BLOCK(name) +-#define END_DEBUG_BLOCK(name) +-#define DEBUG_BLOCK(name, block) +-#endif +- +-#if !defined(_MSC_VER) && !defined(SIMDJSON_NO_COMPUTED_GOTO) +-// Implemented using Labels as Values which works in GCC and CLANG (and maybe +-// also in Intel's compiler), but won't work in MSVC. +-#define SIMDJSON_USE_COMPUTED_GOTO +-#endif +- +-// Align to N-byte boundary +-#define ROUNDUP_N(a, n) (((a) + ((n)-1)) & ~((n)-1)) +-#define ROUNDDOWN_N(a, n) ((a) & ~((n)-1)) +- +-#define ISALIGNED_N(ptr, n) (((uintptr_t)(ptr) & ((n)-1)) == 0) +- +-#ifdef _MSC_VER +-#define really_inline __forceinline +-#define never_inline __declspec(noinline) +- +-#define UNUSED +-#define WARN_UNUSED +- +-#ifndef likely +-#define likely(x) x +-#endif +-#ifndef unlikely +-#define unlikely(x) x +-#endif +- +- +-#else +- +- +-#define really_inline inline __attribute__((always_inline, unused)) +-#define never_inline inline __attribute__((noinline, unused)) +- +-#define UNUSED __attribute__((unused)) +-#define WARN_UNUSED __attribute__((warn_unused_result)) +- +-#ifndef likely +-#define likely(x) __builtin_expect(!!(x), 1) +-#endif +-#ifndef unlikely +-#define unlikely(x) __builtin_expect(!!(x), 0) +-#endif +- +-#endif // MSC_VER +- +-#endif // SIMDJSON_COMMON_DEFS_H +-/* end file include/simdjson/common_defs.h */ +-/* begin file include/simdjson/padded_string.h */ +-#ifndef SIMDJSON_PADDING_STRING_H +-#define SIMDJSON_PADDING_STRING_H +- +-#include +-#include +-#include +- +- +-namespace simdjson { +-// low-level function to allocate memory with padding so we can read past the +-// "length" bytes safely. if you must provide a pointer to some data, create it +-// with this function: length is the max. size in bytes of the string caller is +-// responsible to free the memory (free(...)) +-inline char *allocate_padded_buffer(size_t length) noexcept { +- // we could do a simple malloc +- // return (char *) malloc(length + SIMDJSON_PADDING); +- // However, we might as well align to cache lines... +- size_t totalpaddedlength = length + SIMDJSON_PADDING; +- char *padded_buffer = aligned_malloc_char(64, totalpaddedlength); +-#ifndef NDEBUG +- if (padded_buffer == nullptr) { +- return nullptr; +- } +-#endif // NDEBUG +- memset(padded_buffer + length, 0, totalpaddedlength - length); +- return padded_buffer; +-} // allocate_padded_buffer +- +-// Simple string with padded allocation. +-// We deliberately forbid copies, users should rely on swap or move +-// constructors. +-struct padded_string final { +- +- explicit padded_string() noexcept : viable_size(0), data_ptr(nullptr) {} +- +- explicit padded_string(size_t length) noexcept +- : viable_size(length), data_ptr(allocate_padded_buffer(length)) { +- if (data_ptr != nullptr) +- data_ptr[length] = '\0'; // easier when you need a c_str +- } +- +- explicit padded_string(const char *data, size_t length) noexcept +- : viable_size(length), data_ptr(allocate_padded_buffer(length)) { +- if ((data != nullptr) and (data_ptr != nullptr)) { +- memcpy(data_ptr, data, length); +- data_ptr[length] = '\0'; // easier when you need a c_str +- } +- } +- +- // note: do not pass std::string arguments by value +- padded_string(const std::string & str_ ) noexcept +- : viable_size(str_.size()), data_ptr(allocate_padded_buffer(str_.size())) { +- if (data_ptr != nullptr) { +- memcpy(data_ptr, str_.data(), str_.size()); +- data_ptr[str_.size()] = '\0'; // easier when you need a c_str +- } +- } +- +- // note: do pass std::string_view arguments by value +- padded_string(std::string_view sv_) noexcept +- : viable_size(sv_.size()), data_ptr(allocate_padded_buffer(sv_.size())) { +- if (data_ptr != nullptr) { +- memcpy(data_ptr, sv_.data(), sv_.size()); +- data_ptr[sv_.size()] = '\0'; // easier when you need a c_str +- } +- } +- +- padded_string(padded_string &&o) noexcept +- : viable_size(o.viable_size), data_ptr(o.data_ptr) { +- o.data_ptr = nullptr; // we take ownership +- } +- +- padded_string &operator=(padded_string &&o) { +- aligned_free_char(data_ptr); +- data_ptr = o.data_ptr; +- viable_size = o.viable_size; +- o.data_ptr = nullptr; // we take ownership +- o.viable_size = 0; +- return *this; +- } +- +- void swap(padded_string &o) { +- size_t tmp_viable_size = viable_size; +- char *tmp_data_ptr = data_ptr; +- viable_size = o.viable_size; +- data_ptr = o.data_ptr; +- o.data_ptr = tmp_data_ptr; +- o.viable_size = tmp_viable_size; +- } +- +- ~padded_string() { +- aligned_free_char(data_ptr); +- } ++ ~padded_string() { ++ aligned_free_char(data_ptr); ++ } + + size_t size() const { return viable_size; } + +@@ -734,118 +714,820 @@ static inline size_t json_minify(const padded_string &p, char *out) { + #include + #include + #include ++#include + +-#define JSON_VALUE_MASK 0xFFFFFFFFFFFFFF ++#define JSON_VALUE_MASK 0x00FFFFFFFFFFFFFF + #define DEFAULT_MAX_DEPTH 1024 // a JSON document with a depth exceeding 1024 is probably de facto invalid + + namespace simdjson { + + template class document_iterator; +-class document_parser; + ++/** ++ * A parsed JSON document. ++ * ++ * This class cannot be copied, only moved, to avoid unintended allocations. ++ */ + class document { + public: +- // create a document container with zero capacity, parser will allocate capacity as needed +- document()=default; +- ~document()=default; +- +- // this is a move only class +- document(document &&p) = default; +- document(const document &p) = delete; +- document &operator=(document &&o) = default; +- document &operator=(const document &o) = delete; ++ /** ++ * Create a document container with zero capacity. ++ * ++ * The parser will allocate capacity as needed. ++ */ ++ document() noexcept=default; ++ ~document() noexcept=default; + +- // Nested classes. See definitions later in file. +- using iterator = document_iterator; ++ /** ++ * Take another document's buffers. ++ * ++ * @param other The document to take. Its capacity is zeroed and it is invalidated. ++ */ ++ document(document &&other) noexcept = default; ++ document(const document &) = delete; // Disallow copying ++ /** ++ * Take another document's buffers. ++ * ++ * @param other The document to take. Its capacity is zeroed. ++ */ ++ document &operator=(document &&other) noexcept = default; ++ document &operator=(const document &) = delete; // Disallow copying ++ ++ // Nested classes ++ class element; ++ class array; ++ class object; ++ class key_value_pair; + class parser; ++ ++ template ++ class element_result; + class doc_result; + class doc_ref_result; + +- // +- // Tell whether this document has been parsed, or is just empty. +- // +- bool is_initialized() { +- return tape && string_buf; +- } ++ // Nested classes. See definitions later in file. ++ using iterator = document_iterator; + +- // print the json to std::ostream (should be valid) +- // return false if the tape is likely wrong (e.g., you did not parse a valid +- // JSON). +- WARN_UNUSED +- bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const; +- WARN_UNUSED +- bool dump_raw_tape(std::ostream &os) const; ++ /** ++ * Get the root element of this document as a JSON array. ++ */ ++ element root() const noexcept; ++ /** ++ * Get the root element of this document as a JSON array. ++ */ ++ element_result as_array() const noexcept; ++ /** ++ * Get the root element of this document as a JSON object. ++ */ ++ element_result as_object() const noexcept; ++ /** ++ * Get the root element of this document. ++ */ ++ operator element() const noexcept; ++ /** ++ * Read the root element of this document as a JSON array. ++ * ++ * @return The JSON array. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array ++ */ ++ operator array() const noexcept(false); ++ /** ++ * Read this element as a JSON object (key/value pairs). ++ * ++ * @return The JSON object. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object ++ */ ++ operator object() const noexcept(false); + +- // +- // Parse a JSON document. +- // +- // If you will be parsing more than one JSON document, it's recommended to create a +- // document::parser object instead, keeping internal buffers around for efficiency reasons. +- // +- // Throws invalid_json if the JSON is invalid. +- // ++ /** ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with the given key, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object ++ */ ++ element_result operator[](const std::string_view &s) const noexcept; ++ /** ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object ++ */ ++ element_result operator[](const char *s) const noexcept; ++ ++ /** ++ * Print this JSON to a std::ostream. ++ * ++ * @param os the stream to output to. ++ * @param max_depth the maximum JSON depth to output. ++ * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON). ++ */ ++ bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const noexcept; ++ /** ++ * Dump the raw tape for debugging. ++ * ++ * @param os the stream to output to. ++ * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON). ++ */ ++ bool dump_raw_tape(std::ostream &os) const noexcept; ++ ++ /** ++ * Parse a JSON document and return a reference to it. ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, ++ * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged ++ * and copied before parsing. ++ * ++ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless ++ * realloc_if_needed is true. ++ * @param len The length of the JSON. ++ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. ++ * @return the document, or an error if the JSON is invalid. ++ */ + static doc_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ ++ /** ++ * Parse a JSON document. ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, ++ * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged ++ * and copied before parsing. ++ * ++ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless ++ * realloc_if_needed is true. ++ * @param len The length of the JSON. ++ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. ++ * @return the document, or an error if the JSON is invalid. ++ */ + static doc_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept; +- static doc_result parse(const std::string &s, bool realloc_if_needed = true) noexcept; ++ ++ /** ++ * Parse a JSON document. ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size() ++ * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing. ++ * ++ * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or ++ * a new string will be created with the extra padding. ++ * @return the document, or an error if the JSON is invalid. ++ */ ++ static doc_result parse(const std::string &s) noexcept; ++ ++ /** ++ * Parse a JSON document. ++ * ++ * @param s The JSON to parse. ++ * @return the document, or an error if the JSON is invalid. ++ */ + static doc_result parse(const padded_string &s) noexcept; ++ + // We do not want to allow implicit conversion from C string to std::string. +- doc_result parse(const char *buf, bool realloc_if_needed = true) noexcept = delete; ++ doc_ref_result parse(const char *buf, bool realloc_if_needed = true) noexcept = delete; + + std::unique_ptr tape; + std::unique_ptr string_buf;// should be at least byte_capacity + + private: ++ class tape_ref; ++ enum class tape_type; + bool set_capacity(size_t len); + }; // class document + ++/** ++ * A parsed, *owned* document, or an error if the parse failed. ++ * ++ * document &doc = document::parse(json); ++ * ++ * Returns an owned `document`. When the doc_result (or the document retrieved from it) goes out of ++ * scope, the document's memory is deallocated. ++ * ++ * ## Error Codes vs. Exceptions ++ * ++ * This result type allows the user to pick whether to use exceptions or not. ++ * ++ * Use like this to avoid exceptions: ++ * ++ * auto [doc, error] = document::parse(json); ++ * if (error) { exit(1); } ++ * ++ * Use like this if you'd prefer to use exceptions: ++ * ++ * document doc = document::parse(json); ++ * ++ */ + class document::doc_result { +-private: +- doc_result(document &&_doc, error_code _error) : doc(std::move(_doc)), error(_error) { } +- doc_result(document &&_doc) : doc(std::move(_doc)), error(SUCCESS) { } +- doc_result(error_code _error) : doc(), error(_error) { } +- friend class document; + public: +- ~doc_result()=default; +- +- operator bool() noexcept { return error == SUCCESS; } +- operator document() { +- if (!*this) { +- throw invalid_json(error); +- } +- return std::move(doc); +- } ++ /** ++ * The parsed document. This is *invalid* if there is an error. ++ */ + document doc; ++ /** ++ * The error code, or SUCCESS (0) if there is no error. ++ */ + error_code error; +- const std::string &get_error_message() { +- return error_message(error); +- } +-}; // class doc_result ++ ++ /** ++ * Return the document, or throw an exception if it is invalid. ++ * ++ * @return the document. ++ * @exception invalid_json if the document is invalid or there was an error parsing it. ++ */ ++ operator document() noexcept(false); ++ ++ /** ++ * Get the error message for the error. ++ */ ++ const std::string &get_error_message() const noexcept; ++ ++ ~doc_result() noexcept=default; ++ ++private: ++ doc_result(document &&_doc, error_code _error) noexcept; ++ doc_result(document &&_doc) noexcept; ++ doc_result(error_code _error) noexcept; ++ friend class document; ++}; // class document::doc_result + + /** +- * The result of document::parser::parse(). Stores an error code and a document reference. +- * +- * Designed so that you can either check the error code before using the document, or use +- * exceptions and use thedirectly and parse it, or +- * +- */ ++ * A parsed document reference, or an error if the parse failed. ++ * ++ * document &doc = document::parse(json); ++ * ++ * ## Document Ownership ++ * ++ * The `document &` refers to an internal document the parser reuses on each `parse()` call. It will ++ * become invalidated on the next `parse()`. ++ * ++ * This is more efficient for common cases where documents are parsed and used one at a time. If you ++ * need to keep the document around longer, you may *take* it from the parser by casting it: ++ * ++ * document doc = parser.parse(); // take ownership ++ * ++ * If you do this, the parser will automatically allocate a new document on the next `parse()` call. ++ * ++ * ## Error Codes vs. Exceptions ++ * ++ * This result type allows the user to pick whether to use exceptions or not. ++ * ++ * Use like this to avoid exceptions: ++ * ++ * auto [doc, error] = parser.parse(json); ++ * if (error) { exit(1); } ++ * ++ * Use like this if you'd prefer to use exceptions: ++ * ++ * document &doc = document::parse(json); ++ * ++ */ + class document::doc_ref_result { + public: +- doc_ref_result(document &_doc, error_code _error) : doc(_doc), error(_error) { } ++ /** ++ * The parsed document. This is *invalid* if there is an error. ++ */ ++ document &doc; ++ /** ++ * The error code, or SUCCESS (0) if there is no error. ++ */ ++ error_code error; ++ ++ /** ++ * A reference to the document, or throw an exception if it is invalid. ++ * ++ * @return the document. ++ * @exception invalid_json if the document is invalid or there was an error parsing it. ++ */ ++ operator document&() noexcept(false); ++ ++ /** ++ * Get the error message for the error. ++ */ ++ const std::string &get_error_message() const noexcept; ++ + ~doc_ref_result()=default; + +- operator bool() noexcept { return error == SUCCESS; } +- operator document&() { +- if (!*this) { +- throw invalid_json(error); +- } +- return doc; +- } +- document& doc; +- error_code error; +- const std::string &get_error_message() noexcept { +- return error_message(error); +- } +-}; // class document::doc_result ++private: ++ doc_ref_result(document &_doc, error_code _error) noexcept; ++ friend class document::parser; ++}; // class document::doc_ref_result ++ ++/** ++ * The possible types in the tape. Internal only. ++ */ ++enum class document::tape_type { ++ ROOT = 'r', ++ START_ARRAY = '[', ++ START_OBJECT = '{', ++ END_ARRAY = ']', ++ END_OBJECT = '}', ++ STRING = '"', ++ INT64 = 'l', ++ UINT64 = 'u', ++ DOUBLE = 'd', ++ TRUE_VALUE = 't', ++ FALSE_VALUE = 'f', ++ NULL_VALUE = 'n' ++}; ++ ++/** ++ * A reference to an element on the tape. Internal only. ++ */ ++class document::tape_ref { ++protected: ++ tape_ref() noexcept; ++ tape_ref(const document *_doc, size_t _json_index) noexcept; ++ size_t after_element() const noexcept; ++ tape_type type() const noexcept; ++ uint64_t tape_value() const noexcept; ++ template ++ T next_tape_value() const noexcept; ++ ++ /** The document this element references. */ ++ const document *doc; ++ ++ /** The index of this element on `doc.tape[]` */ ++ size_t json_index; ++ ++ friend class document::key_value_pair; ++}; ++ ++/** ++ * A JSON element. ++ * ++ * References an element in a JSON document, representing a JSON null, boolean, string, number, ++ * array or object. ++ */ ++class document::element : protected document::tape_ref { ++public: ++ /** Whether this element is a json `null`. */ ++ bool is_null() const noexcept; ++ /** Whether this is a JSON `true` or `false` */ ++ bool is_bool() const noexcept; ++ /** Whether this is a JSON number (e.g. 1, 1.0 or 1e2) */ ++ bool is_number() const noexcept; ++ /** Whether this is a JSON integer (e.g. 1 or -1, but *not* 1.0 or 1e2) */ ++ bool is_integer() const noexcept; ++ /** Whether this is a JSON string (e.g. "abc") */ ++ bool is_string() const noexcept; ++ /** Whether this is a JSON array (e.g. []) */ ++ bool is_array() const noexcept; ++ /** Whether this is a JSON array (e.g. []) */ ++ bool is_object() const noexcept; ++ ++ /** ++ * Read this element as a boolean (json `true` or `false`). ++ * ++ * @return The boolean value, or: ++ * - UNEXPECTED_TYPE error if the JSON element is not a boolean ++ */ ++ element_result as_bool() const noexcept; ++ ++ /** ++ * Read this element as a null-terminated string. ++ * ++ * Does *not* convert other types to a string; requires that the JSON type of the element was ++ * an actual string. ++ * ++ * @return A `string_view` into the string, or: ++ * - UNEXPECTED_TYPE error if the JSON element is not a string ++ */ ++ element_result as_c_str() const noexcept; ++ ++ /** ++ * Read this element as a C++ string_view (string with length). ++ * ++ * Does *not* convert other types to a string; requires that the JSON type of the element was ++ * an actual string. ++ * ++ * @return A `string_view` into the string, or: ++ * - UNEXPECTED_TYPE error if the JSON element is not a string ++ */ ++ element_result as_string() const noexcept; ++ ++ /** ++ * Read this element as an unsigned integer. ++ * ++ * @return The uninteger value, or: ++ * - UNEXPECTED_TYPE if the JSON element is not an integer ++ * - NUMBER_OUT_OF_RANGE if the integer doesn't fit in 64 bits or is negative ++ */ ++ element_result as_uint64_t() const noexcept; ++ ++ /** ++ * Read this element as a signed integer. ++ * ++ * @return The integer value, or: ++ * - UNEXPECTED_TYPE if the JSON element is not an integer ++ * - NUMBER_OUT_OF_RANGE if the integer doesn't fit in 64 bits ++ */ ++ element_result as_int64_t() const noexcept; ++ ++ /** ++ * Read this element as a floating point value. ++ * ++ * @return The double value, or: ++ * - UNEXPECTED_TYPE if the JSON element is not a number ++ */ ++ element_result as_double() const noexcept; ++ ++ /** ++ * Read this element as a JSON array. ++ * ++ * @return The array value, or: ++ * - UNEXPECTED_TYPE if the JSON element is not an array ++ */ ++ element_result as_array() const noexcept; ++ ++ /** ++ * Read this element as a JSON object (key/value pairs). ++ * ++ * @return The object value, or: ++ * - UNEXPECTED_TYPE if the JSON element is not an object ++ */ ++ element_result as_object() const noexcept; ++ ++ /** ++ * Read this element as a boolean. ++ * ++ * @return The boolean value ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a boolean. ++ */ ++ operator bool() const noexcept(false); ++ ++ /** ++ * Read this element as a null-terminated string. ++ * ++ * Does *not* convert other types to a string; requires that the JSON type of the element was ++ * an actual string. ++ * ++ * @return The string value. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string. ++ */ ++ explicit operator const char*() const noexcept(false); ++ ++ /** ++ * Read this element as a null-terminated string. ++ * ++ * Does *not* convert other types to a string; requires that the JSON type of the element was ++ * an actual string. ++ * ++ * @return The string value. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string. ++ */ ++ operator std::string_view() const noexcept(false); ++ ++ /** ++ * Read this element as an unsigned integer. ++ * ++ * @return The integer value. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer ++ * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative ++ */ ++ operator uint64_t() const noexcept(false); ++ /** ++ * Read this element as an signed integer. ++ * ++ * @return The integer value. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer ++ * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits ++ */ ++ operator int64_t() const noexcept(false); ++ /** ++ * Read this element as an double. ++ * ++ * @return The double value. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a number ++ * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative ++ */ ++ operator double() const noexcept(false); ++ /** ++ * Read this element as a JSON array. ++ * ++ * @return The JSON array. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array ++ */ ++ operator document::array() const noexcept(false); ++ /** ++ * Read this element as a JSON object (key/value pairs). ++ * ++ * @return The JSON object. ++ * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object ++ */ ++ operator document::object() const noexcept(false); ++ ++ /** ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object ++ */ ++ element_result operator[](const std::string_view &s) const noexcept; ++ /** ++ * Get the value associated with the given key. ++ * ++ * Note: The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object ++ */ ++ element_result operator[](const char *s) const noexcept; ++ ++private: ++ element() noexcept; ++ element(const document *_doc, size_t _json_index) noexcept; ++ friend class document; ++ template ++ friend class document::element_result; ++}; ++ ++/** ++ * Represents a JSON array. ++ */ ++class document::array : protected document::tape_ref { ++public: ++ class iterator : tape_ref { ++ public: ++ /** ++ * Get the actual value ++ */ ++ element operator*() const noexcept; ++ /** ++ * Get the next value. ++ * ++ * Part of the std::iterator interface. ++ */ ++ void operator++() noexcept; ++ /** ++ * Check if these values come from the same place in the JSON. ++ * ++ * Part of the std::iterator interface. ++ */ ++ bool operator!=(const iterator& other) const noexcept; ++ private: ++ iterator(const document *_doc, size_t _json_index) noexcept; ++ friend class array; ++ }; ++ ++ /** ++ * Return the first array element. ++ * ++ * Part of the std::iterable interface. ++ */ ++ iterator begin() const noexcept; ++ /** ++ * One past the last array element. ++ * ++ * Part of the std::iterable interface. ++ */ ++ iterator end() const noexcept; ++ ++private: ++ array() noexcept; ++ array(const document *_doc, size_t _json_index) noexcept; ++ friend class document::element; ++ template ++ friend class document::element_result; ++}; ++ ++/** ++ * Represents a JSON object. ++ */ ++class document::object : protected document::tape_ref { ++public: ++ class iterator : protected document::tape_ref { ++ public: ++ /** ++ * Get the actual key/value pair ++ */ ++ const document::key_value_pair operator*() const noexcept; ++ /** ++ * Get the next key/value pair. ++ * ++ * Part of the std::iterator interface. ++ */ ++ void operator++() noexcept; ++ /** ++ * Check if these key value pairs come from the same place in the JSON. ++ * ++ * Part of the std::iterator interface. ++ */ ++ bool operator!=(const iterator& other) const noexcept; ++ /** ++ * Get the key of this key/value pair. ++ */ ++ std::string_view key() const noexcept; ++ /** ++ * Get the key of this key/value pair. ++ */ ++ const char *key_c_str() const noexcept; ++ /** ++ * Get the value of this key/value pair. ++ */ ++ element value() const noexcept; ++ private: ++ iterator(const document *_doc, size_t _json_index) noexcept; ++ friend class document::object; ++ }; ++ ++ /** ++ * Return the first key/value pair. ++ * ++ * Part of the std::iterable interface. ++ */ ++ iterator begin() const noexcept; ++ /** ++ * One past the last key/value pair. ++ * ++ * Part of the std::iterable interface. ++ */ ++ iterator end() const noexcept; ++ ++ /** ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ */ ++ element_result operator[](const std::string_view &s) const noexcept; ++ /** ++ * Get the value associated with the given key. ++ * ++ * Note: The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ */ ++ element_result operator[](const char *s) const noexcept; ++ ++private: ++ object() noexcept; ++ object(const document *_doc, size_t _json_index) noexcept; ++ friend class document::element; ++ template ++ friend class document::element_result; ++}; ++ ++/** ++ * Key/value pair in an object. ++ */ ++class document::key_value_pair { ++public: ++ std::string_view key; ++ document::element value; ++ ++private: ++ key_value_pair(std::string_view _key, document::element _value) noexcept; ++ friend class document::object; ++}; ++ ++ ++/** ++ * The result of a JSON navigation or conversion, or an error (if the navigation or conversion ++ * failed). Allows the user to pick whether to use exceptions or not. ++ * ++ * Use like this to avoid exceptions: ++ * ++ * auto [str, error] = document::parse(json).root().as_string(); ++ * if (error) { exit(1); } ++ * cout << str; ++ * ++ * Use like this if you'd prefer to use exceptions: ++ * ++ * string str = document::parse(json).root(); ++ * cout << str; ++ * ++ */ ++template ++class document::element_result { ++public: ++ /** The value */ ++ T value; ++ /** The error code (or 0 if there is no error) */ ++ error_code error; ++ ++ operator T() const noexcept(false); ++ ++private: ++ element_result(T value) noexcept; ++ element_result(error_code _error) noexcept; ++ friend class document; ++ friend class element; ++}; ++ ++// Add exception-throwing navigation / conversion methods to element_result ++template<> ++class document::element_result { ++public: ++ /** The value */ ++ element value; ++ /** The error code (or 0 if there is no error) */ ++ error_code error; ++ ++ /** Whether this is a JSON `null` */ ++ element_result is_null() const noexcept; ++ element_result as_bool() const noexcept; ++ element_result as_string() const noexcept; ++ element_result as_c_str() const noexcept; ++ element_result as_uint64_t() const noexcept; ++ element_result as_int64_t() const noexcept; ++ element_result as_double() const noexcept; ++ element_result as_array() const noexcept; ++ element_result as_object() const noexcept; ++ ++ operator bool() const noexcept(false); ++ explicit operator const char*() const noexcept(false); ++ operator std::string_view() const noexcept(false); ++ operator uint64_t() const noexcept(false); ++ operator int64_t() const noexcept(false); ++ operator double() const noexcept(false); ++ operator array() const noexcept(false); ++ operator object() const noexcept(false); ++ ++ element_result operator[](const std::string_view &s) const noexcept; ++ element_result operator[](const char *s) const noexcept; ++ ++private: ++ element_result(element value) noexcept; ++ element_result(error_code _error) noexcept; ++ friend class document; ++ friend class element; ++}; ++ ++// Add exception-throwing navigation methods to element_result ++template<> ++class document::element_result { ++public: ++ /** The value */ ++ array value; ++ /** The error code (or 0 if there is no error) */ ++ error_code error; ++ ++ operator array() const noexcept(false); ++ ++ array::iterator begin() const noexcept(false); ++ array::iterator end() const noexcept(false); ++ ++private: ++ element_result(array value) noexcept; ++ element_result(error_code _error) noexcept; ++ friend class document; ++ friend class element; ++}; ++ ++// Add exception-throwing navigation methods to element_result ++template<> ++class document::element_result { ++public: ++ /** The value */ ++ object value; ++ /** The error code (or 0 if there is no error) */ ++ error_code error; ++ ++ operator object() const noexcept(false); ++ ++ object::iterator begin() const noexcept(false); ++ object::iterator end() const noexcept(false); ++ ++ element_result operator[](const std::string_view &s) const noexcept; ++ element_result operator[](const char *s) const noexcept; ++ ++private: ++ element_result(object value) noexcept; ++ element_result(error_code _error) noexcept; ++ friend class document; ++ friend class element; ++}; + + /** + * A persistent document parser. +@@ -853,6 +1535,8 @@ public: + * Use this if you intend to parse more than one document. It holds the internal memory necessary + * to do parsing, as well as memory for a single document that is overwritten on each parse. + * ++ * This class cannot be copied, only moved, to avoid unintended allocations. ++ * + * @note This is not thread safe: one parser cannot produce two documents at the same time! + */ + class document::parser { +@@ -863,40 +1547,107 @@ public: + parser()=default; + ~parser()=default; + +- // this is a move only class +- parser(document::parser &&p) = default; +- parser(const document::parser &p) = delete; +- parser &operator=(document::parser &&o) = default; +- parser &operator=(const document::parser &o) = delete; ++ /** ++ * Take another parser's buffers and state. ++ * ++ * @param other The parser to take. Its capacity is zeroed. ++ */ ++ parser(document::parser &&other) = default; ++ parser(const document::parser &) = delete; // Disallow copying ++ /** ++ * Take another parser's buffers and state. ++ * ++ * @param other The parser to take. Its capacity is zeroed. ++ */ ++ parser &operator=(document::parser &&other) = default; ++ parser &operator=(const document::parser &) = delete; // Disallow copying ++ ++ /** ++ * Parse a JSON document and return a reference to it. ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() again. ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, ++ * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged ++ * and copied before parsing. ++ * ++ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless ++ * realloc_if_needed is true. ++ * @param len The length of the JSON. ++ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. ++ * @return the document, or an error if the JSON is invalid. ++ */ ++ doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ ++ /** ++ * Parse a JSON document and return a reference to it. ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() again. ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, ++ * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged ++ * and copied before parsing. ++ * ++ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless ++ * realloc_if_needed is true. ++ * @param len The length of the JSON. ++ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. ++ * @return the document, or an error if the JSON is invalid. ++ */ ++ doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ ++ /** ++ * Parse a JSON document and return a reference to it. ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() again. ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size() ++ * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing. ++ * ++ * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or ++ * a new string will be created with the extra padding. ++ * @return the document, or an error if the JSON is invalid. ++ */ ++ doc_ref_result parse(const std::string &s) noexcept; ++ ++ /** ++ * Parse a JSON document and return a reference to it. ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() again. ++ * ++ * @param s The JSON to parse. ++ * @return the document, or an error if the JSON is invalid. ++ */ ++ doc_ref_result parse(const padded_string &s) noexcept; + +- // +- // Parse a JSON document and return a reference to it. +- // +- // The JSON document still lives in the parser: this is the most efficient way to parse JSON +- // documents because it reuses the same buffers, but you *must* use the document before you +- // destroy the parser or call parse() again. +- // +- // Throws invalid_json if the JSON is invalid. +- // +- inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept; +- inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept; +- inline doc_ref_result parse(const std::string &s, bool realloc_if_needed = true) noexcept; +- inline doc_ref_result parse(const padded_string &s) noexcept; + // We do not want to allow implicit conversion from C string to std::string. +- doc_ref_result parse(const char *buf, bool realloc_if_needed = true) noexcept = delete; ++ doc_ref_result parse(const char *buf) noexcept = delete; + +- // +- // Current capacity: the largest document this parser can support without reallocating. +- // +- size_t capacity() { return _capacity; } ++ /** ++ * Current capacity: the largest document this parser can support without reallocating. ++ */ ++ size_t capacity() const noexcept { return _capacity; } + +- // +- // The maximum level of nested object and arrays supported by this parser. +- // +- size_t max_depth() { return _max_depth; } ++ /** ++ * The maximum level of nested object and arrays supported by this parser. ++ */ ++ size_t max_depth() const noexcept { return _max_depth; } + +- // if needed, allocate memory so that the object is able to process JSON +- // documents having up to capacity bytes and max_depth "depth" ++ /** ++ * Ensure this parser has enough memory to process JSON documents up to `capacity` bytes in length ++ * and `max_depth` depth. ++ */ + WARN_UNUSED bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH) { + return set_capacity(capacity) && set_max_depth(max_depth); + } +@@ -934,22 +1685,20 @@ public: + // + + // returns true if the document parsed was valid +- bool is_valid() const { return valid; } ++ bool is_valid() const noexcept; + + // return an error code corresponding to the last parsing attempt, see + // simdjson.h will return UNITIALIZED if no parsing was attempted +- int get_error_code() const { return error; } ++ int get_error_code() const noexcept; + + // return the string equivalent of "get_error_code" +- std::string get_error_message() const { return error_message(error); } ++ std::string get_error_message() const noexcept; + + // print the json to std::ostream (should be valid) + // return false if the tape is likely wrong (e.g., you did not parse a valid + // JSON). +- WARN_UNUSED +- inline bool print_json(std::ostream &os) const { return is_valid() ? doc.print_json(os) : false; } +- WARN_UNUSED +- inline bool dump_raw_tape(std::ostream &os) const { return is_valid() ? doc.dump_raw_tape(os) : false; } ++ bool print_json(std::ostream &os) const noexcept; ++ bool dump_raw_tape(std::ostream &os) const noexcept; + + // + // Parser callbacks: these are internal! +@@ -958,38 +1707,31 @@ public: + // + + // this should be called when parsing (right before writing the tapes) +- really_inline void init_stage2(); +- really_inline error_code on_error(error_code new_error_code); +- really_inline error_code on_success(error_code success_code); +- really_inline bool on_start_document(uint32_t depth); +- really_inline bool on_start_object(uint32_t depth); +- really_inline bool on_start_array(uint32_t depth); ++ void init_stage2() noexcept; ++ error_code on_error(error_code new_error_code) noexcept; ++ error_code on_success(error_code success_code) noexcept; ++ bool on_start_document(uint32_t depth) noexcept; ++ bool on_start_object(uint32_t depth) noexcept; ++ bool on_start_array(uint32_t depth) noexcept; + // TODO we're not checking this bool +- really_inline bool on_end_document(uint32_t depth); +- really_inline bool on_end_object(uint32_t depth); +- really_inline bool on_end_array(uint32_t depth); +- really_inline bool on_true_atom(); +- really_inline bool on_false_atom(); +- really_inline bool on_null_atom(); +- really_inline uint8_t *on_start_string(); +- really_inline bool on_end_string(uint8_t *dst); +- really_inline bool on_number_s64(int64_t value); +- really_inline bool on_number_u64(uint64_t value); +- really_inline bool on_number_double(double value); ++ bool on_end_document(uint32_t depth) noexcept; ++ bool on_end_object(uint32_t depth) noexcept; ++ bool on_end_array(uint32_t depth) noexcept; ++ bool on_true_atom() noexcept; ++ bool on_false_atom() noexcept; ++ bool on_null_atom() noexcept; ++ uint8_t *on_start_string() noexcept; ++ bool on_end_string(uint8_t *dst) noexcept; ++ bool on_number_s64(int64_t value) noexcept; ++ bool on_number_u64(uint64_t value) noexcept; ++ bool on_number_double(double value) noexcept; + // + // Called before a parse is initiated. + // + // - Returns CAPACITY if the document is too large + // - Returns MEMALLOC if we needed to allocate memory and could not + // +- WARN_UNUSED really_inline error_code init_parse(size_t len); +- +- const document &get_document() const noexcept(false) { +- if (!is_valid()) { +- throw invalid_json(error); +- } +- return doc; +- } ++ WARN_UNUSED error_code init_parse(size_t len) noexcept; + + private: + // +@@ -1020,13 +1762,8 @@ private: + // + // + +- really_inline void write_tape(uint64_t val, uint8_t c) { +- doc.tape[current_loc++] = val | ((static_cast(c)) << 56); +- } +- +- really_inline void annotate_previous_loc(uint32_t saved_loc, uint64_t val) { +- doc.tape[saved_loc] |= val; +- } ++ void write_tape(uint64_t val, tape_type t) noexcept; ++ void annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept; + + // + // Set the current capacity: the largest document this parser can support without reallocating. +@@ -1045,6 +1782,11 @@ private: + // Returns false if allocation fails. + // + WARN_UNUSED bool set_max_depth(size_t max_depth); ++ ++ // Used internally to get the document ++ const document &get_document() const noexcept(false); ++ ++ template friend class document_iterator; + }; // class parser + + } // namespace simdjson +@@ -1300,11 +2042,243 @@ inline internal::atomic_ptr active_implementation = &inter + + #endif // SIMDJSON_IMPLEMENTATION_H + /* end file include/simdjson/implementation.h */ +- ++#include + namespace simdjson { + +-// TODO inline? +-document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { ++// ++// document::element_result inline implementation ++// ++template ++inline document::element_result::element_result(T _value) noexcept : value(_value), error{SUCCESS} {} ++template ++inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++template<> ++inline document::element_result::operator std::string_view() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value; ++} ++template<> ++inline document::element_result::operator const char *() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value; ++} ++template<> ++inline document::element_result::operator bool() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value; ++} ++template<> ++inline document::element_result::operator uint64_t() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value; ++} ++template<> ++inline document::element_result::operator int64_t() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value; ++} ++template<> ++inline document::element_result::operator double() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value; ++} ++ ++// ++// document::element_result inline implementation ++// ++inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {} ++inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++inline document::element_result::operator document::array() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value; ++} ++inline document::array::iterator document::element_result::begin() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value.begin(); ++} ++inline document::array::iterator document::element_result::end() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value.end(); ++} ++ ++// ++// document::element_result inline implementation ++// ++inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {} ++inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++inline document::element_result::operator document::object() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value; ++} ++inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept { ++ if (error) { return error; } ++ return value[key]; ++} ++inline document::element_result document::element_result::operator[](const char *key) const noexcept { ++ if (error) { return error; } ++ return value[key]; ++} ++inline document::object::iterator document::element_result::begin() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value.begin(); ++} ++inline document::object::iterator document::element_result::end() const noexcept(false) { ++ if (error) { throw invalid_json(error); } ++ return value.end(); ++} ++ ++// ++// document::element_result inline implementation ++// ++inline document::element_result::element_result(document::element _value) noexcept : value(_value), error{SUCCESS} {} ++inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++inline document::element_result document::element_result::is_null() const noexcept { ++ if (error) { return error; } ++ return value.is_null(); ++} ++inline document::element_result document::element_result::as_bool() const noexcept { ++ if (error) { return error; } ++ return value.as_bool(); ++} ++inline document::element_result document::element_result::as_c_str() const noexcept { ++ if (error) { return error; } ++ return value.as_c_str(); ++} ++inline document::element_result document::element_result::as_string() const noexcept { ++ if (error) { return error; } ++ return value.as_string(); ++} ++inline document::element_result document::element_result::as_uint64_t() const noexcept { ++ if (error) { return error; } ++ return value.as_uint64_t(); ++} ++inline document::element_result document::element_result::as_int64_t() const noexcept { ++ if (error) { return error; } ++ return value.as_int64_t(); ++} ++inline document::element_result document::element_result::as_double() const noexcept { ++ if (error) { return error; } ++ return value.as_double(); ++} ++inline document::element_result document::element_result::as_array() const noexcept { ++ if (error) { return error; } ++ return value.as_array(); ++} ++inline document::element_result document::element_result::as_object() const noexcept { ++ if (error) { return error; } ++ return value.as_object(); ++} ++ ++inline document::element_result::operator bool() const noexcept(false) { ++ return as_bool(); ++} ++inline document::element_result::operator const char *() const noexcept(false) { ++ return as_c_str(); ++} ++inline document::element_result::operator std::string_view() const noexcept(false) { ++ return as_string(); ++} ++inline document::element_result::operator uint64_t() const noexcept(false) { ++ return as_uint64_t(); ++} ++inline document::element_result::operator int64_t() const noexcept(false) { ++ return as_int64_t(); ++} ++inline document::element_result::operator double() const noexcept(false) { ++ return as_double(); ++} ++inline document::element_result::operator document::array() const noexcept(false) { ++ return as_array(); ++} ++inline document::element_result::operator document::object() const noexcept(false) { ++ return as_object(); ++} ++inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept { ++ if (error) { return *this; } ++ return value[key]; ++} ++inline document::element_result document::element_result::operator[](const char *key) const noexcept { ++ if (error) { return *this; } ++ return value[key]; ++} ++ ++// ++// document inline implementation ++// ++inline document::element document::root() const noexcept { ++ return document::element(this, 1); ++} ++inline document::element_result document::as_array() const noexcept { ++ return root().as_array(); ++} ++inline document::element_result document::as_object() const noexcept { ++ return root().as_object(); ++} ++inline document::operator document::element() const noexcept { ++ return root(); ++} ++inline document::operator document::array() const noexcept(false) { ++ return root(); ++} ++inline document::operator document::object() const noexcept(false) { ++ return root(); ++} ++inline document::element_result document::operator[](const std::string_view &key) const noexcept { ++ return root()[key]; ++} ++inline document::element_result document::operator[](const char *key) const noexcept { ++ return root()[key]; ++} ++ ++// ++// document::doc_ref_result inline implementation ++// ++inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { } ++inline document::doc_ref_result::operator document&() noexcept(false) { ++ if (error) { ++ throw invalid_json(error); ++ } ++ return doc; ++} ++inline const std::string &document::doc_ref_result::get_error_message() const noexcept { ++ return error_message(error); ++} ++ ++// ++// document::doc_result inline implementation ++// ++inline document::doc_result::doc_result(document &&_doc, error_code _error) noexcept : doc(std::move(_doc)), error(_error) { } ++inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::move(_doc)), error(SUCCESS) { } ++inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { } ++inline document::doc_result::operator document() noexcept(false) { ++ if (error) { ++ throw invalid_json(error); ++ } ++ return std::move(doc); ++} ++inline const std::string &document::doc_result::get_error_message() const noexcept { ++ return error_message(error); ++} ++ ++// ++// document::parser inline implementation ++// ++inline bool document::parser::is_valid() const noexcept { return valid; } ++inline int document::parser::get_error_code() const noexcept { return error; } ++inline std::string document::parser::get_error_message() const noexcept { return error_message(error); } ++inline bool document::parser::print_json(std::ostream &os) const noexcept { ++ return is_valid() ? doc.print_json(os) : false; ++} ++inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept { ++ return is_valid() ? doc.dump_raw_tape(os) : false; ++} ++inline const document &document::parser::get_document() const noexcept(false) { ++ if (!is_valid()) { ++ throw invalid_json(error); ++ } ++ return doc; ++} ++inline document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { + error_code code = init_parse(len); + if (code) { return document::doc_ref_result(doc, code); } + +@@ -1329,14 +2303,13 @@ document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, + really_inline document::doc_ref_result document::parser::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept { + return parse((const uint8_t *)buf, len, realloc_if_needed); + } +-really_inline document::doc_ref_result document::parser::parse(const std::string &s, bool realloc_if_needed) noexcept { +- return parse(s.data(), s.length(), realloc_if_needed); ++really_inline document::doc_ref_result document::parser::parse(const std::string &s) noexcept { ++ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING); + } + really_inline document::doc_ref_result document::parser::parse(const padded_string &s) noexcept { + return parse(s.data(), s.length(), false); + } + +-// TODO really_inline? + inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { + document::parser parser; + if (!parser.allocate_capacity(len)) { +@@ -1348,8 +2321,8 @@ inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool + really_inline document::doc_result document::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept { + return parse((const uint8_t *)buf, len, realloc_if_needed); + } +-really_inline document::doc_result document::parse(const std::string &s, bool realloc_if_needed) noexcept { +- return parse(s.data(), s.length(), realloc_if_needed); ++really_inline document::doc_result document::parse(const std::string &s) noexcept { ++ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING); + } + really_inline document::doc_result document::parse(const padded_string &s) noexcept { + return parse(s.data(), s.length(), false); +@@ -1360,7 +2333,7 @@ really_inline document::doc_result document::parse(const padded_string &s) noexc + // + + WARN_UNUSED +-inline error_code document::parser::init_parse(size_t len) { ++inline error_code document::parser::init_parse(size_t len) noexcept { + if (len > capacity()) { + return error = CAPACITY; + } +@@ -1373,79 +2346,79 @@ inline error_code document::parser::init_parse(size_t len) { + return SUCCESS; + } + +-inline void document::parser::init_stage2() { ++inline void document::parser::init_stage2() noexcept { + current_string_buf_loc = doc.string_buf.get(); + current_loc = 0; + valid = false; + error = UNINITIALIZED; + } + +-really_inline error_code document::parser::on_error(error_code new_error_code) { ++really_inline error_code document::parser::on_error(error_code new_error_code) noexcept { + error = new_error_code; + return new_error_code; + } +-really_inline error_code document::parser::on_success(error_code success_code) { ++really_inline error_code document::parser::on_success(error_code success_code) noexcept { + error = success_code; + valid = true; + return success_code; + } +-really_inline bool document::parser::on_start_document(uint32_t depth) { ++really_inline bool document::parser::on_start_document(uint32_t depth) noexcept { + containing_scope_offset[depth] = current_loc; +- write_tape(0, 'r'); ++ write_tape(0, tape_type::ROOT); + return true; + } +-really_inline bool document::parser::on_start_object(uint32_t depth) { ++really_inline bool document::parser::on_start_object(uint32_t depth) noexcept { + containing_scope_offset[depth] = current_loc; +- write_tape(0, '{'); ++ write_tape(0, tape_type::START_OBJECT); + return true; + } +-really_inline bool document::parser::on_start_array(uint32_t depth) { ++really_inline bool document::parser::on_start_array(uint32_t depth) noexcept { + containing_scope_offset[depth] = current_loc; +- write_tape(0, '['); ++ write_tape(0, tape_type::START_ARRAY); + return true; + } + // TODO we're not checking this bool +-really_inline bool document::parser::on_end_document(uint32_t depth) { ++really_inline bool document::parser::on_end_document(uint32_t depth) noexcept { + // write our doc.tape location to the header scope + // The root scope gets written *at* the previous location. + annotate_previous_loc(containing_scope_offset[depth], current_loc); +- write_tape(containing_scope_offset[depth], 'r'); ++ write_tape(containing_scope_offset[depth], tape_type::ROOT); + return true; + } +-really_inline bool document::parser::on_end_object(uint32_t depth) { ++really_inline bool document::parser::on_end_object(uint32_t depth) noexcept { + // write our doc.tape location to the header scope +- write_tape(containing_scope_offset[depth], '}'); ++ write_tape(containing_scope_offset[depth], tape_type::END_OBJECT); + annotate_previous_loc(containing_scope_offset[depth], current_loc); + return true; + } +-really_inline bool document::parser::on_end_array(uint32_t depth) { ++really_inline bool document::parser::on_end_array(uint32_t depth) noexcept { + // write our doc.tape location to the header scope +- write_tape(containing_scope_offset[depth], ']'); ++ write_tape(containing_scope_offset[depth], tape_type::END_ARRAY); + annotate_previous_loc(containing_scope_offset[depth], current_loc); + return true; + } + +-really_inline bool document::parser::on_true_atom() { +- write_tape(0, 't'); ++really_inline bool document::parser::on_true_atom() noexcept { ++ write_tape(0, tape_type::TRUE_VALUE); + return true; + } +-really_inline bool document::parser::on_false_atom() { +- write_tape(0, 'f'); ++really_inline bool document::parser::on_false_atom() noexcept { ++ write_tape(0, tape_type::FALSE_VALUE); + return true; + } +-really_inline bool document::parser::on_null_atom() { +- write_tape(0, 'n'); ++really_inline bool document::parser::on_null_atom() noexcept { ++ write_tape(0, tape_type::NULL_VALUE); + return true; + } + +-really_inline uint8_t *document::parser::on_start_string() { ++really_inline uint8_t *document::parser::on_start_string() noexcept { + /* we advance the point, accounting for the fact that we have a NULL + * termination */ +- write_tape(current_string_buf_loc - doc.string_buf.get(), '"'); ++ write_tape(current_string_buf_loc - doc.string_buf.get(), tape_type::STRING); + return current_string_buf_loc + sizeof(uint32_t); + } + +-really_inline bool document::parser::on_end_string(uint8_t *dst) { ++really_inline bool document::parser::on_end_string(uint8_t *dst) noexcept { + uint32_t str_length = dst - (current_string_buf_loc + sizeof(uint32_t)); + // TODO check for overflow in case someone has a crazy string (>=4GB?) + // But only add the overflow check when the document itself exceeds 4GB +@@ -1458,25 +2431,303 @@ really_inline bool document::parser::on_end_string(uint8_t *dst) { + return true; + } + +-really_inline bool document::parser::on_number_s64(int64_t value) { +- write_tape(0, 'l'); ++really_inline bool document::parser::on_number_s64(int64_t value) noexcept { ++ write_tape(0, tape_type::INT64); + std::memcpy(&doc.tape[current_loc], &value, sizeof(value)); + ++current_loc; + return true; + } +-really_inline bool document::parser::on_number_u64(uint64_t value) { +- write_tape(0, 'u'); ++really_inline bool document::parser::on_number_u64(uint64_t value) noexcept { ++ write_tape(0, tape_type::UINT64); + doc.tape[current_loc++] = value; + return true; + } +-really_inline bool document::parser::on_number_double(double value) { +- write_tape(0, 'd'); ++really_inline bool document::parser::on_number_double(double value) noexcept { ++ write_tape(0, tape_type::DOUBLE); + static_assert(sizeof(value) == sizeof(doc.tape[current_loc]), "mismatch size"); + memcpy(&doc.tape[current_loc++], &value, sizeof(double)); + // doc.tape[doc.current_loc++] = *((uint64_t *)&d); + return true; + } + ++really_inline void document::parser::write_tape(uint64_t val, document::tape_type t) noexcept { ++ doc.tape[current_loc++] = val | ((static_cast(static_cast(t))) << 56); ++} ++ ++really_inline void document::parser::annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept { ++ doc.tape[saved_loc] |= val; ++} ++ ++// ++// document::tape_ref inline implementation ++// ++really_inline document::tape_ref::tape_ref() noexcept : doc{nullptr}, json_index{0} {} ++really_inline document::tape_ref::tape_ref(const document *_doc, size_t _json_index) noexcept : doc{_doc}, json_index{_json_index} {} ++ ++inline size_t document::tape_ref::after_element() const noexcept { ++ switch (type()) { ++ case tape_type::START_ARRAY: ++ case tape_type::START_OBJECT: ++ return tape_value(); ++ case tape_type::UINT64: ++ case tape_type::INT64: ++ case tape_type::DOUBLE: ++ return json_index + 2; ++ default: ++ return json_index + 1; ++ } ++} ++really_inline document::tape_type document::tape_ref::type() const noexcept { ++ return static_cast(doc->tape[json_index] >> 56); ++} ++really_inline uint64_t document::tape_ref::tape_value() const noexcept { ++ return doc->tape[json_index] & JSON_VALUE_MASK; ++} ++template ++really_inline T document::tape_ref::next_tape_value() const noexcept { ++ static_assert(sizeof(T) == sizeof(uint64_t)); ++ return *reinterpret_cast(&doc->tape[json_index + 1]); ++} ++ ++// ++// document::array inline implementation ++// ++really_inline document::array::array() noexcept : tape_ref() {} ++really_inline document::array::array(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) {} ++inline document::array::iterator document::array::begin() const noexcept { ++ return iterator(doc, json_index + 1); ++} ++inline document::array::iterator document::array::end() const noexcept { ++ return iterator(doc, after_element() - 1); ++} ++ ++ ++// ++// document::array::iterator inline implementation ++// ++really_inline document::array::iterator::iterator(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) { } ++inline document::element document::array::iterator::operator*() const noexcept { ++ return element(doc, json_index); ++} ++inline bool document::array::iterator::operator!=(const document::array::iterator& other) const noexcept { ++ return json_index != other.json_index; ++} ++inline void document::array::iterator::operator++() noexcept { ++ json_index = after_element(); ++} ++ ++// ++// document::object inline implementation ++// ++really_inline document::object::object() noexcept : tape_ref() {} ++really_inline document::object::object(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) { }; ++inline document::object::iterator document::object::begin() const noexcept { ++ return iterator(doc, json_index + 1); ++} ++inline document::object::iterator document::object::end() const noexcept { ++ return iterator(doc, after_element() - 1); ++} ++inline document::element_result document::object::operator[](const std::string_view &key) const noexcept { ++ iterator end_field = end(); ++ for (iterator field = begin(); field != end_field; ++field) { ++ if (key == field.key()) { ++ return field.value(); ++ } ++ } ++ return NO_SUCH_FIELD; ++} ++inline document::element_result document::object::operator[](const char *key) const noexcept { ++ iterator end_field = end(); ++ for (iterator field = begin(); field != end_field; ++field) { ++ if (!strcmp(key, field.key_c_str())) { ++ return field.value(); ++ } ++ } ++ return NO_SUCH_FIELD; ++} ++ ++// ++// document::object::iterator inline implementation ++// ++really_inline document::object::iterator::iterator(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) { } ++inline const document::key_value_pair document::object::iterator::operator*() const noexcept { ++ return key_value_pair(key(), value()); ++} ++inline bool document::object::iterator::operator!=(const document::object::iterator& other) const noexcept { ++ return json_index != other.json_index; ++} ++inline void document::object::iterator::operator++() noexcept { ++ json_index++; ++ json_index = after_element(); ++} ++inline std::string_view document::object::iterator::key() const noexcept { ++ size_t string_buf_index = tape_value(); ++ uint32_t len; ++ memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len)); ++ return std::string_view( ++ reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]), ++ len ++ ); ++} ++inline const char* document::object::iterator::key_c_str() const noexcept { ++ return reinterpret_cast(&doc->string_buf[tape_value() + sizeof(uint32_t)]); ++} ++inline document::element document::object::iterator::value() const noexcept { ++ return element(doc, json_index + 1); ++} ++ ++// ++// document::key_value_pair inline implementation ++// ++inline document::key_value_pair::key_value_pair(std::string_view _key, document::element _value) noexcept : ++ key(_key), value(_value) {} ++ ++// ++// document::element inline implementation ++// ++really_inline document::element::element() noexcept : tape_ref() {} ++really_inline document::element::element(const document *_doc, size_t _json_index) noexcept : tape_ref(_doc, _json_index) { } ++really_inline bool document::element::is_null() const noexcept { ++ return type() == tape_type::NULL_VALUE; ++} ++really_inline bool document::element::is_bool() const noexcept { ++ return type() == tape_type::TRUE_VALUE || type() == tape_type::FALSE_VALUE; ++} ++really_inline bool document::element::is_number() const noexcept { ++ return type() == tape_type::UINT64 || type() == tape_type::INT64 || type() == tape_type::DOUBLE; ++} ++really_inline bool document::element::is_integer() const noexcept { ++ return type() == tape_type::UINT64 || type() == tape_type::INT64; ++} ++really_inline bool document::element::is_string() const noexcept { ++ return type() == tape_type::STRING; ++} ++really_inline bool document::element::is_array() const noexcept { ++ return type() == tape_type::START_ARRAY; ++} ++really_inline bool document::element::is_object() const noexcept { ++ return type() == tape_type::START_OBJECT; ++} ++inline document::element::operator bool() const noexcept(false) { return as_bool(); } ++inline document::element::operator const char*() const noexcept(false) { return as_c_str(); } ++inline document::element::operator std::string_view() const noexcept(false) { return as_string(); } ++inline document::element::operator uint64_t() const noexcept(false) { return as_uint64_t(); } ++inline document::element::operator int64_t() const noexcept(false) { return as_int64_t(); } ++inline document::element::operator double() const noexcept(false) { return as_double(); } ++inline document::element::operator document::array() const noexcept(false) { return as_array(); } ++inline document::element::operator document::object() const noexcept(false) { return as_object(); } ++inline document::element_result document::element::as_bool() const noexcept { ++ switch (type()) { ++ case tape_type::TRUE_VALUE: ++ return true; ++ case tape_type::FALSE_VALUE: ++ return false; ++ default: ++ return INCORRECT_TYPE; ++ } ++} ++inline document::element_result document::element::as_c_str() const noexcept { ++ switch (type()) { ++ case tape_type::STRING: { ++ size_t string_buf_index = tape_value(); ++ return reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]); ++ } ++ default: ++ return INCORRECT_TYPE; ++ } ++} ++inline document::element_result document::element::as_string() const noexcept { ++ switch (type()) { ++ case tape_type::STRING: { ++ size_t string_buf_index = tape_value(); ++ uint32_t len; ++ memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len)); ++ return std::string_view( ++ reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]), ++ len ++ ); ++ } ++ default: ++ return INCORRECT_TYPE; ++ } ++} ++inline document::element_result document::element::as_uint64_t() const noexcept { ++ switch (type()) { ++ case tape_type::UINT64: ++ return next_tape_value(); ++ case tape_type::INT64: { ++ int64_t result = next_tape_value(); ++ if (result < 0) { ++ return NUMBER_OUT_OF_RANGE; ++ } ++ return static_cast(result); ++ } ++ default: ++ return INCORRECT_TYPE; ++ } ++} ++inline document::element_result document::element::as_int64_t() const noexcept { ++ switch (type()) { ++ case tape_type::UINT64: { ++ uint64_t result = next_tape_value(); ++ // Wrapping max in parens to handle Windows issue: https://stackoverflow.com/questions/11544073/how-do-i-deal-with-the-max-macro-in-windows-h-colliding-with-max-in-std ++ if (result > (std::numeric_limits::max)()) { ++ return NUMBER_OUT_OF_RANGE; ++ } ++ return static_cast(result); ++ } ++ case tape_type::INT64: ++ return next_tape_value(); ++ default: ++ std::cout << "Incorrect " << json_index << " = " << char(type()) << std::endl; ++ return INCORRECT_TYPE; ++ } ++} ++inline document::element_result document::element::as_double() const noexcept { ++ switch (type()) { ++ case tape_type::UINT64: ++ return next_tape_value(); ++ case tape_type::INT64: { ++ return next_tape_value(); ++ int64_t result = tape_value(); ++ if (result < 0) { ++ return NUMBER_OUT_OF_RANGE; ++ } ++ return result; ++ } ++ case tape_type::DOUBLE: ++ return next_tape_value(); ++ default: ++ return INCORRECT_TYPE; ++ } ++} ++inline document::element_result document::element::as_array() const noexcept { ++ switch (type()) { ++ case tape_type::START_ARRAY: ++ return array(doc, json_index); ++ default: ++ return INCORRECT_TYPE; ++ } ++} ++inline document::element_result document::element::as_object() const noexcept { ++ switch (type()) { ++ case tape_type::START_OBJECT: ++ return object(doc, json_index); ++ default: ++ return INCORRECT_TYPE; ++ } ++} ++inline document::element_result document::element::operator[](const std::string_view &key) const noexcept { ++ auto [obj, error] = as_object(); ++ if (error) { return error; } ++ return obj[key]; ++} ++inline document::element_result document::element::operator[](const char *key) const noexcept { ++ auto [obj, error] = as_object(); ++ if (error) { return error; } ++ return obj[key]; ++} ++ + } // namespace simdjson + + #endif // SIMDJSON_INLINE_DOCUMENT_H +@@ -3024,3 +4275,26 @@ int JsonStream::json_parse(document::parser &parser) { + } // end of namespace simdjson + #endif // SIMDJSON_JSONSTREAM_H + /* end file src/jsoncharutils.h */ ++/* begin file include/simdjson/simdjson.h */ ++#ifndef SIMDJSON_SIMDJSON_H ++#define SIMDJSON_SIMDJSON_H ++ ++#ifndef __cplusplus ++#error simdjson requires a C++ compiler ++#endif ++ ++#ifndef SIMDJSON_CPLUSPLUS ++#if defined(_MSVC_LANG) && !defined(__clang__) ++#define SIMDJSON_CPLUSPLUS (_MSC_VER == 1900 ? 201103L : _MSVC_LANG) ++#else ++#define SIMDJSON_CPLUSPLUS __cplusplus ++#endif ++#endif ++ ++#if (SIMDJSON_CPLUSPLUS < 201703L) ++#error simdjson requires a compiler compliant with the C++17 standard ++#endif ++ ++ ++#endif // SIMDJSON_SIMDJSON_H ++/* end file include/simdjson/simdjson.h */ +diff --git a/src/arm64/simd.h b/src/arm64/simd.h +index b0a7a51e..a7395abe 100644 +--- a/src/arm64/simd.h ++++ b/src/arm64/simd.h +@@ -6,7 +6,7 @@ + #ifdef IS_ARM64 + + #include "simdjson/common_defs.h" +-#include "simdjson/simdjson.h" ++#include "simdjson/error.h" + #include "arm64/intrinsics.h" + + namespace simdjson::arm64::simd { +diff --git a/src/westmere/simd.h b/src/westmere/simd.h +index c2b752fc..f23b8848 100644 +--- a/src/westmere/simd.h ++++ b/src/westmere/simd.h +@@ -6,7 +6,7 @@ + #ifdef IS_X86_64 + + #include "simdjson/common_defs.h" +-#include "simdjson/simdjson.h" ++#include "simdjson/error.h" + #include "westmere/intrinsics.h" + + TARGET_WESTMERE diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/report.json new file mode 100644 index 000000000..bd169f28a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-524/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 524, "valid": false, "error_msg": "After applying the fix patch, no test results were captured when executing the test command. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (5, 0, 0)\n test = (0, 0, 0)\n fix = (0, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 5, "failed_count": 0, "skipped_count": 0, "passed_tests": ["integer_tests", "pointercheck", "jsoncheck", "jsonstream_test", "basictests"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/fix-patch-run.log new file mode 100644 index 000000000..2e3608621 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/fix-patch-run.log @@ -0,0 +1,483 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Fetched 8169 kB in 1s (5577 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (15.7 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.5 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (3403 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.6Ekg2lc3 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.6Ekg2lc3/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.6Ekg2lc3/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.6Ekg2lc3/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.6Ekg2lc3/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.6Ekg2lc3/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.6Ekg2lc3 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d9ab1a129a23 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.lzYtfhCjVy/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/CMakeLists.txt +patching file tests/allparserscheckfile.cpp +patching file tests/basictests.cpp +patching file tests/errortests.cpp +patching file tests/jsoncheck.cpp +patching file tests/numberparsingcheck.cpp +patching file tests/parse_many_test.cpp +patching file tests/readme_examples.cpp +patching file tests/stringparsingcheck.cpp +patching file include/simdjson/document.h +patching file include/simdjson/document_parser.h +patching file include/simdjson/error.h +patching file include/simdjson/inline/document.h +patching file include/simdjson/inline/error.h +patching file include/simdjson/jsonioutil.h +patching file singleheader/amalgamation_demo.cpp +patching file singleheader/simdjson.cpp +patching file singleheader/simdjson.h +-- No build type selected, default to Release +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detected x64 processor: x86_64 +-- Assuming Westmere or better +-- Building a dynamic library (default). +-- SIMDJSON_LIB_TYPE: SHARED +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- Looking for C++ include pthread.h +-- Looking for C++ include pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 2%] Building CXX object src/CMakeFiles/simdjson.dir/simdjson.cpp.o +In file included from /home/simdjson/src/haswell/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:2, + from /home/simdjson/src/simdjson.cpp:5: +/home/simdjson/src/haswell/bitmanipulation.h:19:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/westmere/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:3, + from /home/simdjson/src/simdjson.cpp:5: +/home/simdjson/src/westmere/bitmanipulation.h:20:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +[ 4%] Linking CXX shared library ../libsimdjson.so +[ 4%] Built target simdjson +Scanning dependencies of target jsonstats +[ 7%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 9%] Linking CXX executable jsonstats +[ 9%] Built target jsonstats +Scanning dependencies of target json2json +[ 11%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 14%] Linking CXX executable json2json +[ 14%] Built target json2json +Scanning dependencies of target minify +[ 16%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 19%] Linking CXX executable minify +[ 19%] Built target minify +Scanning dependencies of target basictests +[ 21%] Building CXX object tests/CMakeFiles/basictests.dir/basictests.cpp.o +/home/simdjson/tests/basictests.cpp: In function 'bool parse_json_message_issue467(const char*, std::size_t, size_t)': +/home/simdjson/tests/basictests.cpp:239:26: warning: unused variable 'doc' [-Wunused-variable] + for (auto [doc, error] : parser.parse_many(str, len)) { + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::document_object_index()': +/home/simdjson/tests/basictests.cpp:766:21: warning: unused variable 'val' [-Wunused-variable] + auto [val, error] = doc["d"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::object_index()': +/home/simdjson/tests/basictests.cpp:784:21: warning: unused variable 'val' [-Wunused-variable] + auto [val, error] = obj["d"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::twitter_count()': +/home/simdjson/tests/basictests.cpp:791:30: error: 'load' is not a member of 'simdjson::document' + document doc = document::load(JSON_TEST_PATH); + ^~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::twitter_default_profile()': +/home/simdjson/tests/basictests.cpp:800:30: error: 'load' is not a member of 'simdjson::document' + document doc = document::load(JSON_TEST_PATH); + ^~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::twitter_image_sizes()': +/home/simdjson/tests/basictests.cpp:814:30: error: 'load' is not a member of 'simdjson::document' + document doc = document::load(JSON_TEST_PATH); + ^~~~ +/home/simdjson/tests/basictests.cpp:819:31: warning: unused variable 'key' [-Wunused-variable] + for (auto [key, size] : image["sizes"].as_object()) { + ^ +make[2]: *** [tests/CMakeFiles/basictests.dir/build.make:63: tests/CMakeFiles/basictests.dir/basictests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:289: tests/CMakeFiles/basictests.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/simdjson/build + Start 1: basictests +Could not find executable basictests +Looked in the following places: +basictests +basictests +Release/basictests +Release/basictests +Unable to find executable: basictests +Debug/basictests +Debug/basictests +MinSizeRel/basictests +MinSizeRel/basictests +RelWithDebInfo/basictests +RelWithDebInfo/basictests +Deployment/basictests +Deployment/basictests +Development/basictests +Development/basictests +1/6 Test #1: basictests .......................***Not Run 0.00 sec + Start 2: errortests +Could not find executable errortests +Looked in the following places: +errortests +Unable to find executable: errortests +errortests +Release/errortests +Release/errortests +Debug/errortests +Debug/errortests +MinSizeRel/errortests +MinSizeRel/errortests +RelWithDebInfo/errortests +RelWithDebInfo/errortests +Deployment/errortests +Deployment/errortests +Development/errortests +Development/errortests +2/6 Test #2: errortests .......................***Not Run 0.00 sec + Start 3: jsoncheck +Could not find executable jsoncheck +Looked in the following places: +jsoncheck +jsoncheck +Release/jsoncheck +Release/jsoncheck +Debug/jsoncheck +Debug/jsoncheck +MinSizeRel/jsoncheck +Unable to find executable: jsoncheck +MinSizeRel/jsoncheck +RelWithDebInfo/jsoncheck +RelWithDebInfo/jsoncheck +Deployment/jsoncheck +Deployment/jsoncheck +Development/jsoncheck +Development/jsoncheck +3/6 Test #3: jsoncheck ........................***Not Run 0.00 sec + Start 4: parse_many_test +Could not find executable parse_many_test +Looked in the following places: +parse_many_test +parse_many_test +Release/parse_many_test +Release/parse_many_test +Debug/parse_many_test +Debug/parse_many_test +MinSizeRel/parse_many_test +MinSizeRel/parse_many_test +RelWithDebInfo/parse_many_test +RelWithDebInfo/parse_many_test +Deployment/parse_many_test +Deployment/parse_many_test +Development/parse_many_test +Development/parse_many_test +Unable to find executable: parse_many_test +4/6 Test #4: parse_many_test ..................***Not Run 0.00 sec + Start 5: pointercheck +Could not find executable pointercheck +Looked in the following places: +pointercheck +pointercheck +Release/pointercheck +Release/pointercheck +Debug/pointercheck +Unable to find executable: pointercheck +Debug/pointercheck +MinSizeRel/pointercheck +MinSizeRel/pointercheck +RelWithDebInfo/pointercheck +RelWithDebInfo/pointercheck +Deployment/pointercheck +Deployment/pointercheck +Development/pointercheck +Development/pointercheck +5/6 Test #5: pointercheck .....................***Not Run 0.00 sec + Start 6: integer_tests +Could not find executable integer_tests +Looked in the following places: +integer_tests +integer_tests +Release/integer_tests +Release/integer_tests +Debug/integer_tests +Debug/integer_tests +MinSizeRel/integer_tests +MinSizeRel/integer_tests +RelWithDebInfo/integer_tests +RelWithDebInfo/integer_tests +Deployment/integer_tests +Deployment/integer_tests +Development/integer_tests +Development/integer_tests +Unable to find executable: integer_tests +6/6 Test #6: integer_tests ....................***Not Run 0.00 sec + +0% tests passed, 6 tests failed out of 6 + +Total Test time (real) = 0.00 sec + +The following tests FAILED: + 1 - basictests (Not Run) + 2 - errortests (Not Run) + 3 - jsoncheck (Not Run) + 4 - parse_many_test (Not Run) + 5 - pointercheck (Not Run) + 6 - integer_tests (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/fix.patch new file mode 100644 index 000000000..0b711913b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/fix.patch @@ -0,0 +1,2262 @@ +diff --git a/include/simdjson/document.h b/include/simdjson/document.h +index e9f5c657..ca6aa80c 100644 +--- a/include/simdjson/document.h ++++ b/include/simdjson/document.h +@@ -996,6 +996,23 @@ public: + // We do not want to allow implicit conversion from C string to std::string. + really_inline doc_ref_result parse(const char *buf) noexcept = delete; + ++ /** ++ * Load a JSON document from a file and parse it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.load(filename); ++ * ++ * ### IMPORTANT: Document Lifetime ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() or load() again. ++ * ++ * @param filename The path to the JSON file to load. ++ * @return the document, or an error if the file cannot be opened or the JSON is invalid. ++ */ ++ really_inline doc_ref_result load(const std::string &filename) noexcept; ++ + /** + * Parse a buffer containing many JSON documents. + * +diff --git a/include/simdjson/document_parser.h b/include/simdjson/document_parser.h +index 417ed318..900485b3 100644 +--- a/include/simdjson/document_parser.h ++++ b/include/simdjson/document_parser.h +@@ -114,6 +114,23 @@ public: + // We do not want to allow implicit conversion from C string to std::string. + really_inline doc_ref_result parse(const char *buf) noexcept = delete; + ++ /** ++ * Load a JSON document from a file and parse it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.load(filename); ++ * ++ * ### IMPORTANT: Document Lifetime ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() or load() again. ++ * ++ * @param filename The path to the JSON file to load. ++ * @return the document, or an error if the file cannot be opened or the JSON is invalid. ++ */ ++ really_inline doc_ref_result load(const std::string &filename) noexcept; ++ + /** + * Parse a buffer containing many JSON documents. + * +diff --git a/include/simdjson/error.h b/include/simdjson/error.h +index f7267e01..4a17dad7 100644 +--- a/include/simdjson/error.h ++++ b/include/simdjson/error.h +@@ -30,6 +30,7 @@ enum error_code { + NUMBER_OUT_OF_RANGE, ///< JSON number does not fit in 64 bits + NO_SUCH_FIELD, ///< JSON field not found in object + UNEXPECTED_ERROR, ///< indicative of a bug in simdjson ++ IO_ERROR, ///< error reading a file + /** @private Number of error codes */ + NUM_ERROR_CODES + }; +diff --git a/include/simdjson/inline/document.h b/include/simdjson/inline/document.h +index e11b2bd3..d5a01c7f 100644 +--- a/include/simdjson/inline/document.h ++++ b/include/simdjson/inline/document.h +@@ -511,6 +511,16 @@ really_inline document::doc_ref_result document::parser::parse(const padded_stri + return parse(s.data(), s.length(), false); + } + ++really_inline document::doc_ref_result document::parser::load(const std::string &filename) noexcept { ++ padded_string s; ++ try { ++ s = get_corpus(filename); ++ } catch (...) { ++ return document::doc_ref_result(doc, IO_ERROR); ++ } ++ return parse(s); ++} ++ + inline document::stream document::parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { + return stream(*this, buf, len, batch_size); + } +diff --git a/include/simdjson/inline/error.h b/include/simdjson/inline/error.h +index b6367d47..deeaa272 100644 +--- a/include/simdjson/inline/error.h ++++ b/include/simdjson/inline/error.h +@@ -32,7 +32,8 @@ namespace simdjson::internal { + { INCORRECT_TYPE, "The JSON element does not have the requested type." }, + { NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type." }, + { NO_SUCH_FIELD, "The JSON field referenced does not exist in this object." }, +- { UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as you may have found a bug in simdjson" } ++ { UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as you may have found a bug in simdjson" }, ++ { IO_ERROR, "Error reading file" } + }; // error_messages[] + } // namespace simdjson::internal + +diff --git a/include/simdjson/jsonioutil.h b/include/simdjson/jsonioutil.h +index 7071e06c..7a6c6758 100644 +--- a/include/simdjson/jsonioutil.h ++++ b/include/simdjson/jsonioutil.h +@@ -13,20 +13,19 @@ + + namespace simdjson { + +-// load a file in memory... +-// get a corpus; pad out to cache line so we can always use SIMD +-// throws exceptions in case of failure +-// first element of the pair is a string (null terminated) +-// whereas the second element is the length. +-// caller is responsible to free (aligned_free((void*)result.data()))) +-// +-// throws an exception if the file cannot be opened, use try/catch +-// try { +-// p = get_corpus(filename); +-// } catch (const std::exception& e) { +-// aligned_free((void*)p.data()); +-// std::cout << "Could not load the file " << filename << std::endl; +-// } ++/** ++ * Load a file into memory, padded to cache line boundaries for SIMD processing. ++ * ++ * @deprecated Use parser.load(filename) instead. ++ * ++ * throws an exception if the file cannot be opened, use try/catch ++ * try { ++ * p = get_corpus(filename); ++ * } catch (const std::exception& e) { ++ * aligned_free((void*)p.data()); ++ * std::cout << "Could not load the file " << filename << std::endl; ++ * } ++ */ + padded_string get_corpus(const std::string &filename); + } // namespace simdjson + +diff --git a/singleheader/amalgamation_demo.cpp b/singleheader/amalgamation_demo.cpp +index 759dc41c..eec24578 100755 +--- a/singleheader/amalgamation_demo.cpp ++++ b/singleheader/amalgamation_demo.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 18:06:20 UTC 2026. Do not edit! */ + + #include + #include "simdjson.h" +@@ -11,34 +11,30 @@ int main(int argc, char *argv[]) { + simdjson::padded_string p = simdjson::get_corpus(filename); + auto [doc, error] = simdjson::document::parse(p); // do the parsing + if (error) { +- std::cout << "document::parse failed" << std::endl; ++ std::cout << "parse failed" << std::endl; + std::cout << "error code: " << error << std::endl; + std::cout << error << std::endl; + } else { +- std::cout << "document::parse valid" << std::endl; ++ std::cout << "parse valid" << std::endl; + } + if(argc == 2) { + return EXIT_SUCCESS; + } + +- //JsonStream ++ // parse_many + const char * filename2 = argv[2]; + simdjson::padded_string p2 = simdjson::get_corpus(filename2); + simdjson::document::parser parser; +- simdjson::JsonStream js{p2}; +- int parse_res = simdjson::SUCCESS_AND_HAS_MORE; +- +- while (parse_res == simdjson::SUCCESS_AND_HAS_MORE) { +- parse_res = js.json_parse(parser); ++ for (auto result : parser.parse_many(p2)) { ++ error = result.error; + } +- +- if( ! parser.is_valid()) { +- std::cout << "JsonStream not valid" << std::endl; ++ if (error) { ++ std::cout << "parse_many failed" << std::endl; ++ std::cout << "error code: " << error << std::endl; ++ std::cout << error << std::endl; + } else { +- std::cout << "JsonStream valid" << std::endl; ++ std::cout << "parse_many valid" << std::endl; + } +- +- + return EXIT_SUCCESS; + } + +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index 9ad1fdd4..c1c30e74 100644 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 18:06:20 UTC 2026. Do not edit! */ + #include "simdjson.h" + + /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */ +@@ -7,52 +7,6 @@ + #endif + + /* begin file src/simdjson.cpp */ +-/* begin file src/error.cpp */ +-#include +- +-namespace simdjson { +- +-const std::map error_strings = { +- {SUCCESS, "No error"}, +- {SUCCESS_AND_HAS_MORE, "No error and buffer still has more data"}, +- {CAPACITY, "This parser can't support a document that big"}, +- {MEMALLOC, "Error allocating memory, we're most likely out of memory"}, +- {TAPE_ERROR, "Something went wrong while writing to the tape"}, +- {STRING_ERROR, "Problem while parsing a string"}, +- {T_ATOM_ERROR, "Problem while parsing an atom starting with the letter 't'"}, +- {F_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'f'"}, +- {N_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'n'"}, +- {NUMBER_ERROR, "Problem while parsing a number"}, +- {UTF8_ERROR, "The input is not valid UTF-8"}, +- {UNINITIALIZED, "Uninitialized"}, +- {EMPTY, "Empty: no JSON found"}, +- {UNESCAPED_CHARS, "Within strings, some characters must be escaped, we" +- " found unescaped characters"}, +- {UNCLOSED_STRING, "A string is opened, but never closed."}, +- {UNSUPPORTED_ARCHITECTURE, "simdjson does not have an implementation" +- " supported by this CPU architecture (perhaps" +- " it's a non-SIMD CPU?)."}, +- {INCORRECT_TYPE, "The JSON element does not have the requested type."}, +- {NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type."}, +- {NO_SUCH_FIELD, "The JSON field referenced does not exist in this object."}, +- {UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as" +- " you may have found a bug in simdjson"}, +-}; +- +-// string returned when the error code is not recognized +-const std::string unexpected_error_msg {"Unexpected error"}; +- +-// returns a string matching the error code +-const std::string &error_message(error_code code) noexcept { +- auto keyvalue = error_strings.find(code); +- if(keyvalue == error_strings.end()) { +- return unexpected_error_msg; +- } +- return keyvalue->second; +-} +- +-} // namespace simdjson +-/* end file src/error.cpp */ + /* begin file src/implementation.cpp */ + #include + +@@ -5950,7 +5904,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +@@ -7317,7 +7271,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +@@ -8690,7 +8644,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index 9d0454ff..78059fb0 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 18:06:20 UTC 2026. Do not edit! */ + /* begin file include/simdjson.h */ + #ifndef SIMDJSON_H + #define SIMDJSON_H +@@ -50,42 +50,77 @@ enum { + + namespace simdjson { + ++/** ++ * All possible errors returned by simdjson. ++ */ + enum error_code { +- SUCCESS = 0, +- SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data +- CAPACITY, // This parser can't support a document that big +- MEMALLOC, // Error allocating memory, most likely out of memory +- TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this +- // is a generic error +- DEPTH_ERROR, // Your document exceeds the user-specified depth limitation +- STRING_ERROR, // Problem while parsing a string +- T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't' +- F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f' +- N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n' +- NUMBER_ERROR, // Problem while parsing a number +- UTF8_ERROR, // the input is not valid UTF-8 +- UNINITIALIZED, // unknown error, or uninitialized document +- EMPTY, // no structural element found +- UNESCAPED_CHARS, // found unescaped characters in a string. +- UNCLOSED_STRING, // missing quote at the end +- UNSUPPORTED_ARCHITECTURE, // unsupported architecture +- INCORRECT_TYPE, // JSON element has a different type than user expected +- NUMBER_OUT_OF_RANGE, // JSON number does not fit in 64 bits +- NO_SUCH_FIELD, // JSON field not found in object +- UNEXPECTED_ERROR // indicative of a bug in simdjson ++ SUCCESS = 0, ///< No error ++ SUCCESS_AND_HAS_MORE, ///< No error and buffer still has more data ++ CAPACITY, ///< This parser can't support a document that big ++ MEMALLOC, ///< Error allocating memory, most likely out of memory ++ TAPE_ERROR, ///< Something went wrong while writing to the tape (stage 2), this is a generic error ++ DEPTH_ERROR, ///< Your document exceeds the user-specified depth limitation ++ STRING_ERROR, ///< Problem while parsing a string ++ T_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 't' ++ F_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'f' ++ N_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'n' ++ NUMBER_ERROR, ///< Problem while parsing a number ++ UTF8_ERROR, ///< the input is not valid UTF-8 ++ UNINITIALIZED, ///< unknown error, or uninitialized document ++ EMPTY, ///< no structural element found ++ UNESCAPED_CHARS, ///< found unescaped characters in a string. ++ UNCLOSED_STRING, ///< missing quote at the end ++ UNSUPPORTED_ARCHITECTURE, ///< unsupported architecture ++ INCORRECT_TYPE, ///< JSON element has a different type than user expected ++ NUMBER_OUT_OF_RANGE, ///< JSON number does not fit in 64 bits ++ NO_SUCH_FIELD, ///< JSON field not found in object ++ UNEXPECTED_ERROR, ///< indicative of a bug in simdjson ++ IO_ERROR, ///< error reading a file ++ /** @private Number of error codes */ ++ NUM_ERROR_CODES + }; + +-const std::string &error_message(error_code error) noexcept; ++/** ++ * Get the error message for the given error code. ++ * ++ * auto [doc, error] = document::parse("foo"); ++ * if (error) { printf("Error: %s\n", error_message(error)); } ++ * ++ * @return The error message. ++ */ ++inline const char *error_message(error_code error) noexcept; + +-struct invalid_json : public std::exception { +- invalid_json(error_code _error) : error{_error} { } +- const char *what() const noexcept { return error_message(error); } +- error_code error; ++/** ++ * Write the error message to the output stream ++ */ ++inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept; ++ ++/** ++ * Exception thrown when an exception-supporting simdjson method is called ++ */ ++struct simdjson_error : public std::exception { ++ /** ++ * Create an exception from a simdjson error code. ++ * @param error The error code ++ */ ++ simdjson_error(error_code error) noexcept : _error{error} { } ++ /** The error message */ ++ const char *what() const noexcept { return error_message(error()); } ++ error_code error() const noexcept { return _error; } ++private: ++ /** The error code that was used */ ++ error_code _error; + }; + +-// TODO these are deprecated, remove ++/** ++ * @deprecated This is an alias and will be removed, use error_code instead ++ */ + using ErrorValues = error_code; +-inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); } ++ ++/** ++ * @deprecated Error codes should be stored and returned as `error_code`, use `error_message()` instead. ++ */ ++inline const std::string &error_message(int error) noexcept; + + } // namespace simdjson + +@@ -377,7 +412,7 @@ struct padded_string final { + } + + ~padded_string() { +- aligned_free_char(data_ptr); ++ aligned_free_char(data_ptr); + } + + size_t size() const { return viable_size; } +@@ -470,11 +505,13 @@ public: + class object; + class key_value_pair; + class parser; ++ class stream; + + template + class element_result; + class doc_result; + class doc_ref_result; ++ class stream_result; + + // Nested classes. See definitions later in file. + using iterator = document_iterator; +@@ -499,14 +536,14 @@ public: + * Read the root element of this document as a JSON array. + * + * @return The JSON array. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array + */ + operator array() const noexcept(false); + /** + * Read this element as a JSON object (key/value pairs). + * + * @return The JSON object. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object + */ + operator object() const noexcept(false); + +@@ -615,7 +652,7 @@ public: + private: + class tape_ref; + enum class tape_type; +- bool set_capacity(size_t len); ++ inline error_code set_capacity(size_t len) noexcept; + }; // class document + + /** +@@ -655,15 +692,10 @@ public: + * Return the document, or throw an exception if it is invalid. + * + * @return the document. +- * @exception invalid_json if the document is invalid or there was an error parsing it. ++ * @exception simdjson_error if the document is invalid or there was an error parsing it. + */ + operator document() noexcept(false); + +- /** +- * Get the error message for the error. +- */ +- const std::string &get_error_message() const noexcept; +- + ~doc_result() noexcept=default; + + private: +@@ -719,20 +751,16 @@ public: + * A reference to the document, or throw an exception if it is invalid. + * + * @return the document. +- * @exception invalid_json if the document is invalid or there was an error parsing it. ++ * @exception simdjson_error if the document is invalid or there was an error parsing it. + */ + operator document&() noexcept(false); + +- /** +- * Get the error message for the error. +- */ +- const std::string &get_error_message() const noexcept; +- + ~doc_ref_result()=default; + + private: + doc_ref_result(document &_doc, error_code _error) noexcept; + friend class document::parser; ++ friend class document::stream; + }; // class document::doc_ref_result + + /** +@@ -874,7 +902,7 @@ public: + * Read this element as a boolean. + * + * @return The boolean value +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a boolean. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a boolean. + */ + inline operator bool() const noexcept(false); + +@@ -885,7 +913,7 @@ public: + * an actual string. + * + * @return The string value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string. + */ + inline explicit operator const char*() const noexcept(false); + +@@ -896,7 +924,7 @@ public: + * an actual string. + * + * @return The string value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string. + */ + inline operator std::string_view() const noexcept(false); + +@@ -904,38 +932,38 @@ public: + * Read this element as an unsigned integer. + * + * @return The integer value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative + */ + inline operator uint64_t() const noexcept(false); + /** + * Read this element as an signed integer. + * + * @return The integer value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits + */ + inline operator int64_t() const noexcept(false); + /** + * Read this element as an double. + * + * @return The double value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a number +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a number ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative + */ + inline operator double() const noexcept(false); + /** + * Read this element as a JSON array. + * + * @return The JSON array. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array + */ + inline operator document::array() const noexcept(false); + /** + * Read this element as a JSON object (key/value pairs). + * + * @return The JSON object. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object + */ + inline operator document::object() const noexcept(false); + +@@ -1243,8 +1271,8 @@ private: + /** + * A persistent document parser. + * +- * Use this if you intend to parse more than one document. It holds the internal memory necessary +- * to do parsing, as well as memory for a single document that is overwritten on each parse. ++ * The parser is designed to be reused, holding the internal buffers necessary to do parsing, ++ * as well as memory for a single document. The parsed document is overwritten on each parse. + * + * This class cannot be copied, only moved, to avoid unintended allocations. + * +@@ -1253,9 +1281,20 @@ private: + class document::parser { + public: + /** +- * Create a JSON parser with zero capacity. Call allocate_capacity() to initialize it. ++ * Create a JSON parser. ++ * ++ * The new parser will have zero capacity. ++ * ++ * @param max_capacity The maximum document length the parser can automatically handle. The parser ++ * will allocate more capacity on an as needed basis (when it sees documents too big to handle) ++ * up to this amount. The parser still starts with zero capacity no matter what this number is: ++ * to allocate an initial capacity, call set_capacity() after constructing the parser. Defaults ++ * to SIMDJSON_MAXSIZE_BYTES (the largest single document simdjson can process). ++ * @param max_depth The maximum depth--number of nested objects and arrays--this parser can handle. ++ * This will not be allocated until parse() is called for the first time. Defaults to ++ * DEFAULT_MAX_DEPTH. + */ +- parser()=default; ++ really_inline parser(size_t max_capacity = SIMDJSON_MAXSIZE_BYTES, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept; + ~parser()=default; + + /** +@@ -1274,71 +1313,136 @@ public: + parser &operator=(const document::parser &) = delete; // Disallow copying + + /** +- * Parse a JSON document and return a reference to it. ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(buf, len); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### REQUIRED: Buffer Padding ++ * + * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, +- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged +- * and copied before parsing. ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding, ++ * and it is copied into an enlarged temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). + * + * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless + * realloc_if_needed is true. + * @param len The length of the JSON. + * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity, ++ * and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(buf, len); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### REQUIRED: Buffer Padding ++ * + * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, +- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged +- * and copied before parsing. ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding, ++ * and it is copied into an enlarged temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). + * + * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless + * realloc_if_needed is true. + * @param len The length of the JSON. + * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity, ++ * and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + really_inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(s); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### REQUIRED: Buffer Padding ++ * + * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size() +- * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing. ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If s.capacity() is less than SIMDJSON_PADDING, the string will be copied into an enlarged ++ * temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). + * + * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or + * a new string will be created with the extra padding. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if the string does not have enough padding or the parser does not have ++ * enough capacity, and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + really_inline doc_ref_result parse(const std::string &s) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(s); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * + * @param s The JSON to parse. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + really_inline doc_ref_result parse(const padded_string &s) noexcept; + +@@ -1346,24 +1450,337 @@ public: + really_inline doc_ref_result parse(const char *buf) noexcept = delete; + + /** +- * Current capacity: the largest document this parser can support without reallocating. ++ * Load a JSON document from a file and parse it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.load(filename); ++ * ++ * ### IMPORTANT: Document Lifetime ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() or load() again. ++ * ++ * @param filename The path to the JSON file to load. ++ * @return the document, or an error if the file cannot be opened or the JSON is invalid. ++ */ ++ really_inline doc_ref_result load(const std::string &filename) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param len The length of the concatenated JSON. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails. ++ */ ++ inline stream parse_many(const uint8_t *buf, size_t len, size_t batch_size = 1000000) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param len The length of the concatenated JSON. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const char *buf, size_t len, size_t batch_size = 1000000) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const std::string &s, size_t batch_size = 1000000) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param s The concatenated JSON to parse. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const padded_string &s, size_t batch_size = 1000000) noexcept; ++ ++ // We do not want to allow implicit conversion from C string to std::string. ++ really_inline doc_ref_result parse_many(const char *buf, size_t batch_size = 1000000) noexcept = delete; ++ ++ /** ++ * The largest document this parser can automatically support. ++ * ++ * The parser may reallocate internal buffers as needed up to this amount. ++ * ++ * @return Maximum capacity, in bytes. ++ */ ++ really_inline size_t max_capacity() const noexcept; ++ ++ /** ++ * The largest document this parser can support without reallocating. ++ * ++ * @return Current capacity, in bytes. + */ + really_inline size_t capacity() const noexcept; + + /** + * The maximum level of nested object and arrays supported by this parser. ++ * ++ * @return Maximum depth, in bytes. + */ + really_inline size_t max_depth() const noexcept; + ++ /** ++ * Set max_capacity. This is the largest document this parser can automatically support. ++ * ++ * The parser may reallocate internal buffers as needed up to this amount. ++ * ++ * This call will not allocate or deallocate, even if capacity is currently above max_capacity. ++ * ++ * @param max_capacity The new maximum capacity, in bytes. ++ */ ++ really_inline void set_max_capacity(size_t max_capacity) noexcept; ++ ++ /** ++ * Set capacity. This is the largest document this parser can support without reallocating. ++ * ++ * This will allocate or deallocate as necessary. ++ * ++ * @param capacity The new capacity, in bytes. ++ * ++ * @return MEMALLOC if unsuccessful, SUCCESS otherwise. ++ */ ++ WARN_UNUSED inline error_code set_capacity(size_t capacity) noexcept; ++ ++ /** ++ * Set the maximum level of nested object and arrays supported by this parser. ++ * ++ * This will allocate or deallocate as necessary. ++ * ++ * @param max_depth The new maximum depth, in bytes. ++ * ++ * @return MEMALLOC if unsuccessful, SUCCESS otherwise. ++ */ ++ WARN_UNUSED inline error_code set_max_depth(size_t max_depth) noexcept; ++ + /** + * Ensure this parser has enough memory to process JSON documents up to `capacity` bytes in length + * and `max_depth` depth. ++ * ++ * Equivalent to calling set_capacity() and set_max_depth(). ++ * ++ * @param capacity The new capacity. ++ * @param max_depth The new max_depth. Defaults to DEFAULT_MAX_DEPTH. ++ * @return true if successful, false if allocation failed. + */ +- WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH); ++ WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept; + + // type aliases for backcompat + using Iterator = document::iterator; +- using InvalidJSON = invalid_json; ++ using InvalidJSON = simdjson_error; + + // Next location to write to in the tape + uint32_t current_loc{0}; +@@ -1434,13 +1851,6 @@ public: + really_inline bool on_number_s64(int64_t value) noexcept; + really_inline bool on_number_u64(uint64_t value) noexcept; + really_inline bool on_number_double(double value) noexcept; +- // +- // Called before a parse is initiated. +- // +- // - Returns CAPACITY if the document is too large +- // - Returns MEMALLOC if we needed to allocate memory and could not +- // +- WARN_UNUSED inline error_code init_parse(size_t len) noexcept; + + private: + // +@@ -1450,12 +1860,19 @@ private: + // + size_t _capacity{0}; + ++ // ++ // The maximum document length this parser will automatically support. ++ // ++ // The parser will not be automatically allocated above this amount. ++ // ++ size_t _max_capacity; ++ + // + // The maximum depth (number of nested objects and arrays) supported by this parser. + // + // Defaults to DEFAULT_MAX_DEPTH. + // +- size_t _max_depth{0}; ++ size_t _max_depth; + + // all nodes are stored on the doc.tape using a 64-bit word. + // +@@ -1474,28 +1891,15 @@ private: + inline void write_tape(uint64_t val, tape_type t) noexcept; + inline void annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept; + +- // +- // Set the current capacity: the largest document this parser can support without reallocating. +- // +- // This will allocate *or deallocate* as necessary. +- // +- // Returns false if allocation fails. +- // +- inline WARN_UNUSED bool set_capacity(size_t capacity); +- +- // +- // Set the maximum level of nested object and arrays supported by this parser. +- // +- // This will allocate *or deallocate* as necessary. +- // +- // Returns false if allocation fails. +- // +- inline WARN_UNUSED bool set_max_depth(size_t max_depth); ++ // Ensure we have enough capacity to handle at least desired_capacity bytes, ++ // and auto-allocate if not. ++ inline error_code ensure_capacity(size_t desired_capacity) noexcept; + + // Used internally to get the document + inline const document &get_document() const noexcept(false); + + template friend class document_iterator; ++ friend class document::stream; + }; // class parser + + } // namespace simdjson +@@ -1541,7 +1945,7 @@ public: + virtual uint32_t required_instruction_sets() const { return _required_instruction_sets; }; + + /** +- * Run a full document parse (init_parse, stage1 and stage2). ++ * Run a full document parse (ensure_capacity, stage1 and stage2). + * + * Overridden by each implementation. + * +@@ -1560,7 +1964,7 @@ public: + * @param buf the json document to parse. *MUST* be allocated up to len + SIMDJSON_PADDING bytes. + * @param len the length of the json document. + * @param parser the parser with the buffers to use. *MUST* have allocated up to at least len capacity. +- * @param streaming whether this is being called by a JsonStream parser. ++ * @param streaming whether this is being called by document::parser::parse_many. + * @return the error code, or SUCCESS if there was no error. + */ + WARN_UNUSED virtual error_code stage1(const uint8_t *buf, size_t len, document::parser &parser, bool streaming) const noexcept = 0; +@@ -1578,7 +1982,7 @@ public: + WARN_UNUSED virtual error_code stage2(const uint8_t *buf, size_t len, document::parser &parser) const noexcept = 0; + + /** +- * Stage 2 of the document parser for JsonStream. ++ * Stage 2 of the document parser for document::parser::parse_many. + * + * Overridden by each implementation. + * +@@ -1731,92 +2135,94 @@ inline internal::atomic_ptr active_implementation = &inter + + #endif // SIMDJSON_IMPLEMENTATION_H + /* end file include/simdjson/simdjson.h */ +-/* begin file include/simdjson/jsonstream.h */ +-#ifndef SIMDJSON_JSONSTREAM_H +-#define SIMDJSON_JSONSTREAM_H ++/* begin file include/simdjson/document_stream.h */ ++#ifndef SIMDJSON_DOCUMENT_STREAM_H ++#define SIMDJSON_DOCUMENT_STREAM_H + + #include + + namespace simdjson { + +-/************************************************************************************* +- * The main motivation for this piece of software is to achieve maximum speed +- *and offer +- * good quality of life while parsing files containing multiple JSON documents. ++template class JsonStream; ++ ++/** ++ * A forward-only stream of documents. + * +- * Since we want to offer flexibility and not restrict ourselves to a specific +- *file +- * format, we support any file that contains any valid JSON documents separated +- *by one +- * or more character that is considered a whitespace by the JSON spec. +- * Namely: space, nothing, linefeed, carriage return, horizontal tab. +- * Anything that is not whitespace will be parsed as a JSON document and could +- *lead +- * to failure. ++ * Produced by document::parser::parse_many. + * +- * To offer maximum parsing speed, our implementation processes the data inside +- *the +- * buffer by batches and their size is defined by the parameter "batch_size". +- * By loading data in batches, we can optimize the time spent allocating data in +- *the +- * parser and can also open the possibility of multi-threading. +- * The batch_size must be at least as large as the biggest document in the file, +- *but +- * not too large in order to submerge the chached memory. We found that 1MB is +- * somewhat a sweet spot for now. Eventually, this batch_size could be fully +- * automated and be optimal at all times. +- ************************************************************************************/ +-/** +-* The template parameter (string_container) must +-* support the data() and size() methods, returning a pointer +-* to a char* and to the number of bytes respectively. +-* The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end +-* of the string, so if you do not use a padded_string container, +-* you have the responsability to overallocated. If you fail to +-* do so, your software may crash if you cross a page boundary, +-* and you should expect memory checkers to object. +-* Most users should use a simdjson::padded_string. +-*/ +-template class JsonStream { ++ */ ++class document::stream { + public: +- /* Create a JsonStream object that can be used to parse sequentially the valid +- * JSON documents found in the buffer "buf". +- * +- * The batch_size must be at least as large as the biggest document in the +- * file, but +- * not too large to submerge the cached memory. We found that 1MB is +- * somewhat a sweet spot for now. +- * +- * The user is expected to call the following json_parse method to parse the +- * next +- * valid JSON document found in the buffer. This method can and is expected +- * to be +- * called in a loop. ++ really_inline ~stream() noexcept; ++ ++ /** ++ * Take another stream's buffers and state. + * +- * Various methods are offered to keep track of the status, like +- * get_current_buffer_loc, +- * get_n_parsed_docs, get_n_bytes_parsed, etc. ++ * @param other The stream to take. Its capacity is zeroed. ++ */ ++ stream(document::stream &&other) = default; ++ stream(const document::stream &) = delete; // Disallow copying ++ /** ++ * Take another stream's buffers and state. + * +- * */ +- JsonStream(const string_container &s, size_t batch_size = 1000000); ++ * @param other The stream to take. Its capacity is zeroed. ++ */ ++ stream &operator=(document::stream &&other) = default; ++ stream &operator=(const document::stream &) = delete; // Disallow copying ++ ++ /** ++ * An iterator through a forward-only stream of documents. ++ */ ++ class iterator { ++ public: ++ /** ++ * Get the current document (or error). ++ */ ++ really_inline doc_ref_result operator*() noexcept; ++ /** ++ * Advance to the next document. ++ */ ++ inline iterator& operator++() noexcept; ++ /** ++ * Check if we're at the end yet. ++ * @param other the end iterator to compare to. ++ */ ++ really_inline bool operator!=(const iterator &other) const noexcept; + +- ~JsonStream(); ++ private: ++ iterator(stream& stream, bool finished) noexcept; ++ /** The stream parser we're iterating through. */ ++ stream& _stream; ++ /** Whether we're finished or not. */ ++ bool finished; ++ friend class stream; ++ }; + +- /* Parse the next document found in the buffer previously given to JsonStream. ++ /** ++ * Start iterating the documents in the stream. ++ */ ++ really_inline iterator begin() noexcept; ++ /** ++ * The end of the stream, for iterator comparison purposes. ++ */ ++ really_inline iterator end() noexcept; ++ ++private: ++ really_inline stream(document::parser &parser, const uint8_t *buf, size_t len, size_t batch_size = 1000000) noexcept; + ++ /** ++ * Parse the next document found in the buffer previously given to stream. ++ * + * The content should be a valid JSON document encoded as UTF-8. If there is a + * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are + * discouraged. + * + * You do NOT need to pre-allocate a parser. This function takes care of +- * pre-allocating a capacity defined by the batch_size defined when creating +- the +- * JsonStream object. ++ * pre-allocating a capacity defined by the batch_size defined when creating the ++ * stream object. + * +- * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in +- case +- * of success and indicates that the buffer still contains more data to be +- parsed, ++ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in case ++ * of success and indicates that the buffer still contains more data to be parsed, + * meaning this function can be called again to return the next JSON document + * after this one. + * +@@ -1824,43 +2230,46 @@ public: + * and indicates that the buffer has successfully been parsed to the end. + * Every document it contained has been parsed without error. + * +- * The function returns an error code from simdjson/simdjson.h in case of +- failure +- * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and +- so forth; +- * the simdjson::error_message function converts these error codes into a +- * string). ++ * The function returns an error code from simdjson/simdjson.h in case of failure ++ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth; ++ * the simdjson::error_message function converts these error codes into a string). + * +- * You can also check validity by calling parser.is_valid(). The same parser +- can ++ * You can also check validity by calling parser.is_valid(). The same parser can + * and should be reused for the other documents in the buffer. */ +- int json_parse(document::parser &parser); ++ inline error_code json_parse() noexcept; + +- /* Returns the location (index) of where the next document should be in the ++ /** ++ * Returns the location (index) of where the next document should be in the + * buffer. + * Can be used for debugging, it tells the user the position of the end of the + * last +- * valid JSON document parsed*/ ++ * valid JSON document parsed ++ */ + inline size_t get_current_buffer_loc() const { return current_buffer_loc; } + +- /* Returns the total amount of complete documents parsed by the JsonStream, +- * in the current buffer, at the given time.*/ ++ /** ++ * Returns the total amount of complete documents parsed by the stream, ++ * in the current buffer, at the given time. ++ */ + inline size_t get_n_parsed_docs() const { return n_parsed_docs; } + +- /* Returns the total amount of data (in bytes) parsed by the JsonStream, +- * in the current buffer, at the given time.*/ ++ /** ++ * Returns the total amount of data (in bytes) parsed by the stream, ++ * in the current buffer, at the given time. ++ */ + inline size_t get_n_bytes_parsed() const { return n_bytes_parsed; } + +-private: +- inline const uint8_t *buf() const { return reinterpret_cast(str.data()) + str_start; } ++ inline const uint8_t *buf() const { return _buf + buf_start; } + +- inline void advance(size_t offset) { str_start += offset; } ++ inline void advance(size_t offset) { buf_start += offset; } + +- inline size_t remaining() const { return str.size() - str_start; } ++ inline size_t remaining() const { return _len - buf_start; } + +- const string_container &str; ++ document::parser &parser; ++ const uint8_t *_buf; ++ const size_t _len; + size_t _batch_size; // this is actually variable! +- size_t str_start{0}; ++ size_t buf_start{0}; + size_t next_json{0}; + bool load_next_batch{true}; + size_t current_buffer_loc{0}; +@@ -1869,17 +2278,19 @@ private: + #endif + size_t n_parsed_docs{0}; + size_t n_bytes_parsed{0}; +- simdjson::implementation *stage_parser; ++ error_code error{SUCCESS_AND_HAS_MORE}; + #ifdef SIMDJSON_THREADS_ENABLED + error_code stage1_is_ok_thread{SUCCESS}; + std::thread stage_1_thread; + document::parser parser_thread; + #endif +-}; // end of class JsonStream ++ template friend class JsonStream; ++ friend class document::parser; ++}; // class document::stream + + } // end of namespace simdjson +-#endif // SIMDJSON_JSONSTREAM_H +-/* end file include/simdjson/jsonstream.h */ ++#endif // SIMDJSON_DOCUMENT_STREAM_H ++/* end file include/simdjson/document_stream.h */ + /* begin file include/simdjson/jsonminifier.h */ + #ifndef SIMDJSON_JSONMINIFIER_H + #define SIMDJSON_JSONMINIFIER_H +@@ -2336,20 +2747,19 @@ using ParsedJson = document::parser; + + namespace simdjson { + +-// load a file in memory... +-// get a corpus; pad out to cache line so we can always use SIMD +-// throws exceptions in case of failure +-// first element of the pair is a string (null terminated) +-// whereas the second element is the length. +-// caller is responsible to free (aligned_free((void*)result.data()))) +-// +-// throws an exception if the file cannot be opened, use try/catch +-// try { +-// p = get_corpus(filename); +-// } catch (const std::exception& e) { +-// aligned_free((void*)p.data()); +-// std::cout << "Could not load the file " << filename << std::endl; +-// } ++/** ++ * Load a file into memory, padded to cache line boundaries for SIMD processing. ++ * ++ * @deprecated Use parser.load(filename) instead. ++ * ++ * throws an exception if the file cannot be opened, use try/catch ++ * try { ++ * p = get_corpus(filename); ++ * } catch (const std::exception& e) { ++ * aligned_free((void*)p.data()); ++ * std::cout << "Could not load the file " << filename << std::endl; ++ * } ++ */ + padded_string get_corpus(const std::string &filename); + } // namespace simdjson + +@@ -2384,11 +2794,6 @@ inline int json_parse(const padded_string &s, document::parser &parser) noexcept + + WARN_UNUSED static document::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept { + document::parser parser; +- if (!parser.allocate_capacity(len)) { +- parser.valid = false; +- parser.error = MEMALLOC; +- return parser; +- } + json_parse(buf, len, parser, realloc_if_needed); + return parser; + } +@@ -2410,6 +2815,131 @@ document::parser build_parsed_json(const char *buf) noexcept = delete; + + #endif + /* end file include/simdjson/jsonioutil.h */ ++/* begin file include/simdjson/jsonstream.h */ ++// TODO Remove this -- deprecated API and files ++ ++#ifndef SIMDJSON_JSONSTREAM_H ++#define SIMDJSON_JSONSTREAM_H ++ ++ ++namespace simdjson { ++ ++/** ++ * @deprecated use document::stream instead. ++ * ++ * The main motivation for this piece of software is to achieve maximum speed and offer ++ * good quality of life while parsing files containing multiple JSON documents. ++ * ++ * Since we want to offer flexibility and not restrict ourselves to a specific file ++ * format, we support any file that contains any valid JSON documents separated by one ++ * or more character that is considered a whitespace by the JSON spec. ++ * Namely: space, nothing, linefeed, carriage return, horizontal tab. ++ * Anything that is not whitespace will be parsed as a JSON document and could lead ++ * to failure. ++ * ++ * To offer maximum parsing speed, our implementation processes the data inside the ++ * buffer by batches and their size is defined by the parameter "batch_size". ++ * By loading data in batches, we can optimize the time spent allocating data in the ++ * parser and can also open the possibility of multi-threading. ++ * The batch_size must be at least as large as the biggest document in the file, but ++ * not too large in order to submerge the chached memory. We found that 1MB is ++ * somewhat a sweet spot for now. Eventually, this batch_size could be fully ++ * automated and be optimal at all times. ++ * ++ * The template parameter (string_container) must ++ * support the data() and size() methods, returning a pointer ++ * to a char* and to the number of bytes respectively. ++ * The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end ++ * of the string, so if you do not use a padded_string container, ++ * you have the responsability to overallocated. If you fail to ++ * do so, your software may crash if you cross a page boundary, ++ * and you should expect memory checkers to object. ++ * Most users should use a simdjson::padded_string. ++ */ ++template class JsonStream { ++public: ++ /* Create a JsonStream object that can be used to parse sequentially the valid ++ * JSON documents found in the buffer "buf". ++ * ++ * The batch_size must be at least as large as the biggest document in the ++ * file, but ++ * not too large to submerge the cached memory. We found that 1MB is ++ * somewhat a sweet spot for now. ++ * ++ * The user is expected to call the following json_parse method to parse the ++ * next ++ * valid JSON document found in the buffer. This method can and is expected ++ * to be ++ * called in a loop. ++ * ++ * Various methods are offered to keep track of the status, like ++ * get_current_buffer_loc, ++ * get_n_parsed_docs, get_n_bytes_parsed, etc. ++ * ++ * */ ++ JsonStream(const string_container &s, size_t _batch_size = 1000000) noexcept; ++ ++ ~JsonStream() noexcept; ++ ++ /* Parse the next document found in the buffer previously given to JsonStream. ++ ++ * The content should be a valid JSON document encoded as UTF-8. If there is a ++ * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are ++ * discouraged. ++ * ++ * You do NOT need to pre-allocate a parser. This function takes care of ++ * pre-allocating a capacity defined by the batch_size defined when creating ++ the ++ * JsonStream object. ++ * ++ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in ++ case ++ * of success and indicates that the buffer still contains more data to be ++ parsed, ++ * meaning this function can be called again to return the next JSON document ++ * after this one. ++ * ++ * The function returns simdjson::SUCCESS (as integer = 0) in case of success ++ * and indicates that the buffer has successfully been parsed to the end. ++ * Every document it contained has been parsed without error. ++ * ++ * The function returns an error code from simdjson/simdjson.h in case of ++ failure ++ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and ++ so forth; ++ * the simdjson::error_message function converts these error codes into a ++ * string). ++ * ++ * You can also check validity by calling parser.is_valid(). The same parser ++ can ++ * and should be reused for the other documents in the buffer. */ ++ int json_parse(document::parser &parser) noexcept; ++ ++ /* Returns the location (index) of where the next document should be in the ++ * buffer. ++ * Can be used for debugging, it tells the user the position of the end of the ++ * last ++ * valid JSON document parsed*/ ++ inline size_t get_current_buffer_loc() const noexcept { return stream ? stream->current_buffer_loc : 0; } ++ ++ /* Returns the total amount of complete documents parsed by the JsonStream, ++ * in the current buffer, at the given time.*/ ++ inline size_t get_n_parsed_docs() const noexcept { return stream ? stream->n_parsed_docs : 0; } ++ ++ /* Returns the total amount of data (in bytes) parsed by the JsonStream, ++ * in the current buffer, at the given time.*/ ++ inline size_t get_n_bytes_parsed() const noexcept { return stream ? stream->n_bytes_parsed : 0; } ++ ++private: ++ const string_container &str; ++ const size_t batch_size; ++ document::stream *stream{nullptr}; ++}; // end of class JsonStream ++ ++} // end of namespace simdjson ++ ++#endif // SIMDJSON_JSONSTREAM_H ++/* end file include/simdjson/jsonstream.h */ + + // Inline functions + /* begin file include/simdjson/inline/document.h */ +@@ -2431,32 +2961,32 @@ template + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} + template<> + inline document::element_result::operator std::string_view() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator const char *() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator bool() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator uint64_t() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator int64_t() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator double() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + +@@ -2466,15 +2996,15 @@ inline document::element_result::operator double() const noexcept(false) + inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {} + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} + inline document::element_result::operator document::array() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + inline document::array::iterator document::element_result::begin() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.begin(); + } + inline document::array::iterator document::element_result::end() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.end(); + } + +@@ -2484,7 +3014,7 @@ inline document::array::iterator document::element_result::end( + inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {} + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} + inline document::element_result::operator document::object() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept { +@@ -2496,11 +3026,11 @@ inline document::element_result document::element_result::begin() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.begin(); + } + inline document::object::iterator document::element_result::end() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.end(); + } + +@@ -2609,28 +3139,25 @@ inline document::element_result document::operator[](const ch + + inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { + document::parser parser; +- if (!parser.allocate_capacity(len)) { +- return MEMALLOC; +- } + auto [doc, error] = parser.parse(buf, len, realloc_if_needed); + return document::doc_result((document &&)doc, error); + } + really_inline document::doc_result document::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept { +- return parse((const uint8_t *)buf, len, realloc_if_needed); ++ return parse((const uint8_t *)buf, len, realloc_if_needed); + } + really_inline document::doc_result document::parse(const std::string &s) noexcept { +- return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING); ++ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING); + } + really_inline document::doc_result document::parse(const padded_string &s) noexcept { +- return parse(s.data(), s.length(), false); ++ return parse(s.data(), s.length(), false); + } + + WARN_UNUSED +-inline bool document::set_capacity(size_t capacity) { ++inline error_code document::set_capacity(size_t capacity) noexcept { + if (capacity == 0) { + string_buf.reset(); + tape.reset(); +- return true; ++ return SUCCESS; + } + + // a pathological input like "[[[[..." would generate len tape elements, so +@@ -2644,7 +3171,7 @@ inline bool document::set_capacity(size_t capacity) { + size_t string_capacity = ROUNDUP_N(5 * capacity / 3 + 32, 64); + string_buf.reset( new (std::nothrow) uint8_t[string_capacity]); + tape.reset(new (std::nothrow) uint64_t[tape_capacity]); +- return string_buf && tape; ++ return string_buf && tape ? SUCCESS : MEMALLOC; + } + + inline bool document::print_json(std::ostream &os, size_t max_depth) const noexcept { +@@ -2852,13 +3379,10 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { } + inline document::doc_ref_result::operator document&() noexcept(false) { + if (error) { +- throw invalid_json(error); ++ throw simdjson_error(error); + } + return doc; + } +-inline const std::string &document::doc_ref_result::get_error_message() const noexcept { +- return error_message(error); +-} + + // + // document::doc_result inline implementation +@@ -2868,20 +3392,21 @@ inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::mov + inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { } + inline document::doc_result::operator document() noexcept(false) { + if (error) { +- throw invalid_json(error); ++ throw simdjson_error(error); + } + return std::move(doc); + } +-inline const std::string &document::doc_result::get_error_message() const noexcept { +- return error_message(error); +-} + + // + // document::parser inline implementation + // ++really_inline document::parser::parser(size_t max_capacity, size_t max_depth) noexcept ++ : _max_capacity{max_capacity}, _max_depth{max_depth} { ++ ++} + inline bool document::parser::is_valid() const noexcept { return valid; } + inline int document::parser::get_error_code() const noexcept { return error; } +-inline std::string document::parser::get_error_message() const noexcept { return error_message(error); } ++inline std::string document::parser::get_error_message() const noexcept { return error_message(int(error)); } + inline bool document::parser::print_json(std::ostream &os) const noexcept { + return is_valid() ? doc.print_json(os) : false; + } +@@ -2890,13 +3415,13 @@ inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept { + } + inline const document &document::parser::get_document() const noexcept(false) { + if (!is_valid()) { +- throw invalid_json(error); ++ throw simdjson_error(error); + } + return doc; + } + + inline document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { +- error_code code = init_parse(len); ++ error_code code = ensure_capacity(len); + if (code) { return document::doc_ref_result(doc, code); } + + if (realloc_if_needed) { +@@ -2927,20 +3452,43 @@ really_inline document::doc_ref_result document::parser::parse(const padded_stri + return parse(s.data(), s.length(), false); + } + ++really_inline document::doc_ref_result document::parser::load(const std::string &filename) noexcept { ++ padded_string s; ++ try { ++ s = get_corpus(filename); ++ } catch (...) { ++ return document::doc_ref_result(doc, IO_ERROR); ++ } ++ return parse(s); ++} ++ ++inline document::stream document::parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { ++ return stream(*this, buf, len, batch_size); ++} ++inline document::stream document::parser::parse_many(const char *buf, size_t len, size_t batch_size) noexcept { ++ return parse_many((const uint8_t *)buf, len, batch_size); ++} ++inline document::stream document::parser::parse_many(const std::string &s, size_t batch_size) noexcept { ++ return parse_many(s.data(), s.length(), batch_size); ++} ++inline document::stream document::parser::parse_many(const padded_string &s, size_t batch_size) noexcept { ++ return parse_many(s.data(), s.length(), batch_size); ++} ++ + really_inline size_t document::parser::capacity() const noexcept { + return _capacity; + } ++really_inline size_t document::parser::max_capacity() const noexcept { ++ return _max_capacity; ++} + really_inline size_t document::parser::max_depth() const noexcept { + return _max_depth; + } +-WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) { +- return set_capacity(capacity) && set_max_depth(max_depth); +-} + + WARN_UNUSED +-inline bool document::parser::set_capacity(size_t capacity) { ++inline error_code document::parser::set_capacity(size_t capacity) noexcept { + if (_capacity == capacity) { +- return true; ++ return SUCCESS; + } + + // Set capacity to 0 until we finish, in case there's an error +@@ -2949,16 +3497,15 @@ inline bool document::parser::set_capacity(size_t capacity) { + // + // Reallocate the document + // +- if (!doc.set_capacity(capacity)) { +- return false; +- } ++ error_code err = doc.set_capacity(capacity); ++ if (err) { return err; } + + // + // Don't allocate 0 bytes, just return. + // + if (capacity == 0) { + structural_indexes.reset(); +- return true; ++ return SUCCESS; + } + + // +@@ -2967,20 +3514,26 @@ inline bool document::parser::set_capacity(size_t capacity) { + uint32_t max_structures = ROUNDUP_N(capacity, 64) + 2 + 7; + structural_indexes.reset( new (std::nothrow) uint32_t[max_structures]); // TODO realloc + if (!structural_indexes) { +- return false; ++ return MEMALLOC; + } + + _capacity = capacity; +- return true; ++ return SUCCESS; ++} ++ ++really_inline void document::parser::set_max_capacity(size_t max_capacity) noexcept { ++ _max_capacity = max_capacity; + } + +-WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) { ++WARN_UNUSED inline error_code document::parser::set_max_depth(size_t max_depth) noexcept { ++ if (max_depth == _max_depth && ret_address) { return SUCCESS; } ++ + _max_depth = 0; + + if (max_depth == 0) { + ret_address.reset(); + containing_scope_offset.reset(); +- return true; ++ return SUCCESS; + } + + // +@@ -2995,24 +3548,38 @@ WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) { + + if (!ret_address || !containing_scope_offset) { + // Could not allocate memory +- return false; ++ return MEMALLOC; + } + + _max_depth = max_depth; +- return true; ++ return SUCCESS; + } + +-WARN_UNUSED +-inline error_code document::parser::init_parse(size_t len) noexcept { +- if (len > capacity()) { +- return error = CAPACITY; ++WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) noexcept { ++ return !set_capacity(capacity) && !set_max_depth(max_depth); ++} ++ ++inline error_code document::parser::ensure_capacity(size_t desired_capacity) noexcept { ++ // If we don't have enough capacity, (try to) automatically bump it. ++ if (unlikely(desired_capacity > capacity())) { ++ if (desired_capacity > max_capacity()) { ++ return error = CAPACITY; ++ } ++ ++ error = set_capacity(desired_capacity); ++ if (error) { return error; } + } ++ ++ // Allocate depth-based buffers if they aren't already. ++ error = set_max_depth(max_depth()); ++ if (error) { return error; } ++ + // If the last doc was taken, we need to allocate a new one + if (!doc.tape) { +- if (!doc.set_capacity(len)) { +- return error = MEMALLOC; +- } ++ error = doc.set_capacity(desired_capacity); ++ if (error) { return error; } + } ++ + return SUCCESS; + } + +@@ -3782,9 +4349,9 @@ bool document_iterator::relative_move_to(const char *pointer, + + #endif // SIMDJSON_INLINE_DOCUMENT_ITERATOR_H + /* end file include/simdjson/inline/document_iterator.h */ +-/* begin file include/simdjson/inline/jsonstream.h */ +-#ifndef SIMDJSON_INLINE_JSONSTREAM_H +-#define SIMDJSON_INLINE_JSONSTREAM_H ++/* begin file include/simdjson/inline/document_stream.h */ ++#ifndef SIMDJSON_INLINE_DOCUMENT_STREAM_H ++#define SIMDJSON_INLINE_DOCUMENT_STREAM_H + + #include + #include +@@ -3793,7 +4360,8 @@ bool document_iterator::relative_move_to(const char *pointer, + + namespace simdjson::internal { + +-/* This algorithm is used to quickly identify the buffer position of ++/** ++ * This algorithm is used to quickly identify the buffer position of + * the last JSON document inside the current batch. + * + * It does its work by finding the last pair of structural characters +@@ -3880,13 +4448,16 @@ static inline size_t trimmed_length_safe_utf8(const char * c, size_t len) { + + namespace simdjson { + +-template +-JsonStream::JsonStream(const string_container &s, +- size_t batchSize) +- : str(s), _batch_size(batchSize) { ++really_inline document::stream::stream( ++ document::parser &_parser, ++ const uint8_t *buf, ++ size_t len, ++ size_t batch_size ++) noexcept : parser{_parser}, _buf{buf}, _len{len}, _batch_size(batch_size) { ++ error = json_parse(); + } + +-template JsonStream::~JsonStream() { ++inline document::stream::~stream() noexcept { + #ifdef SIMDJSON_THREADS_ENABLED + if (stage_1_thread.joinable()) { + stage_1_thread.join(); +@@ -3894,42 +4465,61 @@ template JsonStream::~JsonStream() { + #endif + } + ++really_inline document::stream::iterator document::stream::begin() noexcept { ++ return iterator(*this, false); ++} ++ ++really_inline document::stream::iterator document::stream::end() noexcept { ++ return iterator(*this, true); ++} ++ ++really_inline document::stream::iterator::iterator(stream& stream, bool _is_end) noexcept ++ : _stream{stream}, finished{_is_end} { ++} ++ ++really_inline document::doc_ref_result document::stream::iterator::operator*() noexcept { ++ return doc_ref_result(_stream.parser.doc, _stream.error == SUCCESS_AND_HAS_MORE ? SUCCESS : _stream.error); ++} ++ ++really_inline document::stream::iterator& document::stream::iterator::operator++() noexcept { ++ if (_stream.error == SUCCESS_AND_HAS_MORE) { ++ _stream.error = _stream.json_parse(); ++ } else { ++ finished = true; ++ } ++ return *this; ++} ++ ++really_inline bool document::stream::iterator::operator!=(const document::stream::iterator &other) const noexcept { ++ return finished != other.finished; ++} ++ + #ifdef SIMDJSON_THREADS_ENABLED + + // threaded version of json_parse + // todo: simplify this code further +-template +-int JsonStream::json_parse(document::parser &parser) { +- if (unlikely(parser.capacity() == 0)) { +- const bool allocok = parser.allocate_capacity(_batch_size); +- if (!allocok) { +- return parser.error = simdjson::MEMALLOC; +- } +- } else if (unlikely(parser.capacity() < _batch_size)) { +- return parser.error = simdjson::CAPACITY; +- } +- if (unlikely(parser_thread.capacity() < _batch_size)) { +- const bool allocok_thread = parser_thread.allocate_capacity(_batch_size); +- if (!allocok_thread) { +- return parser.error = simdjson::MEMALLOC; +- } +- } ++inline error_code document::stream::json_parse() noexcept { ++ error = parser.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ error = parser_thread.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ + if (unlikely(load_next_batch)) { + // First time loading + if (!stage_1_thread.joinable()) { + _batch_size = (std::min)(_batch_size, remaining()); + _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size); + if (_batch_size == 0) { +- return parser.error = simdjson::UTF8_ERROR; ++ return simdjson::UTF8_ERROR; + } + auto stage1_is_ok = error_code(simdjson::active_implementation->stage1(buf(), _batch_size, parser, true)); + if (stage1_is_ok != simdjson::SUCCESS) { +- return parser.error = stage1_is_ok; ++ return stage1_is_ok; + } + size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser); + if (last_index == 0) { + if (parser.n_structural_indexes == 0) { +- return parser.error = simdjson::EMPTY; ++ return simdjson::EMPTY; + } + } else { + parser.n_structural_indexes = last_index + 1; +@@ -3939,7 +4529,7 @@ int JsonStream::json_parse(document::parser &parser) { + else { + stage_1_thread.join(); + if (stage1_is_ok_thread != simdjson::SUCCESS) { +- return parser.error = stage1_is_ok_thread; ++ return stage1_is_ok_thread; + } + std::swap(parser.structural_indexes, parser_thread.structural_indexes); + parser.n_structural_indexes = parser_thread.n_structural_indexes; +@@ -3955,7 +4545,7 @@ int JsonStream::json_parse(document::parser &parser) { + _batch_size = internal::trimmed_length_safe_utf8( + (const char *)(buf() + last_json_buffer_loc), _batch_size); + if (_batch_size == 0) { +- return parser.error = simdjson::UTF8_ERROR; ++ return simdjson::UTF8_ERROR; + } + // let us capture read-only variables + const uint8_t *const b = buf() + last_json_buffer_loc; +@@ -3971,7 +4561,7 @@ int JsonStream::json_parse(document::parser &parser) { + next_json = 0; + load_next_batch = false; + } // load_next_batch +- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); ++ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); + if (res == simdjson::SUCCESS_AND_HAS_MORE) { + n_parsed_docs++; + current_buffer_loc = parser.structural_indexes[next_json]; +@@ -3990,18 +4580,10 @@ int JsonStream::json_parse(document::parser &parser) { + #else // SIMDJSON_THREADS_ENABLED + + // single-threaded version of json_parse +-template +-int JsonStream::json_parse(document::parser &parser) { +- if (unlikely(parser.capacity() == 0)) { +- const bool allocok = parser.allocate_capacity(_batch_size); +- if (!allocok) { +- parser.valid = false; +- return parser.error = MEMALLOC; +- } +- } else if (unlikely(parser.capacity() < _batch_size)) { +- parser.valid = false; +- return parser.error = CAPACITY; +- } ++inline error_code document::stream::json_parse() noexcept { ++ error = parser.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ + if (unlikely(load_next_batch)) { + advance(current_buffer_loc); + n_bytes_parsed += current_buffer_loc; +@@ -4009,21 +4591,19 @@ int JsonStream::json_parse(document::parser &parser) { + _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size); + auto stage1_is_ok = (error_code)simdjson::active_implementation->stage1(buf(), _batch_size, parser, true); + if (stage1_is_ok != simdjson::SUCCESS) { +- parser.valid = false; +- return parser.error = stage1_is_ok; ++ return stage1_is_ok; + } + size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser); + if (last_index == 0) { + if (parser.n_structural_indexes == 0) { +- parser.valid = false; +- return parser.error = EMPTY; ++ return EMPTY; + } + } else { + parser.n_structural_indexes = last_index + 1; + } + load_next_batch = false; + } // load_next_batch +- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); ++ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); + if (likely(res == simdjson::SUCCESS_AND_HAS_MORE)) { + n_parsed_docs++; + current_buffer_loc = parser.structural_indexes[next_json]; +@@ -4035,14 +4615,107 @@ int JsonStream::json_parse(document::parser &parser) { + load_next_batch = true; + res = simdjson::SUCCESS_AND_HAS_MORE; + } +- } else { +- printf("E\n"); + } + return res; + } + #endif // SIMDJSON_THREADS_ENABLED + + } // end of namespace simdjson ++#endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H ++/* end file include/simdjson/inline/document_stream.h */ ++/* begin file include/simdjson/inline/error.h */ ++#ifndef SIMDJSON_INLINE_ERROR_H ++#define SIMDJSON_INLINE_ERROR_H ++ ++#include ++ ++namespace simdjson::internal { ++ // We store the error code so we can validate the error message is associated with the right code ++ struct error_code_info { ++ error_code code; ++ std::string message; ++ }; ++ // These MUST match the codes in error_code. We check this constraint in basictests. ++ inline const error_code_info error_codes[] { ++ { SUCCESS, "No error" }, ++ { SUCCESS_AND_HAS_MORE, "No error and buffer still has more data" }, ++ { CAPACITY, "This parser can't support a document that big" }, ++ { MEMALLOC, "Error allocating memory, we're most likely out of memory" }, ++ { TAPE_ERROR, "Something went wrong while writing to the tape" }, ++ { DEPTH_ERROR, "The JSON document was too deep (too many nested objects and arrays)" }, ++ { STRING_ERROR, "Problem while parsing a string" }, ++ { T_ATOM_ERROR, "Problem while parsing an atom starting with the letter 't'" }, ++ { F_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'f'" }, ++ { N_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'n'" }, ++ { NUMBER_ERROR, "Problem while parsing a number" }, ++ { UTF8_ERROR, "The input is not valid UTF-8" }, ++ { UNINITIALIZED, "Uninitialized" }, ++ { EMPTY, "Empty: no JSON found" }, ++ { UNESCAPED_CHARS, "Within strings, some characters must be escaped, we found unescaped characters" }, ++ { UNCLOSED_STRING, "A string is opened, but never closed." }, ++ { UNSUPPORTED_ARCHITECTURE, "simdjson does not have an implementation supported by this CPU architecture (perhaps it's a non-SIMD CPU?)." }, ++ { INCORRECT_TYPE, "The JSON element does not have the requested type." }, ++ { NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type." }, ++ { NO_SUCH_FIELD, "The JSON field referenced does not exist in this object." }, ++ { UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as you may have found a bug in simdjson" }, ++ { IO_ERROR, "Error reading file" } ++ }; // error_messages[] ++} // namespace simdjson::internal ++ ++namespace simdjson { ++ ++inline const char *error_message(error_code error) noexcept { ++ // If you're using error_code, we're trusting you got it from the enum. ++ return internal::error_codes[int(error)].message.c_str(); ++} ++ ++inline const std::string &error_message(int error) noexcept { ++ if (error < 0 || error >= error_code::NUM_ERROR_CODES) { ++ return internal::error_codes[UNEXPECTED_ERROR].message; ++ } ++ return internal::error_codes[error].message; ++} ++ ++inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept { ++ return out << error_message(error); ++} ++ ++} // namespace simdjson ++ ++#endif // SIMDJSON_INLINE_ERROR_H ++/* end file include/simdjson/inline/error.h */ ++/* begin file include/simdjson/inline/jsonstream.h */ ++// TODO Remove this -- deprecated API and files ++ ++#ifndef SIMDJSON_INLINE_JSONSTREAM_H ++#define SIMDJSON_INLINE_JSONSTREAM_H ++ ++ ++namespace simdjson { ++ ++template ++inline JsonStream::JsonStream(const string_container &s, size_t _batch_size) noexcept ++ : str(s), batch_size(_batch_size) { ++} ++ ++template ++inline JsonStream::~JsonStream() noexcept { ++ if (stream) { delete stream; } ++} ++ ++template ++inline int JsonStream::json_parse(document::parser &parser) noexcept { ++ if (unlikely(stream == nullptr)) { ++ stream = new document::stream(parser, reinterpret_cast(str.data()), str.length(), batch_size); ++ } else { ++ if (&parser != &stream->parser) { return stream->error = TAPE_ERROR; } ++ stream->error = stream->json_parse(); ++ } ++ return stream->error; ++} ++ ++} // namespace simdjson ++ + #endif // SIMDJSON_INLINE_JSONSTREAM_H + /* end file include/simdjson/inline/jsonstream.h */ + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/report.json new file mode 100644 index 000000000..d7d8bbe88 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-543/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 543, "valid": false, "error_msg": "After applying the fix patch, no test results were captured when executing the test command. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (5, 0, 0)\n test = (0, 0, 0)\n fix = (0, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 5, "failed_count": 0, "skipped_count": 0, "passed_tests": ["integer_tests", "pointercheck", "jsoncheck", "parse_many_test", "basictests"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/fix-patch-run.log new file mode 100644 index 000000000..189b5d19a --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/fix-patch-run.log @@ -0,0 +1,571 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5665 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (12.4 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (18.2 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (3518 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.PY72hURq +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.PY72hURq/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.PY72hURq/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.PY72hURq/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.PY72hURq/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.PY72hURq/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.PY72hURq +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=d69443e4c544 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.JiyKMf4Scx/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/basictests.cpp +patching file tests/readme_examples.cpp +patching file include/simdjson/document.h +patching file include/simdjson/document_parser.h +patching file include/simdjson/inline/document.h +patching file include/simdjson/internal/jsonformatutils.h +patching file singleheader/amalgamation_demo.cpp +patching file singleheader/simdjson.cpp +patching file singleheader/simdjson.h +patching file src/CMakeLists.txt +patching file src/jsonformatutils.cpp +patching file src/simdjson.cpp +-- No build type selected, default to Release +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detected x64 processor: x86_64 +-- Assuming Westmere or better +-- Building a dynamic library (default). +-- SIMDJSON_LIB_TYPE: SHARED +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- Looking for C++ include pthread.h +-- Looking for C++ include pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 2%] Building CXX object src/CMakeFiles/simdjson.dir/simdjson.cpp.o +In file included from /home/simdjson/src/haswell/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:2, + from /home/simdjson/src/simdjson.cpp:5: +/home/simdjson/src/haswell/bitmanipulation.h:19:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/westmere/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:3, + from /home/simdjson/src/simdjson.cpp:5: +/home/simdjson/src/westmere/bitmanipulation.h:20:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +[ 4%] Linking CXX shared library ../libsimdjson.so +[ 4%] Built target simdjson +Scanning dependencies of target jsonstats +[ 7%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 9%] Linking CXX executable jsonstats +[ 9%] Built target jsonstats +Scanning dependencies of target json2json +[ 11%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +/home/simdjson/tools/json2json.cpp: In function 'int main(int, char**)': +/home/simdjson/tools/json2json.cpp:97:72: warning: 'bool simdjson::document::parser::print_json(std::ostream&) const' is deprecated: Use operator<< instead [-Wdeprecated-declarations] + rawdump ? pj.dump_raw_tape(std::cout) : pj.print_json(std::cout); + ^ +In file included from /home/simdjson/include/simdjson.h:23:0, + from /home/simdjson/tools/json2json.cpp:5: +/home/simdjson/include/simdjson/inline/document.h:488:13: note: declared here + inline bool document::parser::print_json(std::ostream &os) const noexcept { + ^~~~~~~~ +[ 14%] Linking CXX executable json2json +[ 14%] Built target json2json +Scanning dependencies of target minify +[ 16%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 19%] Linking CXX executable minify +[ 19%] Built target minify +Scanning dependencies of target basictests +[ 21%] Building CXX object tests/CMakeFiles/basictests.dir/basictests.cpp.o +/home/simdjson/tests/basictests.cpp: In function 'bool stable_test()': +/home/simdjson/tests/basictests.cpp:222:35: warning: 'bool simdjson::document::parser::print_json(std::ostream&) const' is deprecated: Use operator<< instead [-Wdeprecated-declarations] + if( ! parser.print_json(myStream) ) { + ^ +In file included from /home/simdjson/include/simdjson.h:23:0, + from /home/simdjson/tests/basictests.cpp:13: +/home/simdjson/include/simdjson/inline/document.h:488:13: note: declared here + inline bool document::parser::print_json(std::ostream &os) const noexcept { + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool parse_json_message_issue467(const char*, std::size_t, size_t)': +/home/simdjson/tests/basictests.cpp:249:24: warning: unused variable 'doc' [-Wunused-variable] + for (auto [doc, error] : parser.parse_many(str, len)) { + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::document_object_index()': +/home/simdjson/tests/basictests.cpp:787:21: warning: unused variable 'val' [-Wunused-variable] + auto [val, error] = doc["d"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::object_index()': +/home/simdjson/tests/basictests.cpp:806:21: warning: unused variable 'val' [-Wunused-variable] + auto [val, error] = obj["d"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::twitter_image_sizes()': +/home/simdjson/tests/basictests.cpp:844:31: warning: unused variable 'key' [-Wunused-variable] + for (auto [key, size] : image["sizes"].as_object()) { + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_document_parse()': +/home/simdjson/tests/basictests.cpp:896:10: error: 'minify' was not declared in this scope + s << minify(document::parse(DOCUMENT)); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:896:10: note: suggested alternative: 'finite' + s << minify(document::parse(DOCUMENT)); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_parser_parse()': +/home/simdjson/tests/basictests.cpp:913:10: error: 'minify' was not declared in this scope + s << minify(parser.parse(DOCUMENT)); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:913:10: note: suggested alternative: 'finite' + s << minify(parser.parse(DOCUMENT)); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_document()': +/home/simdjson/tests/basictests.cpp:928:10: error: 'minify' was not declared in this scope + s << minify(doc); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:928:10: note: suggested alternative: 'finite' + s << minify(doc); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_document_ref()': +/home/simdjson/tests/basictests.cpp:947:10: error: 'minify' was not declared in this scope + s << minify(doc_ref); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:947:10: note: suggested alternative: 'finite' + s << minify(doc_ref); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_element_result()': +/home/simdjson/tests/basictests.cpp:962:10: error: 'minify' was not declared in this scope + s << minify(doc["foo"]); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:962:10: note: suggested alternative: 'finite' + s << minify(doc["foo"]); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_element()': +/home/simdjson/tests/basictests.cpp:969:40: error: conversion from 'simdjson::document::element_result' to non-scalar type 'simdjson::document::element' requested + document::element value = doc["foo"]; + ~~~~~~~~~^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_element()': +/home/simdjson/tests/basictests.cpp:977:40: error: conversion from 'simdjson::document::element_result' to non-scalar type 'simdjson::document::element' requested + document::element value = doc["foo"]; + ~~~~~~~~~^ +/home/simdjson/tests/basictests.cpp:979:10: error: 'minify' was not declared in this scope + s << minify(value); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:979:10: note: suggested alternative: 'finite' + s << minify(value); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_array_result()': +/home/simdjson/tests/basictests.cpp:994:10: error: 'minify' was not declared in this scope + s << minify(doc["bar"].as_array()); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:994:10: note: suggested alternative: 'finite' + s << minify(doc["bar"].as_array()); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_array()': +/home/simdjson/tests/basictests.cpp:1011:10: error: 'minify' was not declared in this scope + s << minify(value); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:1011:10: note: suggested alternative: 'finite' + s << minify(value); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_object_result()': +/home/simdjson/tests/basictests.cpp:1026:10: error: 'minify' was not declared in this scope + s << minify(doc["baz"].as_object()); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:1026:10: note: suggested alternative: 'finite' + s << minify(doc["baz"].as_object()); + ^~~~~~ + finite +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_object()': +/home/simdjson/tests/basictests.cpp:1043:10: error: 'minify' was not declared in this scope + s << minify(value); + ^~~~~~ +/home/simdjson/tests/basictests.cpp:1043:10: note: suggested alternative: 'finite' + s << minify(value); + ^~~~~~ + finite +make[2]: *** [tests/CMakeFiles/basictests.dir/build.make:63: tests/CMakeFiles/basictests.dir/basictests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:289: tests/CMakeFiles/basictests.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/simdjson/build + Start 1: basictests +Could not find executable basictests +Looked in the following places: +basictests +basictests +Release/basictests +Release/basictests +Debug/basictests +Debug/basictests +MinSizeRel/basictests +MinSizeRel/basictests +RelWithDebInfo/basictests +RelWithDebInfo/basictests +Deployment/basictests +Deployment/basictests +Development/basictests +Development/basictests +Unable to find executable: basictests +1/6 Test #1: basictests .......................***Not Run 0.00 sec + Start 2: errortests +Could not find executable errortests +Looked in the following places: +errortests +errortests +Release/errortests +Release/errortests +Debug/errortests +Debug/errortests +MinSizeRel/errortests +MinSizeRel/errortests +RelWithDebInfo/errortests +RelWithDebInfo/errortests +Deployment/errortests +Deployment/errortests +Development/errortests +Development/errortests +2/6 Test #2: errortests .......................***Not Run 0.00 sec + Start 3: jsoncheck +Unable to find executable: errortests +Could not find executable jsoncheck +Looked in the following places: +jsoncheck +jsoncheck +Release/jsoncheck +Release/jsoncheck +Debug/jsoncheck +Debug/jsoncheck +MinSizeRel/jsoncheck +MinSizeRel/jsoncheck +Unable to find executable: jsoncheck +RelWithDebInfo/jsoncheck +RelWithDebInfo/jsoncheck +Deployment/jsoncheck +Deployment/jsoncheck +Development/jsoncheck +Development/jsoncheck +3/6 Test #3: jsoncheck ........................***Not Run 0.00 sec + Start 4: parse_many_test +Could not find executable parse_many_test +Looked in the following places: +parse_many_test +parse_many_test +Unable to find executable: parse_many_test +Release/parse_many_test +Release/parse_many_test +Debug/parse_many_test +Debug/parse_many_test +MinSizeRel/parse_many_test +MinSizeRel/parse_many_test +RelWithDebInfo/parse_many_test +RelWithDebInfo/parse_many_test +Deployment/parse_many_test +Deployment/parse_many_test +Development/parse_many_test +Development/parse_many_test +4/6 Test #4: parse_many_test ..................***Not Run 0.00 sec + Start 5: pointercheck +Could not find executable pointercheck +Looked in the following places: +pointercheck +pointercheck +Release/pointercheck +Release/pointercheck +Debug/pointercheck +Debug/pointercheck +MinSizeRel/pointercheck +MinSizeRel/pointercheck +RelWithDebInfo/pointercheck +RelWithDebInfo/pointercheck +Deployment/pointercheck +Deployment/pointercheck +Development/pointercheck +Development/pointercheck +Unable to find executable: pointercheck +5/6 Test #5: pointercheck .....................***Not Run 0.00 sec + Start 6: integer_tests +Could not find executable integer_tests +Looked in the following places: +integer_tests +Unable to find executable: integer_tests +integer_tests +Release/integer_tests +Release/integer_tests +Debug/integer_tests +Debug/integer_tests +MinSizeRel/integer_tests +MinSizeRel/integer_tests +RelWithDebInfo/integer_tests +RelWithDebInfo/integer_tests +Deployment/integer_tests +Deployment/integer_tests +Development/integer_tests +Development/integer_tests +6/6 Test #6: integer_tests ....................***Not Run 0.00 sec + +0% tests passed, 6 tests failed out of 6 + +Total Test time (real) = 0.00 sec + +The following tests FAILED: + 1 - basictests (Not Run) + 2 - errortests (Not Run) + 3 - jsoncheck (Not Run) + 4 - parse_many_test (Not Run) + 5 - pointercheck (Not Run) + 6 - integer_tests (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/fix.patch new file mode 100644 index 000000000..740cc090f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/fix.patch @@ -0,0 +1,3801 @@ +diff --git a/include/simdjson/document.h b/include/simdjson/document.h +index 1dc2243f..ee7b16b2 100644 +--- a/include/simdjson/document.h ++++ b/include/simdjson/document.h +@@ -131,7 +131,9 @@ public: + * @param os the stream to output to. + * @param max_depth the maximum JSON depth to output. + * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON). ++ * @deprecated Use operator<< instead. + */ ++ [[deprecated("Use operator<< instead")]] + bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const noexcept; + /** + * Dump the raw tape for debugging. +@@ -620,6 +622,13 @@ public: + */ + inline element_result operator[](const char *s) const noexcept; + ++ /** ++ * Print this element to a std::ostream as minified JSON. ++ * ++ * @param os the stream to output to. ++ */ ++ inline void print_json(std::ostream &os) const noexcept; ++ + private: + really_inline element() noexcept; + really_inline element(const document *_doc, size_t _json_index) noexcept; +@@ -669,6 +678,13 @@ public: + */ + inline iterator end() const noexcept; + ++ /** ++ * Print this array to a std::ostream as minified JSON. ++ * ++ * @param os the stream to output to. ++ */ ++ inline void print_json(std::ostream &os) const noexcept; ++ + private: + really_inline array() noexcept; + really_inline array(const document *_doc, size_t _json_index) noexcept; +@@ -730,6 +746,13 @@ public: + */ + inline iterator end() const noexcept; + ++ /** ++ * Print this object to a std::ostream as minified JSON. ++ * ++ * @param os the stream to output to. ++ */ ++ inline void print_json(std::ostream &os) const noexcept; ++ + /** + * Get the value associated with the given key. + * +@@ -1516,6 +1539,7 @@ public: + // print the json to std::ostream (should be valid) + // return false if the tape is likely wrong (e.g., you did not parse a valid + // JSON). ++ [[deprecated("Use operator<< instead")]] + inline bool print_json(std::ostream &os) const noexcept; + inline bool dump_raw_tape(std::ostream &os) const noexcept; + +@@ -1595,6 +1619,92 @@ private: + friend class document::stream; + }; // class parser + ++/** ++ * Print JSON to an ostream. ++ * ++ * @param os The output stream. ++ * @param doc The document to print. ++ * @return The output stream. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document &doc) noexcept; ++ ++/** ++ * Print JSON to an ostream. ++ * ++ * @param os The output stream. ++ * @param element The element to print. ++ * @return The output stream. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::element &element) noexcept; ++ ++/** ++ * Print JSON to an ostream. ++ * ++ * @param os The output stream. ++ * @param array The array to print. ++ * @return The output stream. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::array &array) noexcept; ++ ++/** ++ * Print JSON to an ostream. ++ * ++ * @param os The output stream. ++ * @param object The object to print. ++ * @return The output stream. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::object &object) noexcept; ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param doc The doc_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the doc_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::doc_result &doc) noexcept(false); ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param doc The doc_ref_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the doc_ref_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::doc_ref_result &doc) noexcept(false); ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param element The element_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the element_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &element) noexcept(false); ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param array The element_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the element_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &array) noexcept(false); ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param object The element_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the element_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &object) noexcept(false); ++ + } // namespace simdjson + + #endif // SIMDJSON_DOCUMENT_H +\ No newline at end of file +diff --git a/include/simdjson/document_parser.h b/include/simdjson/document_parser.h +index 417ed318..276e2d93 100644 +--- a/include/simdjson/document_parser.h ++++ b/include/simdjson/document_parser.h +@@ -424,6 +424,7 @@ public: + // print the json to std::ostream (should be valid) + // return false if the tape is likely wrong (e.g., you did not parse a valid + // JSON). ++ [[deprecated("Use operator<< instead")]] + inline bool print_json(std::ostream &os) const noexcept; + inline bool dump_raw_tape(std::ostream &os) const noexcept; + +diff --git a/include/simdjson/inline/document.h b/include/simdjson/inline/document.h +index 2f8036a3..67ba2867 100644 +--- a/include/simdjson/inline/document.h ++++ b/include/simdjson/inline/document.h +@@ -486,7 +486,9 @@ inline bool document::parser::is_valid() const noexcept { return valid; } + inline int document::parser::get_error_code() const noexcept { return error; } + inline std::string document::parser::get_error_message() const noexcept { return error_message(int(error)); } + inline bool document::parser::print_json(std::ostream &os) const noexcept { +- return is_valid() ? doc.print_json(os) : false; ++ if (!is_valid()) { return false; } ++ internal::print_tape_element(os, &doc, 1); ++ return true; + } + inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept { + return is_valid() ? doc.dump_raw_tape(os) : false; +@@ -931,6 +933,66 @@ inline document::element_result document::element::operator[] + return obj[key]; + } + ++inline void document::element::print_json(std::ostream &os) const noexcept { ++ internal::print_tape_element(os, doc, json_index); ++} ++ ++inline void document::array::print_json(std::ostream &os) const noexcept { ++ internal::print_tape_element(os, doc, json_index); ++} ++ ++inline void document::object::print_json(std::ostream &os) const noexcept { ++ internal::print_tape_element(os, doc, json_index); ++} ++ ++// ++// operator<< inline implementations ++// ++inline std::ostream &operator<<(std::ostream &os, const document &doc) noexcept { ++ internal::print_tape_element(os, &doc, 1); ++ return os; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::element &element) noexcept { ++ element.print_json(os); ++ return os; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::array &array) noexcept { ++ array.print_json(os); ++ return os; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::object &object) noexcept { ++ object.print_json(os); ++ return os; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::doc_result &doc) noexcept(false) { ++ if (doc.error) { throw simdjson_error(doc.error); } ++ return os << doc.doc; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::doc_ref_result &doc) noexcept(false) { ++ if (doc.error) { throw simdjson_error(doc.error); } ++ return os << doc.doc; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &element) noexcept(false) { ++ if (element.error) { throw simdjson_error(element.error); } ++ return os << element.value; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &array) noexcept(false) { ++ if (array.error) { throw simdjson_error(array.error); } ++ return os << array.value; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &object) noexcept(false) { ++ if (object.error) { throw simdjson_error(object.error); } ++ return os << object.value; ++} ++ + } // namespace simdjson + + #endif // SIMDJSON_INLINE_DOCUMENT_H +diff --git a/include/simdjson/internal/jsonformatutils.h b/include/simdjson/internal/jsonformatutils.h +index 8c6187b2..174077ec 100644 +--- a/include/simdjson/internal/jsonformatutils.h ++++ b/include/simdjson/internal/jsonformatutils.h +@@ -3,6 +3,11 @@ + + #include + #include ++#include "simdjson/common_defs.h" ++ ++namespace simdjson { ++class document; ++} + + namespace simdjson::internal { + +@@ -109,6 +114,13 @@ static inline void print_with_escapes(const char *src, std::ostream &os, size_t + print_with_escapes(reinterpret_cast(src), os, len); + } + ++// Forward declaration needed for print_tape_element ++class tape_ref; ++ ++// Print a single element from the tape (and its children) to an ostream. ++// This is the core implementation used by element::print_json() and operator<<. ++void print_tape_element(std::ostream &os, const document *doc, size_t json_index) noexcept; ++ + } // namespace simdjson::internal + + #endif // SIMDJSON_INTERNAL_JSONFORMATUTILS_H +diff --git a/singleheader/amalgamation_demo.cpp b/singleheader/amalgamation_demo.cpp +index 759dc41c..2eea4f4a 100755 +--- a/singleheader/amalgamation_demo.cpp ++++ b/singleheader/amalgamation_demo.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 22:53:33 UTC 2026. Do not edit! */ + + #include + #include "simdjson.h" +@@ -8,37 +8,31 @@ int main(int argc, char *argv[]) { + std::cerr << "Please specify at least one file name. " << std::endl; + } + const char * filename = argv[1]; +- simdjson::padded_string p = simdjson::get_corpus(filename); +- auto [doc, error] = simdjson::document::parse(p); // do the parsing ++ simdjson::document::parser parser; ++ auto [doc, error] = parser.load(filename); // do the parsing + if (error) { +- std::cout << "document::parse failed" << std::endl; ++ std::cout << "parse failed" << std::endl; + std::cout << "error code: " << error << std::endl; + std::cout << error << std::endl; + } else { +- std::cout << "document::parse valid" << std::endl; ++ std::cout << "parse valid" << std::endl; + } + if(argc == 2) { + return EXIT_SUCCESS; + } + +- //JsonStream ++ // parse_many + const char * filename2 = argv[2]; +- simdjson::padded_string p2 = simdjson::get_corpus(filename2); +- simdjson::document::parser parser; +- simdjson::JsonStream js{p2}; +- int parse_res = simdjson::SUCCESS_AND_HAS_MORE; +- +- while (parse_res == simdjson::SUCCESS_AND_HAS_MORE) { +- parse_res = js.json_parse(parser); ++ for (auto result : parser.load_many(filename2)) { ++ error = result.error; + } +- +- if( ! parser.is_valid()) { +- std::cout << "JsonStream not valid" << std::endl; ++ if (error) { ++ std::cout << "parse_many failed" << std::endl; ++ std::cout << "error code: " << error << std::endl; ++ std::cout << error << std::endl; + } else { +- std::cout << "JsonStream valid" << std::endl; ++ std::cout << "parse_many valid" << std::endl; + } +- +- + return EXIT_SUCCESS; + } + +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index 9ad1fdd4..5f41f219 100644 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 22:53:33 UTC 2026. Do not edit! */ + #include "simdjson.h" + + /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */ +@@ -7,52 +7,6 @@ + #endif + + /* begin file src/simdjson.cpp */ +-/* begin file src/error.cpp */ +-#include +- +-namespace simdjson { +- +-const std::map error_strings = { +- {SUCCESS, "No error"}, +- {SUCCESS_AND_HAS_MORE, "No error and buffer still has more data"}, +- {CAPACITY, "This parser can't support a document that big"}, +- {MEMALLOC, "Error allocating memory, we're most likely out of memory"}, +- {TAPE_ERROR, "Something went wrong while writing to the tape"}, +- {STRING_ERROR, "Problem while parsing a string"}, +- {T_ATOM_ERROR, "Problem while parsing an atom starting with the letter 't'"}, +- {F_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'f'"}, +- {N_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'n'"}, +- {NUMBER_ERROR, "Problem while parsing a number"}, +- {UTF8_ERROR, "The input is not valid UTF-8"}, +- {UNINITIALIZED, "Uninitialized"}, +- {EMPTY, "Empty: no JSON found"}, +- {UNESCAPED_CHARS, "Within strings, some characters must be escaped, we" +- " found unescaped characters"}, +- {UNCLOSED_STRING, "A string is opened, but never closed."}, +- {UNSUPPORTED_ARCHITECTURE, "simdjson does not have an implementation" +- " supported by this CPU architecture (perhaps" +- " it's a non-SIMD CPU?)."}, +- {INCORRECT_TYPE, "The JSON element does not have the requested type."}, +- {NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type."}, +- {NO_SUCH_FIELD, "The JSON field referenced does not exist in this object."}, +- {UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as" +- " you may have found a bug in simdjson"}, +-}; +- +-// string returned when the error code is not recognized +-const std::string unexpected_error_msg {"Unexpected error"}; +- +-// returns a string matching the error code +-const std::string &error_message(error_code code) noexcept { +- auto keyvalue = error_strings.find(code); +- if(keyvalue == error_strings.end()) { +- return unexpected_error_msg; +- } +- return keyvalue->second; +-} +- +-} // namespace simdjson +-/* end file src/error.cpp */ + /* begin file src/implementation.cpp */ + #include + +@@ -367,43 +321,133 @@ const implementation *detect_best_supported_implementation_on_first_use::set_bes + + } // namespace simdjson + /* end file src/arm64/implementation.h */ +-/* begin file src/jsonioutil.cpp */ +-#include +-#include +-#include ++/* begin file src/jsonformatutils.cpp */ + +-namespace simdjson { ++namespace simdjson::internal { + +-padded_string get_corpus(const std::string &filename) { +- std::FILE *fp = std::fopen(filename.c_str(), "rb"); +- if (fp != nullptr) { +- if(std::fseek(fp, 0, SEEK_END) < 0) { +- std::fclose(fp); +- throw std::runtime_error("cannot seek in the file"); +- } +- long llen = std::ftell(fp); +- if((llen < 0) || (llen == LONG_MAX)) { +- std::fclose(fp); +- throw std::runtime_error("cannot tell where we are in the file"); +- } +- size_t len = (size_t) llen; +- padded_string s(len); +- if (s.data() == nullptr) { +- std::fclose(fp); +- throw std::runtime_error("could not allocate memory"); ++void print_tape_element(std::ostream &os, const document *doc, size_t json_index) noexcept { ++ uint64_t tape_val = doc->tape[json_index]; ++ uint64_t payload = tape_val & JSON_VALUE_MASK; ++ uint8_t type = (tape_val >> 56); ++ ++ switch (type) { ++ case '"': { ++ os << '"'; ++ uint32_t string_length; ++ memcpy(&string_length, doc->string_buf.get() + payload, sizeof(uint32_t)); ++ print_with_escapes( ++ (const unsigned char *)(doc->string_buf.get() + payload + sizeof(uint32_t)), ++ os, string_length); ++ os << '"'; ++ break; ++ } ++ case 'l': { ++ int64_t val; ++ memcpy(&val, &doc->tape[json_index + 1], sizeof(val)); ++ os << val; ++ break; ++ } ++ case 'u': { ++ uint64_t val; ++ memcpy(&val, &doc->tape[json_index + 1], sizeof(val)); ++ os << val; ++ break; ++ } ++ case 'd': { ++ double val; ++ memcpy(&val, &doc->tape[json_index + 1], sizeof(val)); ++ os << val; ++ break; ++ } ++ case 'n': ++ os << "null"; ++ break; ++ case 't': ++ os << "true"; ++ break; ++ case 'f': ++ os << "false"; ++ break; ++ case '[': { ++ os << '['; ++ size_t end_index = payload; ++ size_t i = json_index + 1; ++ bool first = true; ++ while (i < end_index - 1) { ++ if (!first) { os << ','; } ++ first = false; ++ print_tape_element(os, doc, i); ++ // Advance past the element ++ uint64_t tv = doc->tape[i]; ++ uint8_t t = (tv >> 56); ++ switch (t) { ++ case '[': ++ case '{': ++ i = tv & JSON_VALUE_MASK; ++ break; ++ case 'l': ++ case 'u': ++ case 'd': ++ i += 2; ++ break; ++ default: ++ i++; ++ break; ++ } + } +- std::rewind(fp); +- size_t readb = std::fread(s.data(), 1, len, fp); +- std::fclose(fp); +- if (readb != len) { +- throw std::runtime_error("could not read the data"); ++ os << ']'; ++ break; ++ } ++ case '{': { ++ os << '{'; ++ size_t end_index = payload; ++ size_t i = json_index + 1; ++ bool first = true; ++ while (i < end_index - 1) { ++ if (!first) { os << ','; } ++ first = false; ++ // Key (must be a string) ++ uint64_t key_tape = doc->tape[i]; ++ uint64_t key_payload = key_tape & JSON_VALUE_MASK; ++ os << '"'; ++ uint32_t key_length; ++ memcpy(&key_length, doc->string_buf.get() + key_payload, sizeof(uint32_t)); ++ print_with_escapes( ++ (const unsigned char *)(doc->string_buf.get() + key_payload + sizeof(uint32_t)), ++ os, key_length); ++ os << '"'; ++ os << ':'; ++ i++; ++ // Value ++ print_tape_element(os, doc, i); ++ // Advance past the value element ++ uint64_t tv = doc->tape[i]; ++ uint8_t t = (tv >> 56); ++ switch (t) { ++ case '[': ++ case '{': ++ i = tv & JSON_VALUE_MASK; ++ break; ++ case 'l': ++ case 'u': ++ case 'd': ++ i += 2; ++ break; ++ default: ++ i++; ++ break; ++ } + } +- return s; ++ os << '}'; ++ break; ++ } ++ default: ++ break; + } +- throw std::runtime_error("could not load corpus"); + } +-} // namespace simdjson +-/* end file src/jsonioutil.cpp */ ++ ++} // namespace simdjson::internal ++/* end file src/jsonformatutils.cpp */ + /* begin file src/jsonminifier.cpp */ + #include + +@@ -5950,7 +5994,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +@@ -7317,7 +7361,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +@@ -8690,7 +8734,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index 9d0454ff..905d76b8 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 22:53:33 UTC 2026. Do not edit! */ + /* begin file include/simdjson.h */ + #ifndef SIMDJSON_H + #define SIMDJSON_H +@@ -32,14 +32,27 @@ + // do not change by hand + #ifndef SIMDJSON_SIMDJSON_VERSION_H + #define SIMDJSON_SIMDJSON_VERSION_H ++ ++/** The version of simdjson being used (major.minor.revision) */ + #define SIMDJSON_VERSION 0.2.1 ++ + namespace simdjson { + enum { ++ /** ++ * The major version (MAJOR.minor.revision) of simdjson being used. ++ */ + SIMDJSON_VERSION_MAJOR = 0, ++ /** ++ * The minor version (major.MINOR.revision) of simdjson being used. ++ */ + SIMDJSON_VERSION_MINOR = 2, ++ /** ++ * The revision (major.minor.REVISION) of simdjson being used. ++ */ + SIMDJSON_VERSION_REVISION = 1 + }; +-} ++} // namespace simdjson ++ + #endif // SIMDJSON_SIMDJSON_VERSION_H + /* end file include/simdjson/simdjson_version.h */ + /* begin file include/simdjson/error.h */ +@@ -50,50 +63,121 @@ enum { + + namespace simdjson { + ++/** ++ * All possible errors returned by simdjson. ++ */ + enum error_code { +- SUCCESS = 0, +- SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data +- CAPACITY, // This parser can't support a document that big +- MEMALLOC, // Error allocating memory, most likely out of memory +- TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this +- // is a generic error +- DEPTH_ERROR, // Your document exceeds the user-specified depth limitation +- STRING_ERROR, // Problem while parsing a string +- T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't' +- F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f' +- N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n' +- NUMBER_ERROR, // Problem while parsing a number +- UTF8_ERROR, // the input is not valid UTF-8 +- UNINITIALIZED, // unknown error, or uninitialized document +- EMPTY, // no structural element found +- UNESCAPED_CHARS, // found unescaped characters in a string. +- UNCLOSED_STRING, // missing quote at the end +- UNSUPPORTED_ARCHITECTURE, // unsupported architecture +- INCORRECT_TYPE, // JSON element has a different type than user expected +- NUMBER_OUT_OF_RANGE, // JSON number does not fit in 64 bits +- NO_SUCH_FIELD, // JSON field not found in object +- UNEXPECTED_ERROR // indicative of a bug in simdjson ++ SUCCESS = 0, ///< No error ++ SUCCESS_AND_HAS_MORE, ///< No error and buffer still has more data ++ CAPACITY, ///< This parser can't support a document that big ++ MEMALLOC, ///< Error allocating memory, most likely out of memory ++ TAPE_ERROR, ///< Something went wrong while writing to the tape (stage 2), this is a generic error ++ DEPTH_ERROR, ///< Your document exceeds the user-specified depth limitation ++ STRING_ERROR, ///< Problem while parsing a string ++ T_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 't' ++ F_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'f' ++ N_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'n' ++ NUMBER_ERROR, ///< Problem while parsing a number ++ UTF8_ERROR, ///< the input is not valid UTF-8 ++ UNINITIALIZED, ///< unknown error, or uninitialized document ++ EMPTY, ///< no structural element found ++ UNESCAPED_CHARS, ///< found unescaped characters in a string. ++ UNCLOSED_STRING, ///< missing quote at the end ++ UNSUPPORTED_ARCHITECTURE, ///< unsupported architecture ++ INCORRECT_TYPE, ///< JSON element has a different type than user expected ++ NUMBER_OUT_OF_RANGE, ///< JSON number does not fit in 64 bits ++ NO_SUCH_FIELD, ///< JSON field not found in object ++ IO_ERROR, ///< Error reading a file ++ UNEXPECTED_ERROR, ///< indicative of a bug in simdjson ++ /** @private Number of error codes */ ++ NUM_ERROR_CODES + }; + +-const std::string &error_message(error_code error) noexcept; ++/** ++ * Get the error message for the given error code. ++ * ++ * auto [doc, error] = document::parse("foo"); ++ * if (error) { printf("Error: %s\n", error_message(error)); } ++ * ++ * @return The error message. ++ */ ++inline const char *error_message(error_code error) noexcept; ++ ++/** ++ * Write the error message to the output stream ++ */ ++inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept; ++ ++/** ++ * Exception thrown when an exception-supporting simdjson method is called ++ */ ++struct simdjson_error : public std::exception { ++ /** ++ * Create an exception from a simdjson error code. ++ * @param error The error code ++ */ ++ simdjson_error(error_code error) noexcept : _error{error} { } ++ /** The error message */ ++ const char *what() const noexcept { return error_message(error()); } ++ error_code error() const noexcept { return _error; } ++private: ++ /** The error code that was used */ ++ error_code _error; ++}; + +-struct invalid_json : public std::exception { +- invalid_json(error_code _error) : error{_error} { } +- const char *what() const noexcept { return error_message(error); } ++/** ++ * The result of a simd operation that could fail. ++ * ++ * Gives the option of reading error codes, or throwing an exception by casting to the desired result. ++ */ ++template ++struct simdjson_result { ++ /** ++ * The value of the function. ++ * ++ * Undefined if error is true. ++ */ ++ T value; ++ /** ++ * The error. ++ */ + error_code error; ++ /** ++ * Cast to the value (will throw on error). ++ * ++ * @throw simdjson_error if there was an error. ++ */ ++ operator T() noexcept(false) { ++ if (error) { throw simdjson_error(error); } ++ return std::move(value); ++ } ++ /** ++ * Create a new error result. ++ */ ++ simdjson_result(error_code _error) noexcept : value{}, error{_error} {} ++ /** ++ * Create a new successful result. ++ */ ++ simdjson_result(T _value) noexcept : value{std::move(_value)}, error{SUCCESS} {} + }; + +-// TODO these are deprecated, remove ++/** ++ * @deprecated This is an alias and will be removed, use error_code instead ++ */ + using ErrorValues = error_code; +-inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); } ++ ++/** ++ * @deprecated Error codes should be stored and returned as `error_code`, use `error_message()` instead. ++ */ ++inline const std::string &error_message(int error) noexcept; + + } // namespace simdjson + + #endif // SIMDJSON_ERROR_H + /* end file include/simdjson/error.h */ + /* begin file include/simdjson/padded_string.h */ +-#ifndef SIMDJSON_PADDING_STRING_H +-#define SIMDJSON_PADDING_STRING_H ++#ifndef SIMDJSON_PADDED_STRING_H ++#define SIMDJSON_PADDED_STRING_H + /* begin file include/simdjson/portability.h */ + #ifndef SIMDJSON_PORTABILITY_H + #define SIMDJSON_PORTABILITY_H +@@ -221,14 +305,29 @@ static inline void aligned_free_char(char *mem_block) { + + #include + +-// we support documents up to 4GB +-#define SIMDJSON_MAXSIZE_BYTES 0xFFFFFFFF ++namespace simdjson { ++ ++/** The maximum document size supported by simdjson. */ ++constexpr size_t SIMDJSON_MAXSIZE_BYTES = 0xFFFFFFFF; ++ ++/** ++ * The amount of padding needed in a buffer to parse JSON. ++ * ++ * the input buf should be readable up to buf + SIMDJSON_PADDING ++ * this is a stopgap; there should be a better description of the ++ * main loop and its behavior that abstracts over this ++ * See https://github.com/lemire/simdjson/issues/174 ++ */ ++constexpr size_t SIMDJSON_PADDING = 32; ++ ++/** ++ * By default, simdjson supports this many nested objects and arrays. ++ * ++ * This is the default for document::parser::max_depth(). ++ */ ++constexpr size_t DEFAULT_MAX_DEPTH = 1024; + +-// the input buf should be readable up to buf + SIMDJSON_PADDING +-// this is a stopgap; there should be a better description of the +-// main loop and its behavior that abstracts over this +-// See https://github.com/lemire/simdjson/issues/174 +-#define SIMDJSON_PADDING 32 ++} // namespace simdjson + + #if defined(__GNUC__) + // Marks a block with a name so that MCA analysis can see it. +@@ -293,98 +392,93 @@ static inline void aligned_free_char(char *mem_block) { + #include + #include + +- + namespace simdjson { +-// low-level function to allocate memory with padding so we can read past the +-// "length" bytes safely. if you must provide a pointer to some data, create it +-// with this function: length is the max. size in bytes of the string caller is +-// responsible to free the memory (free(...)) +-inline char *allocate_padded_buffer(size_t length) noexcept { +- // we could do a simple malloc +- // return (char *) malloc(length + SIMDJSON_PADDING); +- // However, we might as well align to cache lines... +- size_t totalpaddedlength = length + SIMDJSON_PADDING; +- char *padded_buffer = aligned_malloc_char(64, totalpaddedlength); +-#ifndef NDEBUG +- if (padded_buffer == nullptr) { +- return nullptr; +- } +-#endif // NDEBUG +- memset(padded_buffer + length, 0, totalpaddedlength - length); +- return padded_buffer; +-} // allocate_padded_buffer + +-// Simple string with padded allocation. +-// We deliberately forbid copies, users should rely on swap or move +-// constructors. ++/** ++ * String with extra allocation for ease of use with document::parser::parse() ++ * ++ * This is a move-only class, it cannot be copied. ++ */ + struct padded_string final { + +- explicit padded_string() noexcept : viable_size(0), data_ptr(nullptr) {} +- +- explicit padded_string(size_t length) noexcept +- : viable_size(length), data_ptr(allocate_padded_buffer(length)) { +- if (data_ptr != nullptr) +- data_ptr[length] = '\0'; // easier when you need a c_str +- } +- +- explicit padded_string(const char *data, size_t length) noexcept +- : viable_size(length), data_ptr(allocate_padded_buffer(length)) { +- if ((data != nullptr) and (data_ptr != nullptr)) { +- memcpy(data_ptr, data, length); +- data_ptr[length] = '\0'; // easier when you need a c_str +- } +- } +- +- // note: do not pass std::string arguments by value +- padded_string(const std::string & str_ ) noexcept +- : viable_size(str_.size()), data_ptr(allocate_padded_buffer(str_.size())) { +- if (data_ptr != nullptr) { +- memcpy(data_ptr, str_.data(), str_.size()); +- data_ptr[str_.size()] = '\0'; // easier when you need a c_str +- } +- } +- +- // note: do pass std::string_view arguments by value +- padded_string(std::string_view sv_) noexcept +- : viable_size(sv_.size()), data_ptr(allocate_padded_buffer(sv_.size())) { +- if (data_ptr != nullptr) { +- memcpy(data_ptr, sv_.data(), sv_.size()); +- data_ptr[sv_.size()] = '\0'; // easier when you need a c_str +- } +- } +- +- padded_string(padded_string &&o) noexcept +- : viable_size(o.viable_size), data_ptr(o.data_ptr) { +- o.data_ptr = nullptr; // we take ownership +- } +- +- padded_string &operator=(padded_string &&o) { +- aligned_free_char(data_ptr); +- data_ptr = o.data_ptr; +- viable_size = o.viable_size; +- o.data_ptr = nullptr; // we take ownership +- o.viable_size = 0; +- return *this; +- } ++ /** ++ * Create a new, empty padded string. ++ */ ++ explicit inline padded_string() noexcept; ++ /** ++ * Create a new padded string buffer. ++ * ++ * @param length the size of the string. ++ */ ++ explicit inline padded_string(size_t length) noexcept; ++ /** ++ * Create a new padded string by copying the given input. ++ * ++ * @param data the buffer to copy ++ * @param length the number of bytes to copy ++ */ ++ explicit inline padded_string(const char *data, size_t length) noexcept; ++ /** ++ * Create a new padded string by copying the given input. ++ * ++ * @param str_ the string to copy ++ */ ++ inline padded_string(const std::string & str_ ) noexcept; ++ /** ++ * Create a new padded string by copying the given input. ++ * ++ * @param str_ the string to copy ++ */ ++ inline padded_string(std::string_view sv_) noexcept; ++ /** ++ * Move one padded string into another. ++ * ++ * The original padded string will be reduced to zero capacity. ++ * ++ * @param o the string to move. ++ */ ++ inline padded_string(padded_string &&o) noexcept; ++ /** ++ * Move one padded string into another. ++ * ++ * The original padded string will be reduced to zero capacity. ++ * ++ * @param o the string to move. ++ */ ++ inline padded_string &operator=(padded_string &&o) noexcept; ++ inline void swap(padded_string &o) noexcept; ++ ~padded_string() noexcept; + +- void swap(padded_string &o) { +- size_t tmp_viable_size = viable_size; +- char *tmp_data_ptr = data_ptr; +- viable_size = o.viable_size; +- data_ptr = o.data_ptr; +- o.data_ptr = tmp_data_ptr; +- o.viable_size = tmp_viable_size; +- } ++ /** ++ * The length of the string. ++ * ++ * Does not include padding. ++ */ ++ size_t size() const noexcept; + +- ~padded_string() { +- aligned_free_char(data_ptr); +- } ++ /** ++ * The length of the string. ++ * ++ * Does not include padding. ++ */ ++ size_t length() const noexcept; + +- size_t size() const { return viable_size; } ++ /** ++ * The string data. ++ **/ ++ const char *data() const noexcept; + +- size_t length() const { return viable_size; } ++ /** ++ * The string data. ++ **/ ++ char *data() noexcept; + +- char *data() const { return data_ptr; } ++ /** ++ * Load this padded string from a file. ++ * ++ * @param path the path to the file. ++ **/ ++ inline static simdjson_result load(const std::string &path) noexcept; + + private: + padded_string &operator=(const padded_string &o) = delete; +@@ -397,7 +491,17 @@ private: + + } // namespace simdjson + +-#endif ++namespace simdjson::internal { ++ ++// low-level function to allocate memory with padding so we can read past the ++// "length" bytes safely. if you must provide a pointer to some data, create it ++// with this function: length is the max. size in bytes of the string caller is ++// responsible to free the memory (free(...)) ++inline char *allocate_padded_buffer(size_t length) noexcept; ++ ++} // namespace simdjson::internal; ++ ++#endif // SIMDJSON_PADDED_STRING_H + /* end file include/simdjson/common_defs.h */ + /* begin file include/simdjson/implementation.h */ + #ifndef SIMDJSON_IMPLEMENTATION_H +@@ -427,11 +531,12 @@ private: + #endif // SIMDJSON_H + /* end file include/simdjson/simdjson.h */ + +-#define JSON_VALUE_MASK 0x00FFFFFFFFFFFFFF +-#define DEFAULT_MAX_DEPTH 1024 // a JSON document with a depth exceeding 1024 is probably de facto invalid +- + namespace simdjson { + ++namespace internal { ++ constexpr const uint64_t JSON_VALUE_MASK = 0x00FFFFFFFFFFFFFF; ++} ++ + template class document_iterator; + + /** +@@ -464,17 +569,22 @@ public: + document &operator=(document &&other) noexcept = default; + document &operator=(const document &) = delete; // Disallow copying + ++ /** The default batch size for parse_many and load_many */ ++ static constexpr size_t DEFAULT_BATCH_SIZE = 1000000; ++ + // Nested classes + class element; + class array; + class object; + class key_value_pair; + class parser; ++ class stream; + + template + class element_result; + class doc_result; + class doc_ref_result; ++ class stream_result; + + // Nested classes. See definitions later in file. + using iterator = document_iterator; +@@ -499,14 +609,14 @@ public: + * Read the root element of this document as a JSON array. + * + * @return The JSON array. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array + */ + operator array() const noexcept(false); + /** + * Read this element as a JSON object (key/value pairs). + * + * @return The JSON object. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object + */ + operator object() const noexcept(false); + +@@ -543,7 +653,9 @@ public: + * @param os the stream to output to. + * @param max_depth the maximum JSON depth to output. + * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON). ++ * @deprecated Use operator<< instead. + */ ++ [[deprecated("Use operator<< instead")]] + bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const noexcept; + /** + * Dump the raw tape for debugging. +@@ -553,6 +665,25 @@ public: + */ + bool dump_raw_tape(std::ostream &os) const noexcept; + ++ /** ++ * Load a JSON document from a file and return it. ++ * ++ * document doc = document::load("jsonexamples/twitter.json"); ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than the file length, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param path The path to load. ++ * @return The document, or an error: ++ * - IO_ERROR if there was an error opening or reading the file. ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. ++ */ ++ inline static doc_result load(const std::string& path) noexcept; ++ + /** + * Parse a JSON document and return a reference to it. + * +@@ -615,7 +746,7 @@ public: + private: + class tape_ref; + enum class tape_type; +- bool set_capacity(size_t len); ++ inline error_code set_capacity(size_t len) noexcept; + }; // class document + + /** +@@ -655,14 +786,36 @@ public: + * Return the document, or throw an exception if it is invalid. + * + * @return the document. +- * @exception invalid_json if the document is invalid or there was an error parsing it. ++ * @exception simdjson_error if the document is invalid or there was an error parsing it. + */ + operator document() noexcept(false); + + /** +- * Get the error message for the error. ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object ++ */ ++ inline element_result operator[](const std::string_view &key) const noexcept; ++ /** ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object + */ +- const std::string &get_error_message() const noexcept; ++ inline element_result operator[](const char *key) const noexcept; + + ~doc_result() noexcept=default; + +@@ -719,20 +872,44 @@ public: + * A reference to the document, or throw an exception if it is invalid. + * + * @return the document. +- * @exception invalid_json if the document is invalid or there was an error parsing it. ++ * @exception simdjson_error if the document is invalid or there was an error parsing it. + */ + operator document&() noexcept(false); + + /** +- * Get the error message for the error. ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object ++ */ ++ inline element_result operator[](const std::string_view &key) const noexcept; ++ ++ /** ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object + */ +- const std::string &get_error_message() const noexcept; ++ inline element_result operator[](const char *key) const noexcept; + + ~doc_ref_result()=default; + + private: + doc_ref_result(document &_doc, error_code _error) noexcept; + friend class document::parser; ++ friend class document::stream; + }; // class document::doc_ref_result + + /** +@@ -874,7 +1051,7 @@ public: + * Read this element as a boolean. + * + * @return The boolean value +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a boolean. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a boolean. + */ + inline operator bool() const noexcept(false); + +@@ -885,7 +1062,7 @@ public: + * an actual string. + * + * @return The string value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string. + */ + inline explicit operator const char*() const noexcept(false); + +@@ -896,7 +1073,7 @@ public: + * an actual string. + * + * @return The string value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string. + */ + inline operator std::string_view() const noexcept(false); + +@@ -904,38 +1081,38 @@ public: + * Read this element as an unsigned integer. + * + * @return The integer value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative + */ + inline operator uint64_t() const noexcept(false); + /** + * Read this element as an signed integer. + * + * @return The integer value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits + */ + inline operator int64_t() const noexcept(false); + /** + * Read this element as an double. + * + * @return The double value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a number +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a number ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative + */ + inline operator double() const noexcept(false); + /** + * Read this element as a JSON array. + * + * @return The JSON array. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array + */ + inline operator document::array() const noexcept(false); + /** + * Read this element as a JSON object (key/value pairs). + * + * @return The JSON object. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object + */ + inline operator document::object() const noexcept(false); + +@@ -952,6 +1129,7 @@ public: + * - UNEXPECTED_TYPE if the document is not an object + */ + inline element_result operator[](const std::string_view &s) const noexcept; ++ + /** + * Get the value associated with the given key. + * +@@ -966,6 +1144,13 @@ public: + */ + inline element_result operator[](const char *s) const noexcept; + ++ /** ++ * Print this element to a std::ostream as minified JSON. ++ * ++ * @param os the stream to output to. ++ */ ++ inline void print_json(std::ostream &os) const noexcept; ++ + private: + really_inline element() noexcept; + really_inline element(const document *_doc, size_t _json_index) noexcept; +@@ -1015,6 +1200,13 @@ public: + */ + inline iterator end() const noexcept; + ++ /** ++ * Print this array to a std::ostream as minified JSON. ++ * ++ * @param os the stream to output to. ++ */ ++ inline void print_json(std::ostream &os) const noexcept; ++ + private: + really_inline array() noexcept; + really_inline array(const document *_doc, size_t _json_index) noexcept; +@@ -1076,6 +1268,13 @@ public: + */ + inline iterator end() const noexcept; + ++ /** ++ * Print this object to a std::ostream as minified JSON. ++ * ++ * @param os the stream to output to. ++ */ ++ inline void print_json(std::ostream &os) const noexcept; ++ + /** + * Get the value associated with the given key. + * +@@ -1088,6 +1287,7 @@ public: + * - NO_SUCH_FIELD if the field does not exist in the object + */ + inline element_result operator[](const std::string_view &s) const noexcept; ++ + /** + * Get the value associated with the given key. + * +@@ -1243,8 +1443,8 @@ private: + /** + * A persistent document parser. + * +- * Use this if you intend to parse more than one document. It holds the internal memory necessary +- * to do parsing, as well as memory for a single document that is overwritten on each parse. ++ * The parser is designed to be reused, holding the internal buffers necessary to do parsing, ++ * as well as memory for a single document. The parsed document is overwritten on each parse. + * + * This class cannot be copied, only moved, to avoid unintended allocations. + * +@@ -1253,9 +1453,20 @@ private: + class document::parser { + public: + /** +- * Create a JSON parser with zero capacity. Call allocate_capacity() to initialize it. ++ * Create a JSON parser. ++ * ++ * The new parser will have zero capacity. ++ * ++ * @param max_capacity The maximum document length the parser can automatically handle. The parser ++ * will allocate more capacity on an as needed basis (when it sees documents too big to handle) ++ * up to this amount. The parser still starts with zero capacity no matter what this number is: ++ * to allocate an initial capacity, call set_capacity() after constructing the parser. Defaults ++ * to SIMDJSON_MAXSIZE_BYTES (the largest single document simdjson can process). ++ * @param max_depth The maximum depth--number of nested objects and arrays--this parser can handle. ++ * This will not be allocated until parse() is called for the first time. Defaults to ++ * DEFAULT_MAX_DEPTH. + */ +- parser()=default; ++ really_inline parser(size_t max_capacity = SIMDJSON_MAXSIZE_BYTES, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept; + ~parser()=default; + + /** +@@ -1274,71 +1485,219 @@ public: + parser &operator=(const document::parser &) = delete; // Disallow copying + + /** +- * Parse a JSON document and return a reference to it. ++ * Load a JSON document from a file and return a reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.load("jsonexamples/twitter.json"); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * +- * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, +- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged +- * and copied before parsing. ++ * ### Parser Capacity + * +- * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless +- * realloc_if_needed is true. +- * @param len The length of the JSON. +- * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. +- * @return the document, or an error if the JSON is invalid. ++ * If the parser's current capacity is less than the file length, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param path The path to load. ++ * @return The document, or an error: ++ * - IO_ERROR if there was an error opening or reading the file. ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ +- inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ inline doc_ref_result load(const std::string& path) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Load a file containing many JSON documents. + * +- * The JSON document still lives in the parser: this is the most efficient way to parse JSON +- * documents because it reuses the same buffers, but you *must* use the document before you +- * destroy the parser or call parse() again. ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(path)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } + * +- * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, +- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged +- * and copied before parsing. ++ * ### Format + * +- * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless +- * realloc_if_needed is true. +- * @param len The length of the JSON. +- * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. +- * @return the document, or an error if the JSON is invalid. ++ * The file must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.load_many(path)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - IO_ERROR if there was an error opening or reading the file. ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails. + */ +- really_inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ inline document::stream load_many(const std::string& path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(buf, len); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### REQUIRED: Buffer Padding ++ * + * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size() +- * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing. ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding, ++ * and it is copied into an enlarged temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless ++ * realloc_if_needed is true. ++ * @param len The length of the JSON. ++ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. ++ * @return The document, or an error: ++ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity, ++ * and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. ++ */ ++ inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ ++ /** ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(buf, len); ++ * ++ * ### IMPORTANT: Document Lifetime ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() again. ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding, ++ * and it is copied into an enlarged temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless ++ * realloc_if_needed is true. ++ * @param len The length of the JSON. ++ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. ++ * @return The document, or an error: ++ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity, ++ * and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. ++ */ ++ really_inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ ++ /** ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(s); ++ * ++ * ### IMPORTANT: Document Lifetime ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() again. ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If s.capacity() is less than SIMDJSON_PADDING, the string will be copied into an enlarged ++ * temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). + * + * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or + * a new string will be created with the extra padding. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if the string does not have enough padding or the parser does not have ++ * enough capacity, and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + really_inline doc_ref_result parse(const std::string &s) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(s); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * + * @param s The JSON to parse. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + really_inline doc_ref_result parse(const padded_string &s) noexcept; + +@@ -1346,24 +1705,320 @@ public: + really_inline doc_ref_result parse(const char *buf) noexcept = delete; + + /** +- * Current capacity: the largest document this parser can support without reallocating. ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param len The length of the concatenated JSON. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails. ++ */ ++ inline stream parse_many(const uint8_t *buf, size_t len, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param len The length of the concatenated JSON. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const char *buf, size_t len, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const std::string &s, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param s The concatenated JSON to parse. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const padded_string &s, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ // We do not want to allow implicit conversion from C string to std::string. ++ really_inline doc_ref_result parse_many(const char *buf, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept = delete; ++ ++ /** ++ * The largest document this parser can automatically support. ++ * ++ * The parser may reallocate internal buffers as needed up to this amount. ++ * ++ * @return Maximum capacity, in bytes. ++ */ ++ really_inline size_t max_capacity() const noexcept; ++ ++ /** ++ * The largest document this parser can support without reallocating. ++ * ++ * @return Current capacity, in bytes. + */ + really_inline size_t capacity() const noexcept; + + /** + * The maximum level of nested object and arrays supported by this parser. ++ * ++ * @return Maximum depth, in bytes. + */ + really_inline size_t max_depth() const noexcept; + ++ /** ++ * Set max_capacity. This is the largest document this parser can automatically support. ++ * ++ * The parser may reallocate internal buffers as needed up to this amount. ++ * ++ * This call will not allocate or deallocate, even if capacity is currently above max_capacity. ++ * ++ * @param max_capacity The new maximum capacity, in bytes. ++ */ ++ really_inline void set_max_capacity(size_t max_capacity) noexcept; ++ ++ /** ++ * Set capacity. This is the largest document this parser can support without reallocating. ++ * ++ * This will allocate or deallocate as necessary. ++ * ++ * @param capacity The new capacity, in bytes. ++ * ++ * @return MEMALLOC if unsuccessful, SUCCESS otherwise. ++ */ ++ WARN_UNUSED inline error_code set_capacity(size_t capacity) noexcept; ++ ++ /** ++ * Set the maximum level of nested object and arrays supported by this parser. ++ * ++ * This will allocate or deallocate as necessary. ++ * ++ * @param max_depth The new maximum depth, in bytes. ++ * ++ * @return MEMALLOC if unsuccessful, SUCCESS otherwise. ++ */ ++ WARN_UNUSED inline error_code set_max_depth(size_t max_depth) noexcept; ++ + /** + * Ensure this parser has enough memory to process JSON documents up to `capacity` bytes in length + * and `max_depth` depth. ++ * ++ * Equivalent to calling set_capacity() and set_max_depth(). ++ * ++ * @param capacity The new capacity. ++ * @param max_depth The new max_depth. Defaults to DEFAULT_MAX_DEPTH. ++ * @return true if successful, false if allocation failed. + */ +- WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH); ++ WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept; + + // type aliases for backcompat + using Iterator = document::iterator; +- using InvalidJSON = invalid_json; ++ using InvalidJSON = simdjson_error; + + // Next location to write to in the tape + uint32_t current_loc{0}; +@@ -1406,6 +2061,7 @@ public: + // print the json to std::ostream (should be valid) + // return false if the tape is likely wrong (e.g., you did not parse a valid + // JSON). ++ [[deprecated("Use operator<< instead")]] + inline bool print_json(std::ostream &os) const noexcept; + inline bool dump_raw_tape(std::ostream &os) const noexcept; + +@@ -1434,13 +2090,6 @@ public: + really_inline bool on_number_s64(int64_t value) noexcept; + really_inline bool on_number_u64(uint64_t value) noexcept; + really_inline bool on_number_double(double value) noexcept; +- // +- // Called before a parse is initiated. +- // +- // - Returns CAPACITY if the document is too large +- // - Returns MEMALLOC if we needed to allocate memory and could not +- // +- WARN_UNUSED inline error_code init_parse(size_t len) noexcept; + + private: + // +@@ -1450,12 +2099,19 @@ private: + // + size_t _capacity{0}; + ++ // ++ // The maximum document length this parser will automatically support. ++ // ++ // The parser will not be automatically allocated above this amount. ++ // ++ size_t _max_capacity; ++ + // + // The maximum depth (number of nested objects and arrays) supported by this parser. + // + // Defaults to DEFAULT_MAX_DEPTH. + // +- size_t _max_depth{0}; ++ size_t _max_depth; + + // all nodes are stored on the doc.tape using a 64-bit word. + // +@@ -1474,30 +2130,103 @@ private: + inline void write_tape(uint64_t val, tape_type t) noexcept; + inline void annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept; + +- // +- // Set the current capacity: the largest document this parser can support without reallocating. +- // +- // This will allocate *or deallocate* as necessary. +- // +- // Returns false if allocation fails. +- // +- inline WARN_UNUSED bool set_capacity(size_t capacity); +- +- // +- // Set the maximum level of nested object and arrays supported by this parser. +- // +- // This will allocate *or deallocate* as necessary. +- // +- // Returns false if allocation fails. +- // +- inline WARN_UNUSED bool set_max_depth(size_t max_depth); ++ // Ensure we have enough capacity to handle at least desired_capacity bytes, ++ // and auto-allocate if not. ++ inline error_code ensure_capacity(size_t desired_capacity) noexcept; + + // Used internally to get the document + inline const document &get_document() const noexcept(false); + + template friend class document_iterator; ++ friend class document::stream; + }; // class parser + ++/** ++ * Print JSON to an ostream. ++ * ++ * @param os The output stream. ++ * @param doc The document to print. ++ * @return The output stream. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document &doc) noexcept; ++ ++/** ++ * Print JSON to an ostream. ++ * ++ * @param os The output stream. ++ * @param element The element to print. ++ * @return The output stream. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::element &element) noexcept; ++ ++/** ++ * Print JSON to an ostream. ++ * ++ * @param os The output stream. ++ * @param array The array to print. ++ * @return The output stream. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::array &array) noexcept; ++ ++/** ++ * Print JSON to an ostream. ++ * ++ * @param os The output stream. ++ * @param object The object to print. ++ * @return The output stream. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::object &object) noexcept; ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param doc The doc_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the doc_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::doc_result &doc) noexcept(false); ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param doc The doc_ref_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the doc_ref_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::doc_ref_result &doc) noexcept(false); ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param element The element_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the element_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &element) noexcept(false); ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param array The element_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the element_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &array) noexcept(false); ++ ++/** ++ * Print JSON to an ostream, throwing on error. ++ * ++ * @param os The output stream. ++ * @param object The element_result to print. ++ * @return The output stream. ++ * @exception simdjson_error if the element_result has an error. ++ */ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &object) noexcept(false); ++ + } // namespace simdjson + + #endif // SIMDJSON_DOCUMENT_H +@@ -1541,7 +2270,7 @@ public: + virtual uint32_t required_instruction_sets() const { return _required_instruction_sets; }; + + /** +- * Run a full document parse (init_parse, stage1 and stage2). ++ * Run a full document parse (ensure_capacity, stage1 and stage2). + * + * Overridden by each implementation. + * +@@ -1560,7 +2289,7 @@ public: + * @param buf the json document to parse. *MUST* be allocated up to len + SIMDJSON_PADDING bytes. + * @param len the length of the json document. + * @param parser the parser with the buffers to use. *MUST* have allocated up to at least len capacity. +- * @param streaming whether this is being called by a JsonStream parser. ++ * @param streaming whether this is being called by document::parser::parse_many. + * @return the error code, or SUCCESS if there was no error. + */ + WARN_UNUSED virtual error_code stage1(const uint8_t *buf, size_t len, document::parser &parser, bool streaming) const noexcept = 0; +@@ -1578,7 +2307,7 @@ public: + WARN_UNUSED virtual error_code stage2(const uint8_t *buf, size_t len, document::parser &parser) const noexcept = 0; + + /** +- * Stage 2 of the document parser for JsonStream. ++ * Stage 2 of the document parser for document::parser::parse_many. + * + * Overridden by each implementation. + * +@@ -1731,92 +2460,84 @@ inline internal::atomic_ptr active_implementation = &inter + + #endif // SIMDJSON_IMPLEMENTATION_H + /* end file include/simdjson/simdjson.h */ +-/* begin file include/simdjson/jsonstream.h */ +-#ifndef SIMDJSON_JSONSTREAM_H +-#define SIMDJSON_JSONSTREAM_H ++/* begin file include/simdjson/document_stream.h */ ++#ifndef SIMDJSON_DOCUMENT_STREAM_H ++#define SIMDJSON_DOCUMENT_STREAM_H + + #include + + namespace simdjson { + +-/************************************************************************************* +- * The main motivation for this piece of software is to achieve maximum speed +- *and offer +- * good quality of life while parsing files containing multiple JSON documents. ++template class JsonStream; ++ ++/** ++ * A forward-only stream of documents. + * +- * Since we want to offer flexibility and not restrict ourselves to a specific +- *file +- * format, we support any file that contains any valid JSON documents separated +- *by one +- * or more character that is considered a whitespace by the JSON spec. +- * Namely: space, nothing, linefeed, carriage return, horizontal tab. +- * Anything that is not whitespace will be parsed as a JSON document and could +- *lead +- * to failure. ++ * Produced by document::parser::parse_many. + * +- * To offer maximum parsing speed, our implementation processes the data inside +- *the +- * buffer by batches and their size is defined by the parameter "batch_size". +- * By loading data in batches, we can optimize the time spent allocating data in +- *the +- * parser and can also open the possibility of multi-threading. +- * The batch_size must be at least as large as the biggest document in the file, +- *but +- * not too large in order to submerge the chached memory. We found that 1MB is +- * somewhat a sweet spot for now. Eventually, this batch_size could be fully +- * automated and be optimal at all times. +- ************************************************************************************/ +-/** +-* The template parameter (string_container) must +-* support the data() and size() methods, returning a pointer +-* to a char* and to the number of bytes respectively. +-* The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end +-* of the string, so if you do not use a padded_string container, +-* you have the responsability to overallocated. If you fail to +-* do so, your software may crash if you cross a page boundary, +-* and you should expect memory checkers to object. +-* Most users should use a simdjson::padded_string. +-*/ +-template class JsonStream { ++ */ ++class document::stream { + public: +- /* Create a JsonStream object that can be used to parse sequentially the valid +- * JSON documents found in the buffer "buf". +- * +- * The batch_size must be at least as large as the biggest document in the +- * file, but +- * not too large to submerge the cached memory. We found that 1MB is +- * somewhat a sweet spot for now. +- * +- * The user is expected to call the following json_parse method to parse the +- * next +- * valid JSON document found in the buffer. This method can and is expected +- * to be +- * called in a loop. +- * +- * Various methods are offered to keep track of the status, like +- * get_current_buffer_loc, +- * get_n_parsed_docs, get_n_bytes_parsed, etc. +- * +- * */ +- JsonStream(const string_container &s, size_t batch_size = 1000000); ++ really_inline ~stream() noexcept; ++ ++ /** ++ * An iterator through a forward-only stream of documents. ++ */ ++ class iterator { ++ public: ++ /** ++ * Get the current document (or error). ++ */ ++ really_inline doc_ref_result operator*() noexcept; ++ /** ++ * Advance to the next document. ++ */ ++ inline iterator& operator++() noexcept; ++ /** ++ * Check if we're at the end yet. ++ * @param other the end iterator to compare to. ++ */ ++ really_inline bool operator!=(const iterator &other) const noexcept; + +- ~JsonStream(); ++ private: ++ iterator(stream& stream, bool finished) noexcept; ++ /** The stream parser we're iterating through. */ ++ stream& _stream; ++ /** Whether we're finished or not. */ ++ bool finished; ++ friend class stream; ++ }; + +- /* Parse the next document found in the buffer previously given to JsonStream. ++ /** ++ * Start iterating the documents in the stream. ++ */ ++ really_inline iterator begin() noexcept; ++ /** ++ * The end of the stream, for iterator comparison purposes. ++ */ ++ really_inline iterator end() noexcept; + ++private: ++ ++ stream &operator=(const document::stream &) = delete; // Disallow copying ++ ++ stream(document::stream &other) = delete; // Disallow copying ++ ++ really_inline stream(document::parser &parser, const uint8_t *buf, size_t len, size_t batch_size, error_code error = SUCCESS) noexcept; ++ ++ /** ++ * Parse the next document found in the buffer previously given to stream. ++ * + * The content should be a valid JSON document encoded as UTF-8. If there is a + * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are + * discouraged. + * + * You do NOT need to pre-allocate a parser. This function takes care of +- * pre-allocating a capacity defined by the batch_size defined when creating +- the +- * JsonStream object. ++ * pre-allocating a capacity defined by the batch_size defined when creating the ++ * stream object. + * +- * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in +- case +- * of success and indicates that the buffer still contains more data to be +- parsed, ++ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in case ++ * of success and indicates that the buffer still contains more data to be parsed, + * meaning this function can be called again to return the next JSON document + * after this one. + * +@@ -1824,43 +2545,46 @@ public: + * and indicates that the buffer has successfully been parsed to the end. + * Every document it contained has been parsed without error. + * +- * The function returns an error code from simdjson/simdjson.h in case of +- failure +- * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and +- so forth; +- * the simdjson::error_message function converts these error codes into a +- * string). ++ * The function returns an error code from simdjson/simdjson.h in case of failure ++ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth; ++ * the simdjson::error_message function converts these error codes into a string). + * +- * You can also check validity by calling parser.is_valid(). The same parser +- can ++ * You can also check validity by calling parser.is_valid(). The same parser can + * and should be reused for the other documents in the buffer. */ +- int json_parse(document::parser &parser); ++ inline error_code json_parse() noexcept; + +- /* Returns the location (index) of where the next document should be in the ++ /** ++ * Returns the location (index) of where the next document should be in the + * buffer. + * Can be used for debugging, it tells the user the position of the end of the + * last +- * valid JSON document parsed*/ ++ * valid JSON document parsed ++ */ + inline size_t get_current_buffer_loc() const { return current_buffer_loc; } + +- /* Returns the total amount of complete documents parsed by the JsonStream, +- * in the current buffer, at the given time.*/ ++ /** ++ * Returns the total amount of complete documents parsed by the stream, ++ * in the current buffer, at the given time. ++ */ + inline size_t get_n_parsed_docs() const { return n_parsed_docs; } + +- /* Returns the total amount of data (in bytes) parsed by the JsonStream, +- * in the current buffer, at the given time.*/ ++ /** ++ * Returns the total amount of data (in bytes) parsed by the stream, ++ * in the current buffer, at the given time. ++ */ + inline size_t get_n_bytes_parsed() const { return n_bytes_parsed; } + +-private: +- inline const uint8_t *buf() const { return reinterpret_cast(str.data()) + str_start; } ++ inline const uint8_t *buf() const { return _buf + buf_start; } + +- inline void advance(size_t offset) { str_start += offset; } ++ inline void advance(size_t offset) { buf_start += offset; } + +- inline size_t remaining() const { return str.size() - str_start; } ++ inline size_t remaining() const { return _len - buf_start; } + +- const string_container &str; ++ document::parser &parser; ++ const uint8_t *_buf; ++ const size_t _len; + size_t _batch_size; // this is actually variable! +- size_t str_start{0}; ++ size_t buf_start{0}; + size_t next_json{0}; + bool load_next_batch{true}; + size_t current_buffer_loc{0}; +@@ -1869,17 +2593,19 @@ private: + #endif + size_t n_parsed_docs{0}; + size_t n_bytes_parsed{0}; +- simdjson::implementation *stage_parser; ++ error_code error{SUCCESS_AND_HAS_MORE}; + #ifdef SIMDJSON_THREADS_ENABLED + error_code stage1_is_ok_thread{SUCCESS}; + std::thread stage_1_thread; + document::parser parser_thread; + #endif +-}; // end of class JsonStream ++ template friend class JsonStream; ++ friend class document::parser; ++}; // class document::stream + + } // end of namespace simdjson +-#endif // SIMDJSON_JSONSTREAM_H +-/* end file include/simdjson/jsonstream.h */ ++#endif // SIMDJSON_DOCUMENT_STREAM_H ++/* end file include/simdjson/document_stream.h */ + /* begin file include/simdjson/jsonminifier.h */ + #ifndef SIMDJSON_JSONMINIFIER_H + #define SIMDJSON_JSONMINIFIER_H +@@ -1908,8 +2634,10 @@ static inline size_t json_minify(const std::string_view &p, char *out) { + static inline size_t json_minify(const padded_string &p, char *out) { + return json_minify(p.data(), p.size(), out); + } ++ + } // namespace simdjson +-#endif ++ ++#endif // SIMDJSON_JSONMINIFIER_H + /* end file include/simdjson/jsonminifier.h */ + + // Deprecated API +@@ -1937,6 +2665,10 @@ static inline size_t json_minify(const padded_string &p, char *out) { + #include + #include + ++namespace simdjson { ++class document; ++} ++ + namespace simdjson::internal { + + // ends with zero char +@@ -2042,6 +2774,13 @@ static inline void print_with_escapes(const char *src, std::ostream &os, size_t + print_with_escapes(reinterpret_cast(src), os, len); + } + ++// Forward declaration needed for print_tape_element ++class tape_ref; ++ ++// Print a single element from the tape (and its children) to an ostream. ++// This is the core implementation used by element::print_json() and operator<<. ++void print_tape_element(std::ostream &os, const document *doc, size_t json_index) noexcept; ++ + } // namespace simdjson::internal + + #endif // SIMDJSON_INTERNAL_JSONFORMATUTILS_H +@@ -2103,7 +2842,7 @@ public: + // within the string: get_string_length determines the true string length. + inline const char *get_string() const { + return reinterpret_cast( +- doc.string_buf.get() + (current_val & JSON_VALUE_MASK) + sizeof(uint32_t)); ++ doc.string_buf.get() + (current_val & internal::JSON_VALUE_MASK) + sizeof(uint32_t)); + } + + // return the length of the string in bytes +@@ -2111,7 +2850,7 @@ public: + uint32_t answer; + memcpy(&answer, + reinterpret_cast(doc.string_buf.get() + +- (current_val & JSON_VALUE_MASK)), ++ (current_val & internal::JSON_VALUE_MASK)), + sizeof(uint32_t)); + return answer; + } +@@ -2336,24 +3075,13 @@ using ParsedJson = document::parser; + + namespace simdjson { + +-// load a file in memory... +-// get a corpus; pad out to cache line so we can always use SIMD +-// throws exceptions in case of failure +-// first element of the pair is a string (null terminated) +-// whereas the second element is the length. +-// caller is responsible to free (aligned_free((void*)result.data()))) +-// +-// throws an exception if the file cannot be opened, use try/catch +-// try { +-// p = get_corpus(filename); +-// } catch (const std::exception& e) { +-// aligned_free((void*)p.data()); +-// std::cout << "Could not load the file " << filename << std::endl; +-// } +-padded_string get_corpus(const std::string &filename); ++inline padded_string get_corpus(const std::string &filename) { ++ return padded_string::load(filename); ++} ++ + } // namespace simdjson + +-#endif ++#endif // SIMDJSON_JSONIOUTIL_H + /* end file include/simdjson/jsonioutil.h */ + + namespace simdjson { +@@ -2382,34 +3110,154 @@ inline int json_parse(const padded_string &s, document::parser &parser) noexcept + return json_parse(s.data(), s.length(), parser, false); + } + +-WARN_UNUSED static document::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept { +- document::parser parser; +- if (!parser.allocate_capacity(len)) { +- parser.valid = false; +- parser.error = MEMALLOC; +- return parser; +- } +- json_parse(buf, len, parser, realloc_if_needed); +- return parser; +-} +-WARN_UNUSED inline document::parser build_parsed_json(const char *buf, size_t len, bool realloc_if_needed = true) noexcept { +- return build_parsed_json(reinterpret_cast(buf), len, realloc_if_needed); +-} +-WARN_UNUSED inline document::parser build_parsed_json(const std::string &s, bool realloc_if_needed = true) noexcept { +- return build_parsed_json(s.data(), s.length(), realloc_if_needed); +-} +-WARN_UNUSED inline document::parser build_parsed_json(const padded_string &s) noexcept { +- return build_parsed_json(s.data(), s.length(), false); +-} ++WARN_UNUSED static document::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept { ++ document::parser parser; ++ json_parse(buf, len, parser, realloc_if_needed); ++ return parser; ++} ++WARN_UNUSED inline document::parser build_parsed_json(const char *buf, size_t len, bool realloc_if_needed = true) noexcept { ++ return build_parsed_json(reinterpret_cast(buf), len, realloc_if_needed); ++} ++WARN_UNUSED inline document::parser build_parsed_json(const std::string &s, bool realloc_if_needed = true) noexcept { ++ return build_parsed_json(s.data(), s.length(), realloc_if_needed); ++} ++WARN_UNUSED inline document::parser build_parsed_json(const padded_string &s) noexcept { ++ return build_parsed_json(s.data(), s.length(), false); ++} ++ ++// We do not want to allow implicit conversion from C string to std::string. ++int json_parse(const char *buf, document::parser &parser) noexcept = delete; ++document::parser build_parsed_json(const char *buf) noexcept = delete; ++ ++} // namespace simdjson ++ ++#endif ++/* end file include/simdjson/jsonioutil.h */ ++/* begin file include/simdjson/jsonstream.h */ ++// TODO Remove this -- deprecated API and files ++ ++#ifndef SIMDJSON_JSONSTREAM_H ++#define SIMDJSON_JSONSTREAM_H ++ ++ ++namespace simdjson { ++ ++/** ++ * @deprecated use document::stream instead. ++ * ++ * The main motivation for this piece of software is to achieve maximum speed and offer ++ * good quality of life while parsing files containing multiple JSON documents. ++ * ++ * Since we want to offer flexibility and not restrict ourselves to a specific file ++ * format, we support any file that contains any valid JSON documents separated by one ++ * or more character that is considered a whitespace by the JSON spec. ++ * Namely: space, nothing, linefeed, carriage return, horizontal tab. ++ * Anything that is not whitespace will be parsed as a JSON document and could lead ++ * to failure. ++ * ++ * To offer maximum parsing speed, our implementation processes the data inside the ++ * buffer by batches and their size is defined by the parameter "batch_size". ++ * By loading data in batches, we can optimize the time spent allocating data in the ++ * parser and can also open the possibility of multi-threading. ++ * The batch_size must be at least as large as the biggest document in the file, but ++ * not too large in order to submerge the chached memory. We found that 1MB is ++ * somewhat a sweet spot for now. Eventually, this batch_size could be fully ++ * automated and be optimal at all times. ++ * ++ * The template parameter (string_container) must ++ * support the data() and size() methods, returning a pointer ++ * to a char* and to the number of bytes respectively. ++ * The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end ++ * of the string, so if you do not use a padded_string container, ++ * you have the responsability to overallocated. If you fail to ++ * do so, your software may crash if you cross a page boundary, ++ * and you should expect memory checkers to object. ++ * Most users should use a simdjson::padded_string. ++ */ ++template class JsonStream { ++public: ++ /* Create a JsonStream object that can be used to parse sequentially the valid ++ * JSON documents found in the buffer "buf". ++ * ++ * The batch_size must be at least as large as the biggest document in the ++ * file, but ++ * not too large to submerge the cached memory. We found that 1MB is ++ * somewhat a sweet spot for now. ++ * ++ * The user is expected to call the following json_parse method to parse the ++ * next ++ * valid JSON document found in the buffer. This method can and is expected ++ * to be ++ * called in a loop. ++ * ++ * Various methods are offered to keep track of the status, like ++ * get_current_buffer_loc, ++ * get_n_parsed_docs, get_n_bytes_parsed, etc. ++ * ++ * */ ++ JsonStream(const string_container &s, size_t _batch_size = 1000000) noexcept; ++ ++ ~JsonStream() noexcept; ++ ++ /* Parse the next document found in the buffer previously given to JsonStream. ++ ++ * The content should be a valid JSON document encoded as UTF-8. If there is a ++ * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are ++ * discouraged. ++ * ++ * You do NOT need to pre-allocate a parser. This function takes care of ++ * pre-allocating a capacity defined by the batch_size defined when creating ++ the ++ * JsonStream object. ++ * ++ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in ++ case ++ * of success and indicates that the buffer still contains more data to be ++ parsed, ++ * meaning this function can be called again to return the next JSON document ++ * after this one. ++ * ++ * The function returns simdjson::SUCCESS (as integer = 0) in case of success ++ * and indicates that the buffer has successfully been parsed to the end. ++ * Every document it contained has been parsed without error. ++ * ++ * The function returns an error code from simdjson/simdjson.h in case of ++ failure ++ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and ++ so forth; ++ * the simdjson::error_message function converts these error codes into a ++ * string). ++ * ++ * You can also check validity by calling parser.is_valid(). The same parser ++ can ++ * and should be reused for the other documents in the buffer. */ ++ int json_parse(document::parser &parser) noexcept; ++ ++ /* Returns the location (index) of where the next document should be in the ++ * buffer. ++ * Can be used for debugging, it tells the user the position of the end of the ++ * last ++ * valid JSON document parsed*/ ++ inline size_t get_current_buffer_loc() const noexcept { return stream ? stream->current_buffer_loc : 0; } ++ ++ /* Returns the total amount of complete documents parsed by the JsonStream, ++ * in the current buffer, at the given time.*/ ++ inline size_t get_n_parsed_docs() const noexcept { return stream ? stream->n_parsed_docs : 0; } + +-// We do not want to allow implicit conversion from C string to std::string. +-int json_parse(const char *buf, document::parser &parser) noexcept = delete; +-document::parser build_parsed_json(const char *buf) noexcept = delete; ++ /* Returns the total amount of data (in bytes) parsed by the JsonStream, ++ * in the current buffer, at the given time.*/ ++ inline size_t get_n_bytes_parsed() const noexcept { return stream ? stream->n_bytes_parsed : 0; } + +-} // namespace simdjson ++private: ++ const string_container &str; ++ const size_t batch_size; ++ document::stream *stream{nullptr}; ++}; // end of class JsonStream + +-#endif +-/* end file include/simdjson/jsonioutil.h */ ++} // end of namespace simdjson ++ ++#endif // SIMDJSON_JSONSTREAM_H ++/* end file include/simdjson/jsonstream.h */ + + // Inline functions + /* begin file include/simdjson/inline/document.h */ +@@ -2431,32 +3279,32 @@ template + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} + template<> + inline document::element_result::operator std::string_view() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator const char *() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator bool() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator uint64_t() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator int64_t() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator double() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + +@@ -2466,15 +3314,15 @@ inline document::element_result::operator double() const noexcept(false) + inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {} + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} + inline document::element_result::operator document::array() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + inline document::array::iterator document::element_result::begin() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.begin(); + } + inline document::array::iterator document::element_result::end() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.end(); + } + +@@ -2484,7 +3332,7 @@ inline document::array::iterator document::element_result::end( + inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {} + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} + inline document::element_result::operator document::object() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept { +@@ -2496,11 +3344,11 @@ inline document::element_result document::element_result::begin() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.begin(); + } + inline document::object::iterator document::element_result::end() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.end(); + } + +@@ -2607,30 +3455,33 @@ inline document::element_result document::operator[](const ch + return root()[key]; + } + ++inline document::doc_result document::load(const std::string &path) noexcept { ++ document::parser parser; ++ auto [doc, error] = parser.load(path); ++ return document::doc_result((document &&)doc, error); ++} ++ + inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { + document::parser parser; +- if (!parser.allocate_capacity(len)) { +- return MEMALLOC; +- } + auto [doc, error] = parser.parse(buf, len, realloc_if_needed); + return document::doc_result((document &&)doc, error); + } + really_inline document::doc_result document::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept { +- return parse((const uint8_t *)buf, len, realloc_if_needed); ++ return parse((const uint8_t *)buf, len, realloc_if_needed); + } + really_inline document::doc_result document::parse(const std::string &s) noexcept { +- return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING); ++ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING); + } + really_inline document::doc_result document::parse(const padded_string &s) noexcept { +- return parse(s.data(), s.length(), false); ++ return parse(s.data(), s.length(), false); + } + + WARN_UNUSED +-inline bool document::set_capacity(size_t capacity) { ++inline error_code document::set_capacity(size_t capacity) noexcept { + if (capacity == 0) { + string_buf.reset(); + tape.reset(); +- return true; ++ return SUCCESS; + } + + // a pathological input like "[[[[..." would generate len tape elements, so +@@ -2644,7 +3495,7 @@ inline bool document::set_capacity(size_t capacity) { + size_t string_capacity = ROUNDUP_N(5 * capacity / 3 + 32, 64); + string_buf.reset( new (std::nothrow) uint8_t[string_capacity]); + tape.reset(new (std::nothrow) uint64_t[tape_capacity]); +- return string_buf && tape; ++ return string_buf && tape ? SUCCESS : MEMALLOC; + } + + inline bool document::print_json(std::ostream &os, size_t max_depth) const noexcept { +@@ -2654,7 +3505,7 @@ inline bool document::print_json(std::ostream &os, size_t max_depth) const noexc + uint8_t type = (tape_val >> 56); + size_t how_many = 0; + if (type == 'r') { +- how_many = tape_val & JSON_VALUE_MASK; ++ how_many = tape_val & internal::JSON_VALUE_MASK; + } else { + // Error: no starting root node? + return false; +@@ -2667,7 +3518,7 @@ inline bool document::print_json(std::ostream &os, size_t max_depth) const noexc + in_object[depth] = false; + for (; tape_idx < how_many; tape_idx++) { + tape_val = tape[tape_idx]; +- uint64_t payload = tape_val & JSON_VALUE_MASK; ++ uint64_t payload = tape_val & internal::JSON_VALUE_MASK; + type = (tape_val >> 56); + if (!in_object[depth]) { + if ((in_object_idx[depth] > 0) && (type != ']')) { +@@ -2762,7 +3613,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + tape_idx++; + size_t how_many = 0; + if (type == 'r') { +- how_many = tape_val & JSON_VALUE_MASK; ++ how_many = tape_val & internal::JSON_VALUE_MASK; + } else { + // Error: no starting root node? + return false; +@@ -2772,7 +3623,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + for (; tape_idx < how_many; tape_idx++) { + os << tape_idx << " : "; + tape_val = tape[tape_idx]; +- payload = tape_val & JSON_VALUE_MASK; ++ payload = tape_val & internal::JSON_VALUE_MASK; + type = (tape_val >> 56); + switch (type) { + case '"': // we have a string +@@ -2839,7 +3690,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + } + } + tape_val = tape[tape_idx]; +- payload = tape_val & JSON_VALUE_MASK; ++ payload = tape_val & internal::JSON_VALUE_MASK; + type = (tape_val >> 56); + os << tape_idx << " : " << type << "\t// pointing to " << payload + << " (start root)\n"; +@@ -2851,13 +3702,16 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + // + inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { } + inline document::doc_ref_result::operator document&() noexcept(false) { +- if (error) { +- throw invalid_json(error); +- } ++ if (error) { throw simdjson_error(error); } + return doc; + } +-inline const std::string &document::doc_ref_result::get_error_message() const noexcept { +- return error_message(error); ++inline document::element_result document::doc_ref_result::operator[](const std::string_view &key) const noexcept { ++ if (error) { return error; } ++ return doc[key]; ++} ++inline document::element_result document::doc_ref_result::operator[](const char *key) const noexcept { ++ if (error) { return error; } ++ return doc[key]; + } + + // +@@ -2867,41 +3721,61 @@ inline document::doc_result::doc_result(document &&_doc, error_code _error) noex + inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::move(_doc)), error(SUCCESS) { } + inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { } + inline document::doc_result::operator document() noexcept(false) { +- if (error) { +- throw invalid_json(error); +- } ++ if (error) { throw simdjson_error(error); } + return std::move(doc); + } +-inline const std::string &document::doc_result::get_error_message() const noexcept { +- return error_message(error); ++inline document::element_result document::doc_result::operator[](const std::string_view &key) const noexcept { ++ if (error) { return error; } ++ return doc[key]; ++} ++inline document::element_result document::doc_result::operator[](const char *key) const noexcept { ++ if (error) { return error; } ++ return doc[key]; + } + + // + // document::parser inline implementation + // ++really_inline document::parser::parser(size_t max_capacity, size_t max_depth) noexcept ++ : _max_capacity{max_capacity}, _max_depth{max_depth} { ++ ++} + inline bool document::parser::is_valid() const noexcept { return valid; } + inline int document::parser::get_error_code() const noexcept { return error; } +-inline std::string document::parser::get_error_message() const noexcept { return error_message(error); } ++inline std::string document::parser::get_error_message() const noexcept { return error_message(int(error)); } + inline bool document::parser::print_json(std::ostream &os) const noexcept { +- return is_valid() ? doc.print_json(os) : false; ++ if (!is_valid()) { return false; } ++ internal::print_tape_element(os, &doc, 1); ++ return true; + } + inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept { + return is_valid() ? doc.dump_raw_tape(os) : false; + } + inline const document &document::parser::get_document() const noexcept(false) { + if (!is_valid()) { +- throw invalid_json(error); ++ throw simdjson_error(error); + } + return doc; + } + ++inline document::doc_ref_result document::parser::load(const std::string &path) noexcept { ++ auto [json, _error] = padded_string::load(path); ++ if (_error) { return doc_ref_result(doc, _error); } ++ return parse(json); ++} ++ ++inline document::stream document::parser::load_many(const std::string &path, size_t batch_size) noexcept { ++ auto [json, _error] = padded_string::load(path); ++ return stream(*this, reinterpret_cast(json.data()), json.length(), batch_size, _error); ++} ++ + inline document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { +- error_code code = init_parse(len); ++ error_code code = ensure_capacity(len); + if (code) { return document::doc_ref_result(doc, code); } + + if (realloc_if_needed) { + const uint8_t *tmp_buf = buf; +- buf = (uint8_t *)allocate_padded_buffer(len); ++ buf = (uint8_t *)internal::allocate_padded_buffer(len); + if (buf == nullptr) + return document::doc_ref_result(doc, MEMALLOC); + memcpy((void *)buf, tmp_buf, len); +@@ -2927,20 +3801,33 @@ really_inline document::doc_ref_result document::parser::parse(const padded_stri + return parse(s.data(), s.length(), false); + } + ++inline document::stream document::parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { ++ return stream(*this, buf, len, batch_size); ++} ++inline document::stream document::parser::parse_many(const char *buf, size_t len, size_t batch_size) noexcept { ++ return parse_many((const uint8_t *)buf, len, batch_size); ++} ++inline document::stream document::parser::parse_many(const std::string &s, size_t batch_size) noexcept { ++ return parse_many(s.data(), s.length(), batch_size); ++} ++inline document::stream document::parser::parse_many(const padded_string &s, size_t batch_size) noexcept { ++ return parse_many(s.data(), s.length(), batch_size); ++} ++ + really_inline size_t document::parser::capacity() const noexcept { + return _capacity; + } ++really_inline size_t document::parser::max_capacity() const noexcept { ++ return _max_capacity; ++} + really_inline size_t document::parser::max_depth() const noexcept { + return _max_depth; + } +-WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) { +- return set_capacity(capacity) && set_max_depth(max_depth); +-} + + WARN_UNUSED +-inline bool document::parser::set_capacity(size_t capacity) { ++inline error_code document::parser::set_capacity(size_t capacity) noexcept { + if (_capacity == capacity) { +- return true; ++ return SUCCESS; + } + + // Set capacity to 0 until we finish, in case there's an error +@@ -2949,16 +3836,15 @@ inline bool document::parser::set_capacity(size_t capacity) { + // + // Reallocate the document + // +- if (!doc.set_capacity(capacity)) { +- return false; +- } ++ error_code err = doc.set_capacity(capacity); ++ if (err) { return err; } + + // + // Don't allocate 0 bytes, just return. + // + if (capacity == 0) { + structural_indexes.reset(); +- return true; ++ return SUCCESS; + } + + // +@@ -2967,20 +3853,26 @@ inline bool document::parser::set_capacity(size_t capacity) { + uint32_t max_structures = ROUNDUP_N(capacity, 64) + 2 + 7; + structural_indexes.reset( new (std::nothrow) uint32_t[max_structures]); // TODO realloc + if (!structural_indexes) { +- return false; ++ return MEMALLOC; + } + + _capacity = capacity; +- return true; ++ return SUCCESS; ++} ++ ++really_inline void document::parser::set_max_capacity(size_t max_capacity) noexcept { ++ _max_capacity = max_capacity; + } + +-WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) { ++WARN_UNUSED inline error_code document::parser::set_max_depth(size_t max_depth) noexcept { ++ if (max_depth == _max_depth && ret_address) { return SUCCESS; } ++ + _max_depth = 0; + + if (max_depth == 0) { + ret_address.reset(); + containing_scope_offset.reset(); +- return true; ++ return SUCCESS; + } + + // +@@ -2995,24 +3887,38 @@ WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) { + + if (!ret_address || !containing_scope_offset) { + // Could not allocate memory +- return false; ++ return MEMALLOC; + } + + _max_depth = max_depth; +- return true; ++ return SUCCESS; + } + +-WARN_UNUSED +-inline error_code document::parser::init_parse(size_t len) noexcept { +- if (len > capacity()) { +- return error = CAPACITY; ++WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) noexcept { ++ return !set_capacity(capacity) && !set_max_depth(max_depth); ++} ++ ++inline error_code document::parser::ensure_capacity(size_t desired_capacity) noexcept { ++ // If we don't have enough capacity, (try to) automatically bump it. ++ if (unlikely(desired_capacity > capacity())) { ++ if (desired_capacity > max_capacity()) { ++ return error = CAPACITY; ++ } ++ ++ error = set_capacity(desired_capacity); ++ if (error) { return error; } + } ++ ++ // Allocate depth-based buffers if they aren't already. ++ error = set_max_depth(max_depth()); ++ if (error) { return error; } ++ + // If the last doc was taken, we need to allocate a new one + if (!doc.tape) { +- if (!doc.set_capacity(len)) { +- return error = MEMALLOC; +- } ++ error = doc.set_capacity(desired_capacity); ++ if (error) { return error; } + } ++ + return SUCCESS; + } + +@@ -3039,7 +3945,7 @@ really_inline document::tape_type document::tape_ref::type() const noexcept { + return static_cast(doc->tape[json_index] >> 56); + } + really_inline uint64_t document::tape_ref::tape_value() const noexcept { +- return doc->tape[json_index] & JSON_VALUE_MASK; ++ return doc->tape[json_index] & internal::JSON_VALUE_MASK; + } + template + really_inline T document::tape_ref::next_tape_value() const noexcept { +@@ -3237,7 +4143,6 @@ inline document::element_result document::element::as_int64_t() const n + case tape_type::INT64: + return next_tape_value(); + default: +- std::cout << "Incorrect " << json_index << " = " << char(type()) << std::endl; + return INCORRECT_TYPE; + } + } +@@ -3286,6 +4191,66 @@ inline document::element_result document::element::operator[] + return obj[key]; + } + ++inline void document::element::print_json(std::ostream &os) const noexcept { ++ internal::print_tape_element(os, doc, json_index); ++} ++ ++inline void document::array::print_json(std::ostream &os) const noexcept { ++ internal::print_tape_element(os, doc, json_index); ++} ++ ++inline void document::object::print_json(std::ostream &os) const noexcept { ++ internal::print_tape_element(os, doc, json_index); ++} ++ ++// ++// operator<< inline implementations ++// ++inline std::ostream &operator<<(std::ostream &os, const document &doc) noexcept { ++ internal::print_tape_element(os, &doc, 1); ++ return os; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::element &element) noexcept { ++ element.print_json(os); ++ return os; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::array &array) noexcept { ++ array.print_json(os); ++ return os; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::object &object) noexcept { ++ object.print_json(os); ++ return os; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::doc_result &doc) noexcept(false) { ++ if (doc.error) { throw simdjson_error(doc.error); } ++ return os << doc.doc; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::doc_ref_result &doc) noexcept(false) { ++ if (doc.error) { throw simdjson_error(doc.error); } ++ return os << doc.doc; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &element) noexcept(false) { ++ if (element.error) { throw simdjson_error(element.error); } ++ return os << element.value; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &array) noexcept(false) { ++ if (array.error) { throw simdjson_error(array.error); } ++ return os << array.value; ++} ++ ++inline std::ostream &operator<<(std::ostream &os, const document::element_result &object) noexcept(false) { ++ if (object.error) { throw simdjson_error(object.error); } ++ return os << object.value; ++} ++ + } // namespace simdjson + + #endif // SIMDJSON_INLINE_DOCUMENT_H +@@ -3442,7 +4407,7 @@ template bool document_iterator::prev() { + oldnpos = npos; + if ((current_type == '[') || (current_type == '{')) { + // we need to jump +- npos = (current_val & JSON_VALUE_MASK); ++ npos = (current_val & internal::JSON_VALUE_MASK); + } else { + npos = npos + ((current_type == 'd' || current_type == 'l') ? 2 : 1); + } +@@ -3471,7 +4436,7 @@ template bool document_iterator::down() { + return false; + } + if ((current_type == '[') || (current_type == '{')) { +- size_t npos = (current_val & JSON_VALUE_MASK); ++ size_t npos = (current_val & internal::JSON_VALUE_MASK); + if (npos == location + 2) { + return false; // we have an empty scope + } +@@ -3498,7 +4463,7 @@ template bool document_iterator::next() { + size_t npos; + if ((current_type == '[') || (current_type == '{')) { + // we need to jump +- npos = (current_val & JSON_VALUE_MASK); ++ npos = (current_val & internal::JSON_VALUE_MASK); + } else { + npos = location + (is_number() ? 2 : 1); + } +@@ -3520,7 +4485,7 @@ document_iterator::document_iterator(const document &doc_) noexcept + current_val = doc.tape[location++]; + current_type = (current_val >> 56); + depth_index[0].scope_type = current_type; +- tape_length = current_val & JSON_VALUE_MASK; ++ tape_length = current_val & internal::JSON_VALUE_MASK; + if (location < tape_length) { + // If we make it here, then depth_capacity must >=2, but the compiler + // may not know this. +@@ -3748,7 +4713,7 @@ bool document_iterator::relative_move_to(const char *pointer, + size_t npos; + if ((current_type == '[') || (current_type == '{')) { + // we need to jump +- npos = (current_val & JSON_VALUE_MASK); ++ npos = (current_val & internal::JSON_VALUE_MASK); + } else { + npos = + location + ((current_type == 'd' || current_type == 'l') ? 2 : 1); +@@ -3782,9 +4747,9 @@ bool document_iterator::relative_move_to(const char *pointer, + + #endif // SIMDJSON_INLINE_DOCUMENT_ITERATOR_H + /* end file include/simdjson/inline/document_iterator.h */ +-/* begin file include/simdjson/inline/jsonstream.h */ +-#ifndef SIMDJSON_INLINE_JSONSTREAM_H +-#define SIMDJSON_INLINE_JSONSTREAM_H ++/* begin file include/simdjson/inline/document_stream.h */ ++#ifndef SIMDJSON_INLINE_DOCUMENT_STREAM_H ++#define SIMDJSON_INLINE_DOCUMENT_STREAM_H + + #include + #include +@@ -3793,7 +4758,8 @@ bool document_iterator::relative_move_to(const char *pointer, + + namespace simdjson::internal { + +-/* This algorithm is used to quickly identify the buffer position of ++/** ++ * This algorithm is used to quickly identify the buffer position of + * the last JSON document inside the current batch. + * + * It does its work by finding the last pair of structural characters +@@ -3880,13 +4846,17 @@ static inline size_t trimmed_length_safe_utf8(const char * c, size_t len) { + + namespace simdjson { + +-template +-JsonStream::JsonStream(const string_container &s, +- size_t batchSize) +- : str(s), _batch_size(batchSize) { ++really_inline document::stream::stream( ++ document::parser &_parser, ++ const uint8_t *buf, ++ size_t len, ++ size_t batch_size, ++ error_code _error ++) noexcept : parser{_parser}, _buf{buf}, _len{len}, _batch_size(batch_size), error{_error} { ++ if (!error) { error = json_parse(); } + } + +-template JsonStream::~JsonStream() { ++inline document::stream::~stream() noexcept { + #ifdef SIMDJSON_THREADS_ENABLED + if (stage_1_thread.joinable()) { + stage_1_thread.join(); +@@ -3894,42 +4864,61 @@ template JsonStream::~JsonStream() { + #endif + } + ++really_inline document::stream::iterator document::stream::begin() noexcept { ++ return iterator(*this, false); ++} ++ ++really_inline document::stream::iterator document::stream::end() noexcept { ++ return iterator(*this, true); ++} ++ ++really_inline document::stream::iterator::iterator(stream& stream, bool _is_end) noexcept ++ : _stream{stream}, finished{_is_end} { ++} ++ ++really_inline document::doc_ref_result document::stream::iterator::operator*() noexcept { ++ return doc_ref_result(_stream.parser.doc, _stream.error == SUCCESS_AND_HAS_MORE ? SUCCESS : _stream.error); ++} ++ ++really_inline document::stream::iterator& document::stream::iterator::operator++() noexcept { ++ if (_stream.error == SUCCESS_AND_HAS_MORE) { ++ _stream.error = _stream.json_parse(); ++ } else { ++ finished = true; ++ } ++ return *this; ++} ++ ++really_inline bool document::stream::iterator::operator!=(const document::stream::iterator &other) const noexcept { ++ return finished != other.finished; ++} ++ + #ifdef SIMDJSON_THREADS_ENABLED + + // threaded version of json_parse + // todo: simplify this code further +-template +-int JsonStream::json_parse(document::parser &parser) { +- if (unlikely(parser.capacity() == 0)) { +- const bool allocok = parser.allocate_capacity(_batch_size); +- if (!allocok) { +- return parser.error = simdjson::MEMALLOC; +- } +- } else if (unlikely(parser.capacity() < _batch_size)) { +- return parser.error = simdjson::CAPACITY; +- } +- if (unlikely(parser_thread.capacity() < _batch_size)) { +- const bool allocok_thread = parser_thread.allocate_capacity(_batch_size); +- if (!allocok_thread) { +- return parser.error = simdjson::MEMALLOC; +- } +- } ++inline error_code document::stream::json_parse() noexcept { ++ error = parser.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ error = parser_thread.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ + if (unlikely(load_next_batch)) { + // First time loading + if (!stage_1_thread.joinable()) { + _batch_size = (std::min)(_batch_size, remaining()); + _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size); + if (_batch_size == 0) { +- return parser.error = simdjson::UTF8_ERROR; ++ return simdjson::UTF8_ERROR; + } + auto stage1_is_ok = error_code(simdjson::active_implementation->stage1(buf(), _batch_size, parser, true)); + if (stage1_is_ok != simdjson::SUCCESS) { +- return parser.error = stage1_is_ok; ++ return stage1_is_ok; + } + size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser); + if (last_index == 0) { + if (parser.n_structural_indexes == 0) { +- return parser.error = simdjson::EMPTY; ++ return simdjson::EMPTY; + } + } else { + parser.n_structural_indexes = last_index + 1; +@@ -3939,7 +4928,7 @@ int JsonStream::json_parse(document::parser &parser) { + else { + stage_1_thread.join(); + if (stage1_is_ok_thread != simdjson::SUCCESS) { +- return parser.error = stage1_is_ok_thread; ++ return stage1_is_ok_thread; + } + std::swap(parser.structural_indexes, parser_thread.structural_indexes); + parser.n_structural_indexes = parser_thread.n_structural_indexes; +@@ -3955,7 +4944,7 @@ int JsonStream::json_parse(document::parser &parser) { + _batch_size = internal::trimmed_length_safe_utf8( + (const char *)(buf() + last_json_buffer_loc), _batch_size); + if (_batch_size == 0) { +- return parser.error = simdjson::UTF8_ERROR; ++ return simdjson::UTF8_ERROR; + } + // let us capture read-only variables + const uint8_t *const b = buf() + last_json_buffer_loc; +@@ -3971,7 +4960,7 @@ int JsonStream::json_parse(document::parser &parser) { + next_json = 0; + load_next_batch = false; + } // load_next_batch +- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); ++ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); + if (res == simdjson::SUCCESS_AND_HAS_MORE) { + n_parsed_docs++; + current_buffer_loc = parser.structural_indexes[next_json]; +@@ -3990,18 +4979,10 @@ int JsonStream::json_parse(document::parser &parser) { + #else // SIMDJSON_THREADS_ENABLED + + // single-threaded version of json_parse +-template +-int JsonStream::json_parse(document::parser &parser) { +- if (unlikely(parser.capacity() == 0)) { +- const bool allocok = parser.allocate_capacity(_batch_size); +- if (!allocok) { +- parser.valid = false; +- return parser.error = MEMALLOC; +- } +- } else if (unlikely(parser.capacity() < _batch_size)) { +- parser.valid = false; +- return parser.error = CAPACITY; +- } ++inline error_code document::stream::json_parse() noexcept { ++ error = parser.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ + if (unlikely(load_next_batch)) { + advance(current_buffer_loc); + n_bytes_parsed += current_buffer_loc; +@@ -4009,21 +4990,19 @@ int JsonStream::json_parse(document::parser &parser) { + _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size); + auto stage1_is_ok = (error_code)simdjson::active_implementation->stage1(buf(), _batch_size, parser, true); + if (stage1_is_ok != simdjson::SUCCESS) { +- parser.valid = false; +- return parser.error = stage1_is_ok; ++ return stage1_is_ok; + } + size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser); + if (last_index == 0) { + if (parser.n_structural_indexes == 0) { +- parser.valid = false; +- return parser.error = EMPTY; ++ return EMPTY; + } + } else { + parser.n_structural_indexes = last_index + 1; + } + load_next_batch = false; + } // load_next_batch +- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); ++ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); + if (likely(res == simdjson::SUCCESS_AND_HAS_MORE)) { + n_parsed_docs++; + current_buffer_loc = parser.structural_indexes[next_json]; +@@ -4035,16 +5014,248 @@ int JsonStream::json_parse(document::parser &parser) { + load_next_batch = true; + res = simdjson::SUCCESS_AND_HAS_MORE; + } +- } else { +- printf("E\n"); + } + return res; + } + #endif // SIMDJSON_THREADS_ENABLED + + } // end of namespace simdjson ++#endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H ++/* end file include/simdjson/inline/document_stream.h */ ++/* begin file include/simdjson/inline/error.h */ ++#ifndef SIMDJSON_INLINE_ERROR_H ++#define SIMDJSON_INLINE_ERROR_H ++ ++#include ++ ++namespace simdjson::internal { ++ // We store the error code so we can validate the error message is associated with the right code ++ struct error_code_info { ++ error_code code; ++ std::string message; ++ }; ++ // These MUST match the codes in error_code. We check this constraint in basictests. ++ inline const error_code_info error_codes[] { ++ { SUCCESS, "No error" }, ++ { SUCCESS_AND_HAS_MORE, "No error and buffer still has more data" }, ++ { CAPACITY, "This parser can't support a document that big" }, ++ { MEMALLOC, "Error allocating memory, we're most likely out of memory" }, ++ { TAPE_ERROR, "Something went wrong while writing to the tape" }, ++ { DEPTH_ERROR, "The JSON document was too deep (too many nested objects and arrays)" }, ++ { STRING_ERROR, "Problem while parsing a string" }, ++ { T_ATOM_ERROR, "Problem while parsing an atom starting with the letter 't'" }, ++ { F_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'f'" }, ++ { N_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'n'" }, ++ { NUMBER_ERROR, "Problem while parsing a number" }, ++ { UTF8_ERROR, "The input is not valid UTF-8" }, ++ { UNINITIALIZED, "Uninitialized" }, ++ { EMPTY, "Empty: no JSON found" }, ++ { UNESCAPED_CHARS, "Within strings, some characters must be escaped, we found unescaped characters" }, ++ { UNCLOSED_STRING, "A string is opened, but never closed." }, ++ { UNSUPPORTED_ARCHITECTURE, "simdjson does not have an implementation supported by this CPU architecture (perhaps it's a non-SIMD CPU?)." }, ++ { INCORRECT_TYPE, "The JSON element does not have the requested type." }, ++ { NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type." }, ++ { NO_SUCH_FIELD, "The JSON field referenced does not exist in this object." }, ++ { IO_ERROR, "Error reading the file." }, ++ { UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as you may have found a bug in simdjson" } ++ }; // error_messages[] ++} // namespace simdjson::internal ++ ++namespace simdjson { ++ ++inline const char *error_message(error_code error) noexcept { ++ // If you're using error_code, we're trusting you got it from the enum. ++ return internal::error_codes[int(error)].message.c_str(); ++} ++ ++inline const std::string &error_message(int error) noexcept { ++ if (error < 0 || error >= error_code::NUM_ERROR_CODES) { ++ return internal::error_codes[UNEXPECTED_ERROR].message; ++ } ++ return internal::error_codes[error].message; ++} ++ ++inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept { ++ return out << error_message(error); ++} ++ ++} // namespace simdjson ++ ++#endif // SIMDJSON_INLINE_ERROR_H ++/* end file include/simdjson/inline/error.h */ ++/* begin file include/simdjson/inline/jsonstream.h */ ++// TODO Remove this -- deprecated API and files ++ ++#ifndef SIMDJSON_INLINE_JSONSTREAM_H ++#define SIMDJSON_INLINE_JSONSTREAM_H ++ ++ ++namespace simdjson { ++ ++template ++inline JsonStream::JsonStream(const string_container &s, size_t _batch_size) noexcept ++ : str(s), batch_size(_batch_size) { ++} ++ ++template ++inline JsonStream::~JsonStream() noexcept { ++ if (stream) { delete stream; } ++} ++ ++template ++inline int JsonStream::json_parse(document::parser &parser) noexcept { ++ if (unlikely(stream == nullptr)) { ++ stream = new document::stream(parser, reinterpret_cast(str.data()), str.length(), batch_size); ++ } else { ++ if (&parser != &stream->parser) { return stream->error = TAPE_ERROR; } ++ stream->error = stream->json_parse(); ++ } ++ return stream->error; ++} ++ ++} // namespace simdjson ++ + #endif // SIMDJSON_INLINE_JSONSTREAM_H + /* end file include/simdjson/inline/jsonstream.h */ ++/* begin file include/simdjson/inline/padded_string.h */ ++#ifndef SIMDJSON_INLINE_PADDED_STRING_H ++#define SIMDJSON_INLINE_PADDED_STRING_H ++ ++ ++#include ++#include ++#include ++#include ++ ++namespace simdjson::internal { ++ ++// low-level function to allocate memory with padding so we can read past the ++// "length" bytes safely. if you must provide a pointer to some data, create it ++// with this function: length is the max. size in bytes of the string caller is ++// responsible to free the memory (free(...)) ++inline char *allocate_padded_buffer(size_t length) noexcept { ++ // we could do a simple malloc ++ // return (char *) malloc(length + SIMDJSON_PADDING); ++ // However, we might as well align to cache lines... ++ size_t totalpaddedlength = length + SIMDJSON_PADDING; ++ char *padded_buffer = aligned_malloc_char(64, totalpaddedlength); ++#ifndef NDEBUG ++ if (padded_buffer == nullptr) { ++ return nullptr; ++ } ++#endif // NDEBUG ++ memset(padded_buffer + length, 0, totalpaddedlength - length); ++ return padded_buffer; ++} // allocate_padded_buffer() ++ ++} // namespace simdjson::internal ++ ++namespace simdjson { ++ ++inline padded_string::padded_string() noexcept : viable_size(0), data_ptr(nullptr) {} ++inline padded_string::padded_string(size_t length) noexcept ++ : viable_size(length), data_ptr(internal::allocate_padded_buffer(length)) { ++ if (data_ptr != nullptr) ++ data_ptr[length] = '\0'; // easier when you need a c_str ++} ++inline padded_string::padded_string(const char *data, size_t length) noexcept ++ : viable_size(length), data_ptr(internal::allocate_padded_buffer(length)) { ++ if ((data != nullptr) and (data_ptr != nullptr)) { ++ memcpy(data_ptr, data, length); ++ data_ptr[length] = '\0'; // easier when you need a c_str ++ } ++} ++// note: do not pass std::string arguments by value ++inline padded_string::padded_string(const std::string & str_ ) noexcept ++ : viable_size(str_.size()), data_ptr(internal::allocate_padded_buffer(str_.size())) { ++ if (data_ptr != nullptr) { ++ memcpy(data_ptr, str_.data(), str_.size()); ++ data_ptr[str_.size()] = '\0'; // easier when you need a c_str ++ } ++} ++// note: do pass std::string_view arguments by value ++inline padded_string::padded_string(std::string_view sv_) noexcept ++ : viable_size(sv_.size()), data_ptr(internal::allocate_padded_buffer(sv_.size())) { ++ if (data_ptr != nullptr) { ++ memcpy(data_ptr, sv_.data(), sv_.size()); ++ data_ptr[sv_.size()] = '\0'; // easier when you need a c_str ++ } ++} ++inline padded_string::padded_string(padded_string &&o) noexcept ++ : viable_size(o.viable_size), data_ptr(o.data_ptr) { ++ o.data_ptr = nullptr; // we take ownership ++} ++ ++inline padded_string &padded_string::operator=(padded_string &&o) noexcept { ++ aligned_free_char(data_ptr); ++ data_ptr = o.data_ptr; ++ viable_size = o.viable_size; ++ o.data_ptr = nullptr; // we take ownership ++ o.viable_size = 0; ++ return *this; ++} ++ ++inline void padded_string::swap(padded_string &o) noexcept { ++ size_t tmp_viable_size = viable_size; ++ char *tmp_data_ptr = data_ptr; ++ viable_size = o.viable_size; ++ data_ptr = o.data_ptr; ++ o.data_ptr = tmp_data_ptr; ++ o.viable_size = tmp_viable_size; ++} ++ ++inline padded_string::~padded_string() noexcept { ++ aligned_free_char(data_ptr); ++} ++ ++inline size_t padded_string::size() const noexcept { return viable_size; } ++ ++inline size_t padded_string::length() const noexcept { return viable_size; } ++ ++inline const char *padded_string::data() const noexcept { return data_ptr; } ++ ++inline char *padded_string::data() noexcept { return data_ptr; } ++ ++inline simdjson_result padded_string::load(const std::string &filename) noexcept { ++ // Open the file ++ std::FILE *fp = std::fopen(filename.c_str(), "rb"); ++ if (fp == nullptr) { ++ return IO_ERROR; ++ } ++ ++ // Get the file size ++ if(std::fseek(fp, 0, SEEK_END) < 0) { ++ std::fclose(fp); ++ return IO_ERROR; ++ } ++ long llen = std::ftell(fp); ++ if((llen < 0) || (llen == LONG_MAX)) { ++ std::fclose(fp); ++ return IO_ERROR; ++ } ++ ++ // Allocate the padded_string ++ size_t len = (size_t) llen; ++ padded_string s(len); ++ if (s.data() == nullptr) { ++ std::fclose(fp); ++ return MEMALLOC; ++ } ++ ++ // Read the padded_string ++ std::rewind(fp); ++ size_t bytes_read = std::fread(s.data(), 1, len, fp); ++ if (std::fclose(fp) != 0 || bytes_read != len) { ++ return IO_ERROR; ++ } ++ ++ return std::move(s); ++} ++ ++} // namespace simdjson ++ ++#endif // SIMDJSON_INLINE_PADDED_STRING_H ++/* end file include/simdjson/inline/padded_string.h */ + + #endif // SIMDJSON_H +-/* end file include/simdjson/inline/jsonstream.h */ ++/* end file include/simdjson/inline/padded_string.h */ +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index 53ac5f3d..2b9ef62f 100644 +--- a/src/CMakeLists.txt ++++ b/src/CMakeLists.txt +@@ -29,6 +29,7 @@ set(SIMDJSON_SRC + set(SIMDJSON_SRC_HEADERS + implementation.cpp + isadetection.h ++ jsonformatutils.cpp + jsonminifier.cpp + simdprune_tables.h + stage1_find_marks.cpp +diff --git a/src/jsonformatutils.cpp b/src/jsonformatutils.cpp +new file mode 100644 +index 00000000..22c67e37 +--- /dev/null ++++ b/src/jsonformatutils.cpp +@@ -0,0 +1,127 @@ ++#include "simdjson/document.h" ++#include "simdjson/internal/jsonformatutils.h" ++ ++namespace simdjson::internal { ++ ++void print_tape_element(std::ostream &os, const document *doc, size_t json_index) noexcept { ++ uint64_t tape_val = doc->tape[json_index]; ++ uint64_t payload = tape_val & JSON_VALUE_MASK; ++ uint8_t type = (tape_val >> 56); ++ ++ switch (type) { ++ case '"': { ++ os << '"'; ++ uint32_t string_length; ++ memcpy(&string_length, doc->string_buf.get() + payload, sizeof(uint32_t)); ++ print_with_escapes( ++ (const unsigned char *)(doc->string_buf.get() + payload + sizeof(uint32_t)), ++ os, string_length); ++ os << '"'; ++ break; ++ } ++ case 'l': { ++ int64_t val; ++ memcpy(&val, &doc->tape[json_index + 1], sizeof(val)); ++ os << val; ++ break; ++ } ++ case 'u': { ++ uint64_t val; ++ memcpy(&val, &doc->tape[json_index + 1], sizeof(val)); ++ os << val; ++ break; ++ } ++ case 'd': { ++ double val; ++ memcpy(&val, &doc->tape[json_index + 1], sizeof(val)); ++ os << val; ++ break; ++ } ++ case 'n': ++ os << "null"; ++ break; ++ case 't': ++ os << "true"; ++ break; ++ case 'f': ++ os << "false"; ++ break; ++ case '[': { ++ os << '['; ++ size_t end_index = payload; ++ size_t i = json_index + 1; ++ bool first = true; ++ while (i < end_index - 1) { ++ if (!first) { os << ','; } ++ first = false; ++ print_tape_element(os, doc, i); ++ // Advance past the element ++ uint64_t tv = doc->tape[i]; ++ uint8_t t = (tv >> 56); ++ switch (t) { ++ case '[': ++ case '{': ++ i = tv & JSON_VALUE_MASK; ++ break; ++ case 'l': ++ case 'u': ++ case 'd': ++ i += 2; ++ break; ++ default: ++ i++; ++ break; ++ } ++ } ++ os << ']'; ++ break; ++ } ++ case '{': { ++ os << '{'; ++ size_t end_index = payload; ++ size_t i = json_index + 1; ++ bool first = true; ++ while (i < end_index - 1) { ++ if (!first) { os << ','; } ++ first = false; ++ // Key (must be a string) ++ uint64_t key_tape = doc->tape[i]; ++ uint64_t key_payload = key_tape & JSON_VALUE_MASK; ++ os << '"'; ++ uint32_t key_length; ++ memcpy(&key_length, doc->string_buf.get() + key_payload, sizeof(uint32_t)); ++ print_with_escapes( ++ (const unsigned char *)(doc->string_buf.get() + key_payload + sizeof(uint32_t)), ++ os, key_length); ++ os << '"'; ++ os << ':'; ++ i++; ++ // Value ++ print_tape_element(os, doc, i); ++ // Advance past the value element ++ uint64_t tv = doc->tape[i]; ++ uint8_t t = (tv >> 56); ++ switch (t) { ++ case '[': ++ case '{': ++ i = tv & JSON_VALUE_MASK; ++ break; ++ case 'l': ++ case 'u': ++ case 'd': ++ i += 2; ++ break; ++ default: ++ i++; ++ break; ++ } ++ } ++ os << '}'; ++ break; ++ } ++ default: ++ break; ++ } ++} ++ ++} // namespace simdjson::internal +diff --git a/src/simdjson.cpp b/src/simdjson.cpp +index d4a685d0..e12a2358 100644 +--- a/src/simdjson.cpp ++++ b/src/simdjson.cpp +@@ -1,5 +1,6 @@ + #include "simdjson.h" + #include "implementation.cpp" ++#include "jsonformatutils.cpp" + #include "jsonminifier.cpp" + #include "stage1_find_marks.cpp" + #include "stage2_build_tape.cpp" diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/report.json new file mode 100644 index 000000000..4eb56962f --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-545/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 545, "valid": false, "error_msg": "After applying the fix patch, no test results were captured when executing the test command. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (6, 0, 0)\n test = (0, 0, 0)\n fix = (0, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 6, "failed_count": 0, "skipped_count": 0, "passed_tests": ["integer_tests", "errortests", "pointercheck", "jsoncheck", "parse_many_test", "basictests"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/fix-patch-run.log new file mode 100644 index 000000000..1eab0fb04 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/fix-patch-run.log @@ -0,0 +1,1247 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5503 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.4 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.2 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (3033 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.YBU1EWn4 +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.YBU1EWn4/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.YBU1EWn4/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.YBU1EWn4/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.YBU1EWn4/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.YBU1EWn4/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.YBU1EWn4 +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=66dca799644b +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.W3dgTGbwZT/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/basictests.cpp +patching file tests/integer_tests.cpp +patching file tests/parse_many_test.cpp +patching file tests/pointercheck.cpp +patching file tests/readme_examples.cpp +patching file include/simdjson/document.h +patching file include/simdjson/document_iterator.h +patching file include/simdjson/document_parser.h +patching file include/simdjson/error.h +patching file include/simdjson/inline/document.h +patching file include/simdjson/inline/document_iterator.h +patching file include/simdjson/inline/document_stream.h +patching file include/simdjson/jsonioutil.h +patching file singleheader/amalgamation_demo.cpp +patching file singleheader/simdjson.cpp +patching file singleheader/simdjson.h +-- No build type selected, default to Release +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Detected x64 processor: x86_64 +-- Assuming Westmere or better +-- Building a dynamic library (default). +-- SIMDJSON_LIB_TYPE: SHARED +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- Looking for C++ include pthread.h +-- Looking for C++ include pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 2%] Building CXX object src/CMakeFiles/simdjson.dir/simdjson.cpp.o +In file included from /home/simdjson/src/haswell/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:2, + from /home/simdjson/src/simdjson.cpp:4: +/home/simdjson/src/haswell/bitmanipulation.h:19:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/westmere/stage1_find_marks.h:10:0, + from /home/simdjson/src/stage1_find_marks.cpp:3, + from /home/simdjson/src/simdjson.cpp:4: +/home/simdjson/src/westmere/bitmanipulation.h:20:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +[ 4%] Linking CXX shared library ../libsimdjson.so +[ 4%] Built target simdjson +Scanning dependencies of target jsonstats +[ 7%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 9%] Linking CXX executable jsonstats +[ 9%] Built target jsonstats +Scanning dependencies of target json2json +[ 11%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 14%] Linking CXX executable json2json +[ 14%] Built target json2json +Scanning dependencies of target minify +[ 16%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 19%] Linking CXX executable minify +[ 19%] Built target minify +Scanning dependencies of target basictests +[ 21%] Building CXX object tests/CMakeFiles/basictests.dir/basictests.cpp.o +/home/simdjson/tests/basictests.cpp: In function 'bool parse_json_message_issue467(const char*, std::size_t, size_t)': +/home/simdjson/tests/basictests.cpp:323:24: warning: unused variable 'doc' [-Wunused-variable] + for (auto [doc, error] : parser.parse_many(str, len)) { + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::object_iterator()': +/home/simdjson/tests/basictests.cpp:752:47: error: 'class simdjson::document::doc_ref_result' has no member named 'as_object' + auto [object, error] = parser.parse(json).as_object(); + ^~~~~~~~~ +/home/simdjson/tests/basictests.cpp:754:30: error: unable to deduce 'auto&&' from 'object' + for (auto [key, value] : object) { + ^~~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::array_iterator()': +/home/simdjson/tests/basictests.cpp:769:46: error: 'class simdjson::document::doc_ref_result' has no member named 'as_array' + auto [array, error] = parser.parse(json).as_array(); + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp:771:23: error: unable to deduce 'auto&&' from 'array' + for (auto value : array) { + ^~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::object_iterator_empty()': +/home/simdjson/tests/basictests.cpp:785:47: error: 'class simdjson::document::doc_ref_result' has no member named 'as_object' + auto [object, error] = parser.parse(json).as_object(); + ^~~~~~~~~ +/home/simdjson/tests/basictests.cpp:787:30: error: unable to deduce 'auto&&' from 'object' + for (auto [key, value] : object) { + ^~~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::array_iterator_empty()': +/home/simdjson/tests/basictests.cpp:801:46: error: 'class simdjson::document::doc_ref_result' has no member named 'as_array' + auto [array, error] = parser.parse(json).as_array(); + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp:803:23: error: unable to deduce 'auto&&' from 'array' + for (auto value : array) { + ^~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::string_value()': +/home/simdjson/tests/basictests.cpp:815:46: error: 'class simdjson::document::doc_ref_result' has no member named 'as_array' + auto [array, error] = parser.parse(json).as_array(); + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::numeric_values()': +/home/simdjson/tests/basictests.cpp:829:46: error: 'class simdjson::document::doc_ref_result' has no member named 'as_array' + auto [array, error] = parser.parse(json).as_array(); + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::boolean_values()': +/home/simdjson/tests/basictests.cpp:852:46: error: 'class simdjson::document::doc_ref_result' has no member named 'as_array' + auto [array, error] = parser.parse(json).as_array(); + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::null_value()': +/home/simdjson/tests/basictests.cpp:866:46: error: 'class simdjson::document::doc_ref_result' has no member named 'as_array' + auto [array, error] = parser.parse(json).as_array(); + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::document_object_index()': +/home/simdjson/tests/basictests.cpp:878:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(doc[\"a\"]) to be 1, was " << doc["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:878:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(doc[\"a\"]) to be 1, was " << doc["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:879:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["b"].as_uint64_t().first != 2) { cerr << "Expected uint64_t(doc[\"b\"]) to be 2, was " << doc["b"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:879:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["b"].as_uint64_t().first != 2) { cerr << "Expected uint64_t(doc[\"b\"]) to be 2, was " << doc["b"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:880:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["c"].as_uint64_t().first != 3) { cerr << "Expected uint64_t(doc[\"c\"]) to be 3, was " << doc["c"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:880:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["c"].as_uint64_t().first != 3) { cerr << "Expected uint64_t(doc[\"c\"]) to be 3, was " << doc["c"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:882:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["c"].as_uint64_t().first != 3) { cerr << "Expected uint64_t(doc[\"c\"]) to be 3, was " << doc["c"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:882:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["c"].as_uint64_t().first != 3) { cerr << "Expected uint64_t(doc[\"c\"]) to be 3, was " << doc["c"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:883:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["b"].as_uint64_t().first != 2) { cerr << "Expected uint64_t(doc[\"b\"]) to be 2, was " << doc["b"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:883:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["b"].as_uint64_t().first != 2) { cerr << "Expected uint64_t(doc[\"b\"]) to be 2, was " << doc["b"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:884:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(doc[\"a\"]) to be 1, was " << doc["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:884:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(doc[\"a\"]) to be 1, was " << doc["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:886:30: error: 'simdjson::document::element::element()' is private within this context + UNUSED document::element val; + ^~~ +In file included from /home/simdjson/include/simdjson.h:23:0, + from /home/simdjson/tests/basictests.cpp:14: +/home/simdjson/include/simdjson/inline/document.h:719:15: note: declared private here + really_inline document::element::element() noexcept : tape_ref() {} + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp:887:30: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(val, error) = doc["d"]; + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:887:30: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(val, error) = doc["d"]; + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:887:30: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(val, error) = doc["d"]; + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:887:30: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(val, error) = doc["d"]; + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:887:30: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(val, error) = doc["d"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::object_index()': +/home/simdjson/tests/basictests.cpp:898:39: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["obj"]["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(doc[\"obj\"][\"a\"]) to be 1, was " << doc["obj"]["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:898:135: error: 'class simdjson::document::element_result' has no member named 'first' + if (doc["obj"]["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(doc[\"obj\"][\"a\"]) to be 1, was " << doc["obj"]["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:900:22: error: 'simdjson::document::object::object()' is private within this context + document::object obj; + ^~~ +In file included from /home/simdjson/include/simdjson.h:23:0, + from /home/simdjson/tests/basictests.cpp:14: +/home/simdjson/include/simdjson/inline/document.h:653:15: note: declared private here + really_inline document::object::object() noexcept : tape_ref() {} + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp:901:37: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(obj, error) = doc.as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:901:37: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(obj, error) = doc.as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:901:37: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(obj, error) = doc.as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:901:37: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(obj, error) = doc.as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:901:37: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(obj, error) = doc.as_object(); + ^ +/home/simdjson/tests/basictests.cpp:903:39: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["obj"]["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(doc[\"obj\"][\"a\"]) to be 1, was " << doc["obj"]["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:903:135: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["obj"]["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(doc[\"obj\"][\"a\"]) to be 1, was " << doc["obj"]["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:905:44: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(obj, error) = obj["obj"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:905:44: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(obj, error) = obj["obj"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:905:44: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(obj, error) = obj["obj"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:905:44: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(obj, error) = obj["obj"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:905:44: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(obj, error) = obj["obj"].as_object(); + ^ +/home/simdjson/tests/basictests.cpp:906:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(obj[\"a\"]) to be 1, was " << obj["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:906:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(obj[\"a\"]) to be 1, was " << obj["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:907:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["b"].as_uint64_t().first != 2) { cerr << "Expected uint64_t(obj[\"b\"]) to be 2, was " << obj["b"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:907:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["b"].as_uint64_t().first != 2) { cerr << "Expected uint64_t(obj[\"b\"]) to be 2, was " << obj["b"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:908:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["c"].as_uint64_t().first != 3) { cerr << "Expected uint64_t(obj[\"c\"]) to be 3, was " << obj["c"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:908:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["c"].as_uint64_t().first != 3) { cerr << "Expected uint64_t(obj[\"c\"]) to be 3, was " << obj["c"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:910:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["c"].as_uint64_t().first != 3) { cerr << "Expected uint64_t(obj[\"c\"]) to be 3, was " << obj["c"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:910:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["c"].as_uint64_t().first != 3) { cerr << "Expected uint64_t(obj[\"c\"]) to be 3, was " << obj["c"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:911:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["b"].as_uint64_t().first != 2) { cerr << "Expected uint64_t(obj[\"b\"]) to be 2, was " << obj["b"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:911:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["b"].as_uint64_t().first != 2) { cerr << "Expected uint64_t(obj[\"b\"]) to be 2, was " << obj["b"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:912:32: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(obj[\"a\"]) to be 1, was " << obj["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:912:112: error: 'class simdjson::document::element_result' has no member named 'first' + if (obj["a"].as_uint64_t().first != 1) { cerr << "Expected uint64_t(obj[\"a\"]) to be 1, was " << obj["a"].first << endl; return false; } + ^~~~~ +/home/simdjson/tests/basictests.cpp:914:30: error: 'simdjson::document::element::element()' is private within this context + UNUSED document::element val; + ^~~ +In file included from /home/simdjson/include/simdjson.h:23:0, + from /home/simdjson/tests/basictests.cpp:14: +/home/simdjson/include/simdjson/inline/document.h:719:15: note: declared private here + really_inline document::element::element() noexcept : tape_ref() {} + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp:915:30: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(val, error) = doc["d"]; + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:915:30: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(val, error) = doc["d"]; + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:915:30: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(val, error) = doc["d"]; + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:915:30: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(val, error) = doc["d"]; + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::element&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:915:30: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(val, error) = doc["d"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::twitter_default_profile()': +/home/simdjson/tests/basictests.cpp:938:24: error: 'simdjson::document::object::object()' is private within this context + document::object user; + ^~~~ +In file included from /home/simdjson/include/simdjson.h:23:0, + from /home/simdjson/tests/basictests.cpp:14: +/home/simdjson/include/simdjson/inline/document.h:653:15: note: declared private here + really_inline document::object::object() noexcept : tape_ref() {} + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp:939:50: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(user, error) = tweet["user"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:939:50: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(user, error) = tweet["user"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:939:50: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(user, error) = tweet["user"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:939:50: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(user, error) = tweet["user"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:939:50: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(user, error) = tweet["user"].as_object(); + ^ +/home/simdjson/tests/basictests.cpp:942:69: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(default_profile, error) = user["default_profile"].as_bool(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = bool&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = bool&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = bool&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:942:69: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(default_profile, error) = user["default_profile"].as_bool(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = bool&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:942:69: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(default_profile, error) = user["default_profile"].as_bool(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = bool&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:942:69: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(default_profile, error) = user["default_profile"].as_bool(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = bool&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:942:69: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(default_profile, error) = user["default_profile"].as_bool(); + ^ +/home/simdjson/tests/basictests.cpp:946:65: error: no match for 'operator=' (operand types are 'std::tuple >&, simdjson::error_code&>' and 'simdjson::document::element_result >') + tie(screen_name, error) = user["screen_name"].as_string(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = std::basic_string_view&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result >' to 'const std::tuple >&, simdjson::error_code&>&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = std::basic_string_view&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result >' to 'std::tuple >&, simdjson::error_code&>&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = std::basic_string_view&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:946:65: note: 'simdjson::document::element_result >' is not derived from 'const std::tuple<_T1, _T2>' + tie(screen_name, error) = user["screen_name"].as_string(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = std::basic_string_view&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:946:65: note: 'simdjson::document::element_result >' is not derived from 'std::tuple<_T1, _T2>' + tie(screen_name, error) = user["screen_name"].as_string(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = std::basic_string_view&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:946:65: note: 'simdjson::document::element_result >' is not derived from 'const std::pair<_T1, _T2>' + tie(screen_name, error) = user["screen_name"].as_string(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = std::basic_string_view&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:946:65: note: 'simdjson::document::element_result >' is not derived from 'std::pair<_T1, _T2>' + tie(screen_name, error) = user["screen_name"].as_string(); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api::twitter_image_sizes()': +/home/simdjson/tests/basictests.cpp:966:28: error: 'simdjson::document::object::object()' is private within this context + document::object sizes; + ^~~~~ +In file included from /home/simdjson/include/simdjson.h:23:0, + from /home/simdjson/tests/basictests.cpp:14: +/home/simdjson/include/simdjson/inline/document.h:653:15: note: declared private here + really_inline document::object::object() noexcept : tape_ref() {} + ^~~~~~~~ +/home/simdjson/tests/basictests.cpp:967:56: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(sizes, error) = image["sizes"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:967:56: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(sizes, error) = image["sizes"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:967:56: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(sizes, error) = image["sizes"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:967:56: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(sizes, error) = image["sizes"].as_object(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = simdjson::document::object&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:967:56: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(sizes, error) = image["sizes"].as_object(); + ^ +/home/simdjson/tests/basictests.cpp:971:55: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(width, error) = size["w"].as_uint64_t(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:971:55: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(width, error) = size["w"].as_uint64_t(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:971:55: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(width, error) = size["w"].as_uint64_t(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:971:55: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(width, error) = size["w"].as_uint64_t(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:971:55: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(width, error) = size["w"].as_uint64_t(); + ^ +/home/simdjson/tests/basictests.cpp:973:56: error: no match for 'operator=' (operand types are 'std::tuple' and 'simdjson::document::element_result') + tie(height, error) = size["h"].as_uint64_t(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1209:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_T1, _T2>&) [with _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(const tuple& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1209:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'const std::tuple&' +/usr/local/include/c++/7.5.0/tuple:1216:7: note: candidate: std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_T1, _T2>&&) [with _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(tuple&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1216:7: note: no known conversion for argument 1 from 'simdjson::document::element_result' to 'std::tuple&&' +/usr/local/include/c++/7.5.0/tuple:1225:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::tuple<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(const tuple<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1225:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:973:56: note: 'simdjson::document::element_result' is not derived from 'const std::tuple<_T1, _T2>' + tie(height, error) = size["h"].as_uint64_t(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1233:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::tuple<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(tuple<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1233:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:973:56: note: 'simdjson::document::element_result' is not derived from 'std::tuple<_T1, _T2>' + tie(height, error) = size["h"].as_uint64_t(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1241:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(const std::pair<_U1, _U2>&) [with _U1 = _U1; _U2 = _U2; _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(const pair<_U1, _U2>& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1241:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:973:56: note: 'simdjson::document::element_result' is not derived from 'const std::pair<_T1, _T2>' + tie(height, error) = size["h"].as_uint64_t(); + ^ +In file included from /usr/local/include/c++/7.5.0/bits/unique_ptr.h:37:0, + from /usr/local/include/c++/7.5.0/memory:80, + from /home/simdjson/include/simdjson/padded_string.h:8, + from /home/simdjson/include/simdjson.h:9, + from /home/simdjson/tests/basictests.cpp:14: +/usr/local/include/c++/7.5.0/tuple:1250:9: note: candidate: template std::tuple<_T1, _T2>& std::tuple<_T1, _T2>::operator=(std::pair<_U1, _U2>&&) [with _U1 = _U1; _U2 = _U2; _T1 = long unsigned int&; _T2 = simdjson::error_code&] + operator=(pair<_U1, _U2>&& __in) + ^~~~~~~~ +/usr/local/include/c++/7.5.0/tuple:1250:9: note: template argument deduction/substitution failed: +/home/simdjson/tests/basictests.cpp:973:56: note: 'simdjson::document::element_result' is not derived from 'std::pair<_T1, _T2>' + tie(height, error) = size["h"].as_uint64_t(); + ^ +/home/simdjson/tests/basictests.cpp:969:31: warning: unused variable 'key' [-Wunused-variable] + for (auto [key, size] : sizes) { + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_element()': +/home/simdjson/tests/basictests.cpp:1224:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["foo"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_element()': +/home/simdjson/tests/basictests.cpp:1232:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["foo"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_array()': +/home/simdjson/tests/basictests.cpp:1241:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["bar"].as_array(); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_array()': +/home/simdjson/tests/basictests.cpp:1249:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["bar"].as_array(); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_object()': +/home/simdjson/tests/basictests.cpp:1258:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["baz"].as_object(); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_object()': +/home/simdjson/tests/basictests.cpp:1266:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["baz"].as_object(); + ^ +make[2]: *** [tests/CMakeFiles/basictests.dir/build.make:63: tests/CMakeFiles/basictests.dir/basictests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:289: tests/CMakeFiles/basictests.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/simdjson/build + Start 1: basictests +Could not find executable basictests +Looked in the following places: +basictests +basictests +Release/basictests +Release/basictests +Debug/basictests +Debug/basictests +MinSizeRel/basictests +MinSizeRel/basictests +RelWithDebInfo/basictests +RelWithDebInfo/basictests +Deployment/basictests +Deployment/basictests +Development/basictests +Development/basictests +Unable to find executable: basictests +1/6 Test #1: basictests .......................***Not Run 0.00 sec + Start 2: errortests +Could not find executable errortests +Looked in the following places: +errortests +errortests +Release/errortests +Release/errortests +Debug/errortests +Debug/errortests +MinSizeRel/errortests +MinSizeRel/errortests +RelWithDebInfo/errortests +RelWithDebInfo/errortests +Deployment/errortests +Deployment/errortests +Unable to find executable: errortests +Development/errortests +Development/errortests +2/6 Test #2: errortests .......................***Not Run 0.00 sec + Start 3: jsoncheck +Could not find executable jsoncheck +Looked in the following places: +jsoncheck +jsoncheck +Release/jsoncheck +Release/jsoncheck +Debug/jsoncheck +Debug/jsoncheck +MinSizeRel/jsoncheck +MinSizeRel/jsoncheck +RelWithDebInfo/jsoncheck +RelWithDebInfo/jsoncheck +Deployment/jsoncheck +Deployment/jsoncheck +Development/jsoncheck +Development/jsoncheck +Unable to find executable: jsoncheck +3/6 Test #3: jsoncheck ........................***Not Run 0.00 sec + Start 4: parse_many_test +Could not find executable parse_many_test +Looked in the following places: +Unable to find executable: parse_many_test +parse_many_test +parse_many_test +Release/parse_many_test +Release/parse_many_test +Debug/parse_many_test +Debug/parse_many_test +MinSizeRel/parse_many_test +MinSizeRel/parse_many_test +RelWithDebInfo/parse_many_test +RelWithDebInfo/parse_many_test +Deployment/parse_many_test +Deployment/parse_many_test +Development/parse_many_test +Development/parse_many_test +4/6 Test #4: parse_many_test ..................***Not Run 0.00 sec + Start 5: pointercheck +Could not find executable pointercheck +Looked in the following places: +pointercheck +pointercheck +Release/pointercheck +Release/pointercheck +Debug/pointercheck +Debug/pointercheck +MinSizeRel/pointercheck +MinSizeRel/pointercheck +RelWithDebInfo/pointercheck +RelWithDebInfo/pointercheck +Deployment/pointercheck +Deployment/pointercheck +Development/pointercheck +Development/pointercheck +5/6 Test #5: pointercheck .....................***Not Run 0.00 sec +Unable to find executable: pointercheck + Start 6: integer_tests +Could not find executable integer_tests +Looked in the following places: +integer_tests +integer_tests +Release/integer_tests +Release/integer_tests +Debug/integer_tests +Debug/integer_tests +MinSizeRel/integer_tests +MinSizeRel/integer_tests +RelWithDebInfo/integer_tests +RelWithDebInfo/integer_tests +Deployment/integer_tests +Deployment/integer_tests +Development/integer_tests +Development/integer_tests +Unable to find executable: integer_tests +6/6 Test #6: integer_tests ....................***Not Run 0.00 sec + +0% tests passed, 6 tests failed out of 6 + +Total Test time (real) = 0.00 sec + +The following tests FAILED: + 1 - basictests (Not Run) + 2 - errortests (Not Run) + 3 - jsoncheck (Not Run) + 4 - parse_many_test (Not Run) + 5 - pointercheck (Not Run) + 6 - integer_tests (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/fix.patch new file mode 100644 index 000000000..2ad4f431e --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/fix.patch @@ -0,0 +1,8785 @@ +diff --git a/include/simdjson/document.h b/include/simdjson/document.h +index 52accebe..7ba1ce76 100644 +--- a/include/simdjson/document.h ++++ b/include/simdjson/document.h +@@ -84,6 +84,7 @@ public: + * Get the root element of this document. + */ + operator element() const noexcept; ++#if __cpp_exceptions + /** + * Read the root element of this document as a JSON array. + * +@@ -98,6 +99,7 @@ public: + * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object + */ + operator object() const noexcept(false); ++#endif + + /** + * Get the value associated with the given key. +@@ -253,6 +255,7 @@ public: + */ + error_code error; + ++#if __cpp_exceptions + /** + * Return the document, or throw an exception if it is invalid. + * +@@ -260,6 +263,7 @@ public: + * @exception simdjson_error if the document is invalid or there was an error parsing it. + */ + operator document() noexcept(false); ++#endif + + /** + * Get the value associated with the given key. +@@ -339,6 +343,7 @@ public: + */ + error_code error; + ++#if __cpp_exceptions + /** + * A reference to the document, or throw an exception if it is invalid. + * +@@ -346,6 +351,7 @@ public: + * @exception simdjson_error if the document is invalid or there was an error parsing it. + */ + operator document&() noexcept(false); ++#endif + + /** + * Get the value associated with the given key. +@@ -521,6 +527,7 @@ public: + */ + inline element_result as_object() const noexcept; + ++#if __cpp_exceptions + /** + * Read this element as a boolean. + * +@@ -560,7 +567,7 @@ public: + */ + inline operator uint64_t() const noexcept(false); + /** +- * Read this element as an signed integer. ++ * Read this element as a signed integer. + * + * @return The integer value. + * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer +@@ -568,7 +575,7 @@ public: + */ + inline operator int64_t() const noexcept(false); + /** +- * Read this element as an double. ++ * Read this element as a double. + * + * @return The double value. + * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a number +@@ -589,6 +596,7 @@ public: + * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object + */ + inline operator document::object() const noexcept(false); ++#endif + + /** + * Get the value associated with the given key. +@@ -806,7 +814,9 @@ public: + /** The error code (or 0 if there is no error) */ + error_code error; + ++#if __cpp_exceptions + inline operator T() const noexcept(false); ++#endif + + private: + really_inline element_result(T value) noexcept; +@@ -835,6 +845,7 @@ public: + inline element_result as_array() const noexcept; + inline element_result as_object() const noexcept; + ++#if __cpp_exceptions + inline operator element() const noexcept(false); + inline operator bool() const noexcept(false); + inline explicit operator const char*() const noexcept(false); +@@ -844,6 +855,7 @@ public: + inline operator double() const noexcept(false); + inline operator array() const noexcept(false); + inline operator object() const noexcept(false); ++#endif + + inline element_result operator[](const std::string_view &s) const noexcept; + inline element_result operator[](const char *s) const noexcept; +@@ -864,10 +876,12 @@ public: + /** The error code (or 0 if there is no error) */ + error_code error; + ++#if __cpp_exceptions + inline operator array() const noexcept(false); + + inline array::iterator begin() const noexcept(false); + inline array::iterator end() const noexcept(false); ++#endif + + private: + really_inline element_result(array value) noexcept; +@@ -885,10 +899,12 @@ public: + /** The error code (or 0 if there is no error) */ + error_code error; + ++#if __cpp_exceptions + inline operator object() const noexcept(false); + + inline object::iterator begin() const noexcept(false); + inline object::iterator end() const noexcept(false); ++#endif + + inline element_result operator[](const std::string_view &s) const noexcept; + inline element_result operator[](const char *s) const noexcept; +@@ -1478,7 +1494,9 @@ public: + + // type aliases for backcompat + using Iterator = document::iterator; ++#if __cpp_exceptions + using InvalidJSON = simdjson_error; ++#endif + + // Next location to write to in the tape + uint32_t current_loc{0}; +@@ -1594,7 +1612,9 @@ private: + inline error_code ensure_capacity(size_t desired_capacity) noexcept; + + // Used internally to get the document ++#if __cpp_exceptions + inline const document &get_document() const noexcept(false); ++#endif + + template friend class document_iterator; + friend class document::stream; +@@ -1690,6 +1710,7 @@ inline std::ostream& operator<<(std::ostream& out, const document::object &value + * @throw if there is an error with the underlying output stream. simdjson itself will not throw. + */ + inline std::ostream& operator<<(std::ostream& out, const document::key_value_pair &value) { return out << minify(value); } ++#if __cpp_exceptions + /** + * Print JSON to an output stream. + * +@@ -1750,6 +1771,7 @@ inline std::ostream& operator<<(std::ostream& out, const document::element_resul + * thrown). + */ + inline std::ostream& operator<<(std::ostream& out, const document::element_result &value) noexcept(false) { return out << minify(value); } ++#endif + + } // namespace simdjson + +diff --git a/include/simdjson/document_iterator.h b/include/simdjson/document_iterator.h +index 8b89f990..c04b7f60 100644 +--- a/include/simdjson/document_iterator.h ++++ b/include/simdjson/document_iterator.h +@@ -6,7 +6,9 @@ + #include + #include + #include ++#if __cpp_exceptions + #include ++#endif + + #include "simdjson/document.h" + #include "simdjson/internal/jsonformatutils.h" +@@ -15,7 +17,9 @@ namespace simdjson { + + template class document_iterator { + public: ++#if __cpp_exceptions + document_iterator(const document::parser &parser); ++#endif + document_iterator(const document &doc) noexcept; + document_iterator(const document_iterator &o) noexcept; + document_iterator &operator=(const document_iterator &o) noexcept; +diff --git a/include/simdjson/document_parser.h b/include/simdjson/document_parser.h +index 5568a813..431d656d 100644 +--- a/include/simdjson/document_parser.h ++++ b/include/simdjson/document_parser.h +@@ -381,7 +381,9 @@ public: + + // type aliases for backcompat + using Iterator = document::iterator; ++#if __cpp_exceptions + using InvalidJSON = simdjson_error; ++#endif + + // Next location to write to in the tape + uint32_t current_loc{0}; +@@ -512,7 +514,9 @@ private: + inline WARN_UNUSED bool set_max_depth(size_t max_depth); + + // Used internally to get the document ++#if __cpp_exceptions + inline const document &get_document() const noexcept(false); ++#endif + + template friend class document_iterator; + }; // class parser +diff --git a/include/simdjson/error.h b/include/simdjson/error.h +index 6636d561..490eea59 100644 +--- a/include/simdjson/error.h ++++ b/include/simdjson/error.h +@@ -50,6 +50,7 @@ inline const char *error_message(error_code error) noexcept; + */ + inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept; + ++#if __cpp_exceptions + /** + * Exception thrown when an exception-supporting simdjson method is called + */ +@@ -66,6 +67,7 @@ private: + /** The error code that was used */ + error_code _error; + }; ++#endif + + /** + * The result of a simd operation that could fail. +@@ -84,6 +86,7 @@ struct simdjson_result { + * The error. + */ + error_code error; ++#if __cpp_exceptions + /** + * Cast to the value (will throw on error). + * +@@ -93,6 +96,7 @@ struct simdjson_result { + if (error) { throw simdjson_error(error); } + return std::move(value); + } ++#endif + /** + * Create a new error result. + */ +diff --git a/include/simdjson/inline/document.h b/include/simdjson/inline/document.h +index 6cf94991..dd666e2d 100644 +--- a/include/simdjson/inline/document.h ++++ b/include/simdjson/inline/document.h +@@ -19,6 +19,7 @@ template + inline document::element_result::element_result(T _value) noexcept : value(_value), error{SUCCESS} {} + template + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++#if __cpp_exceptions + template<> + inline document::element_result::operator std::string_view() const noexcept(false) { + if (error) { throw simdjson_error(error); } +@@ -49,12 +50,14 @@ inline document::element_result::operator double() const noexcept(false) + if (error) { throw simdjson_error(error); } + return value; + } ++#endif + + // + // document::element_result inline implementation + // + inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {} + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++#if __cpp_exceptions + inline document::element_result::operator document::array() const noexcept(false) { + if (error) { throw simdjson_error(error); } + return value; +@@ -67,16 +70,19 @@ inline document::array::iterator document::element_result::end( + if (error) { throw simdjson_error(error); } + return value.end(); + } ++#endif + + // + // document::element_result inline implementation + // + inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {} + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++#if __cpp_exceptions + inline document::element_result::operator document::object() const noexcept(false) { + if (error) { throw simdjson_error(error); } + return value; + } ++#endif + inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept { + if (error) { return error; } + return value[key]; +@@ -85,6 +91,7 @@ inline document::element_result document::element_result::begin() const noexcept(false) { + if (error) { throw simdjson_error(error); } + return value.begin(); +@@ -93,6 +100,7 @@ inline document::object::iterator document::element_result::en + if (error) { throw simdjson_error(error); } + return value.end(); + } ++#endif + + // + // document::element_result inline implementation +@@ -136,6 +144,7 @@ inline document::element_result document::element_result::operator document::element() const noexcept(false) { + if (error) { throw simdjson_error(error); } + return value; +@@ -164,6 +173,7 @@ inline document::element_result::operator document::array() c + inline document::element_result::operator document::object() const noexcept(false) { + return as_object(); + } ++#endif + inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept { + if (error) { return *this; } + return value[key]; +@@ -188,12 +198,14 @@ inline document::element_result document::as_object() const no + inline document::operator document::element() const noexcept { + return root(); + } ++#if __cpp_exceptions + inline document::operator document::array() const noexcept(false) { + return root(); + } + inline document::operator document::object() const noexcept(false) { + return root(); + } ++#endif + inline document::element_result document::operator[](const std::string_view &key) const noexcept { + return root()[key]; + } +@@ -341,10 +353,12 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + // document::doc_ref_result inline implementation + // + inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { } ++#if __cpp_exceptions + inline document::doc_ref_result::operator document&() noexcept(false) { + if (error) { throw simdjson_error(error); } + return doc; + } ++#endif + inline document::element_result document::doc_ref_result::operator[](const std::string_view &key) const noexcept { + if (error) { return error; } + return doc[key]; +@@ -360,10 +374,12 @@ inline document::element_result document::doc_ref_result::ope + inline document::doc_result::doc_result(document &&_doc, error_code _error) noexcept : doc(std::move(_doc)), error(_error) { } + inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::move(_doc)), error(SUCCESS) { } + inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { } ++#if __cpp_exceptions + inline document::doc_result::operator document() noexcept(false) { + if (error) { throw simdjson_error(error); } + return std::move(doc); + } ++#endif + inline document::element_result document::doc_result::operator[](const std::string_view &key) const noexcept { + if (error) { return error; } + return doc[key]; +@@ -391,12 +407,14 @@ inline bool document::parser::print_json(std::ostream &os) const noexcept { + inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept { + return is_valid() ? doc.dump_raw_tape(os) : false; + } ++#if __cpp_exceptions + inline const document &document::parser::get_document() const noexcept(false) { + if (!is_valid()) { + throw simdjson_error(error); + } + return doc; + } ++#endif + + inline document::doc_ref_result document::parser::load(const std::string &path) noexcept { + auto [json, _error] = padded_string::load(path); +@@ -721,6 +739,7 @@ really_inline bool document::element::is_array() const noexcept { + really_inline bool document::element::is_object() const noexcept { + return type() == tape_type::START_OBJECT; + } ++#if __cpp_exceptions + inline document::element::operator bool() const noexcept(false) { return as_bool(); } + inline document::element::operator const char*() const noexcept(false) { return as_c_str(); } + inline document::element::operator std::string_view() const noexcept(false) { return as_string(); } +@@ -729,6 +748,7 @@ inline document::element::operator int64_t() const noexcept(false) { return as_i + inline document::element::operator double() const noexcept(false) { return as_double(); } + inline document::element::operator document::array() const noexcept(false) { return as_array(); } + inline document::element::operator document::object() const noexcept(false) { return as_object(); } ++#endif + inline document::element_result document::element::as_bool() const noexcept { + switch (type()) { + case tape_type::TRUE_VALUE: +@@ -996,6 +1016,7 @@ inline std::ostream& minify::print(std::ostream& out) + return out << '"' << internal::escape_json_string(value.key) << "\":" << value.value; + } + ++#if __cpp_exceptions + template<> + inline std::ostream& minify::print(std::ostream& out) { + if (value.error) { throw simdjson_error(value.error); } +@@ -1021,6 +1042,7 @@ inline std::ostream& minify>::print(s + if (value.error) { throw simdjson_error(value.error); } + return out << minify(value.value); + } ++#endif + + } // namespace simdjson + +diff --git a/include/simdjson/inline/document_iterator.h b/include/simdjson/inline/document_iterator.h +index ac199e1e..a742dcf7 100644 +--- a/include/simdjson/inline/document_iterator.h ++++ b/include/simdjson/inline/document_iterator.h +@@ -241,9 +241,11 @@ document_iterator::document_iterator(const document &doc_) noexcept + } + } + ++#if __cpp_exceptions + template + document_iterator::document_iterator(const document::parser &parser) + : document_iterator(parser.get_document()) {} ++#endif + + template + document_iterator::document_iterator( +diff --git a/include/simdjson/inline/document_stream.h b/include/simdjson/inline/document_stream.h +index 4406513c..2d25028b 100644 +--- a/include/simdjson/inline/document_stream.h ++++ b/include/simdjson/inline/document_stream.h +@@ -4,7 +4,9 @@ + #include "simdjson/jsonstream.h" + #include + #include ++#if __cpp_exceptions + #include ++#endif + #include + + namespace simdjson::internal { +diff --git a/include/simdjson/jsonioutil.h b/include/simdjson/jsonioutil.h +index 7b855d36..b6b508aa 100644 +--- a/include/simdjson/jsonioutil.h ++++ b/include/simdjson/jsonioutil.h +@@ -1,21 +1,26 @@ + #ifndef SIMDJSON_JSONIOUTIL_H + #define SIMDJSON_JSONIOUTIL_H + +-#include + #include + #include + #include +-#include + #include + + #include "simdjson/common_defs.h" + #include "simdjson/padded_string.h" + ++#if __cpp_exceptions ++#include ++#include ++#endif ++ + namespace simdjson { + ++#if __cpp_exceptions + inline padded_string get_corpus(const std::string &filename) { + return padded_string::load(filename); + } ++#endif + + } // namespace simdjson + +diff --git a/singleheader/amalgamation_demo.cpp b/singleheader/amalgamation_demo.cpp +index 759dc41c..80011b2d 100755 +--- a/singleheader/amalgamation_demo.cpp ++++ b/singleheader/amalgamation_demo.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 17:33:51 UTC 2026. Do not edit! */ + + #include + #include "simdjson.h" +@@ -8,37 +8,31 @@ int main(int argc, char *argv[]) { + std::cerr << "Please specify at least one file name. " << std::endl; + } + const char * filename = argv[1]; +- simdjson::padded_string p = simdjson::get_corpus(filename); +- auto [doc, error] = simdjson::document::parse(p); // do the parsing ++ simdjson::document::parser parser; ++ auto [doc, error] = parser.load(filename); // do the parsing + if (error) { +- std::cout << "document::parse failed" << std::endl; ++ std::cout << "parse failed" << std::endl; + std::cout << "error code: " << error << std::endl; + std::cout << error << std::endl; + } else { +- std::cout << "document::parse valid" << std::endl; ++ std::cout << "parse valid" << std::endl; + } + if(argc == 2) { + return EXIT_SUCCESS; + } + +- //JsonStream ++ // parse_many + const char * filename2 = argv[2]; +- simdjson::padded_string p2 = simdjson::get_corpus(filename2); +- simdjson::document::parser parser; +- simdjson::JsonStream js{p2}; +- int parse_res = simdjson::SUCCESS_AND_HAS_MORE; +- +- while (parse_res == simdjson::SUCCESS_AND_HAS_MORE) { +- parse_res = js.json_parse(parser); ++ for (auto result : parser.load_many(filename2)) { ++ error = result.error; + } +- +- if( ! parser.is_valid()) { +- std::cout << "JsonStream not valid" << std::endl; ++ if (error) { ++ std::cout << "parse_many failed" << std::endl; ++ std::cout << "error code: " << error << std::endl; ++ std::cout << error << std::endl; + } else { +- std::cout << "JsonStream valid" << std::endl; ++ std::cout << "parse_many valid" << std::endl; + } +- +- + return EXIT_SUCCESS; + } + +diff --git a/singleheader/simdjson.cpp b/singleheader/simdjson.cpp +index 9ad1fdd4..0d463aed 100644 +--- a/singleheader/simdjson.cpp ++++ b/singleheader/simdjson.cpp +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 17:33:51 UTC 2026. Do not edit! */ + #include "simdjson.h" + + /* used for http://dmalloc.com/ Dmalloc - Debug Malloc Library */ +@@ -7,52 +7,6 @@ + #endif + + /* begin file src/simdjson.cpp */ +-/* begin file src/error.cpp */ +-#include +- +-namespace simdjson { +- +-const std::map error_strings = { +- {SUCCESS, "No error"}, +- {SUCCESS_AND_HAS_MORE, "No error and buffer still has more data"}, +- {CAPACITY, "This parser can't support a document that big"}, +- {MEMALLOC, "Error allocating memory, we're most likely out of memory"}, +- {TAPE_ERROR, "Something went wrong while writing to the tape"}, +- {STRING_ERROR, "Problem while parsing a string"}, +- {T_ATOM_ERROR, "Problem while parsing an atom starting with the letter 't'"}, +- {F_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'f'"}, +- {N_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'n'"}, +- {NUMBER_ERROR, "Problem while parsing a number"}, +- {UTF8_ERROR, "The input is not valid UTF-8"}, +- {UNINITIALIZED, "Uninitialized"}, +- {EMPTY, "Empty: no JSON found"}, +- {UNESCAPED_CHARS, "Within strings, some characters must be escaped, we" +- " found unescaped characters"}, +- {UNCLOSED_STRING, "A string is opened, but never closed."}, +- {UNSUPPORTED_ARCHITECTURE, "simdjson does not have an implementation" +- " supported by this CPU architecture (perhaps" +- " it's a non-SIMD CPU?)."}, +- {INCORRECT_TYPE, "The JSON element does not have the requested type."}, +- {NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type."}, +- {NO_SUCH_FIELD, "The JSON field referenced does not exist in this object."}, +- {UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as" +- " you may have found a bug in simdjson"}, +-}; +- +-// string returned when the error code is not recognized +-const std::string unexpected_error_msg {"Unexpected error"}; +- +-// returns a string matching the error code +-const std::string &error_message(error_code code) noexcept { +- auto keyvalue = error_strings.find(code); +- if(keyvalue == error_strings.end()) { +- return unexpected_error_msg; +- } +- return keyvalue->second; +-} +- +-} // namespace simdjson +-/* end file src/error.cpp */ + /* begin file src/implementation.cpp */ + #include + +@@ -367,43 +321,6 @@ const implementation *detect_best_supported_implementation_on_first_use::set_bes + + } // namespace simdjson + /* end file src/arm64/implementation.h */ +-/* begin file src/jsonioutil.cpp */ +-#include +-#include +-#include +- +-namespace simdjson { +- +-padded_string get_corpus(const std::string &filename) { +- std::FILE *fp = std::fopen(filename.c_str(), "rb"); +- if (fp != nullptr) { +- if(std::fseek(fp, 0, SEEK_END) < 0) { +- std::fclose(fp); +- throw std::runtime_error("cannot seek in the file"); +- } +- long llen = std::ftell(fp); +- if((llen < 0) || (llen == LONG_MAX)) { +- std::fclose(fp); +- throw std::runtime_error("cannot tell where we are in the file"); +- } +- size_t len = (size_t) llen; +- padded_string s(len); +- if (s.data() == nullptr) { +- std::fclose(fp); +- throw std::runtime_error("could not allocate memory"); +- } +- std::rewind(fp); +- size_t readb = std::fread(s.data(), 1, len, fp); +- std::fclose(fp); +- if (readb != len) { +- throw std::runtime_error("could not read the data"); +- } +- return s; +- } +- throw std::runtime_error("could not load corpus"); +-} +-} // namespace simdjson +-/* end file src/jsonioutil.cpp */ + /* begin file src/jsonminifier.cpp */ + #include + +@@ -5459,6 +5376,1014 @@ inline size_t codepoint_to_utf8(uint32_t cp, uint8_t *c) { + // will return 0 when the code point was too large. + return 0; // bad r + } ++ ++ ++//// ++// The following code is used in number parsing. It is not ++// properly "char utils" stuff, but we move it here so that ++// it does not get copied multiple times in the binaries (once ++// per instructin set). ++/// ++ ++ ++constexpr int FASTFLOAT_SMALLEST_POWER = -325; ++constexpr int FASTFLOAT_LARGEST_POWER = 308; ++ ++struct value128 { ++ uint64_t low; ++ uint64_t high; ++}; ++ ++really_inline value128 full_multiplication(uint64_t value1, uint64_t value2) { ++ value128 answer; ++#ifdef _MSC_VER ++ // todo: this might fail under visual studio for ARM ++ answer.low = _umul128(value1, value2, &answer.high); ++#else ++ __uint128_t r = ((__uint128_t)value1) * value2; ++ answer.low = r; ++ answer.high = r >> 64; ++#endif ++ return answer; ++} ++ ++// Precomputed powers of ten from 10^0 to 10^22. These ++// can be represented exactly using the double type. ++static const double power_of_ten[] = { ++ 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10, 1e11, ++ 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22}; ++ ++// the mantissas of powers of ten from -308 to 308, extended out to sixty four ++// bits ++// This struct will likely get padded to 16 bytes. ++typedef struct { ++ uint64_t mantissa; ++ int32_t exp; ++} components; ++ ++// The array power_of_ten_components contain the powers of ten approximated ++// as a 64-bit mantissa, with an exponent part. It goes from 10^ ++// FASTFLOAT_SMALLEST_POWER to ++// 10^FASTFLOAT_LARGEST_POWER (inclusively). The mantissa is truncated, and ++// never rounded up. ++// Uses about 10KB. ++static const components power_of_ten_components[] = { ++ {0xa5ced43b7e3e9188L, 7}, {0xcf42894a5dce35eaL, 10}, ++ {0x818995ce7aa0e1b2L, 14}, {0xa1ebfb4219491a1fL, 17}, ++ {0xca66fa129f9b60a6L, 20}, {0xfd00b897478238d0L, 23}, ++ {0x9e20735e8cb16382L, 27}, {0xc5a890362fddbc62L, 30}, ++ {0xf712b443bbd52b7bL, 33}, {0x9a6bb0aa55653b2dL, 37}, ++ {0xc1069cd4eabe89f8L, 40}, {0xf148440a256e2c76L, 43}, ++ {0x96cd2a865764dbcaL, 47}, {0xbc807527ed3e12bcL, 50}, ++ {0xeba09271e88d976bL, 53}, {0x93445b8731587ea3L, 57}, ++ {0xb8157268fdae9e4cL, 60}, {0xe61acf033d1a45dfL, 63}, ++ {0x8fd0c16206306babL, 67}, {0xb3c4f1ba87bc8696L, 70}, ++ {0xe0b62e2929aba83cL, 73}, {0x8c71dcd9ba0b4925L, 77}, ++ {0xaf8e5410288e1b6fL, 80}, {0xdb71e91432b1a24aL, 83}, ++ {0x892731ac9faf056eL, 87}, {0xab70fe17c79ac6caL, 90}, ++ {0xd64d3d9db981787dL, 93}, {0x85f0468293f0eb4eL, 97}, ++ {0xa76c582338ed2621L, 100}, {0xd1476e2c07286faaL, 103}, ++ {0x82cca4db847945caL, 107}, {0xa37fce126597973cL, 110}, ++ {0xcc5fc196fefd7d0cL, 113}, {0xff77b1fcbebcdc4fL, 116}, ++ {0x9faacf3df73609b1L, 120}, {0xc795830d75038c1dL, 123}, ++ {0xf97ae3d0d2446f25L, 126}, {0x9becce62836ac577L, 130}, ++ {0xc2e801fb244576d5L, 133}, {0xf3a20279ed56d48aL, 136}, ++ {0x9845418c345644d6L, 140}, {0xbe5691ef416bd60cL, 143}, ++ {0xedec366b11c6cb8fL, 146}, {0x94b3a202eb1c3f39L, 150}, ++ {0xb9e08a83a5e34f07L, 153}, {0xe858ad248f5c22c9L, 156}, ++ {0x91376c36d99995beL, 160}, {0xb58547448ffffb2dL, 163}, ++ {0xe2e69915b3fff9f9L, 166}, {0x8dd01fad907ffc3bL, 170}, ++ {0xb1442798f49ffb4aL, 173}, {0xdd95317f31c7fa1dL, 176}, ++ {0x8a7d3eef7f1cfc52L, 180}, {0xad1c8eab5ee43b66L, 183}, ++ {0xd863b256369d4a40L, 186}, {0x873e4f75e2224e68L, 190}, ++ {0xa90de3535aaae202L, 193}, {0xd3515c2831559a83L, 196}, ++ {0x8412d9991ed58091L, 200}, {0xa5178fff668ae0b6L, 203}, ++ {0xce5d73ff402d98e3L, 206}, {0x80fa687f881c7f8eL, 210}, ++ {0xa139029f6a239f72L, 213}, {0xc987434744ac874eL, 216}, ++ {0xfbe9141915d7a922L, 219}, {0x9d71ac8fada6c9b5L, 223}, ++ {0xc4ce17b399107c22L, 226}, {0xf6019da07f549b2bL, 229}, ++ {0x99c102844f94e0fbL, 233}, {0xc0314325637a1939L, 236}, ++ {0xf03d93eebc589f88L, 239}, {0x96267c7535b763b5L, 243}, ++ {0xbbb01b9283253ca2L, 246}, {0xea9c227723ee8bcbL, 249}, ++ {0x92a1958a7675175fL, 253}, {0xb749faed14125d36L, 256}, ++ {0xe51c79a85916f484L, 259}, {0x8f31cc0937ae58d2L, 263}, ++ {0xb2fe3f0b8599ef07L, 266}, {0xdfbdcece67006ac9L, 269}, ++ {0x8bd6a141006042bdL, 273}, {0xaecc49914078536dL, 276}, ++ {0xda7f5bf590966848L, 279}, {0x888f99797a5e012dL, 283}, ++ {0xaab37fd7d8f58178L, 286}, {0xd5605fcdcf32e1d6L, 289}, ++ {0x855c3be0a17fcd26L, 293}, {0xa6b34ad8c9dfc06fL, 296}, ++ {0xd0601d8efc57b08bL, 299}, {0x823c12795db6ce57L, 303}, ++ {0xa2cb1717b52481edL, 306}, {0xcb7ddcdda26da268L, 309}, ++ {0xfe5d54150b090b02L, 312}, {0x9efa548d26e5a6e1L, 316}, ++ {0xc6b8e9b0709f109aL, 319}, {0xf867241c8cc6d4c0L, 322}, ++ {0x9b407691d7fc44f8L, 326}, {0xc21094364dfb5636L, 329}, ++ {0xf294b943e17a2bc4L, 332}, {0x979cf3ca6cec5b5aL, 336}, ++ {0xbd8430bd08277231L, 339}, {0xece53cec4a314ebdL, 342}, ++ {0x940f4613ae5ed136L, 346}, {0xb913179899f68584L, 349}, ++ {0xe757dd7ec07426e5L, 352}, {0x9096ea6f3848984fL, 356}, ++ {0xb4bca50b065abe63L, 359}, {0xe1ebce4dc7f16dfbL, 362}, ++ {0x8d3360f09cf6e4bdL, 366}, {0xb080392cc4349decL, 369}, ++ {0xdca04777f541c567L, 372}, {0x89e42caaf9491b60L, 376}, ++ {0xac5d37d5b79b6239L, 379}, {0xd77485cb25823ac7L, 382}, ++ {0x86a8d39ef77164bcL, 386}, {0xa8530886b54dbdebL, 389}, ++ {0xd267caa862a12d66L, 392}, {0x8380dea93da4bc60L, 396}, ++ {0xa46116538d0deb78L, 399}, {0xcd795be870516656L, 402}, ++ {0x806bd9714632dff6L, 406}, {0xa086cfcd97bf97f3L, 409}, ++ {0xc8a883c0fdaf7df0L, 412}, {0xfad2a4b13d1b5d6cL, 415}, ++ {0x9cc3a6eec6311a63L, 419}, {0xc3f490aa77bd60fcL, 422}, ++ {0xf4f1b4d515acb93bL, 425}, {0x991711052d8bf3c5L, 429}, ++ {0xbf5cd54678eef0b6L, 432}, {0xef340a98172aace4L, 435}, ++ {0x9580869f0e7aac0eL, 439}, {0xbae0a846d2195712L, 442}, ++ {0xe998d258869facd7L, 445}, {0x91ff83775423cc06L, 449}, ++ {0xb67f6455292cbf08L, 452}, {0xe41f3d6a7377eecaL, 455}, ++ {0x8e938662882af53eL, 459}, {0xb23867fb2a35b28dL, 462}, ++ {0xdec681f9f4c31f31L, 465}, {0x8b3c113c38f9f37eL, 469}, ++ {0xae0b158b4738705eL, 472}, {0xd98ddaee19068c76L, 475}, ++ {0x87f8a8d4cfa417c9L, 479}, {0xa9f6d30a038d1dbcL, 482}, ++ {0xd47487cc8470652bL, 485}, {0x84c8d4dfd2c63f3bL, 489}, ++ {0xa5fb0a17c777cf09L, 492}, {0xcf79cc9db955c2ccL, 495}, ++ {0x81ac1fe293d599bfL, 499}, {0xa21727db38cb002fL, 502}, ++ {0xca9cf1d206fdc03bL, 505}, {0xfd442e4688bd304aL, 508}, ++ {0x9e4a9cec15763e2eL, 512}, {0xc5dd44271ad3cdbaL, 515}, ++ {0xf7549530e188c128L, 518}, {0x9a94dd3e8cf578b9L, 522}, ++ {0xc13a148e3032d6e7L, 525}, {0xf18899b1bc3f8ca1L, 528}, ++ {0x96f5600f15a7b7e5L, 532}, {0xbcb2b812db11a5deL, 535}, ++ {0xebdf661791d60f56L, 538}, {0x936b9fcebb25c995L, 542}, ++ {0xb84687c269ef3bfbL, 545}, {0xe65829b3046b0afaL, 548}, ++ {0x8ff71a0fe2c2e6dcL, 552}, {0xb3f4e093db73a093L, 555}, ++ {0xe0f218b8d25088b8L, 558}, {0x8c974f7383725573L, 562}, ++ {0xafbd2350644eeacfL, 565}, {0xdbac6c247d62a583L, 568}, ++ {0x894bc396ce5da772L, 572}, {0xab9eb47c81f5114fL, 575}, ++ {0xd686619ba27255a2L, 578}, {0x8613fd0145877585L, 582}, ++ {0xa798fc4196e952e7L, 585}, {0xd17f3b51fca3a7a0L, 588}, ++ {0x82ef85133de648c4L, 592}, {0xa3ab66580d5fdaf5L, 595}, ++ {0xcc963fee10b7d1b3L, 598}, {0xffbbcfe994e5c61fL, 601}, ++ {0x9fd561f1fd0f9bd3L, 605}, {0xc7caba6e7c5382c8L, 608}, ++ {0xf9bd690a1b68637bL, 611}, {0x9c1661a651213e2dL, 615}, ++ {0xc31bfa0fe5698db8L, 618}, {0xf3e2f893dec3f126L, 621}, ++ {0x986ddb5c6b3a76b7L, 625}, {0xbe89523386091465L, 628}, ++ {0xee2ba6c0678b597fL, 631}, {0x94db483840b717efL, 635}, ++ {0xba121a4650e4ddebL, 638}, {0xe896a0d7e51e1566L, 641}, ++ {0x915e2486ef32cd60L, 645}, {0xb5b5ada8aaff80b8L, 648}, ++ {0xe3231912d5bf60e6L, 651}, {0x8df5efabc5979c8fL, 655}, ++ {0xb1736b96b6fd83b3L, 658}, {0xddd0467c64bce4a0L, 661}, ++ {0x8aa22c0dbef60ee4L, 665}, {0xad4ab7112eb3929dL, 668}, ++ {0xd89d64d57a607744L, 671}, {0x87625f056c7c4a8bL, 675}, ++ {0xa93af6c6c79b5d2dL, 678}, {0xd389b47879823479L, 681}, ++ {0x843610cb4bf160cbL, 685}, {0xa54394fe1eedb8feL, 688}, ++ {0xce947a3da6a9273eL, 691}, {0x811ccc668829b887L, 695}, ++ {0xa163ff802a3426a8L, 698}, {0xc9bcff6034c13052L, 701}, ++ {0xfc2c3f3841f17c67L, 704}, {0x9d9ba7832936edc0L, 708}, ++ {0xc5029163f384a931L, 711}, {0xf64335bcf065d37dL, 714}, ++ {0x99ea0196163fa42eL, 718}, {0xc06481fb9bcf8d39L, 721}, ++ {0xf07da27a82c37088L, 724}, {0x964e858c91ba2655L, 728}, ++ {0xbbe226efb628afeaL, 731}, {0xeadab0aba3b2dbe5L, 734}, ++ {0x92c8ae6b464fc96fL, 738}, {0xb77ada0617e3bbcbL, 741}, ++ {0xe55990879ddcaabdL, 744}, {0x8f57fa54c2a9eab6L, 748}, ++ {0xb32df8e9f3546564L, 751}, {0xdff9772470297ebdL, 754}, ++ {0x8bfbea76c619ef36L, 758}, {0xaefae51477a06b03L, 761}, ++ {0xdab99e59958885c4L, 764}, {0x88b402f7fd75539bL, 768}, ++ {0xaae103b5fcd2a881L, 771}, {0xd59944a37c0752a2L, 774}, ++ {0x857fcae62d8493a5L, 778}, {0xa6dfbd9fb8e5b88eL, 781}, ++ {0xd097ad07a71f26b2L, 784}, {0x825ecc24c873782fL, 788}, ++ {0xa2f67f2dfa90563bL, 791}, {0xcbb41ef979346bcaL, 794}, ++ {0xfea126b7d78186bcL, 797}, {0x9f24b832e6b0f436L, 801}, ++ {0xc6ede63fa05d3143L, 804}, {0xf8a95fcf88747d94L, 807}, ++ {0x9b69dbe1b548ce7cL, 811}, {0xc24452da229b021bL, 814}, ++ {0xf2d56790ab41c2a2L, 817}, {0x97c560ba6b0919a5L, 821}, ++ {0xbdb6b8e905cb600fL, 824}, {0xed246723473e3813L, 827}, ++ {0x9436c0760c86e30bL, 831}, {0xb94470938fa89bceL, 834}, ++ {0xe7958cb87392c2c2L, 837}, {0x90bd77f3483bb9b9L, 841}, ++ {0xb4ecd5f01a4aa828L, 844}, {0xe2280b6c20dd5232L, 847}, ++ {0x8d590723948a535fL, 851}, {0xb0af48ec79ace837L, 854}, ++ {0xdcdb1b2798182244L, 857}, {0x8a08f0f8bf0f156bL, 861}, ++ {0xac8b2d36eed2dac5L, 864}, {0xd7adf884aa879177L, 867}, ++ {0x86ccbb52ea94baeaL, 871}, {0xa87fea27a539e9a5L, 874}, ++ {0xd29fe4b18e88640eL, 877}, {0x83a3eeeef9153e89L, 881}, ++ {0xa48ceaaab75a8e2bL, 884}, {0xcdb02555653131b6L, 887}, ++ {0x808e17555f3ebf11L, 891}, {0xa0b19d2ab70e6ed6L, 894}, ++ {0xc8de047564d20a8bL, 897}, {0xfb158592be068d2eL, 900}, ++ {0x9ced737bb6c4183dL, 904}, {0xc428d05aa4751e4cL, 907}, ++ {0xf53304714d9265dfL, 910}, {0x993fe2c6d07b7fabL, 914}, ++ {0xbf8fdb78849a5f96L, 917}, {0xef73d256a5c0f77cL, 920}, ++ {0x95a8637627989aadL, 924}, {0xbb127c53b17ec159L, 927}, ++ {0xe9d71b689dde71afL, 930}, {0x9226712162ab070dL, 934}, ++ {0xb6b00d69bb55c8d1L, 937}, {0xe45c10c42a2b3b05L, 940}, ++ {0x8eb98a7a9a5b04e3L, 944}, {0xb267ed1940f1c61cL, 947}, ++ {0xdf01e85f912e37a3L, 950}, {0x8b61313bbabce2c6L, 954}, ++ {0xae397d8aa96c1b77L, 957}, {0xd9c7dced53c72255L, 960}, ++ {0x881cea14545c7575L, 964}, {0xaa242499697392d2L, 967}, ++ {0xd4ad2dbfc3d07787L, 970}, {0x84ec3c97da624ab4L, 974}, ++ {0xa6274bbdd0fadd61L, 977}, {0xcfb11ead453994baL, 980}, ++ {0x81ceb32c4b43fcf4L, 984}, {0xa2425ff75e14fc31L, 987}, ++ {0xcad2f7f5359a3b3eL, 990}, {0xfd87b5f28300ca0dL, 993}, ++ {0x9e74d1b791e07e48L, 997}, {0xc612062576589ddaL, 1000}, ++ {0xf79687aed3eec551L, 1003}, {0x9abe14cd44753b52L, 1007}, ++ {0xc16d9a0095928a27L, 1010}, {0xf1c90080baf72cb1L, 1013}, ++ {0x971da05074da7beeL, 1017}, {0xbce5086492111aeaL, 1020}, ++ {0xec1e4a7db69561a5L, 1023}, {0x9392ee8e921d5d07L, 1027}, ++ {0xb877aa3236a4b449L, 1030}, {0xe69594bec44de15bL, 1033}, ++ {0x901d7cf73ab0acd9L, 1037}, {0xb424dc35095cd80fL, 1040}, ++ {0xe12e13424bb40e13L, 1043}, {0x8cbccc096f5088cbL, 1047}, ++ {0xafebff0bcb24aafeL, 1050}, {0xdbe6fecebdedd5beL, 1053}, ++ {0x89705f4136b4a597L, 1057}, {0xabcc77118461cefcL, 1060}, ++ {0xd6bf94d5e57a42bcL, 1063}, {0x8637bd05af6c69b5L, 1067}, ++ {0xa7c5ac471b478423L, 1070}, {0xd1b71758e219652bL, 1073}, ++ {0x83126e978d4fdf3bL, 1077}, {0xa3d70a3d70a3d70aL, 1080}, ++ {0xccccccccccccccccL, 1083}, {0x8000000000000000L, 1087}, ++ {0xa000000000000000L, 1090}, {0xc800000000000000L, 1093}, ++ {0xfa00000000000000L, 1096}, {0x9c40000000000000L, 1100}, ++ {0xc350000000000000L, 1103}, {0xf424000000000000L, 1106}, ++ {0x9896800000000000L, 1110}, {0xbebc200000000000L, 1113}, ++ {0xee6b280000000000L, 1116}, {0x9502f90000000000L, 1120}, ++ {0xba43b74000000000L, 1123}, {0xe8d4a51000000000L, 1126}, ++ {0x9184e72a00000000L, 1130}, {0xb5e620f480000000L, 1133}, ++ {0xe35fa931a0000000L, 1136}, {0x8e1bc9bf04000000L, 1140}, ++ {0xb1a2bc2ec5000000L, 1143}, {0xde0b6b3a76400000L, 1146}, ++ {0x8ac7230489e80000L, 1150}, {0xad78ebc5ac620000L, 1153}, ++ {0xd8d726b7177a8000L, 1156}, {0x878678326eac9000L, 1160}, ++ {0xa968163f0a57b400L, 1163}, {0xd3c21bcecceda100L, 1166}, ++ {0x84595161401484a0L, 1170}, {0xa56fa5b99019a5c8L, 1173}, ++ {0xcecb8f27f4200f3aL, 1176}, {0x813f3978f8940984L, 1180}, ++ {0xa18f07d736b90be5L, 1183}, {0xc9f2c9cd04674edeL, 1186}, ++ {0xfc6f7c4045812296L, 1189}, {0x9dc5ada82b70b59dL, 1193}, ++ {0xc5371912364ce305L, 1196}, {0xf684df56c3e01bc6L, 1199}, ++ {0x9a130b963a6c115cL, 1203}, {0xc097ce7bc90715b3L, 1206}, ++ {0xf0bdc21abb48db20L, 1209}, {0x96769950b50d88f4L, 1213}, ++ {0xbc143fa4e250eb31L, 1216}, {0xeb194f8e1ae525fdL, 1219}, ++ {0x92efd1b8d0cf37beL, 1223}, {0xb7abc627050305adL, 1226}, ++ {0xe596b7b0c643c719L, 1229}, {0x8f7e32ce7bea5c6fL, 1233}, ++ {0xb35dbf821ae4f38bL, 1236}, {0xe0352f62a19e306eL, 1239}, ++ {0x8c213d9da502de45L, 1243}, {0xaf298d050e4395d6L, 1246}, ++ {0xdaf3f04651d47b4cL, 1249}, {0x88d8762bf324cd0fL, 1253}, ++ {0xab0e93b6efee0053L, 1256}, {0xd5d238a4abe98068L, 1259}, ++ {0x85a36366eb71f041L, 1263}, {0xa70c3c40a64e6c51L, 1266}, ++ {0xd0cf4b50cfe20765L, 1269}, {0x82818f1281ed449fL, 1273}, ++ {0xa321f2d7226895c7L, 1276}, {0xcbea6f8ceb02bb39L, 1279}, ++ {0xfee50b7025c36a08L, 1282}, {0x9f4f2726179a2245L, 1286}, ++ {0xc722f0ef9d80aad6L, 1289}, {0xf8ebad2b84e0d58bL, 1292}, ++ {0x9b934c3b330c8577L, 1296}, {0xc2781f49ffcfa6d5L, 1299}, ++ {0xf316271c7fc3908aL, 1302}, {0x97edd871cfda3a56L, 1306}, ++ {0xbde94e8e43d0c8ecL, 1309}, {0xed63a231d4c4fb27L, 1312}, ++ {0x945e455f24fb1cf8L, 1316}, {0xb975d6b6ee39e436L, 1319}, ++ {0xe7d34c64a9c85d44L, 1322}, {0x90e40fbeea1d3a4aL, 1326}, ++ {0xb51d13aea4a488ddL, 1329}, {0xe264589a4dcdab14L, 1332}, ++ {0x8d7eb76070a08aecL, 1336}, {0xb0de65388cc8ada8L, 1339}, ++ {0xdd15fe86affad912L, 1342}, {0x8a2dbf142dfcc7abL, 1346}, ++ {0xacb92ed9397bf996L, 1349}, {0xd7e77a8f87daf7fbL, 1352}, ++ {0x86f0ac99b4e8dafdL, 1356}, {0xa8acd7c0222311bcL, 1359}, ++ {0xd2d80db02aabd62bL, 1362}, {0x83c7088e1aab65dbL, 1366}, ++ {0xa4b8cab1a1563f52L, 1369}, {0xcde6fd5e09abcf26L, 1372}, ++ {0x80b05e5ac60b6178L, 1376}, {0xa0dc75f1778e39d6L, 1379}, ++ {0xc913936dd571c84cL, 1382}, {0xfb5878494ace3a5fL, 1385}, ++ {0x9d174b2dcec0e47bL, 1389}, {0xc45d1df942711d9aL, 1392}, ++ {0xf5746577930d6500L, 1395}, {0x9968bf6abbe85f20L, 1399}, ++ {0xbfc2ef456ae276e8L, 1402}, {0xefb3ab16c59b14a2L, 1405}, ++ {0x95d04aee3b80ece5L, 1409}, {0xbb445da9ca61281fL, 1412}, ++ {0xea1575143cf97226L, 1415}, {0x924d692ca61be758L, 1419}, ++ {0xb6e0c377cfa2e12eL, 1422}, {0xe498f455c38b997aL, 1425}, ++ {0x8edf98b59a373fecL, 1429}, {0xb2977ee300c50fe7L, 1432}, ++ {0xdf3d5e9bc0f653e1L, 1435}, {0x8b865b215899f46cL, 1439}, ++ {0xae67f1e9aec07187L, 1442}, {0xda01ee641a708de9L, 1445}, ++ {0x884134fe908658b2L, 1449}, {0xaa51823e34a7eedeL, 1452}, ++ {0xd4e5e2cdc1d1ea96L, 1455}, {0x850fadc09923329eL, 1459}, ++ {0xa6539930bf6bff45L, 1462}, {0xcfe87f7cef46ff16L, 1465}, ++ {0x81f14fae158c5f6eL, 1469}, {0xa26da3999aef7749L, 1472}, ++ {0xcb090c8001ab551cL, 1475}, {0xfdcb4fa002162a63L, 1478}, ++ {0x9e9f11c4014dda7eL, 1482}, {0xc646d63501a1511dL, 1485}, ++ {0xf7d88bc24209a565L, 1488}, {0x9ae757596946075fL, 1492}, ++ {0xc1a12d2fc3978937L, 1495}, {0xf209787bb47d6b84L, 1498}, ++ {0x9745eb4d50ce6332L, 1502}, {0xbd176620a501fbffL, 1505}, ++ {0xec5d3fa8ce427affL, 1508}, {0x93ba47c980e98cdfL, 1512}, ++ {0xb8a8d9bbe123f017L, 1515}, {0xe6d3102ad96cec1dL, 1518}, ++ {0x9043ea1ac7e41392L, 1522}, {0xb454e4a179dd1877L, 1525}, ++ {0xe16a1dc9d8545e94L, 1528}, {0x8ce2529e2734bb1dL, 1532}, ++ {0xb01ae745b101e9e4L, 1535}, {0xdc21a1171d42645dL, 1538}, ++ {0x899504ae72497ebaL, 1542}, {0xabfa45da0edbde69L, 1545}, ++ {0xd6f8d7509292d603L, 1548}, {0x865b86925b9bc5c2L, 1552}, ++ {0xa7f26836f282b732L, 1555}, {0xd1ef0244af2364ffL, 1558}, ++ {0x8335616aed761f1fL, 1562}, {0xa402b9c5a8d3a6e7L, 1565}, ++ {0xcd036837130890a1L, 1568}, {0x802221226be55a64L, 1572}, ++ {0xa02aa96b06deb0fdL, 1575}, {0xc83553c5c8965d3dL, 1578}, ++ {0xfa42a8b73abbf48cL, 1581}, {0x9c69a97284b578d7L, 1585}, ++ {0xc38413cf25e2d70dL, 1588}, {0xf46518c2ef5b8cd1L, 1591}, ++ {0x98bf2f79d5993802L, 1595}, {0xbeeefb584aff8603L, 1598}, ++ {0xeeaaba2e5dbf6784L, 1601}, {0x952ab45cfa97a0b2L, 1605}, ++ {0xba756174393d88dfL, 1608}, {0xe912b9d1478ceb17L, 1611}, ++ {0x91abb422ccb812eeL, 1615}, {0xb616a12b7fe617aaL, 1618}, ++ {0xe39c49765fdf9d94L, 1621}, {0x8e41ade9fbebc27dL, 1625}, ++ {0xb1d219647ae6b31cL, 1628}, {0xde469fbd99a05fe3L, 1631}, ++ {0x8aec23d680043beeL, 1635}, {0xada72ccc20054ae9L, 1638}, ++ {0xd910f7ff28069da4L, 1641}, {0x87aa9aff79042286L, 1645}, ++ {0xa99541bf57452b28L, 1648}, {0xd3fa922f2d1675f2L, 1651}, ++ {0x847c9b5d7c2e09b7L, 1655}, {0xa59bc234db398c25L, 1658}, ++ {0xcf02b2c21207ef2eL, 1661}, {0x8161afb94b44f57dL, 1665}, ++ {0xa1ba1ba79e1632dcL, 1668}, {0xca28a291859bbf93L, 1671}, ++ {0xfcb2cb35e702af78L, 1674}, {0x9defbf01b061adabL, 1678}, ++ {0xc56baec21c7a1916L, 1681}, {0xf6c69a72a3989f5bL, 1684}, ++ {0x9a3c2087a63f6399L, 1688}, {0xc0cb28a98fcf3c7fL, 1691}, ++ {0xf0fdf2d3f3c30b9fL, 1694}, {0x969eb7c47859e743L, 1698}, ++ {0xbc4665b596706114L, 1701}, {0xeb57ff22fc0c7959L, 1704}, ++ {0x9316ff75dd87cbd8L, 1708}, {0xb7dcbf5354e9beceL, 1711}, ++ {0xe5d3ef282a242e81L, 1714}, {0x8fa475791a569d10L, 1718}, ++ {0xb38d92d760ec4455L, 1721}, {0xe070f78d3927556aL, 1724}, ++ {0x8c469ab843b89562L, 1728}, {0xaf58416654a6babbL, 1731}, ++ {0xdb2e51bfe9d0696aL, 1734}, {0x88fcf317f22241e2L, 1738}, ++ {0xab3c2fddeeaad25aL, 1741}, {0xd60b3bd56a5586f1L, 1744}, ++ {0x85c7056562757456L, 1748}, {0xa738c6bebb12d16cL, 1751}, ++ {0xd106f86e69d785c7L, 1754}, {0x82a45b450226b39cL, 1758}, ++ {0xa34d721642b06084L, 1761}, {0xcc20ce9bd35c78a5L, 1764}, ++ {0xff290242c83396ceL, 1767}, {0x9f79a169bd203e41L, 1771}, ++ {0xc75809c42c684dd1L, 1774}, {0xf92e0c3537826145L, 1777}, ++ {0x9bbcc7a142b17ccbL, 1781}, {0xc2abf989935ddbfeL, 1784}, ++ {0xf356f7ebf83552feL, 1787}, {0x98165af37b2153deL, 1791}, ++ {0xbe1bf1b059e9a8d6L, 1794}, {0xeda2ee1c7064130cL, 1797}, ++ {0x9485d4d1c63e8be7L, 1801}, {0xb9a74a0637ce2ee1L, 1804}, ++ {0xe8111c87c5c1ba99L, 1807}, {0x910ab1d4db9914a0L, 1811}, ++ {0xb54d5e4a127f59c8L, 1814}, {0xe2a0b5dc971f303aL, 1817}, ++ {0x8da471a9de737e24L, 1821}, {0xb10d8e1456105dadL, 1824}, ++ {0xdd50f1996b947518L, 1827}, {0x8a5296ffe33cc92fL, 1831}, ++ {0xace73cbfdc0bfb7bL, 1834}, {0xd8210befd30efa5aL, 1837}, ++ {0x8714a775e3e95c78L, 1841}, {0xa8d9d1535ce3b396L, 1844}, ++ {0xd31045a8341ca07cL, 1847}, {0x83ea2b892091e44dL, 1851}, ++ {0xa4e4b66b68b65d60L, 1854}, {0xce1de40642e3f4b9L, 1857}, ++ {0x80d2ae83e9ce78f3L, 1861}, {0xa1075a24e4421730L, 1864}, ++ {0xc94930ae1d529cfcL, 1867}, {0xfb9b7cd9a4a7443cL, 1870}, ++ {0x9d412e0806e88aa5L, 1874}, {0xc491798a08a2ad4eL, 1877}, ++ {0xf5b5d7ec8acb58a2L, 1880}, {0x9991a6f3d6bf1765L, 1884}, ++ {0xbff610b0cc6edd3fL, 1887}, {0xeff394dcff8a948eL, 1890}, ++ {0x95f83d0a1fb69cd9L, 1894}, {0xbb764c4ca7a4440fL, 1897}, ++ {0xea53df5fd18d5513L, 1900}, {0x92746b9be2f8552cL, 1904}, ++ {0xb7118682dbb66a77L, 1907}, {0xe4d5e82392a40515L, 1910}, ++ {0x8f05b1163ba6832dL, 1914}, {0xb2c71d5bca9023f8L, 1917}, ++ {0xdf78e4b2bd342cf6L, 1920}, {0x8bab8eefb6409c1aL, 1924}, ++ {0xae9672aba3d0c320L, 1927}, {0xda3c0f568cc4f3e8L, 1930}, ++ {0x8865899617fb1871L, 1934}, {0xaa7eebfb9df9de8dL, 1937}, ++ {0xd51ea6fa85785631L, 1940}, {0x8533285c936b35deL, 1944}, ++ {0xa67ff273b8460356L, 1947}, {0xd01fef10a657842cL, 1950}, ++ {0x8213f56a67f6b29bL, 1954}, {0xa298f2c501f45f42L, 1957}, ++ {0xcb3f2f7642717713L, 1960}, {0xfe0efb53d30dd4d7L, 1963}, ++ {0x9ec95d1463e8a506L, 1967}, {0xc67bb4597ce2ce48L, 1970}, ++ {0xf81aa16fdc1b81daL, 1973}, {0x9b10a4e5e9913128L, 1977}, ++ {0xc1d4ce1f63f57d72L, 1980}, {0xf24a01a73cf2dccfL, 1983}, ++ {0x976e41088617ca01L, 1987}, {0xbd49d14aa79dbc82L, 1990}, ++ {0xec9c459d51852ba2L, 1993}, {0x93e1ab8252f33b45L, 1997}, ++ {0xb8da1662e7b00a17L, 2000}, {0xe7109bfba19c0c9dL, 2003}, ++ {0x906a617d450187e2L, 2007}, {0xb484f9dc9641e9daL, 2010}, ++ {0xe1a63853bbd26451L, 2013}, {0x8d07e33455637eb2L, 2017}, ++ {0xb049dc016abc5e5fL, 2020}, {0xdc5c5301c56b75f7L, 2023}, ++ {0x89b9b3e11b6329baL, 2027}, {0xac2820d9623bf429L, 2030}, ++ {0xd732290fbacaf133L, 2033}, {0x867f59a9d4bed6c0L, 2037}, ++ {0xa81f301449ee8c70L, 2040}, {0xd226fc195c6a2f8cL, 2043}, ++ {0x83585d8fd9c25db7L, 2047}, {0xa42e74f3d032f525L, 2050}, ++ {0xcd3a1230c43fb26fL, 2053}, {0x80444b5e7aa7cf85L, 2057}, ++ {0xa0555e361951c366L, 2060}, {0xc86ab5c39fa63440L, 2063}, ++ {0xfa856334878fc150L, 2066}, {0x9c935e00d4b9d8d2L, 2070}, ++ {0xc3b8358109e84f07L, 2073}, {0xf4a642e14c6262c8L, 2076}, ++ {0x98e7e9cccfbd7dbdL, 2080}, {0xbf21e44003acdd2cL, 2083}, ++ {0xeeea5d5004981478L, 2086}, {0x95527a5202df0ccbL, 2090}, ++ {0xbaa718e68396cffdL, 2093}, {0xe950df20247c83fdL, 2096}, ++ {0x91d28b7416cdd27eL, 2100}, {0xb6472e511c81471dL, 2103}, ++ {0xe3d8f9e563a198e5L, 2106}, {0x8e679c2f5e44ff8fL, 2110}}; ++ ++// A complement from power_of_ten_components ++// complete to a 128-bit mantissa. ++const uint64_t mantissa_128[] = {0x419ea3bd35385e2d, ++ 0x52064cac828675b9, ++ 0x7343efebd1940993, ++ 0x1014ebe6c5f90bf8, ++ 0xd41a26e077774ef6, ++ 0x8920b098955522b4, ++ 0x55b46e5f5d5535b0, ++ 0xeb2189f734aa831d, ++ 0xa5e9ec7501d523e4, ++ 0x47b233c92125366e, ++ 0x999ec0bb696e840a, ++ 0xc00670ea43ca250d, ++ 0x380406926a5e5728, ++ 0xc605083704f5ecf2, ++ 0xf7864a44c633682e, ++ 0x7ab3ee6afbe0211d, ++ 0x5960ea05bad82964, ++ 0x6fb92487298e33bd, ++ 0xa5d3b6d479f8e056, ++ 0x8f48a4899877186c, ++ 0x331acdabfe94de87, ++ 0x9ff0c08b7f1d0b14, ++ 0x7ecf0ae5ee44dd9, ++ 0xc9e82cd9f69d6150, ++ 0xbe311c083a225cd2, ++ 0x6dbd630a48aaf406, ++ 0x92cbbccdad5b108, ++ 0x25bbf56008c58ea5, ++ 0xaf2af2b80af6f24e, ++ 0x1af5af660db4aee1, ++ 0x50d98d9fc890ed4d, ++ 0xe50ff107bab528a0, ++ 0x1e53ed49a96272c8, ++ 0x25e8e89c13bb0f7a, ++ 0x77b191618c54e9ac, ++ 0xd59df5b9ef6a2417, ++ 0x4b0573286b44ad1d, ++ 0x4ee367f9430aec32, ++ 0x229c41f793cda73f, ++ 0x6b43527578c1110f, ++ 0x830a13896b78aaa9, ++ 0x23cc986bc656d553, ++ 0x2cbfbe86b7ec8aa8, ++ 0x7bf7d71432f3d6a9, ++ 0xdaf5ccd93fb0cc53, ++ 0xd1b3400f8f9cff68, ++ 0x23100809b9c21fa1, ++ 0xabd40a0c2832a78a, ++ 0x16c90c8f323f516c, ++ 0xae3da7d97f6792e3, ++ 0x99cd11cfdf41779c, ++ 0x40405643d711d583, ++ 0x482835ea666b2572, ++ 0xda3243650005eecf, ++ 0x90bed43e40076a82, ++ 0x5a7744a6e804a291, ++ 0x711515d0a205cb36, ++ 0xd5a5b44ca873e03, ++ 0xe858790afe9486c2, ++ 0x626e974dbe39a872, ++ 0xfb0a3d212dc8128f, ++ 0x7ce66634bc9d0b99, ++ 0x1c1fffc1ebc44e80, ++ 0xa327ffb266b56220, ++ 0x4bf1ff9f0062baa8, ++ 0x6f773fc3603db4a9, ++ 0xcb550fb4384d21d3, ++ 0x7e2a53a146606a48, ++ 0x2eda7444cbfc426d, ++ 0xfa911155fefb5308, ++ 0x793555ab7eba27ca, ++ 0x4bc1558b2f3458de, ++ 0x9eb1aaedfb016f16, ++ 0x465e15a979c1cadc, ++ 0xbfacd89ec191ec9, ++ 0xcef980ec671f667b, ++ 0x82b7e12780e7401a, ++ 0xd1b2ecb8b0908810, ++ 0x861fa7e6dcb4aa15, ++ 0x67a791e093e1d49a, ++ 0xe0c8bb2c5c6d24e0, ++ 0x58fae9f773886e18, ++ 0xaf39a475506a899e, ++ 0x6d8406c952429603, ++ 0xc8e5087ba6d33b83, ++ 0xfb1e4a9a90880a64, ++ 0x5cf2eea09a55067f, ++ 0xf42faa48c0ea481e, ++ 0xf13b94daf124da26, ++ 0x76c53d08d6b70858, ++ 0x54768c4b0c64ca6e, ++ 0xa9942f5dcf7dfd09, ++ 0xd3f93b35435d7c4c, ++ 0xc47bc5014a1a6daf, ++ 0x359ab6419ca1091b, ++ 0xc30163d203c94b62, ++ 0x79e0de63425dcf1d, ++ 0x985915fc12f542e4, ++ 0x3e6f5b7b17b2939d, ++ 0xa705992ceecf9c42, ++ 0x50c6ff782a838353, ++ 0xa4f8bf5635246428, ++ 0x871b7795e136be99, ++ 0x28e2557b59846e3f, ++ 0x331aeada2fe589cf, ++ 0x3ff0d2c85def7621, ++ 0xfed077a756b53a9, ++ 0xd3e8495912c62894, ++ 0x64712dd7abbbd95c, ++ 0xbd8d794d96aacfb3, ++ 0xecf0d7a0fc5583a0, ++ 0xf41686c49db57244, ++ 0x311c2875c522ced5, ++ 0x7d633293366b828b, ++ 0xae5dff9c02033197, ++ 0xd9f57f830283fdfc, ++ 0xd072df63c324fd7b, ++ 0x4247cb9e59f71e6d, ++ 0x52d9be85f074e608, ++ 0x67902e276c921f8b, ++ 0xba1cd8a3db53b6, ++ 0x80e8a40eccd228a4, ++ 0x6122cd128006b2cd, ++ 0x796b805720085f81, ++ 0xcbe3303674053bb0, ++ 0xbedbfc4411068a9c, ++ 0xee92fb5515482d44, ++ 0x751bdd152d4d1c4a, ++ 0xd262d45a78a0635d, ++ 0x86fb897116c87c34, ++ 0xd45d35e6ae3d4da0, ++ 0x8974836059cca109, ++ 0x2bd1a438703fc94b, ++ 0x7b6306a34627ddcf, ++ 0x1a3bc84c17b1d542, ++ 0x20caba5f1d9e4a93, ++ 0x547eb47b7282ee9c, ++ 0xe99e619a4f23aa43, ++ 0x6405fa00e2ec94d4, ++ 0xde83bc408dd3dd04, ++ 0x9624ab50b148d445, ++ 0x3badd624dd9b0957, ++ 0xe54ca5d70a80e5d6, ++ 0x5e9fcf4ccd211f4c, ++ 0x7647c3200069671f, ++ 0x29ecd9f40041e073, ++ 0xf468107100525890, ++ 0x7182148d4066eeb4, ++ 0xc6f14cd848405530, ++ 0xb8ada00e5a506a7c, ++ 0xa6d90811f0e4851c, ++ 0x908f4a166d1da663, ++ 0x9a598e4e043287fe, ++ 0x40eff1e1853f29fd, ++ 0xd12bee59e68ef47c, ++ 0x82bb74f8301958ce, ++ 0xe36a52363c1faf01, ++ 0xdc44e6c3cb279ac1, ++ 0x29ab103a5ef8c0b9, ++ 0x7415d448f6b6f0e7, ++ 0x111b495b3464ad21, ++ 0xcab10dd900beec34, ++ 0x3d5d514f40eea742, ++ 0xcb4a5a3112a5112, ++ 0x47f0e785eaba72ab, ++ 0x59ed216765690f56, ++ 0x306869c13ec3532c, ++ 0x1e414218c73a13fb, ++ 0xe5d1929ef90898fa, ++ 0xdf45f746b74abf39, ++ 0x6b8bba8c328eb783, ++ 0x66ea92f3f326564, ++ 0xc80a537b0efefebd, ++ 0xbd06742ce95f5f36, ++ 0x2c48113823b73704, ++ 0xf75a15862ca504c5, ++ 0x9a984d73dbe722fb, ++ 0xc13e60d0d2e0ebba, ++ 0x318df905079926a8, ++ 0xfdf17746497f7052, ++ 0xfeb6ea8bedefa633, ++ 0xfe64a52ee96b8fc0, ++ 0x3dfdce7aa3c673b0, ++ 0x6bea10ca65c084e, ++ 0x486e494fcff30a62, ++ 0x5a89dba3c3efccfa, ++ 0xf89629465a75e01c, ++ 0xf6bbb397f1135823, ++ 0x746aa07ded582e2c, ++ 0xa8c2a44eb4571cdc, ++ 0x92f34d62616ce413, ++ 0x77b020baf9c81d17, ++ 0xace1474dc1d122e, ++ 0xd819992132456ba, ++ 0x10e1fff697ed6c69, ++ 0xca8d3ffa1ef463c1, ++ 0xbd308ff8a6b17cb2, ++ 0xac7cb3f6d05ddbde, ++ 0x6bcdf07a423aa96b, ++ 0x86c16c98d2c953c6, ++ 0xe871c7bf077ba8b7, ++ 0x11471cd764ad4972, ++ 0xd598e40d3dd89bcf, ++ 0x4aff1d108d4ec2c3, ++ 0xcedf722a585139ba, ++ 0xc2974eb4ee658828, ++ 0x733d226229feea32, ++ 0x806357d5a3f525f, ++ 0xca07c2dcb0cf26f7, ++ 0xfc89b393dd02f0b5, ++ 0xbbac2078d443ace2, ++ 0xd54b944b84aa4c0d, ++ 0xa9e795e65d4df11, ++ 0x4d4617b5ff4a16d5, ++ 0x504bced1bf8e4e45, ++ 0xe45ec2862f71e1d6, ++ 0x5d767327bb4e5a4c, ++ 0x3a6a07f8d510f86f, ++ 0x890489f70a55368b, ++ 0x2b45ac74ccea842e, ++ 0x3b0b8bc90012929d, ++ 0x9ce6ebb40173744, ++ 0xcc420a6a101d0515, ++ 0x9fa946824a12232d, ++ 0x47939822dc96abf9, ++ 0x59787e2b93bc56f7, ++ 0x57eb4edb3c55b65a, ++ 0xede622920b6b23f1, ++ 0xe95fab368e45eced, ++ 0x11dbcb0218ebb414, ++ 0xd652bdc29f26a119, ++ 0x4be76d3346f0495f, ++ 0x6f70a4400c562ddb, ++ 0xcb4ccd500f6bb952, ++ 0x7e2000a41346a7a7, ++ 0x8ed400668c0c28c8, ++ 0x728900802f0f32fa, ++ 0x4f2b40a03ad2ffb9, ++ 0xe2f610c84987bfa8, ++ 0xdd9ca7d2df4d7c9, ++ 0x91503d1c79720dbb, ++ 0x75a44c6397ce912a, ++ 0xc986afbe3ee11aba, ++ 0xfbe85badce996168, ++ 0xfae27299423fb9c3, ++ 0xdccd879fc967d41a, ++ 0x5400e987bbc1c920, ++ 0x290123e9aab23b68, ++ 0xf9a0b6720aaf6521, ++ 0xf808e40e8d5b3e69, ++ 0xb60b1d1230b20e04, ++ 0xb1c6f22b5e6f48c2, ++ 0x1e38aeb6360b1af3, ++ 0x25c6da63c38de1b0, ++ 0x579c487e5a38ad0e, ++ 0x2d835a9df0c6d851, ++ 0xf8e431456cf88e65, ++ 0x1b8e9ecb641b58ff, ++ 0xe272467e3d222f3f, ++ 0x5b0ed81dcc6abb0f, ++ 0x98e947129fc2b4e9, ++ 0x3f2398d747b36224, ++ 0x8eec7f0d19a03aad, ++ 0x1953cf68300424ac, ++ 0x5fa8c3423c052dd7, ++ 0x3792f412cb06794d, ++ 0xe2bbd88bbee40bd0, ++ 0x5b6aceaeae9d0ec4, ++ 0xf245825a5a445275, ++ 0xeed6e2f0f0d56712, ++ 0x55464dd69685606b, ++ 0xaa97e14c3c26b886, ++ 0xd53dd99f4b3066a8, ++ 0xe546a8038efe4029, ++ 0xde98520472bdd033, ++ 0x963e66858f6d4440, ++ 0xdde7001379a44aa8, ++ 0x5560c018580d5d52, ++ 0xaab8f01e6e10b4a6, ++ 0xcab3961304ca70e8, ++ 0x3d607b97c5fd0d22, ++ 0x8cb89a7db77c506a, ++ 0x77f3608e92adb242, ++ 0x55f038b237591ed3, ++ 0x6b6c46dec52f6688, ++ 0x2323ac4b3b3da015, ++ 0xabec975e0a0d081a, ++ 0x96e7bd358c904a21, ++ 0x7e50d64177da2e54, ++ 0xdde50bd1d5d0b9e9, ++ 0x955e4ec64b44e864, ++ 0xbd5af13bef0b113e, ++ 0xecb1ad8aeacdd58e, ++ 0x67de18eda5814af2, ++ 0x80eacf948770ced7, ++ 0xa1258379a94d028d, ++ 0x96ee45813a04330, ++ 0x8bca9d6e188853fc, ++ 0x775ea264cf55347d, ++ 0x95364afe032a819d, ++ 0x3a83ddbd83f52204, ++ 0xc4926a9672793542, ++ 0x75b7053c0f178293, ++ 0x5324c68b12dd6338, ++ 0xd3f6fc16ebca5e03, ++ 0x88f4bb1ca6bcf584, ++ 0x2b31e9e3d06c32e5, ++ 0x3aff322e62439fcf, ++ 0x9befeb9fad487c2, ++ 0x4c2ebe687989a9b3, ++ 0xf9d37014bf60a10, ++ 0x538484c19ef38c94, ++ 0x2865a5f206b06fb9, ++ 0xf93f87b7442e45d3, ++ 0xf78f69a51539d748, ++ 0xb573440e5a884d1b, ++ 0x31680a88f8953030, ++ 0xfdc20d2b36ba7c3d, ++ 0x3d32907604691b4c, ++ 0xa63f9a49c2c1b10f, ++ 0xfcf80dc33721d53, ++ 0xd3c36113404ea4a8, ++ 0x645a1cac083126e9, ++ 0x3d70a3d70a3d70a3, ++ 0xcccccccccccccccc, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x0, ++ 0x4000000000000000, ++ 0x5000000000000000, ++ 0xa400000000000000, ++ 0x4d00000000000000, ++ 0xf020000000000000, ++ 0x6c28000000000000, ++ 0xc732000000000000, ++ 0x3c7f400000000000, ++ 0x4b9f100000000000, ++ 0x1e86d40000000000, ++ 0x1314448000000000, ++ 0x17d955a000000000, ++ 0x5dcfab0800000000, ++ 0x5aa1cae500000000, ++ 0xf14a3d9e40000000, ++ 0x6d9ccd05d0000000, ++ 0xe4820023a2000000, ++ 0xdda2802c8a800000, ++ 0xd50b2037ad200000, ++ 0x4526f422cc340000, ++ 0x9670b12b7f410000, ++ 0x3c0cdd765f114000, ++ 0xa5880a69fb6ac800, ++ 0x8eea0d047a457a00, ++ 0x72a4904598d6d880, ++ 0x47a6da2b7f864750, ++ 0x999090b65f67d924, ++ 0xfff4b4e3f741cf6d, ++ 0xbff8f10e7a8921a4, ++ 0xaff72d52192b6a0d, ++ 0x9bf4f8a69f764490, ++ 0x2f236d04753d5b4, ++ 0x1d762422c946590, ++ 0x424d3ad2b7b97ef5, ++ 0xd2e0898765a7deb2, ++ 0x63cc55f49f88eb2f, ++ 0x3cbf6b71c76b25fb, ++ 0x8bef464e3945ef7a, ++ 0x97758bf0e3cbb5ac, ++ 0x3d52eeed1cbea317, ++ 0x4ca7aaa863ee4bdd, ++ 0x8fe8caa93e74ef6a, ++ 0xb3e2fd538e122b44, ++ 0x60dbbca87196b616, ++ 0xbc8955e946fe31cd, ++ 0x6babab6398bdbe41, ++ 0xc696963c7eed2dd1, ++ 0xfc1e1de5cf543ca2, ++ 0x3b25a55f43294bcb, ++ 0x49ef0eb713f39ebe, ++ 0x6e3569326c784337, ++ 0x49c2c37f07965404, ++ 0xdc33745ec97be906, ++ 0x69a028bb3ded71a3, ++ 0xc40832ea0d68ce0c, ++ 0xf50a3fa490c30190, ++ 0x792667c6da79e0fa, ++ 0x577001b891185938, ++ 0xed4c0226b55e6f86, ++ 0x544f8158315b05b4, ++ 0x696361ae3db1c721, ++ 0x3bc3a19cd1e38e9, ++ 0x4ab48a04065c723, ++ 0x62eb0d64283f9c76, ++ 0x3ba5d0bd324f8394, ++ 0xca8f44ec7ee36479, ++ 0x7e998b13cf4e1ecb, ++ 0x9e3fedd8c321a67e, ++ 0xc5cfe94ef3ea101e, ++ 0xbba1f1d158724a12, ++ 0x2a8a6e45ae8edc97, ++ 0xf52d09d71a3293bd, ++ 0x593c2626705f9c56, ++ 0x6f8b2fb00c77836c, ++ 0xb6dfb9c0f956447, ++ 0x4724bd4189bd5eac, ++ 0x58edec91ec2cb657, ++ 0x2f2967b66737e3ed, ++ 0xbd79e0d20082ee74, ++ 0xecd8590680a3aa11, ++ 0xe80e6f4820cc9495, ++ 0x3109058d147fdcdd, ++ 0xbd4b46f0599fd415, ++ 0x6c9e18ac7007c91a, ++ 0x3e2cf6bc604ddb0, ++ 0x84db8346b786151c, ++ 0xe612641865679a63, ++ 0x4fcb7e8f3f60c07e, ++ 0xe3be5e330f38f09d, ++ 0x5cadf5bfd3072cc5, ++ 0x73d9732fc7c8f7f6, ++ 0x2867e7fddcdd9afa, ++ 0xb281e1fd541501b8, ++ 0x1f225a7ca91a4226, ++ 0x3375788de9b06958, ++ 0x52d6b1641c83ae, ++ 0xc0678c5dbd23a49a, ++ 0xf840b7ba963646e0, ++ 0xb650e5a93bc3d898, ++ 0xa3e51f138ab4cebe, ++ 0xc66f336c36b10137, ++ 0xb80b0047445d4184, ++ 0xa60dc059157491e5, ++ 0x87c89837ad68db2f, ++ 0x29babe4598c311fb, ++ 0xf4296dd6fef3d67a, ++ 0x1899e4a65f58660c, ++ 0x5ec05dcff72e7f8f, ++ 0x76707543f4fa1f73, ++ 0x6a06494a791c53a8, ++ 0x487db9d17636892, ++ 0x45a9d2845d3c42b6, ++ 0xb8a2392ba45a9b2, ++ 0x8e6cac7768d7141e, ++ 0x3207d795430cd926, ++ 0x7f44e6bd49e807b8, ++ 0x5f16206c9c6209a6, ++ 0x36dba887c37a8c0f, ++ 0xc2494954da2c9789, ++ 0xf2db9baa10b7bd6c, ++ 0x6f92829494e5acc7, ++ 0xcb772339ba1f17f9, ++ 0xff2a760414536efb, ++ 0xfef5138519684aba, ++ 0x7eb258665fc25d69, ++ 0xef2f773ffbd97a61, ++ 0xaafb550ffacfd8fa, ++ 0x95ba2a53f983cf38, ++ 0xdd945a747bf26183, ++ 0x94f971119aeef9e4, ++ 0x7a37cd5601aab85d, ++ 0xac62e055c10ab33a, ++ 0x577b986b314d6009, ++ 0xed5a7e85fda0b80b, ++ 0x14588f13be847307, ++ 0x596eb2d8ae258fc8, ++ 0x6fca5f8ed9aef3bb, ++ 0x25de7bb9480d5854, ++ 0xaf561aa79a10ae6a, ++ 0x1b2ba1518094da04, ++ 0x90fb44d2f05d0842, ++ 0x353a1607ac744a53, ++ 0x42889b8997915ce8, ++ 0x69956135febada11, ++ 0x43fab9837e699095, ++ 0x94f967e45e03f4bb, ++ 0x1d1be0eebac278f5, ++ 0x6462d92a69731732, ++ 0x7d7b8f7503cfdcfe, ++ 0x5cda735244c3d43e, ++ 0x3a0888136afa64a7, ++ 0x88aaa1845b8fdd0, ++ 0x8aad549e57273d45, ++ 0x36ac54e2f678864b, ++ 0x84576a1bb416a7dd, ++ 0x656d44a2a11c51d5, ++ 0x9f644ae5a4b1b325, ++ 0x873d5d9f0dde1fee, ++ 0xa90cb506d155a7ea, ++ 0x9a7f12442d588f2, ++ 0xc11ed6d538aeb2f, ++ 0x8f1668c8a86da5fa, ++ 0xf96e017d694487bc, ++ 0x37c981dcc395a9ac, ++ 0x85bbe253f47b1417, ++ 0x93956d7478ccec8e, ++ 0x387ac8d1970027b2, ++ 0x6997b05fcc0319e, ++ 0x441fece3bdf81f03, ++ 0xd527e81cad7626c3, ++ 0x8a71e223d8d3b074, ++ 0xf6872d5667844e49, ++ 0xb428f8ac016561db, ++ 0xe13336d701beba52, ++ 0xecc0024661173473, ++ 0x27f002d7f95d0190, ++ 0x31ec038df7b441f4, ++ 0x7e67047175a15271, ++ 0xf0062c6e984d386, ++ 0x52c07b78a3e60868, ++ 0xa7709a56ccdf8a82, ++ 0x88a66076400bb691, ++ 0x6acff893d00ea435, ++ 0x583f6b8c4124d43, ++ 0xc3727a337a8b704a, ++ 0x744f18c0592e4c5c, ++ 0x1162def06f79df73, ++ 0x8addcb5645ac2ba8, ++ 0x6d953e2bd7173692, ++ 0xc8fa8db6ccdd0437, ++ 0x1d9c9892400a22a2, ++ 0x2503beb6d00cab4b, ++ 0x2e44ae64840fd61d, ++ 0x5ceaecfed289e5d2, ++ 0x7425a83e872c5f47, ++ 0xd12f124e28f77719, ++ 0x82bd6b70d99aaa6f, ++ 0x636cc64d1001550b, ++ 0x3c47f7e05401aa4e, ++ 0x65acfaec34810a71, ++ 0x7f1839a741a14d0d, ++ 0x1ede48111209a050, ++ 0x934aed0aab460432, ++ 0xf81da84d5617853f, ++ 0x36251260ab9d668e, ++ 0xc1d72b7c6b426019, ++ 0xb24cf65b8612f81f, ++ 0xdee033f26797b627, ++ 0x169840ef017da3b1, ++ 0x8e1f289560ee864e, ++ 0xf1a6f2bab92a27e2, ++ 0xae10af696774b1db, ++ 0xacca6da1e0a8ef29, ++ 0x17fd090a58d32af3, ++ 0xddfc4b4cef07f5b0, ++ 0x4abdaf101564f98e, ++ 0x9d6d1ad41abe37f1, ++ 0x84c86189216dc5ed, ++ 0x32fd3cf5b4e49bb4, ++ 0x3fbc8c33221dc2a1, ++ 0xfabaf3feaa5334a, ++ 0x29cb4d87f2a7400e, ++ 0x743e20e9ef511012, ++ 0x914da9246b255416, ++ 0x1ad089b6c2f7548e, ++ 0xa184ac2473b529b1, ++ 0xc9e5d72d90a2741e, ++ 0x7e2fa67c7a658892, ++ 0xddbb901b98feeab7, ++ 0x552a74227f3ea565, ++ 0xd53a88958f87275f, ++ 0x8a892abaf368f137, ++ 0x2d2b7569b0432d85, ++ 0x9c3b29620e29fc73, ++ 0x8349f3ba91b47b8f, ++ 0x241c70a936219a73, ++ 0xed238cd383aa0110, ++ 0xf4363804324a40aa, ++ 0xb143c6053edcd0d5, ++ 0xdd94b7868e94050a, ++ 0xca7cf2b4191c8326, ++ 0xfd1c2f611f63a3f0, ++ 0xbc633b39673c8cec, ++ 0xd5be0503e085d813, ++ 0x4b2d8644d8a74e18, ++ 0xddf8e7d60ed1219e, ++ 0xcabb90e5c942b503, ++ 0x3d6a751f3b936243, ++ 0xcc512670a783ad4, ++ 0x27fb2b80668b24c5, ++ 0xb1f9f660802dedf6, ++ 0x5e7873f8a0396973, ++ 0xdb0b487b6423e1e8, ++ 0x91ce1a9a3d2cda62, ++ 0x7641a140cc7810fb, ++ 0xa9e904c87fcb0a9d, ++ 0x546345fa9fbdcd44, ++ 0xa97c177947ad4095, ++ 0x49ed8eabcccc485d, ++ 0x5c68f256bfff5a74, ++ 0x73832eec6fff3111, ++ 0xc831fd53c5ff7eab, ++ 0xba3e7ca8b77f5e55, ++ 0x28ce1bd2e55f35eb, ++ 0x7980d163cf5b81b3, ++ 0xd7e105bcc332621f, ++ 0x8dd9472bf3fefaa7, ++ 0xb14f98f6f0feb951, ++ 0x6ed1bf9a569f33d3, ++ 0xa862f80ec4700c8, ++ 0xcd27bb612758c0fa, ++ 0x8038d51cb897789c, ++ 0xe0470a63e6bd56c3, ++ 0x1858ccfce06cac74, ++ 0xf37801e0c43ebc8, ++ 0xd30560258f54e6ba, ++ 0x47c6b82ef32a2069, ++ 0x4cdc331d57fa5441, ++ 0xe0133fe4adf8e952, ++ 0x58180fddd97723a6, ++ 0x570f09eaa7ea7648}; ++ ++ + } // namespace simdjson + + #endif +@@ -5593,52 +6518,6 @@ really_inline void document::parser::annotate_previous_loc(uint32_t saved_loc, u + + using namespace simdjson; + +-WARN_UNUSED +-really_inline bool is_valid_true_atom(const uint8_t *loc) { +- uint32_t tv = *reinterpret_cast("true"); +- uint32_t error = 0; +- uint32_t +- locval; // we want to avoid unaligned 64-bit loads (undefined in C/C++) +- // this can read up to 3 bytes beyond the buffer size, but we require +- // SIMDJSON_PADDING of padding +- static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING); +- std::memcpy(&locval, loc, sizeof(uint32_t)); +- error = locval ^ tv; +- error |= is_not_structural_or_whitespace(loc[4]); +- return error == 0; +-} +- +-WARN_UNUSED +-really_inline bool is_valid_false_atom(const uint8_t *loc) { +- // assume that loc starts with "f" +- uint32_t fv = *reinterpret_cast("alse"); +- uint32_t error = 0; +- uint32_t +- locval; // we want to avoid unaligned 32-bit loads (undefined in C/C++) +- // this can read up to 4 bytes beyond the buffer size, but we require +- // SIMDJSON_PADDING of padding +- static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING); +- std::memcpy(&locval, loc + 1, sizeof(uint32_t)); +- error = locval ^ fv; +- error |= is_not_structural_or_whitespace(loc[5]); +- return error == 0; +-} +- +-WARN_UNUSED +-really_inline bool is_valid_null_atom(const uint8_t *loc) { +- uint32_t nv = *reinterpret_cast("null"); +- uint32_t error = 0; +- uint32_t +- locval; // we want to avoid unaligned 32-bit loads (undefined in C/C++) +- // this can read up to 2 bytes beyond the buffer size, but we require +- // SIMDJSON_PADDING of padding +- static_assert(sizeof(uint32_t) - 1 <= SIMDJSON_PADDING); +- std::memcpy(&locval, loc, sizeof(uint32_t)); +- error = locval ^ nv; +- error |= is_not_structural_or_whitespace(loc[4]); +- return error == 0; +-} +- + #ifdef JSON_TEST_STRINGS + void found_string(const uint8_t *buf, const uint8_t *parsed_begin, + const uint8_t *parsed_end); +@@ -5768,10 +6647,9 @@ really_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + return offset > 0; + } + +-WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *buf, +- uint32_t offset, ++WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *src, + uint8_t *dst) { +- const uint8_t *src = &buf[offset + 1]; /* we know that buf at offset is a " */ ++ src++; + while (1) { + parse_string_helper helper = find_bs_bits_and_quote_bits(src, dst); + if (((helper.bs_bits - 1) & helper.quote_bits) != 0) { +@@ -5868,81 +6746,209 @@ static inline uint32_t parse_eight_digits_unrolled(const char *chars) { + /* begin file src/generic/numberparsing.h */ + namespace numberparsing { + +-// Allowable floating-point values range +-// std::numeric_limits::lowest() to std::numeric_limits::max(), +-// so from -1.7976e308 all the way to 1.7975e308 in binary64. The lowest +-// non-zero normal values is std::numeric_limits::min() or +-// about 2.225074e-308. +-static const double power_of_ten[] = { +- 1e-308, 1e-307, 1e-306, 1e-305, 1e-304, 1e-303, 1e-302, 1e-301, 1e-300, +- 1e-299, 1e-298, 1e-297, 1e-296, 1e-295, 1e-294, 1e-293, 1e-292, 1e-291, +- 1e-290, 1e-289, 1e-288, 1e-287, 1e-286, 1e-285, 1e-284, 1e-283, 1e-282, +- 1e-281, 1e-280, 1e-279, 1e-278, 1e-277, 1e-276, 1e-275, 1e-274, 1e-273, +- 1e-272, 1e-271, 1e-270, 1e-269, 1e-268, 1e-267, 1e-266, 1e-265, 1e-264, +- 1e-263, 1e-262, 1e-261, 1e-260, 1e-259, 1e-258, 1e-257, 1e-256, 1e-255, +- 1e-254, 1e-253, 1e-252, 1e-251, 1e-250, 1e-249, 1e-248, 1e-247, 1e-246, +- 1e-245, 1e-244, 1e-243, 1e-242, 1e-241, 1e-240, 1e-239, 1e-238, 1e-237, +- 1e-236, 1e-235, 1e-234, 1e-233, 1e-232, 1e-231, 1e-230, 1e-229, 1e-228, +- 1e-227, 1e-226, 1e-225, 1e-224, 1e-223, 1e-222, 1e-221, 1e-220, 1e-219, +- 1e-218, 1e-217, 1e-216, 1e-215, 1e-214, 1e-213, 1e-212, 1e-211, 1e-210, +- 1e-209, 1e-208, 1e-207, 1e-206, 1e-205, 1e-204, 1e-203, 1e-202, 1e-201, +- 1e-200, 1e-199, 1e-198, 1e-197, 1e-196, 1e-195, 1e-194, 1e-193, 1e-192, +- 1e-191, 1e-190, 1e-189, 1e-188, 1e-187, 1e-186, 1e-185, 1e-184, 1e-183, +- 1e-182, 1e-181, 1e-180, 1e-179, 1e-178, 1e-177, 1e-176, 1e-175, 1e-174, +- 1e-173, 1e-172, 1e-171, 1e-170, 1e-169, 1e-168, 1e-167, 1e-166, 1e-165, +- 1e-164, 1e-163, 1e-162, 1e-161, 1e-160, 1e-159, 1e-158, 1e-157, 1e-156, +- 1e-155, 1e-154, 1e-153, 1e-152, 1e-151, 1e-150, 1e-149, 1e-148, 1e-147, +- 1e-146, 1e-145, 1e-144, 1e-143, 1e-142, 1e-141, 1e-140, 1e-139, 1e-138, +- 1e-137, 1e-136, 1e-135, 1e-134, 1e-133, 1e-132, 1e-131, 1e-130, 1e-129, +- 1e-128, 1e-127, 1e-126, 1e-125, 1e-124, 1e-123, 1e-122, 1e-121, 1e-120, +- 1e-119, 1e-118, 1e-117, 1e-116, 1e-115, 1e-114, 1e-113, 1e-112, 1e-111, +- 1e-110, 1e-109, 1e-108, 1e-107, 1e-106, 1e-105, 1e-104, 1e-103, 1e-102, +- 1e-101, 1e-100, 1e-99, 1e-98, 1e-97, 1e-96, 1e-95, 1e-94, 1e-93, +- 1e-92, 1e-91, 1e-90, 1e-89, 1e-88, 1e-87, 1e-86, 1e-85, 1e-84, +- 1e-83, 1e-82, 1e-81, 1e-80, 1e-79, 1e-78, 1e-77, 1e-76, 1e-75, +- 1e-74, 1e-73, 1e-72, 1e-71, 1e-70, 1e-69, 1e-68, 1e-67, 1e-66, +- 1e-65, 1e-64, 1e-63, 1e-62, 1e-61, 1e-60, 1e-59, 1e-58, 1e-57, +- 1e-56, 1e-55, 1e-54, 1e-53, 1e-52, 1e-51, 1e-50, 1e-49, 1e-48, +- 1e-47, 1e-46, 1e-45, 1e-44, 1e-43, 1e-42, 1e-41, 1e-40, 1e-39, +- 1e-38, 1e-37, 1e-36, 1e-35, 1e-34, 1e-33, 1e-32, 1e-31, 1e-30, +- 1e-29, 1e-28, 1e-27, 1e-26, 1e-25, 1e-24, 1e-23, 1e-22, 1e-21, +- 1e-20, 1e-19, 1e-18, 1e-17, 1e-16, 1e-15, 1e-14, 1e-13, 1e-12, +- 1e-11, 1e-10, 1e-9, 1e-8, 1e-7, 1e-6, 1e-5, 1e-4, 1e-3, +- 1e-2, 1e-1, 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, +- 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, +- 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24, +- 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, 1e32, 1e33, +- 1e34, 1e35, 1e36, 1e37, 1e38, 1e39, 1e40, 1e41, 1e42, +- 1e43, 1e44, 1e45, 1e46, 1e47, 1e48, 1e49, 1e50, 1e51, +- 1e52, 1e53, 1e54, 1e55, 1e56, 1e57, 1e58, 1e59, 1e60, +- 1e61, 1e62, 1e63, 1e64, 1e65, 1e66, 1e67, 1e68, 1e69, +- 1e70, 1e71, 1e72, 1e73, 1e74, 1e75, 1e76, 1e77, 1e78, +- 1e79, 1e80, 1e81, 1e82, 1e83, 1e84, 1e85, 1e86, 1e87, +- 1e88, 1e89, 1e90, 1e91, 1e92, 1e93, 1e94, 1e95, 1e96, +- 1e97, 1e98, 1e99, 1e100, 1e101, 1e102, 1e103, 1e104, 1e105, +- 1e106, 1e107, 1e108, 1e109, 1e110, 1e111, 1e112, 1e113, 1e114, +- 1e115, 1e116, 1e117, 1e118, 1e119, 1e120, 1e121, 1e122, 1e123, +- 1e124, 1e125, 1e126, 1e127, 1e128, 1e129, 1e130, 1e131, 1e132, +- 1e133, 1e134, 1e135, 1e136, 1e137, 1e138, 1e139, 1e140, 1e141, +- 1e142, 1e143, 1e144, 1e145, 1e146, 1e147, 1e148, 1e149, 1e150, +- 1e151, 1e152, 1e153, 1e154, 1e155, 1e156, 1e157, 1e158, 1e159, +- 1e160, 1e161, 1e162, 1e163, 1e164, 1e165, 1e166, 1e167, 1e168, +- 1e169, 1e170, 1e171, 1e172, 1e173, 1e174, 1e175, 1e176, 1e177, +- 1e178, 1e179, 1e180, 1e181, 1e182, 1e183, 1e184, 1e185, 1e186, +- 1e187, 1e188, 1e189, 1e190, 1e191, 1e192, 1e193, 1e194, 1e195, +- 1e196, 1e197, 1e198, 1e199, 1e200, 1e201, 1e202, 1e203, 1e204, +- 1e205, 1e206, 1e207, 1e208, 1e209, 1e210, 1e211, 1e212, 1e213, +- 1e214, 1e215, 1e216, 1e217, 1e218, 1e219, 1e220, 1e221, 1e222, +- 1e223, 1e224, 1e225, 1e226, 1e227, 1e228, 1e229, 1e230, 1e231, +- 1e232, 1e233, 1e234, 1e235, 1e236, 1e237, 1e238, 1e239, 1e240, +- 1e241, 1e242, 1e243, 1e244, 1e245, 1e246, 1e247, 1e248, 1e249, +- 1e250, 1e251, 1e252, 1e253, 1e254, 1e255, 1e256, 1e257, 1e258, +- 1e259, 1e260, 1e261, 1e262, 1e263, 1e264, 1e265, 1e266, 1e267, +- 1e268, 1e269, 1e270, 1e271, 1e272, 1e273, 1e274, 1e275, 1e276, +- 1e277, 1e278, 1e279, 1e280, 1e281, 1e282, 1e283, 1e284, 1e285, +- 1e286, 1e287, 1e288, 1e289, 1e290, 1e291, 1e292, 1e293, 1e294, +- 1e295, 1e296, 1e297, 1e298, 1e299, 1e300, 1e301, 1e302, 1e303, +- 1e304, 1e305, 1e306, 1e307, 1e308}; ++ ++// Attempts to compute i * 10^(power) exactly; and if "negative" is ++// true, negate the result. ++// This function will only work in some cases, when it does not work, success is ++// set to false. This should work *most of the time* (like 99% of the time). ++// We assume that power is in the [FASTFLOAT_SMALLEST_POWER, ++// FASTFLOAT_LARGEST_POWER] interval: the caller is responsible for this check. ++really_inline double compute_float_64(int64_t power, uint64_t i, bool negative, ++ bool *success) { ++ // we start with a fast path ++ if (-22 <= power && power <= 22 && i <= 9007199254740991) { ++ // convert the integer into a double. This is lossless since ++ // 0 <= i <= 2^53 - 1. ++ double d = i; ++ // ++ // The general idea is as follows. ++ // If 0 <= s < 2^53 and if 10^0 <= p <= 10^22 then ++ // 1) Both s and p can be represented exactly as 64-bit floating-point ++ // values ++ // (binary64). ++ // 2) Because s and p can be represented exactly as floating-point values, ++ // then s * p ++ // and s / p will produce correctly rounded values. ++ // ++ if (power < 0) { ++ d = d / power_of_ten[-power]; ++ } else { ++ d = d * power_of_ten[power]; ++ } ++ if (negative) { ++ d = -d; ++ } ++ *success = true; ++ return d; ++ } ++ ++ // When 22 < power && power < 22 + 16, we could ++ // hope for another, secondary fast path. If ++ // you need to compute i * 10^(22 + x) for x < 16, ++ // first compute i * 10^x, if you know that result is exact ++ // (e.g., when i * 10^x < 2^53), ++ // then you can still proceed and do (i * 10^x) * 10^22. ++ // Is this worth your time? ++ // You need 22 < power *and* power < 22 + 16 *and* (i * 10^(x-22) < 2^53) ++ // for this second fast path to work. ++ // If you you have 22 < power *and* power < 22 + 16, and then you ++ // optimistically compute "i * 10^(x-22)", there is still a chance that you ++ // have wasted your time if i * 10^(x-22) >= 2^53. It makes the use cases of ++ // this optimization maybe less common than we would like. Source: ++ // http://www.exploringbinary.com/fast-path-decimal-to-floating-point-conversion/ ++ // also used in RapidJSON: https://rapidjson.org/strtod_8h_source.html ++ ++ // The fast path has now failed, so we are failing back on the slower path. ++ ++ // In the slow path, we need to adjust i so that it is > 1<<63 which is always ++ // possible, except if i == 0, so we handle i == 0 separately. ++ if(i == 0) { ++ return 0.0; ++ } ++ ++ // We are going to need to do some 64-bit arithmetic to get a more precise product. ++ // We use a table lookup approach. ++ components c = ++ power_of_ten_components[power - FASTFLOAT_SMALLEST_POWER]; // safe because ++ // power_index ++ // <= 2*308 ++ // we recover the mantissa of the power, it has a leading 1. It is always ++ // rounded down. ++ uint64_t factor_mantissa = c.mantissa; ++ ++ // We want the most significant bit of i to be 1. Shift if needed. ++ int lz = leading_zeroes(i); ++ i <<= lz; ++ // We want the most significant 64 bits of the product. We know ++ // this will be non-zero because the most significant bit of i is ++ // 1. ++ value128 product = full_multiplication(i, factor_mantissa); ++ uint64_t lower = product.low; ++ uint64_t upper = product.high; ++ ++ // We know that upper has at most one leading zero because ++ // both i and factor_mantissa have a leading one. This means ++ // that the result is at least as large as ((1<<63)*(1<<63))/(1<<64). ++ ++ // As long as the first 9 bits of "upper" are not "1", then we ++ // know that we have an exact computed value for the leading ++ // 55 bits because any imprecision would play out as a +1, in ++ // the worst case. ++ if (unlikely((upper & 0x1FF) == 0x1FF) && (lower + i < lower)) { ++ uint64_t factor_mantissa_low = ++ mantissa_128[power - FASTFLOAT_SMALLEST_POWER]; ++ // next, we compute the 64-bit x 128-bit multiplication, getting a 192-bit ++ // result (three 64-bit values) ++ product = full_multiplication(i, factor_mantissa_low); ++ uint64_t product_low = product.low; ++ uint64_t product_middle2 = product.high; ++ uint64_t product_middle1 = lower; ++ uint64_t product_high = upper; ++ uint64_t product_middle = product_middle1 + product_middle2; ++ if (product_middle < product_middle1) { ++ product_high++; // overflow carry ++ } ++ // We want to check whether mantissa *i + i would affect our result. ++ // This does happen, e.g. with 7.3177701707893310e+15. ++ if (((product_middle + 1 == 0) && ((product_high & 0x1FF) == 0x1FF) && ++ (product_low + i < product_low))) { // let us be prudent and bail out. ++ *success = false; ++ return 0; ++ } ++ upper = product_high; ++ lower = product_middle; ++ } ++ // The final mantissa should be 53 bits with a leading 1. ++ // We shift it so that it occupies 54 bits with a leading 1. ++ /////// ++ uint64_t upperbit = upper >> 63; ++ uint64_t mantissa = upper >> (upperbit + 9); ++ lz += 1 ^ upperbit; ++ ++ // Here we have mantissa < (1<<54). ++ ++ // We have to round to even. The "to even" part ++ // is only a problem when we are right in between two floats ++ // which we guard against. ++ // If we have lots of trailing zeros, we may fall right between two ++ // floating-point values. ++ if (unlikely((lower == 0) && ((upper & 0x1FF) == 0) && ++ ((mantissa & 3) == 1))) { ++ // if mantissa & 1 == 1 we might need to round up. ++ // ++ // Scenarios: ++ // 1. We are not in the middle. Then we should round up. ++ // ++ // 2. We are right in the middle. Whether we round up depends ++ // on the last significant bit: if it is "one" then we round ++ // up (round to even) otherwise, we do not. ++ // ++ // So if the last significant bit is 1, we can safely round up. ++ // Hence we only need to bail out if (mantissa & 3) == 1. ++ // Otherwise we may need more accuracy or analysis to determine whether ++ // we are exactly between two floating-point numbers. ++ // It can be triggered with 1e23. ++ // Note: because the factor_mantissa and factor_mantissa_low are ++ // almost always rounded down (except for small positive powers), ++ // almost always should round up. ++ *success = false; ++ return 0; ++ } ++ ++ mantissa += mantissa & 1; ++ mantissa >>= 1; ++ ++ // Here we have mantissa < (1<<53), unless there was an overflow ++ if (mantissa >= (1ULL << 53)) { ++ ////////// ++ // This will happen when parsing values such as 7.2057594037927933e+16 ++ //////// ++ mantissa = (1ULL << 52); ++ lz--; // undo previous addition ++ } ++ mantissa &= ~(1ULL << 52); ++ uint64_t real_exponent = c.exp - lz; ++ // we have to check that real_exponent is in range, otherwise we bail out ++ if (unlikely((real_exponent < 1) || (real_exponent > 2046))) { ++ *success = false; ++ return 0; ++ } ++ mantissa |= real_exponent << 52; ++ mantissa |= (((uint64_t)negative) << 63); ++ double d; ++ memcpy(&d, &mantissa, sizeof(d)); ++ *success = true; ++ return d; ++} ++ ++static bool parse_float_strtod(const char *ptr, double *outDouble) { ++ char *endptr; ++ *outDouble = strtod(ptr, &endptr); ++ // Some libraries will set errno = ERANGE when the value is subnormal, ++ // yet we may want to be able to parse subnormal values. ++ // However, we do not want to tolerate NAN or infinite values. ++ // ++ // Values like infinity or NaN are not allowed in the JSON specification. ++ // If you consume a large value and you map it to "infinity", you will no ++ // longer be able to serialize back a standard-compliant JSON. And there is ++ // no realistic application where you might need values so large than they ++ // can't fit in binary64. The maximal value is about 1.7976931348623157 × ++ // 10^308 It is an unimaginable large number. There will never be any piece of ++ // engineering involving as many as 10^308 parts. It is estimated that there ++ // are about 10^80 atoms in the universe.  The estimate for the total number ++ // of electrons is similar. Using a double-precision floating-point value, we ++ // can represent easily the number of atoms in the universe. We could also ++ // represent the number of ways you can pick any three individual atoms at ++ // random in the universe. If you ever encounter a number much larger than ++ // 10^308, you know that you have a bug. RapidJSON will reject a document with ++ // a float that does not fit in binary64. JSON for Modern C++ (nlohmann/json) ++ // will flat out throw an exception. ++ // ++ if ((endptr == ptr) || (!std::isfinite(*outDouble))) { ++ return false; ++ } ++ return true; ++} + + really_inline bool is_integer(char c) { + return (c >= '0' && c <= '9'); +@@ -5950,7 +6956,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +@@ -5988,162 +6994,6 @@ really_inline bool is_made_of_eight_digits_fast(const char *chars) { + 0x3333333333333333); + } + +- +-// +-// This function computes base * 10 ^ (- negative_exponent ). +-// It is only even going to be used when negative_exponent is tiny. +-really_inline double subnormal_power10(double base, int64_t negative_exponent) { +- // avoid integer overflows in the pow expression, those values would +- // become zero anyway. +- if(negative_exponent < -1000) { +- return 0; +- } +- +- // this is probably not going to be fast +- return base * 1e-308 * pow(10, negative_exponent + 308); +-} +- +-// called by parse_number when we know that the output is a float, +-// but where there might be some integer overflow. The trick here is to +-// parse using floats from the start. +-// Do not call this function directly as it skips some of the checks from +-// parse_number +-// +-// This function will almost never be called!!! +-// +-// Note: a redesign could avoid this function entirely. +-// +-never_inline bool parse_float(const uint8_t *const buf, document::parser &parser, +- const uint32_t offset, bool found_minus) { +- const char *p = reinterpret_cast(buf + offset); +- bool negative = false; +- if (found_minus) { +- ++p; +- negative = true; +- } +- long double i; +- if (*p == '0') { // 0 cannot be followed by an integer +- ++p; +- i = 0; +- } else { +- unsigned char digit = *p - '0'; +- i = digit; +- p++; +- while (is_integer(*p)) { +- digit = *p - '0'; +- i = 10 * i + digit; +- ++p; +- } +- } +- if ('.' == *p) { +- ++p; +- int fractional_weight = 308; +- if (is_integer(*p)) { +- unsigned char digit = *p - '0'; +- ++p; +- +- fractional_weight--; +- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight] +- : 0); +- } else { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- while (is_integer(*p)) { +- unsigned char digit = *p - '0'; +- ++p; +- fractional_weight--; +- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight] +- : 0); +- } +- } +- if (('e' == *p) || ('E' == *p)) { +- ++p; +- bool neg_exp = false; +- if ('-' == *p) { +- neg_exp = true; +- ++p; +- } else if ('+' == *p) { +- ++p; +- } +- if (!is_integer(*p)) { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- unsigned char digit = *p - '0'; +- int64_t exp_number = digit; // exponential part +- p++; +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- while (is_integer(*p)) { +- if (exp_number > 0x100000000) { // we need to check for overflows +-// we refuse to parse this +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (unlikely(exp_number > 308)) { +- // this path is unlikely +- if (neg_exp) { +- // We either have zero or a subnormal. +- // We expect this to be uncommon so we go through a slow path. +- i = subnormal_power10(i, -exp_number); +- } else { +-// We know for sure that we have a number that is too large, +-// we refuse to parse this +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- } else { +- int exponent = (neg_exp ? -exp_number : exp_number); +- // we have that exp_number is [0,308] so that +- // exponent is [-308,308] so that +- // 308 + exponent is in [0, 2 * 308] +- i *= power_of_ten[308 + exponent]; +- } +- } +- if (is_not_structural_or_whitespace(*p)) { +- return false; +- } +- // check that we can go from long double to double safely. +- if(i > std::numeric_limits::max()) { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- double d = negative ? -i : i; +- parser.on_number_double(d); +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_float(d, buf + offset); +-#endif +- return is_structural_or_whitespace(*p); +-} +- + // called by parse_number when we know that the output is an integer, + // but where there might be some integer overflow. + // we want to catch overflows! +@@ -6152,11 +7002,10 @@ never_inline bool parse_float(const uint8_t *const buf, document::parser &parser + // + // This function will almost never be called!!! + // +-never_inline bool parse_large_integer(const uint8_t *const buf, +- document::parser &parser, +- const uint32_t offset, +- bool found_minus) { +- const char *p = reinterpret_cast(buf + offset); ++never_inline bool parse_large_integer(const uint8_t *const src, ++ document::parser &parser, ++ bool found_minus) { ++ const char *p = reinterpret_cast(src); + + bool negative = false; + if (found_minus) { +@@ -6177,13 +7026,13 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + digit = *p - '0'; + if (mul_overflow(i, 10, &i)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } + if (add_overflow(i, digit, &i)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } +@@ -6192,40 +7041,40 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + } + if (negative) { + if (i > 0x8000000000000000) { +- // overflows! ++ // overflows! + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } else if (i == 0x8000000000000000) { + // In two's complement, we cannot represent 0x8000000000000000 +- // as a positive signed integer, but the negative version is ++ // as a positive signed integer, but the negative version is + // possible. + constexpr int64_t signed_answer = INT64_MIN; + parser.on_number_s64(signed_answer); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(signed_answer, buf + offset); ++ found_integer(signed_answer, src); + #endif + } else { + // we can negate safely + int64_t signed_answer = -static_cast(i); + parser.on_number_s64(signed_answer); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(signed_answer, buf + offset); ++ found_integer(signed_answer, src); + #endif + } + } else { + // we have a positive integer, the contract is that +- // we try to represent it as a signed integer and only ++ // we try to represent it as a signed integer and only + // fallback on unsigned integers if absolutely necessary. +- if(i < 0x8000000000000000) { ++ if (i < 0x8000000000000000) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(i, buf + offset); ++ found_integer(i, src); + #endif + parser.on_number_s64(i); + } else { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_unsigned_integer(i, buf + offset); ++ found_unsigned_integer(i, src); + #endif + parser.on_number_u64(i); + } +@@ -6233,7 +7082,22 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + return is_structural_or_whitespace(*p); + } + +-// parse the number at buf + offset ++bool slow_float_parsing(UNUSED const char * src, document::parser &parser) { ++ double d; ++ if (parse_float_strtod(src, &d)) { ++ parser.on_number_double(d); ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_float(d, (const uint8_t *)src); ++#endif ++ return true; ++ } ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_invalid_number((const uint8_t *)src); ++#endif ++ return false; ++} ++ ++// parse the number at src + // define JSON_TEST_NUMBERS for unit testing + // + // It is assumed that the number is followed by a structural ({,},],[) character +@@ -6241,24 +7105,23 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + // document is made of a single number), then it is necessary to copy the + // content and append a space before calling this function. + // +-// Our objective is accurate parsing (ULP of 0 or 1) at high speed. +-really_inline bool parse_number(UNUSED const uint8_t *const buf, +- UNUSED const uint32_t offset, ++// Our objective is accurate parsing (ULP of 0) at high speed. ++really_inline bool parse_number(UNUSED const uint8_t *const src, + UNUSED bool found_minus, + document::parser &parser) { + #ifdef SIMDJSON_SKIPNUMBERPARSING // for performance analysis, it is sometimes + // useful to skip parsing +- parser.on_number_s64(0); // always write zero ++ parser.on_number_s64(0); // always write zero + return true; // always succeeds + #else +- const char *p = reinterpret_cast(buf + offset); ++ const char *p = reinterpret_cast(src); + bool negative = false; + if (found_minus) { + ++p; + negative = true; + if (!is_integer(*p)) { // a negative sign must be followed by an integer + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -6270,7 +7133,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + ++p; + if (is_not_structural_or_whitespace_or_exponent_or_decimal(*p)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -6278,7 +7141,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + } else { + if (!(is_integer(*p))) { // must start with an integer + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -6313,7 +7176,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + // we will handle the overflow later + } else { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -6348,7 +7211,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + } + if (!is_integer(*p)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -6369,7 +7232,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + if (exp_number > 0x100000000) { // we need to check for overflows + // we refuse to parse this + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -6380,7 +7243,9 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + exponent += (neg_exp ? -exp_number : exp_number); + } + if (is_float) { +- uint64_t power_index = 308 + exponent; ++ // If we frequently had to deal with long strings of digits, ++ // we could extend our code by using a 128-bit integer instead ++ // of a 64-bit integer. However, this is uncommon in practice. + if (unlikely((digit_count >= 19))) { // this is uncommon + // It is possible that the integer had an overflow. + // We have to handle the case where we have 0.0000somenumber. +@@ -6394,31 +7259,47 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + // Ok, chances are good that we had an overflow! + // this is almost never going to get called!!! + // we start anew, going slowly!!! +- return parse_float(buf, parser, offset, found_minus); ++ // This will happen in the following examples: ++ // 10000000000000000000000000000000000000000000e+308 ++ // 3.1415926535897932384626433832795028841971693993751 ++ // ++ return slow_float_parsing((const char *) src, parser); + } + } +- if (unlikely((power_index > 2 * 308))) { // this is uncommon!!! ++ if (unlikely(exponent < FASTFLOAT_SMALLEST_POWER) || ++ (exponent > FASTFLOAT_LARGEST_POWER)) { // this is uncommon!!! + // this is almost never going to get called!!! + // we start anew, going slowly!!! +- return parse_float(buf, parser, offset, found_minus); ++ return slow_float_parsing((const char *) src, parser); + } +- double factor = power_of_ten[power_index]; +- factor = negative ? -factor : factor; +- double d = i * factor; +- parser.on_number_double(d); ++ bool success = true; ++ double d = compute_float_64(exponent, i, negative, &success); ++ if (!success) { ++ // we are almost never going to get here. ++ success = parse_float_strtod((const char *)src, &d); ++ } ++ if (success) { ++ parser.on_number_double(d); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_float(d, buf + offset); ++ found_float(d, src); + #endif ++ return true; ++ } else { ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_invalid_number(src); ++#endif ++ return false; ++ } + } else { + if (unlikely(digit_count >= 18)) { // this is uncommon!!! + // there is a good chance that we had an overflow, so we need + // need to recover: we parse the whole thing again. +- return parse_large_integer(buf, parser, offset, found_minus); ++ return parse_large_integer(src, parser, found_minus); + } + i = negative ? 0 - i : i; + parser.on_number_s64(i); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(i, buf + offset); ++ found_integer(i, src); + #endif + } + return is_structural_or_whitespace(*p); +@@ -6438,6 +7319,57 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + + namespace simdjson::arm64 { + ++/* begin file src/generic/atomparsing.h */ ++namespace atomparsing { ++ ++really_inline uint32_t string_to_uint32(const char* str) { return *reinterpret_cast(str); } ++ ++WARN_UNUSED ++really_inline bool str4ncmp(const uint8_t *src, const char* atom) { ++ uint32_t srcval; // we want to avoid unaligned 64-bit loads (undefined in C/C++) ++ static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING); ++ std::memcpy(&srcval, src, sizeof(uint32_t)); ++ return srcval ^ string_to_uint32(atom); ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_true_atom(const uint8_t *src) { ++ return (str4ncmp(src, "true") | is_not_structural_or_whitespace(src[4])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_true_atom(const uint8_t *src, size_t len) { ++ if (len > 4) { return is_valid_true_atom(src); } ++ else if (len == 4) { return !str4ncmp(src, "true"); } ++ else { return false; } ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_false_atom(const uint8_t *src) { ++ return (str4ncmp(src+1, "alse") | is_not_structural_or_whitespace(src[5])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_false_atom(const uint8_t *src, size_t len) { ++ if (len > 5) { return is_valid_false_atom(src); } ++ else if (len == 5) { return !str4ncmp(src+1, "alse"); } ++ else { return false; } ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_null_atom(const uint8_t *src) { ++ return (str4ncmp(src, "null") | is_not_structural_or_whitespace(src[4])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_null_atom(const uint8_t *src, size_t len) { ++ if (len > 4) { return is_valid_null_atom(src); } ++ else if (len == 4) { return !str4ncmp(src, "null"); } ++ else { return false; } ++} ++ ++} // namespace atomparsing ++/* end file src/generic/atomparsing.h */ + /* begin file src/generic/stage2_build_tape.h */ + // This file contains the common code every implementation uses for stage2 + // It is intended to be included multiple times and compiled multiple times +@@ -6488,28 +7420,25 @@ struct unified_machine_addresses { + #undef FAIL_IF + #define FAIL_IF(EXPR) { if (EXPR) { return addresses.error; } } + +-struct structural_parser { +- const uint8_t* const buf; +- const size_t len; +- document::parser &doc_parser; +- size_t i; // next structural index +- size_t idx; // location of the structural character in the input (buf) +- uint8_t c; // used to track the (structural) character we are looking at +- uint32_t depth = 0; // could have an arbitrary starting depth +- +- really_inline structural_parser( +- const uint8_t *_buf, +- size_t _len, +- document::parser &_doc_parser, +- uint32_t _i = 0 +- ) : buf{_buf}, len{_len}, doc_parser{_doc_parser}, i{_i} {} +- ++class structural_iterator { ++public: ++ really_inline structural_iterator(const uint8_t* _buf, size_t _len, const uint32_t *_structural_indexes, size_t next_structural_index) ++ : buf{_buf}, len{_len}, structural_indexes{_structural_indexes}, next_structural{next_structural_index} {} + really_inline char advance_char() { +- idx = doc_parser.structural_indexes[i++]; +- c = buf[idx]; ++ idx = structural_indexes[next_structural]; ++ next_structural++; ++ c = *current(); + return c; + } +- ++ really_inline char current_char() { ++ return c; ++ } ++ really_inline const uint8_t* current() { ++ return &buf[idx]; ++ } ++ really_inline size_t remaining_len() { ++ return len - idx; ++ } + template + really_inline bool with_space_terminated_copy(const F& f) { + /** +@@ -6535,6 +7464,36 @@ struct structural_parser { + free(copy); + return result; + } ++ really_inline bool past_end(uint32_t n_structural_indexes) { ++ return next_structural+1 > n_structural_indexes; ++ } ++ really_inline bool at_end(uint32_t n_structural_indexes) { ++ return next_structural+1 == n_structural_indexes; ++ } ++ really_inline size_t next_structural_index() { ++ return next_structural; ++ } ++ ++private: ++ const uint8_t* const buf; ++ const size_t len; ++ const uint32_t* const structural_indexes; ++ size_t next_structural; // next structural index ++ size_t idx; // location of the structural character in the input (buf) ++ uint8_t c; // used to track the (structural) character we are looking at ++}; ++ ++struct structural_parser { ++ structural_iterator structurals; ++ document::parser &doc_parser; ++ uint32_t depth; ++ ++ really_inline structural_parser( ++ const uint8_t *buf, ++ size_t len, ++ document::parser &_doc_parser, ++ uint32_t next_structural = 0 ++ ) : structurals(buf, len, _doc_parser.structural_indexes.get(), next_structural), doc_parser{_doc_parser}, depth{0} {} + + WARN_UNUSED really_inline bool start_document(ret_address continue_state) { + doc_parser.on_start_document(depth); +@@ -6575,32 +7534,32 @@ struct structural_parser { + + WARN_UNUSED really_inline bool parse_string() { + uint8_t *dst = doc_parser.on_start_string(); +- dst = stringparsing::parse_string(buf, idx, dst); ++ dst = stringparsing::parse_string(structurals.current(), dst); + if (dst == nullptr) { + return true; + } + return !doc_parser.on_end_string(dst); + } + +- WARN_UNUSED really_inline bool parse_number(const uint8_t *copy, uint32_t offset, bool found_minus) { +- return !numberparsing::parse_number(copy, offset, found_minus, doc_parser); ++ WARN_UNUSED really_inline bool parse_number(const uint8_t *src, bool found_minus) { ++ return !numberparsing::parse_number(src, found_minus, doc_parser); + } + WARN_UNUSED really_inline bool parse_number(bool found_minus) { +- return parse_number(buf, idx, found_minus); ++ return parse_number(structurals.current(), found_minus); + } + +- WARN_UNUSED really_inline bool parse_atom(const uint8_t *copy, uint32_t offset) { +- switch (c) { ++ WARN_UNUSED really_inline bool parse_atom() { ++ switch (structurals.current_char()) { + case 't': +- if (!is_valid_true_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_true_atom(structurals.current())) { return true; } + doc_parser.on_true_atom(); + break; + case 'f': +- if (!is_valid_false_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_false_atom(structurals.current())) { return true; } + doc_parser.on_false_atom(); + break; + case 'n': +- if (!is_valid_null_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_null_atom(structurals.current())) { return true; } + doc_parser.on_null_atom(); + break; + default: +@@ -6609,12 +7568,28 @@ struct structural_parser { + return false; + } + +- WARN_UNUSED really_inline bool parse_atom() { +- return parse_atom(buf, idx); ++ WARN_UNUSED really_inline bool parse_single_atom() { ++ switch (structurals.current_char()) { ++ case 't': ++ if (!atomparsing::is_valid_true_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_true_atom(); ++ break; ++ case 'f': ++ if (!atomparsing::is_valid_false_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_false_atom(); ++ break; ++ case 'n': ++ if (!atomparsing::is_valid_null_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_null_atom(); ++ break; ++ default: ++ return true; ++ } ++ return false; + } + + WARN_UNUSED really_inline ret_address parse_value(const unified_machine_addresses &addresses, ret_address continue_state) { +- switch (c) { ++ switch (structurals.current_char()) { + case '"': + FAIL_IF( parse_string() ); + return continue_state; +@@ -6641,7 +7616,7 @@ struct structural_parser { + + WARN_UNUSED really_inline error_code finish() { + // the string might not be NULL terminated. +- if ( i + 1 != doc_parser.n_structural_indexes ) { ++ if ( !structurals.at_end(doc_parser.n_structural_indexes) ) { + return doc_parser.on_error(TAPE_ERROR); + } + end_document(); +@@ -6669,7 +7644,7 @@ struct structural_parser { + if (depth >= doc_parser.max_depth()) { + return doc_parser.on_error(DEPTH_ERROR); + } +- switch (c) { ++ switch (structurals.current_char()) { + case '"': + return doc_parser.on_error(STRING_ERROR); + case '0': +@@ -6695,19 +7670,23 @@ struct structural_parser { + } + } + +- WARN_UNUSED really_inline error_code start(ret_address finish_state) { ++ WARN_UNUSED really_inline error_code start(size_t len, ret_address finish_state) { + doc_parser.init_stage2(); // sets is_valid to false + if (len > doc_parser.capacity()) { + return CAPACITY; + } + // Advance to the first character as soon as possible +- advance_char(); ++ structurals.advance_char(); + // Push the root scope (there is always at least one scope) + if (start_document(finish_state)) { + return doc_parser.on_error(DEPTH_ERROR); + } + return SUCCESS; + } ++ ++ really_inline char advance_char() { ++ return structurals.advance_char(); ++ } + }; + + // Redefine FAIL_IF to use goto since it'll be used inside the function now +@@ -6723,13 +7702,13 @@ struct structural_parser { + WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser) const noexcept { + static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES(); + stage2::structural_parser parser(buf, len, doc_parser); +- error_code result = parser.start(addresses.finish); ++ error_code result = parser.start(len, addresses.finish); + if (result) { return result; } + + // + // Read first value + // +- switch (parser.c) { ++ switch (parser.structurals.current_char()) { + case '{': + FAIL_IF( parser.start_object(addresses.finish) ); + goto object_begin; +@@ -6740,24 +7719,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + FAIL_IF( parser.parse_string() ); + goto finish; + case 't': case 'f': case 'n': +- FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_atom(copy, idx); +- }) +- ); ++ FAIL_IF( parser.parse_single_atom() ); + goto finish; + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, false); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], false); + }) + ); + goto finish; + case '-': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, true); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], true); + }) + ); + goto finish; +@@ -6769,8 +7744,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + // Object parser states + // + object_begin: +- parser.advance_char(); +- switch (parser.c) { ++ switch (parser.advance_char()) { + case '"': { + FAIL_IF( parser.parse_string() ); + goto object_key_state; +@@ -6851,7 +7825,7 @@ struct streaming_structural_parser: structural_parser { + really_inline streaming_structural_parser(const uint8_t *_buf, size_t _len, document::parser &_doc_parser, size_t _i) : structural_parser(_buf, _len, _doc_parser, _i) {} + + // override to add streaming +- WARN_UNUSED really_inline error_code start(ret_address finish_parser) { ++ WARN_UNUSED really_inline error_code start(UNUSED size_t len, ret_address finish_parser) { + doc_parser.init_stage2(); // sets is_valid to false + // Capacity ain't no thang for streaming, so we don't check it. + // Advance to the first character as soon as possible +@@ -6865,7 +7839,7 @@ struct streaming_structural_parser: structural_parser { + + // override to add streaming + WARN_UNUSED really_inline error_code finish() { +- if ( i + 1 > doc_parser.n_structural_indexes ) { ++ if ( structurals.past_end(doc_parser.n_structural_indexes) ) { + return doc_parser.on_error(TAPE_ERROR); + } + end_document(); +@@ -6875,7 +7849,7 @@ struct streaming_structural_parser: structural_parser { + if (doc_parser.containing_scope_offset[depth] != 0) { + return doc_parser.on_error(TAPE_ERROR); + } +- bool finished = i + 1 == doc_parser.n_structural_indexes; ++ bool finished = structurals.at_end(doc_parser.n_structural_indexes); + return doc_parser.on_success(finished ? SUCCESS : SUCCESS_AND_HAS_MORE); + } + }; +@@ -6889,12 +7863,12 @@ struct streaming_structural_parser: structural_parser { + WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser, size_t &next_json) const noexcept { + static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES(); + stage2::streaming_structural_parser parser(buf, len, doc_parser, next_json); +- error_code result = parser.start(addresses.finish); ++ error_code result = parser.start(len, addresses.finish); + if (result) { return result; } + // + // Read first value + // +- switch (parser.c) { ++ switch (parser.structurals.current_char()) { + case '{': + FAIL_IF( parser.start_object(addresses.finish) ); + goto object_begin; +@@ -6905,24 +7879,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + FAIL_IF( parser.parse_string() ); + goto finish; + case 't': case 'f': case 'n': +- FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_atom(copy, idx); +- }) +- ); ++ FAIL_IF( parser.parse_single_atom() ); + goto finish; + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, false); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], false); + }) + ); + goto finish; + case '-': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, true); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], true); + }) + ); + goto finish; +@@ -6934,8 +7904,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + // Object parser parsers + // + object_begin: +- parser.advance_char(); +- switch (parser.c) { ++ switch (parser.advance_char()) { + case '"': { + FAIL_IF( parser.parse_string() ); + goto object_key_parser; +@@ -6995,7 +7964,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + } + + finish: +- next_json = parser.i; ++ next_json = parser.structurals.next_structural_index(); + return parser.finish(); + + error: +@@ -7128,10 +8097,9 @@ really_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + return offset > 0; + } + +-WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *buf, +- uint32_t offset, ++WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *src, + uint8_t *dst) { +- const uint8_t *src = &buf[offset + 1]; /* we know that buf at offset is a " */ ++ src++; + while (1) { + parse_string_helper helper = find_bs_bits_and_quote_bits(src, dst); + if (((helper.bs_bits - 1) & helper.quote_bits) != 0) { +@@ -7235,81 +8203,209 @@ static inline uint32_t parse_eight_digits_unrolled(const char *chars) { + /* begin file src/generic/numberparsing.h */ + namespace numberparsing { + +-// Allowable floating-point values range +-// std::numeric_limits::lowest() to std::numeric_limits::max(), +-// so from -1.7976e308 all the way to 1.7975e308 in binary64. The lowest +-// non-zero normal values is std::numeric_limits::min() or +-// about 2.225074e-308. +-static const double power_of_ten[] = { +- 1e-308, 1e-307, 1e-306, 1e-305, 1e-304, 1e-303, 1e-302, 1e-301, 1e-300, +- 1e-299, 1e-298, 1e-297, 1e-296, 1e-295, 1e-294, 1e-293, 1e-292, 1e-291, +- 1e-290, 1e-289, 1e-288, 1e-287, 1e-286, 1e-285, 1e-284, 1e-283, 1e-282, +- 1e-281, 1e-280, 1e-279, 1e-278, 1e-277, 1e-276, 1e-275, 1e-274, 1e-273, +- 1e-272, 1e-271, 1e-270, 1e-269, 1e-268, 1e-267, 1e-266, 1e-265, 1e-264, +- 1e-263, 1e-262, 1e-261, 1e-260, 1e-259, 1e-258, 1e-257, 1e-256, 1e-255, +- 1e-254, 1e-253, 1e-252, 1e-251, 1e-250, 1e-249, 1e-248, 1e-247, 1e-246, +- 1e-245, 1e-244, 1e-243, 1e-242, 1e-241, 1e-240, 1e-239, 1e-238, 1e-237, +- 1e-236, 1e-235, 1e-234, 1e-233, 1e-232, 1e-231, 1e-230, 1e-229, 1e-228, +- 1e-227, 1e-226, 1e-225, 1e-224, 1e-223, 1e-222, 1e-221, 1e-220, 1e-219, +- 1e-218, 1e-217, 1e-216, 1e-215, 1e-214, 1e-213, 1e-212, 1e-211, 1e-210, +- 1e-209, 1e-208, 1e-207, 1e-206, 1e-205, 1e-204, 1e-203, 1e-202, 1e-201, +- 1e-200, 1e-199, 1e-198, 1e-197, 1e-196, 1e-195, 1e-194, 1e-193, 1e-192, +- 1e-191, 1e-190, 1e-189, 1e-188, 1e-187, 1e-186, 1e-185, 1e-184, 1e-183, +- 1e-182, 1e-181, 1e-180, 1e-179, 1e-178, 1e-177, 1e-176, 1e-175, 1e-174, +- 1e-173, 1e-172, 1e-171, 1e-170, 1e-169, 1e-168, 1e-167, 1e-166, 1e-165, +- 1e-164, 1e-163, 1e-162, 1e-161, 1e-160, 1e-159, 1e-158, 1e-157, 1e-156, +- 1e-155, 1e-154, 1e-153, 1e-152, 1e-151, 1e-150, 1e-149, 1e-148, 1e-147, +- 1e-146, 1e-145, 1e-144, 1e-143, 1e-142, 1e-141, 1e-140, 1e-139, 1e-138, +- 1e-137, 1e-136, 1e-135, 1e-134, 1e-133, 1e-132, 1e-131, 1e-130, 1e-129, +- 1e-128, 1e-127, 1e-126, 1e-125, 1e-124, 1e-123, 1e-122, 1e-121, 1e-120, +- 1e-119, 1e-118, 1e-117, 1e-116, 1e-115, 1e-114, 1e-113, 1e-112, 1e-111, +- 1e-110, 1e-109, 1e-108, 1e-107, 1e-106, 1e-105, 1e-104, 1e-103, 1e-102, +- 1e-101, 1e-100, 1e-99, 1e-98, 1e-97, 1e-96, 1e-95, 1e-94, 1e-93, +- 1e-92, 1e-91, 1e-90, 1e-89, 1e-88, 1e-87, 1e-86, 1e-85, 1e-84, +- 1e-83, 1e-82, 1e-81, 1e-80, 1e-79, 1e-78, 1e-77, 1e-76, 1e-75, +- 1e-74, 1e-73, 1e-72, 1e-71, 1e-70, 1e-69, 1e-68, 1e-67, 1e-66, +- 1e-65, 1e-64, 1e-63, 1e-62, 1e-61, 1e-60, 1e-59, 1e-58, 1e-57, +- 1e-56, 1e-55, 1e-54, 1e-53, 1e-52, 1e-51, 1e-50, 1e-49, 1e-48, +- 1e-47, 1e-46, 1e-45, 1e-44, 1e-43, 1e-42, 1e-41, 1e-40, 1e-39, +- 1e-38, 1e-37, 1e-36, 1e-35, 1e-34, 1e-33, 1e-32, 1e-31, 1e-30, +- 1e-29, 1e-28, 1e-27, 1e-26, 1e-25, 1e-24, 1e-23, 1e-22, 1e-21, +- 1e-20, 1e-19, 1e-18, 1e-17, 1e-16, 1e-15, 1e-14, 1e-13, 1e-12, +- 1e-11, 1e-10, 1e-9, 1e-8, 1e-7, 1e-6, 1e-5, 1e-4, 1e-3, +- 1e-2, 1e-1, 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, +- 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, +- 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24, +- 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, 1e32, 1e33, +- 1e34, 1e35, 1e36, 1e37, 1e38, 1e39, 1e40, 1e41, 1e42, +- 1e43, 1e44, 1e45, 1e46, 1e47, 1e48, 1e49, 1e50, 1e51, +- 1e52, 1e53, 1e54, 1e55, 1e56, 1e57, 1e58, 1e59, 1e60, +- 1e61, 1e62, 1e63, 1e64, 1e65, 1e66, 1e67, 1e68, 1e69, +- 1e70, 1e71, 1e72, 1e73, 1e74, 1e75, 1e76, 1e77, 1e78, +- 1e79, 1e80, 1e81, 1e82, 1e83, 1e84, 1e85, 1e86, 1e87, +- 1e88, 1e89, 1e90, 1e91, 1e92, 1e93, 1e94, 1e95, 1e96, +- 1e97, 1e98, 1e99, 1e100, 1e101, 1e102, 1e103, 1e104, 1e105, +- 1e106, 1e107, 1e108, 1e109, 1e110, 1e111, 1e112, 1e113, 1e114, +- 1e115, 1e116, 1e117, 1e118, 1e119, 1e120, 1e121, 1e122, 1e123, +- 1e124, 1e125, 1e126, 1e127, 1e128, 1e129, 1e130, 1e131, 1e132, +- 1e133, 1e134, 1e135, 1e136, 1e137, 1e138, 1e139, 1e140, 1e141, +- 1e142, 1e143, 1e144, 1e145, 1e146, 1e147, 1e148, 1e149, 1e150, +- 1e151, 1e152, 1e153, 1e154, 1e155, 1e156, 1e157, 1e158, 1e159, +- 1e160, 1e161, 1e162, 1e163, 1e164, 1e165, 1e166, 1e167, 1e168, +- 1e169, 1e170, 1e171, 1e172, 1e173, 1e174, 1e175, 1e176, 1e177, +- 1e178, 1e179, 1e180, 1e181, 1e182, 1e183, 1e184, 1e185, 1e186, +- 1e187, 1e188, 1e189, 1e190, 1e191, 1e192, 1e193, 1e194, 1e195, +- 1e196, 1e197, 1e198, 1e199, 1e200, 1e201, 1e202, 1e203, 1e204, +- 1e205, 1e206, 1e207, 1e208, 1e209, 1e210, 1e211, 1e212, 1e213, +- 1e214, 1e215, 1e216, 1e217, 1e218, 1e219, 1e220, 1e221, 1e222, +- 1e223, 1e224, 1e225, 1e226, 1e227, 1e228, 1e229, 1e230, 1e231, +- 1e232, 1e233, 1e234, 1e235, 1e236, 1e237, 1e238, 1e239, 1e240, +- 1e241, 1e242, 1e243, 1e244, 1e245, 1e246, 1e247, 1e248, 1e249, +- 1e250, 1e251, 1e252, 1e253, 1e254, 1e255, 1e256, 1e257, 1e258, +- 1e259, 1e260, 1e261, 1e262, 1e263, 1e264, 1e265, 1e266, 1e267, +- 1e268, 1e269, 1e270, 1e271, 1e272, 1e273, 1e274, 1e275, 1e276, +- 1e277, 1e278, 1e279, 1e280, 1e281, 1e282, 1e283, 1e284, 1e285, +- 1e286, 1e287, 1e288, 1e289, 1e290, 1e291, 1e292, 1e293, 1e294, +- 1e295, 1e296, 1e297, 1e298, 1e299, 1e300, 1e301, 1e302, 1e303, +- 1e304, 1e305, 1e306, 1e307, 1e308}; ++ ++// Attempts to compute i * 10^(power) exactly; and if "negative" is ++// true, negate the result. ++// This function will only work in some cases, when it does not work, success is ++// set to false. This should work *most of the time* (like 99% of the time). ++// We assume that power is in the [FASTFLOAT_SMALLEST_POWER, ++// FASTFLOAT_LARGEST_POWER] interval: the caller is responsible for this check. ++really_inline double compute_float_64(int64_t power, uint64_t i, bool negative, ++ bool *success) { ++ // we start with a fast path ++ if (-22 <= power && power <= 22 && i <= 9007199254740991) { ++ // convert the integer into a double. This is lossless since ++ // 0 <= i <= 2^53 - 1. ++ double d = i; ++ // ++ // The general idea is as follows. ++ // If 0 <= s < 2^53 and if 10^0 <= p <= 10^22 then ++ // 1) Both s and p can be represented exactly as 64-bit floating-point ++ // values ++ // (binary64). ++ // 2) Because s and p can be represented exactly as floating-point values, ++ // then s * p ++ // and s / p will produce correctly rounded values. ++ // ++ if (power < 0) { ++ d = d / power_of_ten[-power]; ++ } else { ++ d = d * power_of_ten[power]; ++ } ++ if (negative) { ++ d = -d; ++ } ++ *success = true; ++ return d; ++ } ++ ++ // When 22 < power && power < 22 + 16, we could ++ // hope for another, secondary fast path. If ++ // you need to compute i * 10^(22 + x) for x < 16, ++ // first compute i * 10^x, if you know that result is exact ++ // (e.g., when i * 10^x < 2^53), ++ // then you can still proceed and do (i * 10^x) * 10^22. ++ // Is this worth your time? ++ // You need 22 < power *and* power < 22 + 16 *and* (i * 10^(x-22) < 2^53) ++ // for this second fast path to work. ++ // If you you have 22 < power *and* power < 22 + 16, and then you ++ // optimistically compute "i * 10^(x-22)", there is still a chance that you ++ // have wasted your time if i * 10^(x-22) >= 2^53. It makes the use cases of ++ // this optimization maybe less common than we would like. Source: ++ // http://www.exploringbinary.com/fast-path-decimal-to-floating-point-conversion/ ++ // also used in RapidJSON: https://rapidjson.org/strtod_8h_source.html ++ ++ // The fast path has now failed, so we are failing back on the slower path. ++ ++ // In the slow path, we need to adjust i so that it is > 1<<63 which is always ++ // possible, except if i == 0, so we handle i == 0 separately. ++ if(i == 0) { ++ return 0.0; ++ } ++ ++ // We are going to need to do some 64-bit arithmetic to get a more precise product. ++ // We use a table lookup approach. ++ components c = ++ power_of_ten_components[power - FASTFLOAT_SMALLEST_POWER]; // safe because ++ // power_index ++ // <= 2*308 ++ // we recover the mantissa of the power, it has a leading 1. It is always ++ // rounded down. ++ uint64_t factor_mantissa = c.mantissa; ++ ++ // We want the most significant bit of i to be 1. Shift if needed. ++ int lz = leading_zeroes(i); ++ i <<= lz; ++ // We want the most significant 64 bits of the product. We know ++ // this will be non-zero because the most significant bit of i is ++ // 1. ++ value128 product = full_multiplication(i, factor_mantissa); ++ uint64_t lower = product.low; ++ uint64_t upper = product.high; ++ ++ // We know that upper has at most one leading zero because ++ // both i and factor_mantissa have a leading one. This means ++ // that the result is at least as large as ((1<<63)*(1<<63))/(1<<64). ++ ++ // As long as the first 9 bits of "upper" are not "1", then we ++ // know that we have an exact computed value for the leading ++ // 55 bits because any imprecision would play out as a +1, in ++ // the worst case. ++ if (unlikely((upper & 0x1FF) == 0x1FF) && (lower + i < lower)) { ++ uint64_t factor_mantissa_low = ++ mantissa_128[power - FASTFLOAT_SMALLEST_POWER]; ++ // next, we compute the 64-bit x 128-bit multiplication, getting a 192-bit ++ // result (three 64-bit values) ++ product = full_multiplication(i, factor_mantissa_low); ++ uint64_t product_low = product.low; ++ uint64_t product_middle2 = product.high; ++ uint64_t product_middle1 = lower; ++ uint64_t product_high = upper; ++ uint64_t product_middle = product_middle1 + product_middle2; ++ if (product_middle < product_middle1) { ++ product_high++; // overflow carry ++ } ++ // We want to check whether mantissa *i + i would affect our result. ++ // This does happen, e.g. with 7.3177701707893310e+15. ++ if (((product_middle + 1 == 0) && ((product_high & 0x1FF) == 0x1FF) && ++ (product_low + i < product_low))) { // let us be prudent and bail out. ++ *success = false; ++ return 0; ++ } ++ upper = product_high; ++ lower = product_middle; ++ } ++ // The final mantissa should be 53 bits with a leading 1. ++ // We shift it so that it occupies 54 bits with a leading 1. ++ /////// ++ uint64_t upperbit = upper >> 63; ++ uint64_t mantissa = upper >> (upperbit + 9); ++ lz += 1 ^ upperbit; ++ ++ // Here we have mantissa < (1<<54). ++ ++ // We have to round to even. The "to even" part ++ // is only a problem when we are right in between two floats ++ // which we guard against. ++ // If we have lots of trailing zeros, we may fall right between two ++ // floating-point values. ++ if (unlikely((lower == 0) && ((upper & 0x1FF) == 0) && ++ ((mantissa & 3) == 1))) { ++ // if mantissa & 1 == 1 we might need to round up. ++ // ++ // Scenarios: ++ // 1. We are not in the middle. Then we should round up. ++ // ++ // 2. We are right in the middle. Whether we round up depends ++ // on the last significant bit: if it is "one" then we round ++ // up (round to even) otherwise, we do not. ++ // ++ // So if the last significant bit is 1, we can safely round up. ++ // Hence we only need to bail out if (mantissa & 3) == 1. ++ // Otherwise we may need more accuracy or analysis to determine whether ++ // we are exactly between two floating-point numbers. ++ // It can be triggered with 1e23. ++ // Note: because the factor_mantissa and factor_mantissa_low are ++ // almost always rounded down (except for small positive powers), ++ // almost always should round up. ++ *success = false; ++ return 0; ++ } ++ ++ mantissa += mantissa & 1; ++ mantissa >>= 1; ++ ++ // Here we have mantissa < (1<<53), unless there was an overflow ++ if (mantissa >= (1ULL << 53)) { ++ ////////// ++ // This will happen when parsing values such as 7.2057594037927933e+16 ++ //////// ++ mantissa = (1ULL << 52); ++ lz--; // undo previous addition ++ } ++ mantissa &= ~(1ULL << 52); ++ uint64_t real_exponent = c.exp - lz; ++ // we have to check that real_exponent is in range, otherwise we bail out ++ if (unlikely((real_exponent < 1) || (real_exponent > 2046))) { ++ *success = false; ++ return 0; ++ } ++ mantissa |= real_exponent << 52; ++ mantissa |= (((uint64_t)negative) << 63); ++ double d; ++ memcpy(&d, &mantissa, sizeof(d)); ++ *success = true; ++ return d; ++} ++ ++static bool parse_float_strtod(const char *ptr, double *outDouble) { ++ char *endptr; ++ *outDouble = strtod(ptr, &endptr); ++ // Some libraries will set errno = ERANGE when the value is subnormal, ++ // yet we may want to be able to parse subnormal values. ++ // However, we do not want to tolerate NAN or infinite values. ++ // ++ // Values like infinity or NaN are not allowed in the JSON specification. ++ // If you consume a large value and you map it to "infinity", you will no ++ // longer be able to serialize back a standard-compliant JSON. And there is ++ // no realistic application where you might need values so large than they ++ // can't fit in binary64. The maximal value is about 1.7976931348623157 × ++ // 10^308 It is an unimaginable large number. There will never be any piece of ++ // engineering involving as many as 10^308 parts. It is estimated that there ++ // are about 10^80 atoms in the universe.  The estimate for the total number ++ // of electrons is similar. Using a double-precision floating-point value, we ++ // can represent easily the number of atoms in the universe. We could also ++ // represent the number of ways you can pick any three individual atoms at ++ // random in the universe. If you ever encounter a number much larger than ++ // 10^308, you know that you have a bug. RapidJSON will reject a document with ++ // a float that does not fit in binary64. JSON for Modern C++ (nlohmann/json) ++ // will flat out throw an exception. ++ // ++ if ((endptr == ptr) || (!std::isfinite(*outDouble))) { ++ return false; ++ } ++ return true; ++} + + really_inline bool is_integer(char c) { + return (c >= '0' && c <= '9'); +@@ -7317,7 +8413,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +@@ -7355,162 +8451,6 @@ really_inline bool is_made_of_eight_digits_fast(const char *chars) { + 0x3333333333333333); + } + +- +-// +-// This function computes base * 10 ^ (- negative_exponent ). +-// It is only even going to be used when negative_exponent is tiny. +-really_inline double subnormal_power10(double base, int64_t negative_exponent) { +- // avoid integer overflows in the pow expression, those values would +- // become zero anyway. +- if(negative_exponent < -1000) { +- return 0; +- } +- +- // this is probably not going to be fast +- return base * 1e-308 * pow(10, negative_exponent + 308); +-} +- +-// called by parse_number when we know that the output is a float, +-// but where there might be some integer overflow. The trick here is to +-// parse using floats from the start. +-// Do not call this function directly as it skips some of the checks from +-// parse_number +-// +-// This function will almost never be called!!! +-// +-// Note: a redesign could avoid this function entirely. +-// +-never_inline bool parse_float(const uint8_t *const buf, document::parser &parser, +- const uint32_t offset, bool found_minus) { +- const char *p = reinterpret_cast(buf + offset); +- bool negative = false; +- if (found_minus) { +- ++p; +- negative = true; +- } +- long double i; +- if (*p == '0') { // 0 cannot be followed by an integer +- ++p; +- i = 0; +- } else { +- unsigned char digit = *p - '0'; +- i = digit; +- p++; +- while (is_integer(*p)) { +- digit = *p - '0'; +- i = 10 * i + digit; +- ++p; +- } +- } +- if ('.' == *p) { +- ++p; +- int fractional_weight = 308; +- if (is_integer(*p)) { +- unsigned char digit = *p - '0'; +- ++p; +- +- fractional_weight--; +- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight] +- : 0); +- } else { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- while (is_integer(*p)) { +- unsigned char digit = *p - '0'; +- ++p; +- fractional_weight--; +- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight] +- : 0); +- } +- } +- if (('e' == *p) || ('E' == *p)) { +- ++p; +- bool neg_exp = false; +- if ('-' == *p) { +- neg_exp = true; +- ++p; +- } else if ('+' == *p) { +- ++p; +- } +- if (!is_integer(*p)) { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- unsigned char digit = *p - '0'; +- int64_t exp_number = digit; // exponential part +- p++; +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- while (is_integer(*p)) { +- if (exp_number > 0x100000000) { // we need to check for overflows +-// we refuse to parse this +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (unlikely(exp_number > 308)) { +- // this path is unlikely +- if (neg_exp) { +- // We either have zero or a subnormal. +- // We expect this to be uncommon so we go through a slow path. +- i = subnormal_power10(i, -exp_number); +- } else { +-// We know for sure that we have a number that is too large, +-// we refuse to parse this +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- } else { +- int exponent = (neg_exp ? -exp_number : exp_number); +- // we have that exp_number is [0,308] so that +- // exponent is [-308,308] so that +- // 308 + exponent is in [0, 2 * 308] +- i *= power_of_ten[308 + exponent]; +- } +- } +- if (is_not_structural_or_whitespace(*p)) { +- return false; +- } +- // check that we can go from long double to double safely. +- if(i > std::numeric_limits::max()) { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- double d = negative ? -i : i; +- parser.on_number_double(d); +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_float(d, buf + offset); +-#endif +- return is_structural_or_whitespace(*p); +-} +- + // called by parse_number when we know that the output is an integer, + // but where there might be some integer overflow. + // we want to catch overflows! +@@ -7519,11 +8459,10 @@ never_inline bool parse_float(const uint8_t *const buf, document::parser &parser + // + // This function will almost never be called!!! + // +-never_inline bool parse_large_integer(const uint8_t *const buf, +- document::parser &parser, +- const uint32_t offset, +- bool found_minus) { +- const char *p = reinterpret_cast(buf + offset); ++never_inline bool parse_large_integer(const uint8_t *const src, ++ document::parser &parser, ++ bool found_minus) { ++ const char *p = reinterpret_cast(src); + + bool negative = false; + if (found_minus) { +@@ -7544,13 +8483,13 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + digit = *p - '0'; + if (mul_overflow(i, 10, &i)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } + if (add_overflow(i, digit, &i)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } +@@ -7559,40 +8498,40 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + } + if (negative) { + if (i > 0x8000000000000000) { +- // overflows! ++ // overflows! + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } else if (i == 0x8000000000000000) { + // In two's complement, we cannot represent 0x8000000000000000 +- // as a positive signed integer, but the negative version is ++ // as a positive signed integer, but the negative version is + // possible. + constexpr int64_t signed_answer = INT64_MIN; + parser.on_number_s64(signed_answer); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(signed_answer, buf + offset); ++ found_integer(signed_answer, src); + #endif + } else { + // we can negate safely + int64_t signed_answer = -static_cast(i); + parser.on_number_s64(signed_answer); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(signed_answer, buf + offset); ++ found_integer(signed_answer, src); + #endif + } + } else { + // we have a positive integer, the contract is that +- // we try to represent it as a signed integer and only ++ // we try to represent it as a signed integer and only + // fallback on unsigned integers if absolutely necessary. +- if(i < 0x8000000000000000) { ++ if (i < 0x8000000000000000) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(i, buf + offset); ++ found_integer(i, src); + #endif + parser.on_number_s64(i); + } else { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_unsigned_integer(i, buf + offset); ++ found_unsigned_integer(i, src); + #endif + parser.on_number_u64(i); + } +@@ -7600,7 +8539,22 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + return is_structural_or_whitespace(*p); + } + +-// parse the number at buf + offset ++bool slow_float_parsing(UNUSED const char * src, document::parser &parser) { ++ double d; ++ if (parse_float_strtod(src, &d)) { ++ parser.on_number_double(d); ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_float(d, (const uint8_t *)src); ++#endif ++ return true; ++ } ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_invalid_number((const uint8_t *)src); ++#endif ++ return false; ++} ++ ++// parse the number at src + // define JSON_TEST_NUMBERS for unit testing + // + // It is assumed that the number is followed by a structural ({,},],[) character +@@ -7608,24 +8562,23 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + // document is made of a single number), then it is necessary to copy the + // content and append a space before calling this function. + // +-// Our objective is accurate parsing (ULP of 0 or 1) at high speed. +-really_inline bool parse_number(UNUSED const uint8_t *const buf, +- UNUSED const uint32_t offset, ++// Our objective is accurate parsing (ULP of 0) at high speed. ++really_inline bool parse_number(UNUSED const uint8_t *const src, + UNUSED bool found_minus, + document::parser &parser) { + #ifdef SIMDJSON_SKIPNUMBERPARSING // for performance analysis, it is sometimes + // useful to skip parsing +- parser.on_number_s64(0); // always write zero ++ parser.on_number_s64(0); // always write zero + return true; // always succeeds + #else +- const char *p = reinterpret_cast(buf + offset); ++ const char *p = reinterpret_cast(src); + bool negative = false; + if (found_minus) { + ++p; + negative = true; + if (!is_integer(*p)) { // a negative sign must be followed by an integer + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -7637,7 +8590,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + ++p; + if (is_not_structural_or_whitespace_or_exponent_or_decimal(*p)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -7645,7 +8598,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + } else { + if (!(is_integer(*p))) { // must start with an integer + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -7680,7 +8633,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + // we will handle the overflow later + } else { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -7715,7 +8668,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + } + if (!is_integer(*p)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -7736,7 +8689,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + if (exp_number > 0x100000000) { // we need to check for overflows + // we refuse to parse this + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -7747,7 +8700,9 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + exponent += (neg_exp ? -exp_number : exp_number); + } + if (is_float) { +- uint64_t power_index = 308 + exponent; ++ // If we frequently had to deal with long strings of digits, ++ // we could extend our code by using a 128-bit integer instead ++ // of a 64-bit integer. However, this is uncommon in practice. + if (unlikely((digit_count >= 19))) { // this is uncommon + // It is possible that the integer had an overflow. + // We have to handle the case where we have 0.0000somenumber. +@@ -7761,31 +8716,47 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + // Ok, chances are good that we had an overflow! + // this is almost never going to get called!!! + // we start anew, going slowly!!! +- return parse_float(buf, parser, offset, found_minus); ++ // This will happen in the following examples: ++ // 10000000000000000000000000000000000000000000e+308 ++ // 3.1415926535897932384626433832795028841971693993751 ++ // ++ return slow_float_parsing((const char *) src, parser); + } + } +- if (unlikely((power_index > 2 * 308))) { // this is uncommon!!! ++ if (unlikely(exponent < FASTFLOAT_SMALLEST_POWER) || ++ (exponent > FASTFLOAT_LARGEST_POWER)) { // this is uncommon!!! + // this is almost never going to get called!!! + // we start anew, going slowly!!! +- return parse_float(buf, parser, offset, found_minus); ++ return slow_float_parsing((const char *) src, parser); + } +- double factor = power_of_ten[power_index]; +- factor = negative ? -factor : factor; +- double d = i * factor; +- parser.on_number_double(d); ++ bool success = true; ++ double d = compute_float_64(exponent, i, negative, &success); ++ if (!success) { ++ // we are almost never going to get here. ++ success = parse_float_strtod((const char *)src, &d); ++ } ++ if (success) { ++ parser.on_number_double(d); ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_float(d, src); ++#endif ++ return true; ++ } else { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_float(d, buf + offset); ++ found_invalid_number(src); + #endif ++ return false; ++ } + } else { + if (unlikely(digit_count >= 18)) { // this is uncommon!!! + // there is a good chance that we had an overflow, so we need + // need to recover: we parse the whole thing again. +- return parse_large_integer(buf, parser, offset, found_minus); ++ return parse_large_integer(src, parser, found_minus); + } + i = negative ? 0 - i : i; + parser.on_number_s64(i); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(i, buf + offset); ++ found_integer(i, src); + #endif + } + return is_structural_or_whitespace(*p); +@@ -7806,6 +8777,57 @@ UNTARGET_REGION + TARGET_HASWELL + namespace simdjson::haswell { + ++/* begin file src/generic/atomparsing.h */ ++namespace atomparsing { ++ ++really_inline uint32_t string_to_uint32(const char* str) { return *reinterpret_cast(str); } ++ ++WARN_UNUSED ++really_inline bool str4ncmp(const uint8_t *src, const char* atom) { ++ uint32_t srcval; // we want to avoid unaligned 64-bit loads (undefined in C/C++) ++ static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING); ++ std::memcpy(&srcval, src, sizeof(uint32_t)); ++ return srcval ^ string_to_uint32(atom); ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_true_atom(const uint8_t *src) { ++ return (str4ncmp(src, "true") | is_not_structural_or_whitespace(src[4])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_true_atom(const uint8_t *src, size_t len) { ++ if (len > 4) { return is_valid_true_atom(src); } ++ else if (len == 4) { return !str4ncmp(src, "true"); } ++ else { return false; } ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_false_atom(const uint8_t *src) { ++ return (str4ncmp(src+1, "alse") | is_not_structural_or_whitespace(src[5])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_false_atom(const uint8_t *src, size_t len) { ++ if (len > 5) { return is_valid_false_atom(src); } ++ else if (len == 5) { return !str4ncmp(src+1, "alse"); } ++ else { return false; } ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_null_atom(const uint8_t *src) { ++ return (str4ncmp(src, "null") | is_not_structural_or_whitespace(src[4])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_null_atom(const uint8_t *src, size_t len) { ++ if (len > 4) { return is_valid_null_atom(src); } ++ else if (len == 4) { return !str4ncmp(src, "null"); } ++ else { return false; } ++} ++ ++} // namespace atomparsing ++/* end file src/generic/atomparsing.h */ + /* begin file src/generic/stage2_build_tape.h */ + // This file contains the common code every implementation uses for stage2 + // It is intended to be included multiple times and compiled multiple times +@@ -7856,28 +8878,25 @@ struct unified_machine_addresses { + #undef FAIL_IF + #define FAIL_IF(EXPR) { if (EXPR) { return addresses.error; } } + +-struct structural_parser { +- const uint8_t* const buf; +- const size_t len; +- document::parser &doc_parser; +- size_t i; // next structural index +- size_t idx; // location of the structural character in the input (buf) +- uint8_t c; // used to track the (structural) character we are looking at +- uint32_t depth = 0; // could have an arbitrary starting depth +- +- really_inline structural_parser( +- const uint8_t *_buf, +- size_t _len, +- document::parser &_doc_parser, +- uint32_t _i = 0 +- ) : buf{_buf}, len{_len}, doc_parser{_doc_parser}, i{_i} {} +- ++class structural_iterator { ++public: ++ really_inline structural_iterator(const uint8_t* _buf, size_t _len, const uint32_t *_structural_indexes, size_t next_structural_index) ++ : buf{_buf}, len{_len}, structural_indexes{_structural_indexes}, next_structural{next_structural_index} {} + really_inline char advance_char() { +- idx = doc_parser.structural_indexes[i++]; +- c = buf[idx]; ++ idx = structural_indexes[next_structural]; ++ next_structural++; ++ c = *current(); + return c; + } +- ++ really_inline char current_char() { ++ return c; ++ } ++ really_inline const uint8_t* current() { ++ return &buf[idx]; ++ } ++ really_inline size_t remaining_len() { ++ return len - idx; ++ } + template + really_inline bool with_space_terminated_copy(const F& f) { + /** +@@ -7903,6 +8922,36 @@ struct structural_parser { + free(copy); + return result; + } ++ really_inline bool past_end(uint32_t n_structural_indexes) { ++ return next_structural+1 > n_structural_indexes; ++ } ++ really_inline bool at_end(uint32_t n_structural_indexes) { ++ return next_structural+1 == n_structural_indexes; ++ } ++ really_inline size_t next_structural_index() { ++ return next_structural; ++ } ++ ++private: ++ const uint8_t* const buf; ++ const size_t len; ++ const uint32_t* const structural_indexes; ++ size_t next_structural; // next structural index ++ size_t idx; // location of the structural character in the input (buf) ++ uint8_t c; // used to track the (structural) character we are looking at ++}; ++ ++struct structural_parser { ++ structural_iterator structurals; ++ document::parser &doc_parser; ++ uint32_t depth; ++ ++ really_inline structural_parser( ++ const uint8_t *buf, ++ size_t len, ++ document::parser &_doc_parser, ++ uint32_t next_structural = 0 ++ ) : structurals(buf, len, _doc_parser.structural_indexes.get(), next_structural), doc_parser{_doc_parser}, depth{0} {} + + WARN_UNUSED really_inline bool start_document(ret_address continue_state) { + doc_parser.on_start_document(depth); +@@ -7943,32 +8992,32 @@ struct structural_parser { + + WARN_UNUSED really_inline bool parse_string() { + uint8_t *dst = doc_parser.on_start_string(); +- dst = stringparsing::parse_string(buf, idx, dst); ++ dst = stringparsing::parse_string(structurals.current(), dst); + if (dst == nullptr) { + return true; + } + return !doc_parser.on_end_string(dst); + } + +- WARN_UNUSED really_inline bool parse_number(const uint8_t *copy, uint32_t offset, bool found_minus) { +- return !numberparsing::parse_number(copy, offset, found_minus, doc_parser); ++ WARN_UNUSED really_inline bool parse_number(const uint8_t *src, bool found_minus) { ++ return !numberparsing::parse_number(src, found_minus, doc_parser); + } + WARN_UNUSED really_inline bool parse_number(bool found_minus) { +- return parse_number(buf, idx, found_minus); ++ return parse_number(structurals.current(), found_minus); + } + +- WARN_UNUSED really_inline bool parse_atom(const uint8_t *copy, uint32_t offset) { +- switch (c) { ++ WARN_UNUSED really_inline bool parse_atom() { ++ switch (structurals.current_char()) { + case 't': +- if (!is_valid_true_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_true_atom(structurals.current())) { return true; } + doc_parser.on_true_atom(); + break; + case 'f': +- if (!is_valid_false_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_false_atom(structurals.current())) { return true; } + doc_parser.on_false_atom(); + break; + case 'n': +- if (!is_valid_null_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_null_atom(structurals.current())) { return true; } + doc_parser.on_null_atom(); + break; + default: +@@ -7977,12 +9026,28 @@ struct structural_parser { + return false; + } + +- WARN_UNUSED really_inline bool parse_atom() { +- return parse_atom(buf, idx); ++ WARN_UNUSED really_inline bool parse_single_atom() { ++ switch (structurals.current_char()) { ++ case 't': ++ if (!atomparsing::is_valid_true_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_true_atom(); ++ break; ++ case 'f': ++ if (!atomparsing::is_valid_false_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_false_atom(); ++ break; ++ case 'n': ++ if (!atomparsing::is_valid_null_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_null_atom(); ++ break; ++ default: ++ return true; ++ } ++ return false; + } + + WARN_UNUSED really_inline ret_address parse_value(const unified_machine_addresses &addresses, ret_address continue_state) { +- switch (c) { ++ switch (structurals.current_char()) { + case '"': + FAIL_IF( parse_string() ); + return continue_state; +@@ -8009,7 +9074,7 @@ struct structural_parser { + + WARN_UNUSED really_inline error_code finish() { + // the string might not be NULL terminated. +- if ( i + 1 != doc_parser.n_structural_indexes ) { ++ if ( !structurals.at_end(doc_parser.n_structural_indexes) ) { + return doc_parser.on_error(TAPE_ERROR); + } + end_document(); +@@ -8037,7 +9102,7 @@ struct structural_parser { + if (depth >= doc_parser.max_depth()) { + return doc_parser.on_error(DEPTH_ERROR); + } +- switch (c) { ++ switch (structurals.current_char()) { + case '"': + return doc_parser.on_error(STRING_ERROR); + case '0': +@@ -8063,19 +9128,23 @@ struct structural_parser { + } + } + +- WARN_UNUSED really_inline error_code start(ret_address finish_state) { ++ WARN_UNUSED really_inline error_code start(size_t len, ret_address finish_state) { + doc_parser.init_stage2(); // sets is_valid to false + if (len > doc_parser.capacity()) { + return CAPACITY; + } + // Advance to the first character as soon as possible +- advance_char(); ++ structurals.advance_char(); + // Push the root scope (there is always at least one scope) + if (start_document(finish_state)) { + return doc_parser.on_error(DEPTH_ERROR); + } + return SUCCESS; + } ++ ++ really_inline char advance_char() { ++ return structurals.advance_char(); ++ } + }; + + // Redefine FAIL_IF to use goto since it'll be used inside the function now +@@ -8091,13 +9160,13 @@ struct structural_parser { + WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser) const noexcept { + static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES(); + stage2::structural_parser parser(buf, len, doc_parser); +- error_code result = parser.start(addresses.finish); ++ error_code result = parser.start(len, addresses.finish); + if (result) { return result; } + + // + // Read first value + // +- switch (parser.c) { ++ switch (parser.structurals.current_char()) { + case '{': + FAIL_IF( parser.start_object(addresses.finish) ); + goto object_begin; +@@ -8108,24 +9177,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + FAIL_IF( parser.parse_string() ); + goto finish; + case 't': case 'f': case 'n': +- FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_atom(copy, idx); +- }) +- ); ++ FAIL_IF( parser.parse_single_atom() ); + goto finish; + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, false); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], false); + }) + ); + goto finish; + case '-': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, true); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], true); + }) + ); + goto finish; +@@ -8137,8 +9202,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + // Object parser states + // + object_begin: +- parser.advance_char(); +- switch (parser.c) { ++ switch (parser.advance_char()) { + case '"': { + FAIL_IF( parser.parse_string() ); + goto object_key_state; +@@ -8219,7 +9283,7 @@ struct streaming_structural_parser: structural_parser { + really_inline streaming_structural_parser(const uint8_t *_buf, size_t _len, document::parser &_doc_parser, size_t _i) : structural_parser(_buf, _len, _doc_parser, _i) {} + + // override to add streaming +- WARN_UNUSED really_inline error_code start(ret_address finish_parser) { ++ WARN_UNUSED really_inline error_code start(UNUSED size_t len, ret_address finish_parser) { + doc_parser.init_stage2(); // sets is_valid to false + // Capacity ain't no thang for streaming, so we don't check it. + // Advance to the first character as soon as possible +@@ -8233,7 +9297,7 @@ struct streaming_structural_parser: structural_parser { + + // override to add streaming + WARN_UNUSED really_inline error_code finish() { +- if ( i + 1 > doc_parser.n_structural_indexes ) { ++ if ( structurals.past_end(doc_parser.n_structural_indexes) ) { + return doc_parser.on_error(TAPE_ERROR); + } + end_document(); +@@ -8243,7 +9307,7 @@ struct streaming_structural_parser: structural_parser { + if (doc_parser.containing_scope_offset[depth] != 0) { + return doc_parser.on_error(TAPE_ERROR); + } +- bool finished = i + 1 == doc_parser.n_structural_indexes; ++ bool finished = structurals.at_end(doc_parser.n_structural_indexes); + return doc_parser.on_success(finished ? SUCCESS : SUCCESS_AND_HAS_MORE); + } + }; +@@ -8257,12 +9321,12 @@ struct streaming_structural_parser: structural_parser { + WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser, size_t &next_json) const noexcept { + static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES(); + stage2::streaming_structural_parser parser(buf, len, doc_parser, next_json); +- error_code result = parser.start(addresses.finish); ++ error_code result = parser.start(len, addresses.finish); + if (result) { return result; } + // + // Read first value + // +- switch (parser.c) { ++ switch (parser.structurals.current_char()) { + case '{': + FAIL_IF( parser.start_object(addresses.finish) ); + goto object_begin; +@@ -8273,24 +9337,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + FAIL_IF( parser.parse_string() ); + goto finish; + case 't': case 'f': case 'n': +- FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_atom(copy, idx); +- }) +- ); ++ FAIL_IF( parser.parse_single_atom() ); + goto finish; + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, false); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], false); + }) + ); + goto finish; + case '-': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, true); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], true); + }) + ); + goto finish; +@@ -8302,8 +9362,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + // Object parser parsers + // + object_begin: +- parser.advance_char(); +- switch (parser.c) { ++ switch (parser.advance_char()) { + case '"': { + FAIL_IF( parser.parse_string() ); + goto object_key_parser; +@@ -8363,7 +9422,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + } + + finish: +- next_json = parser.i; ++ next_json = parser.structurals.next_structural_index(); + return parser.finish(); + + error: +@@ -8499,10 +9558,9 @@ really_inline bool handle_unicode_codepoint(const uint8_t **src_ptr, + return offset > 0; + } + +-WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *buf, +- uint32_t offset, ++WARN_UNUSED really_inline uint8_t *parse_string(const uint8_t *src, + uint8_t *dst) { +- const uint8_t *src = &buf[offset + 1]; /* we know that buf at offset is a " */ ++ src++; + while (1) { + parse_string_helper helper = find_bs_bits_and_quote_bits(src, dst); + if (((helper.bs_bits - 1) & helper.quote_bits) != 0) { +@@ -8608,81 +9666,209 @@ static inline uint32_t parse_eight_digits_unrolled(const char *chars) { + /* begin file src/generic/numberparsing.h */ + namespace numberparsing { + +-// Allowable floating-point values range +-// std::numeric_limits::lowest() to std::numeric_limits::max(), +-// so from -1.7976e308 all the way to 1.7975e308 in binary64. The lowest +-// non-zero normal values is std::numeric_limits::min() or +-// about 2.225074e-308. +-static const double power_of_ten[] = { +- 1e-308, 1e-307, 1e-306, 1e-305, 1e-304, 1e-303, 1e-302, 1e-301, 1e-300, +- 1e-299, 1e-298, 1e-297, 1e-296, 1e-295, 1e-294, 1e-293, 1e-292, 1e-291, +- 1e-290, 1e-289, 1e-288, 1e-287, 1e-286, 1e-285, 1e-284, 1e-283, 1e-282, +- 1e-281, 1e-280, 1e-279, 1e-278, 1e-277, 1e-276, 1e-275, 1e-274, 1e-273, +- 1e-272, 1e-271, 1e-270, 1e-269, 1e-268, 1e-267, 1e-266, 1e-265, 1e-264, +- 1e-263, 1e-262, 1e-261, 1e-260, 1e-259, 1e-258, 1e-257, 1e-256, 1e-255, +- 1e-254, 1e-253, 1e-252, 1e-251, 1e-250, 1e-249, 1e-248, 1e-247, 1e-246, +- 1e-245, 1e-244, 1e-243, 1e-242, 1e-241, 1e-240, 1e-239, 1e-238, 1e-237, +- 1e-236, 1e-235, 1e-234, 1e-233, 1e-232, 1e-231, 1e-230, 1e-229, 1e-228, +- 1e-227, 1e-226, 1e-225, 1e-224, 1e-223, 1e-222, 1e-221, 1e-220, 1e-219, +- 1e-218, 1e-217, 1e-216, 1e-215, 1e-214, 1e-213, 1e-212, 1e-211, 1e-210, +- 1e-209, 1e-208, 1e-207, 1e-206, 1e-205, 1e-204, 1e-203, 1e-202, 1e-201, +- 1e-200, 1e-199, 1e-198, 1e-197, 1e-196, 1e-195, 1e-194, 1e-193, 1e-192, +- 1e-191, 1e-190, 1e-189, 1e-188, 1e-187, 1e-186, 1e-185, 1e-184, 1e-183, +- 1e-182, 1e-181, 1e-180, 1e-179, 1e-178, 1e-177, 1e-176, 1e-175, 1e-174, +- 1e-173, 1e-172, 1e-171, 1e-170, 1e-169, 1e-168, 1e-167, 1e-166, 1e-165, +- 1e-164, 1e-163, 1e-162, 1e-161, 1e-160, 1e-159, 1e-158, 1e-157, 1e-156, +- 1e-155, 1e-154, 1e-153, 1e-152, 1e-151, 1e-150, 1e-149, 1e-148, 1e-147, +- 1e-146, 1e-145, 1e-144, 1e-143, 1e-142, 1e-141, 1e-140, 1e-139, 1e-138, +- 1e-137, 1e-136, 1e-135, 1e-134, 1e-133, 1e-132, 1e-131, 1e-130, 1e-129, +- 1e-128, 1e-127, 1e-126, 1e-125, 1e-124, 1e-123, 1e-122, 1e-121, 1e-120, +- 1e-119, 1e-118, 1e-117, 1e-116, 1e-115, 1e-114, 1e-113, 1e-112, 1e-111, +- 1e-110, 1e-109, 1e-108, 1e-107, 1e-106, 1e-105, 1e-104, 1e-103, 1e-102, +- 1e-101, 1e-100, 1e-99, 1e-98, 1e-97, 1e-96, 1e-95, 1e-94, 1e-93, +- 1e-92, 1e-91, 1e-90, 1e-89, 1e-88, 1e-87, 1e-86, 1e-85, 1e-84, +- 1e-83, 1e-82, 1e-81, 1e-80, 1e-79, 1e-78, 1e-77, 1e-76, 1e-75, +- 1e-74, 1e-73, 1e-72, 1e-71, 1e-70, 1e-69, 1e-68, 1e-67, 1e-66, +- 1e-65, 1e-64, 1e-63, 1e-62, 1e-61, 1e-60, 1e-59, 1e-58, 1e-57, +- 1e-56, 1e-55, 1e-54, 1e-53, 1e-52, 1e-51, 1e-50, 1e-49, 1e-48, +- 1e-47, 1e-46, 1e-45, 1e-44, 1e-43, 1e-42, 1e-41, 1e-40, 1e-39, +- 1e-38, 1e-37, 1e-36, 1e-35, 1e-34, 1e-33, 1e-32, 1e-31, 1e-30, +- 1e-29, 1e-28, 1e-27, 1e-26, 1e-25, 1e-24, 1e-23, 1e-22, 1e-21, +- 1e-20, 1e-19, 1e-18, 1e-17, 1e-16, 1e-15, 1e-14, 1e-13, 1e-12, +- 1e-11, 1e-10, 1e-9, 1e-8, 1e-7, 1e-6, 1e-5, 1e-4, 1e-3, +- 1e-2, 1e-1, 1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, +- 1e7, 1e8, 1e9, 1e10, 1e11, 1e12, 1e13, 1e14, 1e15, +- 1e16, 1e17, 1e18, 1e19, 1e20, 1e21, 1e22, 1e23, 1e24, +- 1e25, 1e26, 1e27, 1e28, 1e29, 1e30, 1e31, 1e32, 1e33, +- 1e34, 1e35, 1e36, 1e37, 1e38, 1e39, 1e40, 1e41, 1e42, +- 1e43, 1e44, 1e45, 1e46, 1e47, 1e48, 1e49, 1e50, 1e51, +- 1e52, 1e53, 1e54, 1e55, 1e56, 1e57, 1e58, 1e59, 1e60, +- 1e61, 1e62, 1e63, 1e64, 1e65, 1e66, 1e67, 1e68, 1e69, +- 1e70, 1e71, 1e72, 1e73, 1e74, 1e75, 1e76, 1e77, 1e78, +- 1e79, 1e80, 1e81, 1e82, 1e83, 1e84, 1e85, 1e86, 1e87, +- 1e88, 1e89, 1e90, 1e91, 1e92, 1e93, 1e94, 1e95, 1e96, +- 1e97, 1e98, 1e99, 1e100, 1e101, 1e102, 1e103, 1e104, 1e105, +- 1e106, 1e107, 1e108, 1e109, 1e110, 1e111, 1e112, 1e113, 1e114, +- 1e115, 1e116, 1e117, 1e118, 1e119, 1e120, 1e121, 1e122, 1e123, +- 1e124, 1e125, 1e126, 1e127, 1e128, 1e129, 1e130, 1e131, 1e132, +- 1e133, 1e134, 1e135, 1e136, 1e137, 1e138, 1e139, 1e140, 1e141, +- 1e142, 1e143, 1e144, 1e145, 1e146, 1e147, 1e148, 1e149, 1e150, +- 1e151, 1e152, 1e153, 1e154, 1e155, 1e156, 1e157, 1e158, 1e159, +- 1e160, 1e161, 1e162, 1e163, 1e164, 1e165, 1e166, 1e167, 1e168, +- 1e169, 1e170, 1e171, 1e172, 1e173, 1e174, 1e175, 1e176, 1e177, +- 1e178, 1e179, 1e180, 1e181, 1e182, 1e183, 1e184, 1e185, 1e186, +- 1e187, 1e188, 1e189, 1e190, 1e191, 1e192, 1e193, 1e194, 1e195, +- 1e196, 1e197, 1e198, 1e199, 1e200, 1e201, 1e202, 1e203, 1e204, +- 1e205, 1e206, 1e207, 1e208, 1e209, 1e210, 1e211, 1e212, 1e213, +- 1e214, 1e215, 1e216, 1e217, 1e218, 1e219, 1e220, 1e221, 1e222, +- 1e223, 1e224, 1e225, 1e226, 1e227, 1e228, 1e229, 1e230, 1e231, +- 1e232, 1e233, 1e234, 1e235, 1e236, 1e237, 1e238, 1e239, 1e240, +- 1e241, 1e242, 1e243, 1e244, 1e245, 1e246, 1e247, 1e248, 1e249, +- 1e250, 1e251, 1e252, 1e253, 1e254, 1e255, 1e256, 1e257, 1e258, +- 1e259, 1e260, 1e261, 1e262, 1e263, 1e264, 1e265, 1e266, 1e267, +- 1e268, 1e269, 1e270, 1e271, 1e272, 1e273, 1e274, 1e275, 1e276, +- 1e277, 1e278, 1e279, 1e280, 1e281, 1e282, 1e283, 1e284, 1e285, +- 1e286, 1e287, 1e288, 1e289, 1e290, 1e291, 1e292, 1e293, 1e294, +- 1e295, 1e296, 1e297, 1e298, 1e299, 1e300, 1e301, 1e302, 1e303, +- 1e304, 1e305, 1e306, 1e307, 1e308}; ++ ++// Attempts to compute i * 10^(power) exactly; and if "negative" is ++// true, negate the result. ++// This function will only work in some cases, when it does not work, success is ++// set to false. This should work *most of the time* (like 99% of the time). ++// We assume that power is in the [FASTFLOAT_SMALLEST_POWER, ++// FASTFLOAT_LARGEST_POWER] interval: the caller is responsible for this check. ++really_inline double compute_float_64(int64_t power, uint64_t i, bool negative, ++ bool *success) { ++ // we start with a fast path ++ if (-22 <= power && power <= 22 && i <= 9007199254740991) { ++ // convert the integer into a double. This is lossless since ++ // 0 <= i <= 2^53 - 1. ++ double d = i; ++ // ++ // The general idea is as follows. ++ // If 0 <= s < 2^53 and if 10^0 <= p <= 10^22 then ++ // 1) Both s and p can be represented exactly as 64-bit floating-point ++ // values ++ // (binary64). ++ // 2) Because s and p can be represented exactly as floating-point values, ++ // then s * p ++ // and s / p will produce correctly rounded values. ++ // ++ if (power < 0) { ++ d = d / power_of_ten[-power]; ++ } else { ++ d = d * power_of_ten[power]; ++ } ++ if (negative) { ++ d = -d; ++ } ++ *success = true; ++ return d; ++ } ++ ++ // When 22 < power && power < 22 + 16, we could ++ // hope for another, secondary fast path. If ++ // you need to compute i * 10^(22 + x) for x < 16, ++ // first compute i * 10^x, if you know that result is exact ++ // (e.g., when i * 10^x < 2^53), ++ // then you can still proceed and do (i * 10^x) * 10^22. ++ // Is this worth your time? ++ // You need 22 < power *and* power < 22 + 16 *and* (i * 10^(x-22) < 2^53) ++ // for this second fast path to work. ++ // If you you have 22 < power *and* power < 22 + 16, and then you ++ // optimistically compute "i * 10^(x-22)", there is still a chance that you ++ // have wasted your time if i * 10^(x-22) >= 2^53. It makes the use cases of ++ // this optimization maybe less common than we would like. Source: ++ // http://www.exploringbinary.com/fast-path-decimal-to-floating-point-conversion/ ++ // also used in RapidJSON: https://rapidjson.org/strtod_8h_source.html ++ ++ // The fast path has now failed, so we are failing back on the slower path. ++ ++ // In the slow path, we need to adjust i so that it is > 1<<63 which is always ++ // possible, except if i == 0, so we handle i == 0 separately. ++ if(i == 0) { ++ return 0.0; ++ } ++ ++ // We are going to need to do some 64-bit arithmetic to get a more precise product. ++ // We use a table lookup approach. ++ components c = ++ power_of_ten_components[power - FASTFLOAT_SMALLEST_POWER]; // safe because ++ // power_index ++ // <= 2*308 ++ // we recover the mantissa of the power, it has a leading 1. It is always ++ // rounded down. ++ uint64_t factor_mantissa = c.mantissa; ++ ++ // We want the most significant bit of i to be 1. Shift if needed. ++ int lz = leading_zeroes(i); ++ i <<= lz; ++ // We want the most significant 64 bits of the product. We know ++ // this will be non-zero because the most significant bit of i is ++ // 1. ++ value128 product = full_multiplication(i, factor_mantissa); ++ uint64_t lower = product.low; ++ uint64_t upper = product.high; ++ ++ // We know that upper has at most one leading zero because ++ // both i and factor_mantissa have a leading one. This means ++ // that the result is at least as large as ((1<<63)*(1<<63))/(1<<64). ++ ++ // As long as the first 9 bits of "upper" are not "1", then we ++ // know that we have an exact computed value for the leading ++ // 55 bits because any imprecision would play out as a +1, in ++ // the worst case. ++ if (unlikely((upper & 0x1FF) == 0x1FF) && (lower + i < lower)) { ++ uint64_t factor_mantissa_low = ++ mantissa_128[power - FASTFLOAT_SMALLEST_POWER]; ++ // next, we compute the 64-bit x 128-bit multiplication, getting a 192-bit ++ // result (three 64-bit values) ++ product = full_multiplication(i, factor_mantissa_low); ++ uint64_t product_low = product.low; ++ uint64_t product_middle2 = product.high; ++ uint64_t product_middle1 = lower; ++ uint64_t product_high = upper; ++ uint64_t product_middle = product_middle1 + product_middle2; ++ if (product_middle < product_middle1) { ++ product_high++; // overflow carry ++ } ++ // We want to check whether mantissa *i + i would affect our result. ++ // This does happen, e.g. with 7.3177701707893310e+15. ++ if (((product_middle + 1 == 0) && ((product_high & 0x1FF) == 0x1FF) && ++ (product_low + i < product_low))) { // let us be prudent and bail out. ++ *success = false; ++ return 0; ++ } ++ upper = product_high; ++ lower = product_middle; ++ } ++ // The final mantissa should be 53 bits with a leading 1. ++ // We shift it so that it occupies 54 bits with a leading 1. ++ /////// ++ uint64_t upperbit = upper >> 63; ++ uint64_t mantissa = upper >> (upperbit + 9); ++ lz += 1 ^ upperbit; ++ ++ // Here we have mantissa < (1<<54). ++ ++ // We have to round to even. The "to even" part ++ // is only a problem when we are right in between two floats ++ // which we guard against. ++ // If we have lots of trailing zeros, we may fall right between two ++ // floating-point values. ++ if (unlikely((lower == 0) && ((upper & 0x1FF) == 0) && ++ ((mantissa & 3) == 1))) { ++ // if mantissa & 1 == 1 we might need to round up. ++ // ++ // Scenarios: ++ // 1. We are not in the middle. Then we should round up. ++ // ++ // 2. We are right in the middle. Whether we round up depends ++ // on the last significant bit: if it is "one" then we round ++ // up (round to even) otherwise, we do not. ++ // ++ // So if the last significant bit is 1, we can safely round up. ++ // Hence we only need to bail out if (mantissa & 3) == 1. ++ // Otherwise we may need more accuracy or analysis to determine whether ++ // we are exactly between two floating-point numbers. ++ // It can be triggered with 1e23. ++ // Note: because the factor_mantissa and factor_mantissa_low are ++ // almost always rounded down (except for small positive powers), ++ // almost always should round up. ++ *success = false; ++ return 0; ++ } ++ ++ mantissa += mantissa & 1; ++ mantissa >>= 1; ++ ++ // Here we have mantissa < (1<<53), unless there was an overflow ++ if (mantissa >= (1ULL << 53)) { ++ ////////// ++ // This will happen when parsing values such as 7.2057594037927933e+16 ++ //////// ++ mantissa = (1ULL << 52); ++ lz--; // undo previous addition ++ } ++ mantissa &= ~(1ULL << 52); ++ uint64_t real_exponent = c.exp - lz; ++ // we have to check that real_exponent is in range, otherwise we bail out ++ if (unlikely((real_exponent < 1) || (real_exponent > 2046))) { ++ *success = false; ++ return 0; ++ } ++ mantissa |= real_exponent << 52; ++ mantissa |= (((uint64_t)negative) << 63); ++ double d; ++ memcpy(&d, &mantissa, sizeof(d)); ++ *success = true; ++ return d; ++} ++ ++static bool parse_float_strtod(const char *ptr, double *outDouble) { ++ char *endptr; ++ *outDouble = strtod(ptr, &endptr); ++ // Some libraries will set errno = ERANGE when the value is subnormal, ++ // yet we may want to be able to parse subnormal values. ++ // However, we do not want to tolerate NAN or infinite values. ++ // ++ // Values like infinity or NaN are not allowed in the JSON specification. ++ // If you consume a large value and you map it to "infinity", you will no ++ // longer be able to serialize back a standard-compliant JSON. And there is ++ // no realistic application where you might need values so large than they ++ // can't fit in binary64. The maximal value is about 1.7976931348623157 × ++ // 10^308 It is an unimaginable large number. There will never be any piece of ++ // engineering involving as many as 10^308 parts. It is estimated that there ++ // are about 10^80 atoms in the universe.  The estimate for the total number ++ // of electrons is similar. Using a double-precision floating-point value, we ++ // can represent easily the number of atoms in the universe. We could also ++ // represent the number of ways you can pick any three individual atoms at ++ // random in the universe. If you ever encounter a number much larger than ++ // 10^308, you know that you have a bug. RapidJSON will reject a document with ++ // a float that does not fit in binary64. JSON for Modern C++ (nlohmann/json) ++ // will flat out throw an exception. ++ // ++ if ((endptr == ptr) || (!std::isfinite(*outDouble))) { ++ return false; ++ } ++ return true; ++} + + really_inline bool is_integer(char c) { + return (c >= '0' && c <= '9'); +@@ -8690,7 +9876,7 @@ really_inline bool is_integer(char c) { + } + + // We need to check that the character following a zero is valid. This is +-// probably frequent and it is hard than it looks. We are building all of this ++// probably frequent and it is harder than it looks. We are building all of this + // just to differentiate between 0x1 (invalid), 0,1 (valid) 0e1 (valid)... + const bool structural_or_whitespace_or_exponent_or_decimal_negated[256] = { + 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, +@@ -8728,162 +9914,6 @@ really_inline bool is_made_of_eight_digits_fast(const char *chars) { + 0x3333333333333333); + } + +- +-// +-// This function computes base * 10 ^ (- negative_exponent ). +-// It is only even going to be used when negative_exponent is tiny. +-really_inline double subnormal_power10(double base, int64_t negative_exponent) { +- // avoid integer overflows in the pow expression, those values would +- // become zero anyway. +- if(negative_exponent < -1000) { +- return 0; +- } +- +- // this is probably not going to be fast +- return base * 1e-308 * pow(10, negative_exponent + 308); +-} +- +-// called by parse_number when we know that the output is a float, +-// but where there might be some integer overflow. The trick here is to +-// parse using floats from the start. +-// Do not call this function directly as it skips some of the checks from +-// parse_number +-// +-// This function will almost never be called!!! +-// +-// Note: a redesign could avoid this function entirely. +-// +-never_inline bool parse_float(const uint8_t *const buf, document::parser &parser, +- const uint32_t offset, bool found_minus) { +- const char *p = reinterpret_cast(buf + offset); +- bool negative = false; +- if (found_minus) { +- ++p; +- negative = true; +- } +- long double i; +- if (*p == '0') { // 0 cannot be followed by an integer +- ++p; +- i = 0; +- } else { +- unsigned char digit = *p - '0'; +- i = digit; +- p++; +- while (is_integer(*p)) { +- digit = *p - '0'; +- i = 10 * i + digit; +- ++p; +- } +- } +- if ('.' == *p) { +- ++p; +- int fractional_weight = 308; +- if (is_integer(*p)) { +- unsigned char digit = *p - '0'; +- ++p; +- +- fractional_weight--; +- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight] +- : 0); +- } else { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- while (is_integer(*p)) { +- unsigned char digit = *p - '0'; +- ++p; +- fractional_weight--; +- i = i + digit * (fractional_weight >= 0 ? power_of_ten[fractional_weight] +- : 0); +- } +- } +- if (('e' == *p) || ('E' == *p)) { +- ++p; +- bool neg_exp = false; +- if ('-' == *p) { +- neg_exp = true; +- ++p; +- } else if ('+' == *p) { +- ++p; +- } +- if (!is_integer(*p)) { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- unsigned char digit = *p - '0'; +- int64_t exp_number = digit; // exponential part +- p++; +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (is_integer(*p)) { +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- while (is_integer(*p)) { +- if (exp_number > 0x100000000) { // we need to check for overflows +-// we refuse to parse this +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- digit = *p - '0'; +- exp_number = 10 * exp_number + digit; +- ++p; +- } +- if (unlikely(exp_number > 308)) { +- // this path is unlikely +- if (neg_exp) { +- // We either have zero or a subnormal. +- // We expect this to be uncommon so we go through a slow path. +- i = subnormal_power10(i, -exp_number); +- } else { +-// We know for sure that we have a number that is too large, +-// we refuse to parse this +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- } else { +- int exponent = (neg_exp ? -exp_number : exp_number); +- // we have that exp_number is [0,308] so that +- // exponent is [-308,308] so that +- // 308 + exponent is in [0, 2 * 308] +- i *= power_of_ten[308 + exponent]; +- } +- } +- if (is_not_structural_or_whitespace(*p)) { +- return false; +- } +- // check that we can go from long double to double safely. +- if(i > std::numeric_limits::max()) { +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); +-#endif +- return false; +- } +- double d = negative ? -i : i; +- parser.on_number_double(d); +-#ifdef JSON_TEST_NUMBERS // for unit testing +- found_float(d, buf + offset); +-#endif +- return is_structural_or_whitespace(*p); +-} +- + // called by parse_number when we know that the output is an integer, + // but where there might be some integer overflow. + // we want to catch overflows! +@@ -8892,11 +9922,10 @@ never_inline bool parse_float(const uint8_t *const buf, document::parser &parser + // + // This function will almost never be called!!! + // +-never_inline bool parse_large_integer(const uint8_t *const buf, +- document::parser &parser, +- const uint32_t offset, +- bool found_minus) { +- const char *p = reinterpret_cast(buf + offset); ++never_inline bool parse_large_integer(const uint8_t *const src, ++ document::parser &parser, ++ bool found_minus) { ++ const char *p = reinterpret_cast(src); + + bool negative = false; + if (found_minus) { +@@ -8917,13 +9946,13 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + digit = *p - '0'; + if (mul_overflow(i, 10, &i)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } + if (add_overflow(i, digit, &i)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } +@@ -8932,40 +9961,40 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + } + if (negative) { + if (i > 0x8000000000000000) { +- // overflows! ++ // overflows! + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; // overflow + } else if (i == 0x8000000000000000) { + // In two's complement, we cannot represent 0x8000000000000000 +- // as a positive signed integer, but the negative version is ++ // as a positive signed integer, but the negative version is + // possible. + constexpr int64_t signed_answer = INT64_MIN; + parser.on_number_s64(signed_answer); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(signed_answer, buf + offset); ++ found_integer(signed_answer, src); + #endif + } else { + // we can negate safely + int64_t signed_answer = -static_cast(i); + parser.on_number_s64(signed_answer); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(signed_answer, buf + offset); ++ found_integer(signed_answer, src); + #endif + } + } else { + // we have a positive integer, the contract is that +- // we try to represent it as a signed integer and only ++ // we try to represent it as a signed integer and only + // fallback on unsigned integers if absolutely necessary. +- if(i < 0x8000000000000000) { ++ if (i < 0x8000000000000000) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(i, buf + offset); ++ found_integer(i, src); + #endif + parser.on_number_s64(i); + } else { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_unsigned_integer(i, buf + offset); ++ found_unsigned_integer(i, src); + #endif + parser.on_number_u64(i); + } +@@ -8973,7 +10002,22 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + return is_structural_or_whitespace(*p); + } + +-// parse the number at buf + offset ++bool slow_float_parsing(UNUSED const char * src, document::parser &parser) { ++ double d; ++ if (parse_float_strtod(src, &d)) { ++ parser.on_number_double(d); ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_float(d, (const uint8_t *)src); ++#endif ++ return true; ++ } ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_invalid_number((const uint8_t *)src); ++#endif ++ return false; ++} ++ ++// parse the number at src + // define JSON_TEST_NUMBERS for unit testing + // + // It is assumed that the number is followed by a structural ({,},],[) character +@@ -8981,24 +10025,23 @@ never_inline bool parse_large_integer(const uint8_t *const buf, + // document is made of a single number), then it is necessary to copy the + // content and append a space before calling this function. + // +-// Our objective is accurate parsing (ULP of 0 or 1) at high speed. +-really_inline bool parse_number(UNUSED const uint8_t *const buf, +- UNUSED const uint32_t offset, ++// Our objective is accurate parsing (ULP of 0) at high speed. ++really_inline bool parse_number(UNUSED const uint8_t *const src, + UNUSED bool found_minus, + document::parser &parser) { + #ifdef SIMDJSON_SKIPNUMBERPARSING // for performance analysis, it is sometimes + // useful to skip parsing +- parser.on_number_s64(0); // always write zero ++ parser.on_number_s64(0); // always write zero + return true; // always succeeds + #else +- const char *p = reinterpret_cast(buf + offset); ++ const char *p = reinterpret_cast(src); + bool negative = false; + if (found_minus) { + ++p; + negative = true; + if (!is_integer(*p)) { // a negative sign must be followed by an integer + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -9010,7 +10053,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + ++p; + if (is_not_structural_or_whitespace_or_exponent_or_decimal(*p)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -9018,7 +10061,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + } else { + if (!(is_integer(*p))) { // must start with an integer + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -9053,7 +10096,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + // we will handle the overflow later + } else { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -9088,7 +10131,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + } + if (!is_integer(*p)) { + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -9109,7 +10152,7 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + if (exp_number > 0x100000000) { // we need to check for overflows + // we refuse to parse this + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_invalid_number(buf + offset); ++ found_invalid_number(src); + #endif + return false; + } +@@ -9120,7 +10163,9 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + exponent += (neg_exp ? -exp_number : exp_number); + } + if (is_float) { +- uint64_t power_index = 308 + exponent; ++ // If we frequently had to deal with long strings of digits, ++ // we could extend our code by using a 128-bit integer instead ++ // of a 64-bit integer. However, this is uncommon in practice. + if (unlikely((digit_count >= 19))) { // this is uncommon + // It is possible that the integer had an overflow. + // We have to handle the case where we have 0.0000somenumber. +@@ -9134,31 +10179,47 @@ really_inline bool parse_number(UNUSED const uint8_t *const buf, + // Ok, chances are good that we had an overflow! + // this is almost never going to get called!!! + // we start anew, going slowly!!! +- return parse_float(buf, parser, offset, found_minus); ++ // This will happen in the following examples: ++ // 10000000000000000000000000000000000000000000e+308 ++ // 3.1415926535897932384626433832795028841971693993751 ++ // ++ return slow_float_parsing((const char *) src, parser); + } + } +- if (unlikely((power_index > 2 * 308))) { // this is uncommon!!! ++ if (unlikely(exponent < FASTFLOAT_SMALLEST_POWER) || ++ (exponent > FASTFLOAT_LARGEST_POWER)) { // this is uncommon!!! + // this is almost never going to get called!!! + // we start anew, going slowly!!! +- return parse_float(buf, parser, offset, found_minus); ++ return slow_float_parsing((const char *) src, parser); + } +- double factor = power_of_ten[power_index]; +- factor = negative ? -factor : factor; +- double d = i * factor; +- parser.on_number_double(d); ++ bool success = true; ++ double d = compute_float_64(exponent, i, negative, &success); ++ if (!success) { ++ // we are almost never going to get here. ++ success = parse_float_strtod((const char *)src, &d); ++ } ++ if (success) { ++ parser.on_number_double(d); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_float(d, buf + offset); ++ found_float(d, src); + #endif ++ return true; ++ } else { ++#ifdef JSON_TEST_NUMBERS // for unit testing ++ found_invalid_number(src); ++#endif ++ return false; ++ } + } else { + if (unlikely(digit_count >= 18)) { // this is uncommon!!! + // there is a good chance that we had an overflow, so we need + // need to recover: we parse the whole thing again. +- return parse_large_integer(buf, parser, offset, found_minus); ++ return parse_large_integer(src, parser, found_minus); + } + i = negative ? 0 - i : i; + parser.on_number_s64(i); + #ifdef JSON_TEST_NUMBERS // for unit testing +- found_integer(i, buf + offset); ++ found_integer(i, src); + #endif + } + return is_structural_or_whitespace(*p); +@@ -9180,6 +10241,57 @@ UNTARGET_REGION + TARGET_WESTMERE + namespace simdjson::westmere { + ++/* begin file src/generic/atomparsing.h */ ++namespace atomparsing { ++ ++really_inline uint32_t string_to_uint32(const char* str) { return *reinterpret_cast(str); } ++ ++WARN_UNUSED ++really_inline bool str4ncmp(const uint8_t *src, const char* atom) { ++ uint32_t srcval; // we want to avoid unaligned 64-bit loads (undefined in C/C++) ++ static_assert(sizeof(uint32_t) <= SIMDJSON_PADDING); ++ std::memcpy(&srcval, src, sizeof(uint32_t)); ++ return srcval ^ string_to_uint32(atom); ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_true_atom(const uint8_t *src) { ++ return (str4ncmp(src, "true") | is_not_structural_or_whitespace(src[4])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_true_atom(const uint8_t *src, size_t len) { ++ if (len > 4) { return is_valid_true_atom(src); } ++ else if (len == 4) { return !str4ncmp(src, "true"); } ++ else { return false; } ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_false_atom(const uint8_t *src) { ++ return (str4ncmp(src+1, "alse") | is_not_structural_or_whitespace(src[5])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_false_atom(const uint8_t *src, size_t len) { ++ if (len > 5) { return is_valid_false_atom(src); } ++ else if (len == 5) { return !str4ncmp(src+1, "alse"); } ++ else { return false; } ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_null_atom(const uint8_t *src) { ++ return (str4ncmp(src, "null") | is_not_structural_or_whitespace(src[4])) == 0; ++} ++ ++WARN_UNUSED ++really_inline bool is_valid_null_atom(const uint8_t *src, size_t len) { ++ if (len > 4) { return is_valid_null_atom(src); } ++ else if (len == 4) { return !str4ncmp(src, "null"); } ++ else { return false; } ++} ++ ++} // namespace atomparsing ++/* end file src/generic/atomparsing.h */ + /* begin file src/generic/stage2_build_tape.h */ + // This file contains the common code every implementation uses for stage2 + // It is intended to be included multiple times and compiled multiple times +@@ -9230,28 +10342,25 @@ struct unified_machine_addresses { + #undef FAIL_IF + #define FAIL_IF(EXPR) { if (EXPR) { return addresses.error; } } + +-struct structural_parser { +- const uint8_t* const buf; +- const size_t len; +- document::parser &doc_parser; +- size_t i; // next structural index +- size_t idx; // location of the structural character in the input (buf) +- uint8_t c; // used to track the (structural) character we are looking at +- uint32_t depth = 0; // could have an arbitrary starting depth +- +- really_inline structural_parser( +- const uint8_t *_buf, +- size_t _len, +- document::parser &_doc_parser, +- uint32_t _i = 0 +- ) : buf{_buf}, len{_len}, doc_parser{_doc_parser}, i{_i} {} +- ++class structural_iterator { ++public: ++ really_inline structural_iterator(const uint8_t* _buf, size_t _len, const uint32_t *_structural_indexes, size_t next_structural_index) ++ : buf{_buf}, len{_len}, structural_indexes{_structural_indexes}, next_structural{next_structural_index} {} + really_inline char advance_char() { +- idx = doc_parser.structural_indexes[i++]; +- c = buf[idx]; ++ idx = structural_indexes[next_structural]; ++ next_structural++; ++ c = *current(); + return c; + } +- ++ really_inline char current_char() { ++ return c; ++ } ++ really_inline const uint8_t* current() { ++ return &buf[idx]; ++ } ++ really_inline size_t remaining_len() { ++ return len - idx; ++ } + template + really_inline bool with_space_terminated_copy(const F& f) { + /** +@@ -9277,6 +10386,36 @@ struct structural_parser { + free(copy); + return result; + } ++ really_inline bool past_end(uint32_t n_structural_indexes) { ++ return next_structural+1 > n_structural_indexes; ++ } ++ really_inline bool at_end(uint32_t n_structural_indexes) { ++ return next_structural+1 == n_structural_indexes; ++ } ++ really_inline size_t next_structural_index() { ++ return next_structural; ++ } ++ ++private: ++ const uint8_t* const buf; ++ const size_t len; ++ const uint32_t* const structural_indexes; ++ size_t next_structural; // next structural index ++ size_t idx; // location of the structural character in the input (buf) ++ uint8_t c; // used to track the (structural) character we are looking at ++}; ++ ++struct structural_parser { ++ structural_iterator structurals; ++ document::parser &doc_parser; ++ uint32_t depth; ++ ++ really_inline structural_parser( ++ const uint8_t *buf, ++ size_t len, ++ document::parser &_doc_parser, ++ uint32_t next_structural = 0 ++ ) : structurals(buf, len, _doc_parser.structural_indexes.get(), next_structural), doc_parser{_doc_parser}, depth{0} {} + + WARN_UNUSED really_inline bool start_document(ret_address continue_state) { + doc_parser.on_start_document(depth); +@@ -9317,32 +10456,32 @@ struct structural_parser { + + WARN_UNUSED really_inline bool parse_string() { + uint8_t *dst = doc_parser.on_start_string(); +- dst = stringparsing::parse_string(buf, idx, dst); ++ dst = stringparsing::parse_string(structurals.current(), dst); + if (dst == nullptr) { + return true; + } + return !doc_parser.on_end_string(dst); + } + +- WARN_UNUSED really_inline bool parse_number(const uint8_t *copy, uint32_t offset, bool found_minus) { +- return !numberparsing::parse_number(copy, offset, found_minus, doc_parser); ++ WARN_UNUSED really_inline bool parse_number(const uint8_t *src, bool found_minus) { ++ return !numberparsing::parse_number(src, found_minus, doc_parser); + } + WARN_UNUSED really_inline bool parse_number(bool found_minus) { +- return parse_number(buf, idx, found_minus); ++ return parse_number(structurals.current(), found_minus); + } + +- WARN_UNUSED really_inline bool parse_atom(const uint8_t *copy, uint32_t offset) { +- switch (c) { ++ WARN_UNUSED really_inline bool parse_atom() { ++ switch (structurals.current_char()) { + case 't': +- if (!is_valid_true_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_true_atom(structurals.current())) { return true; } + doc_parser.on_true_atom(); + break; + case 'f': +- if (!is_valid_false_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_false_atom(structurals.current())) { return true; } + doc_parser.on_false_atom(); + break; + case 'n': +- if (!is_valid_null_atom(copy + offset)) { return true; } ++ if (!atomparsing::is_valid_null_atom(structurals.current())) { return true; } + doc_parser.on_null_atom(); + break; + default: +@@ -9351,12 +10490,28 @@ struct structural_parser { + return false; + } + +- WARN_UNUSED really_inline bool parse_atom() { +- return parse_atom(buf, idx); ++ WARN_UNUSED really_inline bool parse_single_atom() { ++ switch (structurals.current_char()) { ++ case 't': ++ if (!atomparsing::is_valid_true_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_true_atom(); ++ break; ++ case 'f': ++ if (!atomparsing::is_valid_false_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_false_atom(); ++ break; ++ case 'n': ++ if (!atomparsing::is_valid_null_atom(structurals.current(), structurals.remaining_len())) { return true; } ++ doc_parser.on_null_atom(); ++ break; ++ default: ++ return true; ++ } ++ return false; + } + + WARN_UNUSED really_inline ret_address parse_value(const unified_machine_addresses &addresses, ret_address continue_state) { +- switch (c) { ++ switch (structurals.current_char()) { + case '"': + FAIL_IF( parse_string() ); + return continue_state; +@@ -9383,7 +10538,7 @@ struct structural_parser { + + WARN_UNUSED really_inline error_code finish() { + // the string might not be NULL terminated. +- if ( i + 1 != doc_parser.n_structural_indexes ) { ++ if ( !structurals.at_end(doc_parser.n_structural_indexes) ) { + return doc_parser.on_error(TAPE_ERROR); + } + end_document(); +@@ -9411,7 +10566,7 @@ struct structural_parser { + if (depth >= doc_parser.max_depth()) { + return doc_parser.on_error(DEPTH_ERROR); + } +- switch (c) { ++ switch (structurals.current_char()) { + case '"': + return doc_parser.on_error(STRING_ERROR); + case '0': +@@ -9437,19 +10592,23 @@ struct structural_parser { + } + } + +- WARN_UNUSED really_inline error_code start(ret_address finish_state) { ++ WARN_UNUSED really_inline error_code start(size_t len, ret_address finish_state) { + doc_parser.init_stage2(); // sets is_valid to false + if (len > doc_parser.capacity()) { + return CAPACITY; + } + // Advance to the first character as soon as possible +- advance_char(); ++ structurals.advance_char(); + // Push the root scope (there is always at least one scope) + if (start_document(finish_state)) { + return doc_parser.on_error(DEPTH_ERROR); + } + return SUCCESS; + } ++ ++ really_inline char advance_char() { ++ return structurals.advance_char(); ++ } + }; + + // Redefine FAIL_IF to use goto since it'll be used inside the function now +@@ -9465,13 +10624,13 @@ struct structural_parser { + WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser) const noexcept { + static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES(); + stage2::structural_parser parser(buf, len, doc_parser); +- error_code result = parser.start(addresses.finish); ++ error_code result = parser.start(len, addresses.finish); + if (result) { return result; } + + // + // Read first value + // +- switch (parser.c) { ++ switch (parser.structurals.current_char()) { + case '{': + FAIL_IF( parser.start_object(addresses.finish) ); + goto object_begin; +@@ -9482,24 +10641,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + FAIL_IF( parser.parse_string() ); + goto finish; + case 't': case 'f': case 'n': +- FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_atom(copy, idx); +- }) +- ); ++ FAIL_IF( parser.parse_single_atom() ); + goto finish; + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, false); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], false); + }) + ); + goto finish; + case '-': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, true); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], true); + }) + ); + goto finish; +@@ -9511,8 +10666,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + // Object parser states + // + object_begin: +- parser.advance_char(); +- switch (parser.c) { ++ switch (parser.advance_char()) { + case '"': { + FAIL_IF( parser.parse_string() ); + goto object_key_state; +@@ -9593,7 +10747,7 @@ struct streaming_structural_parser: structural_parser { + really_inline streaming_structural_parser(const uint8_t *_buf, size_t _len, document::parser &_doc_parser, size_t _i) : structural_parser(_buf, _len, _doc_parser, _i) {} + + // override to add streaming +- WARN_UNUSED really_inline error_code start(ret_address finish_parser) { ++ WARN_UNUSED really_inline error_code start(UNUSED size_t len, ret_address finish_parser) { + doc_parser.init_stage2(); // sets is_valid to false + // Capacity ain't no thang for streaming, so we don't check it. + // Advance to the first character as soon as possible +@@ -9607,7 +10761,7 @@ struct streaming_structural_parser: structural_parser { + + // override to add streaming + WARN_UNUSED really_inline error_code finish() { +- if ( i + 1 > doc_parser.n_structural_indexes ) { ++ if ( structurals.past_end(doc_parser.n_structural_indexes) ) { + return doc_parser.on_error(TAPE_ERROR); + } + end_document(); +@@ -9617,7 +10771,7 @@ struct streaming_structural_parser: structural_parser { + if (doc_parser.containing_scope_offset[depth] != 0) { + return doc_parser.on_error(TAPE_ERROR); + } +- bool finished = i + 1 == doc_parser.n_structural_indexes; ++ bool finished = structurals.at_end(doc_parser.n_structural_indexes); + return doc_parser.on_success(finished ? SUCCESS : SUCCESS_AND_HAS_MORE); + } + }; +@@ -9631,12 +10785,12 @@ struct streaming_structural_parser: structural_parser { + WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, document::parser &doc_parser, size_t &next_json) const noexcept { + static constexpr stage2::unified_machine_addresses addresses = INIT_ADDRESSES(); + stage2::streaming_structural_parser parser(buf, len, doc_parser, next_json); +- error_code result = parser.start(addresses.finish); ++ error_code result = parser.start(len, addresses.finish); + if (result) { return result; } + // + // Read first value + // +- switch (parser.c) { ++ switch (parser.structurals.current_char()) { + case '{': + FAIL_IF( parser.start_object(addresses.finish) ); + goto object_begin; +@@ -9647,24 +10801,20 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + FAIL_IF( parser.parse_string() ); + goto finish; + case 't': case 'f': case 'n': +- FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_atom(copy, idx); +- }) +- ); ++ FAIL_IF( parser.parse_single_atom() ); + goto finish; + case '0': case '1': case '2': case '3': case '4': + case '5': case '6': case '7': case '8': case '9': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, false); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], false); + }) + ); + goto finish; + case '-': + FAIL_IF( +- parser.with_space_terminated_copy([&](auto copy, auto idx) { +- return parser.parse_number(copy, idx, true); ++ parser.structurals.with_space_terminated_copy([&](auto copy, auto idx) { ++ return parser.parse_number(©[idx], true); + }) + ); + goto finish; +@@ -9676,8 +10826,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + // Object parser parsers + // + object_begin: +- parser.advance_char(); +- switch (parser.c) { ++ switch (parser.advance_char()) { + case '"': { + FAIL_IF( parser.parse_string() ); + goto object_key_parser; +@@ -9737,7 +10886,7 @@ WARN_UNUSED error_code implementation::stage2(const uint8_t *buf, size_t len, do + } + + finish: +- next_json = parser.i; ++ next_json = parser.structurals.next_structural_index(); + return parser.finish(); + + error: +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index 9d0454ff..1aa6507b 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -1,4 +1,4 @@ +-/* auto-generated on Thu Mar 5 10:30:07 PST 2020. Do not edit! */ ++/* auto-generated on Thu Jul 2 17:33:51 UTC 2026. Do not edit! */ + /* begin file include/simdjson.h */ + #ifndef SIMDJSON_H + #define SIMDJSON_H +@@ -32,14 +32,27 @@ + // do not change by hand + #ifndef SIMDJSON_SIMDJSON_VERSION_H + #define SIMDJSON_SIMDJSON_VERSION_H ++ ++/** The version of simdjson being used (major.minor.revision) */ + #define SIMDJSON_VERSION 0.2.1 ++ + namespace simdjson { + enum { ++ /** ++ * The major version (MAJOR.minor.revision) of simdjson being used. ++ */ + SIMDJSON_VERSION_MAJOR = 0, ++ /** ++ * The minor version (major.MINOR.revision) of simdjson being used. ++ */ + SIMDJSON_VERSION_MINOR = 2, ++ /** ++ * The revision (major.minor.REVISION) of simdjson being used. ++ */ + SIMDJSON_VERSION_REVISION = 1 + }; +-} ++} // namespace simdjson ++ + #endif // SIMDJSON_SIMDJSON_VERSION_H + /* end file include/simdjson/simdjson_version.h */ + /* begin file include/simdjson/error.h */ +@@ -50,50 +63,125 @@ enum { + + namespace simdjson { + ++/** ++ * All possible errors returned by simdjson. ++ */ + enum error_code { +- SUCCESS = 0, +- SUCCESS_AND_HAS_MORE, //No errors and buffer still has more data +- CAPACITY, // This parser can't support a document that big +- MEMALLOC, // Error allocating memory, most likely out of memory +- TAPE_ERROR, // Something went wrong while writing to the tape (stage 2), this +- // is a generic error +- DEPTH_ERROR, // Your document exceeds the user-specified depth limitation +- STRING_ERROR, // Problem while parsing a string +- T_ATOM_ERROR, // Problem while parsing an atom starting with the letter 't' +- F_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'f' +- N_ATOM_ERROR, // Problem while parsing an atom starting with the letter 'n' +- NUMBER_ERROR, // Problem while parsing a number +- UTF8_ERROR, // the input is not valid UTF-8 +- UNINITIALIZED, // unknown error, or uninitialized document +- EMPTY, // no structural element found +- UNESCAPED_CHARS, // found unescaped characters in a string. +- UNCLOSED_STRING, // missing quote at the end +- UNSUPPORTED_ARCHITECTURE, // unsupported architecture +- INCORRECT_TYPE, // JSON element has a different type than user expected +- NUMBER_OUT_OF_RANGE, // JSON number does not fit in 64 bits +- NO_SUCH_FIELD, // JSON field not found in object +- UNEXPECTED_ERROR // indicative of a bug in simdjson ++ SUCCESS = 0, ///< No error ++ SUCCESS_AND_HAS_MORE, ///< No error and buffer still has more data ++ CAPACITY, ///< This parser can't support a document that big ++ MEMALLOC, ///< Error allocating memory, most likely out of memory ++ TAPE_ERROR, ///< Something went wrong while writing to the tape (stage 2), this is a generic error ++ DEPTH_ERROR, ///< Your document exceeds the user-specified depth limitation ++ STRING_ERROR, ///< Problem while parsing a string ++ T_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 't' ++ F_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'f' ++ N_ATOM_ERROR, ///< Problem while parsing an atom starting with the letter 'n' ++ NUMBER_ERROR, ///< Problem while parsing a number ++ UTF8_ERROR, ///< the input is not valid UTF-8 ++ UNINITIALIZED, ///< unknown error, or uninitialized document ++ EMPTY, ///< no structural element found ++ UNESCAPED_CHARS, ///< found unescaped characters in a string. ++ UNCLOSED_STRING, ///< missing quote at the end ++ UNSUPPORTED_ARCHITECTURE, ///< unsupported architecture ++ INCORRECT_TYPE, ///< JSON element has a different type than user expected ++ NUMBER_OUT_OF_RANGE, ///< JSON number does not fit in 64 bits ++ NO_SUCH_FIELD, ///< JSON field not found in object ++ IO_ERROR, ///< Error reading a file ++ UNEXPECTED_ERROR, ///< indicative of a bug in simdjson ++ /** @private Number of error codes */ ++ NUM_ERROR_CODES + }; + +-const std::string &error_message(error_code error) noexcept; ++/** ++ * Get the error message for the given error code. ++ * ++ * auto [doc, error] = document::parse("foo"); ++ * if (error) { printf("Error: %s\n", error_message(error)); } ++ * ++ * @return The error message. ++ */ ++inline const char *error_message(error_code error) noexcept; ++ ++/** ++ * Write the error message to the output stream ++ */ ++inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept; ++ ++#if __cpp_exceptions ++/** ++ * Exception thrown when an exception-supporting simdjson method is called ++ */ ++struct simdjson_error : public std::exception { ++ /** ++ * Create an exception from a simdjson error code. ++ * @param error The error code ++ */ ++ simdjson_error(error_code error) noexcept : _error{error} { } ++ /** The error message */ ++ const char *what() const noexcept { return error_message(error()); } ++ error_code error() const noexcept { return _error; } ++private: ++ /** The error code that was used */ ++ error_code _error; ++}; ++#endif + +-struct invalid_json : public std::exception { +- invalid_json(error_code _error) : error{_error} { } +- const char *what() const noexcept { return error_message(error); } ++/** ++ * The result of a simd operation that could fail. ++ * ++ * Gives the option of reading error codes, or throwing an exception by casting to the desired result. ++ */ ++template ++struct simdjson_result { ++ /** ++ * The value of the function. ++ * ++ * Undefined if error is true. ++ */ ++ T value; ++ /** ++ * The error. ++ */ + error_code error; ++#if __cpp_exceptions ++ /** ++ * Cast to the value (will throw on error). ++ * ++ * @throw simdjson_error if there was an error. ++ */ ++ operator T() noexcept(false) { ++ if (error) { throw simdjson_error(error); } ++ return std::move(value); ++ } ++#endif ++ /** ++ * Create a new error result. ++ */ ++ simdjson_result(error_code _error) noexcept : value{}, error{_error} {} ++ /** ++ * Create a new successful result. ++ */ ++ simdjson_result(T _value) noexcept : value{std::move(_value)}, error{SUCCESS} {} + }; + +-// TODO these are deprecated, remove ++/** ++ * @deprecated This is an alias and will be removed, use error_code instead ++ */ + using ErrorValues = error_code; +-inline const std::string &error_message(int error) noexcept { return error_message(error_code(error)); } ++ ++/** ++ * @deprecated Error codes should be stored and returned as `error_code`, use `error_message()` instead. ++ */ ++inline const std::string &error_message(int error) noexcept; + + } // namespace simdjson + + #endif // SIMDJSON_ERROR_H + /* end file include/simdjson/error.h */ + /* begin file include/simdjson/padded_string.h */ +-#ifndef SIMDJSON_PADDING_STRING_H +-#define SIMDJSON_PADDING_STRING_H ++#ifndef SIMDJSON_PADDED_STRING_H ++#define SIMDJSON_PADDED_STRING_H + /* begin file include/simdjson/portability.h */ + #ifndef SIMDJSON_PORTABILITY_H + #define SIMDJSON_PORTABILITY_H +@@ -221,14 +309,29 @@ static inline void aligned_free_char(char *mem_block) { + + #include + +-// we support documents up to 4GB +-#define SIMDJSON_MAXSIZE_BYTES 0xFFFFFFFF ++namespace simdjson { ++ ++/** The maximum document size supported by simdjson. */ ++constexpr size_t SIMDJSON_MAXSIZE_BYTES = 0xFFFFFFFF; ++ ++/** ++ * The amount of padding needed in a buffer to parse JSON. ++ * ++ * the input buf should be readable up to buf + SIMDJSON_PADDING ++ * this is a stopgap; there should be a better description of the ++ * main loop and its behavior that abstracts over this ++ * See https://github.com/lemire/simdjson/issues/174 ++ */ ++constexpr size_t SIMDJSON_PADDING = 32; ++ ++/** ++ * By default, simdjson supports this many nested objects and arrays. ++ * ++ * This is the default for document::parser::max_depth(). ++ */ ++constexpr size_t DEFAULT_MAX_DEPTH = 1024; + +-// the input buf should be readable up to buf + SIMDJSON_PADDING +-// this is a stopgap; there should be a better description of the +-// main loop and its behavior that abstracts over this +-// See https://github.com/lemire/simdjson/issues/174 +-#define SIMDJSON_PADDING 32 ++} // namespace simdjson + + #if defined(__GNUC__) + // Marks a block with a name so that MCA analysis can see it. +@@ -293,98 +396,93 @@ static inline void aligned_free_char(char *mem_block) { + #include + #include + +- + namespace simdjson { +-// low-level function to allocate memory with padding so we can read past the +-// "length" bytes safely. if you must provide a pointer to some data, create it +-// with this function: length is the max. size in bytes of the string caller is +-// responsible to free the memory (free(...)) +-inline char *allocate_padded_buffer(size_t length) noexcept { +- // we could do a simple malloc +- // return (char *) malloc(length + SIMDJSON_PADDING); +- // However, we might as well align to cache lines... +- size_t totalpaddedlength = length + SIMDJSON_PADDING; +- char *padded_buffer = aligned_malloc_char(64, totalpaddedlength); +-#ifndef NDEBUG +- if (padded_buffer == nullptr) { +- return nullptr; +- } +-#endif // NDEBUG +- memset(padded_buffer + length, 0, totalpaddedlength - length); +- return padded_buffer; +-} // allocate_padded_buffer + +-// Simple string with padded allocation. +-// We deliberately forbid copies, users should rely on swap or move +-// constructors. ++/** ++ * String with extra allocation for ease of use with document::parser::parse() ++ * ++ * This is a move-only class, it cannot be copied. ++ */ + struct padded_string final { + +- explicit padded_string() noexcept : viable_size(0), data_ptr(nullptr) {} +- +- explicit padded_string(size_t length) noexcept +- : viable_size(length), data_ptr(allocate_padded_buffer(length)) { +- if (data_ptr != nullptr) +- data_ptr[length] = '\0'; // easier when you need a c_str +- } +- +- explicit padded_string(const char *data, size_t length) noexcept +- : viable_size(length), data_ptr(allocate_padded_buffer(length)) { +- if ((data != nullptr) and (data_ptr != nullptr)) { +- memcpy(data_ptr, data, length); +- data_ptr[length] = '\0'; // easier when you need a c_str +- } +- } +- +- // note: do not pass std::string arguments by value +- padded_string(const std::string & str_ ) noexcept +- : viable_size(str_.size()), data_ptr(allocate_padded_buffer(str_.size())) { +- if (data_ptr != nullptr) { +- memcpy(data_ptr, str_.data(), str_.size()); +- data_ptr[str_.size()] = '\0'; // easier when you need a c_str +- } +- } +- +- // note: do pass std::string_view arguments by value +- padded_string(std::string_view sv_) noexcept +- : viable_size(sv_.size()), data_ptr(allocate_padded_buffer(sv_.size())) { +- if (data_ptr != nullptr) { +- memcpy(data_ptr, sv_.data(), sv_.size()); +- data_ptr[sv_.size()] = '\0'; // easier when you need a c_str +- } +- } +- +- padded_string(padded_string &&o) noexcept +- : viable_size(o.viable_size), data_ptr(o.data_ptr) { +- o.data_ptr = nullptr; // we take ownership +- } +- +- padded_string &operator=(padded_string &&o) { +- aligned_free_char(data_ptr); +- data_ptr = o.data_ptr; +- viable_size = o.viable_size; +- o.data_ptr = nullptr; // we take ownership +- o.viable_size = 0; +- return *this; +- } ++ /** ++ * Create a new, empty padded string. ++ */ ++ explicit inline padded_string() noexcept; ++ /** ++ * Create a new padded string buffer. ++ * ++ * @param length the size of the string. ++ */ ++ explicit inline padded_string(size_t length) noexcept; ++ /** ++ * Create a new padded string by copying the given input. ++ * ++ * @param data the buffer to copy ++ * @param length the number of bytes to copy ++ */ ++ explicit inline padded_string(const char *data, size_t length) noexcept; ++ /** ++ * Create a new padded string by copying the given input. ++ * ++ * @param str_ the string to copy ++ */ ++ inline padded_string(const std::string & str_ ) noexcept; ++ /** ++ * Create a new padded string by copying the given input. ++ * ++ * @param str_ the string to copy ++ */ ++ inline padded_string(std::string_view sv_) noexcept; ++ /** ++ * Move one padded string into another. ++ * ++ * The original padded string will be reduced to zero capacity. ++ * ++ * @param o the string to move. ++ */ ++ inline padded_string(padded_string &&o) noexcept; ++ /** ++ * Move one padded string into another. ++ * ++ * The original padded string will be reduced to zero capacity. ++ * ++ * @param o the string to move. ++ */ ++ inline padded_string &operator=(padded_string &&o) noexcept; ++ inline void swap(padded_string &o) noexcept; ++ ~padded_string() noexcept; + +- void swap(padded_string &o) { +- size_t tmp_viable_size = viable_size; +- char *tmp_data_ptr = data_ptr; +- viable_size = o.viable_size; +- data_ptr = o.data_ptr; +- o.data_ptr = tmp_data_ptr; +- o.viable_size = tmp_viable_size; +- } ++ /** ++ * The length of the string. ++ * ++ * Does not include padding. ++ */ ++ size_t size() const noexcept; + +- ~padded_string() { +- aligned_free_char(data_ptr); +- } ++ /** ++ * The length of the string. ++ * ++ * Does not include padding. ++ */ ++ size_t length() const noexcept; + +- size_t size() const { return viable_size; } ++ /** ++ * The string data. ++ **/ ++ const char *data() const noexcept; + +- size_t length() const { return viable_size; } ++ /** ++ * The string data. ++ **/ ++ char *data() noexcept; + +- char *data() const { return data_ptr; } ++ /** ++ * Load this padded string from a file. ++ * ++ * @param path the path to the file. ++ **/ ++ inline static simdjson_result load(const std::string &path) noexcept; + + private: + padded_string &operator=(const padded_string &o) = delete; +@@ -397,7 +495,17 @@ private: + + } // namespace simdjson + +-#endif ++namespace simdjson::internal { ++ ++// low-level function to allocate memory with padding so we can read past the ++// "length" bytes safely. if you must provide a pointer to some data, create it ++// with this function: length is the max. size in bytes of the string caller is ++// responsible to free the memory (free(...)) ++inline char *allocate_padded_buffer(size_t length) noexcept; ++ ++} // namespace simdjson::internal; ++ ++#endif // SIMDJSON_PADDED_STRING_H + /* end file include/simdjson/common_defs.h */ + /* begin file include/simdjson/implementation.h */ + #ifndef SIMDJSON_IMPLEMENTATION_H +@@ -415,6 +523,7 @@ private: + #include + #include + #include ++#include + /* begin file include/simdjson/simdjson.h */ + /** + * @file +@@ -427,11 +536,12 @@ private: + #endif // SIMDJSON_H + /* end file include/simdjson/simdjson.h */ + +-#define JSON_VALUE_MASK 0x00FFFFFFFFFFFFFF +-#define DEFAULT_MAX_DEPTH 1024 // a JSON document with a depth exceeding 1024 is probably de facto invalid +- + namespace simdjson { + ++namespace internal { ++ constexpr const uint64_t JSON_VALUE_MASK = 0x00FFFFFFFFFFFFFF; ++} ++ + template class document_iterator; + + /** +@@ -464,17 +574,22 @@ public: + document &operator=(document &&other) noexcept = default; + document &operator=(const document &) = delete; // Disallow copying + ++ /** The default batch size for parse_many and load_many */ ++ static constexpr size_t DEFAULT_BATCH_SIZE = 1000000; ++ + // Nested classes + class element; + class array; + class object; + class key_value_pair; + class parser; ++ class stream; + + template + class element_result; + class doc_result; + class doc_ref_result; ++ class stream_result; + + // Nested classes. See definitions later in file. + using iterator = document_iterator; +@@ -495,20 +610,22 @@ public: + * Get the root element of this document. + */ + operator element() const noexcept; ++#if __cpp_exceptions + /** + * Read the root element of this document as a JSON array. + * + * @return The JSON array. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array + */ + operator array() const noexcept(false); + /** + * Read this element as a JSON object (key/value pairs). + * + * @return The JSON object. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object + */ + operator object() const noexcept(false); ++#endif + + /** + * Get the value associated with the given key. +@@ -538,20 +655,31 @@ public: + element_result operator[](const char *s) const noexcept; + + /** +- * Print this JSON to a std::ostream. ++ * Dump the raw tape for debugging. + * + * @param os the stream to output to. +- * @param max_depth the maximum JSON depth to output. + * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON). + */ +- bool print_json(std::ostream &os, size_t max_depth=DEFAULT_MAX_DEPTH) const noexcept; ++ bool dump_raw_tape(std::ostream &os) const noexcept; ++ + /** +- * Dump the raw tape for debugging. ++ * Load a JSON document from a file and return it. + * +- * @param os the stream to output to. +- * @return false if the tape is likely wrong (e.g., you did not parse a valid JSON). ++ * document doc = document::load("jsonexamples/twitter.json"); ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than the file length, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param path The path to load. ++ * @return The document, or an error: ++ * - IO_ERROR if there was an error opening or reading the file. ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ +- bool dump_raw_tape(std::ostream &os) const noexcept; ++ inline static doc_result load(const std::string& path) noexcept; + + /** + * Parse a JSON document and return a reference to it. +@@ -615,7 +743,9 @@ public: + private: + class tape_ref; + enum class tape_type; +- bool set_capacity(size_t len); ++ inline error_code set_capacity(size_t len) noexcept; ++ template ++ friend class minify; + }; // class document + + /** +@@ -651,18 +781,42 @@ public: + */ + error_code error; + ++#if __cpp_exceptions + /** + * Return the document, or throw an exception if it is invalid. + * + * @return the document. +- * @exception invalid_json if the document is invalid or there was an error parsing it. ++ * @exception simdjson_error if the document is invalid or there was an error parsing it. + */ + operator document() noexcept(false); ++#endif + + /** +- * Get the error message for the error. ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object ++ */ ++ inline element_result operator[](const std::string_view &key) const noexcept; ++ /** ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object + */ +- const std::string &get_error_message() const noexcept; ++ inline element_result operator[](const char *key) const noexcept; + + ~doc_result() noexcept=default; + +@@ -715,24 +869,50 @@ public: + */ + error_code error; + ++#if __cpp_exceptions + /** + * A reference to the document, or throw an exception if it is invalid. + * + * @return the document. +- * @exception invalid_json if the document is invalid or there was an error parsing it. ++ * @exception simdjson_error if the document is invalid or there was an error parsing it. + */ + operator document&() noexcept(false); ++#endif ++ ++ /** ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object ++ */ ++ inline element_result operator[](const std::string_view &key) const noexcept; + + /** +- * Get the error message for the error. ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: ++ * ++ * document::parse(R"({ "a\n": 1 })")["a\n"].as_uint64_t().value == 1 ++ * document::parse(R"({ "a\n": 1 })")["a\\n"].as_uint64_t().error == NO_SUCH_FIELD ++ * ++ * @return The value associated with this field, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object ++ * - UNEXPECTED_TYPE if the document is not an object + */ +- const std::string &get_error_message() const noexcept; ++ inline element_result operator[](const char *key) const noexcept; + + ~doc_ref_result()=default; + + private: + doc_ref_result(document &_doc, error_code _error) noexcept; + friend class document::parser; ++ friend class document::stream; + }; // class document::doc_ref_result + + /** +@@ -765,6 +945,7 @@ protected: + really_inline uint64_t tape_value() const noexcept; + template + really_inline T next_tape_value() const noexcept; ++ inline std::string_view get_string_view() const noexcept; + + /** The document this element references. */ + const document *doc; +@@ -773,6 +954,8 @@ protected: + size_t json_index; + + friend class document::key_value_pair; ++ template ++ friend class minify; + }; + + /** +@@ -870,11 +1053,12 @@ public: + */ + inline element_result as_object() const noexcept; + ++#if __cpp_exceptions + /** + * Read this element as a boolean. + * + * @return The boolean value +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a boolean. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a boolean. + */ + inline operator bool() const noexcept(false); + +@@ -885,7 +1069,7 @@ public: + * an actual string. + * + * @return The string value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string. + */ + inline explicit operator const char*() const noexcept(false); + +@@ -896,7 +1080,7 @@ public: + * an actual string. + * + * @return The string value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a string. ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a string. + */ + inline operator std::string_view() const noexcept(false); + +@@ -904,40 +1088,41 @@ public: + * Read this element as an unsigned integer. + * + * @return The integer value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative + */ + inline operator uint64_t() const noexcept(false); + /** +- * Read this element as an signed integer. ++ * Read this element as a signed integer. + * + * @return The integer value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an integer +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an integer ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits + */ + inline operator int64_t() const noexcept(false); + /** +- * Read this element as an double. ++ * Read this element as a double. + * + * @return The double value. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not a number +- * @exception invalid_json(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not a number ++ * @exception simdjson_error(NUMBER_OUT_OF_RANGE) if the integer doesn't fit in 64 bits or is negative + */ + inline operator double() const noexcept(false); + /** + * Read this element as a JSON array. + * + * @return The JSON array. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an array ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an array + */ + inline operator document::array() const noexcept(false); + /** + * Read this element as a JSON object (key/value pairs). + * + * @return The JSON object. +- * @exception invalid_json(UNEXPECTED_TYPE) if the JSON element is not an object ++ * @exception simdjson_error(UNEXPECTED_TYPE) if the JSON element is not an object + */ + inline operator document::object() const noexcept(false); ++#endif + + /** + * Get the value associated with the given key. +@@ -952,6 +1137,7 @@ public: + * - UNEXPECTED_TYPE if the document is not an object + */ + inline element_result operator[](const std::string_view &s) const noexcept; ++ + /** + * Get the value associated with the given key. + * +@@ -972,6 +1158,8 @@ private: + friend class document; + template + friend class document::element_result; ++ template ++ friend class minify; + }; + + /** +@@ -1021,6 +1209,8 @@ private: + friend class document::element; + template + friend class document::element_result; ++ template ++ friend class minify; + }; + + /** +@@ -1088,6 +1278,7 @@ public: + * - NO_SUCH_FIELD if the field does not exist in the object + */ + inline element_result operator[](const std::string_view &s) const noexcept; ++ + /** + * Get the value associated with the given key. + * +@@ -1107,6 +1298,8 @@ private: + friend class document::element; + template + friend class document::element_result; ++ template ++ friend class minify; + }; + + /** +@@ -1147,7 +1340,9 @@ public: + /** The error code (or 0 if there is no error) */ + error_code error; + ++#if __cpp_exceptions + inline operator T() const noexcept(false); ++#endif + + private: + really_inline element_result(T value) noexcept; +@@ -1176,6 +1371,8 @@ public: + inline element_result as_array() const noexcept; + inline element_result as_object() const noexcept; + ++#if __cpp_exceptions ++ inline operator element() const noexcept(false); + inline operator bool() const noexcept(false); + inline explicit operator const char*() const noexcept(false); + inline operator std::string_view() const noexcept(false); +@@ -1184,6 +1381,7 @@ public: + inline operator double() const noexcept(false); + inline operator array() const noexcept(false); + inline operator object() const noexcept(false); ++#endif + + inline element_result operator[](const std::string_view &s) const noexcept; + inline element_result operator[](const char *s) const noexcept; +@@ -1204,10 +1402,12 @@ public: + /** The error code (or 0 if there is no error) */ + error_code error; + ++#if __cpp_exceptions + inline operator array() const noexcept(false); + + inline array::iterator begin() const noexcept(false); + inline array::iterator end() const noexcept(false); ++#endif + + private: + really_inline element_result(array value) noexcept; +@@ -1225,10 +1425,12 @@ public: + /** The error code (or 0 if there is no error) */ + error_code error; + ++#if __cpp_exceptions + inline operator object() const noexcept(false); + + inline object::iterator begin() const noexcept(false); + inline object::iterator end() const noexcept(false); ++#endif + + inline element_result operator[](const std::string_view &s) const noexcept; + inline element_result operator[](const char *s) const noexcept; +@@ -1243,8 +1445,8 @@ private: + /** + * A persistent document parser. + * +- * Use this if you intend to parse more than one document. It holds the internal memory necessary +- * to do parsing, as well as memory for a single document that is overwritten on each parse. ++ * The parser is designed to be reused, holding the internal buffers necessary to do parsing, ++ * as well as memory for a single document. The parsed document is overwritten on each parse. + * + * This class cannot be copied, only moved, to avoid unintended allocations. + * +@@ -1253,9 +1455,20 @@ private: + class document::parser { + public: + /** +- * Create a JSON parser with zero capacity. Call allocate_capacity() to initialize it. ++ * Create a JSON parser. ++ * ++ * The new parser will have zero capacity. ++ * ++ * @param max_capacity The maximum document length the parser can automatically handle. The parser ++ * will allocate more capacity on an as needed basis (when it sees documents too big to handle) ++ * up to this amount. The parser still starts with zero capacity no matter what this number is: ++ * to allocate an initial capacity, call set_capacity() after constructing the parser. Defaults ++ * to SIMDJSON_MAXSIZE_BYTES (the largest single document simdjson can process). ++ * @param max_depth The maximum depth--number of nested objects and arrays--this parser can handle. ++ * This will not be allocated until parse() is called for the first time. Defaults to ++ * DEFAULT_MAX_DEPTH. + */ +- parser()=default; ++ really_inline parser(size_t max_capacity = SIMDJSON_MAXSIZE_BYTES, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept; + ~parser()=default; + + /** +@@ -1274,71 +1487,219 @@ public: + parser &operator=(const document::parser &) = delete; // Disallow copying + + /** +- * Parse a JSON document and return a reference to it. ++ * Load a JSON document from a file and return a reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.load("jsonexamples/twitter.json"); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * +- * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, +- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged +- * and copied before parsing. ++ * ### Parser Capacity + * +- * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless +- * realloc_if_needed is true. +- * @param len The length of the JSON. +- * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. +- * @return the document, or an error if the JSON is invalid. ++ * If the parser's current capacity is less than the file length, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param path The path to load. ++ * @return The document, or an error: ++ * - IO_ERROR if there was an error opening or reading the file. ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ +- inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ inline doc_ref_result load(const std::string& path) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Load a file containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(path)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The file must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.load_many(path)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - IO_ERROR if there was an error opening or reading the file. ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails. ++ */ ++ inline document::stream load_many(const std::string& path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ /** ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(buf, len); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### REQUIRED: Buffer Padding ++ * + * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If realloc_if_needed is true, +- * it is assumed that the buffer does *not* have enough padding, and it is reallocated, enlarged +- * and copied before parsing. ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding, ++ * and it is copied into an enlarged temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). + * + * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless + * realloc_if_needed is true. + * @param len The length of the JSON. + * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity, ++ * and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. ++ */ ++ inline doc_ref_result parse(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept; ++ ++ /** ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(buf, len); ++ * ++ * ### IMPORTANT: Document Lifetime ++ * ++ * The JSON document still lives in the parser: this is the most efficient way to parse JSON ++ * documents because it reuses the same buffers, but you *must* use the document before you ++ * destroy the parser or call parse() again. ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If realloc_if_needed is true, it is assumed that the buffer does *not* have enough padding, ++ * and it is copied into an enlarged temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, unless ++ * realloc_if_needed is true. ++ * @param len The length of the JSON. ++ * @param realloc_if_needed Whether to reallocate and enlarge the JSON buffer to add padding. ++ * @return The document, or an error: ++ * - MEMALLOC if realloc_if_needed is true or the parser does not have enough capacity, ++ * and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + really_inline doc_ref_result parse(const char *buf, size_t len, bool realloc_if_needed = true) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(s); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### REQUIRED: Buffer Padding ++ * + * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what +- * those bytes are initialized to, as long as they are allocated. If `str.capacity() - str.size() +- * < SIMDJSON_PADDING`, the string will be copied to a string with larger capacity before parsing. ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * If s.capacity() is less than SIMDJSON_PADDING, the string will be copied into an enlarged ++ * temporary buffer before parsing. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than len, it will allocate enough capacity ++ * to handle it (up to max_capacity). + * + * @param s The JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes, or + * a new string will be created with the extra padding. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if the string does not have enough padding or the parser does not have ++ * enough capacity, and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + really_inline doc_ref_result parse(const std::string &s) noexcept; + + /** +- * Parse a JSON document and return a reference to it. ++ * Parse a JSON document and return a temporary reference to it. ++ * ++ * document::parser parser; ++ * const document &doc = parser.parse(s); ++ * ++ * ### IMPORTANT: Document Lifetime + * + * The JSON document still lives in the parser: this is the most efficient way to parse JSON + * documents because it reuses the same buffers, but you *must* use the document before you + * destroy the parser or call parse() again. + * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * + * @param s The JSON to parse. +- * @return the document, or an error if the JSON is invalid. ++ * @return The document, or an error: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. ++ * - CAPACITY if the parser does not have enough capacity and len > max_capacity. ++ * - other json errors if parsing fails. + */ + really_inline doc_ref_result parse(const padded_string &s) noexcept; + +@@ -1346,24 +1707,322 @@ public: + really_inline doc_ref_result parse(const char *buf) noexcept = delete; + + /** +- * Current capacity: the largest document this parser can support without reallocating. ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param len The length of the concatenated JSON. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails. ++ */ ++ inline stream parse_many(const uint8_t *buf, size_t len, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param buf The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param len The length of the concatenated JSON. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const char *buf, size_t len, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### REQUIRED: Buffer Padding ++ * ++ * The buffer must have at least SIMDJSON_PADDING extra allocated bytes. It does not matter what ++ * those bytes are initialized to, as long as they are allocated. ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param s The concatenated JSON to parse. Must have at least len + SIMDJSON_PADDING allocated bytes. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const std::string &s, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ /** ++ * Parse a buffer containing many JSON documents. ++ * ++ * document::parser parser; ++ * for (const document &doc : parser.parse_many(buf, len)) { ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Format ++ * ++ * The buffer must contain a series of one or more JSON documents, concatenated into a single ++ * buffer, separated by whitespace. It effectively parses until it has a fully valid document, ++ * then starts parsing the next document at that point. (It does this with more parallelism and ++ * lookahead than you might think, though.) ++ * ++ * documents that consist of an object or array may omit the whitespace between them, concatenating ++ * with no separator. documents that consist of a single primitive (i.e. documents that are not ++ * arrays or objects) MUST be separated with whitespace. ++ * ++ * ### Error Handling ++ * ++ * All errors are returned during iteration: if there is a global error such as memory allocation, ++ * it will be yielded as the first result. Iteration always stops after the first error. ++ * ++ * As with all other simdjson methods, non-exception error handling is readily available through ++ * the same interface, requiring you to check the error before using the document: ++ * ++ * document::parser parser; ++ * for (auto [doc, error] : parser.parse_many(buf, len)) { ++ * if (error) { cerr << error << endl; exit(1); } ++ * cout << std::string(doc["title"]) << endl; ++ * } ++ * ++ * ### Threads ++ * ++ * When compiled with SIMDJSON_THREADS_ENABLED, this method will use a single thread under the ++ * hood to do some lookahead. ++ * ++ * ### Parser Capacity ++ * ++ * If the parser's current capacity is less than batch_size, it will allocate enough capacity ++ * to handle it (up to max_capacity). ++ * ++ * @param s The concatenated JSON to parse. ++ * @param batch_size The batch size to use. MUST be larger than the largest document. The sweet ++ * spot is cache-related: small enough to fit in cache, yet big enough to ++ * parse as many documents as possible in one tight loop. ++ * Defaults to 10MB, which has been a reasonable sweet spot in our tests. ++ * @return The stream. If there is an error, it will be returned during iteration. An empty input ++ * will yield 0 documents rather than an EMPTY error. Errors: ++ * - MEMALLOC if the parser does not have enough capacity and memory allocation fails ++ * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. ++ * - other json errors if parsing fails ++ */ ++ inline stream parse_many(const padded_string &s, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ ++ // We do not want to allow implicit conversion from C string to std::string. ++ really_inline doc_ref_result parse_many(const char *buf, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept = delete; ++ ++ /** ++ * The largest document this parser can automatically support. ++ * ++ * The parser may reallocate internal buffers as needed up to this amount. ++ * ++ * @return Maximum capacity, in bytes. ++ */ ++ really_inline size_t max_capacity() const noexcept; ++ ++ /** ++ * The largest document this parser can support without reallocating. ++ * ++ * @return Current capacity, in bytes. + */ + really_inline size_t capacity() const noexcept; + + /** + * The maximum level of nested object and arrays supported by this parser. ++ * ++ * @return Maximum depth, in bytes. + */ + really_inline size_t max_depth() const noexcept; + ++ /** ++ * Set max_capacity. This is the largest document this parser can automatically support. ++ * ++ * The parser may reallocate internal buffers as needed up to this amount. ++ * ++ * This call will not allocate or deallocate, even if capacity is currently above max_capacity. ++ * ++ * @param max_capacity The new maximum capacity, in bytes. ++ */ ++ really_inline void set_max_capacity(size_t max_capacity) noexcept; ++ ++ /** ++ * Set capacity. This is the largest document this parser can support without reallocating. ++ * ++ * This will allocate or deallocate as necessary. ++ * ++ * @param capacity The new capacity, in bytes. ++ * ++ * @return MEMALLOC if unsuccessful, SUCCESS otherwise. ++ */ ++ WARN_UNUSED inline error_code set_capacity(size_t capacity) noexcept; ++ ++ /** ++ * Set the maximum level of nested object and arrays supported by this parser. ++ * ++ * This will allocate or deallocate as necessary. ++ * ++ * @param max_depth The new maximum depth, in bytes. ++ * ++ * @return MEMALLOC if unsuccessful, SUCCESS otherwise. ++ */ ++ WARN_UNUSED inline error_code set_max_depth(size_t max_depth) noexcept; ++ + /** + * Ensure this parser has enough memory to process JSON documents up to `capacity` bytes in length + * and `max_depth` depth. ++ * ++ * Equivalent to calling set_capacity() and set_max_depth(). ++ * ++ * @param capacity The new capacity. ++ * @param max_depth The new max_depth. Defaults to DEFAULT_MAX_DEPTH. ++ * @return true if successful, false if allocation failed. + */ +- WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH); ++ WARN_UNUSED inline bool allocate_capacity(size_t capacity, size_t max_depth = DEFAULT_MAX_DEPTH) noexcept; + + // type aliases for backcompat + using Iterator = document::iterator; +- using InvalidJSON = invalid_json; ++#if __cpp_exceptions ++ using InvalidJSON = simdjson_error; ++#endif + + // Next location to write to in the tape + uint32_t current_loc{0}; +@@ -1434,13 +2093,6 @@ public: + really_inline bool on_number_s64(int64_t value) noexcept; + really_inline bool on_number_u64(uint64_t value) noexcept; + really_inline bool on_number_double(double value) noexcept; +- // +- // Called before a parse is initiated. +- // +- // - Returns CAPACITY if the document is too large +- // - Returns MEMALLOC if we needed to allocate memory and could not +- // +- WARN_UNUSED inline error_code init_parse(size_t len) noexcept; + + private: + // +@@ -1450,12 +2102,19 @@ private: + // + size_t _capacity{0}; + ++ // ++ // The maximum document length this parser will automatically support. ++ // ++ // The parser will not be automatically allocated above this amount. ++ // ++ size_t _max_capacity; ++ + // + // The maximum depth (number of nested objects and arrays) supported by this parser. + // + // Defaults to DEFAULT_MAX_DEPTH. + // +- size_t _max_depth{0}; ++ size_t _max_depth; + + // all nodes are stored on the doc.tape using a 64-bit word. + // +@@ -1474,30 +2133,172 @@ private: + inline void write_tape(uint64_t val, tape_type t) noexcept; + inline void annotate_previous_loc(uint32_t saved_loc, uint64_t val) noexcept; + +- // +- // Set the current capacity: the largest document this parser can support without reallocating. +- // +- // This will allocate *or deallocate* as necessary. +- // +- // Returns false if allocation fails. +- // +- inline WARN_UNUSED bool set_capacity(size_t capacity); +- +- // +- // Set the maximum level of nested object and arrays supported by this parser. +- // +- // This will allocate *or deallocate* as necessary. +- // +- // Returns false if allocation fails. +- // +- inline WARN_UNUSED bool set_max_depth(size_t max_depth); ++ // Ensure we have enough capacity to handle at least desired_capacity bytes, ++ // and auto-allocate if not. ++ inline error_code ensure_capacity(size_t desired_capacity) noexcept; + + // Used internally to get the document ++#if __cpp_exceptions + inline const document &get_document() const noexcept(false); ++#endif + + template friend class document_iterator; ++ friend class document::stream; + }; // class parser + ++/** ++ * Minifies a JSON element or document, printing the smallest possible valid JSON. ++ * ++ * document doc = document::parse(" [ 1 , 2 , 3 ] "_pad); ++ * cout << minify(doc) << endl; // prints [1,2,3] ++ * ++ */ ++template ++class minify { ++public: ++ /** ++ * Create a new minifier. ++ * ++ * @param _value The document or element to minify. ++ */ ++ inline minify(const T &_value) noexcept : value{_value} {} ++ ++ /** ++ * Minify JSON to a string. ++ */ ++ inline operator std::string() const noexcept { std::stringstream s; s << *this; return s.str(); } ++ ++ /** ++ * Minify JSON to an output stream. ++ */ ++ inline std::ostream& print(std::ostream& out); ++private: ++ const T &value; ++}; ++ ++/** ++ * Minify JSON to an output stream. ++ * ++ * @param out The output stream. ++ * @param formatter The minifier. ++ * @throw if there is an error with the underlying output stream. simdjson itself will not throw. ++ */ ++template ++inline std::ostream& operator<<(std::ostream& out, minify formatter) { return formatter.print(out); } ++ ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the document will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The document to print. ++ * @throw if there is an error with the underlying output stream. simdjson itself will not throw. ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document &value) { return out << minify(value); } ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw if there is an error with the underlying output stream. simdjson itself will not throw. ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::element &value) { return out << minify(value); }; ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw if there is an error with the underlying output stream. simdjson itself will not throw. ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::array &value) { return out << minify(value); } ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw if there is an error with the underlying output stream. simdjson itself will not throw. ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::object &value) { return out << minify(value); } ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw if there is an error with the underlying output stream. simdjson itself will not throw. ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::key_value_pair &value) { return out << minify(value); } ++#if __cpp_exceptions ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw simdjson_error if the result being printed has an error. If there is an error with the ++ * underlying output stream, that error will be propagated (simdjson_error will not be ++ * thrown). ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::doc_result &value) noexcept(false) { return out << minify(value); } ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw simdjson_error if the result being printed has an error. If there is an error with the ++ * underlying output stream, that error will be propagated (simdjson_error will not be ++ * thrown). ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::doc_ref_result &value) noexcept(false) { return out << minify(value); } ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw simdjson_error if the result being printed has an error. If there is an error with the ++ * underlying output stream, that error will be propagated (simdjson_error will not be ++ * thrown). ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::element_result &value) noexcept(false) { return out << minify(value); } ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw simdjson_error if the result being printed has an error. If there is an error with the ++ * underlying output stream, that error will be propagated (simdjson_error will not be ++ * thrown). ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::element_result &value) noexcept(false) { return out << minify(value); } ++/** ++ * Print JSON to an output stream. ++ * ++ * By default, the value will be printed minified. ++ * ++ * @param out The output stream. ++ * @param value The value to print. ++ * @throw simdjson_error if the result being printed has an error. If there is an error with the ++ * underlying output stream, that error will be propagated (simdjson_error will not be ++ * thrown). ++ */ ++inline std::ostream& operator<<(std::ostream& out, const document::element_result &value) noexcept(false) { return out << minify(value); } ++#endif ++ + } // namespace simdjson + + #endif // SIMDJSON_DOCUMENT_H +@@ -1541,7 +2342,7 @@ public: + virtual uint32_t required_instruction_sets() const { return _required_instruction_sets; }; + + /** +- * Run a full document parse (init_parse, stage1 and stage2). ++ * Run a full document parse (ensure_capacity, stage1 and stage2). + * + * Overridden by each implementation. + * +@@ -1560,7 +2361,7 @@ public: + * @param buf the json document to parse. *MUST* be allocated up to len + SIMDJSON_PADDING bytes. + * @param len the length of the json document. + * @param parser the parser with the buffers to use. *MUST* have allocated up to at least len capacity. +- * @param streaming whether this is being called by a JsonStream parser. ++ * @param streaming whether this is being called by document::parser::parse_many. + * @return the error code, or SUCCESS if there was no error. + */ + WARN_UNUSED virtual error_code stage1(const uint8_t *buf, size_t len, document::parser &parser, bool streaming) const noexcept = 0; +@@ -1578,7 +2379,7 @@ public: + WARN_UNUSED virtual error_code stage2(const uint8_t *buf, size_t len, document::parser &parser) const noexcept = 0; + + /** +- * Stage 2 of the document parser for JsonStream. ++ * Stage 2 of the document parser for document::parser::parse_many. + * + * Overridden by each implementation. + * +@@ -1731,92 +2532,84 @@ inline internal::atomic_ptr active_implementation = &inter + + #endif // SIMDJSON_IMPLEMENTATION_H + /* end file include/simdjson/simdjson.h */ +-/* begin file include/simdjson/jsonstream.h */ +-#ifndef SIMDJSON_JSONSTREAM_H +-#define SIMDJSON_JSONSTREAM_H ++/* begin file include/simdjson/document_stream.h */ ++#ifndef SIMDJSON_DOCUMENT_STREAM_H ++#define SIMDJSON_DOCUMENT_STREAM_H + + #include + + namespace simdjson { + +-/************************************************************************************* +- * The main motivation for this piece of software is to achieve maximum speed +- *and offer +- * good quality of life while parsing files containing multiple JSON documents. ++template class JsonStream; ++ ++/** ++ * A forward-only stream of documents. + * +- * Since we want to offer flexibility and not restrict ourselves to a specific +- *file +- * format, we support any file that contains any valid JSON documents separated +- *by one +- * or more character that is considered a whitespace by the JSON spec. +- * Namely: space, nothing, linefeed, carriage return, horizontal tab. +- * Anything that is not whitespace will be parsed as a JSON document and could +- *lead +- * to failure. ++ * Produced by document::parser::parse_many. + * +- * To offer maximum parsing speed, our implementation processes the data inside +- *the +- * buffer by batches and their size is defined by the parameter "batch_size". +- * By loading data in batches, we can optimize the time spent allocating data in +- *the +- * parser and can also open the possibility of multi-threading. +- * The batch_size must be at least as large as the biggest document in the file, +- *but +- * not too large in order to submerge the chached memory. We found that 1MB is +- * somewhat a sweet spot for now. Eventually, this batch_size could be fully +- * automated and be optimal at all times. +- ************************************************************************************/ +-/** +-* The template parameter (string_container) must +-* support the data() and size() methods, returning a pointer +-* to a char* and to the number of bytes respectively. +-* The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end +-* of the string, so if you do not use a padded_string container, +-* you have the responsability to overallocated. If you fail to +-* do so, your software may crash if you cross a page boundary, +-* and you should expect memory checkers to object. +-* Most users should use a simdjson::padded_string. +-*/ +-template class JsonStream { ++ */ ++class document::stream { + public: +- /* Create a JsonStream object that can be used to parse sequentially the valid +- * JSON documents found in the buffer "buf". +- * +- * The batch_size must be at least as large as the biggest document in the +- * file, but +- * not too large to submerge the cached memory. We found that 1MB is +- * somewhat a sweet spot for now. +- * +- * The user is expected to call the following json_parse method to parse the +- * next +- * valid JSON document found in the buffer. This method can and is expected +- * to be +- * called in a loop. +- * +- * Various methods are offered to keep track of the status, like +- * get_current_buffer_loc, +- * get_n_parsed_docs, get_n_bytes_parsed, etc. +- * +- * */ +- JsonStream(const string_container &s, size_t batch_size = 1000000); ++ really_inline ~stream() noexcept; ++ ++ /** ++ * An iterator through a forward-only stream of documents. ++ */ ++ class iterator { ++ public: ++ /** ++ * Get the current document (or error). ++ */ ++ really_inline doc_ref_result operator*() noexcept; ++ /** ++ * Advance to the next document. ++ */ ++ inline iterator& operator++() noexcept; ++ /** ++ * Check if we're at the end yet. ++ * @param other the end iterator to compare to. ++ */ ++ really_inline bool operator!=(const iterator &other) const noexcept; + +- ~JsonStream(); ++ private: ++ iterator(stream& stream, bool finished) noexcept; ++ /** The stream parser we're iterating through. */ ++ stream& _stream; ++ /** Whether we're finished or not. */ ++ bool finished; ++ friend class stream; ++ }; + +- /* Parse the next document found in the buffer previously given to JsonStream. ++ /** ++ * Start iterating the documents in the stream. ++ */ ++ really_inline iterator begin() noexcept; ++ /** ++ * The end of the stream, for iterator comparison purposes. ++ */ ++ really_inline iterator end() noexcept; ++ ++private: ++ ++ stream &operator=(const document::stream &) = delete; // Disallow copying ++ ++ stream(document::stream &other) = delete; // Disallow copying + ++ really_inline stream(document::parser &parser, const uint8_t *buf, size_t len, size_t batch_size, error_code error = SUCCESS) noexcept; ++ ++ /** ++ * Parse the next document found in the buffer previously given to stream. ++ * + * The content should be a valid JSON document encoded as UTF-8. If there is a + * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are + * discouraged. + * + * You do NOT need to pre-allocate a parser. This function takes care of +- * pre-allocating a capacity defined by the batch_size defined when creating +- the +- * JsonStream object. ++ * pre-allocating a capacity defined by the batch_size defined when creating the ++ * stream object. + * +- * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in +- case +- * of success and indicates that the buffer still contains more data to be +- parsed, ++ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in case ++ * of success and indicates that the buffer still contains more data to be parsed, + * meaning this function can be called again to return the next JSON document + * after this one. + * +@@ -1824,43 +2617,46 @@ public: + * and indicates that the buffer has successfully been parsed to the end. + * Every document it contained has been parsed without error. + * +- * The function returns an error code from simdjson/simdjson.h in case of +- failure +- * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and +- so forth; +- * the simdjson::error_message function converts these error codes into a +- * string). ++ * The function returns an error code from simdjson/simdjson.h in case of failure ++ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and so forth; ++ * the simdjson::error_message function converts these error codes into a string). + * +- * You can also check validity by calling parser.is_valid(). The same parser +- can ++ * You can also check validity by calling parser.is_valid(). The same parser can + * and should be reused for the other documents in the buffer. */ +- int json_parse(document::parser &parser); ++ inline error_code json_parse() noexcept; + +- /* Returns the location (index) of where the next document should be in the ++ /** ++ * Returns the location (index) of where the next document should be in the + * buffer. + * Can be used for debugging, it tells the user the position of the end of the + * last +- * valid JSON document parsed*/ ++ * valid JSON document parsed ++ */ + inline size_t get_current_buffer_loc() const { return current_buffer_loc; } + +- /* Returns the total amount of complete documents parsed by the JsonStream, +- * in the current buffer, at the given time.*/ ++ /** ++ * Returns the total amount of complete documents parsed by the stream, ++ * in the current buffer, at the given time. ++ */ + inline size_t get_n_parsed_docs() const { return n_parsed_docs; } + +- /* Returns the total amount of data (in bytes) parsed by the JsonStream, +- * in the current buffer, at the given time.*/ ++ /** ++ * Returns the total amount of data (in bytes) parsed by the stream, ++ * in the current buffer, at the given time. ++ */ + inline size_t get_n_bytes_parsed() const { return n_bytes_parsed; } + +-private: +- inline const uint8_t *buf() const { return reinterpret_cast(str.data()) + str_start; } ++ inline const uint8_t *buf() const { return _buf + buf_start; } + +- inline void advance(size_t offset) { str_start += offset; } ++ inline void advance(size_t offset) { buf_start += offset; } + +- inline size_t remaining() const { return str.size() - str_start; } ++ inline size_t remaining() const { return _len - buf_start; } + +- const string_container &str; ++ document::parser &parser; ++ const uint8_t *_buf; ++ const size_t _len; + size_t _batch_size; // this is actually variable! +- size_t str_start{0}; ++ size_t buf_start{0}; + size_t next_json{0}; + bool load_next_batch{true}; + size_t current_buffer_loc{0}; +@@ -1869,17 +2665,19 @@ private: + #endif + size_t n_parsed_docs{0}; + size_t n_bytes_parsed{0}; +- simdjson::implementation *stage_parser; ++ error_code error{SUCCESS_AND_HAS_MORE}; + #ifdef SIMDJSON_THREADS_ENABLED + error_code stage1_is_ok_thread{SUCCESS}; + std::thread stage_1_thread; + document::parser parser_thread; + #endif +-}; // end of class JsonStream ++ template friend class JsonStream; ++ friend class document::parser; ++}; // class document::stream + + } // end of namespace simdjson +-#endif // SIMDJSON_JSONSTREAM_H +-/* end file include/simdjson/jsonstream.h */ ++#endif // SIMDJSON_DOCUMENT_STREAM_H ++/* end file include/simdjson/document_stream.h */ + /* begin file include/simdjson/jsonminifier.h */ + #ifndef SIMDJSON_JSONMINIFIER_H + #define SIMDJSON_JSONMINIFIER_H +@@ -1908,8 +2706,10 @@ static inline size_t json_minify(const std::string_view &p, char *out) { + static inline size_t json_minify(const padded_string &p, char *out) { + return json_minify(p.data(), p.size(), out); + } ++ + } // namespace simdjson +-#endif ++ ++#endif // SIMDJSON_JSONMINIFIER_H + /* end file include/simdjson/jsonminifier.h */ + + // Deprecated API +@@ -1928,7 +2728,9 @@ static inline size_t json_minify(const padded_string &p, char *out) { + #include + #include + #include ++#if __cpp_exceptions + #include ++#endif + + /* begin file include/simdjson/internal/jsonformatutils.h */ + #ifndef SIMDJSON_INTERNAL_JSONFORMATUTILS_H +@@ -1936,110 +2738,59 @@ static inline size_t json_minify(const padded_string &p, char *out) { + + #include + #include ++#include + + namespace simdjson::internal { + +-// ends with zero char +-static inline void print_with_escapes(const unsigned char *src, std::ostream &os) { +- while (*src) { +- switch (*src) { +- case '\b': +- os << '\\'; +- os << 'b'; +- break; +- case '\f': +- os << '\\'; +- os << 'f'; +- break; +- case '\n': +- os << '\\'; +- os << 'n'; +- break; +- case '\r': +- os << '\\'; +- os << 'r'; +- break; +- case '\"': +- os << '\\'; +- os << '"'; +- break; +- case '\t': +- os << '\\'; +- os << 't'; +- break; +- case '\\': +- os << '\\'; +- os << '\\'; +- break; +- default: +- if (*src <= 0x1F) { +- std::ios::fmtflags f(os.flags()); +- os << std::hex << std::setw(4) << std::setfill('0') +- << static_cast(*src); +- os.flags(f); +- } else { +- os << *src; +- } +- } +- src++; +- } +-} ++class escape_json_string; ++ ++inline std::ostream& operator<<(std::ostream& out, const escape_json_string &str); + ++class escape_json_string { ++public: ++ escape_json_string(std::string_view _str) noexcept : str{_str} {} ++ operator std::string() const noexcept { std::stringstream s; s << *this; return s.str(); } ++private: ++ std::string_view str; ++ friend std::ostream& operator<<(std::ostream& out, const escape_json_string &unescaped); ++}; + +-// print len chars +-static inline void print_with_escapes(const unsigned char *src, +- std::ostream &os, size_t len) { +- const unsigned char *finalsrc = src + len; +- while (src < finalsrc) { +- switch (*src) { ++inline std::ostream& operator<<(std::ostream& out, const escape_json_string &unescaped) { ++ for (size_t i=0; i(*src); +- os.flags(f); ++ if ((unsigned char)unescaped.str[i] <= 0x1F) { ++ // TODO can this be done once at the beginning, or will it mess up << char? ++ std::ios::fmtflags f(out.flags()); ++ out << "\\u" << std::hex << std::setw(4) << std::setfill('0') << static_cast(unescaped.str[i]); ++ out.flags(f); + } else { +- os << *src; ++ out << unescaped.str[i]; + } + } +- src++; + } +-} +- +-static inline void print_with_escapes(const char *src, std::ostream &os) { +- print_with_escapes(reinterpret_cast(src), os); +-} +- +-static inline void print_with_escapes(const char *src, std::ostream &os, size_t len) { +- print_with_escapes(reinterpret_cast(src), os, len); ++ return out; + } + + } // namespace simdjson::internal +@@ -2051,7 +2802,9 @@ namespace simdjson { + + template class document_iterator { + public: ++#if __cpp_exceptions + document_iterator(const document::parser &parser); ++#endif + document_iterator(const document &doc) noexcept; + document_iterator(const document_iterator &o) noexcept; + document_iterator &operator=(const document_iterator &o) noexcept; +@@ -2103,7 +2856,7 @@ public: + // within the string: get_string_length determines the true string length. + inline const char *get_string() const { + return reinterpret_cast( +- doc.string_buf.get() + (current_val & JSON_VALUE_MASK) + sizeof(uint32_t)); ++ doc.string_buf.get() + (current_val & internal::JSON_VALUE_MASK) + sizeof(uint32_t)); + } + + // return the length of the string in bytes +@@ -2111,7 +2864,7 @@ public: + uint32_t answer; + memcpy(&answer, + reinterpret_cast(doc.string_buf.get() + +- (current_val & JSON_VALUE_MASK)), ++ (current_val & internal::JSON_VALUE_MASK)), + sizeof(uint32_t)); + return answer; + } +@@ -2326,34 +3079,28 @@ using ParsedJson = document::parser; + #ifndef SIMDJSON_JSONIOUTIL_H + #define SIMDJSON_JSONIOUTIL_H + +-#include + #include + #include + #include +-#include + #include + + ++#if __cpp_exceptions ++#include ++#include ++#endif ++ + namespace simdjson { + +-// load a file in memory... +-// get a corpus; pad out to cache line so we can always use SIMD +-// throws exceptions in case of failure +-// first element of the pair is a string (null terminated) +-// whereas the second element is the length. +-// caller is responsible to free (aligned_free((void*)result.data()))) +-// +-// throws an exception if the file cannot be opened, use try/catch +-// try { +-// p = get_corpus(filename); +-// } catch (const std::exception& e) { +-// aligned_free((void*)p.data()); +-// std::cout << "Could not load the file " << filename << std::endl; +-// } +-padded_string get_corpus(const std::string &filename); ++#if __cpp_exceptions ++inline padded_string get_corpus(const std::string &filename) { ++ return padded_string::load(filename); ++} ++#endif ++ + } // namespace simdjson + +-#endif ++#endif // SIMDJSON_JSONIOUTIL_H + /* end file include/simdjson/jsonioutil.h */ + + namespace simdjson { +@@ -2384,11 +3131,6 @@ inline int json_parse(const padded_string &s, document::parser &parser) noexcept + + WARN_UNUSED static document::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept { + document::parser parser; +- if (!parser.allocate_capacity(len)) { +- parser.valid = false; +- parser.error = MEMALLOC; +- return parser; +- } + json_parse(buf, len, parser, realloc_if_needed); + return parser; + } +@@ -2410,6 +3152,131 @@ document::parser build_parsed_json(const char *buf) noexcept = delete; + + #endif + /* end file include/simdjson/jsonioutil.h */ ++/* begin file include/simdjson/jsonstream.h */ ++// TODO Remove this -- deprecated API and files ++ ++#ifndef SIMDJSON_JSONSTREAM_H ++#define SIMDJSON_JSONSTREAM_H ++ ++ ++namespace simdjson { ++ ++/** ++ * @deprecated use document::stream instead. ++ * ++ * The main motivation for this piece of software is to achieve maximum speed and offer ++ * good quality of life while parsing files containing multiple JSON documents. ++ * ++ * Since we want to offer flexibility and not restrict ourselves to a specific file ++ * format, we support any file that contains any valid JSON documents separated by one ++ * or more character that is considered a whitespace by the JSON spec. ++ * Namely: space, nothing, linefeed, carriage return, horizontal tab. ++ * Anything that is not whitespace will be parsed as a JSON document and could lead ++ * to failure. ++ * ++ * To offer maximum parsing speed, our implementation processes the data inside the ++ * buffer by batches and their size is defined by the parameter "batch_size". ++ * By loading data in batches, we can optimize the time spent allocating data in the ++ * parser and can also open the possibility of multi-threading. ++ * The batch_size must be at least as large as the biggest document in the file, but ++ * not too large in order to submerge the chached memory. We found that 1MB is ++ * somewhat a sweet spot for now. Eventually, this batch_size could be fully ++ * automated and be optimal at all times. ++ * ++ * The template parameter (string_container) must ++ * support the data() and size() methods, returning a pointer ++ * to a char* and to the number of bytes respectively. ++ * The simdjson parser may read up to SIMDJSON_PADDING bytes beyond the end ++ * of the string, so if you do not use a padded_string container, ++ * you have the responsability to overallocated. If you fail to ++ * do so, your software may crash if you cross a page boundary, ++ * and you should expect memory checkers to object. ++ * Most users should use a simdjson::padded_string. ++ */ ++template class JsonStream { ++public: ++ /* Create a JsonStream object that can be used to parse sequentially the valid ++ * JSON documents found in the buffer "buf". ++ * ++ * The batch_size must be at least as large as the biggest document in the ++ * file, but ++ * not too large to submerge the cached memory. We found that 1MB is ++ * somewhat a sweet spot for now. ++ * ++ * The user is expected to call the following json_parse method to parse the ++ * next ++ * valid JSON document found in the buffer. This method can and is expected ++ * to be ++ * called in a loop. ++ * ++ * Various methods are offered to keep track of the status, like ++ * get_current_buffer_loc, ++ * get_n_parsed_docs, get_n_bytes_parsed, etc. ++ * ++ * */ ++ JsonStream(const string_container &s, size_t _batch_size = 1000000) noexcept; ++ ++ ~JsonStream() noexcept; ++ ++ /* Parse the next document found in the buffer previously given to JsonStream. ++ ++ * The content should be a valid JSON document encoded as UTF-8. If there is a ++ * UTF-8 BOM, the caller is responsible for omitting it, UTF-8 BOM are ++ * discouraged. ++ * ++ * You do NOT need to pre-allocate a parser. This function takes care of ++ * pre-allocating a capacity defined by the batch_size defined when creating ++ the ++ * JsonStream object. ++ * ++ * The function returns simdjson::SUCCESS_AND_HAS_MORE (an integer = 1) in ++ case ++ * of success and indicates that the buffer still contains more data to be ++ parsed, ++ * meaning this function can be called again to return the next JSON document ++ * after this one. ++ * ++ * The function returns simdjson::SUCCESS (as integer = 0) in case of success ++ * and indicates that the buffer has successfully been parsed to the end. ++ * Every document it contained has been parsed without error. ++ * ++ * The function returns an error code from simdjson/simdjson.h in case of ++ failure ++ * such as simdjson::CAPACITY, simdjson::MEMALLOC, simdjson::DEPTH_ERROR and ++ so forth; ++ * the simdjson::error_message function converts these error codes into a ++ * string). ++ * ++ * You can also check validity by calling parser.is_valid(). The same parser ++ can ++ * and should be reused for the other documents in the buffer. */ ++ int json_parse(document::parser &parser) noexcept; ++ ++ /* Returns the location (index) of where the next document should be in the ++ * buffer. ++ * Can be used for debugging, it tells the user the position of the end of the ++ * last ++ * valid JSON document parsed*/ ++ inline size_t get_current_buffer_loc() const noexcept { return stream ? stream->current_buffer_loc : 0; } ++ ++ /* Returns the total amount of complete documents parsed by the JsonStream, ++ * in the current buffer, at the given time.*/ ++ inline size_t get_n_parsed_docs() const noexcept { return stream ? stream->n_parsed_docs : 0; } ++ ++ /* Returns the total amount of data (in bytes) parsed by the JsonStream, ++ * in the current buffer, at the given time.*/ ++ inline size_t get_n_bytes_parsed() const noexcept { return stream ? stream->n_bytes_parsed : 0; } ++ ++private: ++ const string_container &str; ++ const size_t batch_size; ++ document::stream *stream{nullptr}; ++}; // end of class JsonStream ++ ++} // end of namespace simdjson ++ ++#endif // SIMDJSON_JSONSTREAM_H ++/* end file include/simdjson/jsonstream.h */ + + // Inline functions + /* begin file include/simdjson/inline/document.h */ +@@ -2429,64 +3296,70 @@ template + inline document::element_result::element_result(T _value) noexcept : value(_value), error{SUCCESS} {} + template + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++#if __cpp_exceptions + template<> + inline document::element_result::operator std::string_view() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator const char *() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator bool() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator uint64_t() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator int64_t() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + template<> + inline document::element_result::operator double() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } ++#endif + + // + // document::element_result inline implementation + // + inline document::element_result::element_result(document::array _value) noexcept : value(_value), error{SUCCESS} {} + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++#if __cpp_exceptions + inline document::element_result::operator document::array() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } + inline document::array::iterator document::element_result::begin() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.begin(); + } + inline document::array::iterator document::element_result::end() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.end(); + } ++#endif + + // + // document::element_result inline implementation + // + inline document::element_result::element_result(document::object _value) noexcept : value(_value), error{SUCCESS} {} + inline document::element_result::element_result(error_code _error) noexcept : value(), error{_error} {} ++#if __cpp_exceptions + inline document::element_result::operator document::object() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value; + } ++#endif + inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept { + if (error) { return error; } + return value[key]; +@@ -2495,14 +3368,16 @@ inline document::element_result document::element_result::begin() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.begin(); + } + inline document::object::iterator document::element_result::end() const noexcept(false) { +- if (error) { throw invalid_json(error); } ++ if (error) { throw simdjson_error(error); } + return value.end(); + } ++#endif + + // + // document::element_result inline implementation +@@ -2546,6 +3421,11 @@ inline document::element_result document::element_result::operator document::element() const noexcept(false) { ++ if (error) { throw simdjson_error(error); } ++ return value; ++} + inline document::element_result::operator bool() const noexcept(false) { + return as_bool(); + } +@@ -2570,6 +3450,7 @@ inline document::element_result::operator document::array() c + inline document::element_result::operator document::object() const noexcept(false) { + return as_object(); + } ++#endif + inline document::element_result document::element_result::operator[](const std::string_view &key) const noexcept { + if (error) { return *this; } + return value[key]; +@@ -2594,12 +3475,14 @@ inline document::element_result document::as_object() const no + inline document::operator document::element() const noexcept { + return root(); + } ++#if __cpp_exceptions + inline document::operator document::array() const noexcept(false) { + return root(); + } + inline document::operator document::object() const noexcept(false) { + return root(); + } ++#endif + inline document::element_result document::operator[](const std::string_view &key) const noexcept { + return root()[key]; + } +@@ -2607,30 +3490,33 @@ inline document::element_result document::operator[](const ch + return root()[key]; + } + ++inline document::doc_result document::load(const std::string &path) noexcept { ++ document::parser parser; ++ auto [doc, error] = parser.load(path); ++ return document::doc_result((document &&)doc, error); ++} ++ + inline document::doc_result document::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { + document::parser parser; +- if (!parser.allocate_capacity(len)) { +- return MEMALLOC; +- } + auto [doc, error] = parser.parse(buf, len, realloc_if_needed); + return document::doc_result((document &&)doc, error); + } + really_inline document::doc_result document::parse(const char *buf, size_t len, bool realloc_if_needed) noexcept { +- return parse((const uint8_t *)buf, len, realloc_if_needed); ++ return parse((const uint8_t *)buf, len, realloc_if_needed); + } + really_inline document::doc_result document::parse(const std::string &s) noexcept { +- return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING); ++ return parse(s.data(), s.length(), s.capacity() - s.length() < SIMDJSON_PADDING); + } + really_inline document::doc_result document::parse(const padded_string &s) noexcept { +- return parse(s.data(), s.length(), false); ++ return parse(s.data(), s.length(), false); + } + + WARN_UNUSED +-inline bool document::set_capacity(size_t capacity) { ++inline error_code document::set_capacity(size_t capacity) noexcept { + if (capacity == 0) { + string_buf.reset(); + tape.reset(); +- return true; ++ return SUCCESS; + } + + // a pathological input like "[[[[..." would generate len tape elements, so +@@ -2644,113 +3530,7 @@ inline bool document::set_capacity(size_t capacity) { + size_t string_capacity = ROUNDUP_N(5 * capacity / 3 + 32, 64); + string_buf.reset( new (std::nothrow) uint8_t[string_capacity]); + tape.reset(new (std::nothrow) uint64_t[tape_capacity]); +- return string_buf && tape; +-} +- +-inline bool document::print_json(std::ostream &os, size_t max_depth) const noexcept { +- uint32_t string_length; +- size_t tape_idx = 0; +- uint64_t tape_val = tape[tape_idx]; +- uint8_t type = (tape_val >> 56); +- size_t how_many = 0; +- if (type == 'r') { +- how_many = tape_val & JSON_VALUE_MASK; +- } else { +- // Error: no starting root node? +- return false; +- } +- tape_idx++; +- std::unique_ptr in_object(new bool[max_depth]); +- std::unique_ptr in_object_idx(new size_t[max_depth]); +- int depth = 1; // only root at level 0 +- in_object_idx[depth] = 0; +- in_object[depth] = false; +- for (; tape_idx < how_many; tape_idx++) { +- tape_val = tape[tape_idx]; +- uint64_t payload = tape_val & JSON_VALUE_MASK; +- type = (tape_val >> 56); +- if (!in_object[depth]) { +- if ((in_object_idx[depth] > 0) && (type != ']')) { +- os << ","; +- } +- in_object_idx[depth]++; +- } else { // if (in_object) { +- if ((in_object_idx[depth] > 0) && ((in_object_idx[depth] & 1) == 0) && +- (type != '}')) { +- os << ","; +- } +- if (((in_object_idx[depth] & 1) == 1)) { +- os << ":"; +- } +- in_object_idx[depth]++; +- } +- switch (type) { +- case '"': // we have a string +- os << '"'; +- memcpy(&string_length, string_buf.get() + payload, sizeof(uint32_t)); +- internal::print_with_escapes( +- (const unsigned char *)(string_buf.get() + payload + sizeof(uint32_t)), +- os, string_length); +- os << '"'; +- break; +- case 'l': // we have a long int +- if (tape_idx + 1 >= how_many) { +- return false; +- } +- os << static_cast(tape[++tape_idx]); +- break; +- case 'u': +- if (tape_idx + 1 >= how_many) { +- return false; +- } +- os << tape[++tape_idx]; +- break; +- case 'd': // we have a double +- if (tape_idx + 1 >= how_many) { +- return false; +- } +- double answer; +- memcpy(&answer, &tape[++tape_idx], sizeof(answer)); +- os << answer; +- break; +- case 'n': // we have a null +- os << "null"; +- break; +- case 't': // we have a true +- os << "true"; +- break; +- case 'f': // we have a false +- os << "false"; +- break; +- case '{': // we have an object +- os << '{'; +- depth++; +- in_object[depth] = true; +- in_object_idx[depth] = 0; +- break; +- case '}': // we end an object +- depth--; +- os << '}'; +- break; +- case '[': // we start an array +- os << '['; +- depth++; +- in_object[depth] = false; +- in_object_idx[depth] = 0; +- break; +- case ']': // we end an array +- depth--; +- os << ']'; +- break; +- case 'r': // we start and end with the root node +- // should we be hitting the root node? +- return false; +- default: +- // bug? +- return false; +- } +- } +- return true; ++ return string_buf && tape ? SUCCESS : MEMALLOC; + } + + inline bool document::dump_raw_tape(std::ostream &os) const noexcept { +@@ -2762,7 +3542,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + tape_idx++; + size_t how_many = 0; + if (type == 'r') { +- how_many = tape_val & JSON_VALUE_MASK; ++ how_many = tape_val & internal::JSON_VALUE_MASK; + } else { + // Error: no starting root node? + return false; +@@ -2772,16 +3552,16 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + for (; tape_idx < how_many; tape_idx++) { + os << tape_idx << " : "; + tape_val = tape[tape_idx]; +- payload = tape_val & JSON_VALUE_MASK; ++ payload = tape_val & internal::JSON_VALUE_MASK; + type = (tape_val >> 56); + switch (type) { + case '"': // we have a string + os << "string \""; + memcpy(&string_length, string_buf.get() + payload, sizeof(uint32_t)); +- internal::print_with_escapes( +- (const unsigned char *)(string_buf.get() + payload + sizeof(uint32_t)), +- os, +- string_length); ++ os << internal::escape_json_string(std::string_view( ++ (const char *)(string_buf.get() + payload + sizeof(uint32_t)), ++ string_length ++ )); + os << '"'; + os << '\n'; + break; +@@ -2839,7 +3619,7 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + } + } + tape_val = tape[tape_idx]; +- payload = tape_val & JSON_VALUE_MASK; ++ payload = tape_val & internal::JSON_VALUE_MASK; + type = (tape_val >> 56); + os << tape_idx << " : " << type << "\t// pointing to " << payload + << " (start root)\n"; +@@ -2850,14 +3630,19 @@ inline bool document::dump_raw_tape(std::ostream &os) const noexcept { + // document::doc_ref_result inline implementation + // + inline document::doc_ref_result::doc_ref_result(document &_doc, error_code _error) noexcept : doc(_doc), error(_error) { } ++#if __cpp_exceptions + inline document::doc_ref_result::operator document&() noexcept(false) { +- if (error) { +- throw invalid_json(error); +- } ++ if (error) { throw simdjson_error(error); } + return doc; + } +-inline const std::string &document::doc_ref_result::get_error_message() const noexcept { +- return error_message(error); ++#endif ++inline document::element_result document::doc_ref_result::operator[](const std::string_view &key) const noexcept { ++ if (error) { return error; } ++ return doc[key]; ++} ++inline document::element_result document::doc_ref_result::operator[](const char *key) const noexcept { ++ if (error) { return error; } ++ return doc[key]; + } + + // +@@ -2866,42 +3651,66 @@ inline const std::string &document::doc_ref_result::get_error_message() const no + inline document::doc_result::doc_result(document &&_doc, error_code _error) noexcept : doc(std::move(_doc)), error(_error) { } + inline document::doc_result::doc_result(document &&_doc) noexcept : doc(std::move(_doc)), error(SUCCESS) { } + inline document::doc_result::doc_result(error_code _error) noexcept : doc(), error(_error) { } ++#if __cpp_exceptions + inline document::doc_result::operator document() noexcept(false) { +- if (error) { +- throw invalid_json(error); +- } ++ if (error) { throw simdjson_error(error); } + return std::move(doc); + } +-inline const std::string &document::doc_result::get_error_message() const noexcept { +- return error_message(error); ++#endif ++inline document::element_result document::doc_result::operator[](const std::string_view &key) const noexcept { ++ if (error) { return error; } ++ return doc[key]; ++} ++inline document::element_result document::doc_result::operator[](const char *key) const noexcept { ++ if (error) { return error; } ++ return doc[key]; + } + + // + // document::parser inline implementation + // ++really_inline document::parser::parser(size_t max_capacity, size_t max_depth) noexcept ++ : _max_capacity{max_capacity}, _max_depth{max_depth} { ++ ++} + inline bool document::parser::is_valid() const noexcept { return valid; } + inline int document::parser::get_error_code() const noexcept { return error; } +-inline std::string document::parser::get_error_message() const noexcept { return error_message(error); } ++inline std::string document::parser::get_error_message() const noexcept { return error_message(int(error)); } + inline bool document::parser::print_json(std::ostream &os) const noexcept { +- return is_valid() ? doc.print_json(os) : false; ++ if (!is_valid()) { return false; } ++ os << minify(doc); ++ return true; + } + inline bool document::parser::dump_raw_tape(std::ostream &os) const noexcept { + return is_valid() ? doc.dump_raw_tape(os) : false; + } ++#if __cpp_exceptions + inline const document &document::parser::get_document() const noexcept(false) { + if (!is_valid()) { +- throw invalid_json(error); ++ throw simdjson_error(error); + } + return doc; + } ++#endif ++ ++inline document::doc_ref_result document::parser::load(const std::string &path) noexcept { ++ auto [json, _error] = padded_string::load(path); ++ if (_error) { return doc_ref_result(doc, _error); } ++ return parse(json); ++} ++ ++inline document::stream document::parser::load_many(const std::string &path, size_t batch_size) noexcept { ++ auto [json, _error] = padded_string::load(path); ++ return stream(*this, reinterpret_cast(json.data()), json.length(), batch_size, _error); ++} + + inline document::doc_ref_result document::parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) noexcept { +- error_code code = init_parse(len); ++ error_code code = ensure_capacity(len); + if (code) { return document::doc_ref_result(doc, code); } + + if (realloc_if_needed) { + const uint8_t *tmp_buf = buf; +- buf = (uint8_t *)allocate_padded_buffer(len); ++ buf = (uint8_t *)internal::allocate_padded_buffer(len); + if (buf == nullptr) + return document::doc_ref_result(doc, MEMALLOC); + memcpy((void *)buf, tmp_buf, len); +@@ -2927,20 +3736,33 @@ really_inline document::doc_ref_result document::parser::parse(const padded_stri + return parse(s.data(), s.length(), false); + } + ++inline document::stream document::parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { ++ return stream(*this, buf, len, batch_size); ++} ++inline document::stream document::parser::parse_many(const char *buf, size_t len, size_t batch_size) noexcept { ++ return parse_many((const uint8_t *)buf, len, batch_size); ++} ++inline document::stream document::parser::parse_many(const std::string &s, size_t batch_size) noexcept { ++ return parse_many(s.data(), s.length(), batch_size); ++} ++inline document::stream document::parser::parse_many(const padded_string &s, size_t batch_size) noexcept { ++ return parse_many(s.data(), s.length(), batch_size); ++} ++ + really_inline size_t document::parser::capacity() const noexcept { + return _capacity; + } ++really_inline size_t document::parser::max_capacity() const noexcept { ++ return _max_capacity; ++} + really_inline size_t document::parser::max_depth() const noexcept { + return _max_depth; + } +-WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) { +- return set_capacity(capacity) && set_max_depth(max_depth); +-} + + WARN_UNUSED +-inline bool document::parser::set_capacity(size_t capacity) { ++inline error_code document::parser::set_capacity(size_t capacity) noexcept { + if (_capacity == capacity) { +- return true; ++ return SUCCESS; + } + + // Set capacity to 0 until we finish, in case there's an error +@@ -2949,16 +3771,15 @@ inline bool document::parser::set_capacity(size_t capacity) { + // + // Reallocate the document + // +- if (!doc.set_capacity(capacity)) { +- return false; +- } ++ error_code err = doc.set_capacity(capacity); ++ if (err) { return err; } + + // + // Don't allocate 0 bytes, just return. + // + if (capacity == 0) { + structural_indexes.reset(); +- return true; ++ return SUCCESS; + } + + // +@@ -2967,20 +3788,26 @@ inline bool document::parser::set_capacity(size_t capacity) { + uint32_t max_structures = ROUNDUP_N(capacity, 64) + 2 + 7; + structural_indexes.reset( new (std::nothrow) uint32_t[max_structures]); // TODO realloc + if (!structural_indexes) { +- return false; ++ return MEMALLOC; + } + + _capacity = capacity; +- return true; ++ return SUCCESS; ++} ++ ++really_inline void document::parser::set_max_capacity(size_t max_capacity) noexcept { ++ _max_capacity = max_capacity; + } + +-WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) { ++WARN_UNUSED inline error_code document::parser::set_max_depth(size_t max_depth) noexcept { ++ if (max_depth == _max_depth && ret_address) { return SUCCESS; } ++ + _max_depth = 0; + + if (max_depth == 0) { + ret_address.reset(); + containing_scope_offset.reset(); +- return true; ++ return SUCCESS; + } + + // +@@ -2995,24 +3822,38 @@ WARN_UNUSED inline bool document::parser::set_max_depth(size_t max_depth) { + + if (!ret_address || !containing_scope_offset) { + // Could not allocate memory +- return false; ++ return MEMALLOC; + } + + _max_depth = max_depth; +- return true; ++ return SUCCESS; + } + +-WARN_UNUSED +-inline error_code document::parser::init_parse(size_t len) noexcept { +- if (len > capacity()) { +- return error = CAPACITY; ++WARN_UNUSED inline bool document::parser::allocate_capacity(size_t capacity, size_t max_depth) noexcept { ++ return !set_capacity(capacity) && !set_max_depth(max_depth); ++} ++ ++inline error_code document::parser::ensure_capacity(size_t desired_capacity) noexcept { ++ // If we don't have enough capacity, (try to) automatically bump it. ++ if (unlikely(desired_capacity > capacity())) { ++ if (desired_capacity > max_capacity()) { ++ return error = CAPACITY; ++ } ++ ++ error = set_capacity(desired_capacity); ++ if (error) { return error; } + } ++ ++ // Allocate depth-based buffers if they aren't already. ++ error = set_max_depth(max_depth()); ++ if (error) { return error; } ++ + // If the last doc was taken, we need to allocate a new one + if (!doc.tape) { +- if (!doc.set_capacity(len)) { +- return error = MEMALLOC; +- } ++ error = doc.set_capacity(desired_capacity); ++ if (error) { return error; } + } ++ + return SUCCESS; + } + +@@ -3039,13 +3880,22 @@ really_inline document::tape_type document::tape_ref::type() const noexcept { + return static_cast(doc->tape[json_index] >> 56); + } + really_inline uint64_t document::tape_ref::tape_value() const noexcept { +- return doc->tape[json_index] & JSON_VALUE_MASK; ++ return doc->tape[json_index] & internal::JSON_VALUE_MASK; + } + template + really_inline T document::tape_ref::next_tape_value() const noexcept { + static_assert(sizeof(T) == sizeof(uint64_t)); + return *reinterpret_cast(&doc->tape[json_index + 1]); + } ++inline std::string_view document::tape_ref::get_string_view() const noexcept { ++ size_t string_buf_index = tape_value(); ++ uint32_t len; ++ memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len)); ++ return std::string_view( ++ reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]), ++ len ++ ); ++} + + // + // document::array inline implementation +@@ -3166,6 +4016,7 @@ really_inline bool document::element::is_array() const noexcept { + really_inline bool document::element::is_object() const noexcept { + return type() == tape_type::START_OBJECT; + } ++#if __cpp_exceptions + inline document::element::operator bool() const noexcept(false) { return as_bool(); } + inline document::element::operator const char*() const noexcept(false) { return as_c_str(); } + inline document::element::operator std::string_view() const noexcept(false) { return as_string(); } +@@ -3174,6 +4025,7 @@ inline document::element::operator int64_t() const noexcept(false) { return as_i + inline document::element::operator double() const noexcept(false) { return as_double(); } + inline document::element::operator document::array() const noexcept(false) { return as_array(); } + inline document::element::operator document::object() const noexcept(false) { return as_object(); } ++#endif + inline document::element_result document::element::as_bool() const noexcept { + switch (type()) { + case tape_type::TRUE_VALUE: +@@ -3196,15 +4048,8 @@ inline document::element_result document::element::as_c_str() cons + } + inline document::element_result document::element::as_string() const noexcept { + switch (type()) { +- case tape_type::STRING: { +- size_t string_buf_index = tape_value(); +- uint32_t len; +- memcpy(&len, &doc->string_buf[string_buf_index], sizeof(len)); +- return std::string_view( +- reinterpret_cast(&doc->string_buf[string_buf_index + sizeof(uint32_t)]), +- len +- ); +- } ++ case tape_type::STRING: ++ return get_string_view(); + default: + return INCORRECT_TYPE; + } +@@ -3237,7 +4082,6 @@ inline document::element_result document::element::as_int64_t() const n + case tape_type::INT64: + return next_tape_value(); + default: +- std::cout << "Incorrect " << json_index << " = " << char(type()) << std::endl; + return INCORRECT_TYPE; + } + } +@@ -3286,6 +4130,197 @@ inline document::element_result document::element::operator[] + return obj[key]; + } + ++// ++// minify inline implementation ++// ++ ++template<> ++inline std::ostream& minify::print(std::ostream& out) { ++ return out << minify(value.root()); ++} ++template<> ++inline std::ostream& minify::print(std::ostream& out) { ++ using tape_type=document::tape_type; ++ ++ size_t depth = 0; ++ constexpr size_t MAX_DEPTH = 16; ++ bool is_object[MAX_DEPTH]; ++ is_object[0] = false; ++ bool after_value = false; ++ ++ document::tape_ref iter(value.doc, value.json_index); ++ do { ++ // print commas after each value ++ if (after_value) { ++ out << ","; ++ } ++ // If we are in an object, print the next key and :, and skip to the next value. ++ if (is_object[depth]) { ++ out << '"' << internal::escape_json_string(iter.get_string_view()) << "\":"; ++ iter.json_index++; ++ } ++ switch (iter.type()) { ++ ++ // Arrays ++ case tape_type::START_ARRAY: { ++ // If we're too deep, we need to recurse to go deeper. ++ depth++; ++ if (unlikely(depth >= MAX_DEPTH)) { ++ out << minify(document::array(iter.doc, iter.json_index)); ++ iter.json_index = iter.tape_value() - 1; // Jump to the ] ++ depth--; ++ break; ++ } ++ ++ // Output start [ ++ out << '['; ++ iter.json_index++; ++ ++ // Handle empty [] (we don't want to come back around and print commas) ++ if (iter.type() == tape_type::END_ARRAY) { ++ out << ']'; ++ depth--; ++ break; ++ } ++ ++ is_object[depth] = false; ++ after_value = false; ++ continue; ++ } ++ ++ // Objects ++ case tape_type::START_OBJECT: { ++ // If we're too deep, we need to recurse to go deeper. ++ depth++; ++ if (unlikely(depth >= MAX_DEPTH)) { ++ out << minify(document::object(iter.doc, iter.json_index)); ++ iter.json_index = iter.tape_value() - 1; // Jump to the } ++ depth--; ++ break; ++ } ++ ++ // Output start { ++ out << '{'; ++ iter.json_index++; ++ ++ // Handle empty {} (we don't want to come back around and print commas) ++ if (iter.type() == tape_type::END_OBJECT) { ++ out << '}'; ++ depth--; ++ break; ++ } ++ ++ is_object[depth] = true; ++ after_value = false; ++ continue; ++ } ++ ++ // Scalars ++ case tape_type::STRING: ++ out << '"' << internal::escape_json_string(iter.get_string_view()) << '"'; ++ break; ++ case tape_type::INT64: ++ out << iter.next_tape_value(); ++ iter.json_index++; // numbers take up 2 spots, so we need to increment extra ++ break; ++ case tape_type::UINT64: ++ out << iter.next_tape_value(); ++ iter.json_index++; // numbers take up 2 spots, so we need to increment extra ++ break; ++ case tape_type::DOUBLE: ++ out << iter.next_tape_value(); ++ iter.json_index++; // numbers take up 2 spots, so we need to increment extra ++ break; ++ case tape_type::TRUE_VALUE: ++ out << "true"; ++ break; ++ case tape_type::FALSE_VALUE: ++ out << "false"; ++ break; ++ case tape_type::NULL_VALUE: ++ out << "null"; ++ break; ++ ++ // These are impossible ++ case tape_type::END_ARRAY: ++ case tape_type::END_OBJECT: ++ case tape_type::ROOT: ++ abort(); ++ } ++ iter.json_index++; ++ after_value = true; ++ ++ // Handle multiple ends in a row ++ while (depth != 0 && (iter.type() == tape_type::END_ARRAY || iter.type() == tape_type::END_OBJECT)) { ++ out << char(iter.type()); ++ depth--; ++ iter.json_index++; ++ } ++ ++ // Stop when we're at depth 0 ++ } while (depth != 0); ++ ++ return out; ++} ++template<> ++inline std::ostream& minify::print(std::ostream& out) { ++ out << '{'; ++ auto pair = value.begin(); ++ auto end = value.end(); ++ if (pair != end) { ++ out << minify(*pair); ++ for (++pair; pair != end; ++pair) { ++ out << "," << minify(*pair); ++ } ++ } ++ return out << '}'; ++} ++template<> ++inline std::ostream& minify::print(std::ostream& out) { ++ out << '['; ++ auto element = value.begin(); ++ auto end = value.end(); ++ if (element != end) { ++ out << minify(*element); ++ for (++element; element != end; ++element) { ++ out << "," << minify(*element); ++ } ++ } ++ return out << ']'; ++} ++template<> ++inline std::ostream& minify::print(std::ostream& out) { ++ return out << '"' << internal::escape_json_string(value.key) << "\":" << value.value; ++} ++ ++#if __cpp_exceptions ++template<> ++inline std::ostream& minify::print(std::ostream& out) { ++ if (value.error) { throw simdjson_error(value.error); } ++ return out << minify(value.doc); ++} ++template<> ++inline std::ostream& minify::print(std::ostream& out) { ++ if (value.error) { throw simdjson_error(value.error); } ++ return out << minify(value.doc); ++} ++template<> ++inline std::ostream& minify>::print(std::ostream& out) { ++ if (value.error) { throw simdjson_error(value.error); } ++ return out << minify(value.value); ++} ++template<> ++inline std::ostream& minify>::print(std::ostream& out) { ++ if (value.error) { throw simdjson_error(value.error); } ++ return out << minify(value.value); ++} ++template<> ++inline std::ostream& minify>::print(std::ostream& out) { ++ if (value.error) { throw simdjson_error(value.error); } ++ return out << minify(value.value); ++} ++#endif ++ + } // namespace simdjson + + #endif // SIMDJSON_INLINE_DOCUMENT_H +@@ -3442,7 +4477,7 @@ template bool document_iterator::prev() { + oldnpos = npos; + if ((current_type == '[') || (current_type == '{')) { + // we need to jump +- npos = (current_val & JSON_VALUE_MASK); ++ npos = (current_val & internal::JSON_VALUE_MASK); + } else { + npos = npos + ((current_type == 'd' || current_type == 'l') ? 2 : 1); + } +@@ -3471,7 +4506,7 @@ template bool document_iterator::down() { + return false; + } + if ((current_type == '[') || (current_type == '{')) { +- size_t npos = (current_val & JSON_VALUE_MASK); ++ size_t npos = (current_val & internal::JSON_VALUE_MASK); + if (npos == location + 2) { + return false; // we have an empty scope + } +@@ -3498,7 +4533,7 @@ template bool document_iterator::next() { + size_t npos; + if ((current_type == '[') || (current_type == '{')) { + // we need to jump +- npos = (current_val & JSON_VALUE_MASK); ++ npos = (current_val & internal::JSON_VALUE_MASK); + } else { + npos = location + (is_number() ? 2 : 1); + } +@@ -3520,7 +4555,7 @@ document_iterator::document_iterator(const document &doc_) noexcept + current_val = doc.tape[location++]; + current_type = (current_val >> 56); + depth_index[0].scope_type = current_type; +- tape_length = current_val & JSON_VALUE_MASK; ++ tape_length = current_val & internal::JSON_VALUE_MASK; + if (location < tape_length) { + // If we make it here, then depth_capacity must >=2, but the compiler + // may not know this. +@@ -3533,9 +4568,11 @@ document_iterator::document_iterator(const document &doc_) noexcept + } + } + ++#if __cpp_exceptions + template + document_iterator::document_iterator(const document::parser &parser) + : document_iterator(parser.get_document()) {} ++#endif + + template + document_iterator::document_iterator( +@@ -3568,7 +4605,7 @@ bool document_iterator::print(std::ostream &os, bool escape_strings) + case '"': // we have a string + os << '"'; + if (escape_strings) { +- internal::print_with_escapes(get_string(), os, get_string_length()); ++ os << internal::escape_json_string(std::string_view(get_string(), get_string_length())); + } else { + // was: os << get_string();, but given that we can include null chars, we + // have to do something crazier: +@@ -3748,7 +4785,7 @@ bool document_iterator::relative_move_to(const char *pointer, + size_t npos; + if ((current_type == '[') || (current_type == '{')) { + // we need to jump +- npos = (current_val & JSON_VALUE_MASK); ++ npos = (current_val & internal::JSON_VALUE_MASK); + } else { + npos = + location + ((current_type == 'd' || current_type == 'l') ? 2 : 1); +@@ -3782,18 +4819,21 @@ bool document_iterator::relative_move_to(const char *pointer, + + #endif // SIMDJSON_INLINE_DOCUMENT_ITERATOR_H + /* end file include/simdjson/inline/document_iterator.h */ +-/* begin file include/simdjson/inline/jsonstream.h */ +-#ifndef SIMDJSON_INLINE_JSONSTREAM_H +-#define SIMDJSON_INLINE_JSONSTREAM_H ++/* begin file include/simdjson/inline/document_stream.h */ ++#ifndef SIMDJSON_INLINE_DOCUMENT_STREAM_H ++#define SIMDJSON_INLINE_DOCUMENT_STREAM_H + + #include + #include ++#if __cpp_exceptions + #include ++#endif + #include + + namespace simdjson::internal { + +-/* This algorithm is used to quickly identify the buffer position of ++/** ++ * This algorithm is used to quickly identify the buffer position of + * the last JSON document inside the current batch. + * + * It does its work by finding the last pair of structural characters +@@ -3880,13 +4920,17 @@ static inline size_t trimmed_length_safe_utf8(const char * c, size_t len) { + + namespace simdjson { + +-template +-JsonStream::JsonStream(const string_container &s, +- size_t batchSize) +- : str(s), _batch_size(batchSize) { ++really_inline document::stream::stream( ++ document::parser &_parser, ++ const uint8_t *buf, ++ size_t len, ++ size_t batch_size, ++ error_code _error ++) noexcept : parser{_parser}, _buf{buf}, _len{len}, _batch_size(batch_size), error{_error} { ++ if (!error) { error = json_parse(); } + } + +-template JsonStream::~JsonStream() { ++inline document::stream::~stream() noexcept { + #ifdef SIMDJSON_THREADS_ENABLED + if (stage_1_thread.joinable()) { + stage_1_thread.join(); +@@ -3894,42 +4938,61 @@ template JsonStream::~JsonStream() { + #endif + } + ++really_inline document::stream::iterator document::stream::begin() noexcept { ++ return iterator(*this, false); ++} ++ ++really_inline document::stream::iterator document::stream::end() noexcept { ++ return iterator(*this, true); ++} ++ ++really_inline document::stream::iterator::iterator(stream& stream, bool _is_end) noexcept ++ : _stream{stream}, finished{_is_end} { ++} ++ ++really_inline document::doc_ref_result document::stream::iterator::operator*() noexcept { ++ return doc_ref_result(_stream.parser.doc, _stream.error == SUCCESS_AND_HAS_MORE ? SUCCESS : _stream.error); ++} ++ ++really_inline document::stream::iterator& document::stream::iterator::operator++() noexcept { ++ if (_stream.error == SUCCESS_AND_HAS_MORE) { ++ _stream.error = _stream.json_parse(); ++ } else { ++ finished = true; ++ } ++ return *this; ++} ++ ++really_inline bool document::stream::iterator::operator!=(const document::stream::iterator &other) const noexcept { ++ return finished != other.finished; ++} ++ + #ifdef SIMDJSON_THREADS_ENABLED + + // threaded version of json_parse + // todo: simplify this code further +-template +-int JsonStream::json_parse(document::parser &parser) { +- if (unlikely(parser.capacity() == 0)) { +- const bool allocok = parser.allocate_capacity(_batch_size); +- if (!allocok) { +- return parser.error = simdjson::MEMALLOC; +- } +- } else if (unlikely(parser.capacity() < _batch_size)) { +- return parser.error = simdjson::CAPACITY; +- } +- if (unlikely(parser_thread.capacity() < _batch_size)) { +- const bool allocok_thread = parser_thread.allocate_capacity(_batch_size); +- if (!allocok_thread) { +- return parser.error = simdjson::MEMALLOC; +- } +- } ++inline error_code document::stream::json_parse() noexcept { ++ error = parser.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ error = parser_thread.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ + if (unlikely(load_next_batch)) { + // First time loading + if (!stage_1_thread.joinable()) { + _batch_size = (std::min)(_batch_size, remaining()); + _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size); + if (_batch_size == 0) { +- return parser.error = simdjson::UTF8_ERROR; ++ return simdjson::UTF8_ERROR; + } + auto stage1_is_ok = error_code(simdjson::active_implementation->stage1(buf(), _batch_size, parser, true)); + if (stage1_is_ok != simdjson::SUCCESS) { +- return parser.error = stage1_is_ok; ++ return stage1_is_ok; + } + size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser); + if (last_index == 0) { + if (parser.n_structural_indexes == 0) { +- return parser.error = simdjson::EMPTY; ++ return simdjson::EMPTY; + } + } else { + parser.n_structural_indexes = last_index + 1; +@@ -3939,7 +5002,7 @@ int JsonStream::json_parse(document::parser &parser) { + else { + stage_1_thread.join(); + if (stage1_is_ok_thread != simdjson::SUCCESS) { +- return parser.error = stage1_is_ok_thread; ++ return stage1_is_ok_thread; + } + std::swap(parser.structural_indexes, parser_thread.structural_indexes); + parser.n_structural_indexes = parser_thread.n_structural_indexes; +@@ -3955,7 +5018,7 @@ int JsonStream::json_parse(document::parser &parser) { + _batch_size = internal::trimmed_length_safe_utf8( + (const char *)(buf() + last_json_buffer_loc), _batch_size); + if (_batch_size == 0) { +- return parser.error = simdjson::UTF8_ERROR; ++ return simdjson::UTF8_ERROR; + } + // let us capture read-only variables + const uint8_t *const b = buf() + last_json_buffer_loc; +@@ -3971,7 +5034,7 @@ int JsonStream::json_parse(document::parser &parser) { + next_json = 0; + load_next_batch = false; + } // load_next_batch +- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); ++ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); + if (res == simdjson::SUCCESS_AND_HAS_MORE) { + n_parsed_docs++; + current_buffer_loc = parser.structural_indexes[next_json]; +@@ -3990,18 +5053,10 @@ int JsonStream::json_parse(document::parser &parser) { + #else // SIMDJSON_THREADS_ENABLED + + // single-threaded version of json_parse +-template +-int JsonStream::json_parse(document::parser &parser) { +- if (unlikely(parser.capacity() == 0)) { +- const bool allocok = parser.allocate_capacity(_batch_size); +- if (!allocok) { +- parser.valid = false; +- return parser.error = MEMALLOC; +- } +- } else if (unlikely(parser.capacity() < _batch_size)) { +- parser.valid = false; +- return parser.error = CAPACITY; +- } ++inline error_code document::stream::json_parse() noexcept { ++ error = parser.ensure_capacity(_batch_size); ++ if (error) { return error; } ++ + if (unlikely(load_next_batch)) { + advance(current_buffer_loc); + n_bytes_parsed += current_buffer_loc; +@@ -4009,21 +5064,19 @@ int JsonStream::json_parse(document::parser &parser) { + _batch_size = internal::trimmed_length_safe_utf8((const char *)buf(), _batch_size); + auto stage1_is_ok = (error_code)simdjson::active_implementation->stage1(buf(), _batch_size, parser, true); + if (stage1_is_ok != simdjson::SUCCESS) { +- parser.valid = false; +- return parser.error = stage1_is_ok; ++ return stage1_is_ok; + } + size_t last_index = internal::find_last_json_buf_idx(buf(), _batch_size, parser); + if (last_index == 0) { + if (parser.n_structural_indexes == 0) { +- parser.valid = false; +- return parser.error = EMPTY; ++ return EMPTY; + } + } else { + parser.n_structural_indexes = last_index + 1; + } + load_next_batch = false; + } // load_next_batch +- int res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); ++ error_code res = simdjson::active_implementation->stage2(buf(), remaining(), parser, next_json); + if (likely(res == simdjson::SUCCESS_AND_HAS_MORE)) { + n_parsed_docs++; + current_buffer_loc = parser.structural_indexes[next_json]; +@@ -4035,16 +5088,248 @@ int JsonStream::json_parse(document::parser &parser) { + load_next_batch = true; + res = simdjson::SUCCESS_AND_HAS_MORE; + } +- } else { +- printf("E\n"); + } + return res; + } + #endif // SIMDJSON_THREADS_ENABLED + + } // end of namespace simdjson ++#endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H ++/* end file include/simdjson/inline/document_stream.h */ ++/* begin file include/simdjson/inline/error.h */ ++#ifndef SIMDJSON_INLINE_ERROR_H ++#define SIMDJSON_INLINE_ERROR_H ++ ++#include ++ ++namespace simdjson::internal { ++ // We store the error code so we can validate the error message is associated with the right code ++ struct error_code_info { ++ error_code code; ++ std::string message; ++ }; ++ // These MUST match the codes in error_code. We check this constraint in basictests. ++ inline const error_code_info error_codes[] { ++ { SUCCESS, "No error" }, ++ { SUCCESS_AND_HAS_MORE, "No error and buffer still has more data" }, ++ { CAPACITY, "This parser can't support a document that big" }, ++ { MEMALLOC, "Error allocating memory, we're most likely out of memory" }, ++ { TAPE_ERROR, "Something went wrong while writing to the tape" }, ++ { DEPTH_ERROR, "The JSON document was too deep (too many nested objects and arrays)" }, ++ { STRING_ERROR, "Problem while parsing a string" }, ++ { T_ATOM_ERROR, "Problem while parsing an atom starting with the letter 't'" }, ++ { F_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'f'" }, ++ { N_ATOM_ERROR, "Problem while parsing an atom starting with the letter 'n'" }, ++ { NUMBER_ERROR, "Problem while parsing a number" }, ++ { UTF8_ERROR, "The input is not valid UTF-8" }, ++ { UNINITIALIZED, "Uninitialized" }, ++ { EMPTY, "Empty: no JSON found" }, ++ { UNESCAPED_CHARS, "Within strings, some characters must be escaped, we found unescaped characters" }, ++ { UNCLOSED_STRING, "A string is opened, but never closed." }, ++ { UNSUPPORTED_ARCHITECTURE, "simdjson does not have an implementation supported by this CPU architecture (perhaps it's a non-SIMD CPU?)." }, ++ { INCORRECT_TYPE, "The JSON element does not have the requested type." }, ++ { NUMBER_OUT_OF_RANGE, "The JSON number is too large or too small to fit within the requested type." }, ++ { NO_SUCH_FIELD, "The JSON field referenced does not exist in this object." }, ++ { IO_ERROR, "Error reading the file." }, ++ { UNEXPECTED_ERROR, "Unexpected error, consider reporting this problem as you may have found a bug in simdjson" } ++ }; // error_messages[] ++} // namespace simdjson::internal ++ ++namespace simdjson { ++ ++inline const char *error_message(error_code error) noexcept { ++ // If you're using error_code, we're trusting you got it from the enum. ++ return internal::error_codes[int(error)].message.c_str(); ++} ++ ++inline const std::string &error_message(int error) noexcept { ++ if (error < 0 || error >= error_code::NUM_ERROR_CODES) { ++ return internal::error_codes[UNEXPECTED_ERROR].message; ++ } ++ return internal::error_codes[error].message; ++} ++ ++inline std::ostream& operator<<(std::ostream& out, error_code error) noexcept { ++ return out << error_message(error); ++} ++ ++} // namespace simdjson ++ ++#endif // SIMDJSON_INLINE_ERROR_H ++/* end file include/simdjson/inline/error.h */ ++/* begin file include/simdjson/inline/jsonstream.h */ ++// TODO Remove this -- deprecated API and files ++ ++#ifndef SIMDJSON_INLINE_JSONSTREAM_H ++#define SIMDJSON_INLINE_JSONSTREAM_H ++ ++ ++namespace simdjson { ++ ++template ++inline JsonStream::JsonStream(const string_container &s, size_t _batch_size) noexcept ++ : str(s), batch_size(_batch_size) { ++} ++ ++template ++inline JsonStream::~JsonStream() noexcept { ++ if (stream) { delete stream; } ++} ++ ++template ++inline int JsonStream::json_parse(document::parser &parser) noexcept { ++ if (unlikely(stream == nullptr)) { ++ stream = new document::stream(parser, reinterpret_cast(str.data()), str.length(), batch_size); ++ } else { ++ if (&parser != &stream->parser) { return stream->error = TAPE_ERROR; } ++ stream->error = stream->json_parse(); ++ } ++ return stream->error; ++} ++ ++} // namespace simdjson ++ + #endif // SIMDJSON_INLINE_JSONSTREAM_H + /* end file include/simdjson/inline/jsonstream.h */ ++/* begin file include/simdjson/inline/padded_string.h */ ++#ifndef SIMDJSON_INLINE_PADDED_STRING_H ++#define SIMDJSON_INLINE_PADDED_STRING_H ++ ++ ++#include ++#include ++#include ++#include ++ ++namespace simdjson::internal { ++ ++// low-level function to allocate memory with padding so we can read past the ++// "length" bytes safely. if you must provide a pointer to some data, create it ++// with this function: length is the max. size in bytes of the string caller is ++// responsible to free the memory (free(...)) ++inline char *allocate_padded_buffer(size_t length) noexcept { ++ // we could do a simple malloc ++ // return (char *) malloc(length + SIMDJSON_PADDING); ++ // However, we might as well align to cache lines... ++ size_t totalpaddedlength = length + SIMDJSON_PADDING; ++ char *padded_buffer = aligned_malloc_char(64, totalpaddedlength); ++#ifndef NDEBUG ++ if (padded_buffer == nullptr) { ++ return nullptr; ++ } ++#endif // NDEBUG ++ memset(padded_buffer + length, 0, totalpaddedlength - length); ++ return padded_buffer; ++} // allocate_padded_buffer() ++ ++} // namespace simdjson::internal ++ ++namespace simdjson { ++ ++inline padded_string::padded_string() noexcept : viable_size(0), data_ptr(nullptr) {} ++inline padded_string::padded_string(size_t length) noexcept ++ : viable_size(length), data_ptr(internal::allocate_padded_buffer(length)) { ++ if (data_ptr != nullptr) ++ data_ptr[length] = '\0'; // easier when you need a c_str ++} ++inline padded_string::padded_string(const char *data, size_t length) noexcept ++ : viable_size(length), data_ptr(internal::allocate_padded_buffer(length)) { ++ if ((data != nullptr) and (data_ptr != nullptr)) { ++ memcpy(data_ptr, data, length); ++ data_ptr[length] = '\0'; // easier when you need a c_str ++ } ++} ++// note: do not pass std::string arguments by value ++inline padded_string::padded_string(const std::string & str_ ) noexcept ++ : viable_size(str_.size()), data_ptr(internal::allocate_padded_buffer(str_.size())) { ++ if (data_ptr != nullptr) { ++ memcpy(data_ptr, str_.data(), str_.size()); ++ data_ptr[str_.size()] = '\0'; // easier when you need a c_str ++ } ++} ++// note: do pass std::string_view arguments by value ++inline padded_string::padded_string(std::string_view sv_) noexcept ++ : viable_size(sv_.size()), data_ptr(internal::allocate_padded_buffer(sv_.size())) { ++ if (data_ptr != nullptr) { ++ memcpy(data_ptr, sv_.data(), sv_.size()); ++ data_ptr[sv_.size()] = '\0'; // easier when you need a c_str ++ } ++} ++inline padded_string::padded_string(padded_string &&o) noexcept ++ : viable_size(o.viable_size), data_ptr(o.data_ptr) { ++ o.data_ptr = nullptr; // we take ownership ++} ++ ++inline padded_string &padded_string::operator=(padded_string &&o) noexcept { ++ aligned_free_char(data_ptr); ++ data_ptr = o.data_ptr; ++ viable_size = o.viable_size; ++ o.data_ptr = nullptr; // we take ownership ++ o.viable_size = 0; ++ return *this; ++} ++ ++inline void padded_string::swap(padded_string &o) noexcept { ++ size_t tmp_viable_size = viable_size; ++ char *tmp_data_ptr = data_ptr; ++ viable_size = o.viable_size; ++ data_ptr = o.data_ptr; ++ o.data_ptr = tmp_data_ptr; ++ o.viable_size = tmp_viable_size; ++} ++ ++inline padded_string::~padded_string() noexcept { ++ aligned_free_char(data_ptr); ++} ++ ++inline size_t padded_string::size() const noexcept { return viable_size; } ++ ++inline size_t padded_string::length() const noexcept { return viable_size; } ++ ++inline const char *padded_string::data() const noexcept { return data_ptr; } ++ ++inline char *padded_string::data() noexcept { return data_ptr; } ++ ++inline simdjson_result padded_string::load(const std::string &filename) noexcept { ++ // Open the file ++ std::FILE *fp = std::fopen(filename.c_str(), "rb"); ++ if (fp == nullptr) { ++ return IO_ERROR; ++ } ++ ++ // Get the file size ++ if(std::fseek(fp, 0, SEEK_END) < 0) { ++ std::fclose(fp); ++ return IO_ERROR; ++ } ++ long llen = std::ftell(fp); ++ if((llen < 0) || (llen == LONG_MAX)) { ++ std::fclose(fp); ++ return IO_ERROR; ++ } ++ ++ // Allocate the padded_string ++ size_t len = (size_t) llen; ++ padded_string s(len); ++ if (s.data() == nullptr) { ++ std::fclose(fp); ++ return MEMALLOC; ++ } ++ ++ // Read the padded_string ++ std::rewind(fp); ++ size_t bytes_read = std::fread(s.data(), 1, len, fp); ++ if (std::fclose(fp) != 0 || bytes_read != len) { ++ return IO_ERROR; ++ } ++ ++ return std::move(s); ++} ++ ++} // namespace simdjson ++ ++#endif // SIMDJSON_INLINE_PADDED_STRING_H ++/* end file include/simdjson/inline/padded_string.h */ + + #endif // SIMDJSON_H +-/* end file include/simdjson/inline/jsonstream.h */ ++/* end file include/simdjson/inline/padded_string.h */ diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/report.json new file mode 100644 index 000000000..dad6a34ca --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-559/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 559, "valid": false, "error_msg": "After applying the fix patch, no test results were captured when executing the test command. A brief summary is as follows: Test Result Summary:\nStage Descriptions:\n run : Execute the test command without any patches applied.\n test : Execute the test command after applying the test patch.\n fix : Execute the test command after applying both the test patch and the fix patch.\nEach stage is reported as (pass, fail, skip), representing the number of tests that passed, failed, or were skipped, respectively.\n\nResults:\n run = (6, 0, 0)\n test = (0, 0, 0)\n fix = (0, 0, 0)", "fixed_tests": {}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {}, "run_result": {"passed_count": 6, "failed_count": 0, "skipped_count": 0, "passed_tests": ["integer_tests", "errortests", "pointercheck", "jsoncheck", "parse_many_test", "basictests"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/fix-patch-run.log new file mode 100644 index 000000000..0b17351a7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/fix-patch-run.log @@ -0,0 +1,564 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5567 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.0 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (16.6 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (3837 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.688FwLSU +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.688FwLSU/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.688FwLSU/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.688FwLSU/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.688FwLSU/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.688FwLSU/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.688FwLSU +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=501ae699bde6 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.w9n71xox0j/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/basictests.cpp +patching file tests/pointercheck.cpp +patching file include/simdjson/document.h +patching file include/simdjson/inline/document.h +-- No build type selected, default to Release +-- The CXX compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Building a dynamic library (default). +-- SIMDJSON_LIB_TYPE: SHARED +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- Looking for C++ include pthread.h +-- Looking for C++ include pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 2%] Building CXX object src/CMakeFiles/simdjson.dir/simdjson.cpp.o +In file included from /home/simdjson/src/haswell/simd.h:6:0, + from /home/simdjson/src/haswell/stage1_find_marks.h:7, + from /home/simdjson/src/stage1_find_marks.cpp:8, + from /home/simdjson/src/simdjson.cpp:3: +/home/simdjson/src/haswell/bitmanipulation.h:17:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/westmere/simd.h:6:0, + from /home/simdjson/src/westmere/stage1_find_marks.h:6, + from /home/simdjson/src/stage1_find_marks.cpp:11, + from /home/simdjson/src/simdjson.cpp:3: +/home/simdjson/src/westmere/bitmanipulation.h:17:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +In file included from /home/simdjson/src/fallback/numberparsing.h:6:0, + from /home/simdjson/src/fallback/stage2_build_tape.h:8, + from /home/simdjson/src/stage2_build_tape.cpp:19, + from /home/simdjson/src/simdjson.cpp:4: +/home/simdjson/src/fallback/bitmanipulation.h:16:53: warning: 'no_sanitize' attribute directive ignored [-Wattributes] + really_inline int trailing_zeroes(uint64_t input_num) { + ^ +[ 4%] Linking CXX shared library ../libsimdjson.so +[ 4%] Built target simdjson +Scanning dependencies of target jsonstats +[ 7%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 9%] Linking CXX executable jsonstats +[ 9%] Built target jsonstats +Scanning dependencies of target json2json +[ 11%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 14%] Linking CXX executable json2json +[ 14%] Built target json2json +Scanning dependencies of target minify +[ 16%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 19%] Linking CXX executable minify +[ 19%] Built target minify +Scanning dependencies of target basictests +[ 21%] Building CXX object tests/CMakeFiles/basictests.dir/basictests.cpp.o +/home/simdjson/tests/basictests.cpp: In function 'bool document_tests::bad_example()': +/home/simdjson/tests/basictests.cpp:192:21: warning: unused variable 'doc' [-Wunused-variable] + auto [doc, error] = parser.parse(badjson); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool document_tests::skyprophet_test()': +/home/simdjson/tests/basictests.cpp:266:23: warning: unused variable 'doc1' [-Wunused-variable] + auto [doc1, res1] = parser.parse(rec.c_str(), rec.length()); + ^ +/home/simdjson/tests/basictests.cpp:272:23: warning: unused variable 'doc2' [-Wunused-variable] + auto [doc2, res2] = parser.parse(rec.c_str(), rec.length()); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool document_tests::lots_of_brackets()': +/home/simdjson/tests/basictests.cpp:291:21: warning: unused variable 'doc' [-Wunused-variable] + auto [doc, error] = parser.parse(input); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool document_stream_tests::parse_json_message_issue467(simdjson::padded_string&, size_t)': +/home/simdjson/tests/basictests.cpp:318:26: warning: unused variable 'doc' [-Wunused-variable] + for (auto [doc, error] : parser.parse_many(json)) { + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api_tests::twitter_image_sizes()': +/home/simdjson/tests/basictests.cpp:903:31: warning: unused variable 'key' [-Wunused-variable] + for (auto [key, size] : sizes) { + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool dom_api_tests::twitter_image_sizes_exception()': +/home/simdjson/tests/basictests.cpp:1064:31: warning: unused variable 'key' [-Wunused-variable] + for (auto [key, size] : image["sizes"].get()) { + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_element()': +/home/simdjson/tests/basictests.cpp:1145:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["foo"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_element()': +/home/simdjson/tests/basictests.cpp:1153:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["foo"]; + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_array()': +/home/simdjson/tests/basictests.cpp:1162:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["bar"].get(); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_array()': +/home/simdjson/tests/basictests.cpp:1170:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["bar"].get(); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_object()': +/home/simdjson/tests/basictests.cpp:1179:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["baz"].get(); + ^ +/home/simdjson/tests/basictests.cpp: In function 'bool format_tests::print_minify_object()': +/home/simdjson/tests/basictests.cpp:1187:23: warning: unused variable 'error' [-Wunused-variable] + auto [value, error] = parser.parse(DOCUMENT)["baz"].get(); + ^ +[ 23%] Linking CXX executable basictests +[ 23%] Built target basictests +Scanning dependencies of target errortests +[ 26%] Building CXX object tests/CMakeFiles/errortests.dir/errortests.cpp.o +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_load_capacity()': +/home/simdjson/tests/errortests.cpp:30:21: warning: unused variable 'doc' [-Wunused-variable] + auto [doc, error] = parser.load(JSON_TEST_PATH); + ^ +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_load_many_capacity()': +/home/simdjson/tests/errortests.cpp:37:26: warning: unused variable 'doc' [-Wunused-variable] + for (auto [doc, error] : parser.load_many(JSON_TEST_PATH)) { + ^ +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_load_nonexistent()': +/home/simdjson/tests/errortests.cpp:47:21: warning: unused variable 'doc' [-Wunused-variable] + auto [doc, error] = parser.load(NONEXISTENT_FILE); + ^ +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_load_many_nonexistent()': +/home/simdjson/tests/errortests.cpp:54:26: warning: unused variable 'doc' [-Wunused-variable] + for (auto [doc, error] : parser.load_many(NONEXISTENT_FILE)) { + ^ +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_load_chain()': +/home/simdjson/tests/errortests.cpp:70:21: warning: unused variable 'val' [-Wunused-variable] + auto [val, error] = parser.load(NONEXISTENT_FILE)["foo"].get(); + ^ +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_load_many_chain()': +/home/simdjson/tests/errortests.cpp:78:23: warning: unused variable 'val' [-Wunused-variable] + auto [val, error] = doc["foo"].get(); + ^ +[ 28%] Linking CXX executable errortests +[ 28%] Built target errortests +Scanning dependencies of target jsoncheck +[ 30%] Building CXX object tests/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +/home/simdjson/tests/jsoncheck.cpp: In function 'bool validate(const char*)': +/home/simdjson/tests/jsoncheck.cpp:73:27: warning: unused variable 'doc' [-Wunused-variable] + auto [doc, errorcode] = parser.parse(p); + ^ +[ 33%] Linking CXX executable jsoncheck +[ 33%] Built target jsoncheck +Scanning dependencies of target parse_many_test +[ 35%] Building CXX object tests/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 38%] Linking CXX executable parse_many_test +[ 38%] Built target parse_many_test +Scanning dependencies of target pointercheck +[ 40%] Building CXX object tests/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +/home/simdjson/tests/pointercheck.cpp: In function 'bool json_pointer_success_test(const char*)': +/home/simdjson/tests/pointercheck.cpp:47:21: warning: unused variable 'value' [-Wunused-variable] + auto [value, error] = parser.parse(TEST_JSON).at(json_pointer); + ^ +/home/simdjson/tests/pointercheck.cpp: In function 'bool json_pointer_failure_test(const char*, simdjson::error_code)': +/home/simdjson/tests/pointercheck.cpp:56:21: warning: unused variable 'value' [-Wunused-variable] + auto [value, error] = parser.parse(TEST_JSON).at(json_pointer); + ^ +[ 42%] Linking CXX executable pointercheck +[ 42%] Built target pointercheck +Scanning dependencies of target integer_tests +[ 45%] Building CXX object tests/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 47%] Linking CXX executable integer_tests +[ 47%] Built target integer_tests +Scanning dependencies of target perfdiff +[ 50%] Building CXX object benchmark/CMakeFiles/perfdiff.dir/perfdiff.cpp.o +[ 52%] Linking CXX executable perfdiff +[ 52%] Built target perfdiff +Scanning dependencies of target parse_stream +[ 54%] Building CXX object benchmark/CMakeFiles/parse_stream.dir/parse_stream.cpp.o +[ 57%] Linking CXX executable parse_stream +[ 57%] Built target parse_stream +Scanning dependencies of target get_corpus_benchmark +[ 59%] Building CXX object benchmark/CMakeFiles/get_corpus_benchmark.dir/get_corpus_benchmark.cpp.o +[ 61%] Linking CXX executable get_corpus_benchmark +[ 61%] Built target get_corpus_benchmark +Scanning dependencies of target statisticalmodel +[ 64%] Building CXX object benchmark/CMakeFiles/statisticalmodel.dir/statisticalmodel.cpp.o +/home/simdjson/benchmark/statisticalmodel.cpp: In function 'void simdjson_recurse(stat_t&, simdjson::dom::element)': +/home/simdjson/benchmark/statisticalmodel.cpp:68:29: warning: unused variable 'array_error' [-Wunused-variable] + auto [array, array_error] = element.get(); + ^ +/home/simdjson/benchmark/statisticalmodel.cpp:79:26: warning: unused variable 'key' [-Wunused-variable] + for (auto [key, value] : object) { + ^ +/home/simdjson/benchmark/statisticalmodel.cpp:78:31: warning: unused variable 'object_error' [-Wunused-variable] + auto [object, object_error] = element.get(); + ^ +[ 66%] Linking CXX executable statisticalmodel +[ 66%] Built target statisticalmodel +Scanning dependencies of target parse +[ 69%] Building CXX object benchmark/CMakeFiles/parse.dir/parse.cpp.o +[ 71%] Linking CXX executable parse +[ 71%] Built target parse +Scanning dependencies of target fuzz_parser +[ 73%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/fuzz_parser.cpp.o +/home/simdjson/fuzz/fuzz_parser.cpp: In function 'int LLVMFuzzerTestOneInput(const uint8_t*, size_t)': +/home/simdjson/fuzz/fuzz_parser.cpp:7:56: warning: 'simdjson::dom::parser simdjson::build_parsed_json(const uint8_t*, size_t, bool)' is deprecated: Use parser.parse() instead [-Wdeprecated-declarations] + auto ignored = simdjson::build_parsed_json(Data, Size); + ^ +In file included from /home/simdjson/include/simdjson.h:15:0, + from /home/simdjson/fuzz/fuzz_parser.cpp:1: +/home/simdjson/include/simdjson/jsonparser.h:62:32: note: declared here + WARN_UNUSED inline dom::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept { + ^~~~~~~~~~~~~~~~~ +[ 76%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/main.cpp.o +[ 78%] Linking CXX executable fuzz_parser +[ 78%] Built target fuzz_parser +Scanning dependencies of target fuzz_dump +[ 80%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/fuzz_dump.cpp.o +/home/simdjson/fuzz/fuzz_dump.cpp:10:54: warning: 'Iterator' is deprecated: Use the new DOM navigation API instead (see doc/usage.md) [-Wdeprecated-declarations] + void compute_dump(simdjson::ParsedJson::Iterator &pjh) { + ^ +In file included from /home/simdjson/include/simdjson.h:17:0, + from /home/simdjson/fuzz/fuzz_dump.cpp:1: +/home/simdjson/include/simdjson/parsedjson_iterator.h:19:95: note: declared here + class [[deprecated("Use the new DOM navigation API instead (see doc/usage.md)")]] ParsedJson::Iterator { + ^~~~~~~~ +/home/simdjson/fuzz/fuzz_dump.cpp: In function 'int LLVMFuzzerTestOneInput(const uint8_t*, size_t)': +/home/simdjson/fuzz/fuzz_dump.cpp:49:53: warning: 'simdjson::dom::parser simdjson::build_parsed_json(const uint8_t*, size_t, bool)' is deprecated: Use parser.parse() instead [-Wdeprecated-declarations] + auto pj = simdjson::build_parsed_json(Data, Size); + ^ +In file included from /home/simdjson/include/simdjson.h:15:0, + from /home/simdjson/fuzz/fuzz_dump.cpp:1: +/home/simdjson/include/simdjson/jsonparser.h:62:32: note: declared here + WARN_UNUSED inline dom::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept { + ^~~~~~~~~~~~~~~~~ +/home/simdjson/fuzz/fuzz_dump.cpp:50:22: warning: 'bool simdjson::dom::parser::is_valid() const' is deprecated: Use the result of parser.parse() instead [-Wdeprecated-declarations] + if (!pj.is_valid()) { + ^ +In file included from /home/simdjson/include/simdjson.h:20:0, + from /home/simdjson/fuzz/fuzz_dump.cpp:1: +/home/simdjson/include/simdjson/inline/document.h:314:13: note: declared here + inline bool parser::is_valid() const noexcept { return valid; } + ^~~~~~ +/home/simdjson/fuzz/fuzz_dump.cpp:53:42: warning: 'Iterator' is deprecated: Use the new DOM navigation API instead (see doc/usage.md) [-Wdeprecated-declarations] + simdjson::ParsedJson::Iterator pjh(pj); + ^ +In file included from /home/simdjson/include/simdjson.h:17:0, + from /home/simdjson/fuzz/fuzz_dump.cpp:1: +/home/simdjson/include/simdjson/parsedjson_iterator.h:19:95: note: declared here + class [[deprecated("Use the new DOM navigation API instead (see doc/usage.md)")]] ParsedJson::Iterator { + ^~~~~~~~ +[ 83%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/main.cpp.o +[ 85%] Linking CXX executable fuzz_dump +[ 85%] Built target fuzz_dump +Scanning dependencies of target fuzz_print_json +[ 88%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/fuzz_print_json.cpp.o +/home/simdjson/fuzz/fuzz_print_json.cpp: In function 'int LLVMFuzzerTestOneInput(const uint8_t*, size_t)': +/home/simdjson/fuzz/fuzz_print_json.cpp:12:53: warning: 'simdjson::dom::parser simdjson::build_parsed_json(const uint8_t*, size_t, bool)' is deprecated: Use parser.parse() instead [-Wdeprecated-declarations] + auto pj = simdjson::build_parsed_json(Data, Size); + ^ +In file included from /home/simdjson/include/simdjson.h:15:0, + from /home/simdjson/fuzz/fuzz_print_json.cpp:1: +/home/simdjson/include/simdjson/jsonparser.h:62:32: note: declared here + WARN_UNUSED inline dom::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept { + ^~~~~~~~~~~~~~~~~ +/home/simdjson/fuzz/fuzz_print_json.cpp:14:34: warning: 'bool simdjson::dom::parser::print_json(std::ostream&) const' is deprecated: Use cout << on the result of parser.parse() instead [-Wdeprecated-declarations] + bool ignored=pj.print_json(os); + ^ +In file included from /home/simdjson/include/simdjson.h:20:0, + from /home/simdjson/fuzz/fuzz_print_json.cpp:1: +/home/simdjson/include/simdjson/inline/document.h:317:13: note: declared here + inline bool parser::print_json(std::ostream &os) const noexcept { + ^~~~~~ +[ 90%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/main.cpp.o +[ 92%] Linking CXX executable fuzz_print_json +[ 92%] Built target fuzz_print_json +Scanning dependencies of target fuzz_dump_raw_tape +[ 95%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/fuzz_dump_raw_tape.cpp.o +/home/simdjson/fuzz/fuzz_dump_raw_tape.cpp: In function 'int LLVMFuzzerTestOneInput(const uint8_t*, size_t)': +/home/simdjson/fuzz/fuzz_dump_raw_tape.cpp:12:53: warning: 'simdjson::dom::parser simdjson::build_parsed_json(const uint8_t*, size_t, bool)' is deprecated: Use parser.parse() instead [-Wdeprecated-declarations] + auto pj = simdjson::build_parsed_json(Data, Size); + ^ +In file included from /home/simdjson/include/simdjson.h:15:0, + from /home/simdjson/fuzz/fuzz_dump_raw_tape.cpp:1: +/home/simdjson/include/simdjson/jsonparser.h:62:32: note: declared here + WARN_UNUSED inline dom::parser build_parsed_json(const uint8_t *buf, size_t len, bool realloc_if_needed = true) noexcept { + ^~~~~~~~~~~~~~~~~ +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/main.cpp.o +[100%] Linking CXX executable fuzz_dump_raw_tape +[100%] Built target fuzz_dump_raw_tape +Test project /home/simdjson/build + Start 1: basictests +1/6 Test #1: basictests ....................... Passed 7.21 sec + Start 2: errortests +2/6 Test #2: errortests ....................... Passed 0.00 sec + Start 3: jsoncheck +3/6 Test #3: jsoncheck ........................ Passed 0.00 sec + Start 4: parse_many_test +4/6 Test #4: parse_many_test .................. Passed 0.01 sec + Start 5: pointercheck +5/6 Test #5: pointercheck ..................... Passed 0.00 sec + Start 6: integer_tests +6/6 Test #6: integer_tests .................... Passed 0.00 sec + +100% tests passed, 0 tests failed out of 6 + +Total Test time (real) = 7.23 sec +=================log================= +cat: /home/ponyc/build/build_debug/CMakeFiles/CMakeOutput.log: No such file or directory diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/fix.patch new file mode 100644 index 000000000..c27e4a6cd --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/fix.patch @@ -0,0 +1,192 @@ +diff --git a/include/simdjson/document.h b/include/simdjson/document.h +index dd284ec4..af85f89a 100644 +--- a/include/simdjson/document.h ++++ b/include/simdjson/document.h +@@ -251,38 +251,48 @@ public: + #endif // SIMDJSON_EXCEPTIONS + + /** +- * Get the value associated with the given JSON pointer. ++ * Get the value associated with the given key. ++ * ++ * If the element is an object, this performs a key lookup matching the given ++ * **unescaped** key. If the element is an array, this performs a JSON pointer ++ * query. + * + * dom::parser parser; + * element doc = parser.parse(R"({ "foo": { "a": [ 10, 20, 30 ] }})"); +- * doc["/foo/a/1"] == 20 +- * doc["/"]["foo"]["a"].at(1) == 20 +- * doc[""]["foo"]["a"].at(1) == 20 ++ * doc["foo"]["a"].at(1) == 20 + * +- * @return The value associated with the given JSON pointer, or: +- * - NO_SUCH_FIELD if a field does not exist in an object ++ * Note: for objects, this is equivalent to `at_key()`, not `at()`. ++ * To use a JSON pointer query on an object, use `at()` instead. ++ * ++ * @return The value associated with the given key, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object + * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length + * - INCORRECT_TYPE if a non-integer is used to access an array + * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed + */ +- inline simdjson_result operator[](const std::string_view &json_pointer) const noexcept; ++ inline simdjson_result operator[](const std::string_view &key) const noexcept; + + /** +- * Get the value associated with the given JSON pointer. ++ * Get the value associated with the given key. ++ * ++ * If the element is an object, this performs a key lookup matching the given ++ * **unescaped** key. If the element is an array, this performs a JSON pointer ++ * query. + * + * dom::parser parser; + * element doc = parser.parse(R"({ "foo": { "a": [ 10, 20, 30 ] }})"); +- * doc["/foo/a/1"] == 20 +- * doc["/"]["foo"]["a"].at(1) == 20 +- * doc[""]["foo"]["a"].at(1) == 20 ++ * doc["foo"]["a"].at(1) == 20 + * +- * @return The value associated with the given JSON pointer, or: +- * - NO_SUCH_FIELD if a field does not exist in an object ++ * Note: for objects, this is equivalent to `at_key()`, not `at()`. ++ * To use a JSON pointer query on an object, use `at()` instead. ++ * ++ * @return The value associated with the given key, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object + * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length + * - INCORRECT_TYPE if a non-integer is used to access an array + * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed + */ +- inline simdjson_result operator[](const char *json_pointer) const noexcept; ++ inline simdjson_result operator[](const char *key) const noexcept; + + /** + * Get the value associated with the given JSON pointer. +@@ -315,8 +325,10 @@ public: + * The key will be matched against **unescaped** JSON: + * + * dom::parser parser; +- * parser.parse(R"({ "a\n": 1 })")["a\n"].get().value == 1 +- * parser.parse(R"({ "a\n": 1 })")["a\\n"].get().error == NO_SUCH_FIELD ++ * parser.parse(R"({ "a\n": 1 })").at_key("a\n").get().value == 1 ++ * parser.parse(R"({ "a\n": 1 })").at_key("a\\n").get().error == NO_SUCH_FIELD ++ * ++ * Note: `operator[]` on an object is equivalent to `at_key()`. + * + * @return The value associated with this field, or: + * - NO_SUCH_FIELD if the field does not exist in the object +@@ -511,36 +523,40 @@ public: + inline iterator end() const noexcept; + + /** +- * Get the value associated with the given JSON pointer. ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: + * + * dom::parser parser; +- * object obj = parser.parse(R"({ "foo": { "a": [ 10, 20, 30 ] }})"); +- * obj["foo/a/1"] == 20 +- * obj["foo"]["a"].at(1) == 20 ++ * object obj = parser.parse(R"({ "a\n": 1 })"); ++ * obj["a\n"].get().value == 1 ++ * obj["a\\n"].get().error == NO_SUCH_FIELD + * +- * @return The value associated with the given JSON pointer, or: +- * - NO_SUCH_FIELD if a field does not exist in an object +- * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length +- * - INCORRECT_TYPE if a non-integer is used to access an array +- * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed ++ * Note: this is equivalent to `at_key()`, not `at()`. ++ * To use a JSON pointer query, use `at()` instead. ++ * ++ * @return The value associated with the given key, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object + */ +- inline simdjson_result operator[](const std::string_view &json_pointer) const noexcept; ++ inline simdjson_result operator[](const std::string_view &key) const noexcept; + + /** +- * Get the value associated with the given JSON pointer. ++ * Get the value associated with the given key. ++ * ++ * The key will be matched against **unescaped** JSON: + * + * dom::parser parser; +- * object obj = parser.parse(R"({ "foo": { "a": [ 10, 20, 30 ] }})"); +- * obj["foo/a/1"] == 20 +- * obj["foo"]["a"].at(1) == 20 ++ * object obj = parser.parse(R"({ "a\n": 1 })"); ++ * obj["a\n"].get().value == 1 ++ * obj["a\\n"].get().error == NO_SUCH_FIELD + * +- * @return The value associated with the given JSON pointer, or: +- * - NO_SUCH_FIELD if a field does not exist in an object +- * - INDEX_OUT_OF_BOUNDS if an array index is larger than an array length +- * - INCORRECT_TYPE if a non-integer is used to access an array +- * - INVALID_JSON_POINTER if the JSON pointer is invalid and cannot be parsed ++ * Note: this is equivalent to `at_key()`, not `at()`. ++ * To use a JSON pointer query, use `at()` instead. ++ * ++ * @return The value associated with the given key, or: ++ * - NO_SUCH_FIELD if the field does not exist in the object + */ +- inline simdjson_result operator[](const char *json_pointer) const noexcept; ++ inline simdjson_result operator[](const char *key) const noexcept; + + /** + * Get the value associated with the given JSON pointer. +@@ -564,8 +580,10 @@ public: + * The key will be matched against **unescaped** JSON: + * + * dom::parser parser; +- * parser.parse(R"({ "a\n": 1 })")["a\n"].get().value == 1 +- * parser.parse(R"({ "a\n": 1 })")["a\\n"].get().error == NO_SUCH_FIELD ++ * parser.parse(R"({ "a\n": 1 })").get().at_key("a\n").get().value == 1 ++ * parser.parse(R"({ "a\n": 1 })").get().at_key("a\\n").get().error == NO_SUCH_FIELD ++ * ++ * Note: `operator[]` on an object is equivalent to `at_key()`. + * + * @return The value associated with this field, or: + * - NO_SUCH_FIELD if the field does not exist in the object +diff --git a/include/simdjson/inline/document.h b/include/simdjson/inline/document.h +index 72e8bfa3..8279f1df 100644 +--- a/include/simdjson/inline/document.h ++++ b/include/simdjson/inline/document.h +@@ -603,11 +603,11 @@ inline object::iterator object::end() const noexcept { + return iterator(doc, after_element() - 1); + } + +-inline simdjson_result object::operator[](const std::string_view &json_pointer) const noexcept { +- return at(json_pointer); ++inline simdjson_result object::operator[](const std::string_view &key) const noexcept { ++ return at_key(key); + } +-inline simdjson_result object::operator[](const char *json_pointer) const noexcept { +- return at(json_pointer); ++inline simdjson_result object::operator[](const char *key) const noexcept { ++ return at_key(key); + } + inline simdjson_result object::at(const std::string_view &json_pointer) const noexcept { + size_t slash = json_pointer.find('/'); +@@ -840,11 +840,13 @@ inline element::operator object() const noexcept(false) { return get(); + + #endif + +-inline simdjson_result element::operator[](const std::string_view &json_pointer) const noexcept { +- return at(json_pointer); ++inline simdjson_result element::operator[](const std::string_view &key) const noexcept { ++ if (type() == internal::tape_type::START_OBJECT) { return at_key(key); } ++ return at(key); + } +-inline simdjson_result element::operator[](const char *json_pointer) const noexcept { +- return at(json_pointer); ++inline simdjson_result element::operator[](const char *key) const noexcept { ++ if (type() == internal::tape_type::START_OBJECT) { return at_key(key); } ++ return at(key); + } + inline simdjson_result element::at(const std::string_view &json_pointer) const noexcept { + switch (type()) { diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/report.json new file mode 100644 index 000000000..8edd82549 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-644/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 644, "valid": true, "error_msg": "", "fixed_tests": {"basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {"jsoncheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "PASS", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "PASS", "fix": "PASS"}}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 6, "failed_count": 0, "skipped_count": 0, "passed_tests": ["integer_tests", "errortests", "pointercheck", "jsoncheck", "parse_many_test", "basictests"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 5, "failed_count": 0, "skipped_count": 0, "passed_tests": ["integer_tests", "errortests", "pointercheck", "jsoncheck", "parse_many_test"], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 6, "failed_count": 0, "skipped_count": 0, "passed_tests": ["integer_tests", "errortests", "pointercheck", "jsoncheck", "parse_many_test", "basictests"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/fix-patch-run.log new file mode 100644 index 000000000..a36c9f841 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/fix-patch-run.log @@ -0,0 +1,864 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5500 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (14.4 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (19.4 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (4090 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.Ozkujucc +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.Ozkujucc/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.Ozkujucc/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.Ozkujucc/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.Ozkujucc/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.Ozkujucc/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.Ozkujucc +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=ec287999aef0 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.kQrkPBJjp9/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/basictests.cpp +patching file tests/cast_tester.h +patching file tests/test_macros.h +patching file include/simdjson/dom/element.h +patching file include/simdjson/inline/element.h +-- The CXX compiler identification is GNU 7.5.0 +-- The C compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Check for working C compiler: /usr/local/bin/gcc +-- Check for working C compiler: /usr/local/bin/gcc -- works +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Building a dynamic library. +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- /home/simdjson/dependencies/benchmark/.git does not exist. Initializing benchmark submodule ... +Submodule 'dependencies/benchmark' (https://github.com/google/benchmark.git) registered for path 'dependencies/benchmark' +Cloning into '/home/simdjson/dependencies/benchmark'... +Submodule path 'dependencies/benchmark': checked out '8982e1ee6aef31e48170400b7d1dc9969b156e5e' +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.20.1") +-- git Version: v1.5.0-8982e1ee +-- Version: 1.5.0 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- /home/simdjson/dependencies/cJSON/.git does not exist. Initializing cJSON submodule ... +Submodule 'dependencies/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'dependencies/cJSON' +Cloning into '/home/simdjson/dependencies/cJSON'... +Submodule path 'dependencies/cJSON': checked out 'c69134d01746dcf551dd7724b4edb12f922eb0d1' +-- /home/simdjson/dependencies/fastjson/.git does not exist. Initializing fastjson submodule ... +Submodule 'dependencies/fastjson' (https://github.com/mikeando/fastjson.git) registered for path 'dependencies/fastjson' +Cloning into '/home/simdjson/dependencies/fastjson'... +Submodule path 'dependencies/fastjson': checked out '485f994a61a64ac73fa6a40d4d639b99b463563b' +-- /home/simdjson/dependencies/gason/.git does not exist. Initializing gason submodule ... +Submodule 'dependencies/gason' (https://github.com/vivkin/gason.git) registered for path 'dependencies/gason' +Cloning into '/home/simdjson/dependencies/gason'... +Submodule path 'dependencies/gason': checked out '7aee524189da1c1ecd19f67981e3d903dae25470' +-- /home/simdjson/dependencies/jsmn/.git does not exist. Initializing jsmn submodule ... +Submodule 'dependencies/jsmn' (https://github.com/zserge/jsmn.git) registered for path 'dependencies/jsmn' +Cloning into '/home/simdjson/dependencies/jsmn'... +Submodule path 'dependencies/jsmn': checked out '18e9fe42cbfe21d65076f5c77ae2be379ad1270f' +-- /home/simdjson/dependencies/json/.git does not exist. Initializing json submodule ... +Submodule 'dependencies/json' (https://github.com/nlohmann/json.git) registered for path 'dependencies/json' +Cloning into '/home/simdjson/dependencies/json'... +Submodule path 'dependencies/json': checked out 'a015b78e81c859b88840cb0cd4001ce1fe5e7865' +-- /home/simdjson/dependencies/json11/.git does not exist. Initializing json11 submodule ... +Submodule 'dependencies/json11' (https://github.com/dropbox/json11.git) registered for path 'dependencies/json11' +Cloning into '/home/simdjson/dependencies/json11'... +Submodule path 'dependencies/json11': checked out 'ec4e45219af1d7cde3d58b49ed762376fccf1ace' +-- /home/simdjson/dependencies/rapidjson/.git does not exist. Initializing rapidjson submodule ... +Submodule 'scalarvssimd/rapidjson' (https://github.com/Tencent/rapidjson.git) registered for path 'dependencies/rapidjson' +Cloning into '/home/simdjson/dependencies/rapidjson'... +Submodule path 'dependencies/rapidjson': checked out 'b32cd9421c5e3cbe183a99b6537ce11441e50656' +-- /home/simdjson/dependencies/sajson/.git does not exist. Initializing sajson submodule ... +Submodule 'dependencies/sajson' (https://github.com/chadaustin/sajson.git) registered for path 'dependencies/sajson' +Cloning into '/home/simdjson/dependencies/sajson'... +Submodule path 'dependencies/sajson': checked out '2dcfd350586375f9910f74821d4f07d67ae455ba' +-- /home/simdjson/dependencies/ujson4c/.git does not exist. Initializing ujson4c submodule ... +Submodule 'dependencies/ujson4c' (https://github.com/esnme/ujson4c.git) registered for path 'dependencies/ujson4c' +Cloning into '/home/simdjson/dependencies/ujson4c'... +Submodule path 'dependencies/ujson4c': checked out 'e14f3fd5207fe30d1bdea723f260609e69d1abfa' +-- /home/simdjson/dependencies/cxxopts/.git does not exist. Initializing cxxopts submodule ... +Submodule 'dependencies/cxxopts' (https://github.com/jarro2783/cxxopts) registered for path 'dependencies/cxxopts' +Cloning into '/home/simdjson/dependencies/cxxopts'... +Submodule path 'dependencies/cxxopts': checked out '794c975287355de48158d9a80ed502d26b20a472' +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object src/CMakeFiles/simdjson.dir/simdjson.cpp.o +[ 1%] Linking CXX shared library ../libsimdjson.so +[ 1%] Built target simdjson +Scanning dependencies of target jsonstats +[ 2%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 2%] Linking CXX executable jsonstats +[ 2%] Built target jsonstats +Scanning dependencies of target json2json +[ 3%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 5%] Linking CXX executable json2json +[ 5%] Built target json2json +Scanning dependencies of target minify +[ 5%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 6%] Linking CXX executable minify +[ 6%] Built target minify +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 7%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 7%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 7%] Built target amalgamate_demo_direct_from_repository +[ 9%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +Project at /home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +Creating /home/simdjson/build/singleheader/simdjson.h... +Creating /home/simdjson/build/singleheader/simdjson.cpp... +Creating /home/simdjson/build/singleheader/amalgamate_demo.cpp... +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 165 Jul 14 01:49 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 1154 Jul 14 01:49 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 545771 Jul 14 01:49 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 241351 Jul 14 01:49 /home/simdjson/build/singleheader/simdjson.h + +Giving final instructions: +Try : +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson +Scanning dependencies of target amalgamate_demo +[ 9%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 10%] Linking CXX executable amalgamate_demo +[ 10%] Built target amalgamate_demo +Scanning dependencies of target competition-ujson4c +[ 11%] Building C object dependencies/CMakeFiles/competition-ujson4c.dir/ujson4c/src/ujdecode.c.o +[ 12%] Linking C static library libcompetition-ujson4c.a +[ 12%] Built target competition-ujson4c +Scanning dependencies of target benchmark +[ 12%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 14%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 15%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 15%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 16%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 18%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 18%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 19%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 20%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 22%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 22%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 23%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 24%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 24%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 25%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 27%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 27%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 28%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 29%] Linking CXX static library libbenchmark.a +[ 29%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 29%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 31%] Linking CXX static library libbenchmark_main.a +[ 31%] Built target benchmark_main +Scanning dependencies of target generated-data +[ 31%] Built target generated-data +Scanning dependencies of target integer_tests +[ 31%] Building CXX object tests/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 32%] Linking CXX executable integer_tests +[ 32%] Built target integer_tests +Scanning dependencies of target errortests +[ 32%] Building CXX object tests/CMakeFiles/errortests.dir/errortests.cpp.o +[ 33%] Linking CXX executable errortests +[ 33%] Built target errortests +Scanning dependencies of target jsoncheck +[ 33%] Building CXX object tests/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 35%] Linking CXX executable jsoncheck +[ 35%] Built target jsoncheck +Scanning dependencies of target numberparsingcheck +[ 36%] Building CXX object tests/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 36%] Linking CXX executable numberparsingcheck +[ 36%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 37%] Building CXX object tests/CMakeFiles/basictests.dir/basictests.cpp.o +In file included from /home/simdjson/tests/basictests.cpp:17:0: +/home/simdjson/tests/cast_tester.h: In member function 'simdjson::simdjson_result cast_tester::named_get(simdjson::dom::element) [with T = const char*]': +/home/simdjson/tests/cast_tester.h:238:123: error: 'const char* simdjson::internal::tape_ref::get_c_str() const' is inaccessible within this context + template<> simdjson_result cast_tester::named_get(element element) { return element.get_c_str(); } + ^ +In file included from /home/simdjson/include/simdjson.h:43:0, + from /home/simdjson/tests/basictests.cpp:16: +/home/simdjson/include/simdjson/inline/tape_ref.h:90:28: note: declared here + really_inline const char * internal::tape_ref::get_c_str() const noexcept { + ^~~~~~~~ +In file included from /home/simdjson/tests/basictests.cpp:17:0: +/home/simdjson/tests/cast_tester.h:238:123: error: 'simdjson::internal::tape_ref' is not an accessible base of 'simdjson::dom::element' + template<> simdjson_result cast_tester::named_get(element element) { return element.get_c_str(); } + ^ +In file included from /home/simdjson/tests/basictests.cpp:17:0: +/home/simdjson/tests/cast_tester.h: In member function 'simdjson::simdjson_result cast_tester::named_get(simdjson::dom::element) [with T = long unsigned int]': +/home/simdjson/tests/cast_tester.h:240:105: error: 'class simdjson::dom::element' has no member named 'get_uint64_t'; did you mean 'get_uint64'? + template<> simdjson_result cast_tester::named_get(element element) { return element.get_uint64_t(); } + ^~~~~~~~~~~~ + get_uint64 +/home/simdjson/tests/cast_tester.h: In member function 'simdjson::simdjson_result cast_tester::named_get(simdjson::dom::element) [with T = long int]': +/home/simdjson/tests/cast_tester.h:241:103: error: 'class simdjson::dom::element' has no member named 'get_int64_t'; did you mean 'get_int64'? + template<> simdjson_result cast_tester::named_get(element element) { return element.get_int64_t(); } + ^~~~~~~~~~~ + get_int64 +/home/simdjson/tests/cast_tester.h: In member function 'simdjson::simdjson_result cast_tester::named_get(simdjson::simdjson_result) [with T = const char*]': +/home/simdjson/tests/cast_tester.h:247:130: error: 'struct simdjson::simdjson_result' has no member named 'get_c_str' + template<> simdjson_result cast_tester::named_get(simdjson_result element) { return element.get_c_str(); } + ^~~~~~~~~ +/home/simdjson/tests/cast_tester.h: In member function 'simdjson::simdjson_result cast_tester::named_get(simdjson::simdjson_result) [with T = long unsigned int]': +/home/simdjson/tests/cast_tester.h:249:122: error: 'struct simdjson::simdjson_result' has no member named 'get_uint64_t'; did you mean 'get_uint64'? + template<> simdjson_result cast_tester::named_get(simdjson_result element) { return element.get_uint64_t(); } + ^~~~~~~~~~~~ + get_uint64 +/home/simdjson/tests/cast_tester.h: In member function 'simdjson::simdjson_result cast_tester::named_get(simdjson::simdjson_result) [with T = long int]': +/home/simdjson/tests/cast_tester.h:250:120: error: 'struct simdjson::simdjson_result' has no member named 'get_int64_t'; did you mean 'get_int64'? + template<> simdjson_result cast_tester::named_get(simdjson_result element) { return element.get_int64_t(); } + ^~~~~~~~~~~ + get_int64 +/home/simdjson/tests/cast_tester.h: In member function 'bool cast_tester::named_is(simdjson::dom::element) [with T = long unsigned int]': +/home/simdjson/tests/cast_tester.h:258:83: error: 'class simdjson::dom::element' has no member named 'is_uint64_t'; did you mean 'is_uint64'? + template<> bool cast_tester::named_is(element element) { return element.is_uint64_t(); } + ^~~~~~~~~~~ + is_uint64 +/home/simdjson/tests/cast_tester.h: In member function 'bool cast_tester::named_is(simdjson::dom::element) [with T = long int]': +/home/simdjson/tests/cast_tester.h:259:82: error: 'class simdjson::dom::element' has no member named 'is_int64_t'; did you mean 'is_int64'? + template<> bool cast_tester::named_is(element element) { return element.is_int64_t(); } + ^~~~~~~~~~ + is_int64 +/home/simdjson/tests/cast_tester.h: In member function 'simdjson::simdjson_result cast_tester::named_is(simdjson::simdjson_result) [with T = long unsigned int]': +/home/simdjson/tests/cast_tester.h:267:117: error: 'struct simdjson::simdjson_result' has no member named 'is_uint64_t'; did you mean 'is_uint64'? + template<> simdjson_result cast_tester::named_is(simdjson_result element) { return element.is_uint64_t(); } + ^~~~~~~~~~~ + is_uint64 +/home/simdjson/tests/cast_tester.h: In member function 'simdjson::simdjson_result cast_tester::named_is(simdjson::simdjson_result) [with T = long int]': +/home/simdjson/tests/cast_tester.h:268:116: error: 'struct simdjson::simdjson_result' has no member named 'is_int64_t'; did you mean 'is_int64'? + template<> simdjson_result cast_tester::named_is(simdjson_result element) { return element.is_int64_t(); } + ^~~~~~~~~~ + is_int64 +make[2]: *** [tests/CMakeFiles/basictests.dir/build.make:63: tests/CMakeFiles/basictests.dir/basictests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:972: tests/CMakeFiles/basictests.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/simdjson/build + Start 1: avoid_abort + 1/47 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_stdout + 2/47 Test #2: avoid_stdout ......................................... Passed 0.00 sec + Start 3: avoid_stderr + 3/47 Test #3: avoid_stderr ......................................... Passed 0.00 sec + Start 4: amalgamate_demo + 4/47 Test #4: amalgamate_demo ...................................... Passed 0.00 sec + Start 5: amalgamate_demo_direct_from_repository + 5/47 Test #5: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 6: numberparsingcheck + 6/47 Test #6: numberparsingcheck ................................... Passed 0.06 sec + Start 7: stringparsingcheck +Unable to find executable: stringparsingcheck +Could not find executable stringparsingcheck +Looked in the following places: +stringparsingcheck +stringparsingcheck +Release/stringparsingcheck +Release/stringparsingcheck +Debug/stringparsingcheck +Debug/stringparsingcheck +MinSizeRel/stringparsingcheck +MinSizeRel/stringparsingcheck +RelWithDebInfo/stringparsingcheck +RelWithDebInfo/stringparsingcheck +Deployment/stringparsingcheck +Deployment/stringparsingcheck +Development/stringparsingcheck +Development/stringparsingcheck + 7/47 Test #7: stringparsingcheck ...................................***Not Run 0.00 sec + Start 8: basictests +Could not find executable basictests +Looked in the following places: +basictests +basictests +Release/basictests +Release/basictests +Debug/basictests +Debug/basictests +MinSizeRel/basictests +MinSizeRel/basictests +RelWithDebInfo/basictests +RelWithDebInfo/basictests +Deployment/basictests +Deployment/basictests +Development/basictests +Development/basictests +Unable to find executable: basictests + 8/47 Test #8: basictests ...........................................***Not Run 0.00 sec + Start 9: errortests + 9/47 Test #9: errortests ........................................... Passed 0.00 sec + Start 10: integer_tests +10/47 Test #10: integer_tests ........................................ Passed 0.00 sec + Start 11: jsoncheck +11/47 Test #11: jsoncheck ............................................ Passed 0.00 sec + Start 12: parse_many_test +Could not find executable parse_many_test +Looked in the following places: +parse_many_test +parse_many_test +Release/parse_many_test +Release/parse_many_test +Debug/parse_many_test +Debug/parse_many_test +MinSizeRel/parse_many_test +MinSizeRel/parse_many_test +Unable to find executable: parse_many_test +RelWithDebInfo/parse_many_test +RelWithDebInfo/parse_many_test +Deployment/parse_many_test +Deployment/parse_many_test +Development/parse_many_test +Development/parse_many_test +12/47 Test #12: parse_many_test ......................................***Not Run 0.00 sec + Start 13: pointercheck +Could not find executable pointercheck +Looked in the following places: +pointercheck +pointercheck +Release/pointercheck +Release/pointercheck +Debug/pointercheck +Debug/pointercheck +MinSizeRel/pointercheck +MinSizeRel/pointercheck +Unable to find executable: pointercheck +RelWithDebInfo/pointercheck +RelWithDebInfo/pointercheck +Deployment/pointercheck +Deployment/pointercheck +Development/pointercheck +Development/pointercheck +13/47 Test #13: pointercheck .........................................***Not Run 0.00 sec + Start 14: extracting_values_example +Could not find executable extracting_values_example +Looked in the following places: +extracting_values_example +extracting_values_example +Release/extracting_values_example +Unable to find executable: extracting_values_example +Release/extracting_values_example +Debug/extracting_values_example +Debug/extracting_values_example +MinSizeRel/extracting_values_example +MinSizeRel/extracting_values_example +RelWithDebInfo/extracting_values_example +RelWithDebInfo/extracting_values_example +Deployment/extracting_values_example +Deployment/extracting_values_example +Development/extracting_values_example +Development/extracting_values_example +14/47 Test #14: extracting_values_example ............................***Not Run 0.00 sec + Start 17: json2json +15/47 Test #17: json2json ............................................ Passed 0.01 sec + Start 15: testjson2json +16/47 Test #15: testjson2json ........................................ Passed 1.30 sec + Start 16: checkimplementation +Could not find executable checkimplementation +Looked in the following places: +checkimplementation +checkimplementation +Release/checkimplementation +Release/checkimplementation +Debug/checkimplementation +Debug/checkimplementation +MinSizeRel/checkimplementation +MinSizeRel/checkimplementation +RelWithDebInfo/checkimplementation +RelWithDebInfo/checkimplementation +Deployment/checkimplementation +Deployment/checkimplementation +Development/checkimplementation +Unable to find executable: checkimplementation +Development/checkimplementation +17/47 Test #16: checkimplementation ..................................***Not Run 0.00 sec + Start 18: simdjson_force_implementation +18/47 Test #18: simdjson_force_implementation ........................***Failed 0.00 sec + Start 19: simdjson_force_implementation_error +19/47 Test #19: simdjson_force_implementation_error .................. Passed 0.00 sec + Start 20: readme_examples +20/47 Test #20: readme_examples ...................................... Passed 1.60 sec + Start 21: readme_examples11 +21/47 Test #21: readme_examples11 .................................... Passed 1.57 sec + Start 22: readme_examples_noexceptions +22/47 Test #22: readme_examples_noexceptions ......................... Passed 1.35 sec + Start 23: readme_examples_noexceptions11 +23/47 Test #23: readme_examples_noexceptions11 ....................... Passed 1.09 sec + Start 24: readme_examples_will_fail_with_exceptions_off +24/47 Test #24: readme_examples_will_fail_with_exceptions_off ........ Passed 0.67 sec + Start 25: example_compiletest_should_compile +25/47 Test #25: example_compiletest_should_compile ................... Passed 0.15 sec + Start 26: example_compiletest_should_not_compile +26/47 Test #26: example_compiletest_should_not_compile ............... Passed 0.10 sec + Start 27: dangling_parser_load_should_compile +27/47 Test #27: dangling_parser_load_should_compile .................. Passed 0.90 sec + Start 28: dangling_parser_load_should_not_compile +28/47 Test #28: dangling_parser_load_should_not_compile .............. Passed 0.65 sec + Start 29: dangling_parser_parse_uint8_should_compile +29/47 Test #29: dangling_parser_parse_uint8_should_compile ........... Passed 0.86 sec + Start 30: dangling_parser_parse_uint8_should_not_compile +30/47 Test #30: dangling_parser_parse_uint8_should_not_compile ....... Passed 0.65 sec + Start 31: dangling_parser_parse_uchar_should_compile +31/47 Test #31: dangling_parser_parse_uchar_should_compile ........... Passed 0.86 sec + Start 32: dangling_parser_parse_uchar_should_not_compile +32/47 Test #32: dangling_parser_parse_uchar_should_not_compile ....... Passed 0.64 sec + Start 33: dangling_parser_parse_stdstring_should_compile +33/47 Test #33: dangling_parser_parse_stdstring_should_compile ....... Passed 0.87 sec + Start 34: dangling_parser_parse_stdstring_should_not_compile +34/47 Test #34: dangling_parser_parse_stdstring_should_not_compile ... Passed 0.64 sec + Start 35: dangling_parser_parse_padstring_should_compile +35/47 Test #35: dangling_parser_parse_padstring_should_compile ....... Passed 0.86 sec + Start 36: dangling_parser_parse_padstring_should_not_compile +36/47 Test #36: dangling_parser_parse_padstring_should_not_compile ... Passed 0.64 sec + Start 37: quickstart +37/47 Test #37: quickstart ........................................... Passed 3.32 sec + Start 38: quickstart11 +38/47 Test #38: quickstart11 ......................................... Passed 3.30 sec + Start 39: quickstart14 +39/47 Test #39: quickstart14 ......................................... Passed 3.32 sec + Start 40: quickstart_noexceptions +40/47 Test #40: quickstart_noexceptions .............................. Passed 3.17 sec + Start 41: quickstart_noexceptions11 +41/47 Test #41: quickstart_noexceptions11 ............................ Passed 3.11 sec + Start 42: checkperf +Could not find executable /home/simdjson/build/benchmark/perfdiff +Looked in the following places: +/home/simdjson/build/benchmark/perfdiff +/home/simdjson/build/benchmark/perfdiff +/home/simdjson/build/benchmark/Release/perfdiff +/home/simdjson/build/benchmark/Release/perfdiff +/home/simdjson/build/benchmark/Debug/perfdiff +/home/simdjson/build/benchmark/Debug/perfdiff +/home/simdjson/build/benchmark/MinSizeRel/perfdiff +/home/simdjson/build/benchmark/MinSizeRel/perfdiff +/home/simdjson/build/benchmark/RelWithDebInfo/perfdiff +/home/simdjson/build/benchmark/RelWithDebInfo/perfdiff +Unable to find executable: /home/simdjson/build/benchmark/perfdiff +/home/simdjson/build/benchmark/Deployment/perfdiff +/home/simdjson/build/benchmark/Deployment/perfdiff +/home/simdjson/build/benchmark/Development/perfdiff +/home/simdjson/build/benchmark/Development/perfdiff +home/simdjson/build/benchmark/perfdiff +home/simdjson/build/benchmark/perfdiff +home/simdjson/build/benchmark/Release/perfdiff +home/simdjson/build/benchmark/Release/perfdiff +home/simdjson/build/benchmark/Debug/perfdiff +home/simdjson/build/benchmark/Debug/perfdiff +home/simdjson/build/benchmark/MinSizeRel/perfdiff +home/simdjson/build/benchmark/MinSizeRel/perfdiff +home/simdjson/build/benchmark/RelWithDebInfo/perfdiff +home/simdjson/build/benchmark/RelWithDebInfo/perfdiff +home/simdjson/build/benchmark/Deployment/perfdiff +home/simdjson/build/benchmark/Deployment/perfdiff +home/simdjson/build/benchmark/Development/perfdiff +home/simdjson/build/benchmark/Development/perfdiff +42/47 Test #42: checkperf ............................................***Not Run 0.00 sec + Start 43: fuzz_parser +Could not find executable fuzz_parser +Unable to find executable: fuzz_parser +Looked in the following places: +fuzz_parser +fuzz_parser +Release/fuzz_parser +Release/fuzz_parser +Debug/fuzz_parser +Debug/fuzz_parser +MinSizeRel/fuzz_parser +MinSizeRel/fuzz_parser +RelWithDebInfo/fuzz_parser +RelWithDebInfo/fuzz_parser +Deployment/fuzz_parser +Deployment/fuzz_parser +Development/fuzz_parser +Development/fuzz_parser +43/47 Test #43: fuzz_parser ..........................................***Not Run 0.00 sec + Start 44: fuzz_minify +Could not find executable fuzz_minify +Looked in the following places: +fuzz_minify +fuzz_minify +Release/fuzz_minify +Release/fuzz_minify +Debug/fuzz_minify +Debug/fuzz_minify +MinSizeRel/fuzz_minify +MinSizeRel/fuzz_minify +RelWithDebInfo/fuzz_minify +RelWithDebInfo/fuzz_minify +Deployment/fuzz_minify +Deployment/fuzz_minify +Development/fuzz_minify +Development/fuzz_minify +44/47 Test #44: fuzz_minify ..........................................***Not Run 0.00 sec + Start 45: fuzz_dump +Unable to find executable: fuzz_minify +Could not find executable fuzz_dump +Looked in the following places: +fuzz_dump +fuzz_dump +Release/fuzz_dump +Release/fuzz_dump +Debug/fuzz_dump +Debug/fuzz_dump +MinSizeRel/fuzz_dump +MinSizeRel/fuzz_dump +RelWithDebInfo/fuzz_dump +RelWithDebInfo/fuzz_dump +Deployment/fuzz_dump +Deployment/fuzz_dump +Development/fuzz_dump +Development/fuzz_dump +45/47 Test #45: fuzz_dump ............................................***Not Run 0.00 sec + Start 46: fuzz_print_json +Unable to find executable: fuzz_dump +Could not find executable fuzz_print_json +Looked in the following places: +Unable to find executable: fuzz_print_json +fuzz_print_json +fuzz_print_json +Release/fuzz_print_json +Release/fuzz_print_json +Debug/fuzz_print_json +Debug/fuzz_print_json +MinSizeRel/fuzz_print_json +MinSizeRel/fuzz_print_json +RelWithDebInfo/fuzz_print_json +RelWithDebInfo/fuzz_print_json +Deployment/fuzz_print_json +Deployment/fuzz_print_json +Development/fuzz_print_json +Development/fuzz_print_json +46/47 Test #46: fuzz_print_json ......................................***Not Run 0.00 sec + Start 47: fuzz_dump_raw_tape +Unable to find executable: fuzz_dump_raw_tape +Could not find executable fuzz_dump_raw_tape +Looked in the following places: +fuzz_dump_raw_tape +fuzz_dump_raw_tape +Release/fuzz_dump_raw_tape +Release/fuzz_dump_raw_tape +Debug/fuzz_dump_raw_tape +Debug/fuzz_dump_raw_tape +MinSizeRel/fuzz_dump_raw_tape +MinSizeRel/fuzz_dump_raw_tape +RelWithDebInfo/fuzz_dump_raw_tape +RelWithDebInfo/fuzz_dump_raw_tape +Deployment/fuzz_dump_raw_tape +Deployment/fuzz_dump_raw_tape +Development/fuzz_dump_raw_tape +Development/fuzz_dump_raw_tape +47/47 Test #47: fuzz_dump_raw_tape ...................................***Not Run 0.00 sec + +72% tests passed, 13 tests failed out of 47 + +Label Time Summary: +acceptance = 19.45 sec*proc (24 tests) +compile = 3.17 sec*proc (1 test) +compiletests = 6.62 sec*proc (2 tests) +fuzz = 0.00 sec*proc (5 tests) +per_implementation = 1.38 sec*proc (13 tests) + +Total Test time (real) = 31.72 sec + +The following tests FAILED: + 7 - stringparsingcheck (Not Run) + 8 - basictests (Not Run) + 12 - parse_many_test (Not Run) + 13 - pointercheck (Not Run) + 14 - extracting_values_example (Not Run) + 16 - checkimplementation (Not Run) + 18 - simdjson_force_implementation (Failed) + 42 - checkperf (Not Run) + 43 - fuzz_parser (Not Run) + 44 - fuzz_minify (Not Run) + 45 - fuzz_dump (Not Run) + 46 - fuzz_print_json (Not Run) + 47 - fuzz_dump_raw_tape (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/fix.patch new file mode 100644 index 000000000..f2de45b9b --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/fix.patch @@ -0,0 +1,279 @@ +diff --git a/include/simdjson/dom/element.h b/include/simdjson/dom/element.h +index 80b6a395..49676deb 100644 +--- a/include/simdjson/dom/element.h ++++ b/include/simdjson/dom/element.h +@@ -46,6 +46,33 @@ public: + /** Whether this element is a json `null`. */ + really_inline bool is_null() const noexcept; + ++ /** Whether this element is a json boolean. */ ++ really_inline bool is_bool() const noexcept; ++ ++ /** Whether this element is a json number. */ ++ really_inline bool is_number() const noexcept; ++ ++ /** Whether this element is a json integer (int64 or uint64). */ ++ really_inline bool is_integer() const noexcept; ++ ++ /** Whether this element is a json string. */ ++ really_inline bool is_string() const noexcept; ++ ++ /** Whether this element is a json array. */ ++ really_inline bool is_array() const noexcept; ++ ++ /** Whether this element is a json object. */ ++ really_inline bool is_object() const noexcept; ++ ++ /** Whether this element is a json double. */ ++ really_inline bool is_double() const noexcept; ++ ++ /** Whether this element is a json int64. */ ++ really_inline bool is_int64() const noexcept; ++ ++ /** Whether this element is a json uint64. */ ++ really_inline bool is_uint64() const noexcept; ++ + /** + * Tell whether the value can be cast to provided type (T). + * +@@ -79,6 +106,65 @@ public: + template + really_inline simdjson_result get() const noexcept; + ++ /** ++ * Get the value as a boolean. ++ * ++ * @returns The boolean value, or: ++ * INCORRECT_TYPE if the value is not a boolean. ++ */ ++ really_inline simdjson_result get_bool() const noexcept; ++ ++ /** ++ * Get the value as a double. ++ * ++ * @returns The double value, or: ++ * INCORRECT_TYPE if the value is not a number. ++ * NUMBER_OUT_OF_RANGE if the integer doesn't fit in a double. ++ */ ++ really_inline simdjson_result get_double() const noexcept; ++ ++ /** ++ * Get the value as an int64. ++ * ++ * @returns The int64_t value, or: ++ * INCORRECT_TYPE if the value is not an integer. ++ * NUMBER_OUT_OF_RANGE if the integer doesn't fit in int64_t. ++ */ ++ really_inline simdjson_result get_int64() const noexcept; ++ ++ /** ++ * Get the value as a uint64. ++ * ++ * @returns The uint64_t value, or: ++ * INCORRECT_TYPE if the value is not an integer. ++ * NUMBER_OUT_OF_RANGE if the integer is negative or doesn't fit in uint64_t. ++ */ ++ really_inline simdjson_result get_uint64() const noexcept; ++ ++ /** ++ * Get the value as a string_view. ++ * ++ * @returns The string_view value, or: ++ * INCORRECT_TYPE if the value is not a string. ++ */ ++ really_inline simdjson_result get_string() const noexcept; ++ ++ /** ++ * Get the value as a dom::array. ++ * ++ * @returns The dom::array value, or: ++ * INCORRECT_TYPE if the value is not an array. ++ */ ++ really_inline simdjson_result get_array() const noexcept; ++ ++ /** ++ * Get the value as a dom::object. ++ * ++ * @returns The dom::object value, or: ++ * INCORRECT_TYPE if the value is not an object. ++ */ ++ really_inline simdjson_result get_object() const noexcept; ++ + #if SIMDJSON_EXCEPTIONS + /** + * Read this element as a boolean. +@@ -290,11 +376,28 @@ public: + + inline simdjson_result type() const noexcept; + inline simdjson_result is_null() const noexcept; ++ inline simdjson_result is_bool() const noexcept; ++ inline simdjson_result is_number() const noexcept; ++ inline simdjson_result is_integer() const noexcept; ++ inline simdjson_result is_string() const noexcept; ++ inline simdjson_result is_array() const noexcept; ++ inline simdjson_result is_object() const noexcept; ++ inline simdjson_result is_double() const noexcept; ++ inline simdjson_result is_int64() const noexcept; ++ inline simdjson_result is_uint64() const noexcept; + template + inline simdjson_result is() const noexcept; + template + inline simdjson_result get() const noexcept; + ++ inline simdjson_result get_bool() const noexcept; ++ inline simdjson_result get_double() const noexcept; ++ inline simdjson_result get_int64() const noexcept; ++ inline simdjson_result get_uint64() const noexcept; ++ inline simdjson_result get_string() const noexcept; ++ inline simdjson_result get_array() const noexcept; ++ inline simdjson_result get_object() const noexcept; ++ + inline simdjson_result operator[](const std::string_view &key) const noexcept; + inline simdjson_result operator[](const char *key) const noexcept; + inline simdjson_result at(const std::string_view &json_pointer) const noexcept; +diff --git a/include/simdjson/inline/element.h b/include/simdjson/inline/element.h +index c77be566..45cc41bc 100644 +--- a/include/simdjson/inline/element.h ++++ b/include/simdjson/inline/element.h +@@ -26,6 +26,42 @@ inline simdjson_result simdjson_result::is_null() const noex + if (error()) { return error(); } + return first.is_null(); + } ++inline simdjson_result simdjson_result::is_bool() const noexcept { ++ if (error()) { return error(); } ++ return first.is_bool(); ++} ++inline simdjson_result simdjson_result::is_number() const noexcept { ++ if (error()) { return error(); } ++ return first.is_number(); ++} ++inline simdjson_result simdjson_result::is_integer() const noexcept { ++ if (error()) { return error(); } ++ return first.is_integer(); ++} ++inline simdjson_result simdjson_result::is_string() const noexcept { ++ if (error()) { return error(); } ++ return first.is_string(); ++} ++inline simdjson_result simdjson_result::is_array() const noexcept { ++ if (error()) { return error(); } ++ return first.is_array(); ++} ++inline simdjson_result simdjson_result::is_object() const noexcept { ++ if (error()) { return error(); } ++ return first.is_object(); ++} ++inline simdjson_result simdjson_result::is_double() const noexcept { ++ if (error()) { return error(); } ++ return first.is_double(); ++} ++inline simdjson_result simdjson_result::is_int64() const noexcept { ++ if (error()) { return error(); } ++ return first.is_int64(); ++} ++inline simdjson_result simdjson_result::is_uint64() const noexcept { ++ if (error()) { return error(); } ++ return first.is_uint64(); ++} + template + inline simdjson_result simdjson_result::is() const noexcept { + if (error()) { return error(); } +@@ -37,6 +73,35 @@ inline simdjson_result simdjson_result::get() const noexcept { + return first.get(); + } + ++inline simdjson_result simdjson_result::get_bool() const noexcept { ++ if (error()) { return error(); } ++ return first.get_bool(); ++} ++inline simdjson_result simdjson_result::get_double() const noexcept { ++ if (error()) { return error(); } ++ return first.get_double(); ++} ++inline simdjson_result simdjson_result::get_int64() const noexcept { ++ if (error()) { return error(); } ++ return first.get_int64(); ++} ++inline simdjson_result simdjson_result::get_uint64() const noexcept { ++ if (error()) { return error(); } ++ return first.get_uint64(); ++} ++inline simdjson_result simdjson_result::get_string() const noexcept { ++ if (error()) { return error(); } ++ return first.get_string(); ++} ++inline simdjson_result simdjson_result::get_array() const noexcept { ++ if (error()) { return error(); } ++ return first.get_array(); ++} ++inline simdjson_result simdjson_result::get_object() const noexcept { ++ if (error()) { return error(); } ++ return first.get_object(); ++} ++ + inline simdjson_result simdjson_result::operator[](const std::string_view &key) const noexcept { + if (error()) { return error(); } + return first[key]; +@@ -115,6 +180,33 @@ inline element_type element::type() const noexcept { + really_inline bool element::is_null() const noexcept { + return is_null_on_tape(); + } ++really_inline bool element::is_bool() const noexcept { ++ return is_true() || is_false(); ++} ++really_inline bool element::is_number() const noexcept { ++ return is_double() || is_int64() || is_uint64(); ++} ++really_inline bool element::is_integer() const noexcept { ++ return is_int64() || is_uint64(); ++} ++really_inline bool element::is_string() const noexcept { ++ return tape_ref_type() == internal::tape_type::STRING; ++} ++really_inline bool element::is_array() const noexcept { ++ return tape_ref_type() == internal::tape_type::START_ARRAY; ++} ++really_inline bool element::is_object() const noexcept { ++ return tape_ref_type() == internal::tape_type::START_OBJECT; ++} ++really_inline bool element::is_double() const noexcept { ++ return internal::tape_ref::is_double(); ++} ++really_inline bool element::is_int64() const noexcept { ++ return internal::tape_ref::is_int64(); ++} ++really_inline bool element::is_uint64() const noexcept { ++ return internal::tape_ref::is_uint64(); ++} + + template<> + inline simdjson_result element::get() const noexcept { +@@ -220,6 +312,28 @@ really_inline bool element::is() const noexcept { + return !result.error(); + } + ++really_inline simdjson_result element::get_bool() const noexcept { ++ return get(); ++} ++really_inline simdjson_result element::get_double() const noexcept { ++ return get(); ++} ++really_inline simdjson_result element::get_int64() const noexcept { ++ return get(); ++} ++really_inline simdjson_result element::get_uint64() const noexcept { ++ return get(); ++} ++really_inline simdjson_result element::get_string() const noexcept { ++ return get(); ++} ++really_inline simdjson_result element::get_array() const noexcept { ++ return get(); ++} ++really_inline simdjson_result element::get_object() const noexcept { ++ return get(); ++} ++ + #if SIMDJSON_EXCEPTIONS + + inline element::operator bool() const noexcept(false) { return get(); } diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/report.json new file mode 100644 index 000000000..3508e6fc9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-949/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 949, "valid": true, "error_msg": "", "fixed_tests": {"quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 46, "failed_count": 0, "skipped_count": 0, "passed_tests": ["quickstart_noexceptions", "quickstart11", "dangling_parser_parse_stdstring_should_compile", "pointercheck", "avoid_stderr", "quickstart14", "fuzz_dump_raw_tape", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "dangling_parser_parse_uint8_should_not_compile", "readme_examples", "simdjson_force_implementation", "quickstart_noexceptions11", "fuzz_minify", "dangling_parser_parse_uchar_should_compile", "dangling_parser_parse_stdstring_should_not_compile", "testjson2json", "example_compiletest_should_compile", "readme_examples11", "amalgamate_demo_direct_from_repository", "fuzz_dump", "numberparsingcheck", "checkimplementation", "extracting_values_example", "integer_tests", "stringparsingcheck", "avoid_abort", "jsoncheck", "quickstart", "dangling_parser_parse_padstring_should_not_compile", "dangling_parser_parse_uchar_should_not_compile", "fuzz_parser", "dangling_parser_load_should_compile", "avoid_stdout", "readme_examples_noexceptions", "basictests", "fuzz_print_json", "readme_examples_will_fail_with_exceptions_off", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "errortests", "json2json", "dangling_parser_parse_padstring_should_compile", "simdjson_force_implementation_error", "amalgamate_demo", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 34, "failed_count": 0, "skipped_count": 0, "passed_tests": ["quickstart_noexceptions", "quickstart11", "dangling_parser_parse_stdstring_should_compile", "avoid_stderr", "quickstart14", "dangling_parser_parse_uint8_should_compile", "dangling_parser_parse_uint8_should_not_compile", "readme_examples", "quickstart_noexceptions11", "dangling_parser_parse_uchar_should_compile", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "example_compiletest_should_compile", "readme_examples11", "amalgamate_demo_direct_from_repository", "numberparsingcheck", "integer_tests", "avoid_abort", "jsoncheck", "quickstart", "dangling_parser_parse_padstring_should_not_compile", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "avoid_stdout", "readme_examples_noexceptions", "readme_examples_will_fail_with_exceptions_off", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "errortests", "json2json", "simdjson_force_implementation_error", "dangling_parser_parse_padstring_should_compile", "amalgamate_demo", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/fix-patch-run.log new file mode 100644 index 000000000..38c5df8d3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/fix-patch-run.log @@ -0,0 +1,897 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Fetched 8169 kB in 1s (5771 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (11.7 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.8 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (3050 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.F2iAeyAY +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.F2iAeyAY/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.F2iAeyAY/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.F2iAeyAY/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.F2iAeyAY/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.F2iAeyAY/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.F2iAeyAY +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=a49e16425f1c +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.8t9bpiqzjk/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/basictests.cpp +patching file tests/cast_tester.h +patching file tests/errortests.cpp +patching file tests/parse_many_test.cpp +patching file tests/test_macros.h +patching file include/simdjson/dom/document_stream.h +patching file include/simdjson/dom/parser.h +patching file include/simdjson/inline/document_stream.h +patching file include/simdjson/inline/parser.h +patching file singleheader/simdjson.h +-- The CXX compiler identification is GNU 7.5.0 +-- The C compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Check for working C compiler: /usr/local/bin/gcc +-- Check for working C compiler: /usr/local/bin/gcc -- works +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Building a dynamic library. +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- /home/simdjson/dependencies/benchmark/.git does not exist. Initializing benchmark submodule ... +Submodule 'dependencies/benchmark' (https://github.com/google/benchmark.git) registered for path 'dependencies/benchmark' +Cloning into '/home/simdjson/dependencies/benchmark'... +Submodule path 'dependencies/benchmark': checked out '8982e1ee6aef31e48170400b7d1dc9969b156e5e' +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.20.1") +-- git Version: v1.5.0-8982e1ee +-- Version: 1.5.0 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- /home/simdjson/dependencies/cJSON/.git does not exist. Initializing cJSON submodule ... +Submodule 'dependencies/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'dependencies/cJSON' +Cloning into '/home/simdjson/dependencies/cJSON'... +Submodule path 'dependencies/cJSON': checked out 'c69134d01746dcf551dd7724b4edb12f922eb0d1' +-- /home/simdjson/dependencies/fastjson/.git does not exist. Initializing fastjson submodule ... +Submodule 'dependencies/fastjson' (https://github.com/mikeando/fastjson.git) registered for path 'dependencies/fastjson' +Cloning into '/home/simdjson/dependencies/fastjson'... +Submodule path 'dependencies/fastjson': checked out '485f994a61a64ac73fa6a40d4d639b99b463563b' +-- /home/simdjson/dependencies/gason/.git does not exist. Initializing gason submodule ... +Submodule 'dependencies/gason' (https://github.com/vivkin/gason.git) registered for path 'dependencies/gason' +Cloning into '/home/simdjson/dependencies/gason'... +Submodule path 'dependencies/gason': checked out '7aee524189da1c1ecd19f67981e3d903dae25470' +-- /home/simdjson/dependencies/jsmn/.git does not exist. Initializing jsmn submodule ... +Submodule 'dependencies/jsmn' (https://github.com/zserge/jsmn.git) registered for path 'dependencies/jsmn' +Cloning into '/home/simdjson/dependencies/jsmn'... +Submodule path 'dependencies/jsmn': checked out '18e9fe42cbfe21d65076f5c77ae2be379ad1270f' +-- /home/simdjson/dependencies/json/.git does not exist. Initializing json submodule ... +Submodule 'dependencies/json' (https://github.com/nlohmann/json.git) registered for path 'dependencies/json' +Cloning into '/home/simdjson/dependencies/json'... +Submodule path 'dependencies/json': checked out 'a015b78e81c859b88840cb0cd4001ce1fe5e7865' +-- /home/simdjson/dependencies/json11/.git does not exist. Initializing json11 submodule ... +Submodule 'dependencies/json11' (https://github.com/dropbox/json11.git) registered for path 'dependencies/json11' +Cloning into '/home/simdjson/dependencies/json11'... +Submodule path 'dependencies/json11': checked out 'ec4e45219af1d7cde3d58b49ed762376fccf1ace' +-- /home/simdjson/dependencies/rapidjson/.git does not exist. Initializing rapidjson submodule ... +Submodule 'scalarvssimd/rapidjson' (https://github.com/Tencent/rapidjson.git) registered for path 'dependencies/rapidjson' +Cloning into '/home/simdjson/dependencies/rapidjson'... +Submodule path 'dependencies/rapidjson': checked out 'b32cd9421c5e3cbe183a99b6537ce11441e50656' +-- /home/simdjson/dependencies/sajson/.git does not exist. Initializing sajson submodule ... +Submodule 'dependencies/sajson' (https://github.com/chadaustin/sajson.git) registered for path 'dependencies/sajson' +Cloning into '/home/simdjson/dependencies/sajson'... +Submodule path 'dependencies/sajson': checked out '2dcfd350586375f9910f74821d4f07d67ae455ba' +-- /home/simdjson/dependencies/ujson4c/.git does not exist. Initializing ujson4c submodule ... +Submodule 'dependencies/ujson4c' (https://github.com/esnme/ujson4c.git) registered for path 'dependencies/ujson4c' +Cloning into '/home/simdjson/dependencies/ujson4c'... +Submodule path 'dependencies/ujson4c': checked out 'e14f3fd5207fe30d1bdea723f260609e69d1abfa' +-- /home/simdjson/dependencies/cxxopts/.git does not exist. Initializing cxxopts submodule ... +Submodule 'dependencies/cxxopts' (https://github.com/jarro2783/cxxopts) registered for path 'dependencies/cxxopts' +Cloning into '/home/simdjson/dependencies/cxxopts'... +Submodule path 'dependencies/cxxopts': checked out '794c975287355de48158d9a80ed502d26b20a472' +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 0%] Building CXX object src/CMakeFiles/simdjson.dir/simdjson.cpp.o +[ 1%] Linking CXX shared library ../libsimdjson.so +[ 1%] Built target simdjson +Scanning dependencies of target jsonstats +[ 2%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 2%] Linking CXX executable jsonstats +[ 2%] Built target jsonstats +Scanning dependencies of target json2json +[ 3%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 5%] Linking CXX executable json2json +[ 5%] Built target json2json +Scanning dependencies of target minify +[ 5%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 6%] Linking CXX executable minify +[ 6%] Built target minify +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 7%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 7%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 7%] Built target amalgamate_demo_direct_from_repository +[ 9%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +Project at /home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +Creating /home/simdjson/build/singleheader/simdjson.h... +Creating /home/simdjson/build/singleheader/simdjson.cpp... +Creating /home/simdjson/build/singleheader/amalgamate_demo.cpp... +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 165 Jul 14 01:49 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 1154 Jul 14 01:49 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 545771 Jul 14 01:49 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 250336 Jul 14 01:49 /home/simdjson/build/singleheader/simdjson.h + +Giving final instructions: +Try : +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson +Scanning dependencies of target amalgamate_demo +[ 9%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 10%] Linking CXX executable amalgamate_demo +[ 10%] Built target amalgamate_demo +Scanning dependencies of target competition-ujson4c +[ 11%] Building C object dependencies/CMakeFiles/competition-ujson4c.dir/ujson4c/src/ujdecode.c.o +[ 12%] Linking C static library libcompetition-ujson4c.a +[ 12%] Built target competition-ujson4c +Scanning dependencies of target benchmark +[ 12%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 14%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 15%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 15%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 16%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 18%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 18%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 19%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 20%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 22%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 22%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 23%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 24%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 24%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 25%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 27%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 27%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 28%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 29%] Linking CXX static library libbenchmark.a +[ 29%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 29%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 31%] Linking CXX static library libbenchmark_main.a +[ 31%] Built target benchmark_main +Scanning dependencies of target generated-data +[ 31%] Built target generated-data +Scanning dependencies of target integer_tests +[ 31%] Building CXX object tests/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 32%] Linking CXX executable integer_tests +[ 32%] Built target integer_tests +Scanning dependencies of target errortests +[ 32%] Building CXX object tests/CMakeFiles/errortests.dir/errortests.cpp.o +In file included from /home/simdjson/tests/errortests.cpp:17:0: +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_parse_many_documents_error_in_the_middle()': +/home/simdjson/tests/errortests.cpp:46:43: error: 'class simdjson::dom::document_stream' has no member named 'get'; did you mean 'next'? + ASSERT_SUCCESS(parser.parse_many(DOC).get(docs)); + ^ +/home/simdjson/tests/test_macros.h:35:51: note: in definition of macro 'ASSERT_SUCCESS' + #define ASSERT_SUCCESS(ERROR) do { auto _error = (ERROR); if (_error) { std::cerr << _error << std::endl; return false; } } while(0); + ^~~~~ +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_parse_many_documents_partial()': +/home/simdjson/tests/errortests.cpp:67:43: error: 'class simdjson::dom::document_stream' has no member named 'get'; did you mean 'next'? + ASSERT_SUCCESS(parser.parse_many(DOC).get(docs)); + ^ +/home/simdjson/tests/test_macros.h:35:51: note: in definition of macro 'ASSERT_SUCCESS' + #define ASSERT_SUCCESS(ERROR) do { auto _error = (ERROR); if (_error) { std::cerr << _error << std::endl; return false; } } while(0); + ^~~~~ +/home/simdjson/tests/errortests.cpp: In function 'bool parser_load::parser_parse_many_documents_partial_at_the_end()': +/home/simdjson/tests/errortests.cpp:82:43: error: 'class simdjson::dom::document_stream' has no member named 'get'; did you mean 'next'? + ASSERT_SUCCESS(parser.parse_many(DOC).get(docs)); + ^ +/home/simdjson/tests/test_macros.h:35:51: note: in definition of macro 'ASSERT_SUCCESS' + #define ASSERT_SUCCESS(ERROR) do { auto _error = (ERROR); if (_error) { std::cerr << _error << std::endl; return false; } } while(0); + ^~~~~ +In file included from /home/simdjson/include/simdjson.h:38:0, + from /home/simdjson/tests/errortests.cpp:12: +/home/simdjson/include/simdjson/inline/error.h: In instantiation of 'void simdjson::internal::simdjson_result_base::tie(T&, simdjson::error_code&) && [with T = simdjson::dom::document_stream]': +/home/simdjson/include/simdjson/inline/error.h:57:3: required from 'simdjson::error_code simdjson::internal::simdjson_result_base::get(T&) && [with T = simdjson::dom::document_stream]' +/home/simdjson/tests/errortests.cpp:32:5: required from here +/home/simdjson/include/simdjson/inline/error.h:50:11: error: 'simdjson::dom::document_stream& simdjson::dom::document_stream::operator=(const simdjson::dom::document_stream&)' is private within this context + value = std::forward>(*this).first; + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /home/simdjson/include/simdjson.h:22:0, + from /home/simdjson/tests/errortests.cpp:12: +/home/simdjson/include/simdjson/dom/document_stream.h:140:20: note: declared private here + document_stream &operator=(const document_stream &) = delete; // Disallow copying + ^~~~~~~~ +In file included from /home/simdjson/include/simdjson.h:38:0, + from /home/simdjson/tests/errortests.cpp:12: +/home/simdjson/include/simdjson/inline/error.h:50:11: error: use of deleted function 'simdjson::dom::document_stream& simdjson::dom::document_stream::operator=(const simdjson::dom::document_stream&)' + value = std::forward>(*this).first; + ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /home/simdjson/include/simdjson.h:22:0, + from /home/simdjson/tests/errortests.cpp:12: +/home/simdjson/include/simdjson/dom/document_stream.h:140:20: note: declared here + document_stream &operator=(const document_stream &) = delete; // Disallow copying + ^~~~~~~~ +make[2]: *** [tests/CMakeFiles/errortests.dir/build.make:63: tests/CMakeFiles/errortests.dir/errortests.cpp.o] Error 1 +make[1]: *** [CMakeFiles/Makefile2:793: tests/CMakeFiles/errortests.dir/all] Error 2 +make: *** [Makefile:163: all] Error 2 +Test project /home/simdjson/build + Start 1: avoid_abort + 1/47 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_stdout + 2/47 Test #2: avoid_stdout ......................................... Passed 0.00 sec + Start 3: avoid_stderr + 3/47 Test #3: avoid_stderr ......................................... Passed 0.00 sec + Start 4: amalgamate_demo + 4/47 Test #4: amalgamate_demo ...................................... Passed 0.00 sec + Start 5: amalgamate_demo_direct_from_repository + 5/47 Test #5: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 6: numberparsingcheck +Could not find executable numberparsingcheck +Looked in the following places: +numberparsingcheck +numberparsingcheck +Release/numberparsingcheck +Release/numberparsingcheck +Debug/numberparsingcheck +Debug/numberparsingcheck +MinSizeRel/numberparsingcheck +MinSizeRel/numberparsingcheck +RelWithDebInfo/numberparsingcheck +RelWithDebInfo/numberparsingcheck +Deployment/numberparsingcheck +Deployment/numberparsingcheck +Unable to find executable: numberparsingcheck +Development/numberparsingcheck +Development/numberparsingcheck + 6/47 Test #6: numberparsingcheck ...................................***Not Run 0.00 sec + Start 7: stringparsingcheck +Could not find executable stringparsingcheck +Looked in the following places: +stringparsingcheck +stringparsingcheck +Release/stringparsingcheck +Release/stringparsingcheck +Debug/stringparsingcheck +Debug/stringparsingcheck +MinSizeRel/stringparsingcheck +MinSizeRel/stringparsingcheck +RelWithDebInfo/stringparsingcheck +RelWithDebInfo/stringparsingcheck +Deployment/stringparsingcheck +Deployment/stringparsingcheck +Development/stringparsingcheck +Development/stringparsingcheck +Unable to find executable: stringparsingcheck + 7/47 Test #7: stringparsingcheck ...................................***Not Run 0.00 sec + Start 8: basictests +Could not find executable basictests +Looked in the following places: +basictests +basictests +Release/basictests +Release/basictests +Debug/basictests +Debug/basictests +MinSizeRel/basictests +MinSizeRel/basictests +RelWithDebInfo/basictests +RelWithDebInfo/basictests +Deployment/basictests +Deployment/basictests +Development/basictests +Development/basictests + 8/47 Test #8: basictests ...........................................***Not Run 0.00 sec +Unable to find executable: basictests + Start 9: errortests +Could not find executable errortests +Looked in the following places: +errortests +errortests +Release/errortests +Release/errortests +Debug/errortests +Debug/errortests +MinSizeRel/errortests +MinSizeRel/errortests +RelWithDebInfo/errortests +RelWithDebInfo/errortests +Deployment/errortests +Deployment/errortests +Development/errortests +Development/errortests +Unable to find executable: errortests + 9/47 Test #9: errortests ...........................................***Not Run 0.00 sec + Start 10: integer_tests +10/47 Test #10: integer_tests ........................................ Passed 0.00 sec + Start 11: jsoncheck +Could not find executable jsoncheck +Unable to find executable: jsoncheck +Looked in the following places: +jsoncheck +jsoncheck +Release/jsoncheck +Release/jsoncheck +Debug/jsoncheck +Debug/jsoncheck +MinSizeRel/jsoncheck +MinSizeRel/jsoncheck +RelWithDebInfo/jsoncheck +RelWithDebInfo/jsoncheck +Deployment/jsoncheck +Deployment/jsoncheck +Development/jsoncheck +Development/jsoncheck +11/47 Test #11: jsoncheck ............................................***Not Run 0.00 sec + Start 12: parse_many_test +Could not find executable parse_many_test +Looked in the following places: +parse_many_test +Unable to find executable: parse_many_test +parse_many_test +Release/parse_many_test +Release/parse_many_test +Debug/parse_many_test +Debug/parse_many_test +MinSizeRel/parse_many_test +MinSizeRel/parse_many_test +RelWithDebInfo/parse_many_test +RelWithDebInfo/parse_many_test +Deployment/parse_many_test +Deployment/parse_many_test +Development/parse_many_test +Development/parse_many_test +12/47 Test #12: parse_many_test ......................................***Not Run 0.00 sec + Start 13: pointercheck +Could not find executable pointercheck +Looked in the following places: +pointercheck +pointercheck +Release/pointercheck +Release/pointercheck +Debug/pointercheck +Debug/pointercheck +MinSizeRel/pointercheck +MinSizeRel/pointercheck +Unable to find executable: pointercheck +RelWithDebInfo/pointercheck +RelWithDebInfo/pointercheck +Deployment/pointercheck +Deployment/pointercheck +Development/pointercheck +Development/pointercheck +13/47 Test #13: pointercheck .........................................***Not Run 0.00 sec + Start 14: extracting_values_example +Could not find executable extracting_values_example +Looked in the following places: +extracting_values_example +extracting_values_example +Release/extracting_values_example +Unable to find executable: extracting_values_example +Release/extracting_values_example +Debug/extracting_values_example +Debug/extracting_values_example +MinSizeRel/extracting_values_example +MinSizeRel/extracting_values_example +RelWithDebInfo/extracting_values_example +RelWithDebInfo/extracting_values_example +Deployment/extracting_values_example +Deployment/extracting_values_example +Development/extracting_values_example +Development/extracting_values_example +14/47 Test #14: extracting_values_example ............................***Not Run 0.00 sec + Start 17: json2json +15/47 Test #17: json2json ............................................ Passed 0.01 sec + Start 15: testjson2json +16/47 Test #15: testjson2json ........................................ Passed 1.31 sec + Start 16: checkimplementation +Could not find executable checkimplementation +Unable to find executable: checkimplementation +Looked in the following places: +checkimplementation +checkimplementation +Release/checkimplementation +Release/checkimplementation +Debug/checkimplementation +Debug/checkimplementation +MinSizeRel/checkimplementation +MinSizeRel/checkimplementation +RelWithDebInfo/checkimplementation +RelWithDebInfo/checkimplementation +Deployment/checkimplementation +Deployment/checkimplementation +Development/checkimplementation +Development/checkimplementation +17/47 Test #16: checkimplementation ..................................***Not Run 0.00 sec + Start 18: simdjson_force_implementation +18/47 Test #18: simdjson_force_implementation ........................***Failed 0.00 sec + Start 19: simdjson_force_implementation_error +19/47 Test #19: simdjson_force_implementation_error .................. Passed 0.00 sec + Start 20: readme_examples +20/47 Test #20: readme_examples ...................................... Passed 1.64 sec + Start 21: readme_examples11 +21/47 Test #21: readme_examples11 .................................... Passed 1.63 sec + Start 22: readme_examples_noexceptions +22/47 Test #22: readme_examples_noexceptions ......................... Passed 1.29 sec + Start 23: readme_examples_noexceptions11 +23/47 Test #23: readme_examples_noexceptions11 ....................... Passed 1.12 sec + Start 24: readme_examples_will_fail_with_exceptions_off +24/47 Test #24: readme_examples_will_fail_with_exceptions_off ........ Passed 0.69 sec + Start 25: example_compiletest_should_compile +25/47 Test #25: example_compiletest_should_compile ................... Passed 0.16 sec + Start 26: example_compiletest_should_not_compile +26/47 Test #26: example_compiletest_should_not_compile ............... Passed 0.10 sec + Start 27: dangling_parser_load_should_compile +27/47 Test #27: dangling_parser_load_should_compile .................. Passed 0.90 sec + Start 28: dangling_parser_load_should_not_compile +28/47 Test #28: dangling_parser_load_should_not_compile .............. Passed 0.64 sec + Start 29: dangling_parser_parse_uint8_should_compile +29/47 Test #29: dangling_parser_parse_uint8_should_compile ........... Passed 0.87 sec + Start 30: dangling_parser_parse_uint8_should_not_compile +30/47 Test #30: dangling_parser_parse_uint8_should_not_compile ....... Passed 0.65 sec + Start 31: dangling_parser_parse_uchar_should_compile +31/47 Test #31: dangling_parser_parse_uchar_should_compile ........... Passed 0.86 sec + Start 32: dangling_parser_parse_uchar_should_not_compile +32/47 Test #32: dangling_parser_parse_uchar_should_not_compile ....... Passed 0.65 sec + Start 33: dangling_parser_parse_stdstring_should_compile +33/47 Test #33: dangling_parser_parse_stdstring_should_compile ....... Passed 0.88 sec + Start 34: dangling_parser_parse_stdstring_should_not_compile +34/47 Test #34: dangling_parser_parse_stdstring_should_not_compile ... Passed 0.65 sec + Start 35: dangling_parser_parse_padstring_should_compile +35/47 Test #35: dangling_parser_parse_padstring_should_compile ....... Passed 0.87 sec + Start 36: dangling_parser_parse_padstring_should_not_compile +36/47 Test #36: dangling_parser_parse_padstring_should_not_compile ... Passed 0.66 sec + Start 37: quickstart +37/47 Test #37: quickstart ........................................... Passed 3.32 sec + Start 38: quickstart11 +38/47 Test #38: quickstart11 ......................................... Passed 3.27 sec + Start 39: quickstart14 +39/47 Test #39: quickstart14 ......................................... Passed 3.32 sec + Start 40: quickstart_noexceptions +40/47 Test #40: quickstart_noexceptions .............................. Passed 3.27 sec + Start 41: quickstart_noexceptions11 +41/47 Test #41: quickstart_noexceptions11 ............................ Passed 3.14 sec + Start 42: checkperf +Could not find executable /home/simdjson/build/benchmark/perfdiff +Looked in the following places: +/home/simdjson/build/benchmark/perfdiff +Unable to find executable: /home/simdjson/build/benchmark/perfdiff +/home/simdjson/build/benchmark/perfdiff +/home/simdjson/build/benchmark/Release/perfdiff +/home/simdjson/build/benchmark/Release/perfdiff +/home/simdjson/build/benchmark/Debug/perfdiff +/home/simdjson/build/benchmark/Debug/perfdiff +/home/simdjson/build/benchmark/MinSizeRel/perfdiff +/home/simdjson/build/benchmark/MinSizeRel/perfdiff +/home/simdjson/build/benchmark/RelWithDebInfo/perfdiff +/home/simdjson/build/benchmark/RelWithDebInfo/perfdiff +/home/simdjson/build/benchmark/Deployment/perfdiff +/home/simdjson/build/benchmark/Deployment/perfdiff +/home/simdjson/build/benchmark/Development/perfdiff +/home/simdjson/build/benchmark/Development/perfdiff +home/simdjson/build/benchmark/perfdiff +home/simdjson/build/benchmark/perfdiff +home/simdjson/build/benchmark/Release/perfdiff +home/simdjson/build/benchmark/Release/perfdiff +home/simdjson/build/benchmark/Debug/perfdiff +home/simdjson/build/benchmark/Debug/perfdiff +home/simdjson/build/benchmark/MinSizeRel/perfdiff +home/simdjson/build/benchmark/MinSizeRel/perfdiff +home/simdjson/build/benchmark/RelWithDebInfo/perfdiff +home/simdjson/build/benchmark/RelWithDebInfo/perfdiff +home/simdjson/build/benchmark/Deployment/perfdiff +home/simdjson/build/benchmark/Deployment/perfdiff +home/simdjson/build/benchmark/Development/perfdiff +home/simdjson/build/benchmark/Development/perfdiff +42/47 Test #42: checkperf ............................................***Not Run 0.00 sec + Start 43: fuzz_parser +Could not find executable fuzz_parser +Looked in the following places: +fuzz_parser +fuzz_parser +Release/fuzz_parser +Release/fuzz_parser +Debug/fuzz_parser +Debug/fuzz_parser +MinSizeRel/fuzz_parser +MinSizeRel/fuzz_parser +RelWithDebInfo/fuzz_parser +RelWithDebInfo/fuzz_parser +Deployment/fuzz_parser +Deployment/fuzz_parser +Development/fuzz_parser +Development/fuzz_parser +43/47 Test #43: fuzz_parser ..........................................***Not Run 0.00 sec +Unable to find executable: fuzz_parser + Start 44: fuzz_minify +Unable to find executable: fuzz_minify +Could not find executable fuzz_minify +Looked in the following places: +fuzz_minify +fuzz_minify +Release/fuzz_minify +Release/fuzz_minify +Debug/fuzz_minify +Debug/fuzz_minify +MinSizeRel/fuzz_minify +MinSizeRel/fuzz_minify +RelWithDebInfo/fuzz_minify +RelWithDebInfo/fuzz_minify +Deployment/fuzz_minify +Deployment/fuzz_minify +Development/fuzz_minify +Development/fuzz_minify +44/47 Test #44: fuzz_minify ..........................................***Not Run 0.00 sec + Start 45: fuzz_dump +Could not find executable fuzz_dump +Looked in the following places: +fuzz_dump +fuzz_dump +Release/fuzz_dump +Release/fuzz_dump +Debug/fuzz_dump +Debug/fuzz_dump +MinSizeRel/fuzz_dump +MinSizeRel/fuzz_dump +RelWithDebInfo/fuzz_dump +RelWithDebInfo/fuzz_dump +Deployment/fuzz_dump +Unable to find executable: fuzz_dump +Deployment/fuzz_dump +Development/fuzz_dump +Development/fuzz_dump +45/47 Test #45: fuzz_dump ............................................***Not Run 0.00 sec + Start 46: fuzz_print_json +Could not find executable fuzz_print_json +Looked in the following places: +fuzz_print_json +fuzz_print_json +Release/fuzz_print_json +Release/fuzz_print_json +Debug/fuzz_print_json +Debug/fuzz_print_json +MinSizeRel/fuzz_print_json +MinSizeRel/fuzz_print_json +RelWithDebInfo/fuzz_print_json +RelWithDebInfo/fuzz_print_json +Deployment/fuzz_print_json +Deployment/fuzz_print_json +Development/fuzz_print_json +Development/fuzz_print_json +Unable to find executable: fuzz_print_json +46/47 Test #46: fuzz_print_json ......................................***Not Run 0.00 sec + Start 47: fuzz_dump_raw_tape +Could not find executable fuzz_dump_raw_tape +Looked in the following places: +fuzz_dump_raw_tape +Unable to find executable: fuzz_dump_raw_tape +fuzz_dump_raw_tape +Release/fuzz_dump_raw_tape +Release/fuzz_dump_raw_tape +Debug/fuzz_dump_raw_tape +Debug/fuzz_dump_raw_tape +MinSizeRel/fuzz_dump_raw_tape +MinSizeRel/fuzz_dump_raw_tape +RelWithDebInfo/fuzz_dump_raw_tape +RelWithDebInfo/fuzz_dump_raw_tape +Deployment/fuzz_dump_raw_tape +Deployment/fuzz_dump_raw_tape +Development/fuzz_dump_raw_tape +Development/fuzz_dump_raw_tape +47/47 Test #47: fuzz_dump_raw_tape ...................................***Not Run 0.00 sec + +66% tests passed, 16 tests failed out of 47 + +Label Time Summary: +acceptance = 19.58 sec*proc (24 tests) +compile = 3.27 sec*proc (1 test) +compiletests = 6.59 sec*proc (2 tests) +fuzz = 0.00 sec*proc (5 tests) +per_implementation = 1.33 sec*proc (13 tests) + +Total Test time (real) = 31.93 sec + +The following tests FAILED: + 6 - numberparsingcheck (Not Run) + 7 - stringparsingcheck (Not Run) + 8 - basictests (Not Run) + 9 - errortests (Not Run) + 11 - jsoncheck (Not Run) + 12 - parse_many_test (Not Run) + 13 - pointercheck (Not Run) + 14 - extracting_values_example (Not Run) + 16 - checkimplementation (Not Run) + 18 - simdjson_force_implementation (Failed) + 42 - checkperf (Not Run) + 43 - fuzz_parser (Not Run) + 44 - fuzz_minify (Not Run) + 45 - fuzz_dump (Not Run) + 46 - fuzz_print_json (Not Run) + 47 - fuzz_dump_raw_tape (Not Run) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/fix.patch new file mode 100644 index 000000000..6838d2f56 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/fix.patch @@ -0,0 +1,567 @@ +diff --git a/include/simdjson/dom/document_stream.h b/include/simdjson/dom/document_stream.h +index 947ebf8c..bf3041a2 100644 +--- a/include/simdjson/dom/document_stream.h ++++ b/include/simdjson/dom/document_stream.h +@@ -72,8 +72,14 @@ private: + */ + class document_stream { + public: +- /** Move one document_stream to another. */ ++ /** ++ * Move one document_stream to another. ++ */ + really_inline document_stream(document_stream && other) noexcept = default; ++ /** @private Construct an empty document_stream with an error. */ ++ really_inline document_stream() noexcept; ++ /** @private Construct a document_stream with an error and no parser. */ ++ really_inline document_stream(error_code _error) noexcept; + really_inline ~document_stream() noexcept; + + /** +@@ -133,7 +139,7 @@ private: + + document_stream &operator=(const document_stream &) = delete; // Disallow copying + +- document_stream(document_stream &other) = delete; // Disallow copying ++ document_stream(const document_stream &other) = delete; // Disallow copying + + /** + * Construct a document_stream. Does not allocate or parse anything until the iterator is +@@ -199,7 +205,7 @@ private: + /** Pass the next batch through stage 1 with the given parser. */ + inline error_code run_stage1(dom::parser &p, size_t batch_start) noexcept; + +- dom::parser &parser; ++ dom::parser *parser; + const uint8_t *buf; + const size_t len; + const size_t batch_size; +@@ -235,6 +241,44 @@ private: + }; // class document_stream + + } // namespace dom ++ ++/** ++ * The result of a document_stream operation that may fail. ++ * ++ * Provides a way to check for errors before iterating the stream: ++ * ++ * dom::parser parser; ++ * auto [stream, error] = parser.load_many(path); ++ * if (error) { cerr << error << endl; return; } ++ * for (auto [doc, error] : stream) { ++ * if (error) { cerr << error << endl; return; } ++ * cout << doc << endl; ++ * } ++ */ ++template<> ++struct simdjson_result : public internal::simdjson_result_base { ++public: ++ really_inline simdjson_result() noexcept; ++ really_inline simdjson_result(dom::document_stream &&value) noexcept; ++ really_inline simdjson_result(error_code error) noexcept; ++ ++ really_inline dom::document_stream::iterator begin() noexcept; ++ really_inline dom::document_stream::iterator end() noexcept; ++ ++#if SIMDJSON_EXCEPTIONS ++ really_inline operator dom::document_stream() && noexcept(false); ++#else ++ /** ++ * @private Deprecated conversion to document_stream that mirrors the old ++ * behavior where load_many() returned document_stream directly. This allows ++ * noexcept code that used the old API to continue working with a deprecation ++ * warning. ++ */ ++ [[deprecated("Use tie(), get(), or value() instead.")]] ++ really_inline operator dom::document_stream() && noexcept; ++#endif ++}; ++ + } // namespace simdjson + + #endif // SIMDJSON_DOCUMENT_STREAM_H +diff --git a/include/simdjson/dom/parser.h b/include/simdjson/dom/parser.h +index 49ca234d..9d6ce3c0 100644 +--- a/include/simdjson/dom/parser.h ++++ b/include/simdjson/dom/parser.h +@@ -193,14 +193,13 @@ public: + * spot is cache-related: small enough to fit in cache, yet big enough to + * parse as many documents as possible in one tight loop. + * Defaults to 10MB, which has been a reasonable sweet spot in our tests. +- * @return The stream. If there is an error, it will be returned during iteration. An empty input +- * will yield 0 documents rather than an EMPTY error. Errors: ++ * @return The stream, or an error: + * - IO_ERROR if there was an error opening or reading the file. + * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. + * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. + * - other json errors if parsing fails. + */ +- inline document_stream load_many(const std::string &path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ inline simdjson_result load_many(const std::string &path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; + + /** + * Parse a buffer containing many JSON documents. +diff --git a/include/simdjson/inline/document_stream.h b/include/simdjson/inline/document_stream.h +index 3e72305b..9c2fd3f6 100644 +--- a/include/simdjson/inline/document_stream.h ++++ b/include/simdjson/inline/document_stream.h +@@ -64,13 +64,32 @@ inline void stage1_worker::run(document_stream * ds, dom::parser * stage1, size_ + } + #endif + ++really_inline document_stream::document_stream() noexcept ++ : parser{nullptr}, ++ buf{nullptr}, ++ len{0}, ++ batch_size{0}, ++ error{UNINITIALIZED} ++{ ++} ++ ++really_inline document_stream::document_stream(error_code _error) noexcept ++ : parser{nullptr}, ++ buf{nullptr}, ++ len{0}, ++ batch_size{0}, ++ error{_error} ++{ ++ assert(_error); ++} ++ + really_inline document_stream::document_stream( + dom::parser &_parser, + size_t _batch_size, + const uint8_t *_buf, + size_t _len + ) noexcept +- : parser{_parser}, ++ : parser{&_parser}, + buf{_buf}, + len{_len}, + batch_size{_batch_size}, +@@ -88,7 +107,7 @@ really_inline document_stream::document_stream( + size_t _batch_size, + error_code _error + ) noexcept +- : parser{_parser}, ++ : parser{&_parser}, + buf{nullptr}, + len{0}, + batch_size{_batch_size}, +@@ -117,7 +136,7 @@ really_inline document_stream::iterator::iterator(document_stream& _stream, bool + really_inline simdjson_result document_stream::iterator::operator*() noexcept { + // Once we have yielded any errors, we're finished. + if (stream.error) { finished = true; return stream.error; } +- return stream.parser.doc.root(); ++ return stream.parser->doc.root(); + } + + really_inline document_stream::iterator& document_stream::iterator::operator++() noexcept { +@@ -134,12 +153,12 @@ really_inline bool document_stream::iterator::operator!=(const document_stream:: + inline void document_stream::start() noexcept { + if (error) { return; } + +- error = parser.ensure_capacity(batch_size); ++ error = parser->ensure_capacity(batch_size); + if (error) { return; } + + // Always run the first stage 1 parse immediately + batch_start = 0; +- error = run_stage1(parser, batch_start); ++ error = run_stage1(*parser, batch_start); + if (error) { return; } + + #ifdef SIMDJSON_THREADS_ENABLED +@@ -163,8 +182,8 @@ inline void document_stream::next() noexcept { + if (error) { return; } + + // Load the next document from the batch +- doc_index = batch_start + parser.implementation->structural_indexes[parser.implementation->next_structural_index]; +- error = parser.implementation->stage2_next(parser.doc); ++ doc_index = batch_start + parser->implementation->structural_indexes[parser->implementation->next_structural_index]; ++ error = parser->implementation->stage2_next(parser->doc); + // If that was the last document in the batch, load another batch (if available) + while (error == EMPTY) { + batch_start = next_batch_start(); +@@ -173,17 +192,17 @@ inline void document_stream::next() noexcept { + #ifdef SIMDJSON_THREADS_ENABLED + load_from_stage1_thread(); + #else +- error = run_stage1(parser, batch_start); ++ error = run_stage1(*parser, batch_start); + #endif + if (error) { continue; } // If the error was EMPTY, we may want to load another batch. + // Run stage 2 on the first document in the batch +- doc_index = batch_start + parser.implementation->structural_indexes[parser.implementation->next_structural_index]; +- error = parser.implementation->stage2_next(parser.doc); ++ doc_index = batch_start + parser->implementation->structural_indexes[parser->implementation->next_structural_index]; ++ error = parser->implementation->stage2_next(parser->doc); + } + } + + inline size_t document_stream::next_batch_start() const noexcept { +- return batch_start + parser.implementation->structural_indexes[parser.implementation->n_structural_indexes]; ++ return batch_start + parser->implementation->structural_indexes[parser->implementation->n_structural_indexes]; + } + + inline error_code document_stream::run_stage1(dom::parser &p, size_t _batch_start) noexcept { +@@ -202,7 +221,7 @@ inline void document_stream::load_from_stage1_thread() noexcept { + worker->finish(); + // Swap to the parser that was loaded up in the thread. Make sure the parser has + // enough memory to swap to, as well. +- std::swap(parser, stage1_thread_parser); ++ std::swap(*parser, stage1_thread_parser); + error = stage1_thread_error; + if (error) { return; } + +@@ -226,5 +245,38 @@ inline void document_stream::start_stage1_thread() noexcept { + #endif // SIMDJSON_THREADS_ENABLED + + } // namespace dom ++ ++// ++// simdjson_result inline implementation ++// ++ ++really_inline simdjson_result::simdjson_result() noexcept ++ : internal::simdjson_result_base() {} ++really_inline simdjson_result::simdjson_result(dom::document_stream &&value) noexcept ++ : internal::simdjson_result_base(std::forward(value)) {} ++really_inline simdjson_result::simdjson_result(error_code error) noexcept ++ : internal::simdjson_result_base(error) {} ++ ++really_inline dom::document_stream::iterator simdjson_result::begin() noexcept { ++ if (error()) { return dom::document_stream(error()).begin(); } ++ return first.begin(); ++} ++ ++really_inline dom::document_stream::iterator simdjson_result::end() noexcept { ++ if (error()) { return dom::document_stream(error()).end(); } ++ return first.end(); ++} ++ ++#if SIMDJSON_EXCEPTIONS ++really_inline simdjson_result::operator dom::document_stream() && noexcept(false) { ++ return std::forward>(*this).take_value(); ++} ++#else ++really_inline simdjson_result::operator dom::document_stream() && noexcept { ++ if (error()) { return dom::document_stream(error()); } ++ return std::move(first); ++} ++#endif ++ + } // namespace simdjson + #endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H +diff --git a/include/simdjson/inline/parser.h b/include/simdjson/inline/parser.h +index 16bd47c6..0f98e94b 100644 +--- a/include/simdjson/inline/parser.h ++++ b/include/simdjson/inline/parser.h +@@ -84,11 +84,11 @@ inline simdjson_result parser::load(const std::string &path) & noexcept + return parse(loaded_bytes.get(), len, false); + } + +-inline document_stream parser::load_many(const std::string &path, size_t batch_size) noexcept { ++inline simdjson_result parser::load_many(const std::string &path, size_t batch_size) noexcept { + size_t len; + auto _error = read_file(path).get(len); + if (_error) { +- return document_stream(*this, batch_size, _error); ++ return _error; + } + return document_stream(*this, batch_size, (const uint8_t*)loaded_bytes.get(), len); + } +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index 21efa8e4..2777b138 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -3335,14 +3335,13 @@ public: + * spot is cache-related: small enough to fit in cache, yet big enough to + * parse as many documents as possible in one tight loop. + * Defaults to 10MB, which has been a reasonable sweet spot in our tests. +- * @return The stream. If there is an error, it will be returned during iteration. An empty input +- * will yield 0 documents rather than an EMPTY error. Errors: ++ * @return The stream, or an error: + * - IO_ERROR if there was an error opening or reading the file. + * - MEMALLOC if the parser does not have enough capacity and memory allocation fails. + * - CAPACITY if the parser does not have enough capacity and batch_size > max_capacity. + * - other json errors if parsing fails. + */ +- inline document_stream load_many(const std::string &path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; ++ inline simdjson_result load_many(const std::string &path, size_t batch_size = DEFAULT_BATCH_SIZE) noexcept; + + /** + * Parse a buffer containing many JSON documents. +@@ -3577,6 +3576,10 @@ class document_stream { + public: + /** Move one document_stream to another. */ + really_inline document_stream(document_stream && other) noexcept = default; ++ /** @private Construct an empty document_stream with an error. */ ++ really_inline document_stream() noexcept; ++ /** @private Construct a document_stream with an error and no parser. */ ++ really_inline document_stream(error_code _error) noexcept; + really_inline ~document_stream() noexcept; + + /** +@@ -3620,7 +3623,7 @@ private: + + document_stream &operator=(const document_stream &) = delete; // Disallow copying + +- document_stream(document_stream &other) = delete; // Disallow copying ++ document_stream(const document_stream &other) = delete; // Disallow copying + + /** + * Construct a document_stream. Does not allocate or parse anything until the iterator is +@@ -3628,10 +3631,18 @@ private: + */ + really_inline document_stream( + dom::parser &parser, ++ size_t batch_size, + const uint8_t *buf, +- size_t len, ++ size_t len ++ ) noexcept; ++ ++ /** ++ * Construct a document_stream with an initial error. ++ */ ++ really_inline document_stream( ++ dom::parser &parser, + size_t batch_size, +- error_code error = SUCCESS ++ error_code error + ) noexcept; + + /** +@@ -3678,7 +3689,7 @@ private: + /** Pass the next batch through stage 1 with the given parser. */ + inline error_code run_stage1(dom::parser &p, size_t batch_start) noexcept; + +- dom::parser &parser; ++ dom::parser *parser; + const uint8_t *buf; + const size_t len; + const size_t batch_size; +@@ -3711,6 +3722,38 @@ private: + }; // class document_stream + + } // namespace dom ++ ++/** ++ * The result of a document_stream operation that may fail. ++ * ++ * Provides a way to check for errors before iterating the stream: ++ * ++ * dom::parser parser; ++ * auto [stream, error] = parser.load_many(path); ++ * if (error) { cerr << error << endl; return; } ++ * for (auto [doc, error] : stream) { ++ * if (error) { cerr << error << endl; return; } ++ * cout << doc << endl; ++ * } ++ */ ++template<> ++struct simdjson_result : public internal::simdjson_result_base { ++public: ++ really_inline simdjson_result() noexcept; ++ really_inline simdjson_result(dom::document_stream &&value) noexcept; ++ really_inline simdjson_result(error_code error) noexcept; ++ ++ really_inline dom::document_stream::iterator begin() noexcept; ++ really_inline dom::document_stream::iterator end() noexcept; ++ ++#if SIMDJSON_EXCEPTIONS ++ really_inline operator dom::document_stream() && noexcept(false); ++#else ++ [[deprecated("Use tie(), get(), or value() instead.")]] ++ really_inline operator dom::document_stream() && noexcept; ++#endif ++}; ++ + } // namespace simdjson + + #endif // SIMDJSON_DOCUMENT_STREAM_H +@@ -4953,19 +4996,51 @@ inline std::ostream& operator<<(std::ostream& out, const simdjson_result document_stream::iterator::operator*() noexcept { + // Once we have yielded any errors, we're finished. + if (stream.error) { finished = true; return stream.error; } +- return stream.parser.doc.root(); ++ return stream.parser->doc.root(); + } + + really_inline document_stream::iterator& document_stream::iterator::operator++() noexcept { +@@ -5011,12 +5086,12 @@ really_inline bool document_stream::iterator::operator!=(const document_stream:: + inline void document_stream::start() noexcept { + if (error) { return; } + +- error = parser.ensure_capacity(batch_size); ++ error = parser->ensure_capacity(batch_size); + if (error) { return; } + + // Always run the first stage 1 parse immediately + batch_start = 0; +- error = run_stage1(parser, batch_start); ++ error = run_stage1(*parser, batch_start); + if (error) { return; } + + #ifdef SIMDJSON_THREADS_ENABLED +@@ -5036,7 +5111,7 @@ inline void document_stream::next() noexcept { + if (error) { return; } + + // Load the next document from the batch +- error = parser.implementation->stage2_next(parser.doc); ++ error = parser->implementation->stage2_next(parser->doc); + + // If that was the last document in the batch, load another batch (if available) + while (error == EMPTY) { +@@ -5046,17 +5121,17 @@ inline void document_stream::next() noexcept { + #ifdef SIMDJSON_THREADS_ENABLED + load_from_stage1_thread(); + #else +- error = run_stage1(parser, batch_start); ++ error = run_stage1(*parser, batch_start); + #endif + if (error) { continue; } // If the error was EMPTY, we may want to load another batch. + + // Run stage 2 on the first document in the batch +- error = parser.implementation->stage2_next(parser.doc); ++ error = parser->implementation->stage2_next(parser->doc); + } + } + + inline size_t document_stream::next_batch_start() const noexcept { +- return batch_start + parser.implementation->structural_indexes[parser.implementation->n_structural_indexes]; ++ return batch_start + parser->implementation->structural_indexes[parser->implementation->n_structural_indexes]; + } + + inline error_code document_stream::run_stage1(dom::parser &p, size_t _batch_start) noexcept { +@@ -5076,7 +5151,7 @@ inline void document_stream::load_from_stage1_thread() noexcept { + + // Swap to the parser that was loaded up in the thread. Make sure the parser has + // enough memory to swap to, as well. +- std::swap(parser, stage1_thread_parser); ++ std::swap(*parser, stage1_thread_parser); + error = stage1_thread_error; + if (error) { return; } + +@@ -5101,6 +5176,39 @@ inline void document_stream::start_stage1_thread() noexcept { + #endif // SIMDJSON_THREADS_ENABLED + + } // namespace dom ++ ++// ++// simdjson_result inline implementation ++// ++ ++really_inline simdjson_result::simdjson_result() noexcept ++ : internal::simdjson_result_base() {} ++really_inline simdjson_result::simdjson_result(dom::document_stream &&value) noexcept ++ : internal::simdjson_result_base(std::forward(value)) {} ++really_inline simdjson_result::simdjson_result(error_code error) noexcept ++ : internal::simdjson_result_base(error) {} ++ ++really_inline dom::document_stream::iterator simdjson_result::begin() noexcept { ++ if (error()) { return dom::document_stream(error()).begin(); } ++ return first.begin(); ++} ++ ++really_inline dom::document_stream::iterator simdjson_result::end() noexcept { ++ if (error()) { return dom::document_stream(error()).end(); } ++ return first.end(); ++} ++ ++#if SIMDJSON_EXCEPTIONS ++really_inline simdjson_result::operator dom::document_stream() && noexcept(false) { ++ return std::forward>(*this).take_value(); ++} ++#else ++really_inline simdjson_result::operator dom::document_stream() && noexcept { ++ if (error()) { return dom::document_stream(error()); } ++ return std::move(first); ++} ++#endif ++ + } // namespace simdjson + #endif // SIMDJSON_INLINE_DOCUMENT_STREAM_H + /* end file include/simdjson/inline/document_stream.h */ +@@ -6793,11 +6901,12 @@ inline simdjson_result parser::load(const std::string &path) & noexcept + return parse(loaded_bytes.get(), len, false); + } + +-inline document_stream parser::load_many(const std::string &path, size_t batch_size) noexcept { ++inline simdjson_result parser::load_many(const std::string &path, size_t batch_size) noexcept { + size_t len; + error_code code; + read_file(path).tie(len, code); +- return document_stream(*this, (const uint8_t*)loaded_bytes.get(), len, batch_size, code); ++ if (code) { return code; } ++ return document_stream(*this, batch_size, (const uint8_t*)loaded_bytes.get(), len); + } + + inline simdjson_result parser::parse(const uint8_t *buf, size_t len, bool realloc_if_needed) & noexcept { +@@ -6831,7 +6940,7 @@ really_inline simdjson_result parser::parse(const padded_string &s) & n + } + + inline document_stream parser::parse_many(const uint8_t *buf, size_t len, size_t batch_size) noexcept { +- return document_stream(*this, buf, len, batch_size); ++ return document_stream(*this, batch_size, buf, len); + } + inline document_stream parser::parse_many(const char *buf, size_t len, size_t batch_size) noexcept { + return parse_many((const uint8_t *)buf, len, batch_size); diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/report.json new file mode 100644 index 000000000..4d84000c3 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-954/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 954, "valid": true, "error_msg": "", "fixed_tests": {"quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 46, "failed_count": 0, "skipped_count": 0, "passed_tests": ["quickstart_noexceptions", "quickstart11", "dangling_parser_parse_stdstring_should_compile", "pointercheck", "avoid_stderr", "quickstart14", "fuzz_dump_raw_tape", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "dangling_parser_parse_uint8_should_not_compile", "readme_examples", "simdjson_force_implementation", "quickstart_noexceptions11", "fuzz_minify", "dangling_parser_parse_uchar_should_compile", "dangling_parser_parse_stdstring_should_not_compile", "testjson2json", "example_compiletest_should_compile", "readme_examples11", "amalgamate_demo_direct_from_repository", "fuzz_dump", "numberparsingcheck", "checkimplementation", "extracting_values_example", "integer_tests", "stringparsingcheck", "avoid_abort", "jsoncheck", "quickstart", "dangling_parser_parse_padstring_should_not_compile", "dangling_parser_parse_uchar_should_not_compile", "fuzz_parser", "dangling_parser_load_should_compile", "avoid_stdout", "readme_examples_noexceptions", "basictests", "fuzz_print_json", "readme_examples_will_fail_with_exceptions_off", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "errortests", "json2json", "dangling_parser_parse_padstring_should_compile", "simdjson_force_implementation_error", "amalgamate_demo", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 31, "failed_count": 0, "skipped_count": 0, "passed_tests": ["quickstart_noexceptions", "quickstart11", "dangling_parser_parse_stdstring_should_compile", "avoid_stderr", "quickstart14", "dangling_parser_parse_uint8_should_compile", "dangling_parser_parse_uint8_should_not_compile", "readme_examples", "quickstart_noexceptions11", "dangling_parser_parse_uchar_should_compile", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "example_compiletest_should_compile", "readme_examples11", "amalgamate_demo_direct_from_repository", "integer_tests", "avoid_abort", "quickstart", "dangling_parser_parse_padstring_should_not_compile", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "avoid_stdout", "readme_examples_noexceptions", "readme_examples_will_fail_with_exceptions_off", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "simdjson_force_implementation_error", "json2json", "dangling_parser_parse_padstring_should_compile", "amalgamate_demo", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/fix-patch-run.log b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/fix-patch-run.log new file mode 100644 index 000000000..d47a249bc --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/fix-patch-run.log @@ -0,0 +1,784 @@ +检测到 Debian 10 系统 +进入10系统 +替换系统源完成 +============================================================================== +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster InRelease [122 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 Packages [7909 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/non-free amd64 Packages [87.8 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/contrib amd64 Packages [50.1 kB] +Fetched 8169 kB in 1s (5744 kB/s) +Reading package lists... +Reading package lists... +Building dependency tree... +Reading state information... +build-essential is already the newest version (12.6). +libncurses-dev is already the newest version (6.1+20181013-2+deb10u2). +libncurses-dev set to manually installed. +patch is already the newest version (2.7.6-3+deb10u1). +The following additional packages will be installed: + libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-posix0 libssl1.1 zlib1g +Suggested packages: + libssl-doc +The following NEW packages will be installed: + libonig-dev libonig5 libpcre2-16-0 libpcre2-32-0 libpcre2-dev + libpcre2-posix0 +The following packages will be upgraded: + libssl-dev libssl1.1 zlib1g zlib1g-dev +4 upgraded, 6 newly installed, 0 to remove and 156 not upgraded. +Need to get 5020 kB of archives. +After this operation, 4413 kB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-1+deb10u1 [210 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 zlib1g amd64 1:1.2.11.dfsg-1+deb10u1 [90.8 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig5 amd64 6.9.1-1 [171 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libonig-dev amd64 6.9.1-1 [90.0 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-16-0 amd64 10.32-5 [202 kB] +Get:6 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-32-0 amd64 10.32-5 [194 kB] +Get:7 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-posix0 amd64 10.32-5 [38.8 kB] +Get:8 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libpcre2-dev amd64 10.32-5 [664 kB] +Get:9 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl-dev amd64 1.1.1n-0+deb10u3 [1808 kB] +Get:10 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libssl1.1 amd64 1.1.1n-0+deb10u3 [1551 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 5020 kB in 0s (13.0 MB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-1+deb10u1_amd64.deb ... +Unpacking zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) over (1:1.2.11.dfsg-1) ... +Setting up zlib1g:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Selecting previously unselected package libonig5:amd64. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26570 files and directories currently installed.) +Preparing to unpack .../0-libonig5_6.9.1-1_amd64.deb ... +Unpacking libonig5:amd64 (6.9.1-1) ... +Selecting previously unselected package libonig-dev. +Preparing to unpack .../1-libonig-dev_6.9.1-1_amd64.deb ... +Unpacking libonig-dev (6.9.1-1) ... +Selecting previously unselected package libpcre2-16-0:amd64. +Preparing to unpack .../2-libpcre2-16-0_10.32-5_amd64.deb ... +Unpacking libpcre2-16-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-32-0:amd64. +Preparing to unpack .../3-libpcre2-32-0_10.32-5_amd64.deb ... +Unpacking libpcre2-32-0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-posix0:amd64. +Preparing to unpack .../4-libpcre2-posix0_10.32-5_amd64.deb ... +Unpacking libpcre2-posix0:amd64 (10.32-5) ... +Selecting previously unselected package libpcre2-dev:amd64. +Preparing to unpack .../5-libpcre2-dev_10.32-5_amd64.deb ... +Unpacking libpcre2-dev:amd64 (10.32-5) ... +Preparing to unpack .../6-libssl-dev_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl-dev:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Preparing to unpack .../7-libssl1.1_1.1.1n-0+deb10u3_amd64.deb ... +Unpacking libssl1.1:amd64 (1.1.1n-0+deb10u3) over (1.1.1d-0+deb10u3) ... +Setting up libssl1.1:amd64 (1.1.1n-0+deb10u3) ... +debconf: unable to initialize frontend: Dialog +debconf: (TERM is not set, so the dialog frontend is not usable.) +debconf: falling back to frontend: Readline +Setting up libpcre2-16-0:amd64 (10.32-5) ... +Setting up libpcre2-32-0:amd64 (10.32-5) ... +Setting up libpcre2-posix0:amd64 (10.32-5) ... +Setting up libssl-dev:amd64 (1.1.1n-0+deb10u3) ... +Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-1+deb10u1) ... +Setting up libonig5:amd64 (6.9.1-1) ... +Setting up libpcre2-dev:amd64 (10.32-5) ... +Setting up libonig-dev (6.9.1-1) ... +Processing triggers for libc-bin (2.28-10) ... +Reading package lists... +Building dependency tree... +Reading state information... +cmake is already the newest version (3.13.4-1). +zlib1g-dev is already the newest version (1:1.2.11.dfsg-1+deb10u1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. +=== RUN FULL via /home/fix-run.sh (tee log) === +#!/bin/bash +set -e + +cd /home/simdjson +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +当前目录:/home +当前目录内容:add_certificate_for_c.sh check_git_changes.sh fix-run.sh fix.patch prepare.sh run.sh simdjson test-run.sh test.patch + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +wget is already the newest version (1.20.1-1.1). +0 upgraded, 0 newly installed, 0 to remove and 156 not upgraded. + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libgpm2 vim-common vim-runtime xxd +Suggested packages: + gpm ctags vim-doc vim-scripts +The following NEW packages will be installed: + libgpm2 vim vim-common vim-runtime xxd +0 upgraded, 5 newly installed, 0 to remove and 156 not upgraded. +Need to get 7427 kB of archives. +After this operation, 33.8 MB of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 xxd amd64 2:8.1.0875-5+deb10u2 [140 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-common all 2:8.1.0875-5+deb10u2 [195 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libgpm2 amd64 1.20.7-5 [35.1 kB] +Get:4 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim-runtime all 2:8.1.0875-5+deb10u2 [5775 kB] +Get:5 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 vim amd64 2:8.1.0875-5+deb10u2 [1281 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 7427 kB in 0s (17.5 MB/s) +Selecting previously unselected package xxd. +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 26737 files and directories currently installed.) +Preparing to unpack .../xxd_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking xxd (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim-common. +Preparing to unpack .../vim-common_2%3a8.1.0875-5+deb10u2_all.deb ... +Unpacking vim-common (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package libgpm2:amd64. +Preparing to unpack .../libgpm2_1.20.7-5_amd64.deb ... +Unpacking libgpm2:amd64 (1.20.7-5) ... +Selecting previously unselected package vim-runtime. +Preparing to unpack .../vim-runtime_2%3a8.1.0875-5+deb10u2_all.deb ... +Adding 'diversion of /usr/share/vim/vim81/doc/help.txt to /usr/share/vim/vim81/doc/help.txt.vim-tiny by vim-runtime' +Adding 'diversion of /usr/share/vim/vim81/doc/tags to /usr/share/vim/vim81/doc/tags.vim-tiny by vim-runtime' +Unpacking vim-runtime (2:8.1.0875-5+deb10u2) ... +Selecting previously unselected package vim. +Preparing to unpack .../vim_2%3a8.1.0875-5+deb10u2_amd64.deb ... +Unpacking vim (2:8.1.0875-5+deb10u2) ... +Setting up libgpm2:amd64 (1.20.7-5) ... +Setting up xxd (2:8.1.0875-5+deb10u2) ... +Setting up vim-common (2:8.1.0875-5+deb10u2) ... +Setting up vim-runtime (2:8.1.0875-5+deb10u2) ... +Setting up vim (2:8.1.0875-5+deb10u2) ... +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode +update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/editor (editor) in auto mode +Processing triggers for hicolor-icon-theme (0.17-2) ... +Processing triggers for libc-bin (2.28-10) ... +Processing triggers for mime-support (3.62) ... + +WARNING: apt does not have a stable CLI interface. Use with caution in scripts. + +Reading package lists... +Building dependency tree... +Reading state information... +The following additional packages will be installed: + libcurl4 libcurl4-openssl-dev +Suggested packages: + libcurl4-doc libidn11-dev libldap2-dev librtmp-dev libssh2-1-dev +The following packages will be upgraded: + curl libcurl4 libcurl4-openssl-dev +3 upgraded, 0 newly installed, 0 to remove and 153 not upgraded. +Need to get 1017 kB of archives. +After this operation, 5120 B of additional disk space will be used. +Get:1 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4-openssl-dev amd64 7.64.0-4+deb10u2 [420 kB] +Get:2 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 curl amd64 7.64.0-4+deb10u2 [265 kB] +Get:3 http://mirrors.tools.huawei.com/debian-archive/debian buster/main amd64 libcurl4 amd64 7.64.0-4+deb10u2 [332 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 1017 kB in 0s (3941 kB/s) +(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 28626 files and directories currently installed.) +Preparing to unpack .../libcurl4-openssl-dev_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../curl_7.64.0-4+deb10u2_amd64.deb ... +Unpacking curl (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Preparing to unpack .../libcurl4_7.64.0-4+deb10u2_amd64.deb ... +Unpacking libcurl4:amd64 (7.64.0-4+deb10u2) over (7.64.0-4+deb10u1) ... +Setting up libcurl4:amd64 (7.64.0-4+deb10u2) ... +Setting up curl (7.64.0-4+deb10u2) ... +Setting up libcurl4-openssl-dev:amd64 (7.64.0-4+deb10u2) ... +Processing triggers for libc-bin (2.28-10) ... +=== 配置证书 (abcert) === +[abcert][INFO] Created temporary directory .tmp.pems.asI6iP3S +[abcert][INFO] Operating system: Debian GNU/Linux 10 (buster) +[abcert][INFO] Installing certificates +'.tmp.pems.asI6iP3S/HWBPITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWBPITEnterpriseCA1.crt' +'.tmp.pems.asI6iP3S/HWITEnterpriseCA1.pem' -> '/usr/local/share/ca-certificates/HWITEnterpriseCA1.crt' +'.tmp.pems.asI6iP3S/HuaweiBPITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiBPITRootCA.crt' +'.tmp.pems.asI6iP3S/HuaweiITRootCA.pem' -> '/usr/local/share/ca-certificates/HuaweiITRootCA.crt' +'.tmp.pems.asI6iP3S/HuaweiWebSecureInternetGatewayCA.pem' -> '/usr/local/share/ca-certificates/HuaweiWebSecureInternetGatewayCA.crt' +Updating certificates in /etc/ssl/certs... +5 added, 0 removed; done. +Running hooks in /etc/ca-certificates/update.d... +done. +[abcert][INFO] Removed .tmp.pems.asI6iP3S +abcert 安装完成 +================git===================== +http.version=HTTP/1.1 +http.postbuffer=524288000 +http.timeout=600 +================git===================== +================env===================== +HTTPS_PROXY=http://test:test@proxysg.huawei.com:8080/ +no_proxy=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +HOSTNAME=543026098dd4 +GCC_MIRRORS=https://ftpmirror.gnu.org/gcc https://bigsearcher.com/mirrors/gcc/releases https://mirrors-usa.go-parts.com/gcc/releases https://mirrors.concertpass.com/gcc/releases http://www.netgull.com/gcc/releases +HOME=/root +OLDPWD=/home +NO_PROXY=127.0.0.1,.huawei.com,localhost,local,.local,10.173.93.185,7.242.105.181,7.150.10.43 +SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt +https_proxy=http://test:test@proxysg.huawei.com:8080/ +GPG_KEYS=B215C1633BCA0477615F1B35A5B3A004745C015A B3C42148A44E6983B3E4CC0793FA9B1AB75C61B8 90AA470469D3965A87A5DCB494D03953902C9419 80F98B2E0DAB6C8281BDF541A7C8C3B2F71EDF1C 7F74F97C103468EE5D750B583AB00996FC26A641 33C235A34C46AA3FFB293709A328C3A2C3C45C06 +http_proxy=http://test:test@proxysg.huawei.com:8080/ +PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin +GIT_SSL_NO_VERIFY=true +PWD=/tmp/tmp.ekyLP6oap3/abcert_install +HTTP_PROXY=http://test:test@proxysg.huawei.com:8080/ +GCC_VERSION=7.5.0 +================env===================== +#!/bin/bash +# set -e + +cd /home/simdjson +git ls-files --others --exclude-standard | xargs -I {} mv {} {}.bak +patch --batch --fuzz=5 -p1 -i /home/test.patch;tail -c1 /home/fix.patch | read -r || echo >> /home/fix.patch;patch --batch --fuzz=5 -p1 -i /home/fix.patch || true +cd build +cmake -DSIMDJSON_DEVELOPER_MODE=ON .. +cmake --build . +ctest + +========================================= +patching file tests/basictests.cpp +patching file tests/cast_tester.h +patching file include/simdjson/dom/element.h +patching file include/simdjson/inline/element.h +patching file singleheader/simdjson.h +-- The CXX compiler identification is GNU 7.5.0 +-- The C compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Check for working C compiler: /usr/local/bin/gcc +-- Check for working C compiler: /usr/local/bin/gcc -- works +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Detecting C compile features +-- Detecting C compile features - done +-- No build type selected, default to Release +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- Building a dynamic library. +-- Library output directory (does not apply to Visual Studio): /home/simdjson/build +-- /home/simdjson/dependencies/benchmark/.git does not exist. Initializing benchmark submodule ... +Submodule 'dependencies/benchmark' (https://github.com/google/benchmark.git) registered for path 'dependencies/benchmark' +Cloning into '/home/simdjson/dependencies/benchmark'... +Submodule path 'dependencies/benchmark': checked out '8982e1ee6aef31e48170400b7d1dc9969b156e5e' +-- Failed to find LLVM FileCheck +-- Found Git: /usr/bin/git (found version "2.20.1") +-- git Version: v1.5.0-8982e1ee +-- Version: 1.5.0 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 +-- Performing Test HAVE_CXX_FLAG_STD_CXX11 - Success +-- Performing Test HAVE_CXX_FLAG_WALL +-- Performing Test HAVE_CXX_FLAG_WALL - Success +-- Performing Test HAVE_CXX_FLAG_WEXTRA +-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success +-- Performing Test HAVE_CXX_FLAG_WSHADOW +-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success +-- Performing Test HAVE_CXX_FLAG_WERROR +-- Performing Test HAVE_CXX_FLAG_WERROR - Success +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 +-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed +-- 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_WNO_DEPRECATED +-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - 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 - Failed +-- Performing Test HAVE_CXX_FLAG_COVERAGE +-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX +-- Performing Test HAVE_STD_REGEX -- success +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX +-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX +-- Performing Test HAVE_POSIX_REGEX -- success +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK +-- Performing Test HAVE_STEADY_CLOCK -- success +-- /home/simdjson/dependencies/cJSON/.git does not exist. Initializing cJSON submodule ... +Submodule 'dependencies/cJSON' (https://github.com/DaveGamble/cJSON.git) registered for path 'dependencies/cJSON' +Cloning into '/home/simdjson/dependencies/cJSON'... +Submodule path 'dependencies/cJSON': checked out 'c69134d01746dcf551dd7724b4edb12f922eb0d1' +-- /home/simdjson/dependencies/fastjson/.git does not exist. Initializing fastjson submodule ... +Submodule 'dependencies/fastjson' (https://github.com/mikeando/fastjson.git) registered for path 'dependencies/fastjson' +Cloning into '/home/simdjson/dependencies/fastjson'... +Submodule path 'dependencies/fastjson': checked out '485f994a61a64ac73fa6a40d4d639b99b463563b' +-- /home/simdjson/dependencies/gason/.git does not exist. Initializing gason submodule ... +Submodule 'dependencies/gason' (https://github.com/vivkin/gason.git) registered for path 'dependencies/gason' +Cloning into '/home/simdjson/dependencies/gason'... +Submodule path 'dependencies/gason': checked out '7aee524189da1c1ecd19f67981e3d903dae25470' +-- /home/simdjson/dependencies/jsmn/.git does not exist. Initializing jsmn submodule ... +Submodule 'dependencies/jsmn' (https://github.com/zserge/jsmn.git) registered for path 'dependencies/jsmn' +Cloning into '/home/simdjson/dependencies/jsmn'... +Submodule path 'dependencies/jsmn': checked out '18e9fe42cbfe21d65076f5c77ae2be379ad1270f' +-- /home/simdjson/dependencies/json/.git does not exist. Initializing json submodule ... +Submodule 'dependencies/json' (https://github.com/nlohmann/json.git) registered for path 'dependencies/json' +Cloning into '/home/simdjson/dependencies/json'... +Submodule path 'dependencies/json': checked out 'a015b78e81c859b88840cb0cd4001ce1fe5e7865' +-- /home/simdjson/dependencies/json11/.git does not exist. Initializing json11 submodule ... +Submodule 'dependencies/json11' (https://github.com/dropbox/json11.git) registered for path 'dependencies/json11' +Cloning into '/home/simdjson/dependencies/json11'... +Submodule path 'dependencies/json11': checked out 'ec4e45219af1d7cde3d58b49ed762376fccf1ace' +-- /home/simdjson/dependencies/rapidjson/.git does not exist. Initializing rapidjson submodule ... +Submodule 'scalarvssimd/rapidjson' (https://github.com/Tencent/rapidjson.git) registered for path 'dependencies/rapidjson' +Cloning into '/home/simdjson/dependencies/rapidjson'... +Submodule path 'dependencies/rapidjson': checked out 'b32cd9421c5e3cbe183a99b6537ce11441e50656' +-- /home/simdjson/dependencies/sajson/.git does not exist. Initializing sajson submodule ... +Submodule 'dependencies/sajson' (https://github.com/chadaustin/sajson.git) registered for path 'dependencies/sajson' +Cloning into '/home/simdjson/dependencies/sajson'... +Submodule path 'dependencies/sajson': checked out '2dcfd350586375f9910f74821d4f07d67ae455ba' +-- /home/simdjson/dependencies/ujson4c/.git does not exist. Initializing ujson4c submodule ... +Submodule 'dependencies/ujson4c' (https://github.com/esnme/ujson4c.git) registered for path 'dependencies/ujson4c' +Cloning into '/home/simdjson/dependencies/ujson4c'... +Submodule path 'dependencies/ujson4c': checked out 'e14f3fd5207fe30d1bdea723f260609e69d1abfa' +-- /home/simdjson/dependencies/cxxopts/.git does not exist. Initializing cxxopts submodule ... +Submodule 'dependencies/cxxopts' (https://github.com/jarro2783/cxxopts) registered for path 'dependencies/cxxopts' +Cloning into '/home/simdjson/dependencies/cxxopts'... +Submodule path 'dependencies/cxxopts': checked out '794c975287355de48158d9a80ed502d26b20a472' +-- Configuring done +-- Generating done +CMake Warning: + Manually-specified variables were not used by the project: + + SIMDJSON_DEVELOPER_MODE + + +-- Build files have been written to: /home/simdjson/build +Scanning dependencies of target simdjson +[ 1%] Building CXX object src/CMakeFiles/simdjson.dir/simdjson.cpp.o +[ 2%] Linking CXX shared library ../libsimdjson.so +[ 2%] Built target simdjson +Scanning dependencies of target jsonstats +[ 3%] Building CXX object tools/CMakeFiles/jsonstats.dir/jsonstats.cpp.o +[ 3%] Linking CXX executable jsonstats +[ 3%] Built target jsonstats +Scanning dependencies of target json2json +[ 5%] Building CXX object tools/CMakeFiles/json2json.dir/json2json.cpp.o +[ 6%] Linking CXX executable json2json +[ 6%] Built target json2json +Scanning dependencies of target minify +[ 6%] Building CXX object tools/CMakeFiles/minify.dir/minify.cpp.o +[ 7%] Linking CXX executable minify +[ 7%] Built target minify +Scanning dependencies of target amalgamate_demo_direct_from_repository +[ 9%] Building CXX object singleheader/CMakeFiles/amalgamate_demo_direct_from_repository.dir/amalgamate_demo.cpp.o +[ 9%] Linking CXX executable amalgamate_demo_direct_from_repository +[ 9%] Built target amalgamate_demo_direct_from_repository +[ 10%] Generating simdjson.cpp, simdjson.h, amalgamate_demo.cpp, README.md +Project at /home/simdjson +We are about to amalgamate all simdjson files into one source file. +See https://www.sqlite.org/amalgamation.html and https://en.wikipedia.org/wiki/Single_Compilation_Unit for rationale. +Creating /home/simdjson/build/singleheader/simdjson.h... +Creating /home/simdjson/build/singleheader/simdjson.cpp... +Creating /home/simdjson/build/singleheader/amalgamate_demo.cpp... +Done with all files generation. +Files have been written to directory: /home/simdjson/build/singleheader/ +-rw-r--r-- 1 root root 165 Jul 14 01:48 /home/simdjson/build/singleheader/README.md +-rw-r--r-- 1 root root 1227 Jul 14 01:48 /home/simdjson/build/singleheader/amalgamate_demo.cpp +-rw-r--r-- 1 root root 552759 Jul 14 01:48 /home/simdjson/build/singleheader/simdjson.cpp +-rw-r--r-- 1 root root 249702 Jul 14 01:48 /home/simdjson/build/singleheader/simdjson.h + +Giving final instructions: +Try : +c++ -O3 -std=c++17 -pthread -o amalgamate_demo amalgamate_demo.cpp && ./amalgamate_demo ../jsonexamples/twitter.json ../jsonexamples/amazon_cellphones.ndjson +Scanning dependencies of target amalgamate_demo +[ 10%] Building CXX object singleheader/CMakeFiles/amalgamate_demo.dir/amalgamate_demo.cpp.o +[ 11%] Linking CXX executable amalgamate_demo +[ 11%] Built target amalgamate_demo +Scanning dependencies of target competition-ujson4c +[ 12%] Building C object dependencies/CMakeFiles/competition-ujson4c.dir/ujson4c/src/ujdecode.c.o +[ 12%] Linking C static library libcompetition-ujson4c.a +[ 12%] Built target competition-ujson4c +Scanning dependencies of target benchmark +[ 12%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark.cc.o +[ 14%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_api_internal.cc.o +[ 15%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_name.cc.o +[ 15%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_register.cc.o +[ 16%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/benchmark_runner.cc.o +[ 18%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/colorprint.cc.o +[ 18%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/commandlineflags.cc.o +[ 19%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/complexity.cc.o +[ 20%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/console_reporter.cc.o +[ 20%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/counter.cc.o +[ 22%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/csv_reporter.cc.o +[ 23%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/json_reporter.cc.o +[ 23%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/reporter.cc.o +[ 24%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/sleep.cc.o +[ 25%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/statistics.cc.o +[ 25%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/string_util.cc.o +[ 27%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/sysinfo.cc.o +[ 28%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark.dir/timers.cc.o +[ 28%] Linking CXX static library libbenchmark.a +[ 28%] Built target benchmark +Scanning dependencies of target benchmark_main +[ 29%] Building CXX object dependencies/benchmark/src/CMakeFiles/benchmark_main.dir/benchmark_main.cc.o +[ 31%] Linking CXX static library libbenchmark_main.a +[ 31%] Built target benchmark_main +Scanning dependencies of target generated-data +[ 31%] Built target generated-data +Scanning dependencies of target errortests +[ 32%] Building CXX object tests/CMakeFiles/errortests.dir/errortests.cpp.o +[ 32%] Linking CXX executable errortests +[ 32%] Built target errortests +Scanning dependencies of target jsoncheck +[ 32%] Building CXX object tests/CMakeFiles/jsoncheck.dir/jsoncheck.cpp.o +[ 33%] Linking CXX executable jsoncheck +[ 33%] Built target jsoncheck +Scanning dependencies of target numberparsingcheck +[ 35%] Building CXX object tests/CMakeFiles/numberparsingcheck.dir/numberparsingcheck.cpp.o +[ 35%] Linking CXX executable numberparsingcheck +[ 35%] Built target numberparsingcheck +Scanning dependencies of target basictests +[ 36%] Building CXX object tests/CMakeFiles/basictests.dir/basictests.cpp.o +[ 37%] Linking CXX executable basictests +[ 37%] Built target basictests +Scanning dependencies of target stringparsingcheck +[ 37%] Building CXX object tests/CMakeFiles/stringparsingcheck.dir/stringparsingcheck.cpp.o +[ 38%] Linking CXX executable stringparsingcheck +[ 38%] Built target stringparsingcheck +Scanning dependencies of target parse_many_test +[ 38%] Building CXX object tests/CMakeFiles/parse_many_test.dir/parse_many_test.cpp.o +[ 40%] Linking CXX executable parse_many_test +[ 40%] Built target parse_many_test +Scanning dependencies of target extracting_values_example +[ 41%] Building CXX object tests/CMakeFiles/extracting_values_example.dir/extracting_values_example.cpp.o +[ 41%] Linking CXX executable extracting_values_example +[ 41%] Built target extracting_values_example +Scanning dependencies of target integer_tests +[ 42%] Building CXX object tests/CMakeFiles/integer_tests.dir/integer_tests.cpp.o +[ 42%] Linking CXX executable integer_tests +[ 42%] Built target integer_tests +Scanning dependencies of target unicode_tests +[ 44%] Building CXX object tests/CMakeFiles/unicode_tests.dir/unicode_tests.cpp.o +[ 45%] Linking CXX executable unicode_tests +[ 45%] Built target unicode_tests +Scanning dependencies of target checkimplementation +[ 45%] Building CXX object tests/CMakeFiles/checkimplementation.dir/checkimplementation.cpp.o +[ 46%] Linking CXX executable checkimplementation +[ 46%] Built target checkimplementation +Scanning dependencies of target pointercheck +[ 48%] Building CXX object tests/CMakeFiles/pointercheck.dir/pointercheck.cpp.o +[ 49%] Linking CXX executable pointercheck +[ 49%] Built target pointercheck +Scanning dependencies of target init-checkperf-repo +[ 50%] Generating checkperf-reference/master/.git/config +Initialized empty Git repository in /home/simdjson/build/benchmark/checkperf-reference/master/.git/ +[ 50%] Built target init-checkperf-repo +Scanning dependencies of target checkperf-repo +[ 51%] Generating checkperf-reference/master/.git/FETCH_HEAD +From https://github.com/simdjson/simdjson + * branch master -> FETCH_HEAD + * [new branch] master -> origin/master +HEAD is now at 0bafb82 Add LASX (LoongArch 256-bit SIMD) fast path for JSON string escaping (#2778) +[ 51%] Built target checkperf-repo +Scanning dependencies of target simdjson-user-cmakecache +[ 51%] Generating .simdjson-user-CMakeCache.txt +[ 51%] Built target simdjson-user-cmakecache +Scanning dependencies of target checkperf-parse +[ 51%] Generating checkperf-reference/master/build/CMakeCache.txt +[ 53%] Generating checkperf-reference/master/build/cmake_install.cmake +-- The CXX compiler identification is GNU 7.5.0 +-- The C compiler identification is GNU 7.5.0 +-- Check for working CXX compiler: /usr/local/bin/c++ +-- Check for working CXX compiler: /usr/local/bin/c++ -- works +-- Detecting CXX compiler ABI info +-- Detecting CXX compiler ABI info - done +-- Detecting CXX compile features +-- Detecting CXX compile features - done +-- Check for working C compiler: /usr/local/bin/gcc +-- Check for working C compiler: /usr/local/bin/gcc -- works +-- Detecting C compiler ABI info +-- Detecting C compiler ABI info - done +-- Detecting C compile features +-- Detecting C compile features - done +CMake Warning at CMakeLists.txt:59 (message): + SIMDJSON_STATIC_REFLECTION is disabled because your CMake version is below + 3.25 + + +CMake Deprecation Warning at cmake/handle-deprecations.cmake:2 (message): + SIMDJSON_BUILD_STATIC is deprecated, setting BUILD_SHARED_LIBS with its + value and unsetting it +Call Stack (most recent call first): + CMakeLists.txt:122 (include) + + +CMake Deprecation Warning at cmake/handle-deprecations.cmake:14 (message): + SIMDJSON_JUST_LIBRARY is deprecated, setting SIMDJSON_DEVELOPER_MODE with + its value and unsetting it +Call Stack (most recent call first): + CMakeLists.txt:122 (include) + + +-- Looking for fork +-- Looking for fork - found +-- Looking for wait +-- Looking for wait - found +-- Looking for C++ include bit +-- Looking for C++ include bit - not found +-- Adding -Og to compile flag +-- Looking for pthread.h +-- Looking for pthread.h - found +-- Looking for pthread_create +-- Looking for pthread_create - not found +-- Check if compiler accepts -pthread +-- Check if compiler accepts -pthread - yes +-- Found Threads: TRUE +-- CPM: Adding package counters@3.1.0 (3.1.0) +-- CPM: Adding package simdjson-data@ () +-- CPM: Adding package cxxopts@ () +-- cxxopts version 3.2.1 +-- We have cxxopts as a dependency and we are building the tools (e.g., json2json). +-- Found Python3: /usr/bin/python3.7 (found version "3.7.3") found components: Interpreter +-- Including amalgamate_demo test. +-- Including simdjson-singleheader test. +-- Including amalgamate_demo_direct_from_repository test. +-- Either git is unavailable or else it is too old. We are disabling checkperf targets. +-- Performing Test SIMDJSON_COMPILER_SUPPORTS_CXX20 +-- Performing Test SIMDJSON_COMPILER_SUPPORTS_CXX20 - Failed +-- Configuring done +-- Generating done +-- Build files have been written to: /home/simdjson/build/benchmark/checkperf-reference/master/build +Scanning dependencies of target generated-data +[ 0%] Built target generated-data +Scanning dependencies of target simdjson +[100%] Building CXX object CMakeFiles/simdjson.dir/src/simdjson.cpp.o +[100%] Linking CXX shared library libsimdjson.so +[100%] Built target simdjson +Scanning dependencies of target parse +[100%] Building CXX object benchmark/dom/CMakeFiles/parse.dir/parse.cpp.o +[100%] Linking CXX executable parse +[100%] Built target parse +[ 53%] Built target checkperf-parse +Scanning dependencies of target statisticalmodel +[ 54%] Building CXX object benchmark/CMakeFiles/statisticalmodel.dir/statisticalmodel.cpp.o +[ 55%] Linking CXX executable statisticalmodel +[ 55%] Built target statisticalmodel +Scanning dependencies of target parse +[ 57%] Building CXX object benchmark/CMakeFiles/parse.dir/parse.cpp.o +[ 58%] Linking CXX executable parse +[ 58%] Built target parse +Scanning dependencies of target parse_stream +[ 59%] Building CXX object benchmark/CMakeFiles/parse_stream.dir/parse_stream.cpp.o +[ 59%] Linking CXX executable parse_stream +[ 59%] Built target parse_stream +Scanning dependencies of target perfdiff +[ 61%] Building CXX object benchmark/CMakeFiles/perfdiff.dir/perfdiff.cpp.o +[ 61%] Linking CXX executable perfdiff +[ 61%] Built target perfdiff +Scanning dependencies of target benchfeatures +[ 62%] Building CXX object benchmark/CMakeFiles/benchfeatures.dir/benchfeatures.cpp.o +[ 63%] Linking CXX executable benchfeatures +[ 63%] Built target benchfeatures +Scanning dependencies of target get_corpus_benchmark +[ 64%] Building CXX object benchmark/CMakeFiles/get_corpus_benchmark.dir/get_corpus_benchmark.cpp.o +[ 64%] Linking CXX executable get_corpus_benchmark +[ 64%] Built target get_corpus_benchmark +Scanning dependencies of target parse_noutf8validation +[ 64%] Building CXX object benchmark/CMakeFiles/parse_noutf8validation.dir/parse.cpp.o +[ 66%] Linking CXX executable parse_noutf8validation +[ 66%] Built target parse_noutf8validation +Scanning dependencies of target parse_nonumberparsing +[ 67%] Building CXX object benchmark/CMakeFiles/parse_nonumberparsing.dir/parse.cpp.o +[ 67%] Linking CXX executable parse_nonumberparsing +[ 67%] Built target parse_nonumberparsing +Scanning dependencies of target bench_dom_api +[ 67%] Building CXX object benchmark/CMakeFiles/bench_dom_api.dir/bench_dom_api.cpp.o +[ 68%] Linking CXX executable bench_dom_api +[ 68%] Built target bench_dom_api +Scanning dependencies of target distinctuseridcompetition +[ 68%] Building CXX object benchmark/CMakeFiles/distinctuseridcompetition.dir/distinctuseridcompetition.cpp.o +[ 70%] Linking CXX executable distinctuseridcompetition +[ 70%] Built target distinctuseridcompetition +Scanning dependencies of target parse_nostringparsing +[ 71%] Building CXX object benchmark/CMakeFiles/parse_nostringparsing.dir/parse.cpp.o +[ 72%] Linking CXX executable parse_nostringparsing +[ 72%] Built target parse_nostringparsing +Scanning dependencies of target minifiercompetition +[ 74%] Building CXX object benchmark/CMakeFiles/minifiercompetition.dir/minifiercompetition.cpp.o +[ 75%] Linking CXX executable minifiercompetition +[ 75%] Built target minifiercompetition +Scanning dependencies of target parseandstatcompetition +[ 76%] Building CXX object benchmark/CMakeFiles/parseandstatcompetition.dir/parseandstatcompetition.cpp.o +[ 77%] Linking CXX executable parseandstatcompetition +[ 77%] Built target parseandstatcompetition +Scanning dependencies of target bench_parse_call +[ 79%] Building CXX object benchmark/CMakeFiles/bench_parse_call.dir/bench_parse_call.cpp.o +[ 79%] Linking CXX executable bench_parse_call +[ 79%] Built target bench_parse_call +Scanning dependencies of target parsingcompetition +[ 79%] Building CXX object benchmark/CMakeFiles/parsingcompetition.dir/parsingcompetition.cpp.o +[ 80%] Linking CXX executable parsingcompetition +[ 80%] Built target parsingcompetition +Scanning dependencies of target allparsingcompetition +[ 80%] Building CXX object benchmark/CMakeFiles/allparsingcompetition.dir/parsingcompetition.cpp.o +[ 81%] Linking CXX executable allparsingcompetition +[ 81%] Built target allparsingcompetition +Scanning dependencies of target fuzz_parser +[ 81%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/fuzz_parser.cpp.o +[ 83%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/main.cpp.o +[ 84%] Building CXX object fuzz/CMakeFiles/fuzz_parser.dir/__/src/simdjson.cpp.o +[ 84%] Linking CXX executable fuzz_parser +[ 84%] Built target fuzz_parser +Scanning dependencies of target fuzz_minify +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/fuzz_minify.cpp.o +[ 85%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/main.cpp.o +[ 87%] Building CXX object fuzz/CMakeFiles/fuzz_minify.dir/__/src/simdjson.cpp.o +[ 88%] Linking CXX executable fuzz_minify +[ 88%] Built target fuzz_minify +Scanning dependencies of target fuzz_dump +[ 89%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/fuzz_dump.cpp.o +[ 90%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/main.cpp.o +[ 92%] Building CXX object fuzz/CMakeFiles/fuzz_dump.dir/__/src/simdjson.cpp.o +[ 92%] Linking CXX executable fuzz_dump +[ 92%] Built target fuzz_dump +Scanning dependencies of target fuzz_print_json +[ 93%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/fuzz_print_json.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/main.cpp.o +[ 94%] Building CXX object fuzz/CMakeFiles/fuzz_print_json.dir/__/src/simdjson.cpp.o +[ 96%] Linking CXX executable fuzz_print_json +[ 96%] Built target fuzz_print_json +Scanning dependencies of target fuzz_dump_raw_tape +[ 97%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/fuzz_dump_raw_tape.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/main.cpp.o +[ 98%] Building CXX object fuzz/CMakeFiles/fuzz_dump_raw_tape.dir/__/src/simdjson.cpp.o +[100%] Linking CXX executable fuzz_dump_raw_tape +[100%] Built target fuzz_dump_raw_tape +Test project /home/simdjson/build + Start 1: avoid_abort + 1/48 Test #1: avoid_abort .......................................... Passed 0.00 sec + Start 2: avoid_stdout + 2/48 Test #2: avoid_stdout ......................................... Passed 0.00 sec + Start 3: avoid_stderr + 3/48 Test #3: avoid_stderr ......................................... Passed 0.00 sec + Start 4: amalgamate_demo + 4/48 Test #4: amalgamate_demo ...................................... Passed 0.00 sec + Start 5: amalgamate_demo_direct_from_repository + 5/48 Test #5: amalgamate_demo_direct_from_repository ............... Passed 0.00 sec + Start 6: numberparsingcheck + 6/48 Test #6: numberparsingcheck ................................... Passed 0.06 sec + Start 7: stringparsingcheck + 7/48 Test #7: stringparsingcheck ................................... Passed 0.03 sec + Start 8: basictests + 8/48 Test #8: basictests ........................................... Passed 3.43 sec + Start 9: errortests + 9/48 Test #9: errortests ........................................... Passed 0.00 sec + Start 10: integer_tests +10/48 Test #10: integer_tests ........................................ Passed 0.00 sec + Start 11: jsoncheck +11/48 Test #11: jsoncheck ............................................ Passed 0.00 sec + Start 12: parse_many_test +12/48 Test #12: parse_many_test ...................................... Passed 0.00 sec + Start 13: pointercheck +13/48 Test #13: pointercheck ......................................... Passed 0.00 sec + Start 14: extracting_values_example +14/48 Test #14: extracting_values_example ............................ Passed 0.00 sec + Start 15: unicode_tests +15/48 Test #15: unicode_tests ........................................ Passed 2.58 sec + Start 18: json2json +16/48 Test #18: json2json ............................................ Passed 0.01 sec + Start 16: testjson2json +17/48 Test #16: testjson2json ........................................ Passed 1.31 sec + Start 17: checkimplementation +18/48 Test #17: checkimplementation .................................. Passed 0.00 sec + Start 19: simdjson_force_implementation +19/48 Test #19: simdjson_force_implementation ........................ Passed 0.00 sec + Start 20: simdjson_force_implementation_error +20/48 Test #20: simdjson_force_implementation_error .................. Passed 0.00 sec + Start 21: readme_examples +21/48 Test #21: readme_examples ...................................... Passed 1.59 sec + Start 22: readme_examples11 +22/48 Test #22: readme_examples11 .................................... Passed 1.59 sec + Start 23: readme_examples_noexceptions +23/48 Test #23: readme_examples_noexceptions ......................... Passed 1.28 sec + Start 24: readme_examples_noexceptions11 +24/48 Test #24: readme_examples_noexceptions11 ....................... Passed 1.12 sec + Start 25: readme_examples_will_fail_with_exceptions_off +25/48 Test #25: readme_examples_will_fail_with_exceptions_off ........ Passed 0.68 sec + Start 26: example_compiletest_should_compile +26/48 Test #26: example_compiletest_should_compile ................... Passed 0.15 sec + Start 27: example_compiletest_should_not_compile +27/48 Test #27: example_compiletest_should_not_compile ............... Passed 0.10 sec + Start 28: dangling_parser_load_should_compile +28/48 Test #28: dangling_parser_load_should_compile .................. Passed 0.93 sec + Start 29: dangling_parser_load_should_not_compile +29/48 Test #29: dangling_parser_load_should_not_compile .............. Passed 0.66 sec + Start 30: dangling_parser_parse_uint8_should_compile +30/48 Test #30: dangling_parser_parse_uint8_should_compile ........... Passed 0.88 sec + Start 31: dangling_parser_parse_uint8_should_not_compile +31/48 Test #31: dangling_parser_parse_uint8_should_not_compile ....... Passed 0.66 sec + Start 32: dangling_parser_parse_uchar_should_compile +32/48 Test #32: dangling_parser_parse_uchar_should_compile ........... Passed 0.88 sec + Start 33: dangling_parser_parse_uchar_should_not_compile +33/48 Test #33: dangling_parser_parse_uchar_should_not_compile ....... Passed 0.66 sec + Start 34: dangling_parser_parse_stdstring_should_compile +34/48 Test #34: dangling_parser_parse_stdstring_should_compile ....... Passed 0.88 sec + Start 35: dangling_parser_parse_stdstring_should_not_compile +35/48 Test #35: dangling_parser_parse_stdstring_should_not_compile ... Passed 0.65 sec + Start 36: dangling_parser_parse_padstring_should_compile +36/48 Test #36: dangling_parser_parse_padstring_should_compile ....... Passed 0.86 sec + Start 37: dangling_parser_parse_padstring_should_not_compile +37/48 Test #37: dangling_parser_parse_padstring_should_not_compile ... Passed 0.66 sec + Start 38: quickstart +38/48 Test #38: quickstart ........................................... Passed 3.56 sec + Start 39: quickstart11 +39/48 Test #39: quickstart11 ......................................... Passed 3.57 sec + Start 40: quickstart14 +40/48 Test #40: quickstart14 ......................................... Passed 3.51 sec + Start 41: quickstart_noexceptions +41/48 Test #41: quickstart_noexceptions .............................. Passed 3.46 sec + Start 42: quickstart_noexceptions11 +42/48 Test #42: quickstart_noexceptions11 ............................ Passed 3.41 sec + Start 43: checkperf +43/48 Test #43: checkperf ............................................***Failed 0.15 sec + Start 44: fuzz_parser +44/48 Test #44: fuzz_parser .......................................... Passed 0.00 sec + Start 45: fuzz_minify +45/48 Test #45: fuzz_minify .......................................... Passed 0.00 sec + Start 46: fuzz_dump +46/48 Test #46: fuzz_dump ............................................ Passed 0.00 sec + Start 47: fuzz_print_json +47/48 Test #47: fuzz_print_json ...................................... Passed 0.00 sec + Start 48: fuzz_dump_raw_tape +48/48 Test #48: fuzz_dump_raw_tape ................................... Passed 0.00 sec + +98% tests passed, 1 tests failed out of 48 + +Label Time Summary: +acceptance = 26.34 sec*proc (25 tests) +compile = 3.46 sec*proc (1 test) +compiletests = 7.13 sec*proc (2 tests) +fuzz = 0.01 sec*proc (5 tests) +per_implementation = 7.57 sec*proc (14 tests) + +Total Test time (real) = 39.35 sec + +The following tests FAILED: + 43 - checkperf (Failed) +Errors while running CTest diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/fix.patch b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/fix.patch new file mode 100644 index 000000000..d4affc787 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/fix.patch @@ -0,0 +1,206 @@ +diff --git a/include/simdjson/dom/element.h b/include/simdjson/dom/element.h +index 6d9af51d..acd466fc 100644 +--- a/include/simdjson/dom/element.h ++++ b/include/simdjson/dom/element.h +@@ -455,7 +455,7 @@ public: + + really_inline simdjson_result type() const noexcept; + template +- really_inline simdjson_result is() const noexcept; ++ really_inline bool is() const noexcept; + template + really_inline simdjson_result get() const noexcept; + template +@@ -470,14 +470,14 @@ public: + really_inline simdjson_result get_double() const noexcept; + really_inline simdjson_result get_bool() const noexcept; + +- really_inline simdjson_result is_array() const noexcept; +- really_inline simdjson_result is_object() const noexcept; +- really_inline simdjson_result is_string() const noexcept; +- really_inline simdjson_result is_int64_t() const noexcept; +- really_inline simdjson_result is_uint64_t() const noexcept; +- really_inline simdjson_result is_double() const noexcept; +- really_inline simdjson_result is_bool() const noexcept; +- really_inline simdjson_result is_null() const noexcept; ++ really_inline bool is_array() const noexcept; ++ really_inline bool is_object() const noexcept; ++ really_inline bool is_string() const noexcept; ++ really_inline bool is_int64_t() const noexcept; ++ really_inline bool is_uint64_t() const noexcept; ++ really_inline bool is_double() const noexcept; ++ really_inline bool is_bool() const noexcept; ++ really_inline bool is_null() const noexcept; + + really_inline simdjson_result operator[](const std::string_view &key) const noexcept; + really_inline simdjson_result operator[](const char *key) const noexcept; +diff --git a/include/simdjson/inline/element.h b/include/simdjson/inline/element.h +index 690f40ff..af6b6a82 100644 +--- a/include/simdjson/inline/element.h ++++ b/include/simdjson/inline/element.h +@@ -24,8 +24,8 @@ inline simdjson_result simdjson_result::type() + } + + template +-really_inline simdjson_result simdjson_result::is() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is() const noexcept { ++ if (error()) { return false; } + return first.is(); + } + template +@@ -72,37 +72,37 @@ really_inline simdjson_result simdjson_result::get_bool() co + return first.get_bool(); + } + +-really_inline simdjson_result simdjson_result::is_array() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_array() const noexcept { ++ if (error()) { return false; } + return first.is_array(); + } +-really_inline simdjson_result simdjson_result::is_object() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_object() const noexcept { ++ if (error()) { return false; } + return first.is_object(); + } +-really_inline simdjson_result simdjson_result::is_string() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_string() const noexcept { ++ if (error()) { return false; } + return first.is_string(); + } +-really_inline simdjson_result simdjson_result::is_int64_t() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_int64_t() const noexcept { ++ if (error()) { return false; } + return first.is_int64_t(); + } +-really_inline simdjson_result simdjson_result::is_uint64_t() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_uint64_t() const noexcept { ++ if (error()) { return false; } + return first.is_uint64_t(); + } +-really_inline simdjson_result simdjson_result::is_double() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_double() const noexcept { ++ if (error()) { return false; } + return first.is_double(); + } +-really_inline simdjson_result simdjson_result::is_bool() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_bool() const noexcept { ++ if (error()) { return false; } + return first.is_bool(); + } + +-really_inline simdjson_result simdjson_result::is_null() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_null() const noexcept { ++ if (error()) { return false; } + return first.is_null(); + } + +diff --git a/singleheader/simdjson.h b/singleheader/simdjson.h +index 63a8f14e..7f04626a 100644 +--- a/singleheader/simdjson.h ++++ b/singleheader/simdjson.h +@@ -4349,7 +4349,7 @@ public: + + really_inline simdjson_result type() const noexcept; + template +- really_inline simdjson_result is() const noexcept; ++ really_inline bool is() const noexcept; + template + really_inline simdjson_result get() const noexcept; + template +@@ -4364,14 +4364,14 @@ public: + really_inline simdjson_result get_double() const noexcept; + really_inline simdjson_result get_bool() const noexcept; + +- really_inline simdjson_result is_array() const noexcept; +- really_inline simdjson_result is_object() const noexcept; +- really_inline simdjson_result is_string() const noexcept; +- really_inline simdjson_result is_int64_t() const noexcept; +- really_inline simdjson_result is_uint64_t() const noexcept; +- really_inline simdjson_result is_double() const noexcept; +- really_inline simdjson_result is_bool() const noexcept; +- really_inline simdjson_result is_null() const noexcept; ++ really_inline bool is_array() const noexcept; ++ really_inline bool is_object() const noexcept; ++ really_inline bool is_string() const noexcept; ++ really_inline bool is_int64_t() const noexcept; ++ really_inline bool is_uint64_t() const noexcept; ++ really_inline bool is_double() const noexcept; ++ really_inline bool is_bool() const noexcept; ++ really_inline bool is_null() const noexcept; + + really_inline simdjson_result operator[](const std::string_view &key) const noexcept; + really_inline simdjson_result operator[](const char *key) const noexcept; +@@ -5739,8 +5739,8 @@ inline simdjson_result simdjson_result::type() + } + + template +-really_inline simdjson_result simdjson_result::is() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is() const noexcept { ++ if (error()) { return false; } + return first.is(); + } + template +@@ -5787,37 +5787,37 @@ really_inline simdjson_result simdjson_result::get_bool() co + return first.get_bool(); + } + +-really_inline simdjson_result simdjson_result::is_array() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_array() const noexcept { ++ if (error()) { return false; } + return first.is_array(); + } +-really_inline simdjson_result simdjson_result::is_object() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_object() const noexcept { ++ if (error()) { return false; } + return first.is_object(); + } +-really_inline simdjson_result simdjson_result::is_string() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_string() const noexcept { ++ if (error()) { return false; } + return first.is_string(); + } +-really_inline simdjson_result simdjson_result::is_int64_t() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_int64_t() const noexcept { ++ if (error()) { return false; } + return first.is_int64_t(); + } +-really_inline simdjson_result simdjson_result::is_uint64_t() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_uint64_t() const noexcept { ++ if (error()) { return false; } + return first.is_uint64_t(); + } +-really_inline simdjson_result simdjson_result::is_double() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_double() const noexcept { ++ if (error()) { return false; } + return first.is_double(); + } +-really_inline simdjson_result simdjson_result::is_bool() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_bool() const noexcept { ++ if (error()) { return false; } + return first.is_bool(); + } + +-really_inline simdjson_result simdjson_result::is_null() const noexcept { +- if (error()) { return error(); } ++really_inline bool simdjson_result::is_null() const noexcept { ++ if (error()) { return false; } + return first.is_null(); + } + diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/report.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/report.json new file mode 100644 index 000000000..213bd44d7 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/logs/simdjson/simdjson/evals/pr-958/report.json @@ -0,0 +1 @@ +{"org": "simdjson", "repo": "simdjson", "number": 958, "valid": true, "error_msg": "", "fixed_tests": {"quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_dump_raw_tape": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_minify": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_dump": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_print_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "p2p_tests": {}, "f2p_tests": {}, "s2p_tests": {}, "n2p_tests": {"quickstart_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "pointercheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stderr": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart14": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_dump_raw_tape": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "parse_many_test": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uint8_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_minify": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "unicode_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_stdstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "testjson2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo_direct_from_repository": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_dump": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "numberparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "checkimplementation": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "extracting_values_example": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "integer_tests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "stringparsingcheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_abort": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "jsoncheck": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "quickstart": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_uchar_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_parser": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "avoid_stdout": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "basictests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "fuzz_print_json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_will_fail_with_exceptions_off": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "example_compiletest_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "readme_examples_noexceptions11": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "errortests": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "json2json": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_parse_padstring_should_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "simdjson_force_implementation_error": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "amalgamate_demo": {"run": "PASS", "test": "NONE", "fix": "PASS"}, "dangling_parser_load_should_not_compile": {"run": "PASS", "test": "NONE", "fix": "PASS"}}, "run_result": {"passed_count": 47, "failed_count": 0, "skipped_count": 0, "passed_tests": ["quickstart_noexceptions", "quickstart11", "dangling_parser_parse_stdstring_should_compile", "pointercheck", "avoid_stderr", "quickstart14", "fuzz_dump_raw_tape", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "dangling_parser_parse_uint8_should_not_compile", "readme_examples", "simdjson_force_implementation", "quickstart_noexceptions11", "fuzz_minify", "unicode_tests", "dangling_parser_parse_uchar_should_compile", "dangling_parser_parse_stdstring_should_not_compile", "testjson2json", "example_compiletest_should_compile", "readme_examples11", "amalgamate_demo_direct_from_repository", "fuzz_dump", "numberparsingcheck", "checkimplementation", "extracting_values_example", "integer_tests", "stringparsingcheck", "avoid_abort", "jsoncheck", "quickstart", "dangling_parser_parse_padstring_should_not_compile", "dangling_parser_parse_uchar_should_not_compile", "fuzz_parser", "dangling_parser_load_should_compile", "avoid_stdout", "readme_examples_noexceptions", "basictests", "fuzz_print_json", "readme_examples_will_fail_with_exceptions_off", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "errortests", "json2json", "dangling_parser_parse_padstring_should_compile", "simdjson_force_implementation_error", "amalgamate_demo", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}, "test_patch_result": {"passed_count": 0, "failed_count": 0, "skipped_count": 0, "passed_tests": [], "failed_tests": [], "skipped_tests": []}, "fix_patch_result": {"passed_count": 47, "failed_count": 0, "skipped_count": 0, "passed_tests": ["quickstart_noexceptions", "quickstart11", "dangling_parser_parse_stdstring_should_compile", "pointercheck", "avoid_stderr", "quickstart14", "fuzz_dump_raw_tape", "parse_many_test", "dangling_parser_parse_uint8_should_compile", "dangling_parser_parse_uint8_should_not_compile", "readme_examples", "simdjson_force_implementation", "quickstart_noexceptions11", "fuzz_minify", "unicode_tests", "dangling_parser_parse_uchar_should_compile", "testjson2json", "dangling_parser_parse_stdstring_should_not_compile", "example_compiletest_should_compile", "readme_examples11", "amalgamate_demo_direct_from_repository", "fuzz_dump", "numberparsingcheck", "checkimplementation", "extracting_values_example", "integer_tests", "stringparsingcheck", "avoid_abort", "jsoncheck", "quickstart", "dangling_parser_parse_padstring_should_not_compile", "dangling_parser_parse_uchar_should_not_compile", "dangling_parser_load_should_compile", "fuzz_parser", "avoid_stdout", "readme_examples_noexceptions", "basictests", "fuzz_print_json", "readme_examples_will_fail_with_exceptions_off", "example_compiletest_should_not_compile", "readme_examples_noexceptions11", "errortests", "json2json", "simdjson_force_implementation_error", "dangling_parser_parse_padstring_should_compile", "amalgamate_demo", "dangling_parser_load_should_not_compile"], "failed_tests": [], "skipped_tests": []}} \ No newline at end of file diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/metadata.yaml b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/metadata.yaml new file mode 100644 index 000000000..e28a22346 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/metadata.yaml @@ -0,0 +1,5 @@ +name: CodeArts Agent + CodeArts-GLM-5.1 +orgIcon: https://res-static.hc-cdn.cn/cloudbu-site/china/zh-cn/pangudoer/logo_1@2x.png +oss: false +site: https://www.huaweicloud.com/intl/zh-cn/product/codearts/ai.html +verified: false diff --git a/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/results/results.json b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/results/results.json new file mode 100644 index 000000000..75c09c1b9 --- /dev/null +++ b/evaluation/c++/verified/20260714_CodeArts-Agent_CodeArts-GLM-5.1/results/results.json @@ -0,0 +1,405 @@ +{ + "total_instances": 129, + "submitted_instances": 128, + "completed_instances": 128, + "resolved_instances": 61, + "unresolved_instances": 67, + "empty_error_patch_instances": 0, + "unstopped_instances": 0, + "completed_ids": [ + "catchorg__Catch2-1422", + "catchorg__Catch2-1448", + "catchorg__Catch2-1608", + "catchorg__Catch2-1609", + "catchorg__Catch2-1614", + "catchorg__Catch2-1616", + "catchorg__Catch2-2128", + "catchorg__Catch2-2187", + "catchorg__Catch2-2288", + "catchorg__Catch2-2394", + "catchorg__Catch2-2723", + "catchorg__Catch2-2849", + "fmtlib__fmt-1171", + "fmtlib__fmt-1361", + "fmtlib__fmt-1390", + "fmtlib__fmt-1407", + "fmtlib__fmt-1663", + "fmtlib__fmt-1837", + "fmtlib__fmt-2070", + "fmtlib__fmt-2158", + "fmtlib__fmt-2292", + "fmtlib__fmt-2310", + "fmtlib__fmt-2317", + "fmtlib__fmt-2394", + "fmtlib__fmt-2610", + "fmtlib__fmt-2940", + "fmtlib__fmt-3158", + "fmtlib__fmt-3248", + "fmtlib__fmt-3260", + "fmtlib__fmt-3271", + "fmtlib__fmt-3272", + "fmtlib__fmt-3279", + "fmtlib__fmt-3537", + "fmtlib__fmt-3555", + "fmtlib__fmt-3569", + "fmtlib__fmt-3713", + "fmtlib__fmt-3727", + "fmtlib__fmt-3729", + "fmtlib__fmt-3732", + "fmtlib__fmt-3734", + "fmtlib__fmt-3750", + "fmtlib__fmt-3819", + "fmtlib__fmt-3824", + "fmtlib__fmt-3863", + "fmtlib__fmt-3912", + "fmtlib__fmt-3913", + "fmtlib__fmt-4055", + "fmtlib__fmt-4057", + "fmtlib__fmt-4286", + "fmtlib__fmt-4310", + "fmtlib__fmt-493", + "fmtlib__fmt-967", + "fmtlib__fmt-974", + "nlohmann__json-1138", + "nlohmann__json-1221", + "nlohmann__json-1301", + "nlohmann__json-1303", + "nlohmann__json-1314", + "nlohmann__json-1323", + "nlohmann__json-1343", + "nlohmann__json-1446", + "nlohmann__json-1555", + "nlohmann__json-1769", + "nlohmann__json-18", + "nlohmann__json-1821", + "nlohmann__json-2019", + "nlohmann__json-2099", + "nlohmann__json-2212", + "nlohmann__json-2225", + "nlohmann__json-2258", + "nlohmann__json-2273", + "nlohmann__json-2297", + "nlohmann__json-2319", + "nlohmann__json-2332", + "nlohmann__json-2352", + "nlohmann__json-2576", + "nlohmann__json-2866", + "nlohmann__json-2963", + "nlohmann__json-2989", + "nlohmann__json-3008", + "nlohmann__json-3037", + "nlohmann__json-3073", + "nlohmann__json-3109", + "nlohmann__json-3332", + "nlohmann__json-3415", + "nlohmann__json-3446", + "nlohmann__json-3463", + "nlohmann__json-3514", + "nlohmann__json-3523", + "nlohmann__json-3543", + "nlohmann__json-3564", + "nlohmann__json-3590", + "nlohmann__json-3601", + "nlohmann__json-3605", + "nlohmann__json-3663", + "nlohmann__json-3664", + "nlohmann__json-4512", + "nlohmann__json-4525", + "nlohmann__json-4536", + "nlohmann__json-4537", + "nlohmann__json-508", + "nlohmann__json-545", + "nlohmann__json-609", + "nlohmann__json-708", + "nlohmann__json-807", + "nlohmann__json-944", + "nlohmann__json-969", + "nlohmann__json-986", + "simdjson__simdjson-1615", + "simdjson__simdjson-1624", + "simdjson__simdjson-1667", + "simdjson__simdjson-1695", + "simdjson__simdjson-1712", + "simdjson__simdjson-1896", + "simdjson__simdjson-1899", + "simdjson__simdjson-2016", + "simdjson__simdjson-2026", + "simdjson__simdjson-2150", + "simdjson__simdjson-2178", + "simdjson__simdjson-485", + "simdjson__simdjson-524", + "simdjson__simdjson-543", + "simdjson__simdjson-545", + "simdjson__simdjson-559", + "simdjson__simdjson-644", + "simdjson__simdjson-949", + "simdjson__simdjson-954", + "simdjson__simdjson-958" + ], + "incomplete_ids": [], + "submitted_ids": [ + "catchorg__Catch2-1422", + "catchorg__Catch2-1448", + "catchorg__Catch2-1608", + "catchorg__Catch2-1609", + "catchorg__Catch2-1614", + "catchorg__Catch2-1616", + "catchorg__Catch2-2128", + "catchorg__Catch2-2187", + "catchorg__Catch2-2288", + "catchorg__Catch2-2394", + "catchorg__Catch2-2723", + "catchorg__Catch2-2849", + "fmtlib__fmt-1171", + "fmtlib__fmt-1361", + "fmtlib__fmt-1390", + "fmtlib__fmt-1407", + "fmtlib__fmt-1663", + "fmtlib__fmt-1837", + "fmtlib__fmt-2070", + "fmtlib__fmt-2158", + "fmtlib__fmt-2292", + "fmtlib__fmt-2310", + "fmtlib__fmt-2317", + "fmtlib__fmt-2394", + "fmtlib__fmt-2610", + "fmtlib__fmt-2940", + "fmtlib__fmt-3158", + "fmtlib__fmt-3248", + "fmtlib__fmt-3260", + "fmtlib__fmt-3271", + "fmtlib__fmt-3272", + "fmtlib__fmt-3279", + "fmtlib__fmt-3537", + "fmtlib__fmt-3555", + "fmtlib__fmt-3569", + "fmtlib__fmt-3713", + "fmtlib__fmt-3727", + "fmtlib__fmt-3729", + "fmtlib__fmt-3732", + "fmtlib__fmt-3734", + "fmtlib__fmt-3750", + "fmtlib__fmt-3819", + "fmtlib__fmt-3824", + "fmtlib__fmt-3863", + "fmtlib__fmt-3912", + "fmtlib__fmt-3913", + "fmtlib__fmt-4055", + "fmtlib__fmt-4057", + "fmtlib__fmt-4286", + "fmtlib__fmt-4310", + "fmtlib__fmt-493", + "fmtlib__fmt-967", + "fmtlib__fmt-974", + "nlohmann__json-1138", + "nlohmann__json-1221", + "nlohmann__json-1301", + "nlohmann__json-1303", + "nlohmann__json-1314", + "nlohmann__json-1323", + "nlohmann__json-1343", + "nlohmann__json-1446", + "nlohmann__json-1555", + "nlohmann__json-1769", + "nlohmann__json-18", + "nlohmann__json-1821", + "nlohmann__json-2019", + "nlohmann__json-2099", + "nlohmann__json-2212", + "nlohmann__json-2225", + "nlohmann__json-2258", + "nlohmann__json-2273", + "nlohmann__json-2297", + "nlohmann__json-2319", + "nlohmann__json-2332", + "nlohmann__json-2352", + "nlohmann__json-2576", + "nlohmann__json-2866", + "nlohmann__json-2963", + "nlohmann__json-2989", + "nlohmann__json-3008", + "nlohmann__json-3037", + "nlohmann__json-3073", + "nlohmann__json-3109", + "nlohmann__json-3332", + "nlohmann__json-3415", + "nlohmann__json-3446", + "nlohmann__json-3463", + "nlohmann__json-3514", + "nlohmann__json-3523", + "nlohmann__json-3543", + "nlohmann__json-3564", + "nlohmann__json-3590", + "nlohmann__json-3601", + "nlohmann__json-3605", + "nlohmann__json-3663", + "nlohmann__json-3664", + "nlohmann__json-4512", + "nlohmann__json-4525", + "nlohmann__json-4536", + "nlohmann__json-4537", + "nlohmann__json-508", + "nlohmann__json-545", + "nlohmann__json-609", + "nlohmann__json-708", + "nlohmann__json-807", + "nlohmann__json-944", + "nlohmann__json-969", + "nlohmann__json-986", + "simdjson__simdjson-1615", + "simdjson__simdjson-1624", + "simdjson__simdjson-1667", + "simdjson__simdjson-1695", + "simdjson__simdjson-1712", + "simdjson__simdjson-1896", + "simdjson__simdjson-1899", + "simdjson__simdjson-2016", + "simdjson__simdjson-2026", + "simdjson__simdjson-2150", + "simdjson__simdjson-2178", + "simdjson__simdjson-485", + "simdjson__simdjson-524", + "simdjson__simdjson-543", + "simdjson__simdjson-545", + "simdjson__simdjson-559", + "simdjson__simdjson-644", + "simdjson__simdjson-949", + "simdjson__simdjson-954", + "simdjson__simdjson-958" + ], + "resolved": [ + "catchorg__Catch2-2288", + "catchorg__Catch2-2723", + "fmtlib__fmt-1171", + "fmtlib__fmt-1390", + "fmtlib__fmt-1837", + "fmtlib__fmt-2070", + "fmtlib__fmt-2158", + "fmtlib__fmt-2292", + "fmtlib__fmt-2317", + "fmtlib__fmt-2394", + "fmtlib__fmt-2610", + "fmtlib__fmt-2940", + "fmtlib__fmt-3158", + "fmtlib__fmt-3248", + "fmtlib__fmt-3260", + "fmtlib__fmt-3272", + "fmtlib__fmt-3537", + "fmtlib__fmt-3555", + "fmtlib__fmt-3569", + "fmtlib__fmt-3713", + "fmtlib__fmt-3729", + "fmtlib__fmt-3732", + "fmtlib__fmt-3734", + "fmtlib__fmt-3750", + "fmtlib__fmt-4055", + "fmtlib__fmt-4057", + "fmtlib__fmt-4310", + "fmtlib__fmt-493", + "nlohmann__json-1138", + "nlohmann__json-1301", + "nlohmann__json-1343", + "nlohmann__json-1446", + "nlohmann__json-1769", + "nlohmann__json-18", + "nlohmann__json-2019", + "nlohmann__json-2225", + "nlohmann__json-2332", + "nlohmann__json-2576", + "nlohmann__json-2866", + "nlohmann__json-2963", + "nlohmann__json-2989", + "nlohmann__json-3008", + "nlohmann__json-3037", + "nlohmann__json-3073", + "nlohmann__json-3109", + "nlohmann__json-3543", + "nlohmann__json-3601", + "nlohmann__json-4512", + "nlohmann__json-4525", + "nlohmann__json-4537", + "nlohmann__json-508", + "nlohmann__json-545", + "nlohmann__json-708", + "nlohmann__json-807", + "nlohmann__json-969", + "simdjson__simdjson-1615", + "simdjson__simdjson-1624", + "simdjson__simdjson-1712", + "simdjson__simdjson-1896", + "simdjson__simdjson-644", + "simdjson__simdjson-958" + ], + "unresolved_ids": [ + "catchorg__Catch2-1422", + "catchorg__Catch2-1448", + "catchorg__Catch2-1608", + "catchorg__Catch2-1609", + "catchorg__Catch2-1614", + "catchorg__Catch2-1616", + "catchorg__Catch2-2128", + "catchorg__Catch2-2187", + "catchorg__Catch2-2394", + "catchorg__Catch2-2849", + "fmtlib__fmt-1361", + "fmtlib__fmt-1407", + "fmtlib__fmt-1663", + "fmtlib__fmt-2310", + "fmtlib__fmt-3271", + "fmtlib__fmt-3279", + "fmtlib__fmt-3727", + "fmtlib__fmt-3819", + "fmtlib__fmt-3824", + "fmtlib__fmt-3863", + "fmtlib__fmt-3912", + "fmtlib__fmt-3913", + "fmtlib__fmt-4286", + "fmtlib__fmt-967", + "fmtlib__fmt-974", + "nlohmann__json-1221", + "nlohmann__json-1303", + "nlohmann__json-1314", + "nlohmann__json-1323", + "nlohmann__json-1555", + "nlohmann__json-1821", + "nlohmann__json-2099", + "nlohmann__json-2212", + "nlohmann__json-2258", + "nlohmann__json-2273", + "nlohmann__json-2297", + "nlohmann__json-2319", + "nlohmann__json-2352", + "nlohmann__json-3332", + "nlohmann__json-3415", + "nlohmann__json-3446", + "nlohmann__json-3463", + "nlohmann__json-3514", + "nlohmann__json-3523", + "nlohmann__json-3564", + "nlohmann__json-3590", + "nlohmann__json-3605", + "nlohmann__json-3663", + "nlohmann__json-3664", + "nlohmann__json-4536", + "nlohmann__json-609", + "nlohmann__json-944", + "nlohmann__json-986", + "simdjson__simdjson-1667", + "simdjson__simdjson-1695", + "simdjson__simdjson-1899", + "simdjson__simdjson-2016", + "simdjson__simdjson-2026", + "simdjson__simdjson-2150", + "simdjson__simdjson-2178", + "simdjson__simdjson-485", + "simdjson__simdjson-524", + "simdjson__simdjson-543", + "simdjson__simdjson-545", + "simdjson__simdjson-559", + "simdjson__simdjson-949", + "simdjson__simdjson-954" + ], + "empty_error_patch_ids": [], + "unstopped_containers": [], + "unremoved_images": [] +} \ No newline at end of file